:root{font-family:"Manrope","PingFang SC","Microsoft YaHei",sans-serif;color:#3d4e2c;background:#a8c765;font-synthesis:none;--cream:#fff5da;--ink:#405638;--curve:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}p,h1,h2{margin:0}p{text-wrap:pretty}h1,h2{text-wrap:balance}a:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid #fff7ce;outline-offset:5px}h1:focus{outline:none}.heading-2{font-size:48px;line-height:1;font-weight:600}.heading-5{font-size:24px;line-height:32px;font-weight:600}.title-2{font-size:18px;line-height:28px;font-weight:600}.body-3{font-size:16px;line-height:24px}.caption-2{font-size:14px;line-height:20px}.caption-3{font-size:12px;line-height:16px;font-weight:600}.button-sm{font-size:14px;line-height:20px;font-weight:600}
.world{position:relative;isolation:isolate;display:grid;grid-template-rows:88px minmax(0,1fr) 64px;min-height:100svh;overflow:hidden}.map-world{height:100svh}.environment{position:absolute;inset:0;z-index:-2;background:#b2ca68 url('../assets/environment.webp') center/cover no-repeat;pointer-events:none}.environment::after{content:"";position:absolute;inset:0;background:#f4e4a0;opacity:.06;pointer-events:none}
header{position:relative;z-index:4;display:flex;justify-content:space-between;align-items:center;padding:16px 3.5%;gap:24px}.brand{display:flex;align-items:center;gap:12px;padding:8px 16px 8px 8px;border-radius:16px;background:#fff5daed;box-shadow:0 4px 0 #7d87432b,0 8px 24px #44522112;transform:rotate(-2deg)}.brand-mark{display:block;width:48px;height:48px;background:#ede0b3;border:2px solid #fffbdf;border-radius:50%;padding:4px}.brand-mark svg{width:100%;height:100%}.brand-en{display:block;letter-spacing:2px;font-size:10px;line-height:16px;color:#8e8b62}.brand-cn{display:block;font-size:20px;line-height:28px;letter-spacing:3px}.pet-status{display:flex;align-items:center;gap:12px;padding:8px 16px;background:#fff5dae8;border-radius:999px;box-shadow:0 3px 0 #7d874326}.pet-status .caption-3{display:block;color:#7e8259;font-weight:400}.pet-status .title-2{font-size:14px;line-height:20px}.status-leaf{font-size:30px;line-height:36px;color:#78964c}
.home{min-height:0;position:relative;animation:arrive .5s var(--curve)}.map-scroll{width:100%;height:100%;padding:0 3%;outline-offset:-5px!important}.timeline{position:relative;display:grid;grid-template-columns:repeat(100,minmax(0,1fr));grid-template-rows:repeat(100,minmax(0,1fr));height:100%;width:100%;isolation:isolate}.growth-path{position:absolute;inset:0;width:100%;height:100%;z-index:-1;overflow:visible;pointer-events:none}.road-edge{fill:none;stroke:#7e904b;stroke-width:52;opacity:.2;filter:url(#soft-edge);stroke-linecap:round}.road-fill{fill:#e8ce8d;stroke:#d5c487;stroke-width:3;stroke-linejoin:round;filter:url(#sand-texture)}.road-light{fill:none;stroke:#f8e8b0;stroke-width:2;opacity:.45}
.node{display:flex;position:relative;min-height:0;min-width:0;flex-direction:column;align-items:center;justify-content:flex-end;isolation:isolate;text-align:center;transition:transform .5s var(--curve);transform-origin:50% 85%;z-index:1}.node.below{z-index:2}.scene{position:relative;flex:1;min-height:0;width:100%;display:flex;align-items:flex-end;justify-content:center}.scene::before{content:"";position:absolute;z-index:-1;left:14%;right:8%;bottom:3%;height:15%;border-radius:50%;background:#3f682a;filter:blur(10px);opacity:.24}.scene-image{display:block;width:100%;height:100%;min-height:0;object-fit:contain;object-position:center bottom;user-select:none;pointer-events:none}.node-label{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;background:#fff4d4;border:1px solid #fff8e6;border-radius:999px;padding:4px 12px 4px 4px;box-shadow:0 3px 0 #9e8f5855,0 5px 12px #4c682327;margin-top:-4px;white-space:nowrap}.number{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:12px;font-weight:600;background:#e4ce98;color:#776443}.node h2{font-size:18px;line-height:28px;font-weight:600;letter-spacing:4px}.visit-mark{color:#8c9565;font-size:14px}.node-caption{flex-shrink:0;line-height:20px;color:#41552a;text-shadow:0 1px 3px #f5f5b8,0 0 5px #f5f5b8;margin-top:4px;font-weight:500;letter-spacing:1px}.node.selected .node-label{background:#fce3a1;border-color:#fff5cc;box-shadow:0 0 0 3px #fff3c880,0 4px 0 #8f824a66,0 5px 16px #4c68232b}.node.selected .number{background:#748e48;color:#fff7d9}.node.selected .node-caption{color:#fffce4;background:#6e8844;padding:0 12px;border-radius:999px;text-shadow:none}.node.visited .visit-mark{color:#668145}.node:hover{transform:translateY(-5px) scale(1.035);z-index:5}.node:active{transform:scale(.98)}.node:focus-visible{border-radius:24px;z-index:5}
footer{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:8px 4.5% 16px;background:none}.progress{display:flex;align-items:center;gap:12px;padding:4px 16px;background:#fff4d9e8;border-radius:999px;box-shadow:0 3px 8px #4c682315}.progress-track{display:flex;align-items:center;gap:0}.progress-track a{width:24px;height:28px;display:grid;place-items:center}.progress-track span{width:7px;height:7px;background:#ccc7a5;border-radius:50%}.progress-track .filled span{background:#879b58}.progress-track .active span{outline:1px solid #6b8544;outline-offset:3px;background:#6b8544}.muted{color:#989879}.footer-note{color:#40572c;text-shadow:0 1px 6px #ecedb1;font-size:12px;letter-spacing:2px}.continue{display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:8px 16px;border-radius:999px;background:#fff1c7;color:#6b663b;box-shadow:0 3px 0 #9b8d5666;transition:transform .5s var(--curve);white-space:nowrap}.continue:hover{transform:translateY(-2px)}.continue:active{transform:scale(.98)}.mobile-hint{display:none}
.chapter-world{min-height:100svh;grid-template-rows:88px 1fr 64px}.chapter{padding:24px 6%;animation:arrive .5s var(--curve)}.back{display:inline-block;padding:8px 16px;background:#fff4d8;border-radius:999px}.chapter-content{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:48px;max-width:1120px;margin:24px auto}.chapter-art{min-width:0;filter:drop-shadow(0 16px 10px #3b572b30)}.chapter-art .scene-image{height:auto}.chapter-copy{padding:32px;background:#fff6dfed;border-radius:24px;box-shadow:0 8px 24px #42552d15}.eyebrow{letter-spacing:2px;color:#798256}.chapter-copy h1{margin:16px 0 24px}.chapter-copy h1 span{color:#97a367}.placeholder-note{margin:24px 0;padding:16px 0}.placeholder-note p{margin-top:12px;color:#78805c}.chapter-nav{display:flex;justify-content:space-between;max-width:1100px;margin:24px auto;color:#445e32;font-size:14px}.chapter-nav a{background:#fff3d6e8;padding:8px 16px;border-radius:999px}.chapter-nav a:hover{text-decoration:underline}.not-found{text-align:center;padding:80px 24px}.not-found p{margin:24px}.skip{position:fixed;left:12px;top:-80px;background:#fff5dc;padding:12px;z-index:10}.skip:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-aspect-ratio:2/1){.timeline{max-width:170vh;margin:auto}.map-scroll{padding:0 5%}}
@media(max-width:900px) and (min-width:701px){.world{grid-template-rows:76px minmax(0,1fr) 56px}header{padding:12px 24px}.brand-mark{width:40px;height:40px}.brand-cn{font-size:18px}.brand-en{letter-spacing:1px}.node h2{font-size:16px;letter-spacing:2px}.node-label{gap:8px}.node-caption{font-size:10px}.footer-note{display:none}}
@media(max-width:700px){.world{grid-template-rows:88px minmax(0,1fr) 88px}.brand{padding:4px 12px 4px 4px}.brand-cn{font-size:16px;line-height:24px;letter-spacing:2px}.brand-en{font-size:8px;letter-spacing:1px}.brand-mark{width:40px;height:40px}.pet-status{padding:8px}.pet-status .title-2{font-size:12px;line-height:16px}.status-leaf{display:none}.pet-status .caption-3{font-size:10px}header{padding:16px;gap:8px}.environment{background-size:auto 100%;background-position:left center}.map-scroll{overflow:auto;padding:0 24px;scrollbar-color:#819751 #b9ce7b;scrollbar-width:thin}.timeline{min-width:1050px;min-height:540px}.home{padding-bottom:24px}.mobile-hint{display:block;position:absolute;bottom:0;left:0;right:0;text-align:center;color:#4c652f;text-shadow:0 1px 4px #faf0cd}footer{padding:16px;gap:8px}.progress{gap:8px;padding:4px 12px}.progress-track a{width:20px}.progress>.caption-3:first-child{display:none}.footer-note{display:none}.continue{gap:8px;padding:8px 12px}.chapter-world{height:auto;grid-template-rows:88px auto 88px}.chapter{padding:16px 24px}.chapter-content{grid-template-columns:1fr;gap:16px}.chapter-art{max-width:360px;justify-self:center}.chapter-copy{padding:24px}.chapter-copy h1{font-size:36px;line-height:40px}.chapter-nav{gap:8px;font-size:12px}.chapter-nav a{padding:8px 12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.node:hover,.continue:hover{transform:none}}
/* V3: seven authored environment details sit below every chapter, and never capture input. */
.environment-cluster{position:relative;z-index:0;min-height:0;min-width:0;display:flex;align-items:flex-end;justify-content:center;pointer-events:none;user-select:none}
.environment-cluster img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;object-position:center bottom;pointer-events:none;filter:drop-shadow(2px 4px 3px #49612418)}
