:root{--ink:#294f40;--paper:#fbf5e3;--gold:#d8ad3e;--muted:#697967;--world-height:100dvh}*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden;background:#eef0d7;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif}button,input,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,main:focus-visible{outline:2px solid #b2781d;outline-offset:4px}header{position:fixed;inset:0 0 auto;z-index:5;height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;pointer-events:none;background:linear-gradient(#fbf5e3e8,transparent)}header>*{pointer-events:auto}.brand{text-decoration:none;font-family:'Songti SC',serif;font-size:21px;letter-spacing:2px}.brand span{display:inline-block;font:12px sans-serif;letter-spacing:2px;margin-left:22px;color:#59735a}.top-actions{display:flex;align-items:center;gap:14px}.top-actions button{font-size:13px;border:1px solid #49654844;border-radius:30px;background:#fff9e9cb;padding:10px 15px}main{height:100vh;height:100dvh;width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;cursor:grab;touch-action:pan-x;position:relative}main::-webkit-scrollbar{display:none}main.dragging{cursor:grabbing;user-select:none}#world{width:max(2600px,300dvh);height:100%;position:relative;isolation:isolate;transform-origin:left center}#panorama{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;user-select:none;pointer-events:none}.paper-top{position:absolute;inset:0 0 auto;height:18%;background:linear-gradient(#fbf5e3b0,transparent);pointer-events:none}.opening{position:absolute;left:55px;top:16%;width:430px;pointer-events:auto;text-shadow:0 2px 20px #fff9e9}.eyebrow{font-size:12px;letter-spacing:3px;margin:0 0 20px;color:#647751}h1,h2{font-family:'Songti SC','STSong',serif;font-weight:700}h1{font-size:72px;line-height:1.35;margin:0;letter-spacing:2px}h1 span{color:#b9742c}h2{font-size:33px;line-height:1.5;margin:15px 0 23px}.opening>p:not(.eyebrow){font-size:17px;line-height:1.9;margin-top:22px}.start-button{display:block;background:#31583e;color:#fff8de;border-radius:100px;padding:14px 22px;font-size:15px;margin-top:25px;box-shadow:0 4px 0 #1d3a2720}.start-button span{margin-left:24px}.quiet{font-size:12px;margin-top:14px;padding-left:6px}.field-pin{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%) rotate(-2deg);display:flex;align-items:center;gap:11px;padding:13px 16px 13px 10px;background:#fff9e9ed;border:1.5px solid #4b664c;border-radius:5px 16px 5px 14px;box-shadow:3px 4px 0 #35593822;text-align:left;white-space:nowrap;transition:transform .2s,background .2s;z-index:2}.field-pin:hover{transform:translate(-50%,-54%) rotate(0deg);background:#fffbee}.field-pin:nth-of-type(even){transform:translate(-50%,-50%) rotate(2deg)}.pin-number{font-family:Georgia,serif;font-style:italic;font-size:23px;color:#a87534;border-right:1px solid #cfc7a1;padding-right:10px}.pin-copy strong{display:block;font-family:'Songti SC',serif;font-size:20px}.pin-copy small{display:block;font-size:12px;color:#6a795c;margin-top:6px}.pin-plus{margin-left:8px;font-size:21px;color:#b27829}.field-pin:after{content:'';position:absolute;width:1px;height:42px;background:#4b664c90;top:100%;left:50%;pointer-events:none}.finish-pin{position:absolute;right:45px;top:82%;background:#31583e;color:#fff8de;border-radius:50px;padding:15px 25px;font-family:'Songti SC',serif;font-size:18px}.travel-hint{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);border-radius:30px;background:#fff9e9e6;padding:10px 20px;font-size:12px;letter-spacing:2px;pointer-events:none;transition:opacity .5s;white-space:nowrap}.travel-hint.gone{opacity:0}input[type=range]{accent-color:#b98a32;cursor:ew-resize;width:100%;height:24px;touch-action:none}#overview{border:1px solid #576b3e66;border-radius:30px;padding:9px 16px;font-size:13px;white-space:nowrap}body.overview main{display:flex;align-items:center;background:#e9edd3}body.overview #world{width:100%;min-width:0;height:calc(100vw / 3);max-height:calc(100dvh - 90px)}body.overview .opening,body.overview .field-pin,body.overview .finish-pin,body.overview .paper-top{display:none}body.overview .travel-hint{opacity:0}dialog{position:fixed;background:var(--paper);color:var(--ink);border:1px solid #5c744d;border-radius:18px;padding:36px;width:min(560px,92vw);max-height:86dvh;overflow:auto;box-shadow:7px 8px 0 #294f4022}dialog::backdrop{background:#183a3060;backdrop-filter:blur(3px)}dialog .close{position:absolute;top:8px;right:12px;font-size:30px;width:38px;height:38px;z-index:3}dialog p{font-size:16px;line-height:1.85}dialog a{color:#47784d;overflow-wrap:anywhere}dialog .eyebrow{margin-top:15px}#menuList{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px}#menuList button{text-align:left;border-bottom:1px solid #72895b44;padding:13px 0;font-size:14px}#menuList button span{color:#b28337;margin-right:10px}.text-button{font-size:13px;margin-top:20px;padding:10px 0;border-bottom:1px solid #81906855}.primary{display:inline-flex;background:#31583e;color:#fff8de;padding:15px 22px;border-radius:30px;text-decoration:none;font-size:15px}.memory-options{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.memory-options button{border:1px solid #8d9c7244;border-radius:7px;padding:17px;text-align:left;display:flex;justify-content:space-between;gap:15px}.memory-options button[aria-pressed=true]{background:#e4e8cd;border-color:#526c43}.memory-options strong{font-weight:500;font-size:15px}.memory-options em{font-style:normal;font-size:12px;color:#96702d;white-space:nowrap}#posterDialog{text-align:center;width:430px}#posterImage{display:block;width:100%;max-width:270px;margin:0 auto 22px}.fine{font-size:12px!important;line-height:1.8!important;color:#738065;margin-bottom:0}[hidden]{display:none!important}@media(max-width:760px),(max-height:600px){header{height:73px;padding:0 20px}.brand{font-size:17px;letter-spacing:1px}.brand span{display:block;font-size:11px;margin:5px 0 0}.top-actions{gap:8px}.top-actions button{padding:8px 10px;font-size:11px}#world{width:max(2550px,300dvh)}.opening{left:28px;top:14%;width:340px}h1{font-size:53px}.opening .eyebrow{font-size:11px;letter-spacing:2px}.opening>p:not(.eyebrow){font-size:15px;margin-top:15px}.start-button{font-size:14px;padding:12px 19px;margin-top:18px}.field-pin{padding:10px;gap:8px}.pin-number{font-size:20px;padding-right:7px}.pin-copy strong{font-size:17px}.pin-copy small{font-size:12px}.pin-plus{font-size:18px;margin-left:0}.finish-pin{font-size:16px;right:35px}#overview{font-size:12px;padding:5px 12px}dialog{padding:32px 22px}.card-heading{font-size:17px}.card-heading small{font-size:11px}.comparison,.pollen-diagram{height:190px}.memory-options button{display:block}.memory-options em{display:block;margin-top:7px}.parent-label,.mother-label{font-size:11px}}
@media(prefers-reduced-motion:reduce){.pollen-track i{animation:none;left:50%}.field-pin,.travel-hint{transition:none}}
.opening{top:12%;padding:12px 18px 18px 0;background:radial-gradient(ellipse at 22% 35%,#fff9e9e8 0%,#fff9e9a3 40%,#fff9e900 73%)}.opening h1{font-size:58px;line-height:1.25}.opening>p:not(.eyebrow){font-size:16px;line-height:1.6;margin:17px 0}.opening .eyebrow{margin-bottom:14px}.start-button{margin-top:17px}.quiet{background:#fff9e9c9;border-radius:20px;padding:6px 10px;margin-top:10px}@media(max-width:760px),(max-height:600px){.opening h1{font-size:48px}.opening{width:350px;top:12%}.opening>p:not(.eyebrow){font-size:14px}.opening .eyebrow{font-size:10px}}
/* V3: one continuous, scroll-directed landscape. */
#world{width:max(8400px,900dvh);height:100%}#landscape{position:absolute;inset:0;pointer-events:none;overflow:hidden}.landscape-art{position:absolute;top:0;height:100%;width:35%;object-fit:fill;user-select:none;pointer-events:none}.art-spring{left:0}.art-summer{left:32.5%;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}.art-autumn{left:65%;mask-image:linear-gradient(90deg,transparent,#000 7%)}.season-light{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 30%,#eac75812 62%,#b8863918);mix-blend-mode:multiply}.opening{z-index:3}.field-pin{top:74%;opacity:0;transform:translate(-50%,40px);transition:none;will-change:transform,opacity}.field-pin:hover,.field-pin:nth-of-type(even){transform:translate(-50%,var(--lift,0px)) rotate(0)}.field-pin:after{display:none}.story-note{position:absolute;top:17%;left:var(--x);width:350px;transform:translate(-50%,30px);opacity:0;pointer-events:none;z-index:3}.story-note .chapter{font-size:12px;letter-spacing:4px;color:#8b6c38;display:block;margin-bottom:14px}.story-note h2{font-size:37px;line-height:1.45;letter-spacing:1px;margin:0;color:#294f40;text-shadow:0 2px 18px #fff8dc}.story-note p{font-size:16px;line-height:1.8;color:#496646;margin:13px 0 0}.story-note:before{content:'';position:absolute;inset:-25px -40px;z-index:-1;background:radial-gradient(ellipse,#fff9e9de,transparent 73%)}.story-note .accent{color:#ac742b}.passing-thought{position:absolute;top:37%;left:var(--x);font:23px/1.8 'Songti SC',serif;color:#315942;writing-mode:vertical-rl;letter-spacing:4px;padding:20px 10px;background:linear-gradient(#fff9e9c9,#fff9e940);opacity:0;z-index:2;pointer-events:none}.sprite{position:absolute;background-image:url('assets/story-sprites.png');background-size:400% 200%;background-repeat:no-repeat;width:220px;height:110px;pointer-events:none;transform-origin:center bottom;will-change:transform,opacity}.sprite-seed{background-position:0 0}.sprite-seedling{background-position:33.333333% 0}.sprite-harvester{background-position:100% 0}.sprite-truck{background-position:0 100%}.sprite-researcher{background-position:33.333333% 100%}.sprite-bags{background-position:66.666667% 100%}.sprite-cloud{background-position:100% 100%}.actor{z-index:3;opacity:0}.actor-researcher{width:260px;height:130px;top:61%}.actor-harvester{width:430px;height:215px;top:58%}.actor-truck{width:410px;height:205px;top:64%}.actor-seedling{width:190px;height:95px;top:76%;filter:drop-shadow(0 3px 2px #31583e20)}.actor-bags{width:190px;height:95px;top:72%}.cloud{width:520px;height:260px;top:0;opacity:.78;z-index:1;filter:blur(.3px)}.cloud.front{top:69%;width:680px;height:340px;opacity:.4;z-index:4}.route-reveal{position:absolute;left:33.5%;top:57%;width:12.5%;height:20%;z-index:2;opacity:0;pointer-events:none}.route-reveal svg{overflow:visible}.route-reveal svg path{stroke-linecap:round;stroke-width:8}.route-shadow{stroke:#fffbe5;opacity:.8}.route-drawing{stroke:#c69a37;stroke-dasharray:1;stroke-dashoffset:1}.route-reveal span{position:absolute;top:100%;left:30%;font-size:14px;color:#485c34;background:#fff9e9d9;padding:8px 12px;border-radius:20px}.field-flag{position:absolute;top:60%;padding:7px 12px;background:#fff8e0;border:1px solid #819660;border-radius:2px;font-size:13px;z-index:2;opacity:0;transform-origin:center bottom}.field-flag:after{content:'';height:50px;position:absolute;top:100%;left:50%;width:2px;background:#776f47}#qualityLayers{position:absolute;left:76%;top:52%;display:flex;gap:28px;z-index:3}#qualityLayers span{display:flex;width:74px;height:74px;align-items:center;justify-content:center;border:2px solid #ae743a;border-radius:50%;background:#fff7dfdc;color:#966232;font:22px 'Songti SC',serif;transform:scale(1.8) rotate(-15deg);opacity:0}#seedGuide{position:fixed;left:19%;top:78%;z-index:4;pointer-events:none;will-change:transform;opacity:0}#seedGuide .sprite{position:relative;width:110px;height:55px;filter:drop-shadow(0 3px 5px #7b58272e)}#seedGuide>span{display:block;position:absolute;left:25px;top:-15px;background:#fff8e5e8;border-radius:20px;padding:5px 10px;white-space:nowrap;font-size:12px;color:#826a34}#seasonBadge{position:fixed;left:42px;top:100px;z-index:4;pointer-events:none;opacity:0;transition:opacity .25s}#seasonName{font:18px 'Songti SC',serif;letter-spacing:2px;background:#fff9e9db;padding:7px 12px;display:block;border-left:2px solid #b98b39}#seasonLine{display:block;font-size:12px;margin:8px 0 0 13px;color:#687753;text-shadow:0 1px 4px #fff9e9}.finish-pin{z-index:3;top:74%;right:120px;opacity:0;transform:translateY(30px)}body.overview #world{width:100%;height:calc(100vw / 9);min-height:0}body.overview #storyLayers,body.overview #spriteLayers,body.overview #cloudLayers,body.overview #qualityLayers,body.overview #farmRoute,body.overview #seedGuide,body.overview #seasonBadge{display:none}#world .paper-top{height:12%}.travel-hint{z-index:5}.top-actions button,#overview{min-height:40px}#menuList button{min-height:44px}
@media(max-width:760px),(max-height:600px){#world{width:max(8400px,900dvh)}.story-note{width:290px;top:19%}.story-note h2{font-size:31px}.story-note p{font-size:15px}.passing-thought{font-size:20px;top:38%}.field-pin{max-width:340px;white-space:normal;width:max-content}.pin-copy strong{font-size:17px}.pin-copy small{font-size:12px}.field-pin .pin-plus{margin-left:8px}.actor-harvester{width:340px;height:170px}.actor-truck{width:340px;height:170px}.actor-researcher{width:220px;height:110px}.actor-seedling{width:160px;height:80px}#seasonBadge{left:20px;top:84px}#seasonName{font-size:15px}#seasonLine{font-size:12px}#seedGuide{left:12%;top:80%}#seedGuide .sprite{width:90px;height:45px}.finish-pin{right:70px;font-size:16px}.field-flag{font-size:12px}.cloud.front{top:74%;width:500px;height:250px}#overview{min-height:30px}#qualityLayers{gap:18px}#qualityLayers span{width:62px;height:62px;font-size:18px}.route-reveal span{font-size:12px;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.actor,.field-pin,.story-note,.passing-thought,.field-flag,.finish-pin{will-change:auto}#seasonBadge{transition:none}}
#world .field-pin{top:50%}.actor-researcher{width:100px;top:61%}.actor-seedling{width:128px;top:72%}.actor-bags{width:125px;top:72%}.actor-harvester{width:340px;top:60%}.actor-truck{width:350px;top:64%}#seedGuide .sprite{width:68px}#seedGuide{top:77%}#seedGuide>span{left:4px;top:-24px}.cloud{width:400px;opacity:.5}.cloud.front{width:520px;opacity:.26}.route-reveal{top:62%;height:15%}.route-reveal span{left:33%;top:82%}
@media(max-width:760px),(max-height:600px){.actor-researcher{width:85px}.actor-harvester{width:260px}.actor-truck{width:280px}.actor-seedling{width:102px}.actor-bags{width:110px}#seedGuide .sprite{width:56px}.cloud{width:330px}.cloud.front{width:400px}.story-note{top:19%}.story-note h2{font-size:29px}}
/* V4: actor bottom-center anchors share the painted plate coordinate system. */
.actor{top:auto;transform-origin:center bottom;filter:saturate(.84) contrast(.93) drop-shadow(0 1px 1px #3d49251a)}.actor-seedling{filter:saturate(.68) contrast(.88)}.contact-shadow{position:absolute;border-radius:50%;background:#485238;filter:blur(2px);pointer-events:none;z-index:2;opacity:0}.actor{z-index:3}.shadow-seedling{filter:blur(.8px)}#cloudLayers{display:none}.season-light{opacity:.35}.route-reveal{left:32.5%;top:0;width:35%;height:100%;z-index:1}.route-reveal svg path{stroke-width:2;vector-effect:non-scaling-stroke}.route-reveal .route-shadow{stroke-width:5;opacity:.55}.route-reveal span{display:none}.field-flag{top:calc(76.8% - 54px);font-size:12px;padding:4px 8px;border-color:#859363;background:#f4edcf}.field-flag:after{height:26px}.story-note:before{display:none}.story-note p{max-width:310px}.story-note{top:18%}#world .field-pin{top:40%;background:#fff9e9e0;border-color:#7d8c62;box-shadow:1px 2px 0 #35593815}.passing-thought{background:none;font-size:20px;color:#647252}.opening{background:none;text-shadow:none}.opening .quiet{background:#faf5e5b3}#qualityLayers{top:56%;left:74.6%;gap:12px}#qualityLayers span{width:45px;height:45px;font-size:14px;background:#fff7dbe0;border-width:1px}#seedGuide{left:12%;will-change:auto}#seedGuide>span{font-size:11px;padding:3px 8px;top:-20px;left:0}.finish-pin{top:33%}body.overview .season-light{display:none}@media(max-width:760px),(max-height:600px){.story-note{top:20%}.story-note h2{font-size:27px;line-height:1.45}.story-note p{font-size:14px;margin-top:10px}#world .field-pin{top:43%;max-width:295px}.pin-copy strong{font-size:15px}.pin-copy small{font-size:12px}.pin-number{font-size:18px}.opening h1{font-size:44px}.field-flag{top:calc(76.8% - 52px);font-size:11px}#qualityLayers span{width:40px;height:40px;font-size:12px}}

/* Keep the controls clear of the story on a short landscape canvas. */
@media (max-width:760px),(max-height:600px){
  .opening{top:20%;width:270px;padding:0}
  .opening h1{font-size:35px;line-height:1.12}
  .opening .eyebrow{margin-bottom:8px}
  .opening>p:not(.eyebrow){font-size:12px;line-height:1.4;margin:8px 0}
  .start-button{margin-top:8px;padding:8px 12px;font-size:12px}
  .quiet{margin-top:4px;padding:3px 7px}
  .story-note{top:20%;width:230px}
  .story-note h2{font-size:24px}
  .story-note p{font-size:12px;line-height:1.4;margin-top:6px}
  #world .field-pin{top:64%}
}
/* Keep the story in a wide canvas when the phone is held upright. */
@media (orientation:portrait) and (max-width:760px){
  html{position:fixed;top:0;left:100vw;width:100dvh;height:100vw;transform-origin:top left;transform:rotate(90deg)}
  body{width:100%;height:100%}
  main{height:100%}
  #world{width:max(3500px,900vw)}
  body.overview #world{height:calc(100dvh / 9)}
  dialog{inset:auto;left:50vw;top:50dvh;margin:0;width:min(560px,calc(100dvh - 24px));max-width:none;max-height:calc(100vw - 24px);transform:translate(-50%,-50%) rotate(90deg);transform-origin:center}
}
@media (orientation:landscape) and (max-height:600px), (orientation:portrait) and (max-width:760px){
  #world{width:max(3500px,900dvh)}
  .opening{left:20px;top:74px;width:300px;padding:13px 14px 15px;background:#fbf5e3db;border-radius:14px;backdrop-filter:blur(2px);box-shadow:0 4px 18px #31462c1a}
  .opening h1{font-size:38px;line-height:1.12}
  .opening>p:not(.eyebrow){font-size:13px}
  .story-note{top:76px;width:260px;padding:12px 14px;background:#fbf5e3db;border-radius:12px;backdrop-filter:blur(2px);box-shadow:0 4px 18px #31462c1a}
  .story-note h2{font-size:26px;line-height:1.3}
  .story-note p{font-size:13px;line-height:1.4}
  .passing-thought,.field-flag{display:none}
  #world .field-pin{z-index:4}
  .pin-copy strong{font-size:16px}
  #seasonBadge,#seedGuide{display:none}
}

/* Small playable chapters and the seven-stamp field passport. */
.story-note{width:270px}
.story-note h2{font-size:31px;line-height:1.32}
.story-note .chapter{margin-bottom:8px}
#world .field-pin{border-radius:20px;padding:12px 16px;background:#fff9e9f0}
#world .field-pin.played{background:#e8efd4;border-color:#57805a}
.field-pin.played .pin-plus{color:#36804b}
#fieldPassport{position:fixed;left:25px;bottom:18px;z-index:5;display:grid;grid-template-columns:auto auto;align-items:center;column-gap:10px;row-gap:5px;background:#fff9e9ed;border:1px solid #85956d88;border-radius:16px;padding:9px 12px;box-shadow:0 5px 20px #294f4020;font-size:12px;color:#526b4d;pointer-events:none}
#fieldPassport strong{font-size:16px;color:#294f40}
#passportDots{grid-column:1 / 3;display:flex;gap:5px}
.passport-dot{display:block;width:15px;height:6px;border-radius:8px;background:#bcc7aa}
.passport-dot.is-done{background:#b58637}
#menuList button.played:after{content:'✓';float:right;color:#4e8556}
#gameDialog{width:min(540px,calc(100vw - 28px));padding:28px 30px 22px;max-height:calc(100dvh - 28px)}
.game-head{display:flex;justify-content:space-between;padding-right:35px;color:#9b7136;font-size:12px;letter-spacing:2px}
#gameDialog h2{font-size:36px;line-height:1.2;margin:12px 0 5px}
#gamePrompt{font-size:15px;line-height:1.5;margin:0 0 15px;color:#66775d}
.game-board{min-height:225px;position:relative;border-radius:16px;overflow:hidden;background:#e8edcf;border:1px solid #a4b28a;padding:18px}
#gameFeedback{min-height:26px;font-size:14px;line-height:1.45;margin:10px 0 0;color:#a05a35;font-weight:600}
#gameFeedback.positive{color:#367247}
.game-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:47px}
.game-foot .text-button{margin:0}
.game-foot .primary{padding:11px 16px;font-size:13px}
.game-disclaimer{font-size:11px!important;line-height:1.5!important;color:#78836d;margin:8px 0 0}
.game-board button{touch-action:manipulation}
.game-board button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 5px 0 #3e61432b}
.game-board button:disabled{cursor:default}
.clue-card{height:112px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;background:#fff9e9;border:1px solid #c8bd8d;border-radius:12px;box-shadow:3px 4px 0 #58745418}
.clue-card span{font-size:12px;color:#9a7134;letter-spacing:2px}
.clue-card strong{font:21px 'Songti SC',serif;text-align:center}
.game-choices,.game-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.game-choices button,.game-steps button,.quality-gates button,.record-cards button{background:#fffaf0;border:1px solid #809771;border-radius:10px;padding:12px 5px;font-size:14px}
.game-steps button:disabled,.quality-gates button:disabled,.record-cards button:disabled{background:#d5e2ba;color:#477546;border-color:#8fac84}
.mission-complete-art{height:185px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:20px;color:#3e6847;font:20px 'Songti SC',serif;text-align:center}
.mission-complete-art span{color:#b38436}
.growth-stage{height:152px;position:relative;text-align:center;background:linear-gradient(#dcf0dc,#e4eec5 65%,#9caa70 66%,#687e4a);border-radius:12px;overflow:hidden}
.growth-sky{position:absolute;top:10px;right:20px;color:#d4a437;font-size:27px}
.growth-plant{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);font-size:60px;line-height:1;transition:transform .25s}
.growth-soil{position:absolute;bottom:0;left:0;right:0;height:22px;background:repeating-linear-gradient(115deg,#6e7848 0 12px,#758450 12px 23px)}
.route-game{height:190px;position:relative;display:flex;align-items:flex-start;justify-content:space-between;padding:28px 6px 0;background:linear-gradient(155deg,#cbdbaa 0 45%,#b3ca86 45% 100%);border-radius:12px}
.route-line{position:absolute;left:12%;right:12%;top:61px;height:8px;background:#d5ddbf;border:1px dashed #91a072;border-radius:10px}
.route-line:after{content:'';display:block;width:var(--route);height:100%;background:#c28d39;border-radius:10px;transition:width .3s}
.route-stop{position:relative;z-index:1;width:30%;min-height:76px;background:#fff9e9;border:1px solid #819268;border-radius:13px;font-size:13px}
.route-stop span{display:block;margin:0 auto 6px;width:28px;height:28px;line-height:28px;border-radius:50%;background:#e2e8c9;color:#405c40}
.route-stop.lit{background:#e2ecc8;border-color:#4b8155}
.route-machine{position:absolute;bottom:10px;font-size:26px;transition:left .35s}
.game-wind{padding:11px;background:#f1edcf}
.rope-field{position:relative;height:270px;overflow:hidden;border:1px solid #8a9a69;border-radius:13px;background:#638f42 url('assets/rope-pollination-field.png') center/100% 100% no-repeat;touch-action:none;user-select:none;-webkit-user-select:none;isolation:isolate}
.rope-field:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 20px #1e49282f;border-radius:inherit}
.rope-pollinated{position:absolute;left:8%;right:8%;top:var(--front-y);bottom:9%;z-index:1;background:linear-gradient(180deg,#ffe584a6,#ffdc6680 36%,#e8f4936b),repeating-linear-gradient(90deg,transparent 0 17px,#fff1ae30 17px 19px);mix-blend-mode:screen;pointer-events:none;transition:top .15s}
.rope-wave{position:absolute;left:8%;right:8%;top:var(--front-y);height:15px;z-index:2;opacity:0;transform:translateY(-50%);background:linear-gradient(90deg,transparent,#fff4aa5e 12%,#fff4baf0 50%,#fff4aa5e 88%,transparent);filter:blur(5px);pointer-events:none;transition:top .15s,opacity .2s}
.rope-field.has-motion .rope-wave{opacity:1}
.rope-flowers{position:absolute;inset:0;z-index:2;pointer-events:none}
.rope-floret{position:absolute;left:var(--flower-x);top:var(--flower-y);color:#fff4b1;font-size:20px;line-height:1;opacity:0;transform:translate(-50%,-50%) scale(.3);text-shadow:0 0 8px #fff7b9,0 1px 3px #41602c;transition:opacity .25s var(--flower-delay),transform .35s var(--flower-delay)}
.rope-floret.lit{opacity:.95;transform:translate(-50%,-50%) scale(1);animation:rope-flower-twinkle 1.8s ease-in-out infinite alternate}
.rope-stop{position:absolute;left:12%;right:12%;top:var(--stop-y);height:0;border-top:2px dashed #fff4bcad;z-index:1;pointer-events:none;transition:border-color .25s}
.rope-stop b{position:absolute;left:50%;top:-15px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#fff9e7e8;border:1px solid #c09b4f;color:#755728;font:600 14px sans-serif;transform:translateX(-50%);box-shadow:0 2px 6px #254e3340}
.rope-stop.lit{border-color:#ffe078;box-shadow:0 0 14px 3px #ffde63b0}
.rope-stop.lit b{background:#e6b94c;color:#fffbea;border-color:#fff0aa;animation:rope-stop-pop .4s ease-out both}
.rope-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:3;pointer-events:none}
.rope-line{fill:none;stroke-linecap:round;vector-effect:non-scaling-stroke}
.rope-shadow{stroke:#3b572eaa;stroke-width:8px}
.rope-thread{stroke:#f9e4a0;stroke-width:4px;stroke-dasharray:9 3;filter:drop-shadow(0 0 4px #fff8ba)}
.rope-dust{position:absolute;left:50%;top:var(--dust-y);z-index:4;transform:translate(-50%,-50%);color:#fff0a6;font-size:25px;letter-spacing:15px;text-shadow:0 0 13px #ffe38b,0 2px 4px #40612c;pointer-events:none;white-space:nowrap}
.rope-cart{position:absolute;top:var(--left-y);left:5.5%;z-index:5;display:grid;place-items:center;width:54px;height:68px;padding:0;transform:translate(-50%,-50%);cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;filter:drop-shadow(1px 4px 4px #1d3f318c)}
.rope-cart-right{left:94.5%;top:var(--right-y)}
.rope-cart:active{cursor:grabbing}
#gameBoard .rope-cart:hover{transform:translate(-50%,-50%);box-shadow:none}
.rope-cart img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}
.rope-cart:focus-visible{outline:3px solid #fff1a0;outline-offset:-4px;border-radius:12px}
.rope-instruction{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;color:#496743;font-size:15px;line-height:1.3}
.rope-instruction em{font-style:normal;font-weight:700;color:#8c6527}
.rope-instruction strong{flex:none;padding:5px 10px;border-radius:100px;background:#d9e4ba;color:#28613e;font-size:16px}
.rope-meter{height:9px;overflow:hidden;margin-top:6px;border-radius:100px;background:#cbd9ae;box-shadow:inset 0 1px 3px #4760433b}
.rope-meter i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#bad25e,#f2c551);box-shadow:0 0 9px #f1d870;transition:width .18s}
.rope-success{position:absolute;left:50%;top:50%;z-index:8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:min(78%,350px);padding:15px 22px;border:2px solid #ffe7a0;border-radius:17px;background:#194734ef;color:#fff8dd;text-align:center;box-shadow:0 0 0 7px #ffe8a46b,0 12px 35px #123f2d99;opacity:0;transform:translate(-50%,-45%) scale(.82);pointer-events:none}
.rope-success span{font-size:31px;line-height:1;color:#ffdc77}
.rope-success strong{font:700 25px/1.2 'Songti SC',serif;white-space:nowrap}
.rope-success small{font-size:13px;color:#f4e3a7}
.game-win .rope-success{animation:rope-success-in .55s cubic-bezier(.15,1.2,.3,1) forwards}
.game-win .rope-field{box-shadow:0 0 0 3px #f3cd61,0 0 24px #efd06b}
.game-win .rope-pollinated{top:0;bottom:0;background:linear-gradient(180deg,#ffe584a8,#f8db7692 35%,#f1e99191);animation:rope-full-glow 1.4s ease-in-out infinite alternate}
.game-win .rope-dust{opacity:0}
#gameDialog.rope-complete #gameFeedback{font-size:19px;color:#1d7149}
#gameDialog.rope-complete #gameNext{background:#2c7845;box-shadow:0 0 0 5px #eacb6b,0 5px 18px #3d794c66;font-weight:700;animation:rope-next-pulse 1.2s ease-in-out infinite alternate}
@keyframes rope-flower-twinkle{to{filter:brightness(1.5);transform:translate(-50%,-50%) scale(1.15)}}
@keyframes rope-stop-pop{0%{transform:translateX(-50%) scale(.5)}70%{transform:translateX(-50%) scale(1.2)}100%{transform:translateX(-50%) scale(1)}}
@keyframes rope-success-in{to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes rope-full-glow{to{filter:brightness(1.3)}}
@keyframes rope-next-pulse{to{box-shadow:0 0 0 8px #eacb6b9c,0 6px 22px #3d794c99}}
@media(prefers-reduced-motion:reduce){.rope-floret.lit,.rope-stop.lit b,.game-win .rope-success,.game-win .rope-pollinated,#gameDialog.rope-complete #gameNext{animation:none}.game-win .rope-success{opacity:1;transform:translate(-50%,-50%)}}
.harvest-field{height:190px;display:flex;align-items:center;justify-content:space-around;background:linear-gradient(#e8e3ac 0 60%,#b7bd79 60%);border-radius:12px}
.grain-bag{width:62px;height:68px;background:#f5e9c8;border:2px solid #a87c3a;border-radius:45% 45% 15% 15%;font-size:29px}
.grain-bag.loaded{background:#dfebc8;border-color:#668e5b;font-size:24px}
.harvest-truck{position:absolute;right:18px;bottom:15px;font-size:37px;display:grid;line-height:1;text-align:center}
.harvest-truck small{font-size:11px;margin-top:6px;color:#4e6547}
.quality-gates{display:flex;gap:8px;justify-content:space-between;align-items:center;margin:20px 0}
.quality-gates button{flex:1;min-height:90px}
.quality-gates button span{display:block;font-size:24px;margin-bottom:6px;color:#a17b36}
.seed-life{font-size:36px;color:#b58336;text-align:center;line-height:1}
.seed-life small{display:block;font-size:12px;color:#617452;margin-top:7px}
.record-map{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:19px 7px;background:#dce9cd;border-radius:12px;font-size:13px;white-space:nowrap}
.record-path{overflow:hidden;color:#b68a41;letter-spacing:4px}
.record-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.record-cards button{min-height:49px}
.game-win{border-color:#72a073;box-shadow:inset 0 0 0 2px #72a07355}
@media (orientation:landscape) and (max-height:600px), (orientation:portrait) and (max-width:760px){
  #fieldPassport{bottom:10px;left:10px;padding:5px 8px;font-size:10px}
  #gameDialog{max-height:calc(100dvh - 10px);padding:16px 20px}
  #gameDialog h2{font-size:27px;margin:4px 0}
  #gamePrompt{margin-bottom:8px}
  .game-board{min-height:165px;padding:10px}
  .clue-card{height:80px}
  .growth-stage{height:100px}
  .route-game,.harvest-field{height:140px}
  .rope-field{height:160px}
  .rope-cart{width:38px;height:40px}
  .rope-dust{font-size:15px;letter-spacing:9px}
  .rope-instruction{font-size:12px;margin-top:5px}
  .rope-instruction strong{font-size:13px;padding:3px 7px}
  .rope-meter{height:6px;margin-top:4px}
  .rope-floret{font-size:13px}
  .rope-success{width:min(80%,300px);padding:9px 14px;gap:2px}
  .rope-success span{font-size:22px}
  .rope-success strong{font-size:18px}
  .rope-success small{font-size:10px}
  .game-disclaimer{display:none}
}
@media (orientation:portrait) and (max-width:760px){
  #world{width:max(3500px,900vw)}
  #gameDialog{width:min(540px,calc(100dvh - 24px));max-height:calc(100vw - 24px)}
  #gameDialog.rope-game{max-height:calc(100vw - 12px);padding:10px 16px;overflow-y:auto}
  #gameDialog.rope-game .game-head{display:none}
  #gameDialog.rope-game .rope-field{height:150px}
  #gameDialog.rope-game .rope-cart{width:36px;height:38px}
  #gameDialog.rope-game #gamePrompt{margin-bottom:5px}
  #gameDialog.rope-game #gameFeedback{min-height:18px;margin-top:4px}
  #gameDialog.rope-complete #gamePrompt{display:none}
  #gameDialog.rope-complete #gameFeedback{font-size:14px}
}

/* Give each stop one large, readable cue and keep the interaction in focus. */
.story-note{width:max-content;max-width:350px}
.story-note h2{font-size:clamp(38px,3.4vw,48px);line-height:1.16;white-space:nowrap}
.story-note .chapter{font-size:15px;letter-spacing:2px;margin-bottom:10px}
#world .field-pin{min-height:68px;padding:13px 20px}
.pin-copy strong{font-size:23px}
.pin-copy small{font-size:14px;margin-top:3px}
.pin-number{font-size:25px}
#fieldPassport{font-size:14px;padding:11px 15px}
#fieldPassport strong{font-size:19px}
.passport-dot{width:18px;height:8px}
#gameDialog{width:min(620px,calc(100vw - 28px));padding:30px 34px 24px}
.game-head{font-size:14px}
#gameDialog h2{font-size:42px;margin:10px 0 5px}
#gamePrompt{font-size:19px;line-height:1.4;margin-bottom:16px;color:#465f49}
#gameFeedback{font-size:16px;min-height:28px}
.game-foot .text-button{font-size:15px}
.game-foot .primary{font-size:16px;padding:12px 20px}
.clue-card strong{font-size:25px}
.clue-card span{font-size:14px}
.game-choices button,.game-steps button,.quality-gates button,.record-cards button{font-size:17px;min-height:56px}
.route-stop{font-size:16px}
.record-map{font-size:16px}
.seed-life small,.harvest-truck small{font-size:14px}
#menuList button:disabled{opacity:.45;cursor:not-allowed}
#menuList button:disabled:after{content:'锁定';float:right;font-size:12px}
#stagePrompt{position:fixed;z-index:6;left:50%;bottom:26px;transform:translateX(-50%);display:flex;align-items:center;gap:17px;max-width:calc(100vw - 30px);padding:11px 13px 11px 18px;border:2px solid #d2a650;border-radius:18px;background:#fff9eefa;box-shadow:0 12px 36px #1d433c55,0 0 0 5px #f6df9b78;white-space:nowrap}
#stagePrompt span{font-size:13px;color:#936d2f}
#stagePrompt strong{font:600 23px 'Songti SC',serif;color:#244d3c}
#stagePrompt button{padding:11px 17px;border-radius:100px;background:#31583e;color:#fff9e9;font-size:16px;font-weight:600}
#stagePrompt button:focus-visible{outline:3px solid #bc8036}
#world .field-pin.awaiting{border:2px solid #d3a048;box-shadow:0 0 0 6px #f1d27c8c,0 10px 25px #163d3566}
@media (orientation:landscape) and (max-height:600px), (orientation:portrait) and (max-width:760px){
  .story-note{top:72px;padding:9px 13px}
  .story-note h2{font-size:32px}
  .story-note .chapter{font-size:12px;margin-bottom:4px}
  #world .field-pin{top:47%;min-height:57px;padding:9px 15px}
  .pin-copy strong{font-size:19px}
  .pin-copy small{font-size:12px}
  .pin-number{font-size:21px}
  #fieldPassport{font-size:12px;padding:7px 10px}
  #fieldPassport strong{font-size:16px}
  #gameDialog{padding:15px 20px;max-height:calc(100dvh - 10px)}
  #gameDialog h2{font-size:31px;margin:4px 0}
  #gamePrompt{font-size:16px;margin:0 0 7px}
  .game-board{min-height:165px;padding:10px}
  .clue-card{height:75px}
  .clue-card strong{font-size:21px}
  .game-choices button,.game-steps button,.quality-gates button,.record-cards button{font-size:15px;min-height:44px;padding:7px 4px}
  .route-stop{font-size:13px}
  .record-map{font-size:13px}
  #gameFeedback{font-size:14px;min-height:22px;margin-top:6px}
  .game-foot .primary{font-size:14px;padding:9px 15px}
  .game-foot .text-button{font-size:13px}
  #stagePrompt{bottom:10px;gap:10px;padding:6px 8px 6px 12px;border-radius:13px}
  #stagePrompt span{font-size:11px}
  #stagePrompt strong{font-size:18px}
  #stagePrompt button{font-size:13px;padding:8px 12px}
}
