
/* Recipient scene: consistent typography, quiet background, no orbiting elements. */
.viewer-stage.emotion-show .letter-cinema,.viewer-stage.emotion-show>.emotion-particles,.viewer-stage.emotion-show:before,.viewer-stage.emotion-show:after{display:none!important}
.viewer-stage.emotion-show{background-image:linear-gradient(#0a1925b8,#0a1925b8),linear-gradient(180deg,var(--ambient-top),var(--ambient-bottom));padding:100px 32px 45px}
.emotion-show .reveal-panel{width:min(1040px,100%);max-width:1040px;height:780px;display:grid;grid-template-columns:minmax(0,46fr) minmax(0,54fr);background:transparent;border:0;box-shadow:none;animation:quiet-letter-arrival 1s ease both}
.emotion-show .reveal-panel:before,.emotion-show .reveal-panel:after{display:none}.emotion-show .reveal-art{padding:30px 40px 30px 0;align-items:center;background:transparent}.emotion-show .reveal-art .art{height:440px;max-height:440px;border:1px solid #c9b08588;box-shadow:0 1px 0 #eedab466,0 20px 50px -15px #020c1aaa;overflow:hidden;outline:0}.spark-photo{position:relative;width:100%;overflow:hidden;padding:0}.emotion-show .reveal-content{padding:30px 5px 20px 20px;height:780px;overflow:auto;background:transparent}.emotion-show .reveal-content>.overline{font-size:11px;letter-spacing:2px;color:#c1a87e!important}.emotion-show .reveal-content h2{font:normal 43px/1.15 Georgia,serif;color:#f7ecd9;margin:15px 0 26px}.emotion-show .reveal-content .message.starlit-message{font:normal 19px/1.85 'Segoe UI',sans-serif;height:230px;min-height:230px;max-height:230px;color:#e4ddd0;padding-right:12px;scrollbar-width:thin}.starlit-copy{animation:quiet-text-arrival 2.6s ease 1.3s both}.message-star{width:7px;height:7px;filter:drop-shadow(0 0 2px #caa16b66);animation-duration:4s}.message-star:nth-child(n+10){display:none}.emotion-show .reveal-content .from{font-size:13px;color:#b5a68c;margin:17px 0}.emotion-show .reveal-actions{margin-top:20px;gap:14px}.emotion-show .reveal-actions .button{font-size:13px}
/* Stationary lightning etched into the inner frame. No moving dot or orbit. */
.photo-sparks{inset:0;overflow:hidden;pointer-events:none;z-index:8}.frame-flashes{display:block;width:100%;height:100%;overflow:hidden}.frame-bolt{fill:none;stroke:#ffe5b1;stroke-width:1.1;vector-effect:non-scaling-stroke;stroke-linecap:round;filter:drop-shadow(0 0 1.5px #ffd88f);opacity:0;animation:frame-lightning 9s ease-in-out infinite;animation-delay:var(--delay)}
@keyframes frame-lightning{0%,30%,65%,100%{opacity:0}36%{opacity:.25}40%{opacity:.9}43%{opacity:.25}47%{opacity:.7}58%{opacity:0}}
/* Jewel-coloured gift with satin ribbon, available immediately. */
.starlit-panel:not(.stars-complete) .surprise-gift,.starlit-panel .surprise-gift,.stars-complete .surprise-gift{opacity:1!important;visibility:visible!important;animation:none!important}
.surprise-gift{height:195px;margin:20px 0 12px;grid-template-columns:170px minmax(0,1fr);gap:18px;border-top:1px solid #d5ba8c26;border-bottom:1px solid #d5ba8c14}
.surprise-trigger{width:170px;height:180px;transform:none}.surprise-intro{font:normal 22px/1.3 Georgia,serif;color:#f2dfbd;margin-bottom:9px}.surprise-hint{font-size:12px;color:#bda98a;line-height:1.7}.surprise-caption{left:188px;font:normal 21px/1.5 Georgia,serif;color:#f4dfb9}
.gift-base{left:34px;bottom:18px;width:108px;height:84px;background:repeating-linear-gradient(5deg,#fff3 0 .2px,transparent .2px 3px),linear-gradient(110deg,#bb4f68 0%,#972e4d 35%,#70213f 75%,#541a35 100%);border:1px solid #ce7b8766;box-shadow:inset 1px 0 #ffddcd33,inset -7px 0 10px #3e102744,4px 4px 0 #46172e,0 15px 24px -6px #0008}
.gift-base i{left:41px;width:24px;background:linear-gradient(90deg,#b59359,#f4dca6 43%,#fff1c3 50%,#bd9759 100%)}.gift-base:after{inset:8px;border:1px solid #eab99a20}
.gift-lid{left:29px;bottom:98px;width:118px;height:25px;background:linear-gradient(105deg,#cb6a7d,#9d3653 58%,#762641);box-shadow:inset 0 1px #ffddcd55,0 3px 0 #47172c,0 7px 7px #080c1544;border:1px solid #c86b7b44}.gift-lid:after{top:-8px;height:8px;background:linear-gradient(100deg,#dc8a94,#ad4c64)}.gift-lid>i{left:46px;width:24px;background:linear-gradient(90deg,#b59359,#ffe6b4 50%,#bd9759)}
.gift-bow{display:none}.gift-bow-knot{position:absolute;width:90px;height:43px;left:14px;bottom:22px;z-index:4;filter:drop-shadow(0 2px 2px #3a102c55)}
.gift-prize{left:42px;top:0;width:96px;height:96px}.gift-toy{font-size:72px}.gift-rays{background:linear-gradient(90deg,transparent,#f6cb7c30,transparent);filter:blur(20px)}.gift-dust{display:none}.gift-shadow{left:26px;right:12px;background:#03091666}
.unwrapped .gift-lid{transform:translate3d(-30px,-75px,40px) rotate(-20deg)}
@media(max-width:600px){
.viewer-stage.emotion-show{padding:85px 20px 35px}.emotion-show .reveal-panel{height:1080px;grid-template-columns:minmax(0,1fr);grid-template-rows:280px 800px;max-width:440px}.emotion-show .reveal-art{padding:10px 26px 20px;height:280px}.emotion-show .reveal-art .art{height:250px;max-height:250px}.emotion-show .reveal-content{height:800px;padding:24px 5px 20px}.emotion-show .reveal-content h2{font-size:35px;margin:14px 0 22px}.emotion-show .reveal-content .message.starlit-message{font-size:18px;height:230px;min-height:230px;max-height:230px}.surprise-gift{grid-template-columns:150px minmax(0,1fr);gap:10px;height:195px}.surprise-trigger{width:150px}.surprise-intro{font-size:19px}.surprise-caption{left:160px;font-size:18px}.surprise-hint{font-size:11px}.frame-bolt{stroke-width:.7}
}

@media(max-width:370px){.surprise-gift{grid-template-columns:138px minmax(0,1fr);gap:6px}.surprise-caption{left:144px}.surprise-intro{font-size:17px}}
@media(prefers-reduced-motion:reduce){.frame-bolt,.message-star{animation:none!important;opacity:0}.starlit-copy,.emotion-show .reveal-panel{animation:none!important;opacity:1;filter:none}}
/* V33: a continuous, layered cinematic scene, scoped to the opened message. */
.viewer-stage.emotion-show{background:#0b1427;perspective:1400px}
.emotion-show .show-atmosphere{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;perspective:900px;background:radial-gradient(ellipse at 75% 45%,#30274980,transparent 65%),linear-gradient(150deg,#101e32,#17162b 60%,#162a31)}
.emotion-show .show-aurora{position:absolute;width:100%;height:75%;border-radius:48%;filter:blur(65px);opacity:.65;will-change:transform;mix-blend-mode:screen;animation:show-aurora-drift 16s ease-in-out infinite alternate}
.emotion-show .aurora-a{left:-42%;top:-16%;background:radial-gradient(ellipse,#387c8180,#183f6260 42%,transparent 70%);transform-origin:80% 70%}
.emotion-show .aurora-b{right:-45%;top:8%;background:radial-gradient(ellipse,#98638677,#55377266 45%,transparent 70%);animation-delay:-8s;animation-duration:19s}
.emotion-show .aurora-c{left:5%;bottom:-45%;background:radial-gradient(ellipse,#b48b5b77,#4b53634d 45%,transparent 70%);animation-delay:-4s;animation-duration:13s}
.emotion-show .show-horizon{position:absolute;left:-25%;right:-25%;height:35%;bottom:-18%;border-radius:50%;border-top:1px solid #eac58555;box-shadow:0 -25px 90px #c6a46818;transform:rotateX(60deg);animation:show-horizon-breathe 8s ease-in-out infinite alternate}
.emotion-show .show-star{position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);border-radius:50%;background:#ffe5b3;box-shadow:0 0 9px #e8be7877;opacity:0;animation:show-star-rise var(--life) ease-in-out var(--delay) infinite}
.emotion-show .depth-0{filter:blur(1px);--travel:70px}.emotion-show .depth-1{--travel:30px;background:#b7dce8}.emotion-show .depth-2{--travel:110px;filter:blur(.4px)}
.emotion-show .show-bloom{position:absolute;inset:0;background:radial-gradient(ellipse at 40% 35%,#ffe6b25c,transparent 65%);animation:show-opening-bloom 3.8s ease-out both}
.emotion-show .reveal-panel{z-index:2;animation:show-panel-arrive 2.2s cubic-bezier(.16,1,.3,1) both;transform-style:preserve-3d}
.emotion-show .spark-photo{transform:perspective(1000px) rotateX(var(--photo-x,0deg)) rotateY(var(--photo-y,0deg));transition:transform .6s ease;box-shadow:0 28px 65px -25px #000b,0 0 40px #d7b9840a;animation:show-photo-arrive 2.8s cubic-bezier(.16,1,.3,1) backwards}
.emotion-show .reveal-art .art{transform:none!important;box-shadow:inset 0 0 0 1px #f3d6a144,0 20px 45px #0005}
.emotion-show .reveal-content{animation:show-content-arrive 2.5s ease both}
.emotion-show .starlit-copy{animation:show-text-light 3s ease 1.1s both}
.emotion-show .message-star:nth-child(n){display:block;width:var(--ss);height:var(--ss);animation:show-text-star 5s ease var(--sd) both;filter:drop-shadow(0 0 6px #ffe4a9)}
.emotion-show .show-sound{position:absolute;right:26px;top:65px;z-index:4;border:1px solid #d9bf8c44;border-radius:30px;padding:10px 16px;background:#102035b3;color:#ead9ba;font:14px 'Segoe UI',sans-serif;cursor:pointer;backdrop-filter:blur(14px)}
.emotion-show .show-sound:focus-visible{outline:2px solid #ebce93;outline-offset:4px}
@keyframes show-aurora-drift{0%{transform:translate3d(-4%,-5%,0) scale(.95) rotate(-8deg)}100%{transform:translate3d(17%,12%,0) scale(1.25) rotate(12deg)}}
@keyframes show-horizon-breathe{to{transform:rotateX(60deg) scale(1.15);opacity:.45}}
@keyframes show-star-rise{0%{opacity:0;transform:translate3d(0,25px,-80px)}25%,65%{opacity:.65}100%{opacity:0;transform:translate3d(14px,calc(-1 * var(--travel)),60px)}}
@keyframes show-opening-bloom{0%{opacity:0;transform:scale(.65)}25%{opacity:1}100%{opacity:0;transform:scale(1.5)}}
@keyframes show-panel-arrive{from{opacity:0;transform:translate3d(0,40px,-100px)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes show-photo-arrive{from{opacity:0;transform:perspective(1000px) translate3d(-35px,30px,-100px) rotateY(16deg) rotateX(5deg)}to{opacity:1;transform:perspective(1000px) rotateY(0deg) rotateX(0deg)}}
@keyframes show-content-arrive{from{opacity:0;transform:translate3d(0,20px,-30px)}to{opacity:1;transform:none}}
@keyframes show-text-light{0%{opacity:0;filter:blur(10px);text-shadow:0 0 18px #ffdea2}50%{opacity:.55;filter:blur(2px)}100%{opacity:1;filter:blur(0);text-shadow:none}}
@keyframes show-text-star{0%{opacity:0;transform:scale(.25)}20%{opacity:1;transform:scale(1)}40%{opacity:.3}60%{opacity:.8;transform:scale(.75)}100%{opacity:0;transform:scale(.2)}}
@media(max-width:600px){.emotion-show .show-aurora{filter:blur(40px);width:130%;opacity:.7}.emotion-show .show-sound{top:57px;right:20px;padding:8px 13px;font-size:13px}.emotion-show .show-star:nth-child(2n){display:none}}
@media(prefers-reduced-motion:reduce){.emotion-show .show-aurora,.emotion-show .show-star,.emotion-show .show-horizon,.emotion-show .show-bloom,.emotion-show .spark-photo,.emotion-show .reveal-panel,.emotion-show .reveal-content,.emotion-show .starlit-copy,.emotion-show .message-star{animation:none!important;transform:none!important}.emotion-show .show-bloom,.emotion-show .show-star,.emotion-show .message-star{display:none}.emotion-show .reveal-content,.emotion-show .spark-photo,.emotion-show .starlit-copy{opacity:1;filter:none}}
/* V34: natural text spacing with a fixed outer scene; physical photo and gift. */
.emotion-show .reveal-content .message.starlit-message{height:auto;min-height:0;max-height:230px;margin:0;padding-bottom:0;overflow:auto}
.emotion-show #contentMedia{margin-bottom:0;min-height:0}
.emotion-show .surprise-gift{margin:6px 0 10px;border:0;padding:0;height:180px}
/* Full text reserves its final height from the first frame, even while fading. */
.emotion-show .spark-photo{overflow:visible;transform-style:preserve-3d;transform:perspective(1100px) rotateX(calc(3deg + var(--photo-x,0deg))) rotateY(calc(-9deg + var(--photo-y,0deg)));border:5px solid #b9a27a;background:#342d29;box-shadow:1px 1px 0 #f7e4ba,-1px -1px 0 #705738,18px 30px 40px -12px #0009;animation:physical-photo-arrive 2.5s cubic-bezier(.16,1,.3,1) backwards}
.emotion-show .spark-photo:before{content:'';position:absolute;top:-5px;bottom:-5px;left:calc(100% + 5px);width:16px;background:linear-gradient(90deg,#766047,#302b28);transform-origin:left center;transform:rotateY(90deg);border-top:1px solid #d5ba86;border-bottom:1px solid #2e271f;pointer-events:none}
.emotion-show .spark-photo:after{content:'';position:absolute;left:-5px;right:-5px;top:calc(100% + 5px);height:16px;background:linear-gradient(#5a4835,#24211e);transform-origin:center top;transform:rotateX(-90deg);pointer-events:none}
.emotion-show .reveal-art .art{border:1px solid #ebd9b199;box-shadow:inset 0 0 18px #0005;backface-visibility:hidden}
.emotion-show .photo-sparks{inset:0;transform:translateZ(1px)}
/* The box has actual perpendicular CSS surfaces, not a flat icon. */
.emotion-show .surprise-trigger{perspective:750px;perspective-origin:50% 25%;transform-style:preserve-3d}
.emotion-show .gift-base,.emotion-show .gift-lid{transform-style:preserve-3d;transform:rotateX(10deg) rotateY(-22deg);transform-origin:50% 50%;backface-visibility:hidden}
.emotion-show .gift-base{background:repeating-linear-gradient(12deg,#ffffff08 0 1px,transparent 1px 3px),linear-gradient(115deg,#b94760,#8b2948 60%,#64203b);box-shadow:inset 1px 1px #f6bcc44d,inset -3px 0 9px #410b2633,0 18px 28px -10px #000a;border:1px solid #ce7b8766}
.emotion-show .gift-base:before{content:'';position:absolute;left:100%;top:-1px;width:38px;height:calc(100% + 2px);transform-origin:left center;transform:rotateY(90deg);background:linear-gradient(90deg,#601b35,#822941);border:1px solid #a34b6066;box-shadow:inset 0 1px #ffc8c333}
.emotion-show .gift-base:after{inset:6px;border:1px solid #ebbc8d33;box-shadow:inset 0 0 0 1px #430f251a}
.emotion-show .gift-base i{background:linear-gradient(90deg,#a58148,#eac78b 30%,#fff0c7 51%,#b78c4a 90%);box-shadow:1px 0 2px #34111a66,inset 1px 0 #fff2cb88}
.emotion-show .gift-lid{background:linear-gradient(110deg,#d67487,#a94360 65%,#782440);box-shadow:0 5px 7px #26091599,inset 0 1px #ffe6c977}
.emotion-show .gift-lid:after{left:-1px;right:auto;top:-39px;width:calc(100% + 2px);height:38px;transform-origin:center bottom;transform:rotateX(90deg);background:linear-gradient(90deg,transparent 39%,#c29c5d 39%,#ffe9ba 50%,#bc9555 60%,transparent 60%),linear-gradient(140deg,#df94a0,#aa4b68);border:1px solid #edb9bb66}
.emotion-show .gift-lid:before{content:'';position:absolute;left:100%;top:-1px;width:38px;height:calc(100% + 2px);transform-origin:left center;transform:rotateY(90deg);background:linear-gradient(#a94760,#71253f);border:1px solid #c6778766}
.emotion-show .gift-bow-knot{transform:translateZ(6px) rotateX(-8deg);filter:drop-shadow(2px 5px 2px #47132766)}
.emotion-show .gift-shadow{height:18px;bottom:7px;left:36px;right:2px;filter:blur(8px);transform:skewX(-18deg);background:#0008}
.emotion-show .unwrapped .gift-lid{transform:translate3d(-22px,-95px,55px) rotateX(-32deg) rotateY(-28deg) rotateZ(-14deg);opacity:0}
@keyframes physical-photo-arrive{from{opacity:0;transform:perspective(1100px) translate3d(-30px,25px,-100px) rotateX(8deg) rotateY(-22deg)}to{opacity:1;transform:perspective(1100px) rotateX(3deg) rotateY(-9deg)}}
@media(max-width:600px){.emotion-show .reveal-content .message.starlit-message{height:auto;min-height:0;max-height:230px}.emotion-show .surprise-gift{margin-top:6px;height:180px}.emotion-show .spark-photo{transform:perspective(900px) rotateX(3deg) rotateY(-7deg)}}
@media(prefers-reduced-motion:reduce){.emotion-show .spark-photo{animation:none!important;transform:perspective(1100px) rotateX(3deg) rotateY(-9deg)!important}.emotion-show .gift-lid{transition:none}}
/* V35: upright objects. Depth comes from edge thickness and light, never tilt. */
.emotion-show .spark-photo{transform:none!important;animation:upright-photo-arrive 2s ease backwards;box-shadow:1px 1px 0 #f7e4ba,2px 2px 0 #aa916a,4px 4px 0 #756044,6px 6px 0 #443b30,10px 22px 34px -10px #0009}
.emotion-show .spark-photo:before,.emotion-show .spark-photo:after{display:none}
.emotion-show .gift-base,.emotion-show .gift-lid{transform:none;transform-style:flat}
.emotion-show .gift-base:before{left:100%;top:-1px;width:10px;height:calc(100% + 2px);transform:skewY(-35deg);transform-origin:left bottom;background:linear-gradient(90deg,#641e38,#8b314b)}
.emotion-show .gift-lid:before{left:100%;top:-1px;width:10px;height:calc(100% + 2px);transform:skewY(-35deg);transform-origin:left bottom}
.emotion-show .gift-lid:after{top:-10px;left:4px;width:calc(100% + 2px);height:10px;transform:skewX(-40deg);transform-origin:center bottom}
.emotion-show .gift-bow-knot{transform:none}
.emotion-show .unwrapped .gift-lid{transform:translate3d(0,-95px,0);opacity:0}
.emotion-show .unwrapping .surprise-trigger{animation-name:upright-gift-anticipation}
@keyframes upright-photo-arrive{from{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur(0)}}
@keyframes upright-gift-anticipation{0%,100%{transform:translateY(0)}25%{transform:translateY(-3px)}50%{transform:translateY(0)}75%{transform:translateY(-5px)}}
@media(prefers-reduced-motion:reduce){.emotion-show .spark-photo{animation:none!important;transform:none!important}.emotion-show .unwrapping .surprise-trigger{animation:none!important}}
/* V40: polish the restored composition; retain its palette, photo and gift. */
.emotion-show .reveal-content .message.starlit-message{font-size:20px;line-height:1.8;color:#f0e8dc;scrollbar-width:thin}
.emotion-show .reveal-content h2{font-size:clamp(36px,3.7vw,48px);line-height:1.15;overflow-wrap:anywhere}
.emotion-show .reveal-content>.overline{font-size:12px;letter-spacing:2.4px}
.emotion-show .reveal-content .from{font-size:15px;color:#d0bda0}
.emotion-show .reveal-actions .button{font-size:14px;min-height:44px}
.emotion-show .show-aurora{border-radius:0;animation-duration:20s;opacity:.55}
.emotion-show .show-horizon{display:none}
.emotion-show .show-bloom{background:linear-gradient(125deg,#ffe4b334,transparent 65%);animation:restored-bloom 3s ease-out both}
.emotion-show .reveal-panel{animation:restored-arrival 1.4s ease both;transform:none}
.emotion-show .reveal-content{animation:restored-arrival 1.4s ease .15s both}
.emotion-show .starlit-copy{animation:restored-message 2.4s ease .7s both}
.emotion-show .message-star:nth-child(n){animation:restored-star 3.4s ease var(--sd) both}
.emotion-show .message-star:nth-child(n+13){display:none}
.emotion-show .spark-photo{border-width:3px;box-shadow:1px 1px 0 #f5dfb7,3px 3px 0 #9b815d,5px 5px 0 #433c34,0 24px 40px -15px #000a;transform:none!important;animation:restored-arrival 1.6s ease both}
.emotion-show .photo-reflection{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:7;box-shadow:inset 1px 1px #fff2,inset -1px -1px #0003}
.emotion-show .photo-reflection:after{content:'';position:absolute;inset:-80%;background:linear-gradient(110deg,transparent 43%,#fff4 49%,#fff1 53%,transparent 59%);animation:restored-glass 3.8s ease .25s both;opacity:0}
.emotion-show .frame-bolt{animation-duration:12s;stroke-width:.8;filter:drop-shadow(0 0 1px #ffe0a6)}
.emotion-show .surprise-gift{margin-top:6px;border:0}
.emotion-show .surprise-intro{font-size:23px;line-height:1.3;color:#f2dfbd}
.emotion-show .surprise-hint{font-size:13px;color:#cbb795;line-height:1.5}
.emotion-show .surprise-trigger:focus-visible{outline:2px solid #dfc28e;outline-offset:2px;border-radius:6px}
.emotion-show .surprise-trigger:not(:disabled):active{transform:translateY(2px)}
.emotion-show .unwrapping .surprise-trigger{animation:restored-gift-response .45s ease both}
.emotion-show .gift-lid{transition:transform 1.2s cubic-bezier(.16,1,.3,1),opacity .75s .35s}
.emotion-show .unwrapping .gift-lid{transform:translateY(-82px);opacity:0}
.emotion-show .gift-prize{transition:transform 1.25s cubic-bezier(.16,1,.3,1),opacity .6s}
.emotion-show .unwrapped .gift-prize{transform:translateY(-4px) scale(1)}
.emotion-show .surprise-caption{transition:opacity .8s .25s;color:#f3dfbd}
.emotion-show .gift-reveal-glints{position:absolute;inset:0;z-index:7;pointer-events:none}
.emotion-show .gift-reveal-glints i{position:absolute;left:50%;top:50%;font:normal 10px Georgia,serif;color:#f8dca7;opacity:0;filter:drop-shadow(0 0 3px #ecc88177)}
.emotion-show .unwrapped .gift-reveal-glints i{animation:restored-gift-glint 1.7s ease-out var(--gd) both}
@keyframes restored-arrival{from{opacity:0}to{opacity:1}}
@keyframes restored-bloom{0%{opacity:0}20%{opacity:.9}100%{opacity:0}}
@keyframes restored-message{0%{opacity:0;filter:blur(6px)}65%{opacity:.85;filter:blur(.6px)}100%{opacity:1;filter:none}}
@keyframes restored-star{0%{opacity:0;transform:scale(.2)}24%{opacity:.9;transform:scale(1)}50%{opacity:.25}68%{opacity:.7}100%{opacity:0;transform:scale(.3)}}
@keyframes restored-glass{0%{opacity:0;transform:translateX(-55%)}25%{opacity:.32}100%{opacity:0;transform:translateX(55%)}}
@keyframes restored-gift-response{0%,100%{transform:translateY(0)}35%{transform:translateY(2px)}70%{transform:translateY(-3px)}}
@keyframes restored-gift-glint{0%{opacity:0;transform:translate(0,0) scale(.3)}25%{opacity:.85}100%{opacity:0;transform:translate(var(--gx),var(--gy)) scale(.35)}}
@media(max-width:600px){.emotion-show .reveal-content .message.starlit-message{font-size:19px;line-height:1.75}.emotion-show .reveal-content h2{font-size:37px}.emotion-show .surprise-intro{font-size:20px}.emotion-show .surprise-hint{font-size:12px}.emotion-show .surprise-caption{font-size:19px}.emotion-show .reveal-actions .button{font-size:14px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.emotion-show .reveal-panel,.emotion-show .reveal-content,.emotion-show .starlit-copy,.emotion-show .spark-photo,.emotion-show .unwrapping .surprise-trigger{animation:none!important;opacity:1;filter:none}.emotion-show .photo-reflection:after,.emotion-show .gift-reveal-glints,.emotion-show .show-bloom{display:none}.emotion-show .gift-lid,.emotion-show .gift-prize,.emotion-show .surprise-caption{transition:none}}

/* V41: composition corrected against the supplied desktop recording.
   Full text occupies its final space before reveal; only opacity animates. */
.viewer-stage.emotion-show{padding:112px 40px 40px;justify-content:center}
.emotion-show .reveal-panel{height:auto;min-height:0;grid-template-columns:minmax(0,44fr) minmax(0,56fr);grid-template-rows:auto;gap:56px;align-items:start;overflow:visible}
.emotion-show .reveal-art{height:auto;min-height:0;padding:0;align-items:flex-start;align-self:start}
.emotion-show .reveal-art .art{height:auto;aspect-ratio:1/1.06;max-height:none;width:100%}
.emotion-show .reveal-content{height:auto;min-height:0;min-width:0;overflow:visible;padding:0}
.emotion-show .reveal-content h2{margin:12px 0 22px;letter-spacing:-.7px}
.emotion-show .reveal-content .message.starlit-message{height:auto;max-height:none;overflow:visible;padding:0;line-height:1.7;overflow-wrap:anywhere}
.emotion-show .reveal-content .from{margin:10px 0 14px}
.emotion-show .reveal-actions{margin-top:14px;display:flex;flex-wrap:wrap;gap:10px}
.emotion-show .reveal-actions .button{padding:11px 17px}
.emotion-show .demo-note{margin-top:12px}
/* A self-contained stage: the lid and glints cannot cross into the message. */
.emotion-show .surprise-gift{height:190px;margin:8px 0 0;gap:0 18px;grid-template-columns:170px minmax(0,1fr)}
.emotion-show .surprise-trigger{height:190px;width:170px;overflow:hidden;isolation:isolate;perspective:none;transform-style:flat;border-radius:8px}
.emotion-show .gift-base{bottom:14px;height:82px}
.emotion-show .gift-lid{bottom:94px;transition:transform .9s cubic-bezier(.2,.7,.2,1),opacity .55s .12s}
.emotion-show .unwrapping .gift-lid,.emotion-show .unwrapped .gift-lid{transform:translateY(-32px);opacity:0}
.emotion-show .gift-prize{top:17px;left:42px;width:96px;height:96px}
.emotion-show .unwrapped .gift-prize{transform:translateY(0) scale(1)}
.emotion-show .gift-reveal-glints{overflow:hidden}
.emotion-show .surprise-caption{left:188px;max-height:150px;line-height:1.5}
.emotion-show .surprise-intro{font-size:22px}
.emotion-show .surprise-trigger:focus-visible{outline-offset:-3px}
@media(min-width:801px) and (max-height:800px){
 .viewer-stage.emotion-show{padding-top:96px;padding-bottom:28px}
 .emotion-show .reveal-panel{max-width:1000px;gap:44px}
 .emotion-show .reveal-content h2{font-size:40px;margin-bottom:16px}
 .emotion-show .reveal-content .message.starlit-message{font-size:19px;line-height:1.65}
}
@media(max-width:800px){
 .viewer-stage.emotion-show{padding:105px 24px 32px;justify-content:flex-start}
 .emotion-show .reveal-panel{height:auto;max-width:520px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:32px}
 .emotion-show .reveal-art{height:auto;padding:0;width:min(100%,340px);justify-self:center}
 .emotion-show .reveal-art .art{height:auto;max-height:none;aspect-ratio:1/1}
 .emotion-show .reveal-content{height:auto;padding:0}
 .emotion-show .reveal-content h2{font-size:38px;margin:10px 0 20px}
 .emotion-show .reveal-content .message.starlit-message{font-size:19px;line-height:1.7;max-height:none}
 .emotion-show .surprise-gift{height:190px;grid-template-columns:150px minmax(0,1fr);gap:0 10px;margin-top:8px}
 .emotion-show .surprise-trigger{width:150px}
 .emotion-show .gift-base{left:24px}.emotion-show .gift-lid{left:19px}.emotion-show .gift-prize{left:32px}
 .emotion-show .surprise-caption{left:160px;font-size:19px}
 .emotion-show .surprise-intro{font-size:20px}
 .emotion-show .reveal-actions .button{flex:1;white-space:normal}
}
@media(max-width:370px){
 .viewer-stage.emotion-show{padding-left:18px;padding-right:18px}
 .emotion-show .surprise-gift{grid-template-columns:138px minmax(0,1fr);column-gap:8px}
 .emotion-show .surprise-trigger{width:138px}
 .emotion-show .surprise-caption{left:146px;font-size:18px}
 .emotion-show .surprise-intro{font-size:18px}
}
/* V43: photographic sapphire box; independently animated lid and body. */
.emotion-show .surprise-gift{height:230px;grid-template-columns:230px minmax(0,1fr);column-gap:12px;margin:0 0 4px}
.emotion-show .surprise-trigger{width:230px;height:230px;overflow:hidden;isolation:isolate;border-radius:10px;perspective:none;animation:none;transform:none}
.emotion-show .gift-base,.emotion-show .gift-lid{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:var(--zarf-embedded-44) center/100% 100% no-repeat;box-shadow:none;transform-style:flat;filter:drop-shadow(0 7px 5px #03081144)}
.emotion-show .gift-base{clip-path:inset(47% 0 0);z-index:4;transform:none!important}
.emotion-show .gift-lid{clip-path:inset(0 0 54%);z-index:6;transform:translateY(21.5%);opacity:1;transition:transform 1.15s cubic-bezier(.2,.75,.2,1),opacity .55s .65s}
.emotion-show .gift-base:before,.emotion-show .gift-base:after,.emotion-show .gift-base>i,.emotion-show .gift-lid:before,.emotion-show .gift-lid:after,.emotion-show .gift-lid>i,.emotion-show .gift-bow-knot{display:none}
.emotion-show .unwrapping .gift-lid,.emotion-show .unwrapped .gift-lid{transform:translateY(0);opacity:0}
.emotion-show .gift-prize{top:48px;left:79px;width:72px;height:76px;z-index:3;opacity:0;transform:translateY(72px) scale(.7);filter:drop-shadow(0 5px 6px #0005);transition:transform 1.3s cubic-bezier(.16,1,.3,1),opacity .7s}
.emotion-show .gift-toy{font-size:64px;line-height:1}
.emotion-show .gift-prize img{width:72px;height:76px;object-fit:cover;border:2px solid #d3b78b;border-radius:7px}
.emotion-show .unwrapped .gift-prize{opacity:1;transform:translateY(0) scale(1)}
.emotion-show .gift-shadow{left:28px;right:20px;bottom:2px;height:13px;filter:blur(7px);background:#03071199;transform:none}
.emotion-show .gift-rays{inset:50px 50px 40px;z-index:2;background:linear-gradient(0deg,#e4c48e55,transparent 85%);clip-path:polygon(0 0,100% 0,65% 100%,35% 100%);filter:blur(12px)}
.emotion-show .unwrapping .gift-rays{opacity:.7}
.emotion-show .surprise-caption{left:242px;max-height:180px;font-size:20px}
.emotion-show .surprise-intro{font-size:21px;line-height:1.35}
.emotion-show .gift-reveal-glints{z-index:7;inset:20px 8px 25px;overflow:hidden}
@media(max-width:800px){
 .emotion-show .surprise-gift{grid-template-columns:190px minmax(0,1fr);height:200px;column-gap:8px}
 .emotion-show .surprise-trigger{width:190px;height:190px}
 .emotion-show .surprise-caption{left:198px;font-size:18px;line-height:1.5}
 .emotion-show .surprise-intro{font-size:18px}
 .emotion-show .gift-prize{left:61px;top:39px;width:68px;height:70px}
 .emotion-show .gift-toy{font-size:59px}
 .emotion-show .gift-prize img{width:68px;height:70px}
}
@media(max-width:390px){
 .emotion-show .surprise-gift{grid-template-columns:164px minmax(0,1fr);height:190px}
 .emotion-show .surprise-trigger{width:164px;height:164px}
 .emotion-show .surprise-caption{left:172px;font-size:17px}
 .emotion-show .surprise-intro{font-size:17px}
 .emotion-show .gift-prize{left:50px;top:35px;width:64px;height:68px}
}
@media(prefers-reduced-motion:reduce){.emotion-show .gift-lid,.emotion-show .gift-prize{transition:none!important}.emotion-show .gift-reveal-glints{display:none}}
/* V44: prize sits inside the mouth, between the rear shell and front wall. */
.emotion-show .gift-base{z-index:2}
.emotion-show .surprise-trigger:after{content:'';position:absolute;inset:0;z-index:4;pointer-events:none;background:var(--zarf-embedded-44) center/100% 100% no-repeat;clip-path:polygon(10% 63.6%,75.6% 68.6%,89.5% 52.8%,90% 100%,10% 100%)}
.emotion-show .surprise-trigger .gift-prize{left:34%;top:40%;width:32%;height:33%;z-index:3;transform:translateY(70%) scale(.8);opacity:0;filter:drop-shadow(0 4px 3px #0005);transition:transform 1.3s cubic-bezier(.16,1,.3,1),opacity .45s}
.emotion-show .surprise-trigger .gift-prize img{width:100%;height:100%;object-fit:cover}
.emotion-show .unwrapped .surprise-trigger .gift-prize{transform:translateY(0) scale(1);opacity:1}
@media(prefers-reduced-motion:reduce){.emotion-show .surprise-trigger .gift-prize{transition:none!important}}
/* V45: retain the lifted lid and give the surprise the scale of a real gift. */
.emotion-show .gift-lid{transition:transform 1.15s cubic-bezier(.2,.75,.2,1);opacity:1}
.emotion-show .unwrapping .gift-lid,.emotion-show .unwrapped .gift-lid{transform:translateY(0);opacity:1;z-index:1}
.emotion-show .surprise-trigger .gift-prize{left:28%;top:29%;width:44%;height:46%;transform:translateY(85%) scale(.85)}
.emotion-show .surprise-trigger .gift-toy{font-size:104px;line-height:1;display:block}
/* Lift the full prize above the front rim without shrinking it. */
.emotion-show .unwrapped .surprise-trigger .gift-prize{transform:translateY(-55%) scale(1)}
@media(max-width:800px){.emotion-show .surprise-trigger .gift-toy{font-size:86px}}
@media(max-width:390px){.emotion-show .surprise-trigger .gift-toy{font-size:74px}}
@media(prefers-reduced-motion:reduce){.emotion-show .gift-lid{transition:none!important}}
/* V47: personal media occupies the same framed position as text-card artwork. */
.emotion-show .recipient-media{width:100%;min-width:0;aspect-ratio:1/1.06;display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(145deg,#19273a,#14182b 65%,#262337);overflow:hidden;color:#efe2cd;padding:0}
.emotion-show .recipient-media>img,.emotion-show .recipient-media>video{display:block;width:100%;height:100%;min-height:0;max-height:540px;object-fit:contain;background:#0e1521;margin:0;border:0;box-shadow:none}
.emotion-show .recipient-audio{padding:28px 18px;gap:24px}
.emotion-show .recipient-media>audio{width:100%;max-width:360px;height:48px}
.emotion-show .audio-title{font:24px/1.4 Georgia,serif;color:#f1dfbf;margin:0;text-align:center}
.emotion-show .audio-art{height:110px;display:flex;align-items:center;justify-content:center;gap:5px;max-width:100%;overflow:hidden}
.emotion-show .audio-art i{width:4px;height:var(--bar);background:linear-gradient(#f5dfb5,#a98757);opacity:.75;transform-origin:center;animation:voice-bar 1.1s ease-in-out var(--delay) infinite alternate;animation-play-state:paused}
.emotion-show .is-playing .audio-art i{animation-play-state:running}
@keyframes voice-bar{from{transform:scaleY(.4);opacity:.5}to{transform:scaleY(1.15);opacity:1}}
#editor .upload-tile{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:20px;margin:18px 0;background:linear-gradient(115deg,#fffaf2,#f3eadd);border:1px solid #cdb997;border-radius:10px;box-shadow:inset 0 1px #fff,0 8px 20px #30201608;color:#45372c;cursor:pointer;text-align:left;transition:border-color .2s,box-shadow .2s}
#editor .upload-tile:hover,#editor .upload-tile:focus-within{border-color:#8c6b3d;box-shadow:0 0 0 3px #b4945822}
#editor .upload-tile input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0;z-index:2}
#editor .upload-symbol{font-size:30px;font-weight:400;line-height:1;text-align:center;color:#967341}
#editor .upload-tile b{display:block;font-size:16px;font-weight:600;line-height:1.5}
#editor .upload-tile small{display:block;font-size:13px;line-height:1.6;color:#827363;margin-top:4px}
#editor .upload-action{font-size:14px;font-weight:600;color:#7c5e34;white-space:nowrap}
#editor .capture-box{border:1px solid #d9cbb8;background:linear-gradient(145deg,#fcfaf6,#f4eee5);padding:24px;border-radius:12px}
#editor #record{min-height:48px;font-size:15px;padding:14px 22px;background:linear-gradient(120deg,#27384a,#182536);border:1px solid #415163;color:#f5e6c9;box-shadow:0 6px 15px #14243518}
#editor #record.recording{background:#833e49;border-color:#a7656e}
#editor .media-preview video,#editor .media-preview img{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:8px;background:#182332;margin:16px 0}
#editor .toy-select-label select{display:none}
#editor .toy-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 22px}
#editor .toy-choices button{min-width:0;border:1px solid #dacdbb;background:#fcf9f3;border-radius:9px;min-height:105px;padding:14px 6px;color:#655440;cursor:pointer;transition:background .2s,border-color .2s}
#editor .toy-choices button span{display:block;font-size:34px;line-height:1.3;margin-bottom:8px}
#editor .toy-choices button b{font-size:13px;font-weight:500}
#editor .toy-choices button[aria-pressed=true]{background:#eee1ca;border-color:#9c7d4c;box-shadow:inset 0 0 0 1px #9c7d4c}
#editor .toy-choices button:focus-visible{outline:2px solid #8d6e40;outline-offset:3px}
@media(max-width:600px){#editor .upload-tile{padding:16px 12px;grid-template-columns:30px minmax(0,1fr);gap:10px}#editor .upload-action{grid-column:2}#editor .capture-box{padding:16px}#editor .toy-choices{gap:6px}#editor .toy-choices button{padding:12px 3px}#editor .toy-choices button b{font-size:12px}.emotion-show .recipient-media{aspect-ratio:1/1}.emotion-show .recipient-audio{padding:20px 14px}}
@media(prefers-reduced-motion:reduce){.emotion-show .audio-art i{animation:none}}
/* V48: configurable recipient atmosphere, personal media and compact controls. */
[data-bg="midnight"]{--scene-a:#101e32;--scene-b:#17162b;--scene-c:#162a31;--light-a:#387c8177;--light-b:#98638666}
[data-bg="plum"]{--scene-a:#30202e;--scene-b:#251c36;--scene-c:#403044;--light-a:#936c9255;--light-b:#bc8d8366}
[data-bg="emerald"]{--scene-a:#142b2b;--scene-b:#142523;--scene-c:#29392f;--light-a:#69a49555;--light-b:#b39a6266}
[data-bg="mocha"]{--scene-a:#302923;--scene-b:#241e26;--scene-c:#40352c;--light-a:#b79c7655;--light-b:#aa7d7766}
.emotion-show[data-bg] .show-atmosphere{background:linear-gradient(145deg,var(--scene-a),var(--scene-b) 60%,var(--scene-c))}
.emotion-show[data-bg] .aurora-a{background:linear-gradient(120deg,transparent,var(--light-a),transparent)}
.emotion-show[data-bg] .aurora-b{background:linear-gradient(140deg,transparent,var(--light-b),transparent)}
.emotion-show[data-bg] .aurora-c{background:linear-gradient(110deg,transparent,var(--light-a),transparent)}
.emotion-show[data-bgfx="none"] .show-atmosphere>*{display:none}
.emotion-show[data-bgfx="aurora"] .show-star,.emotion-show[data-bgfx="hearts"] .show-star,.emotion-show[data-bgfx="petals"] .show-star{display:none}
.emotion-show[data-bgfx="stars"] .show-aurora,.emotion-show[data-bgfx="hearts"] .show-aurora,.emotion-show[data-bgfx="petals"] .show-aurora{display:none}
.emotion-show .scene-drift{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.emotion-show .scene-drift i{position:absolute;left:var(--x);bottom:-30px;font:normal var(--size)/1 Georgia,serif;color:#edc4c5;opacity:0;animation:personal-drift var(--duration) ease-in-out var(--wait) infinite}
@keyframes personal-drift{0%{opacity:0;transform:translate(0,0)}15%,75%{opacity:.35}100%{opacity:0;transform:translate(25px,-95vh)}}
#editor .scene-settings{padding:22px 0;border-top:1px solid #dacdbb;border-bottom:1px solid #dacdbb;margin:26px 0}
#editor .scene-settings h3{font:25px/1.3 Georgia,serif;margin:0 0 10px}
#editor .scene-sample{position:relative;overflow:hidden;min-height:132px;padding:28px 24px;display:flex;flex-direction:column;justify-content:center;gap:10px;border:1px solid #9d845b66;background:linear-gradient(130deg,var(--scene-a),var(--scene-b),var(--scene-c));color:#f1e3cc;border-radius:8px;transition:background .4s}
#editor .scene-sample span{font-size:11px;letter-spacing:2px;text-transform:uppercase}
#editor .scene-sample b{font:25px/1.3 Georgia,serif}
#editor .scene-sample i{position:absolute;right:15%;top:25%;font-style:normal;color:#dcc098;animation:sample-glimmer 3s ease-in-out infinite alternate}
#editor .scene-sample i:nth-of-type(2){right:25%;top:65%;animation-delay:-1s;font-size:10px}#editor .scene-sample i:nth-of-type(3){right:7%;top:75%;animation-delay:-2s;font-size:12px}
#editor .scene-sample[data-bgfx="none"] i,#editor .scene-sample[data-bgfx="aurora"] i{display:none}
#editor .scene-sample[data-bgfx="aurora"],#editor .scene-sample[data-bgfx="classic"]{background-size:200% 200%;animation:sample-silk 8s ease-in-out infinite alternate}
@keyframes sample-silk{to{background-position:100% 100%}}@keyframes sample-glimmer{from{opacity:.15;transform:translateY(5px)}to{opacity:.8;transform:translateY(-5px)}}
#editor .background-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 20px}
#editor .background-choices button{padding:7px 7px 10px;background:#fbf8f2;border:1px solid #d8cbb7;border-radius:7px;font:13px/1.4 'Segoe UI',sans-serif;color:#63513d;cursor:pointer}
#editor .background-choices i{display:block;height:42px;margin-bottom:8px;background:linear-gradient(130deg,var(--scene-a),var(--scene-b),var(--scene-c));border-radius:3px}
#editor .background-effects{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
#editor .background-effects button{padding:10px 13px;border:1px solid #d8cbb7;background:#fcfaf5;color:#63513d;border-radius:6px;font-size:13px;cursor:pointer}
#editor .background-choices button[aria-pressed="true"],#editor .background-effects button[aria-pressed="true"]{border-color:#947447;box-shadow:inset 0 0 0 1px #947447;background:#eee2ce}
#editor .background-choices button:focus-visible,#editor .background-effects button:focus-visible{outline:2px solid #947447;outline-offset:3px}
#editor .upload-tile{grid-template-columns:24px minmax(0,1fr) auto;padding:10px 13px;gap:10px;margin:12px 0;border-radius:6px;box-shadow:none;min-height:52px;background:linear-gradient(100deg,#fcf9f3,#f4eee4)}
#editor .upload-symbol{font-size:23px}#editor .upload-tile b{font-size:14px;line-height:1.35;font-weight:500}#editor .upload-tile small{font-size:11px;margin-top:2px;line-height:1.4}#editor .upload-action{font-size:12px;grid-column:auto}
#editor .toy-choices button{min-height:84px;padding:10px 4px}#editor .toy-choices button span{font-size:29px;margin-bottom:5px}
.emotion-show .personal-media-frame{padding:8px;border:1px solid #ceb88e;background:linear-gradient(125deg,#8f795b,#eee0bd 35%,#5b4f42 66%,#a58c63);box-shadow:1px 1px #f0dfb8,4px 5px #3c352f,0 24px 55px -16px #000b;overflow:hidden!important}
.emotion-show .personal-media-frame .photo-sparks{inset:1px}
.emotion-show .personal-media-frame .photo-reflection{inset:8px;box-shadow:inset 0 0 0 1px #d9c5a12b}
.emotion-show .personal-media-frame .photo-reflection:after{opacity:0;animation:none}
.emotion-show .personal-media-frame .recipient-media{position:relative;background:linear-gradient(135deg,#182536,#111a29 70%,#252333);aspect-ratio:4/5;min-height:260px;border:1px solid #ffffff0d}
.emotion-show .personal-media-frame .recipient-video{aspect-ratio:4/3}
.emotion-show .personal-media-frame .recipient-media>img,.emotion-show .personal-media-frame .recipient-media>video{position:absolute;inset:0 0 40px;width:100%;height:calc(100% - 40px);max-height:none;object-fit:contain;background:transparent}
.emotion-show .media-signature{position:absolute;bottom:0;left:0;right:0;min-height:40px;display:flex;align-items:center;justify-content:center;font:10px/1.4 'Segoe UI',sans-serif;letter-spacing:2.4px;color:#d1bb95;background:#101827;border-top:1px solid #c8ad7729;padding:8px}
.emotion-show .personal-media-frame .recipient-audio{aspect-ratio:1/1.06;padding:35px 20px 65px;gap:26px}
.emotion-show .personal-media-frame .audio-art{width:100%;height:120px;padding:20px 0;border-top:1px solid #ddbf8d20;border-bottom:1px solid #ddbf8d20}
@media(max-width:600px){#editor .background-choices{grid-template-columns:repeat(2,minmax(0,1fr))}#editor .upload-tile{grid-template-columns:20px minmax(0,1fr) auto;padding:10px;gap:8px}#editor .scene-sample b{font-size:22px}.emotion-show .personal-media-frame{padding:6px}.emotion-show .personal-media-frame .recipient-video{min-height:230px}.emotion-show .personal-media-frame .recipient-photo{aspect-ratio:4/5}}
@media(prefers-reduced-motion:reduce){.emotion-show .scene-drift i{animation:none;display:none}#editor .scene-sample,#editor .scene-sample i{animation:none!important}}
/* V49: more atmospheres, readable editor type and media-aware selection preview. */
[data-bg="ruby"]{--scene-a:#381c2a;--scene-b:#241623;--scene-c:#542c36;--light-a:#b5667966;--light-b:#bb8e7466}
[data-bg="sapphire"]{--scene-a:#152b48;--scene-b:#161f37;--scene-c:#293f60;--light-a:#7399c466;--light-b:#8295be66}
[data-bg="rose"]{--scene-a:#40303a;--scene-b:#2c222d;--scene-c:#59404a;--light-a:#c19c9c66;--light-b:#b78d9d66}
[data-bg="ocean"]{--scene-a:#16333c;--scene-b:#162632;--scene-c:#29525a;--light-a:#71a9b066;--light-b:#6c8ca366}
[data-bg="graphite"]{--scene-a:#292d33;--scene-b:#191e26;--scene-c:#393d43;--light-a:#a7adb366;--light-b:#9b8f8066}
[data-bg="olive"]{--scene-a:#2b3326;--scene-b:#20271f;--scene-c:#444735;--light-a:#a3ac7866;--light-b:#b6a17666}
[data-bg="copper"]{--scene-a:#3d2925;--scene-b:#2b2025;--scene-c:#5c3c30;--light-a:#be8b6d66;--light-b:#b7a28066}
[data-bg="lavender"]{--scene-a:#322e46;--scene-b:#252338;--scene-c:#49415c;--light-a:#a397c266;--light-b:#b7a2b366}
.emotion-show[data-bgfx]:not([data-bgfx="classic"]):not([data-bgfx="aurora"]) .show-aurora{display:none}
.emotion-show[data-bgfx]:not([data-bgfx="classic"]):not([data-bgfx="stars"]) .show-star{display:none}
.emotion-show .drift-snow i,.emotion-show .drift-confetti i{bottom:auto;top:-30px;animation-name:scene-fall}
.emotion-show .drift-confetti i{color:var(--shade);font-size:20px}
.emotion-show .drift-gold i{font-size:32px;color:#e6c18b;filter:drop-shadow(0 0 3px #e6c18b55)}
.emotion-show .drift-butterflies i{animation-name:scene-flutter;opacity:0}
.emotion-show .drift-meteors i{top:var(--x);bottom:auto;width:80px;height:1px;background:linear-gradient(90deg,transparent,#f8e3bc);animation:scene-meteor 8s linear var(--wait) infinite;transform:rotate(-35deg)}
.emotion-show .drift-rays i{top:-25%;bottom:auto;width:7%;height:150%;background:linear-gradient(90deg,transparent,#f7e6c311,transparent);animation:scene-ray 12s ease-in-out var(--wait) infinite alternate;transform:rotate(24deg)}
@keyframes scene-fall{0%{opacity:0;transform:translate(0,-20px) rotate(0)}15%,75%{opacity:.5}100%{opacity:0;transform:translate(35px,100vh) rotate(120deg)}}
@keyframes scene-flutter{0%{opacity:0;transform:translate(0,0) rotate(-10deg)}20%{opacity:.5}50%{transform:translate(-24px,-45vh) rotate(12deg)}80%{opacity:.5}100%{opacity:0;transform:translate(25px,-95vh) rotate(-10deg)}}
@keyframes scene-meteor{0%,70%,100%{opacity:0}73%{opacity:.7;transform:translate(0,0) rotate(-35deg)}85%{opacity:0;transform:translate(-180px,130px) rotate(-35deg)}}
@keyframes scene-ray{from{opacity:.3;transform:translateX(-25px) rotate(24deg)}to{opacity:.9;transform:translateX(45px) rotate(24deg)}}
#editor .help,#editor .preview-tip,#editor .check small,#editor .upload-tile small{font-size:14px!important;line-height:1.65}
#editor .field,#editor .check,#editor .info,#editor .step-intro,#editor .summary-line{font-size:16px;line-height:1.6}
#editor input:not([type=checkbox]):not([type=file]),#editor textarea,#editor select{font-size:16px!important;line-height:1.5}
#editor .steps-nav button,#editor .effect-options button,#editor .background-effects button,#editor .background-choices button,#editor .toy-choices button b,#editor .text-button,#editor .upload-action{font-size:14px!important;line-height:1.45}
#editor .media-options button,#editor .button,#editor .back-button,#editor .upload-tile b{font-size:16px!important}
#editor .overline,#editor .scene-sample span{font-size:13px;letter-spacing:1.6px;line-height:1.6}
#editor .preview-name{font-size:17px;line-height:1.6}
#editor .upload-tile{padding:10px 13px;min-height:56px}
#editor #record{display:inline-flex;align-items:center;justify-content:center;gap:11px}
#editor #record:before{content:'';flex:none;width:12px;height:12px;border-radius:50%;background:#ee746f;box-shadow:0 0 0 3px #ee746f22}
#editor #record.recording:before{border-radius:2px;background:#fff;box-shadow:none}
#editor #liveProduct.has-personal-media{width:100%;min-width:0;min-height:260px;height:auto;aspect-ratio:4/5;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:22px;padding:12px;background:linear-gradient(145deg,#203044,#111b2c);border:1px solid #bba178;border-radius:8px;overflow:hidden;box-shadow:0 15px 40px -15px #0006}
#editor #liveProduct.has-personal-media>img,#editor #liveProduct.has-personal-media>video{display:block;width:100%;max-height:420px;min-height:0;object-fit:contain;aspect-ratio:auto;border-radius:3px}
#editor #liveProduct.has-personal-media>audio{width:100%;max-width:360px}
#editor .live-media-empty,#editor .live-audio-card{text-align:center;padding:20px 12px;color:#eadbc1}
#editor .live-media-empty b,#editor .live-audio-card b,#editor .live-audio-title{font:24px/1.4 Georgia,serif;color:#eadbc1;display:block;text-align:center}
#editor .live-media-empty p,#editor .live-audio-card p{font-size:15px;line-height:1.7;color:#b9c0c9}
#editor .live-record-dot{display:block;width:14px;height:14px;background:#e67b77;border-radius:50%;margin:0 auto 20px;animation:live-record-pulse 1s ease-in-out infinite alternate}
@keyframes live-record-pulse{to{opacity:.35}}
@media(max-width:600px){#editor .steps-nav{display:flex;gap:5px}#editor .steps-nav button{flex:1;min-width:0;padding:10px 5px;white-space:normal}#editor .toy-choices{grid-template-columns:repeat(4,minmax(0,1fr))}#editor .toy-choices button b{font-size:13px!important;overflow-wrap:anywhere}#editor #liveProduct.has-personal-media{max-width:360px;min-height:220px;aspect-ratio:4/3;margin:0 auto}#editor #liveProduct.has-personal-media>img,#editor #liveProduct.has-personal-media>video{max-height:300px}}
@media(prefers-reduced-motion:reduce){.emotion-show .scene-drift i,#editor .live-record-dot{animation:none!important}.emotion-show .scene-drift{display:none}}
/* V50: photographic category medallions, confined to the homepage stories rail. */
#stories{padding:12px 5px 18px;gap:22px;align-items:flex-start}
#stories .story-choice{flex:0 0 100px;min-width:100px;display:flex;flex-direction:column;align-items:center;gap:13px;scroll-snap-align:start;padding:0 2px 3px;background:none;border:0}
#stories .story-ring{position:relative;display:block;width:88px;height:88px;flex:none;box-sizing:border-box;border-radius:50%;padding:5px;border:1px solid #d4be9977;background:linear-gradient(140deg,#fff0d2 0%,#a38c64 20%,#4c433a 43%,#c6ad7b 65%,#f7e4bd 83%,#726044 100%);box-shadow:0 2px 0 #79654b,0 4px 0 #3d342c,0 10px 15px -5px #0008,inset 0 1px 1px #fff9;transition:transform .25s ease,box-shadow .25s ease}
#stories .category-photo{display:block;width:100%;height:100%;border-radius:50%;background-image:var(--zarf-embedded-10);background-size:300% 300%;background-position:var(--cx) var(--cy);background-repeat:no-repeat;border:1px solid #f3dfb475;box-shadow:inset 0 2px 7px #0006;isolation:isolate}
#stories .category-photo:after{content:'';position:absolute;inset:0;border-radius:50%;background:linear-gradient(135deg,#fff5 0%,#fff1 24%,transparent 44%,transparent 72%,#0003);box-shadow:inset 0 0 0 1px #fff2,inset 0 -4px 8px #0004;pointer-events:none}
#stories .story-ring:after{content:'';position:absolute;inset:-5px;border:1px solid transparent;border-radius:50%;pointer-events:none;transition:border-color .25s}
#stories .active .story-ring:after{border-color:#efd8ae}
#stories .active .story-ring{box-shadow:0 2px 0 #94784d,0 4px 0 #483a29,0 10px 20px -4px #0009,0 0 0 2px #d9b57622}
#stories .story-label{font:500 14px/1.4 'Segoe UI',sans-serif;letter-spacing:0;white-space:normal;min-height:39px;margin:0;color:#e3d6c5;text-align:center}
#stories .active .story-label{color:#ffedcb}
#stories .story-choice:focus-visible{outline:2px solid #e4c79a;outline-offset:5px;border-radius:8px}
@media(hover:hover){#stories .story-choice:hover .story-ring{transform:translateY(-3px);box-shadow:0 2px 0 #94784d,0 5px 0 #483a29,0 14px 22px -6px #000a}#stories .story-choice:hover .story-label{color:#fff0d6}}
@media(max-width:700px){#stories{gap:14px;padding-top:11px;padding-bottom:15px}#stories .story-choice{flex-basis:86px;min-width:86px;gap:12px}#stories .story-ring{width:76px;height:76px;padding:4px}#stories .story-label{font-size:13px;line-height:1.45}}
@media(prefers-reduced-motion:reduce){#stories .story-ring,#stories .story-ring:after{transition:none}#stories .story-choice:hover .story-ring{transform:none}}
/* V53: a single birthday edition; all other cards retain their composition. */
#viewerStage.birthday-edition .reveal-panel{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);grid-template-rows:auto auto;align-items:start;gap:0 42px;width:min(1060px,100%);max-width:1060px;height:auto;padding:28px 38px 32px;border:1px solid #cdb78d66;border-radius:6px;background:linear-gradient(125deg,#203044e8,#142337f2 55%,#18263ae8);box-shadow:inset 0 1px #fff2,inset 0 -1px #0008,0 3px 0 #0b1727,0 5px 0 #a38a5544,0 30px 80px #0006;transform:none;animation:birthday-arrival 1.15s cubic-bezier(.2,.7,.2,1) both}
#viewerStage.birthday-edition .reveal-panel:before{display:block;content:'';position:absolute;inset:8px;border:1px solid #c8ad7620;border-radius:2px;pointer-events:none;background:none;transform:none}
.birthday-rule{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 22px;margin-bottom:28px;border-bottom:1px solid #b89e6b40;color:#c9b58e;font:11px/1.5 'Segoe UI',sans-serif;letter-spacing:2.5px}
.birthday-rule i{font:normal 25px/1 Georgia,serif;color:#eed9ae}
#viewerStage.birthday-edition .reveal-art{display:block;position:relative;width:100%;height:auto;align-self:start;padding:0;animation:birthday-photo 1.3s ease .3s both}
#viewerStage.birthday-edition .spark-photo{position:relative;padding:7px;border:1px solid #d6c19a88;background:linear-gradient(135deg,#b7a17b,#f0dfbc 30%,#5b5143 65%,#a28b65);border-radius:2px;box-shadow:0 2px 0 #574c3c,0 4px 0 #0b1420,0 14px 28px #0005;transform:none!important;animation:none;overflow:hidden!important}
#viewerStage.birthday-edition .reveal-art .art{height:auto;max-height:none;aspect-ratio:4/5;border:0;box-shadow:none;transform:none!important}
#viewerStage.birthday-edition .photo-sparks{inset:2px}
#viewerStage.birthday-edition .frame-bolt{animation-iteration-count:1;animation-delay:1s;animation-duration:3s;stroke-width:.8}
#viewerStage.birthday-edition .photo-reflection:after{animation:birthday-reflection 2.8s ease .5s 1 both}
.birthday-photo-caption{padding:24px 4px 0;text-align:center;color:#d6c6aa}
.birthday-photo-caption span{display:block;font:13px/1.5 'Segoe UI',sans-serif;letter-spacing:.7px;margin-bottom:8px}
.birthday-photo-caption strong{font:italic normal 28px/1.3 Georgia,serif;color:#f1e1c4}
#viewerStage.birthday-edition .reveal-content{height:auto;min-width:0;padding:8px 0 0;background:none;overflow:visible;animation:none}
#viewerStage.birthday-edition .reveal-content>.overline{font-size:12px;letter-spacing:2px;color:#cdb48a!important;animation:birthday-photo 1s ease .5s both}
#viewerStage.birthday-edition .reveal-content h2{font:normal clamp(34px,4vw,49px)/1.15 Georgia,serif;color:#f6e8ce;margin:13px 0 26px;letter-spacing:-.5px;overflow-wrap:anywhere;animation:birthday-photo 1.2s ease .6s both}
#viewerStage.birthday-edition .message.starlit-message{font:19px/1.8 'Segoe UI',sans-serif;color:#e9e3d8;max-height:none;min-height:0;height:auto;overflow-wrap:anywhere;white-space:pre-wrap;text-shadow:none}
#viewerStage.birthday-edition .starlit-copy{animation:birthday-message 1.5s ease 1.1s both}
#viewerStage.birthday-edition .message-star{animation-duration:2.6s;animation-iteration-count:1;color:#efdab1}
#viewerStage.birthday-edition .surprise-gift{margin:10px 0 0;height:200px;grid-template-columns:190px minmax(0,1fr);column-gap:16px}
#viewerStage.birthday-edition .surprise-trigger{width:190px;height:190px}
#viewerStage.birthday-edition .surprise-intro{font:normal 21px/1.4 Georgia,serif;color:#e9d9bb}
#viewerStage.birthday-edition .surprise-caption{left:206px;font:normal 19px/1.5 Georgia,serif;color:#f1dfba}
#viewerStage.birthday-edition .surprise-trigger .gift-toy{font-size:86px}
#viewerStage.birthday-edition .surprise-hint{font-size:12px;color:#b9c0c7}
#viewerStage.birthday-edition .from{padding-top:16px;border-top:1px solid #c5a87333;margin:6px 0 18px;font:italic 18px/1.5 Georgia,serif;color:#dfc9a4}
#viewerStage.birthday-edition .reveal-actions{gap:10px;margin-top:16px;flex-wrap:wrap}
#viewerStage.birthday-edition .reveal-actions .button{font-size:13px;min-height:42px;padding:11px 17px}
#viewerStage.birthday-edition .demo-note{font-size:11px;opacity:.65;margin-top:12px}
#viewerStage.birthday-edition .show-star{animation-iteration-count:1}
#viewerStage.birthday-edition .scene-drift i{animation-iteration-count:1}
#viewerStage.birthday-edition .show-aurora{opacity:.3;animation-duration:28s}
#viewerStage.birthday-edition .recipient-media{min-height:300px}
@keyframes birthday-arrival{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
@keyframes birthday-photo{from{opacity:0;filter:blur(5px);transform:translateY(8px)}to{opacity:1;filter:none;transform:none}}
@keyframes birthday-message{from{opacity:0;filter:blur(4px)}to{opacity:1;filter:none}}
@keyframes birthday-reflection{0%{opacity:0;transform:translateX(-120%)}30%{opacity:.25}100%{opacity:0;transform:translateX(120%)}}
@media(max-width:800px){
 #viewerStage.birthday-edition{padding:80px 14px 30px}
 #viewerStage.birthday-edition .reveal-panel{max-width:520px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:26px;padding:22px}
 .birthday-rule{padding-bottom:16px;margin:0;font-size:10px;letter-spacing:1.6px}
 #viewerStage.birthday-edition .reveal-art{width:min(100%,340px);justify-self:center}
 #viewerStage.birthday-edition .reveal-art .art{aspect-ratio:1/1}
 .birthday-photo-caption{padding-top:18px}
 .birthday-photo-caption strong{font-size:25px}
 #viewerStage.birthday-edition .reveal-content{padding:0}
 #viewerStage.birthday-edition .reveal-content h2{font-size:37px;margin-bottom:22px}
 #viewerStage.birthday-edition .message.starlit-message{font-size:18px;line-height:1.8}
}
@media(max-width:390px){
 #viewerStage.birthday-edition .reveal-panel{padding:20px 16px}
 #viewerStage.birthday-edition .surprise-gift{height:180px;grid-template-columns:150px minmax(0,1fr);column-gap:8px}
 #viewerStage.birthday-edition .surprise-trigger{width:150px;height:150px}
 #viewerStage.birthday-edition .surprise-caption{left:158px;font-size:17px}
 #viewerStage.birthday-edition .surprise-intro{font-size:18px}
 #viewerStage.birthday-edition .surprise-trigger .gift-toy{font-size:68px}
}
@media(prefers-reduced-motion:reduce){#viewerStage.birthday-edition .reveal-panel,#viewerStage.birthday-edition .reveal-art,#viewerStage.birthday-edition .reveal-content h2,#viewerStage.birthday-edition .reveal-content>.overline,#viewerStage.birthday-edition .starlit-copy{animation:none!important;opacity:1;transform:none;filter:none}#viewerStage.birthday-edition .photo-reflection:after{animation:none;display:none}}
/* V54: dimensional lighting and an opening flourish on the birthday edition. */
#viewerStage.birthday-edition{perspective:1600px}
#viewerStage.birthday-edition .reveal-panel{--light-x:30%;--light-y:15%;transform-style:preserve-3d;overflow:visible;background:radial-gradient(ellipse at var(--light-x) var(--light-y),#7994ad25,transparent 62%),linear-gradient(125deg,#253950f2,#132238f5 55%,#1a2d43ee);box-shadow:inset 0 2px 1px #fff3,inset 2px 0 2px #e4ce9b28,inset -2px -2px 3px #0008,0 1px 0 #cfb88a,0 3px 0 #6e6048,0 6px 0 #101b29,0 8px 0 #8f795e55,0 22px 35px -12px #000a,0 46px 95px -20px #000b;animation:birthday-depth-arrive 1.8s cubic-bezier(.16,1,.3,1) both}
#viewerStage.birthday-edition .reveal-panel:before{inset:9px;border-color:#dbc29545;box-shadow:inset 0 1px #ffe2ad10,0 1px #0008;transform:translateZ(2px)}
#viewerStage.birthday-edition .reveal-art{transform-style:preserve-3d}
#viewerStage.birthday-edition .spark-photo{border-color:#efdab0aa;box-shadow:inset 1px 1px 1px #fff8,inset -2px -2px 3px #382d20,1px 2px 0 #a18a65,2px 4px 0 #685a45,3px 7px 0 #17202d,4px 9px 0 #b0997155,0 19px 28px -9px #000b,0 30px 50px -18px #000a;transform:translateZ(18px)!important}
#viewerStage.birthday-edition .photo-reflection{display:block;inset:7px;pointer-events:none;z-index:6;background:linear-gradient(135deg,#fff2,transparent 30%,transparent 70%,#c9e5ff0a);box-shadow:inset 0 0 0 1px #fff2}
#viewerStage.birthday-edition .photo-reflection:after{content:'';position:absolute;inset:-25%;background:linear-gradient(115deg,transparent 33%,#fff1 42%,#fff6 48%,#fff1 54%,transparent 63%);animation:birthday-glass-pass 3.2s ease .45s both;transform:translateX(-110%)}
#viewerStage.birthday-edition .reveal-content{position:relative;transform:translateZ(12px)}
#viewerStage.birthday-edition .reveal-content h2{text-shadow:0 1px 0 #fff1,0 3px 8px #0005}
#viewerStage.birthday-edition .birthday-rule{position:relative;transform:translateZ(8px)}
#viewerStage.birthday-edition .surprise-trigger{filter:drop-shadow(0 13px 8px #0005)}
#viewerStage.birthday-edition .surprise-trigger:focus-visible{outline:2px solid #e6c99a;outline-offset:3px;border-radius:5px}
.birthday-optics{position:absolute;inset:0;pointer-events:none;z-index:8;border-radius:6px;overflow:hidden;transform:translateZ(24px)}
.birthday-light-pass{position:absolute;inset:-30%;background:linear-gradient(115deg,transparent 38%,#fbe4b909 44%,#ffe4ac30 49%,#fff1 50%,transparent 59%);animation:birthday-glass-pass 2.5s ease .15s both;mix-blend-mode:screen}
.birthday-edge-light{position:absolute;inset:0;border:1px solid #fce3af;border-radius:6px;box-shadow:inset 0 0 15px #e1bf6533;animation:birthday-edge-bloom 3.2s ease both}
.birthday-glint{position:absolute;left:var(--px);top:var(--py);width:var(--size);height:var(--size);background:#ffe5b4;box-shadow:0 0 7px #ffe0a7;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);opacity:0;animation:birthday-glint-rise 3.4s ease var(--wait) both}
#viewerStage.birthday-edition .show-bloom{animation:birthday-room-bloom 3.5s ease both;background:radial-gradient(ellipse at 50% 35%,#b7975940,transparent 68%)}
#viewerStage.birthday-edition .show-aurora{opacity:.45;animation-duration:22s}
@keyframes birthday-depth-arrive{0%{opacity:0;transform:translate3d(0,32px,-90px) rotateX(5deg);filter:brightness(.7)}55%{opacity:1;filter:brightness(1.1)}100%{opacity:1;transform:translate3d(0,0,0) rotateX(0);filter:brightness(1)}}
@keyframes birthday-glass-pass{0%{opacity:0;transform:translateX(-100%)}20%{opacity:.75}65%{opacity:.5}100%{opacity:0;transform:translateX(100%)}}
@keyframes birthday-edge-bloom{0%{opacity:0}30%{opacity:.8}65%{opacity:.3}100%{opacity:.12}}
@keyframes birthday-glint-rise{0%{opacity:0;transform:translate(0,16px) scale(.2)}28%{opacity:.85;transform:translate(0,0) scale(1)}60%{opacity:.4}100%{opacity:0;transform:translate(var(--travel),-38px) scale(.1)}}
@keyframes birthday-room-bloom{0%{opacity:0;transform:scale(.85)}35%{opacity:.7}100%{opacity:0;transform:scale(1.12)}}
@media(hover:hover){#viewerStage.birthday-edition .surprise-trigger:hover{filter:drop-shadow(0 16px 10px #0007) brightness(1.08)}}
@media(max-width:800px){#viewerStage.birthday-edition .reveal-panel{box-shadow:inset 0 1px #fff3,0 2px 0 #9b8562,0 5px 0 #101b29,0 7px 0 #8f795e44,0 24px 45px #0007}#viewerStage.birthday-edition .birthday-glint:nth-child(n+17){display:none}}
@media(prefers-reduced-motion:reduce){#viewerStage.birthday-edition .reveal-panel{animation:none!important;transform:none;filter:none}#viewerStage.birthday-edition .birthday-optics,#viewerStage.birthday-edition .photo-reflection:after,#viewerStage.birthday-edition .show-bloom{display:none}#viewerStage.birthday-edition .reveal-content,#viewerStage.birthday-edition .birthday-rule{transform:none}}
/* V55: titles above media, richer colour across the storefront and studio. */
#viewerStage.emotion-show .reveal-art{display:block}
.media-frame-heading{position:relative;width:100%;margin:0 0 22px;padding:0 2px;color:#f3d9aa;text-align:left}
.media-frame-heading span{display:block;font:14px/1.5 'Segoe UI',sans-serif;color:#d4dfef;letter-spacing:.3px;margin:0 0 8px}
.media-frame-heading strong{display:block;font:normal 30px/1.2 Georgia,serif;color:#ffe4b2;overflow-wrap:anywhere;text-shadow:0 2px 12px #0003}
#viewerStage.birthday-edition .media-frame-heading{transform:translateZ(12px)}
:root{--orange:#edbd72;--line:#d8af784a}
body{background:#13294a;color:#fff2e3}
body:before{background-image:linear-gradient(120deg,#102f54 0%,#343064 25%,#672b47 49%,#3e3a60 72%,#12484d 100%);background-size:280% 280%;animation:atelier-colour-flow 24s ease-in-out infinite;opacity:1}
.announcement{background:linear-gradient(100deg,#102842,#36233e);color:#f1d6ac;border-bottom-color:#d7ac7255}
.header{border-bottom-color:#d3b38166}.header nav a{color:#f3e4d5}.header nav a:hover{color:#ffd48b}
.logo{color:#fff0d5}.searchbox{background:#152d46b3;border-color:#c5b09366;color:#f6e7d4}.searchbox input{color:#fff1df}.searchbox input::placeholder{color:#c7d3df}
.hero{background:#e8d8d1;box-shadow:0 16px 44px #07152e50;border:1px solid #e1bd9066}
.hero-copy h1{color:#462446}.hero-copy p{color:#513c50}.hero-copy .overline{color:#853f53}
.hero-actions .button{background:linear-gradient(115deg,#9c4057,#69304c);color:#fff3e6;border-color:#b46b78;box-shadow:0 2px 0 #492337,0 8px 18px #60224030}
.hero-actions .play-button{color:#643248}
.hero-side{box-shadow:0 14px 32px #07152d55}.hero-side-copy h2{color:#fff4e0}
.section-heading h2,.category-header{color:#fff2d8}.section-heading p{color:#d9d4df}
.product-visual{background:linear-gradient(135deg,#f0d1a0,#86634d 48%,#d8ae73);border-color:#e8c69288;box-shadow:0 1px 0 #ffe6bbaa,0 4px 0 #17233a,0 17px 34px -12px #071025aa}
.product .sheet-photo,#stories .category-photo{filter:saturate(1.16) contrast(1.035)}
.product-info h3{color:#fff1df}.product-info small{color:#e6bd88}.product-info .price{color:#ffd999}.product-info .price span{color:#ead7bb}
.product-actions{border-color:#caa97955}.product-actions>span{color:#d3dce6}.product-actions button{color:#f5d199}
.product .badge{background:#3c2846e8;color:#ffe7b9;border-color:#d9b37e66}.product .quick-preview{background:#152d47e8;color:#fff0d5;border-color:#d5b48088}
.more-row .button,.gift-zone .button{background:linear-gradient(110deg,#f0ce91,#d6a461);border-color:#f2d7a6;color:#192b42}
.gift-zone{background:linear-gradient(120deg,#123c4cee,#462740ee);border-color:#dab47e66;box-shadow:inset 0 1px #fff1,0 20px 40px #08142733}
.gift-intro h2,.gift-content h3{color:#ffe8c6}.gift-intro p,.gift-intro>span,.gift-content>span{color:#d9e2e8}
.process-item h3,.process h2{color:#ffedcf}.process-item p,.footer p{color:#d2dae6}.process-item b{color:#edc58a}
.footer{background:linear-gradient(110deg,#0e2843e8,#302139e8);border-color:#bd9c7355}.footer small{color:#c3ccd9}
#editor .editor-main,#editor .editor-footer{background:#fff7ed;color:#352940}
#editor .preview-area{background:linear-gradient(140deg,#dce7f1,#e8d4e5 55%,#f2dfca)}
#editor .field,#editor .check,#editor .summary-line b{color:#423348}
#editor .help,#editor .info,#editor .check small,#editor .step-intro,#editor .demo-note{color:#66566b}
#editor input:not([type=file]):not([type=checkbox]),#editor textarea,#editor select{background:#fffdf8;border-color:#c2aab9;color:#392b3f}
#editor input:focus,#editor textarea:focus,#editor select:focus{outline-color:#906079;border-color:#906079}
#editor .button:not(.outline){background:linear-gradient(115deg,#345775,#493951);color:#fff1d9;border-color:#6f6d87}
#editor .media-options button.active,#editor .effect-options button.active,#editor .steps-nav button.active{color:#74384f;border-color:#a95e74}
#editor .upload-tile{background:linear-gradient(110deg,#fffaf0,#f1e3e7);border-color:#bfa17e;color:#53374c}
#editor .upload-symbol,#editor .upload-action{color:#95612f}
#editor .background-choices button[aria-pressed=true],#editor .background-effects button[aria-pressed=true],#editor .toy-choices button[aria-pressed=true]{background:#f0d8df;border-color:#a85b75;color:#5c2e43;box-shadow:inset 0 0 0 1px #a85b75}
#cabinet .cabinet-main{background:#fff6eb;color:#3f3044}#cabinet .cabinet-main>p,#cabinet .order p,#cabinet .stat span{color:#6c586e}
#cabinet .order,#cabinet .stat{background:#f7e9e6;border-color:#ccb2bc}#cabinet .button{background:#57334f;color:#fff1d9;border-color:#94637f}
[data-bg="midnight"]{--scene-a:#123356;--scene-b:#2b204a;--scene-c:#15454a;--light-a:#3a9b9c88;--light-b:#ba688b77}
[data-bg="plum"]{--scene-a:#4e2548;--scene-b:#302052;--scene-c:#643952;--light-a:#ba6ea088;--light-b:#d3988177}
[data-bg="emerald"]{--scene-a:#10443f;--scene-b:#14382e;--scene-c:#355339;--light-a:#55b69b88;--light-b:#d8b56677}
[data-bg="mocha"]{--scene-a:#50372b;--scene-b:#392738;--scene-c:#684634;--light-a:#d6aa7488;--light-b:#bb788977}
[data-bg="ruby"]{--scene-a:#66273c;--scene-b:#3c203a;--scene-c:#80394a;--light-a:#d2738d88;--light-b:#d9a17a77}
[data-bg="sapphire"]{--scene-a:#173f6c;--scene-b:#252952;--scene-c:#30577a;--light-a:#79ade088;--light-b:#a291d477}
[data-bg="rose"]{--scene-a:#663d51;--scene-b:#422b45;--scene-c:#815363;--light-a:#e2a7b388;--light-b:#cb8cac77}
[data-bg="ocean"]{--scene-a:#135364;--scene-b:#153950;--scene-c:#286b70;--light-a:#6bc1bd88;--light-b:#76a8cf77}
[data-bg="graphite"]{--scene-a:#343e51;--scene-b:#202a3a;--scene-c:#4b4e62;--light-a:#a9b9d088;--light-b:#bd9d8977}
[data-bg="olive"]{--scene-a:#3f502b;--scene-b:#283d2b;--scene-c:#666a39;--light-a:#becb8088;--light-b:#d1b16c77}
[data-bg="copper"]{--scene-a:#633a2e;--scene-b:#442839;--scene-c:#854e35;--light-a:#df9c7088;--light-b:#d7908a77}
[data-bg="lavender"]{--scene-a:#4b3e6d;--scene-b:#332c50;--scene-c:#68537f;--light-a:#b6a1e388;--light-b:#d7a8c177}
#viewerStage.birthday-edition .reveal-panel{background:radial-gradient(ellipse at var(--light-x) var(--light-y),#709bd43d,transparent 62%),linear-gradient(125deg,#234872f2,#1a2d54f5 55%,#353052ee);border-color:#e8bf7d99}
#viewerStage.emotion-show .reveal-content h2{color:#ffe7bd}
#viewerStage.emotion-show .reveal-content .message{color:#f4ecdf}
@keyframes atelier-colour-flow{0%,100%{background-position:0% 35%}50%{background-position:100% 65%}}
@media(max-width:700px){.media-frame-heading{margin-bottom:18px}.media-frame-heading span{font-size:13px}.media-frame-heading strong{font-size:27px}}
@media(prefers-reduced-motion:reduce){body:before{animation:none!important}}

