/* A full-viewport garden remains visible for the entire scrolling home page. */
body[data-game-page=home]{background:#123365 url('img/garden-v268/desktop.webp') center/cover no-repeat fixed!important}
body[data-game-page=home]::before{content:'';position:fixed;inset:0;pointer-events:none;background:linear-gradient(#07163412,#07163430),url('img/garden-v268/desktop.webp') center/cover no-repeat;z-index:0}
body[data-game-page=home] main.stage{background:transparent!important;z-index:1}
body[data-game-page=home] main.stage>.bg,body[data-game-page=home] main.stage>.grid{display:none!important}
body[data-game-page=home] .opening-scroll267{width:fit-content;max-width:95%;padding:12px 24px;border:1px solid #f3db8999;border-radius:30px;background:#071a39d9;box-shadow:0 0 18px #35e9ff30}
.garden-life268{position:fixed;inset:0;overflow:hidden;pointer-events:none!important;z-index:2;contain:strict}
.garden-life268 .creature235{width:clamp(22px,2.7vw,42px);height:32px;animation:garden-flight268 calc(13s + var(--i)*1.7s) ease-in-out infinite alternate;opacity:.85}
.garden-life268 .garden-light268{position:absolute;width:4px;height:4px;border-radius:50%;background:#ffe77c;box-shadow:0 0 9px 3px #ffdd6266;animation:garden-glow268 calc(3s + var(--i)*.13s) ease-in-out infinite alternate}
.garden-life268 .garden-petal268{position:absolute;width:7px;height:12px;border-radius:80% 5% 80% 5%;background:linear-gradient(135deg,#e7a4ff,#b14eec);opacity:.6;animation:garden-petal268 calc(16s + var(--i)*1.5s) linear infinite;animation-delay:calc(var(--i)*-2s)}
@keyframes garden-flight268{0%{transform:translate(-20px,15px) rotate(-12deg)}50%{transform:translate(45px,-32px) rotate(8deg)}100%{transform:translate(-12px,-80px) rotate(-6deg)}}
@keyframes garden-glow268{from{opacity:.12;transform:translate(0,8px)}to{opacity:.9;transform:translate(15px,-25px)}}
@keyframes garden-petal268{from{transform:translate(0,-20vh) rotate(0)}to{transform:translate(9vw,115vh) rotate(500deg)}}
body.garden-paused268 .garden-life268 *,body.garden-paused268 .wildlife235 *{animation-play-state:paused!important}
@media(max-aspect-ratio:1/1){body[data-game-page=home]{background-image:url('img/garden-v268/phone.webp')!important}body[data-game-page=home]::before{background-image:linear-gradient(#0716340a,#07163425),url('img/garden-v268/phone.webp')}.garden-life268 .creature235:nth-child(n+9){display:none}.garden-life268 .garden-light268:nth-of-type(n+27){display:none}}
@media(prefers-reduced-motion:reduce){.garden-life268 *{animation:none!important}.garden-life268 .garden-petal268{display:none}}
/* The living city stays fixed while every menu scrolls above it. */
body[data-game-page=home]>.garden-video268{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:0;pointer-events:none}
body[data-game-page=home] .opening267{background:transparent!important}
body[data-game-page=home] .opening267::before{background:linear-gradient(#03162c1a,transparent 40%,#03162c22)}
