@charset "UTF-8";
:root{font-family:Inter,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;color:#243045;background:#f4f1ea;font-synthesis:none;font-optical-sizing:auto;-webkit-font-smoothing:antialiased;--ink:#122449;--muted:#777d83;--border:#deded6;--ease:cubic-bezier(.2,.8,.2,1)}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}button svg{width:20px;height:20px;flex-shrink:0}button:focus-visible,a:focus-visible{outline:3px solid #507add;outline-offset:5px}[tabindex="-1"]:focus,[tabindex="-1"]:focus-visible{outline:none!important}button:disabled{opacity:.55}[hidden]{display:none!important}.symbol-defs{position:absolute;width:0;height:0;overflow:hidden}button{border:0;background:none}a{color:inherit;text-decoration:none}
.studio-header{height:96px;max-width:1600px;margin:auto;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dcddd4}.brand{display:flex;align-items:center;gap:24px}.brand-word{font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:-1.9px;font-size:30px;white-space:nowrap}.brand-dot{color:#c83d45}.brand-divider{height:25px;width:1px;background:#cdd1c9}.brand-sub{font-size:10px;letter-spacing:2.5px;font-weight:600}.header-actions{display:flex;gap:26px;align-items:center}.concept-badge{font-size:11px;color:#72796f;display:flex;align-items:center;gap:8px}.concept-badge>span{height:6px;width:6px;border-radius:50%;background:#8b9673}.quiet-button{display:flex;align-items:center;gap:8px;font-size:12px;min-height:36px;padding:6px 0}.quiet-button:hover{color:#a53240}.quiet-button svg{width:16px;height:16px}
.studio-layout{max-width:1600px;min-height:calc(100svh - 96px);margin:auto;padding:32px 48px 24px;display:grid;grid-template-columns:270px minmax(0,1fr);gap:42px}.direction-panel{display:flex;flex-direction:column;padding-top:22px;min-width:0}.eyebrow{font-size:9px;font-weight:600;letter-spacing:2px;color:#6e786f;margin:0 0 21px}.intro h1{font-family:Georgia,"Times New Roman",serif;font-size:43px;font-weight:400;letter-spacing:-2px;line-height:1.07;margin:0;color:#122449}.intro h1 em{font-weight:400;color:#b13d43}.intro-copy{font-size:12px;color:#7e7e75;line-height:1.9;margin:20px 0 29px}.concept-list{display:flex;flex-direction:column;gap:9px}.concept-option{display:flex;align-items:center;text-align:left;padding:14px 10px 14px 12px;border:1px solid transparent;border-radius:9px;gap:13px;position:relative;transition:background .25s,border-color .25s,box-shadow .25s}.concept-option:hover{background:#eae9e2}.concept-option.selected{background:#fffdf8;border-color:#d4d6cc;box-shadow:0 3px 6px #24304503}.concept-art{width:53px;height:59px;flex-shrink:0;border-radius:6px;display:grid;place-items:center}.concept-art svg{width:46px;height:46px}.art-ribbon{background:#f4e0d9}.art-party{background:#f6e8a8}.art-theater{background:#d6dce5}.concept-text{display:flex;flex-direction:column;gap:7px}.concept-index{font-size:7px;letter-spacing:1.2px;font-weight:600;color:#8b8f87;white-space:nowrap}.concept-text strong{font-size:14px;letter-spacing:.1px;font-weight:500}.concept-mood{font-size:10px;color:#90918a}.concept-selected-dot{width:5px;height:5px;border-radius:50%;background:#aeb3a7;margin-left:auto;flex-shrink:0;opacity:0}.selected .concept-selected-dot{opacity:1}.direction-note{margin:22px 12px 0;display:flex;gap:12px;color:#7c8177}.small-star{font-size:16px;color:#c19762;line-height:26px}.direction-note p{font-size:10px;line-height:1.9;margin:0}.panel-footer{margin-top:auto;padding:32px 12px 0}.play-all{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:11px;border-bottom:1px solid #d3d6cc;padding:0 0 12px}.play-all svg{width:17px;height:17px}.play-all:hover{color:#ba3d48}.panel-footer>p{color:#96988d;font-size:9px;margin:12px 0 0}
.preview-area{min-width:0}.preview-toolbar{height:39px;display:flex;align-items:flex-start;justify-content:space-between}.preview-label{display:flex;align-items:center;gap:12px;font-size:9px;letter-spacing:1.7px;color:#778074;height:24px}.preview-label>span:first-child{font-family:Georgia,serif;color:#243045;font-size:13px;font-style:italic;letter-spacing:0}.toolbar-line{height:1px;width:26px;background:#c9cfc3}.view-options{display:flex;align-items:center;gap:14px;margin-top:-5px}.device-switch{display:flex;border:1px solid #d6d9cf;border-radius:5px;padding:2px}.device-switch button{font-size:9px;color:#8a9084;min-height:23px;min-width:43px;border-radius:3px}.device-switch .active{background:#fffdfa;color:#253345;box-shadow:0 1px 3px #34452e0c}.icon-button{height:31px;width:31px;display:grid;place-items:center;border-radius:50%}.icon-button:hover{background:#1724420a}.icon-button svg{height:17px;width:17px}.stage-wrap{min-height:650px;display:flex;justify-content:center;align-items:flex-start}.stage{position:relative;width:100%;height:clamp(650px,calc(100svh - 205px),780px);min-height:650px;overflow:hidden;isolation:isolate;border-radius:12px;--stage-ink:#7c2436;--stage-sub:#9b7170;--stage-accent:#9c2439;--button-ink:#fff8ef;--stage-line:#d3a89c;container-type:inline-size;background:#f5e5dc;box-shadow:0 10px 35px #38341c05;transition:width .45s var(--ease),background .5s;--card-shadow:0 24px 50px #4d162928,0 4px 8px #4d162918}.stage[data-theme=party]{background:#fbeaba;--stage-ink:#243e88;--stage-sub:#827959;--stage-accent:#244abd;--button-ink:#fffcef;--stage-line:#d5bf7d;--card-shadow:0 22px 40px #62561c30,0 3px 7px #62561c20}.stage[data-theme=theater]{background:#111d35;--stage-ink:#f2dfb6;--stage-sub:#9da8b9;--stage-accent:#e8c576;--button-ink:#162644;--stage-line:#3d4761;--card-shadow:0 20px 70px #0009,0 0 45px #e3ba4212}.paper-grain{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.12;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.45' filter='url(%23n)'/%3E%3C/svg%3E")}.stage-topline{position:absolute;z-index:25;top:23px;left:28px;right:25px;display:flex;justify-content:space-between;align-items:center;color:var(--stage-ink)}.stage-brand{font-family:Georgia,serif;font-size:16px;font-weight:bold;letter-spacing:-.6px;display:flex;align-items:center;gap:7px}.stage-brand>svg{width:18px;height:18px;transform:rotate(-12deg)}.stage-controls{display:flex;align-items:center;gap:16px}.sound-button{width:29px;height:29px;border:1px solid color-mix(in srgb,var(--stage-ink) 18%,transparent);border-radius:50%;display:grid;place-items:center;transition:background .2s}.sound-button svg{width:13px;height:13px}.sound-button:hover{background:#ffffff30}.sound-button[aria-pressed=true]{background:var(--stage-accent);color:var(--button-ink)}.skip-button{font-size:9px;letter-spacing:.5px;padding:8px 0;color:var(--stage-sub);text-decoration:underline;text-underline-offset:3px}
.gift-heading{position:absolute;top:90px;left:24px;right:24px;z-index:7;text-align:center;pointer-events:none;color:var(--stage-ink)}.gift-heading>p:first-child{font-size:8px;font-weight:500;letter-spacing:2.4px;margin:0 0 13px;text-transform:uppercase;color:var(--stage-sub)}.gift-heading h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:43px;line-height:1.05;letter-spacing:-1.8px;margin:0;transition:opacity .2s,transform .3s}.gift-heading h2 em{font-weight:400}.gift-heading>p:last-child{font-size:10px;margin:14px 0 0;color:var(--stage-sub);letter-spacing:.2px}.scene-host{position:absolute;inset:0;z-index:3}.confetti-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:17}.gift-actions{position:absolute;bottom:35px;left:20px;right:20px;text-align:center;z-index:22;color:var(--stage-ink)}.open-gift{background:var(--stage-accent);color:var(--button-ink);display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:46px;padding:13px 26px;border-radius:4px;font-size:12px;font-weight:500;box-shadow:0 4px 8px #00000008;transition:transform .2s,box-shadow .2s;white-space:nowrap}.open-gift:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00000015}.open-gift:active{transform:translateY(0)}.open-gift svg{width:17px;height:17px}.gift-actions p{font-size:9px;letter-spacing:.4px;margin:13px 0 0;color:var(--stage-sub)}.anticipation-dots{display:flex;gap:6px;justify-content:center;align-items:center;height:40px}.anticipation-dots i{width:4px;height:4px;border-radius:50%;background:var(--stage-ink);animation:anticipation 1s infinite}.anticipation-dots i:nth-child(2){animation-delay:.17s}.anticipation-dots i:nth-child(3){animation-delay:.34s}@keyframes anticipation{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}.stage-progress{position:absolute;bottom:0;left:0;right:0;height:3px;z-index:30;background:transparent}.stage-progress>div{height:100%;background:var(--stage-accent);width:0;opacity:.5}.preview-footer{display:flex;justify-content:space-between;padding-top:17px;font-size:9px;color:#7d8477;letter-spacing:.2px;gap:15px}.preview-footer i{font-style:normal;margin:0 10px;color:#a6ae9d}.sound-reminder{display:flex;align-items:center;gap:6px;color:#969d90}.sound-reminder svg{width:12px;height:12px}.result-buttons{display:flex;gap:8px;justify-content:center}.result-buttons .open-gift{gap:9px;padding:12px 19px;min-height:42px;font-size:11px}.download-button{width:43px;height:43px;border:1px solid color-mix(in srgb,var(--stage-ink) 28%,transparent);border-radius:4px;display:grid;place-items:center}.download-button:hover{background:#ffffff30}.download-button svg{height:17px;width:17px}.replay-button{font-size:9px;display:inline-flex;align-items:center;gap:5px;color:var(--stage-sub);margin-top:13px;padding:0}.replay-button svg{height:12px;width:12px}.replay-button:hover{color:var(--stage-ink)}
.keepsake{position:absolute;top:55%;left:50%;z-index:18;width:245px;padding:12px 12px 0;background:#fffdf4;box-shadow:var(--card-shadow);transform:translate(-50%,-30%) rotate(-8deg) scale(.25);opacity:0;pointer-events:none;will-change:transform,opacity}.portrait-mat{overflow:hidden;aspect-ratio:4/5;background:#ece6dc}.portrait-mat img{display:block;width:100%;height:100%;object-fit:cover}.card-caption{height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#253456}.card-caption>span:first-child{font-family:Georgia,serif;font-style:italic;font-size:20px;line-height:1;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-caption>span:last-child{font-size:5.5px;font-weight:600;letter-spacing:1.5px}.card-stamp{width:33px;height:33px;position:absolute;background:#f5d379;bottom:38px;right:-12px;transform:rotate(16deg);border-radius:50%;display:grid;place-items:center;box-shadow:0 2px 2px #855e3415;border:1px dashed #b5933d}.card-stamp>svg{width:17px;height:17px;color:#826532}.keepsake-pinhole{position:absolute;left:50%;top:4px;height:3px;width:3px;border-radius:50%;background:#d8c9aa}.stage[data-state=revealed] .keepsake{animation:keepsake-enter 1.1s cubic-bezier(.19,1,.22,1) both;pointer-events:auto}.stage[data-state=revealed] .gift-heading{top:81px}.stage[data-state=revealed] .gift-heading h2{font-size:36px;line-height:1.08}.stage[data-state=revealed] .gift-heading>p:last-child{margin-top:9px}.stage[data-state=revealed] .gift-actions{animation:result-enter .7s .45s both}.stage[data-theme=party][data-state=revealed] .keepsake{--final-rotation:3deg}.stage[data-theme=theater][data-state=revealed] .keepsake{--final-rotation:0deg}@keyframes keepsake-enter{0%{opacity:0;transform:translate(-50%,8%) rotate(-12deg) scale(.4)}40%{opacity:1}76%{transform:translate(-50%,-52%) rotate(calc(var(--final-rotation,-3deg) - 1deg)) scale(1.02)}100%{opacity:1;transform:translate(-50%,-50%) rotate(var(--final-rotation,-3deg)) scale(1)}}@keyframes result-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.phone-mode .stage{width:390px;height:700px;min-height:700px;border-radius:20px}.phone-mode .stage-wrap{min-height:700px}.phone-mode .stage-topline{left:20px;right:20px}.phone-mode .gift-heading h2{font-size:37px}.phone-mode .gift-heading{top:93px}.phone-mode .keepsake{width:236px;top:55%}.phone-mode .stage[data-state=revealed] .gift-heading h2{font-size:32px}.phone-mode .stage[data-state=revealed] .gift-heading{top:91px}.phone-mode .stage[data-state=revealed] .gift-heading>p:last-child{display:none}.phone-mode .gift-heading>p:first-child{font-size:7px;letter-spacing:1.6px}.phone-mode .gift-heading>p:last-child{font-size:9px}.phone-mode .gift-actions{bottom:35px}.immersive .studio-header,.immersive .direction-panel,.immersive .preview-toolbar,.immersive .preview-footer{display:none}.immersive .studio-layout{display:block;padding:0;max-width:none;min-height:100svh}.immersive .stage-wrap{min-height:100svh;background:#ece9e2;align-items:center}.immersive .stage{height:100svh;min-height:600px;border-radius:0;max-width:none}.immersive.phone-mode .stage{max-width:430px}.immersive .gift-heading{top:12%}.immersive .stage[data-state=revealed] .gift-heading{top:10%}.immersive .keepsake{width:clamp(245px,27svh,330px);top:53%}.immersive .gift-actions{bottom:7%}.exit-immersive{position:absolute;z-index:40;bottom:12px;right:18px;display:flex;align-items:center;gap:5px;color:var(--stage-sub);font-size:9px}.exit-immersive svg{width:14px;height:14px}
dialog{border:0;color:#243045;max-width:calc(100vw - 36px);padding:0;box-shadow:0 35px 90px #0a173b40}dialog::backdrop{background:#15213a55;backdrop-filter:blur(7px)}.dialog-close{position:absolute;top:14px;right:14px;z-index:2;color:#9b917e}.note-dialog{width:420px;background:#fff9e9;padding:45px 40px 25px;text-align:center;transform:rotate(-1deg);overflow:visible}.note-dialog:after{position:absolute;inset:10px;content:"";border:1px solid #dcca9d80;pointer-events:none}.letter-paw{display:grid;place-items:center;margin:auto auto 20px;width:39px;height:39px;border:1px solid #c3a061;border-radius:50%;color:#af8746;transform:rotate(-15deg)}.letter-paw svg{width:22px;height:22px}.letter-kicker{font-size:7px;color:#a08e6c;letter-spacing:2px;margin:0 0 27px}.note-dialog h2{font-family:Georgia,serif;font-weight:400;font-size:27px;font-style:italic;margin:0 0 20px;overflow-wrap:anywhere}.note-dialog #note-message{font-family:Georgia,"Songti SC",serif;line-height:1.65;font-size:18px;color:#5f5b50;white-space:pre-wrap;overflow-wrap:anywhere}.note-signature{font-family:Georgia,serif;font-style:italic;color:#9c7139;font-size:17px;line-height:1.6;margin:24px 0 25px}.note-signature #note-from{font-size:25px}.note-heart{display:inline-block;transform:rotate(-15deg);font-size:29px;margin-left:7px}.letter-bottom{font-size:6px;letter-spacing:1.7px;color:#b3a080;margin-top:35px}.custom-dialog{width:480px;border-radius:12px;background:#faf9f3;padding:34px}.custom-dialog .eyebrow{margin:0 0 12px}.custom-dialog h2{font-size:24px;font-weight:500;margin:0 0 10px}.custom-intro{font-size:11px;color:#82877b;line-height:1.7;margin:0 0 26px}.custom-dialog label{display:flex;flex-direction:column;gap:7px;font-size:11px;flex:1;min-width:0;margin-bottom:16px;color:#5b655d}.field-row{display:flex;gap:13px}.custom-dialog input:not([type=file]),.custom-dialog textarea{width:100%;border:1px solid #dadfd2;border-radius:5px;padding:10px 12px;color:#243045;background:#fffefa;outline:none;font-size:12px}.custom-dialog input:focus,.custom-dialog textarea:focus{border-color:#82957d}.custom-dialog textarea{resize:vertical;line-height:1.6}.custom-dialog .upload-label{border:1px dashed #c4cebd;align-items:center;gap:8px;padding:17px 12px;cursor:pointer;border-radius:6px;background:#eff1e8}.upload-label svg{height:22px;width:22px;color:#829176}.upload-label strong{font-size:11px;font-weight:500}.upload-label>span{font-size:8px;color:#8b9684}.upload-label input{width:100%;font-size:10px;margin-top:3px}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.form-actions .quiet-button{font-size:10px;color:#8c9582}.save-content{display:flex;align-items:center;gap:16px;background:#122449;color:white;font-size:11px;padding:12px 16px;border-radius:5px}.save-content svg{width:16px;height:16px}.form-status{font-size:11px;color:#af2c42;margin:-5px 0 15px;min-height:0}.toast{position:fixed;bottom:28px;left:50%;z-index:100;transform:translate(-50%,10px);padding:12px 20px;background:#122449;color:#fff9ea;font-size:12px;border-radius:6px;opacity:0;pointer-events:none;transition:.3s;max-width:90%;box-shadow:0 5px 30px #0002}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1450px){.studio-layout{grid-template-columns:290px minmax(0,1fr);gap:55px;padding-top:40px}.direction-panel{padding-top:27px}.intro h1{font-size:49px}.intro-copy{margin-bottom:38px}.concept-option{padding:17px 14px}.direction-note{margin-top:30px}.stage-wrap{min-height:700px}.stage{min-height:700px}.gift-heading{top:97px}.gift-heading h2{font-size:49px}.keepsake{width:270px}.stage[data-state=revealed] .gift-heading h2{font-size:39px}}
@media(max-width:1100px){.studio-header{padding:0 28px;height:80px}.studio-layout{grid-template-columns:225px minmax(0,1fr);gap:25px;padding:25px 28px 24px}.intro h1{font-size:38px}.concept-option{gap:10px;padding:13px 7px}.concept-art{width:43px;height:51px}.concept-art svg{width:39px;height:39px}.concept-index{font-size:6px;letter-spacing:.9px}.concept-text strong{font-size:12px}.concept-mood{font-size:9px}.concept-selected-dot{display:none}.header-actions{gap:18px}.brand{gap:20px}.stage{height:690px}.gift-heading h2{font-size:39px}.keepsake{width:242px}.sound-reminder{display:none}.direction-note{margin-left:5px;margin-right:0}.direction-note p{font-size:9px}.direction-panel{padding-top:20px}.preview-label{font-size:8px;letter-spacing:1px}}
@media(max-width:760px){.studio-header{height:70px;padding:0 20px}.brand-word{font-size:26px}.brand{gap:13px}.brand-sub{font-size:8px;letter-spacing:1.3px}.brand-divider{height:19px}.concept-badge{display:none}.header-actions{gap:0}.header-actions .quiet-button{font-size:10px;gap:5px}.header-actions .quiet-button svg{width:13px;height:13px}.studio-layout{display:flex;flex-direction:column;padding:22px 18px 18px;gap:19px}.direction-panel{padding:0}.intro{display:flex;justify-content:space-between;align-items:flex-end;margin:0 3px 20px;gap:12px}.intro .eyebrow{display:none}.intro h1{font-size:28px;letter-spacing:-1px;line-height:1.1}.intro-copy{font-size:10px;margin:0;line-height:1.8}.concept-list{flex-direction:row;gap:6px}.concept-option{flex:1;min-width:0;flex-direction:column;gap:6px;padding:10px 5px 12px;border-color:#e0e1d7;border-radius:6px;align-items:center;text-align:center}.concept-art{height:31px;width:37px;background:transparent}.concept-art svg{width:32px;height:32px}.concept-text{gap:5px}.concept-text strong{font-size:11px}.concept-index{font-size:5px;letter-spacing:.5px}.concept-mood{display:none}.direction-note,.panel-footer{display:none}.preview-toolbar{height:34px}.preview-label{font-size:7px;gap:8px}.toolbar-line{width:17px}.view-options{gap:8px}.stage{height:665px;min-height:665px;border-radius:10px}.stage-wrap{min-height:665px}.stage-topline{top:19px;left:20px;right:19px}.stage-brand{font-size:14px}.stage-brand>svg{width:16px;height:16px}.gift-heading{top:89px;left:14px;right:14px}.gift-heading h2{font-size:38px}.gift-heading>p:first-child{font-size:6.5px;letter-spacing:1.7px}.gift-heading>p:last-child{font-size:9px;line-height:1.4}.gift-actions{bottom:30px}.keepsake{width:231px;top:55%}.stage[data-state=revealed] .gift-heading{top:81px}.stage[data-state=revealed] .gift-heading h2{font-size:32px}.stage[data-state=revealed] .gift-heading>p:last-child{display:none}.preview-footer{justify-content:center;padding-top:13px;font-size:8px}.preview-footer i{margin:0 7px}.phone-mode .stage{height:665px;min-height:665px;border-radius:14px}.phone-mode .stage-wrap{min-height:665px}.phone-mode .gift-heading{top:89px}.phone-mode .stage[data-state=revealed] .gift-heading{top:81px}.phone-mode .keepsake{width:231px}.phone-mode .gift-actions{bottom:30px}.immersive .stage,.immersive.phone-mode .stage{min-height:650px;height:100svh}.immersive .gift-heading{top:11%}.immersive .keepsake{width:235px}.immersive .gift-actions{bottom:7%}.custom-dialog{padding:29px 23px}.custom-dialog h2{font-size:21px}.note-dialog{padding:40px 30px 27px}.note-dialog #note-message{font-size:17px}.stage-progress{height:2px}}
@media(max-width:370px){.brand-divider,.brand-sub{display:none}.studio-layout{padding:19px 12px 15px}.intro h1{font-size:25px}.intro-copy{font-size:9px}.concept-text strong{font-size:10px}.concept-index{font-size:4.5px}.gift-heading h2{font-size:34px}.stage[data-state=revealed] .gift-heading h2{font-size:30px}}
.stage[data-theme=theater] #gift-subtitle{display:none}
@container(max-width:480px){.theater-scene .th-cord-hint{display:none}.party-scene .party-sticker{font-size:29px}.party-scene .party-hint{font-size:8px;letter-spacing:1.4px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.stage[data-state=revealed] .keepsake{opacity:1;transform:translate(-50%,-50%) rotate(var(--final-rotation,-3deg))}.stage[data-state=revealed] .gift-actions{opacity:1;transform:none}}
