/* Banner and runtime share the same original sculpted green/pink character. */
@font-face{font-family:Inter;src:url(assets/inter.woff2) format('woff2');font-display:swap}
@font-face{font-family:'Space Grotesk';src:url(assets/space-grotesk.woff2) format('woff2');font-display:swap}
:root{--bg:#f7f0df;--text:#203c2a;--muted:#526a53;--lime:#8abb34;--pink:#e99aa7;--cyan:#315ed3;--yellow:#e2b24c;--font:Inter,system-ui,sans-serif}
button{touch-action:manipulation}#stage:focus-visible{outline:3px solid var(--cyan);outline-offset:-3px}
.hud{font-size:16px}.pill{height:38px;background:#fffaf0;border:1px solid #d7dec4;box-shadow:0 3px 0 #526b3020;color:var(--text)}
.pill strong,.overlay h1,.overlay h2,.result,.board-score{font-family:'Space Grotesk',sans-serif}
.icon-btn{background:#fffaf0;border:1px solid #d7dec4;color:var(--text);box-shadow:0 3px 0 #526b3020}
.coach{position:fixed;z-index:2;left:10px;right:10px;top:55px;margin:0;text-align:center;font-size:11px;line-height:18px;color:#3e5b3e;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.coach{display:flex;justify-content:center;align-items:center;gap:9px;font-weight:600}#harvest-track{display:inline-flex;gap:4px}#harvest-track[hidden]{display:none}#harvest-track i{width:8px;height:8px;border-radius:50%;background:#c1cbab;box-shadow:inset 0 1px 2px #526a5330}#harvest-track .filled{background:#e97947;box-shadow:inset 0 1px 1px #fff6c7,0 1px 2px #b65d2930}#hud-score{display:inline-block;transform-origin:center}
body:not(.is-playing) .coach{display:none}
.overlay{background:#3b503e66;backdrop-filter:blur(3px)}
.panel{width:min(420px,100%);background:#fffaf0;border:1px solid #d7dec4;border-radius:27px;padding:24px;gap:12px;box-shadow:0 7px 0 #526b3033,0 18px 38px #263f2420}
.overlay h1,.overlay h2{color:var(--text);text-shadow:none;font-size:clamp(29px,7vw,43px);letter-spacing:-.05em}
.overlay h2{font-size:clamp(26px,6vw,36px)}.overlay p{color:var(--muted)}
.cover{width:100%;height:120px;object-fit:cover;object-position:center 70%;border-radius:17px}
.eyebrow{font-size:9px!important;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.goal{font-size:16px;line-height:1.4}.hint{font-size:11px}.note{font-size:11px;color:#70505a!important;background:#f0dce0}
.btn{background:#ff773c;color:#203c2a;box-shadow:0 4px 0 #c65a32;font-size:16px;min-height:48px;min-width:135px;padding:10px 18px}
.btn-alt,.btn-ghost{background:#e4edda;color:#203c2a;box-shadow:0 4px 0 #b8c9a6;border:0}
.btn:hover{background:#ff834c}.btn-alt:hover,.btn-ghost:hover{background:#dae8ca}
.pips i{border-color:#9cad83;background:#f6f5e7}.board-score .p1 .num{color:#365a28}.board-score .p2 .num{color:#743e49}
.modes{gap:10px;width:100%}.modes .btn{flex:1}
.help{width:100%;font-size:11px;color:var(--muted);text-align:left}.help summary{cursor:pointer;text-align:center;padding:5px;min-height:28px}
.controls{font-size:11px;padding:8px;line-height:1.65;background:#eef1e3}.controls b{color:#466330}
.help summary:focus-visible{outline:3px solid var(--cyan);border-radius:8px}
.result,.best,.stats{font-variant-numeric:tabular-nums}.result{font-size:27px}.result strong{color:var(--text)}.best,.stats{font-size:13px}
@media(max-width:370px){.panel{padding:19px}.btn{min-width:110px;padding:10px 12px}.pill{padding:0 10px}.hud{font-size:14px}}
@media(max-width:500px){.mode-2p .hud{left:8px;right:8px;gap:4px}.mode-2p .hud-side{gap:4px}.mode-2p .pill{height:34px;padding:0 7px;gap:4px}.mode-2p .pill .label{font-size:9px}.mode-2p .swatch{width:10px;height:10px;border-width:1px;box-shadow:0 0 0 1px currentColor}.mode-2p .pips{gap:3px}.mode-2p .pips i{width:8px;height:8px;border-width:1px}}
@media(max-height:460px){.panel{gap:8px;padding:16px 20px}.cover{height:84px}.overlay h1{font-size:32px}.overlay h2{font-size:28px}.goal{font-size:14px}.btn{min-height:44px}.hint{font-size:10px}}
@media(max-height:360px){.cover{display:none}.panel{gap:7px;padding:15px 20px}.overlay h1,.overlay h2{font-size:28px}.coach{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
