@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--paper:#f7f7ef;--ink:#263b2d;--muted:#7c8278;--line:#dfe2d6;--green:#375c39}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'DM Sans',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;transition:background .18s,transform .18s}button:focus-visible,a:focus-visible{outline:3px solid #a1bb5e;outline-offset:4px}button:active{transform:translateY(2px)}.site-header{height:91px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5.3%;gap:25px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font:700 24px 'Space Grotesk',sans-serif;letter-spacing:-1px}.brand-mark{font-size:30px;transform:rotate(-15deg)}.edition{font:600 8px 'DM Sans',sans-serif;letter-spacing:1px;border-left:1px solid #cbd1c1;line-height:14px;padding-left:12px;margin-left:5px;max-width:70px}.site-header nav{display:flex;gap:31px;align-self:stretch}.nav-link{border:0;background:none;padding:0 3px;color:#7a8075;font-size:13px;position:relative}.nav-link.active{color:var(--ink);font-weight:700}.nav-link.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:3px;background:var(--green)}.nav-link span{background:#e7eadf;border-radius:4px;font-size:10px;padding:3px 5px;margin-left:4px}.sound-button{display:flex;align-items:center;gap:8px;background:none;border:1px solid var(--line);padding:9px 13px;border-radius:6px;font-size:11px}.sound-button>span:first-child{font-size:18px}main{max-width:1440px;padding:0 5.3%;margin:auto}.intro{display:flex;justify-content:space-between;align-items:center;padding:40px 0 29px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.6px;display:flex;align-items:center;gap:7px}.eyebrow i{width:6px;height:6px;background:#7e9869;border-radius:50%}h1{font:600 clamp(30px,3.1vw,46px)/1.12 'Space Grotesk',sans-serif;letter-spacing:-1.9px;margin:14px 0 0}h1 em{font-style:normal;color:#789169}.intro>p{font-size:12px;line-height:1.9;color:#7e8379;padding-top:24px}.arcade-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:25px}.game-frame{position:relative;background:#aac7bd;border-radius:9px;overflow:hidden;aspect-ratio:960/620;border:1px solid #c7d3bd;isolation:isolate}canvas{width:100%;height:100%;display:block;image-rendering:pixelated}.game-top{position:absolute;inset:19px 19px auto;display:flex;justify-content:space-between;align-items:center;z-index:4;pointer-events:none}.location{background:#f5f7e8dc;border:1px solid #ffffff60;padding:8px 10px;border-radius:4px;font-size:8px;font-weight:700;letter-spacing:1.1px;display:flex;align-items:center;gap:6px}.location i{width:5px;height:5px;background:#63825d;border-radius:50%}.game-tools{display:flex;gap:7px;pointer-events:auto}.game-tools button{width:30px;height:30px;border:1px solid #fff8;border-radius:4px;background:#f5f7e8b0;font-size:17px}.score-display{position:absolute;left:50%;top:24px;transform:translateX(-50%);display:flex;align-items:center;flex-direction:column;color:#fffbea;text-shadow:0 2px #385a6266;z-index:2;pointer-events:none}.score-display>span{font-size:9px;letter-spacing:2px;font-weight:700}.score-display strong{font:700 65px/1.1 'Space Grotesk',sans-serif;letter-spacing:-3px}.score-display small{font-size:8px;letter-spacing:1px;margin-top:3px}.timer{position:absolute;top:128px;left:calc(50% - 62px);width:124px;padding:3px;height:12px;background:#294f4360;border:1px solid #eaf4da70;border-radius:3px;z-index:2}.timer>div{height:100%;background:#e0edac;transition:width .08s linear;width:100%}.game-overlay{position:absolute;inset:0;z-index:5;display:flex;justify-content:center;align-items:center;background:linear-gradient(transparent 20%,#122d2533)}.game-overlay.hidden{display:none}.start-card{background:#f9faecdf;backdrop-filter:blur(8px);border:1px solid #fff9;border-radius:9px;text-align:center;padding:27px 32px 20px;margin-top:35px;box-shadow:0 10px 35px #203c3020;max-width:90%}.little-label{font-size:7px;letter-spacing:1.5px;font-weight:700;color:#77836c}.start-card h2{font:600 30px 'Space Grotesk',sans-serif;letter-spacing:-1px;margin:12px 0 8px}.start-card p{font-size:10px;color:#79806e;margin:0 0 22px}.primary-button{display:flex;align-items:center;justify-content:space-between;gap:35px;margin:auto;background:#355b39;color:#f6f8e9;border:1px solid #284a2d;border-bottom:4px solid #243f28;border-radius:5px;padding:13px 19px;font-size:11px;letter-spacing:1.5px;font-weight:700;min-width:210px}.primary-button:hover{background:#466e43}.start-hint{display:block;font-size:8px;color:#8b917f;margin-top:13px}.chop-hints{position:absolute;bottom:24px;left:30px;right:30px;display:flex;justify-content:space-between;pointer-events:none;z-index:3;color:#f7fae5;font-size:8px;letter-spacing:1.3px;font-weight:700}.chop-hints span{display:flex;align-items:center;gap:9px}.chop-hints kbd{background:#f9fceb25;border:1px solid #f9fceb70;width:27px;height:25px;color:#fff;font-size:15px}.touch-zones{position:absolute;inset:60px 0 0;display:flex;z-index:1}.touch-zones button{width:50%;border:0;background:transparent;touch-action:manipulation}.game-footer{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:14px 1px;color:#8a8f81;font-size:9px}.game-footer>span{display:flex;align-items:center;gap:6px}.live-dot{width:5px;height:5px;background:#7c9863;border-radius:50%}.game-footer>div{display:flex;gap:18px;align-items:center}kbd{display:inline-grid;place-items:center;min-width:16px;height:17px;background:#eeefe5;border:1px solid #d9ddcf;border-radius:3px;font:10px 'DM Sans',sans-serif;color:#64715e}#restartBtn{border:0;background:none;padding:0;color:#6c7b60;font-size:14px}#restartBtn span{font-size:9px;margin-left:3px}.sidebar{display:flex;flex-direction:column;gap:16px}.panel{border:1px solid var(--line);border-radius:8px;padding:21px}.panel-label{font-size:9px;letter-spacing:1.3px;font-weight:700;display:flex;align-items:center;justify-content:space-between}.trophy{font-size:23px;color:#82926a}.best-panel{background:#eef1e4}.best-value{display:flex;align-items:baseline;gap:10px;margin-top:5px}.best-value strong{font:600 48px 'Space Grotesk',sans-serif;letter-spacing:-2px}.best-value>span{font-size:8px;letter-spacing:1.4px;color:#8b957b}.best-panel>p{font-size:10px;color:#838b76;margin:4px 0 21px}.best-bottom{display:flex;justify-content:space-between;font-size:9px;color:#8b927e}.best-bottom b{color:#627452;font-weight:500}.milestone-track{height:4px;background:#dce2ce;border-radius:3px;margin-top:9px;overflow:hidden}.milestone-track>div{height:100%;background:#809b61;width:0}.setup-panel label{display:block;font-size:10px;margin:23px 0 10px;color:#727b67}.mode-switch{display:flex;background:#eaece2;padding:4px;border-radius:5px}.mode-switch button{width:50%;border:0;background:none;border-radius:3px;font-size:10px;padding:9px 0;color:#929782}.mode-switch button.selected{background:#fffef5;color:#405936;box-shadow:0 1px 4px #233d2010;font-weight:700}.mode-description{font-size:9px;color:#919884;margin:9px 0 0}.setup-panel label:nth-of-type(2){margin-top:23px}.scenery-options{display:flex;gap:9px}.scenery{border:1px solid transparent;border-radius:4px;background:none;padding:3px;width:33.333%;font-size:8px;color:#90967e}.scenery.selected{border-color:#7d9961;background:#eff3e5;color:#455e37}.scene-art{display:flex;justify-content:center;align-items:flex-end;height:44px;margin-bottom:7px;font-size:42px;line-height:35px;overflow:hidden;border-radius:2px;letter-spacing:-9px;padding-right:7px}.forest-art{background:linear-gradient(#bad6cb 70%,#81a777 70%);color:#3e715d}.sunset-art{background:linear-gradient(#e7bc95 70%,#a78c64 70%);color:#74654f}.snow-art{background:linear-gradient(#ccdfe3 70%,#f5f8ed 70%);color:#82a6a2}.tip-panel{display:flex;gap:12px;padding:3px 7px}.tip-icon{color:#91a477;font-size:22px}.tip-panel h3{font-size:10px;font-weight:600;margin:3px 0 7px}.tip-panel p{font-size:9px;line-height:1.8;color:#959a8c;margin:0}.bottom-section{display:flex;justify-content:space-between;gap:22px;padding:32px 0 34px;border-bottom:1px solid var(--line)}.how-title .eyebrow{font-size:7px;letter-spacing:1px;color:#939b86}.how-title h2{font:500 26px 'Space Grotesk',sans-serif;letter-spacing:-.8px;margin:10px 0 0}.instruction{display:flex;align-items:flex-start;gap:12px;padding-top:7px}.step{border:1px solid #dce2d0;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;flex-shrink:0;font-size:9px;color:#8b9a79}.instruction h3{font-size:10px;font-weight:600;margin:2px 0 8px}.instruction p{font-size:9px;color:#919887;margin:0;line-height:1.6}footer{display:flex;justify-content:space-between;align-items:center;color:#a1a595;font-size:8px;padding:24px 0}.footer-brand{font:700 12px 'Space Grotesk',sans-serif;letter-spacing:.5px;color:#68785e}dialog{border:1px solid #d5dec7;border-radius:12px;background:var(--paper);color:var(--ink);padding:30px;max-width:650px;width:90%;box-shadow:0 30px 100px #0f271944}dialog::backdrop{background:#163123aa;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h2{font:600 30px 'Space Grotesk',sans-serif;margin:10px 0}.close-dialog{border:0;background:#e9edde;border-radius:50%;width:30px;height:30px;font-size:23px}dialog>p{font-size:12px;color:#7b8670;line-height:1.7}.character-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:25px}.character-card{border:1px solid #dce3d0;border-radius:6px;background:#eef2e4;padding:14px 6px;text-align:center}.character-card.selected{border:2px solid #638351}.character-card:disabled{opacity:.5;cursor:default}.character-card canvas{width:80px;height:90px;margin:auto}.character-card strong,.character-card small{display:block;margin-top:9px}.character-card strong{font-size:11px}.character-card small{font-size:9px;color:#78856c}.record-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.record-grid div{padding:20px;background:#edf1e3;border-radius:7px}.record-grid strong{display:block;font:600 36px 'Space Grotesk',sans-serif}.record-grid span{font-size:11px;color:#81916e}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#294a32;color:#f7faed;padding:12px 22px;border-radius:6px;font-size:12px;opacity:0;transition:.2s;pointer-events:none;z-index:30}#toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:1500px){.game-frame{aspect-ratio:960/650}.intro{padding-top:48px}}@media(max-width:1050px){.arcade-layout{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.panel{padding:17px}.game-frame{aspect-ratio:4/3}.intro>p{font-size:10px}.bottom-section{flex-wrap:wrap}.how-title{width:100%}.site-header nav{gap:20px}.edition{display:none}.start-card{padding:20px}.start-card h2{font-size:26px}.key-help{display:none}}@media(max-width:740px){.site-header{padding:12px 5% 0;flex-wrap:wrap;gap:8px;height:105px}.brand{font-size:19px}.brand-mark{font-size:25px}.site-header nav{order:3;width:100%;height:34px;justify-content:center;gap:35px}.nav-link{font-size:11px}.sound-button{font-size:10px;padding:6px 9px}main{padding:0 5%}.intro{padding:29px 0 24px}.intro>p{display:none}h1{font-size:35px}.eyebrow{font-size:8px}.arcade-layout{grid-template-columns:1fr}.game-frame{aspect-ratio:4/4.4}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tip-panel{grid-column:1/-1;justify-content:center;padding:8px}.setup-panel label{margin-top:16px}.panel-label{font-size:8px;letter-spacing:.7px}.panel{padding:15px}.best-panel>p{line-height:1.6}.scene-art{height:36px;font-size:33px}.scenery-options{gap:3px}.scenery{font-size:7px}.mode-switch button{font-size:9px}.game-footer{font-size:8px}.game-footer>div{gap:10px}.bottom-section{display:grid;grid-template-columns:1fr;padding-top:24px;gap:20px}.instruction{padding:0}.instruction h3{font-size:12px}.instruction p{font-size:11px}footer{flex-wrap:wrap;gap:16px}footer>span:last-child{width:100%}.score-display{top:65px}.timer{top:165px}.location{font-size:7px}.game-top{inset:15px 14px auto}.start-card{margin-top:90px;padding:24px 18px}.start-card h2{font-size:26px}.start-card p{font-size:9px}.chop-hints{left:20px;right:20px;font-size:7px}.character-grid{grid-template-columns:1fr 1fr}.best-value strong{font-size:43px}.setup-panel label:nth-of-type(2){margin-top:16px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
