.scene{animation:scene-unfold .75s cubic-bezier(.2,.7,.2,1) both}.chapter-head h1{animation:scene-unfold .9s .1s both}.chapter-head>p{animation:scene-unfold .9s .2s both}.reward:not([hidden]){animation:reward-bloom .9s both}.story-page{animation:scene-unfold .7s both;animation-delay:calc(var(--order,0)*70ms)}.polaroid img{transition:scale 1.2s}.polaroid:hover img{scale:1.025}.name-star.star-touched>span{animation:star-kiss 1s both}.constellation .thread-spark{fill:none;stroke:#fff6eb;stroke-width:.38;stroke-dasharray:.025 .975;stroke-dashoffset:1;opacity:0;filter:drop-shadow(0 0 2px #ffd7ec)}.constellation.celebrate .thread-spark{animation:silk-travel 2.8s ease both;animation-delay:calc(var(--thread-order,0)*.3s)}.constellation.celebrate{animation:sky-bloom 3.5s ease both}.constellation.celebrate .name-star>span{animation:star-kiss 1.4s both;animation-delay:calc(var(--star-order,0)*.2s)}.sky-dust{position:absolute;left:var(--dust-x);top:var(--dust-y);width:3px;height:3px;background:#fff1e5;border-radius:50%;box-shadow:0 0 9px #ffbddb;opacity:0;pointer-events:none}.constellation.celebrate .sky-dust{animation:dust-rise 3.2s ease-out both;animation-delay:var(--dust-delay)}.sky-signature{position:absolute;left:0;right:0;top:46%;text-align:center;pointer-events:none;font:30px var(--hand);color:#f4d6e4;opacity:0;letter-spacing:2px}.constellation.complete .sky-signature{opacity:.8}.constellation.celebrate .sky-signature{animation:signature-appear 1.6s 1.5s both}.sky-replay{display:block;margin:12px auto 0;background:transparent;border:1px solid #c6a0bb55;color:#e4c3d5;border-radius:30px;padding:10px 18px;font-size:11px;min-height:44px}.sky-replay[hidden]{display:none}.expedition.mine-impact .mine-map-wrap{animation:pick-impact .22s ease-out}.expedition.mine-blast .mine-grid{animation:mine-flash .55s ease-out}.expedition.mine-found .mine-dashboard{animation:ore-found .6s ease-out}.mine-particle{position:absolute;left:var(--px);top:var(--py);pointer-events:none;color:#ffdbb5;font:20px Georgia;z-index:5;animation:ore-rise .8s ease-out forwards}.mine-map-wrap{position:relative}.rail-track>span:first-child{display:inline-block}.rail-sending .rail-track>span:first-child{animation:cart-leave 1.7s cubic-bezier(.4,0,.7,1) both}.envelope[open]>p{animation:scene-unfold .65s both}.memory-card.matched{animation:pair-found .6s ease both}.puzzle-piece.correct{animation:pair-found .6s ease both}
@keyframes scene-unfold{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}@keyframes reward-bloom{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:none}}@keyframes star-kiss{0%{scale:1}35%{scale:1.4}100%{scale:1}}@keyframes silk-travel{0%{stroke-dashoffset:1;opacity:0}15%{opacity:1}85%{opacity:1}100%{stroke-dashoffset:0;opacity:0}}@keyframes sky-bloom{0%,100%{box-shadow:0 0 0 transparent}45%{box-shadow:0 0 95px #d6a4d32f,inset 0 0 70px #d6a4d319}}@keyframes dust-rise{0%{opacity:0;transform:translateY(10px) scale(.4)}25%{opacity:.9}100%{opacity:0;transform:translateY(-45px) scale(.2)}}@keyframes signature-appear{from{opacity:0;filter:blur(5px);transform:translateY(5px)}to{opacity:.8;filter:blur(0);transform:none}}@keyframes pick-impact{35%{transform:translateY(2px)}70%{transform:translateY(-1px)}}@keyframes mine-flash{35%{box-shadow:inset 0 0 70px #f6b6d55e,0 0 30px #f6b6d52e}}@keyframes ore-found{40%{color:#ffe4af;filter:drop-shadow(0 0 5px #efb9cc)}}@keyframes ore-rise{to{transform:translateY(-45px) rotate(25deg);opacity:0}}@keyframes cart-leave{to{transform:translateX(250px);opacity:0}}@keyframes pair-found{40%{filter:brightness(1.13)}}
@media(max-width:720px){.sky-signature{font-size:27px}.constellation.celebrate{animation-duration:2.6s}}
@media(prefers-reduced-motion:reduce){.scene,.chapter-head h1,.chapter-head>p,.reward:not([hidden]),.story-page,.name-star.star-touched>span,.constellation.celebrate,.constellation.celebrate .name-star>span,.constellation.celebrate .thread-spark,.constellation.celebrate .sky-dust,.expedition.mine-impact .mine-map-wrap,.expedition.mine-blast .mine-grid,.expedition.mine-found .mine-dashboard,.envelope[open]>p,.memory-card.matched,.puzzle-piece.correct,.rail-sending .rail-track>span:first-child{animation:none}.constellation.celebrate .sky-signature{animation:none;opacity:.8}.mine-particle{display:none}.polaroid img{transition:none}}
