/* Ambient CG layers. Original artwork and all readable surfaces retain their layout. */
.living-scene{position:absolute;pointer-events:none;user-select:none;contain:layout style}.living-scene *{animation-play-state:paused!important}.living-scene.scene-active *{animation-play-state:running!important}.scenery-paused .living-scene *,.scenery-hidden .living-scene *{animation-play-state:paused!important}.living-scene img{display:block;width:100%;height:auto;max-width:none}
.living-weather{inset:0;z-index:0;overflow:hidden}.volume-cloud{position:absolute;left:-35%;width:420px;animation:volume-cloud-drift 110s linear infinite;opacity:.72}.cloud-near{top:0;animation-delay:-34s}.cloud-middle{top:16%;width:240px;opacity:.5;animation-duration:155s;animation-delay:-98s}.cloud-middle img{transform:scaleX(-1)}.cloud-far{top:26%;width:160px;opacity:.4;animation-duration:195s;animation-delay:-135s}
@keyframes volume-cloud-drift{from{transform:translate3d(-15vw,0,0)}to{transform:translate3d(170vw,-12px,0)}}
.living-meadow{inset:auto 0 0;height:180px;z-index:2;overflow:hidden}.meadow-clump{position:absolute;bottom:-21px;transform-origin:50% 94%;animation:foliage-breeze 6.8s ease-in-out infinite}.meadow-left{left:-50px;width:340px;rotate:-2deg}.meadow-right{right:-70px;width:410px;animation-delay:-2.6s}.meadow-right img{transform:scaleX(-1)}.meadow-mid{left:24%;bottom:-22px;width:185px;opacity:.82;animation-delay:-4.2s}
@keyframes foliage-breeze{0%,100%{transform:skewX(-.8deg) rotate(-1deg)}40%{transform:skewX(1.2deg) rotate(1.8deg)}70%{transform:skewX(-.3deg) rotate(.3deg)}}
.meadow-pollen{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff4c2;box-shadow:0 0 6px #ffedb4;left:calc(9% + var(--i)*20%);bottom:15px;opacity:0;animation:pollen-breeze 11s ease-in-out infinite;animation-delay:calc(var(--i)*-1.9s)}
@keyframes pollen-breeze{0%,100%{transform:translate3d(0,0,0);opacity:0}24%{opacity:.7}78%{transform:translate3d(70px,-100px,0);opacity:0}}
.scenery-toggle{position:absolute;z-index:4;left:max(24px,calc((100% - 1160px)/2));bottom:22px;padding:7px 12px;border:1px solid #a1c2b2;border-radius:20px;background:#fffef2e8;color:#315e63;box-shadow:0 2px 5px #34545015;font-size:.7rem;font-weight:700;line-height:1.6;cursor:pointer}.scenery-toggle:hover{background:#fff4c9}.scenery-toggle:focus-visible{outline:3px solid #1b88c0;outline-offset:4px}.page-intro>.scenery-toggle{left:auto;right:24px;bottom:10px}
.living-night{inset:0}.night-behind{z-index:0}.night-front{z-index:3}.bat-flight{position:absolute;width:70px;height:70px;transform-origin:center}.bat-atlas{position:absolute;inset:0;background:url('motion-bat-v2.png') 0% 0%/300% 200% no-repeat;animation:bat-wingbeat .7s steps(1,end) infinite}.bat-distant{width:50px;height:50px;bottom:92px;left:14%;opacity:.85;animation:bat-distant-flight 17s ease-in-out infinite}.bat-crossing{width:63px;height:63px;bottom:78px;left:26%;animation:bat-courtyard-flight 13s ease-in-out infinite;animation-delay:-4s}.bat-crossing .bat-atlas{animation-delay:-.25s}.bat-near{width:66px;height:66px;top:-29px;left:12%;animation:bat-rooftop-flight 19s ease-in-out infinite;animation-delay:-8s}.bat-near .bat-atlas{animation-delay:-.4s}
@keyframes bat-wingbeat{0%,100%{background-position:0% 0%}16.667%{background-position:50% 0%}33.334%{background-position:100% 0%}50%{background-position:0% 100%}66.667%{background-position:50% 100%}83.334%{background-position:100% 100%}}
@keyframes bat-distant-flight{0%,100%{transform:translate3d(0,10px,0) scale(.8) rotate(-8deg)}30%{transform:translate3d(80px,-25px,0) scale(.68) rotate(5deg)}65%{transform:translate3d(160px,-5px,0) scale(.85) rotate(-4deg)}84%{transform:translate3d(60px,-18px,0) scale(.75) rotate(6deg)}}
@keyframes bat-courtyard-flight{0%,100%{transform:translate3d(-20px,0,0) scaleX(1) rotate(-7deg)}36%{transform:translate3d(115px,-26px,0) scaleX(1) rotate(7deg)}48%{transform:translate3d(150px,-18px,0) scaleX(-1) rotate(-3deg)}80%{transform:translate3d(15px,6px,0) scaleX(-1) rotate(5deg)}}
@keyframes bat-rooftop-flight{0%,100%{transform:translate3d(-30px,5px,0) rotate(-8deg) scale(.78)}30%{transform:translate3d(80px,-11px,0) rotate(5deg) scale(.92)}60%{transform:translate3d(175px,8px,0) rotate(-4deg) scale(1)}80%{transform:translate3d(85px,-16px,0) rotate(6deg) scale(.86)}}
/* Feet and contact shadows stay on the grass-tile surface, not below the diorama. */
.living-duel{--hero-size:114px;--slime-size:76px;--ground:65px;--approach:130px;--departure:300px;left:9%;right:9%;bottom:var(--ground);height:var(--hero-size);z-index:3}.duel-runner{position:absolute;left:2%;bottom:0;width:var(--hero-size);height:var(--hero-size);animation:hero-journey 12s linear infinite}.duel-character{position:absolute;inset:0}.hero-pose{position:absolute;left:0;bottom:-8%;width:100%;height:100%;background-image:url('motion-hero-v2.png');background-size:400% 200%;background-repeat:no-repeat}.hero-walk{animation:hero-walk-frames .8s steps(1,end) infinite,hero-walk-presence 12s steps(1,end) infinite}.hero-attack{opacity:0;animation:hero-attack-frames 12s steps(1,end) infinite}.contact-shadow{position:absolute;bottom:-3px;left:24%;width:49%;height:8px;border-radius:50%;background:radial-gradient(ellipse,#244a3560,transparent 72%);transform:scaleY(.7)}
.duel-monster{position:absolute;left:69%;bottom:0;width:var(--slime-size);height:var(--slime-size)}.slime-pose{position:absolute;inset:0;bottom:-20%;top:20%;background:url('motion-slime-v2.png') 0% 0%/200% 200% no-repeat;transform-origin:50% 80%;animation:slime-frames 12s steps(1,end) infinite,slime-encounter 12s linear infinite}.slime-shadow{animation:slime-shadow-presence 12s linear infinite;left:14%;width:70%}
@keyframes hero-journey{0%,5%{transform:translate3d(0,0,0);opacity:0}8%{opacity:1}34%,54%{transform:translate3d(var(--approach),0,0);opacity:1}85%{transform:translate3d(var(--departure),0,0);opacity:0}86%,100%{transform:translate3d(0,0,0);opacity:0}}
@keyframes hero-walk-frames{0%,100%{background-position:0% 0%}25%{background-position:33.333333% 0%}50%{background-position:66.666667% 0%}75%{background-position:100% 0%}}
@keyframes hero-walk-presence{0%,100%{opacity:1}34%{opacity:0}54%{opacity:1}}
@keyframes hero-attack-frames{0%,100%{opacity:0;background-position:0% 100%}34%{opacity:1;background-position:0% 100%}39%{opacity:1;background-position:33.333333% 100%}44%{opacity:1;background-position:66.666667% 100%}49%{opacity:1;background-position:100% 100%}54%{opacity:0;background-position:100% 100%}}
@keyframes slime-frames{0%,100%{background-position:0% 0%}14%{background-position:100% 0%}18%{background-position:0% 100%}24%{background-position:0% 0%}30%{background-position:100% 0%}34%{background-position:0% 0%}44.5%{background-position:100% 100%}86%{background-position:0% 0%}}
@keyframes slime-encounter{0%,12%,24%,32%,44%{transform:translate3d(0,0,0) scale(1);opacity:1}19%{transform:translate3d(0,-10px,0) scale(1);opacity:1}46%{transform:translate3d(9px,0,0) scale(1.05,.85);opacity:1}53%,85%{transform:translate3d(14px,1px,0) scale(.8,.15);opacity:0}86%{transform:scale(.6);opacity:0}98%,100%{transform:scale(1);opacity:1}}
@keyframes slime-shadow-presence{0%,44%,100%{opacity:1;transform:scale(1)}19%{opacity:.4;transform:scale(.8)}53%,86%{opacity:0;transform:scale(.6)}}
.duel-swordlight{position:absolute;left:65%;bottom:12px;width:46px;height:65px;border-right:3px solid #fff9d8;border-radius:50%;rotate:27deg;filter:drop-shadow(0 0 3px #ffe39f);opacity:0;animation:swordlight 12s ease-out infinite}.duel-impact{position:absolute;left:72%;bottom:22px;width:26px;height:26px;border-radius:50%;background:radial-gradient(circle,#fff9d8, #fbd76c88 25%,transparent 65%);opacity:0;animation:impact-light 12s ease-out infinite}.duel-particle{position:absolute;left:76%;bottom:28px;width:4px;height:4px;border-radius:50%;background:#c4eaa6;box-shadow:0 0 5px #fff4c4;opacity:0;animation:impact-particle 12s ease-out infinite}.particle-b{left:80%;bottom:22px;animation-delay:.07s}.particle-c{left:73%;bottom:36px;animation-delay:.13s}
@keyframes swordlight{0%,43.5%,49%,100%{opacity:0;transform:rotate(-16deg) scale(.6)}45%{opacity:.9;transform:rotate(12deg) scale(1)}47%{opacity:0;transform:rotate(25deg) scale(1.15)}}
@keyframes impact-light{0%,44%,51%,100%{opacity:0;transform:scale(.3)}45%{opacity:1;transform:scale(1.6)}49%{opacity:0;transform:scale(2)}}
@keyframes impact-particle{0%,45%,60%,100%{opacity:0;transform:translate3d(0,0,0) scale(.5)}47%{opacity:1;transform:translate3d(4px,-8px,0) scale(1)}57%{opacity:0;transform:translate3d(20px,-30px,0) scale(.3)}}
@media(max-width:820px){.living-duel{--hero-size:98px;--slime-size:66px;left:7%;right:7%}.bat-near{width:55px;height:55px}.meadow-left{width:290px}.meadow-right{width:340px}}
@media(max-width:620px){.living-duel{--hero-size:96px;--slime-size:64px}.cloud-near{width:300px}.cloud-middle{width:170px}.cloud-far{display:none}.living-meadow{height:130px}.meadow-left{left:-65px;width:250px;bottom:-15px}.meadow-right{right:-85px;width:300px;bottom:-16px}.meadow-mid{display:none}.scenery-toggle{font-size:.65rem;bottom:15px;left:20px}.bat-near{width:51px;height:51px;top:-22px;left:3%}.bat-distant{width:38px;height:38px}.bat-crossing{width:49px;height:49px}.bat-near{animation-name:bat-rooftop-mobile}}
@keyframes bat-rooftop-mobile{0%,100%{transform:translate3d(0,0,0) rotate(-7deg) scale(.8)}40%{transform:translate3d(110px,-14px,0) rotate(6deg) scale(1)}70%{transform:translate3d(190px,7px,0) rotate(-3deg) scale(.85)}}
@media(prefers-reduced-motion:reduce){.living-scene *{animation:none!important}.living-weather,.living-night,.duel-swordlight,.duel-impact,.duel-particle,.meadow-pollen{display:none}.duel-runner{opacity:1;transform:translateX(30px)}.hero-walk{opacity:1;background-position:0% 0%}.hero-attack{display:none}.scenery-toggle{display:none}}
/* Give the actors a little headroom under the card, keeping controls unobstructed. */
.world-nocturne-manor,.world-traveling-hero{padding-bottom:150px}
@media(max-width:820px){.world-nocturne-manor,.world-traveling-hero{padding-bottom:121px}}
@media(max-width:620px){.world-nocturne-manor,.world-traveling-hero{padding-bottom:127px}}
/* Wait for the existing stage entrance to finish before revealing its inhabitants. */
.decorated-world:has(.world-decoration.assembly-piece)>.living-scene,.decorated-world:has(.app-card.assembly-piece)>.living-scene{visibility:hidden}
.decorated-world:has(.world-decoration.assembly-piece)>.living-scene *,.decorated-world:has(.app-card.assembly-piece)>.living-scene *{animation-play-state:paused!important}
/* Four more tiny stories, rendered in the same warm 3D miniature style. */
.living-reward,.living-fishing,.living-treasure,.living-hamster{left:0;right:0;bottom:var(--ground);height:1px;z-index:3}
.reward-vignette{position:absolute;bottom:0;left:50%;width:174px;height:174px;transform:translateX(-50%)}
/* Reuse the existing raster artwork as independently articulated parts. */
.reward-part{position:absolute;inset:10% 0 -10%;background:url('motion-reward-hero-v1.png') 0 0/300% 200% no-repeat;will-change:transform,opacity;transform-origin:36% 91%}
.reward-hero-idle{clip-path:polygon(0 0,64% 0,64% 58%,57.5% 58%,57.5% 100%,0 100%)}
.reward-hero-proud{background-position:50% 100%;clip-path:polygon(0 0,82% 0,82% 49%,64% 49%,64% 100%,0 100%);opacity:0}
.reward-chest-closed{clip-path:inset(58% 2% 6% 58%)}
.reward-chest-base{background-position:50% 100%;clip-path:inset(70% 2% 5% 62%);opacity:0}
.reward-lid-hinge{position:absolute;inset:10% 0 -10%;transform-origin:65% 72%;will-change:transform,opacity;opacity:0}
.reward-lid-hinge>.reward-chest-lid{inset:0;background-position:50% 100%;clip-path:polygon(66% 49%,96% 49%,96% 70%,63% 72%)}
.reward-helmet{background-position:50% 100%;clip-path:inset(0 20% 69% 50%);transform-origin:65% 20%;opacity:0}
.reward-glint,.treasure-glint{position:absolute;width:14px;height:14px;background:linear-gradient(90deg,transparent 43%,#fffbdc 50%,transparent 57%),linear-gradient(transparent 43%,#fffbdc 50%,transparent 57%);filter:drop-shadow(0 0 3px #ffeaae);opacity:0}
.reward-glint{left:58%;bottom:78%}
@keyframes reward-glint{0%,55%,62%,100%{opacity:0;transform:scale(.2) rotate(0)}58%{opacity:1;transform:scale(1) rotate(30deg)}}
.fishing-vignette{position:absolute;left:50%;bottom:0;width:166px;height:166px;transform:translateX(-50%)}
.fishing-part{position:absolute;inset:12% 0 -12%;background:url('motion-fishing-bird-v1.png') 0 0/300% 200% no-repeat;will-change:transform,opacity}
.fishing-dock{clip-path:polygon(0 50%,22% 50%,22% 63%,67% 60%,67% 92%,0 92%)}
.fishing-bird{clip-path:polygon(0 0,63% 0,63% 34%,52% 43%,48% 57%,59% 60%,60% 65%,23% 65%,23% 50%,0 50%);transform-origin:40% 64%}
.fishing-bobber{clip-path:inset(72% 9% 16% 80%)}
.fishing-catch{background-position:50% 100%;clip-path:inset(21% 4% 45% 72%);transform-origin:79% 26%;opacity:0}
.fishing-tackle{position:absolute;inset:12% 0 -12%;width:100%;height:100%;overflow:visible;fill:none;stroke-linecap:round}
.fishing-rod{stroke:#78502b;stroke-width:6}.fishing-rod-shine{stroke:#d8ac62;stroke-width:2}.fishing-line{stroke:#f7f0d9;stroke-width:1.6}
.fishing-ripple{position:absolute;left:calc(50% + 57px);bottom:0;width:30px;height:8px;border:1px solid #d7ffffb8;border-radius:50%;opacity:0;animation:fishing-ripple 5.5s ease-out infinite}.ripple-two{animation-delay:1.5s}
@keyframes fishing-ripple{0%{opacity:0;transform:scale(.3)}12%{opacity:.7}100%{opacity:0;transform:scale(1.6)}}
.living-treasure{z-index:0}.coin-flight{position:absolute;left:11%;bottom:var(--coin-rise);width:29px;height:29px;opacity:0;animation:treasure-arc 13s linear infinite;animation-delay:calc(var(--n)*.36s)}
.coin-atlas{position:absolute;inset:0;background:url('motion-treasure-coin-v1.png') 0 0/200% 200% no-repeat;animation:coin-spin .64s steps(1,end) infinite;animation-delay:calc(var(--n)*-.12s)}
@keyframes coin-spin{0%,100%{background-position:0% 0%}25%{background-position:100% 0%}50%{background-position:0% 100%}75%{background-position:100% 100%}}
@keyframes treasure-arc{0%,12%{opacity:0;transform:translate3d(0,0,0) scale(.6)}14%{opacity:1;transform:translate3d(0,0,0) scale(.6)}20%{opacity:1;transform:translate3d(calc(var(--coin-travel)*.25),-50px,0) scale(1)}26%{opacity:1;transform:translate3d(calc(var(--coin-travel)*.6),-44px,0) scale(1)}33%{opacity:1;transform:translate3d(calc(var(--coin-travel) + var(--spread)),calc(var(--coin-rise) + 4px - var(--n)*3px),0) scale(.85)}36%{transform:translate3d(calc(var(--coin-travel) + var(--spread) + 3px),calc(var(--coin-rise) - 10px - var(--n)*3px),0) scale(.85)}40%,78%{opacity:1;transform:translate3d(calc(var(--coin-travel) + var(--spread) + 5px),calc(var(--coin-rise) + 4px - var(--n)*3px),0) scale(.85)}87%,100%{opacity:0;transform:translate3d(calc(var(--coin-travel) + var(--spread) + 5px),calc(var(--coin-rise) + 4px - var(--n)*3px),0) scale(.85)}}
.glint-ruby{left:87%;bottom:26px;animation:gem-glint 7s ease-in-out infinite}.glint-sapphire{left:77%;bottom:7px;animation:gem-glint 9s 2s ease-in-out infinite}
@keyframes gem-glint{0%,55%,68%,100%{opacity:0;transform:scale(.2) rotate(0)}61%{opacity:.85;transform:scale(.9) rotate(45deg)}}
.living-hamster{z-index:0}.hamster-route{position:absolute;left:66%;bottom:0;width:102px;height:102px;animation:hamster-journey 19s linear infinite}.hamster-atlas{position:absolute;inset:10% 0 -10%;background:url('motion-hamster-v1.png') 0 0/400% 200% no-repeat}
.hamster-walking{animation:hamster-walk .8s steps(1,end) infinite,hamster-walk-visible 19s steps(1,end) infinite}.hamster-discovery{opacity:0;animation:hamster-discover 19s steps(1,end) infinite}.hamster-carrying{opacity:0;animation:hamster-carry .7s steps(1,end) infinite,hamster-carry-visible 19s steps(1,end) infinite}
.hamster-key{position:absolute;left:46.5%;bottom:-2px;width:38px!important;rotate:-12deg;animation:hamster-key-visible 19s steps(1,end) infinite}
@keyframes hamster-walk{0%,100%{background-position:0% 0%}25%{background-position:33.333333% 0%}50%{background-position:66.666667% 0%}75%{background-position:100% 0%}}
@keyframes hamster-walk-visible{0%,100%{opacity:1}30%{opacity:0}}
@keyframes hamster-discover{0%,100%{opacity:0;background-position:0% 100%}30%{opacity:1;background-position:0% 100%}41%{opacity:1;background-position:33.333333% 100%}50%{opacity:0;background-position:33.333333% 100%}}
@keyframes hamster-carry{0%,100%{background-position:66.666667% 100%}50%{background-position:100% 100%}}
@keyframes hamster-carry-visible{0%,100%{opacity:0}50%{opacity:1}86%{opacity:0}}
@keyframes hamster-key-visible{0%,100%{opacity:1}30%{opacity:0}94%{opacity:1}}
@keyframes hamster-journey{0%,5%{opacity:0;transform:translateX(0)}9%{opacity:1;transform:translateX(0)}30%,50%{opacity:1;transform:translateX(calc(var(--trail)*-.4))}82%{opacity:1;transform:translateX(calc(var(--trail)*-1.15))}86%,100%{opacity:0;transform:translateX(calc(var(--trail)*-1.15))}}
.world-hero,.world-fishing,.world-coin,.world-hamham{padding-bottom:170px}
@media(max-width:820px){.world-hero,.world-fishing,.world-coin,.world-hamham{padding-bottom:142px}.reward-vignette{width:153px;height:153px}.fishing-vignette{width:150px;height:150px}.hamster-route{width:91px;height:91px}}
@media(max-width:620px){.world-hero,.world-fishing,.world-coin,.world-hamham{padding-bottom:150px}.reward-vignette{width:155px;height:155px}.fishing-vignette{width:151px;height:151px}.hamster-route{width:91px;height:91px}}
@media(prefers-reduced-motion:reduce){.reward-glint,.treasure-glint,.fishing-ripple,.coin-flight{display:none}.reward-glint{opacity:0!important}.hamster-route{opacity:1;transform:translateX(-30px)}.hamster-walking{opacity:1;background-position:0% 0%}.hamster-discovery,.hamster-carrying{display:none}.hamster-key{opacity:1}}
/* Taller vignettes need clear space between the controls and their footline. */
.world-hero{padding-bottom:230px}.world-fishing{padding-bottom:200px}
@media(max-width:820px){.world-hero{padding-bottom:200px}.world-fishing{padding-bottom:177px}}
@media(max-width:620px){.world-hero{padding-bottom:205px}.world-fishing{padding-bottom:181px}}

/* Two bats stay around the lower courtyard, with the third above the card.
   All retain the front layer so their paths can cross the card's edge. */
@media(max-width:620px){.fishing-ripple{left:calc(50% + 52px)}}
/* The Coin Quest icon fairy, with independently moving translucent wings. */
.living-coin-fairy{position:absolute;left:0;right:0;bottom:var(--ground);height:1px;z-index:3;--fairy-width:44px;--fairy-height:66px}
.fairy-flight{position:absolute;left:9%;bottom:10px;width:var(--fairy-width);height:var(--fairy-height);animation:coin-fairy-flight 19s cubic-bezier(.45,0,.55,1) infinite;will-change:transform}
.fairy-hover{position:absolute;inset:0;animation:coin-fairy-hover 2.8s ease-in-out infinite;transform-origin:50% 48%}
.fairy-body{position:absolute;inset:0;z-index:1;width:100%;height:100%!important;object-fit:contain}
.fairy-wing{position:absolute;top:-17%;width:160%;height:106.666667%;transform-origin:50% 55.7%;will-change:transform}
.fairy-wing-art{width:100%;height:100%!important;object-fit:contain;clip-path:inset(0 0 25%)}
.fairy-wing-left{left:-11%;clip-path:inset(0 50% 0 0);animation:coin-fairy-wing-left .36s ease-in-out infinite;transform-origin:40% 55.7%}
.fairy-wing-right{left:-43%;clip-path:inset(0 0 0 50%);animation:coin-fairy-wing-right .36s ease-in-out infinite;transform-origin:60% 55.7%}
@keyframes coin-fairy-flight{0%,100%{transform:translate3d(0,0,0) rotate(-3deg)}24%{transform:translate3d(calc(var(--fairy-travel)*.35),-18px,0) rotate(2deg)}52%{transform:translate3d(var(--fairy-travel),-4px,0) rotate(4deg)}77%{transform:translate3d(calc(var(--fairy-travel)*.55),-22px,0) rotate(-3deg)}}
@keyframes coin-fairy-hover{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-4px) rotate(1deg)}}
@keyframes coin-fairy-wing-left{0%,100%{transform:perspective(250px) rotateY(-6deg) rotate(-3deg)}50%{transform:perspective(250px) rotateY(62deg) rotate(4deg)}}
@keyframes coin-fairy-wing-right{0%,100%{transform:perspective(250px) rotateY(6deg) rotate(3deg)}50%{transform:perspective(250px) rotateY(-62deg) rotate(-4deg)}}
.fairy-dust{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff1ac;box-shadow:0 0 4px #e4b85088;left:43%;top:73%;opacity:0;animation:coin-fairy-dust 3.2s ease-out infinite}.dust-two{left:54%;top:80%;animation-delay:-1.1s}.dust-three{left:36%;top:88%;width:2px;height:2px;animation-delay:-2.2s}
@keyframes coin-fairy-dust{0%,100%{opacity:0;transform:translate3d(0,0,0) scale(.5)}15%{opacity:.8}90%{opacity:0;transform:translate3d(-14px,22px,0) scale(.25)}}
@media(max-width:820px){.living-coin-fairy{--fairy-width:42px;--fairy-height:63px}}
@media(max-width:620px){.living-coin-fairy{--fairy-width:40px;--fairy-height:60px}.fairy-flight{bottom:6px}}
@media(prefers-reduced-motion:reduce){.fairy-dust{display:none}.fairy-flight{transform:translateX(40px)}.fairy-wing-left{transform:rotate(-3deg)}.fairy-wing-right{transform:rotate(3deg)}}

/* Preserve the original chest and coin cluster at the exact same stage coordinates. */
.coin-chest-preserved{clip-path:polygon(2% 65%,3.5% 62.8%,8% 61.6%,10.5% 60.5%,14.5% 61%,16.5% 62%,17.5% 64%,16.2% 70.5%,18.1% 72.3%,19.8% 74.5%,19.8% 77%,21.2% 76.8%,23% 76.3%,25.1% 78.2%,26% 81%,25.2% 85.3%,23% 87%,10.5% 88%,8.5% 85%,2.2% 85%,0% 83%,0% 79%,2% 77%,3.3% 75%,2.1% 71%,2.1% 68%)}
