:root{--ink:#213d37;--muted:#64766b;--paper:#f5f3e8;--gold:#d9aa56;--green:#234c40;--line:#d7ddca}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #c2872b;outline-offset:3px}button:disabled{cursor:default;opacity:.45}header{max-width:1200px;margin:auto;padding:26px 32px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}a{color:inherit}.brand{font:30px Georgia,serif;text-decoration:none;letter-spacing:-1px}.brand span{display:block;font:9px ui-sans-serif,system-ui;letter-spacing:2.8px;margin-top:4px}.journal{font-size:12px;color:var(--muted);border:1px solid var(--line);padding:8px 13px;border-radius:20px}main{max-width:1200px;margin:auto;padding:36px 32px 20px}.intro{display:grid;grid-template-columns:1.4fr 1fr;column-gap:50px;align-items:end}.intro .eyebrow{grid-column:1/-1}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:750;color:var(--muted)}h1{font:clamp(32px,4vw,48px)/1.12 Georgia,serif;font-weight:400;margin:15px 0 25px;letter-spacing:-1.2px}h1 em{color:#728865;font-weight:400}p{margin:0 0 14px}.intro p{max-width:410px;color:var(--muted);margin:0 0 28px}#chapters{display:flex;gap:9px;margin:8px 0 25px;flex-wrap:wrap}.chapter{border:1px solid var(--line);background:transparent;border-radius:50%;width:37px;height:37px;font-size:12px;color:var(--muted)}.chapter.current{background:var(--green);border-color:var(--green);color:white}.chapter.done:after{content:'·';color:#ca9c47;margin-left:2px}.play-layout{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(310px,1fr);gap:22px;align-items:start}.garden-wrap{border-radius:22px;overflow:hidden;background:#173a32;box-shadow:0 16px 35px #23443112;color:#ecf1df}.garden-top{padding:24px 26px 5px;display:flex;justify-content:space-between;align-items:center}.light{color:#a9bda1}h2{font:25px/1.2 Georgia,serif;font-weight:400;margin:6px 0 12px}.chip{font-size:11px;background:#244b40;border:1px solid #63816a;border-radius:30px;padding:7px 11px;white-space:nowrap}.garden{position:relative;width:100%;aspect-ratio:600/480;background:radial-gradient(ellipse at 50% 45%,#30504466,transparent 65%)}#links{position:absolute;inset:0;width:100%;height:100%}.thread{stroke:#7a9c81;stroke-width:2;opacity:.65}.thread.closed{stroke:#bd9a5c;stroke-dasharray:5 8;opacity:.4}.link-label{fill:#d1dfc2;font:14px system-ui;paint-order:stroke;stroke:#173a32;stroke-width:5px;stroke-linejoin:round}.fly{position:absolute;width:15%;aspect-ratio:1;transform:translate(-50%,-50%);border:1px solid #8caab0;border-radius:50%;background:#1c423d;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 5px #aacfd00b}.fly.solo{border-color:#d1ac66;background:#35422d}.fly.flashing{box-shadow:0 0 28px #b4f1e377,0 0 3px 2px #ddffee55;background:#456656}.fly.solo.flashing{box-shadow:0 0 30px #edbc5966;background:#65572b}.sprite{display:block;background-image:url("garden.webp");background-size:200% 200%;background-repeat:no-repeat;aspect-ratio:1}.fly .sprite{width:85%;background-position:100% 0}.fly.solo .sprite{background-position:0 0}.fly-name{position:absolute;top:-11px;left:-5px;border-radius:50%;width:23px;height:23px;text-align:center;font-size:12px;font-weight:750;color:#173a32;background:#d2e8e2;line-height:23px}.solo .fly-name{background:#e1bc76}.phase{position:absolute;right:-7px;bottom:0;background:#0e2825;border:1px solid #6c8a72;width:27px;height:27px;text-align:center;border-radius:50%;line-height:25px;font-size:13px}.phase-dots{position:absolute;bottom:-18px;display:flex;gap:3px}.phase-dots i{width:4px;height:4px;border-radius:50%;background:#668877}.phase-dots i.active{background:#f1e9ba}.garden-caption{position:absolute;bottom:12px;left:0;width:100%;text-align:center;color:#b6ccb7;font-size:10px;display:flex;align-items:center;justify-content:center;gap:6px}.key{width:6px;height:6px;border-radius:50%;display:inline-block;background:#c8e1da}.key.amber{background:#d6ac60;margin-left:12px}.inspect{padding:15px 22px 19px;background:#102f2a}.inspect label{font-size:11px;display:flex;justify-content:space-between;color:#b7cdb8;gap:8px}.inspect output{color:#f0e3b3}input[type=range]{width:100%;accent-color:#d3ba74;min-height:27px}.inspector-actions{display:flex;align-items:center;gap:12px;font-size:10px;color:#9cbba4}.small{font-size:11px;padding:5px 12px;border:1px solid #6d8e74;border-radius:6px;background:transparent;color:#d4e1cd}.control-card{background:#fcfbf3;border:1px solid var(--line);border-radius:20px;padding:25px}.control-card h3{font:23px/1.25 Georgia,serif;font-weight:400;margin:8px 0 12px}.control-card p{font-size:13px;color:var(--muted)}.divider{height:1px;background:var(--line);margin:19px 0}.control-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.control-heading h3{font:17px Georgia,serif;margin:0}.control-heading span{font-size:10px;color:var(--muted)}.edge-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:14px 0 20px}.edge{display:flex;align-items:center;justify-content:space-between;gap:7px;border:1px solid #d6ddce;padding:9px 11px;background:#f2f4e9;color:#405649;border-radius:9px;min-height:43px;text-align:left;font-size:12px}.edge small{font-size:9px;color:#768171}.edge.closed{background:#ece1c9;border-color:#c6a46d;color:#765524}.edge .mini{width:22px;background-position:0 100%}.primary{width:100%;border:1px solid var(--green);background:var(--green);color:#f6f2dd;padding:13px 16px;border-radius:10px;font-size:13px;font-weight:650;display:flex;justify-content:space-between}.primary:hover{background:#35634e}.secondary{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:7px;margin-top:8px}.secondary button{border:1px solid var(--line);background:transparent;border-radius:8px;font-size:11px;padding:8px 3px;color:#62735b}.message{font-size:12px;padding:14px 13px;border-radius:10px;background:#eef1e5;color:#60715c;margin-top:15px;min-height:61px}.message.win{background:#dfebd7;color:#335a37;border:1px solid #b9cea5}.next{margin-top:13px;background:#8b6b32;border-color:#8b6b32}.score-card{display:grid;grid-template-columns:1fr 1.2fr;gap:30px;background:#eeefe1;border:1px solid var(--line);border-radius:18px;padding:25px;margin:24px 0}.score-card h2{font-size:23px}.score-card p{font-size:12px;color:var(--muted);max-width:400px}.timeline{display:grid;align-content:center;gap:5px}.timeline-row{display:grid;grid-template-columns:60px repeat(6,1fr);gap:5px;align-items:center}.timeline-row b{font-size:10px;letter-spacing:.6px;font-weight:650}.timeline-cell{border-radius:5px;background:#d9e3d1;text-align:center;padding:4px 0;font-size:10px;color:#57705e}.timeline-cell.flash{background:#376454;color:#f9efb8}.timeline-row.solo .timeline-cell{background:#e8d8b7;color:#8d6733}.timeline-row.solo .timeline-cell.flash{background:#ab813f;color:#fff8de}.timeline-head{font-size:9px;color:#7b896f;text-align:center}.placeholder{display:flex;align-items:center;justify-content:center;gap:15px;font:17px Georgia,serif;color:#7e8f6d}.lamp{width:80px;flex-shrink:0;background-position:100% 100%}.how{border-top:1px solid var(--line);padding:22px 0 5px;color:var(--muted)}summary{cursor:pointer;font:20px Georgia,serif;color:var(--ink)}.rule-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;padding-top:20px;font-size:12px}.rule-grid b{display:block;margin-bottom:7px;color:#4c624b}.small-note{font-size:10px;max-width:900px;margin-top:5px}footer{border-top:1px solid var(--line);margin-top:22px;padding:18px 0;display:flex;justify-content:space-between;font-size:10px;color:#7a866f}footer a{text-decoration:none}.source{max-width:760px}.source h1{font-size:38px}.source h2{margin-top:30px}.source p,.source li{font-size:14px}.source pre{white-space:pre-wrap;font-size:11px;background:#e9ecde;padding:20px;border-radius:12px}button[hidden]{display:none}
@media(max-width:780px){header{padding:20px}.brand{font-size:26px}.journal{font-size:10px;padding:7px 10px}main{padding:25px 16px 10px}.intro{display:block}.intro p{max-width:560px;margin-bottom:20px;font-size:13px}.intro .eyebrow{font-size:8px;letter-spacing:1.7px}h1{font-size:34px;margin-bottom:16px}.play-layout{grid-template-columns:1fr;gap:16px}.garden-top{padding:19px 20px 3px}.garden-top h2{font-size:23px}.garden-wrap{border-radius:18px}.control-card{padding:20px}.score-card{grid-template-columns:1fr;gap:15px;padding:20px}.score-card h2{font-size:22px}.rule-grid{grid-template-columns:1fr;gap:0}.garden-caption{bottom:8px;font-size:9px}.fly-name{width:20px;height:20px;line-height:20px;font-size:10px;top:-7px}.phase{width:24px;height:24px;line-height:22px;font-size:11px;right:-7px;bottom:-3px}.phase-dots{bottom:-14px;gap:2px}.phase-dots i{width:3px;height:3px}.edge-buttons{grid-template-columns:repeat(3,1fr)}.edge{padding:9px 8px}.edge small{font-size:8px}.edge .mini{display:none}.garden{aspect-ratio:600/490}.score-card p{max-width:none}.timeline-row{grid-template-columns:55px repeat(6,1fr)}footer{gap:20px}.control-card h3{font-size:21px}.control-heading h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
