/* The full scroll is ready before entry. Native scrolling moves shared image panels. */
#landscape{background:linear-gradient(#d8eaf0,#faf6e5 62%,#afc590);contain:paint;z-index:0;right:auto;bottom:auto}
.landscape-panel,.field-image{position:absolute;display:block;max-width:none;pointer-events:none;user-select:none;-webkit-user-drag:none}
.landscape-panel{top:0;object-fit:fill}
.field-image{object-fit:fill}
.field-moving,.field-atlas,.field-seedling-rows,.field-cut-soil{position:absolute;pointer-events:none}
.field-atlas{background-repeat:no-repeat}
.field-rope{position:absolute;overflow:visible;pointer-events:none}
.field-bank{mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent)}
.field-cut-soil{overflow:hidden;mask-image:linear-gradient(transparent,#000 12%,#000 85%,transparent),linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-composite:intersect;-webkit-mask-composite:source-in}
#world :is(.land-machine-hotspot,.transplant-machine-hotspot,.pollination-cart-hotspot,.harvest-machine-hotspot)>.field-image{position:absolute;inset:0;width:100%;height:100%}
body.overview :is(.field-moving,.field-atlas,.field-seedling-rows,.field-cut-soil){display:none}

/* A watercolor germinating grain marks the greenhouse's research story. */
.nursery-seed-bubble{position:absolute;z-index:3;transform:translate(-50%,-100%)}
.nursery-seed-trigger{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1;padding:8%;border:1px solid #c3a76a;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fffdf1,#f4e6bd);box-shadow:inset 0 0 0 4px #fff8e1,0 0 0 3px #c3a76a20,0 6px 20px #64512a26;isolation:isolate;touch-action:manipulation;transition:box-shadow .25s,border-color .25s}
.nursery-seed-trigger:after{content:'';position:absolute;left:50%;top:100%;width:var(--bubble-tail,12px);height:var(--bubble-tail,12px);background:#f4e6bd;border-right:1px solid #c3a76a;border-bottom:1px solid #c3a76a;transform:translate(-50%,-50%) rotate(45deg);z-index:-1}
.nursery-seed-trigger:hover,.nursery-seed-trigger[aria-expanded=true]{border-color:#8e702f;box-shadow:inset 0 0 0 4px #fff8e1,0 0 0 5px #c3a76a2b,0 6px 24px #bd8c3b38}
.nursery-seed-trigger:focus-visible{outline:2px solid #997128;outline-offset:5px}
.nursery-seed-art{display:grid;place-items:center;width:100%;animation:nursery-seed-sway 3.6s ease-in-out infinite;transform-origin:50% 75%}
.nursery-seed-art img{display:block;width:100%;height:auto;filter:drop-shadow(0 2px 2px #77502326);pointer-events:none;user-select:none;-webkit-user-drag:none}
.nursery-seed-bubble.is-visible .nursery-seed-trigger{animation:field-bubble-appear .45s ease-out both}
.nursery-seed-bubble[hidden],.nursery-intro-panel[hidden]{display:none}
@keyframes nursery-seed-sway{0%,100%{transform:rotate(-4deg) translateY(0)}50%{transform:rotate(4deg) translateY(-2px)}}
/* Familiar scroll illustrations carry the story; labels only identify the facts. */
.nursery-intro-panel{position:fixed;left:var(--intro-left,50%);top:var(--intro-top,50%);width:var(--intro-width,860px);max-height:var(--intro-height,650px);z-index:7;display:flex;flex-direction:column;transform:translate(-50%,-50%);padding:27px 36px 20px;max-width:calc(100% - 32px);overflow:hidden;border:0;border-radius:3px 7px 4px 5px;background:#faf5e6;box-shadow:0 2px 3px #3a452112,0 16px 48px #29452f30,0 0 0 9999px #163a3029;animation:nursery-intro-appear .55s ease-out;outline:none;isolation:isolate}
.nursery-intro-panel:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:radial-gradient(ellipse at 0% 100%,#b4bc8e20,transparent 58%),repeating-linear-gradient(12deg,#94734303 0 1px,transparent 1px 4px),repeating-linear-gradient(103deg,#94734303 0 1px,transparent 1px 6px);pointer-events:none}
.nursery-intro-panel:after{content:'';position:absolute;inset:62% 0 0;z-index:-1;border-radius:inherit;background:var(--media-f2e57553fc) center 72%/cover no-repeat;opacity:.09;mask-image:linear-gradient(transparent,#000);pointer-events:none}
.nursery-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.nursery-period{flex:none;margin:15px 0 0;text-align:center;font:12px/1.4 Georgia,'PingFang SC',sans-serif;letter-spacing:.06em;color:#929279}
.nursery-intro-close{position:absolute;top:5px;right:8px;z-index:2;display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#6b775b;font:300 30px/1 sans-serif;touch-action:manipulation;transition:color .2s,background .2s}
.nursery-intro-close:hover{color:#3b5039;background:#e4e7d15c}
.nursery-intro-close:focus-visible{outline:2px solid #a68a51;outline-offset:2px}
.nursery-intro-body{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:2px;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#afb395 transparent}
.nursery-field-spread{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:36px}
.nursery-variety-story,.nursery-extension-story{min-width:0}
.nursery-partner{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 10px;margin:0;font:500 16px/1.5 'Songti SC','STSong',serif;color:#4d6344}
.nursery-partner>span{font:12px/1.5 'PingFang SC',sans-serif;color:#949378;white-space:nowrap}
.nursery-research-visual{display:flex;align-items:center;justify-content:center;min-height:116px;margin:7px 0 9px}
.nursery-research-visual>img{display:block;width:85%;height:110px;object-fit:contain;filter:drop-shadow(0 4px 3px #66744713);pointer-events:none;user-select:none}
.nursery-variety-catalog{display:grid;gap:13px}
.nursery-variety-group{display:flex;align-items:center;gap:13px;min-width:0}
.nursery-variety-group h3{flex:none;width:47px;margin:0;font:500 13px/1.5 'Songti SC','STSong',serif;letter-spacing:.04em;color:#8c784b}
.nursery-variety-group:nth-child(2) h3{color:#6c805c}
.nursery-variety-group ul{display:flex;flex-wrap:wrap;min-width:0;align-items:center;gap:12px;margin:0;padding:0;list-style:none}
.nursery-variety-group li{display:flex;align-items:center;gap:4px;min-width:0;white-space:nowrap}
.nursery-variety-group li>img{display:block;width:19px;height:23px;object-fit:contain;pointer-events:none;user-select:none}
.nursery-variety-group li>span{font:500 14px/1.5 'Songti SC','STSong',serif;color:#45573e}
.nursery-farmer-illustration{display:block;width:80%;height:130px;object-fit:contain;margin:0 auto 14px;filter:drop-shadow(0 3px 3px #66744713);pointer-events:none;user-select:none}
.nursery-field-metrics{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:12px}
.nursery-field-metric{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;text-align:center}
.nursery-field-metric>span{font-size:13px;color:#738063;white-space:nowrap}
.nursery-field-metric strong{font:400 36px/1 Georgia,serif;letter-spacing:-.04em;color:#8c784b;font-variant-numeric:tabular-nums}
.nursery-field-metric-2 strong{color:#536d48}
.nursery-field-metric small{font-size:12px;color:#939279;white-space:nowrap}
.nursery-intro-panel.is-playing .nursery-variety-group{animation:nursery-register-reveal .65s calc(80ms + var(--group-index)*140ms) both}
.nursery-intro-panel.is-playing :is(.nursery-research-visual>img,.nursery-farmer-illustration){animation:nursery-picture-reveal .8s .08s both}
.nursery-intro-panel.is-playing .nursery-field-metric strong{animation:nursery-number-reveal .75s .12s both}
@keyframes nursery-register-reveal{from{opacity:.4;translate:0 2px}to{opacity:1;translate:0 0}}
@keyframes nursery-picture-reveal{from{opacity:.35;translate:0 4px}to{opacity:1;translate:0 0}}
@keyframes nursery-number-reveal{from{opacity:.35;translate:0 3px}to{opacity:1;translate:0 0}}
@keyframes nursery-intro-appear{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}
body.prologue-active .nursery-seed-art,body.outbound-active .nursery-seed-art,body:has(dialog[open]) .nursery-seed-art,.nursery-seed-trigger[aria-expanded=true] .nursery-seed-art{animation-play-state:paused}
.nursery-intro-panel.is-paused *{animation-play-state:paused!important}
@media(max-height:600px),(orientation:portrait) and (max-width:760px){
 .nursery-intro-panel{padding:21px 22px 13px}
 .nursery-period{font-size:11px;margin-top:11px}
 .nursery-field-spread{gap:18px}
 .nursery-partner{font-size:14px;gap:7px}
 .nursery-partner>span{font-size:11px}
 .nursery-research-visual{min-height:82px;margin:5px 0 8px}
 .nursery-research-visual>img{height:78px}
 .nursery-variety-catalog{gap:10px}
 .nursery-variety-group{gap:8px;align-items:flex-start}
 .nursery-variety-group h3{font-size:12px;width:42px}
 .nursery-variety-group ul{gap:5px 7px}
 .nursery-variety-group li{gap:3px}
 .nursery-variety-group li>img{width:16px;height:21px}
 .nursery-variety-group li>span{font-size:13px}
 .nursery-farmer-illustration{height:88px;margin-bottom:11px}
 .nursery-field-metrics{gap:9px}
 .nursery-field-metric{gap:7px}
 .nursery-field-metric>span{font-size:12px}
 .nursery-field-metric strong{font-size:30px}
 .nursery-field-metric small{font-size:11px}
}
@media(max-width:600px) and (orientation:landscape){
 .nursery-intro-panel{padding:23px 18px 12px}
 .nursery-field-spread{gap:15px}
 .nursery-partner{font-size:13px}
 .nursery-variety-group li>img{width:14px;height:18px}
 .nursery-field-metric strong{font-size:26px}
 .nursery-field-metrics{gap:5px}
}
@media(max-height:320px),(orientation:portrait) and (max-width:320px){
 .nursery-intro-panel{padding-top:18px}
 .nursery-research-visual{min-height:65px;margin:3px 0 6px}
 .nursery-research-visual>img{height:62px}
 .nursery-farmer-illustration{height:70px;margin-bottom:8px}
 .nursery-variety-catalog{gap:7px}
 .nursery-field-metric{gap:5px}
 .nursery-period{margin-top:8px}
}
@media(prefers-reduced-motion:reduce){.nursery-seed-art,.nursery-seed-bubble.is-visible .nursery-seed-trigger,.nursery-intro-panel,.nursery-intro-panel.is-playing .nursery-variety-group,.nursery-intro-panel.is-playing :is(.nursery-research-visual>img,.nursery-farmer-illustration),.nursery-intro-panel.is-playing .nursery-field-metric strong{animation:none}.nursery-seed-trigger,.nursery-intro-close{transition:none}}
#world .season-light{display:none}
#world .paper-top{height:15%;background:linear-gradient(#fbf5e340,transparent)}
#world #farmRoute{display:none}
.field-flag{top:calc(84.5% - 54px)}
body.overview #landscape{display:block}

/* A transparent hit area follows the excavator animated with its image. */
#world .land-machine-hotspot{position:absolute;z-index:4;padding:0;background:none;border:0;border-radius:38%;cursor:pointer;touch-action:manipulation;transform:none;min-width:44px;min-height:44px;outline-offset:4px}
.land-machine-hotspot:focus-visible{outline:2px solid #fff5cd;box-shadow:0 0 0 5px #97703799}
.land-machine-hotspot:after{content:'';position:absolute;left:48%;top:67%;width:16px;height:16px;border:2px solid #fff5d8;border-radius:50%;box-shadow:0 0 0 5px #b0874355;pointer-events:none;animation:land-machine-beacon 2.8s ease-out infinite}
.land-machine-hotspot:hover:after,.land-machine-hotspot:focus-visible:after{border-color:#fff;box-shadow:0 0 0 8px #d8ad6255}
.land-machine-hotspot.played:after{animation:none;opacity:.45}
.land-entry-hint{position:absolute;left:50%;top:88%;transform:translateX(-50%);white-space:nowrap;pointer-events:none}
.land-machine-hotspot:hover .land-entry-hint,.land-machine-hotspot:focus-visible .land-entry-hint{opacity:1}
#world .land-chapter{background:none;box-shadow:none;backdrop-filter:none;padding:0;pointer-events:none}
#world .research-chapter{background:none;box-shadow:none;backdrop-filter:none;padding:0;pointer-events:none}
body.overview .land-machine-hotspot{display:none}
@keyframes land-machine-beacon{0%,100%{opacity:.3;transform:scale(.85)}45%{opacity:1;transform:scale(1.18)}}
body.prologue-active .land-machine-hotspot:after,body.outbound-active .land-machine-hotspot:after,body:has(dialog[open]) .land-machine-hotspot:after{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.land-machine-hotspot:after{animation:none;opacity:.8}}

/* The living planting scene uses native image transforms together with its hit target. */
#world .transplant-chapter{background:none;box-shadow:none;backdrop-filter:none;padding:0;pointer-events:none}
#world .transplant-machine-hotspot{position:absolute;z-index:4;padding:0;border:0;background:none;cursor:pointer;touch-action:manipulation;border-radius:35%;min-width:44px;min-height:44px;outline-offset:4px;transform:none}
.transplant-machine-hotspot:focus-visible{outline:2px solid #fff5cd;box-shadow:0 0 0 5px #647e5099}
.transplant-machine-hotspot:after{content:'';position:absolute;left:72%;top:56%;width:12px;height:12px;border:1.5px solid #fff5d8;border-radius:50%;box-shadow:0 0 0 4px #c9ad5855;animation:land-machine-beacon 3.4s ease-out infinite;pointer-events:none}
.transplant-entry-hint{position:absolute;left:50%;top:103%;transform:translateX(-50%);font-size:12px;letter-spacing:.08em;white-space:nowrap;color:#365c43;text-shadow:0 1px 3px #fff9e6,0 0 9px #fff9e6;opacity:0;transition:opacity .25s;pointer-events:none}
.transplant-machine-hotspot:hover .transplant-entry-hint,.transplant-machine-hotspot:focus-visible .transplant-entry-hint{opacity:1}
.transplant-machine-hotspot.played:after{animation:none;opacity:.4}
body.overview .transplant-machine-hotspot{display:none}
body.prologue-active .transplant-machine-hotspot:after,body.outbound-active .transplant-machine-hotspot:after,body:has(dialog[open]) .transplant-machine-hotspot:after{animation-play-state:paused}
@media(hover:none){.transplant-entry-hint{opacity:.8;font-size:10px}}
@media(prefers-reduced-motion:reduce){.transplant-machine-hotspot:after{animation:none;opacity:.8}}

/* Rope work is painted in the field; its moving near cart is the interaction entrance. */
#world .pollination-chapter{background:none;box-shadow:none;backdrop-filter:none;padding:0;pointer-events:none}
#world .pollination-cart-hotspot{position:absolute;z-index:4;padding:0;border:0;background:none;cursor:pointer;touch-action:manipulation;border-radius:30%;min-width:44px;min-height:44px;outline-offset:4px;transform:none}
.pollination-cart-hotspot:focus-visible{outline:2px solid #fff5cd;box-shadow:0 0 0 5px #647e5099}
.pollination-cart-hotspot:after{content:'';position:absolute;left:70%;top:54%;width:12px;height:12px;border:1.5px solid #fff5d8;border-radius:50%;box-shadow:0 0 0 4px #c9ad5855;animation:land-machine-beacon 3.4s ease-out infinite;pointer-events:none}
.pollination-entry-hint{position:absolute;left:50%;top:103%;transform:translateX(-50%);font-size:12px;letter-spacing:.08em;white-space:nowrap;color:#365c43;text-shadow:0 1px 3px #fff9e6,0 0 9px #fff9e6;opacity:0;transition:opacity .25s;pointer-events:none}
.pollination-cart-hotspot:hover .pollination-entry-hint,.pollination-cart-hotspot:focus-visible .pollination-entry-hint{opacity:1}
.pollination-cart-hotspot.played:after{animation:none;opacity:.4}
body.overview .pollination-cart-hotspot{display:none}
body.prologue-active .pollination-cart-hotspot:after,body.outbound-active .pollination-cart-hotspot:after,body:has(dialog[open]) .pollination-cart-hotspot:after{animation-play-state:paused}
@media(hover:none){.pollination-entry-hint{opacity:.8;font-size:10px}}
@media(prefers-reduced-motion:reduce){.pollination-cart-hotspot:after{animation:none;opacity:.8}}

/* The aircraft and its hit target share one compositor transform animation. */
#world .drone-chapter{background:none;box-shadow:none;backdrop-filter:none;padding:0;pointer-events:none}
#world .drone-machine-hotspot{position:absolute;z-index:4;padding:0;border:0;background:none;cursor:pointer;touch-action:manipulation;border-radius:40%;min-width:44px;min-height:44px;outline-offset:4px;transform-origin:center;transform:translate(-50%,-50%);will-change:transform,opacity}
.drone-scroll-art{display:block;width:100%;height:100%;object-fit:contain;transform:scaleX(.85);transform-origin:center;pointer-events:none;user-select:none;-webkit-user-drag:none}
.drone-machine-hotspot:hover .drone-scroll-art,.drone-machine-hotspot:focus-visible .drone-scroll-art{filter:brightness(1.08)}
.drone-machine-hotspot.is-flying-in .drone-entry-hint,.drone-machine-hotspot.is-flying-in:after{visibility:hidden}
.drone-machine-hotspot:focus-visible{outline:2px solid #fff5cd;box-shadow:0 0 0 5px #647e5099}
.drone-machine-hotspot:after{content:'';position:absolute;left:48%;top:57%;width:13px;height:13px;border:1.5px solid #fff5d8;border-radius:50%;box-shadow:0 0 0 4px #c9ad5855;animation:land-machine-beacon 3s ease-out infinite;pointer-events:none}
.drone-entry-hint{position:absolute;left:50%;top:108%;transform:translateX(-50%);padding:5px 11px;border:1px solid #7d8c6240;border-radius:20px;background:#fff9e9e6;font-size:12px;letter-spacing:.06em;white-space:nowrap;color:#365c43;box-shadow:0 2px 8px #365c4312;opacity:.95;transition:opacity .25s;pointer-events:none}
.drone-machine-hotspot:hover .drone-entry-hint,.drone-machine-hotspot:focus-visible .drone-entry-hint{opacity:1}
.drone-machine-hotspot.played:after{animation:none;opacity:.4}
body.overview .drone-machine-hotspot{display:none}
body.prologue-active .drone-machine-hotspot:after,body.outbound-active .drone-machine-hotspot:after,body:has(dialog[open]) .drone-machine-hotspot:after{animation-play-state:paused}
@media(max-height:600px){.drone-entry-hint{font-size:10px}}
@media(prefers-reduced-motion:reduce){.drone-machine-hotspot:after{animation:none;opacity:.8}.drone-entry-hint{transition:none}}
