/* Five stories, one clear destination: the original portrait and a personal note. */
.occasion-tabs button[data-group="unbound"]{background:#ede6d9;color:#745932;border-color:#cdbc9e}
.occasion-tabs button[data-group="unbound"].selected{background:#1c2c44;border-color:#1c2c44;color:#fff0d7}
.stage[data-engine="story"] .paper-grain{opacity:.025}
.stage[data-engine="story"] .gift-heading{top:77px;text-shadow:0 2px 14px #0002}
.stage[data-engine="story"] .gift-heading h2{font-size:41px}
.stage[data-engine="story"][data-state="playing"] .gift-heading{opacity:.24}
.stage[data-engine="story"][data-state="revealed"] .gift-heading{top:74px;opacity:1}
.stage[data-engine="story"][data-state="revealed"] .gift-heading h2{font-size:27px;letter-spacing:-.7px}
.stage[data-engine="story"] .greeting-keepsake{width:310px;top:55%;--final-rotation:0deg;box-shadow:0 25px 60px #0005,0 1px 0 #ffffff23}
.stage[data-engine="story"][data-state="revealed"] .greeting-keepsake{animation:story-card-arrive .9s cubic-bezier(.18,1,.3,1) both}
.stage[data-engine="story"] .gift-actions{bottom:29px}
.stage[data-engine="story"] .result-links .replay-button{font-size:12px;min-height:24px}
.stage[data-engine="story"] .result-links{gap:13px;margin-top:10px}
.stage[data-engine="story"][data-dark="true"] .stage-topline{filter:drop-shadow(0 1px 5px #0005)}
.stage[data-engine="story"][data-dark="true"] .gift-actions{filter:drop-shadow(0 1px 6px #0004)}
.stage[data-engine="story"][data-theme="dreamtrain"] .gift-heading{text-shadow:0 1px 12px #fff8}
.stage[data-engine="story"][data-theme="dreamtrain"] .greeting-keepsake{box-shadow:0 25px 60px #52364635,0 1px 0 #ffffff77}
.phone-mode .stage[data-engine="story"] .greeting-keepsake{width:284px;top:55%}
.phone-mode .stage[data-engine="story"] .gift-heading h2{font-size:34px}
.phone-mode .stage[data-engine="story"][data-state="revealed"] .gift-heading h2{font-size:25px}
.immersive .stage[data-engine="story"] .greeting-keepsake{width:clamp(284px,39svh,410px);top:54%}
.immersive .stage[data-engine="story"][data-state="revealed"] .gift-heading{top:8%}
@keyframes story-card-arrive{from{opacity:0;transform:translate(-50%,-49%) scale(.96)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(min-width:1500px){.stage[data-engine="story"] .greeting-keepsake{width:326px}.stage[data-engine="story"][data-state="revealed"] .gift-heading h2{font-size:29px}}
@media(max-width:1150px) and (min-width:761px){.stage[data-engine="story"] .greeting-keepsake{width:288px}.stage[data-engine="story"] .gift-heading h2{font-size:36px}.stage[data-engine="story"][data-state="revealed"] .gift-heading h2{font-size:26px}}
@media(max-width:760px){.stage[data-engine="story"] .greeting-keepsake{width:min(282px,82%);top:55%}.stage[data-engine="story"] .gift-heading{top:77px}.stage[data-engine="story"] .gift-heading h2{font-size:34px}.stage[data-engine="story"][data-state="revealed"] .gift-heading h2{font-size:24px}.immersive .stage[data-engine="story"] .greeting-keepsake{width:min(79vw,38svh)}}
@media(prefers-reduced-motion:reduce){.stage[data-engine="story"][data-state="revealed"] .greeting-keepsake{animation:none!important;opacity:1;transform:translate(-50%,-50%)}}
