/* Layered scenery stays behind every game control and the open central lane. */
.scenic-backdrop{position:absolute;inset:0;width:100%;height:100%;z-index:2;opacity:.68;pointer-events:none;overflow:hidden}
.scenic-flow{animation:scenic-stream 3s linear infinite}
.scenic-flow.upstream{animation-direction:reverse}
@keyframes scenic-stream{to{transform:translateY(15px)}}
.scenic-flower{transform-origin:0 0;animation:distant-flower-sway 12s ease-in-out infinite alternate}
@keyframes distant-flower-sway{from{rotate:-2deg}to{rotate:2deg}}
.backdrop-night .backdrop-island,.backdrop-dream .backdrop-island{animation:distant-island-float 11s ease-in-out infinite alternate}
@keyframes distant-island-float{from{translate:0 0}to{translate:0 -4px}}
.backdrop-dream .sky-arch{animation:arch-shimmer 9s ease-in-out infinite alternate}
@keyframes arch-shimmer{from{opacity:.5}to{opacity:.9}}
.inverted-mushroom{animation:arch-shimmer 12s ease-in-out infinite alternate}
.world[data-world=mist] .platform-earth{background:#355f59;box-shadow:inset 0 5px #7f9d7c;border-bottom-color:#214f4e}
.world[data-world=night] .platform-earth{background:linear-gradient(110deg,#6d5a83,#373752 60%,#9678a0);box-shadow:inset 0 4px #b295b8;border-bottom-color:#4a425f}
.world[data-world=night] .platform::after{content:'';position:absolute;left:21%;top:32px;width:4px;height:4px;background:#d8b3e7;box-shadow:29px 4px #bd9cdc,67px -1px #e0b4d5;animation:loose-pebbles 7s ease-in-out infinite alternate}
@keyframes loose-pebbles{from{translate:0 0;opacity:.4}to{translate:4px -5px;opacity:.85}}
.world[data-world=dream] .platform-earth{background:linear-gradient(115deg,#ecd4e6 0 24%,#abcde2 24% 46%,#d9c7eb 46% 72%,#ebd4a0 72%);box-shadow:inset 0 4px #fff0ee;border-bottom-color:#a3a6ca}
.world[data-world=dream] .platform::after{content:'';position:absolute;left:31%;top:30px;width:3px;height:15px;background:#efc8df;box-shadow:7px 2px #dfdba9,14px -1px #badfd6,21px 3px #becfe9;opacity:.7;animation:prism-fall 5s ease-in-out infinite alternate}
@keyframes prism-fall{from{scale:1 .7;opacity:.4}to{scale:1 1.1;opacity:.75}}
/* The welcome screen is the Garden, with real, keyboard-accessible toys. */
.home-garden-backdrop{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.home-garden-sky{position:absolute;inset:0;background:linear-gradient(#b9d9c9,#e2e7bd 65%,#94b17f);overflow:hidden}
.home-garden-sky .scenic-backdrop{opacity:.7}
.home-garden-sky .world-details{opacity:.6}
.home-garden-sky .ambient-nature{--biome-accent:#d6b6b0;opacity:.7}
body.playing .home-garden-backdrop{display:none}
body:not(.playing){background:#bfd9c4}
body:not(.playing) #lobby{z-index:2}
body:not(.playing) .hero-copy h1{color:#173e30;text-shadow:2px 2px #f0efd166}
body:not(.playing) .hero-copy .game-tagline{color:#315c43}
body:not(.playing) .hero-copy p.quick-rules{color:#3f6549}
body:not(.playing) .custom-mission-open{color:#264f3b}
body:not(.playing) .challenge-caption{color:#315741}
body:not(.playing) footer{position:relative;z-index:2;color:#365b42}
.home-orbit{width:min(560px,100%)}
.home-planet{left:50%;width:clamp(150px,14vw,220px);transform:translateX(-50%)}
.home-pet{position:absolute;left:50%;bottom:calc(100% - 2px);width:var(--home-figure-width);height:calc(var(--home-figure-width) * .625);transform:translateX(-50%);z-index:5;min-height:44px;border:0;padding:0;background:transparent;cursor:pointer}
.garden-toy{position:absolute;border:0;background:transparent;box-shadow:none;padding:0;cursor:pointer;min-width:44px;min-height:44px;z-index:4}
.garden-toy svg{display:block;width:100%;height:100%;overflow:visible;image-rendering:pixelated;transition:translate .2s ease}
.garden-toy:hover svg,.garden-toy:focus-visible svg{translate:0 -3px}
.toy-snail{left:1%;bottom:16px;width:100px;height:54px}
.toy-mushroom{right:1%;bottom:-8px;width:92px;height:82px}
.toy-frog{right:20%;bottom:4px;width:64px;height:56px}
.home-pet:focus-visible,.garden-toy:focus-visible{outline:3px solid #315741;outline-offset:4px}
.toy-mushroom .mushroom-door-panel{transform-origin:40px 60px;transition:transform .4s ease}
.toy-mushroom .mushroom-doorway{transition:fill .4s ease}
.toy-mushroom[data-open=true] .mushroom-door-panel{transform:scaleX(.12)}
.toy-mushroom[data-open=true] .mushroom-doorway{fill:#ffe5a2}
@media(max-width:600px){
 .scenic-backdrop{opacity:.48}
 .home-garden-sky .scenic-backdrop{opacity:.45}
 .home-garden-sky .world-details{display:none}
 .toy-snail{left:0;width:68px;height:44px;bottom:13px}
 .toy-mushroom{right:0;width:68px;height:64px;bottom:-3px}
 .toy-frog{right:20%;width:50px;height:44px;bottom:2px}
}
body[data-keyboard-open=true] .scenic-backdrop{opacity:.3}
@media(prefers-reduced-motion:reduce){
 .scenic-backdrop *,.platform::after{animation:none!important}
 .garden-toy svg,.toy-mushroom *{transition:none!important}
}
