:root{color-scheme:dark;--bg:#111614;--panel:#1b221e;--panel-raised:#222a24;--line:#354037;--muted:#919e91;--text:#f0f0df;--lime:#d0ed82;--ink:#21281b;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;--sans:"Helvetica Neue",Helvetica,Arial,sans-serif}
*{box-sizing:border-box}html{min-width:320px}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased;background-image:radial-gradient(ellipse at 55% 0%,#2533266b,transparent 59%)}button,a,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid var(--lime);outline-offset:5px}button{touch-action:manipulation}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-definitions{position:absolute;width:0;height:0;overflow:hidden}.page-shell{width:min(1248px,calc(100% - 96px));margin:0 auto}.site-header{height:111px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:20px}.brand-mark{display:flex;align-items:center;gap:7px;font-family:var(--mono);font-size:22px;font-weight:900;letter-spacing:-1.4px}.brand-mark>span{padding:5px 6px 5px 4px;color:var(--bg);background:var(--lime);font-size:23px;line-height:1;letter-spacing:-1px}.brand-caption{font-family:var(--mono);font-size:9px;letter-spacing:1.2px;line-height:1.7;color:#9da898}.header-tools{display:flex;align-items:center;gap:9px}.edition{font-family:var(--mono);font-size:9px;letter-spacing:1.6px;color:var(--muted);margin-right:17px}.icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:5px;background:transparent;transition:border-color .15s,background .15s,color .15s}.icon-button:hover{border-color:#788970;background:#263026;color:var(--lime)}.icon-button[aria-pressed=true]{color:var(--lime);border-color:#6f824c}.game-intro{display:flex;align-items:center;justify-content:space-between;padding:43px 0 33px}.eyebrow{font-family:var(--mono);font-size:10px;font-weight:500;letter-spacing:1.8px;color:#b5c1a8;display:flex;align-items:center;gap:8px}.tiny-square{width:5px;height:5px;background:var(--lime)}.eyebrow-divider{color:#52604e;margin:0 2px}h1{font-size:60px;line-height:1.04;letter-spacing:-3.2px;margin:14px 0 12px;font-weight:700}.intro-description{font-size:14px;color:#a9b2a3;margin:0;line-height:1.6}.stage-badge{align-self:stretch;min-width:125px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;padding-top:2px}.stage-badge>span:first-child{font-family:var(--mono);font-size:9px;letter-spacing:1.5px;color:var(--muted)}.stage-badge strong{font-family:var(--mono);font-size:64px;font-weight:400;letter-spacing:-6px;line-height:1.2;color:var(--lime);margin-right:5px}.stage-badge-rule{width:30px;height:3px;background:var(--lime);margin-top:6px}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 262px;align-items:start;gap:28px}.game-panel{border:1px solid #465140;border-radius:8px;overflow:hidden;background:#171e19;box-shadow:0 15px 50px #0003}.game-topbar{height:52px;background:#242c25;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #465140;gap:14px}.live-label{display:flex;align-items:center;gap:8px;min-width:0;font-family:var(--mono);font-size:9px;letter-spacing:1.1px;line-height:1.5;color:#d5dec7}.live-dot{width:5px;height:5px;flex-shrink:0;background:var(--lime);border-radius:50%;box-shadow:0 0 8px #ceea8155}.game-stats{display:flex;align-items:center;gap:16px}.stat{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;font-family:var(--mono);font-variant-numeric:tabular-nums;letter-spacing:.5px;color:#e1e4ce}.stat-label{font-size:8px;color:#929f89;letter-spacing:1px}.stat svg{width:13px;height:13px;color:var(--lime)}.stat-divider{height:14px;width:1px;background:#47523e}.game-viewport{position:relative;isolation:isolate;background:#0e1511;line-height:0;aspect-ratio:3/2;overflow:hidden}.game-viewport canvas{display:block;width:100%;height:100%;object-fit:contain;outline-offset:-4px;touch-action:none;background:#101911}.viewport-corner{position:absolute;pointer-events:none;z-index:2;width:11px;height:11px;border-color:#d0ed8244;border-style:solid}.corner-tl{top:10px;left:10px;border-width:1px 0 0 1px}.corner-tr{top:10px;right:10px;border-width:1px 1px 0 0}.corner-bl{bottom:10px;left:10px;border-width:0 0 1px 1px}.corner-br{bottom:10px;right:10px;border-width:0 1px 1px 0}.game-toolbar{min-height:63px;background:#202820;display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border-top:1px solid #465140;gap:10px}.main-controls,.view-controls{display:flex;align-items:center;gap:7px}.control-button{display:flex;align-items:center;gap:8px;height:36px;padding:0 11px;border:1px solid transparent;border-radius:4px;background:transparent;font-size:11px;font-weight:500;transition:background .15s,border-color .15s}.control-button svg{width:15px;height:15px;color:#c0cbb2}.control-button:hover{background:#303b2c;border-color:#556048}.control-button[aria-pressed=true]{color:var(--lime);background:#303b2c}.control-button kbd{margin-left:5px;color:#84917d;background:#1a211a;min-width:17px;height:19px;border-color:#3c4836;font-size:9px}.stage-select-label{display:flex;align-items:center;position:relative;font-family:var(--mono);font-size:8px;letter-spacing:1px;color:#94a086;border:1px solid #46523b;border-radius:4px;height:34px;padding:0 24px 0 10px;gap:9px}.stage-select-label select{appearance:none;-webkit-appearance:none;background:transparent;border:0;font-family:var(--mono);font-size:11px;color:#e4e8cf;cursor:pointer;padding:5px 0;outline-offset:3px;min-width:20px}.stage-select-label select option{background:#202820;color:var(--text)}.select-chevron{position:absolute;right:8px;top:8px;font-size:13px;color:#b9c7a6;pointer-events:none}.fullscreen-button{width:34px;height:34px;border-color:transparent}.fullscreen-button svg{width:16px;height:16px;color:#b1bea0}.side-panel{border-top:1px solid var(--line);margin-top:0}.objective-card{padding:24px 0 26px;border-bottom:1px solid var(--line)}.card-number{display:block;font-family:var(--mono);font-size:9px;color:#a4b295;letter-spacing:1.2px}.card-number>span{color:#526147;margin:0 7px}h2{font-size:29px;letter-spacing:-.9px;line-height:1.15;font-weight:500;margin:18px 0 14px}.objective-card p{font-size:12px;line-height:1.85;color:#a1ac99;margin:0 0 18px}.objective-legend{display:flex;align-items:center;gap:10px;color:#c8d4b7;font-family:var(--mono);font-size:9px;line-height:1.5}.legend-marker{display:block;width:12px;height:12px;background:var(--lime);border-radius:50%;box-shadow:inset -3px -2px 0 #a2b966}.controls-card{padding:25px 0 22px;border-bottom:1px solid var(--line)}.keyboard-row{display:flex;align-items:center;gap:16px;margin:24px 0 21px}.keyboard-arrows{display:flex;flex-direction:column;align-items:center;gap:4px;flex-shrink:0}.keyboard-arrows>span{display:flex;gap:4px}kbd{font-family:var(--mono);display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;line-height:1;font-size:11px;border:1px solid #4b5742;border-radius:4px;color:#dbe3cc;background:#252e23;box-shadow:0 2px 0 #0b120b}.keyboard-row strong,.key-instruction strong{display:block;font-size:11px;font-weight:500;margin-bottom:5px}.keyboard-row>div>span,.key-instruction>div>span{display:block;font-size:10px;line-height:1.5;color:#929e87}.key-instruction{display:flex;align-items:center;gap:16px;margin:18px 0}.key-instruction>kbd{flex-shrink:0;width:83px}.key-instruction .wide-key{font-size:9px;letter-spacing:.5px}.text-button{padding:0;border:0;background:none;font-size:10px;color:#c9d7b7;margin-top:12px;display:flex;align-items:center;justify-content:space-between;width:100%}.text-button span{color:var(--lime);font-size:18px;transition:transform .15s}.text-button:hover span{transform:translate(2px,-2px)}.heritage-note{display:flex;gap:14px;padding-top:22px;align-items:center;color:#8e9b82}.heritage-symbol{font-size:29px;color:#aabb91;line-height:1}.heritage-note p{font-size:10px;line-height:1.75;margin:0}.heritage-note strong{font-weight:400;color:#b9c6a9}.under-game-hint{font-size:10px;line-height:1.7;margin:16px 0 0;color:#829078;display:flex;align-items:center;gap:5px;flex-wrap:wrap}.under-game-hint>span{color:var(--lime);font-size:15px;margin-right:4px}.under-game-hint kbd{font-size:8px;min-width:15px;height:16px;box-shadow:none;border-color:#35412e;background:transparent;color:#aebd9c}.site-footer{margin-top:43px;min-height:83px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;color:#78876e;font-family:var(--mono);font-size:8px;letter-spacing:1px}.site-footer>div{display:flex;align-items:center;gap:18px}.footer-wordmark{font-weight:700;font-size:11px;letter-spacing:-.5px;color:#b9c7a9}.footer-divider{width:1px;height:13px;background:#39472f}.site-footer>a{display:flex;gap:8px;align-items:center;letter-spacing:0;font-family:var(--sans);font-size:10px;color:#9eae8d;transition:color .15s}.site-footer>a:hover{color:var(--lime)}.site-footer>a svg{width:12px;height:12px}.touch-controls{display:none;align-items:center;justify-content:space-between;padding:20px 28px 24px;border-top:1px solid #3b4934;background:#192119}.d-pad{display:grid;grid-template-columns:43px 43px 43px;grid-template-rows:40px 40px 40px;gap:4px}.direction{border:1px solid #48593c;background:#263321;border-radius:5px;display:flex;align-items:center;justify-content:center;color:#d0e9b4;touch-action:none;user-select:none}.direction:active,.direction.is-pressed{background:#566b3a;border-color:var(--lime)}.direction svg{width:21px;height:21px}.up{grid-area:1/2}.left{grid-area:2/1}.left svg{transform:rotate(-90deg)}.right{grid-area:2/3}.right svg{transform:rotate(90deg)}.down{grid-area:3/2}.down svg{transform:rotate(180deg)}.d-pad-center{grid-area:2/2;background:radial-gradient(circle,#6e815b 2px,transparent 3px);border:1px solid #2e3c27;border-radius:5px}.touch-action{width:77px;height:77px;border-radius:50%;background:#c4e181;color:#26301b;border:5px solid #2f3e24;box-shadow:0 0 0 1px #5d7144,0 4px 0 #0b140a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-family:var(--mono);font-size:9px;font-weight:700;letter-spacing:1px;touch-action:none}.touch-action:active,.touch-action.is-pressed{transform:translateY(2px);box-shadow:0 0 0 1px #b0c883,0 2px 0 #0b140a}.action-dot{width:5px;height:5px;background:#26301b;border-radius:50%}dialog{border:1px solid #677854;border-radius:10px;background:#1d281d;color:var(--text);width:min(480px,calc(100% - 36px));padding:36px;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#030a05b8;backdrop-filter:blur(6px)}dialog h2{font-size:36px;margin:22px 0}dialog p{color:#b5c4a6;font-size:14px;line-height:1.8}dialog .eyebrow{font-size:8px;padding-right:25px}.dialog-close{position:absolute;right:15px;top:15px;width:30px;height:30px}.dialog-close svg{width:15px;height:15px}.primary-button{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-radius:4px;padding:14px 17px;margin-top:24px;background:var(--lime);color:#26311b;font-size:12px;font-weight:600}.primary-button:hover{background:#e0f8a0}.primary-button span{font-size:18px}.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}.game-panel:fullscreen{border:0;border-radius:0;display:flex;flex-direction:column;align-items:center;background:#0e1511}.game-panel:fullscreen .game-topbar,.game-panel:fullscreen .game-toolbar{width:100%;flex-shrink:0}.game-panel:fullscreen .game-viewport{height:calc(100dvh - 115px);width:100%;aspect-ratio:auto}.game-panel:fullscreen canvas{height:100%;width:100%;object-fit:contain}.game-panel:fullscreen .touch-controls{display:none}
@media(min-width:1450px){.page-shell{width:min(1320px,calc(100% - 128px))}.play-layout{grid-template-columns:minmax(0,1fr) 270px;gap:36px}.game-intro{padding-top:48px;padding-bottom:36px}.site-header{height:115px}.objective-card{padding-top:28px}.side-panel h2{font-size:32px}.objective-card p{font-size:13px}}
@media(max-width:1100px){.page-shell{width:calc(100% - 56px)}.play-layout{grid-template-columns:minmax(0,1fr) 225px;gap:23px}.game-topbar{padding:0 15px}.game-stats{gap:10px}.stat{font-size:10px}.stat-label{display:none}.live-label{font-size:8px;letter-spacing:.7px}.objective-card{padding-top:20px;padding-bottom:20px}h2{font-size:27px}.objective-card p{font-size:11px;line-height:1.8}.controls-card{padding-top:20px}.keyboard-row{margin-top:20px;margin-bottom:17px;gap:13px}.key-instruction{gap:13px}.key-instruction>kbd{width:83px}.heritage-note{padding-top:18px}.game-toolbar{padding:10px}.control-button{padding:0 7px;gap:6px}.control-button kbd{display:none}.stage-select-label{padding-left:8px;gap:5px}.under-game-hint{font-size:9px}.stage-badge strong{font-size:59px}}
@media(max-width:850px){.play-layout{grid-template-columns:minmax(0,1fr)}.side-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:40px;margin-top:5px}.objective-card{border-bottom:0;padding-bottom:0}.controls-card{border-bottom:0;padding-bottom:0}.heritage-note{display:none}.objective-card h2 br{display:none}.objective-card h2{font-size:26px}.objective-card p{font-size:12px}.keyboard-row{margin:20px 0 14px}.key-instruction{margin:14px 0}.side-panel .key-instruction:last-of-type{display:none}.text-button{margin-top:17px}.site-footer{margin-top:30px}.game-intro{padding-top:32px}h1{font-size:54px}.edition{font-size:8px;letter-spacing:1px}.game-topbar{padding:0 20px}.stat-label{display:inline}.live-label{font-size:9px}.stat{font-size:11px}.game-stats{gap:16px}.control-button kbd{display:inline-flex}.control-button{padding:0 11px;gap:8px}.game-toolbar{padding:11px 14px}.stage-select-label{gap:9px;padding-left:10px}.under-game-hint{font-size:10px}}
@media(max-width:560px){.page-shell{width:calc(100% - 32px)}.site-header{height:83px}.brand{gap:12px}.brand-mark{font-size:20px}.brand-mark>span{font-size:21px}.brand-caption{font-size:7px;letter-spacing:.7px}.edition{display:none}.header-tools{gap:6px}.header-tools .icon-button{width:33px;height:33px}.header-tools svg{width:17px;height:17px}.game-intro{padding:29px 0 25px}.eyebrow{font-size:8px;letter-spacing:1px;gap:6px}h1{font-size:43px;letter-spacing:-2px;margin:13px 0 10px}.intro-description{font-size:11px;max-width:225px;line-height:1.7}.stage-badge{min-width:70px}.stage-badge>span:first-child{font-size:6px;letter-spacing:.8px}.stage-badge strong{font-size:47px;letter-spacing:-4px;margin-right:3px}.stage-badge-rule{width:24px;height:2px}.game-topbar{height:43px;padding:0 12px;gap:6px}.live-label{font-size:7px;gap:5px;letter-spacing:.6px}.game-stats{gap:9px}.stat{font-size:9px;gap:5px}.stat-label{display:none}.stat svg{width:11px;height:11px}.stat-divider{height:11px}.game-panel{border-radius:6px}.game-toolbar{padding:9px;min-height:56px}.main-controls{gap:0}.control-button{padding:0 7px;font-size:10px;gap:6px}.control-button kbd{display:none}.control-button svg{width:13px;height:13px}.view-controls{gap:2px}.stage-select-label{height:32px;font-size:7px;padding-left:8px;gap:5px;padding-right:20px}.stage-select-label select{font-size:10px}.fullscreen-button{width:30px}.game-viewport .viewport-corner{width:8px;height:8px}.corner-tl{top:7px;left:7px}.corner-tr{top:7px;right:7px}.corner-bl{bottom:7px;left:7px}.corner-br{bottom:7px;right:7px}.side-panel{column-gap:24px;margin-top:0}.objective-card,.controls-card{padding-top:21px}.card-number{font-size:7px;letter-spacing:.8px}.card-number>span{margin:0 4px}.objective-card h2{font-size:23px;letter-spacing:-.8px;margin-top:14px}.objective-card p{font-size:11px;line-height:1.8}.objective-legend{font-size:8px;align-items:flex-start;gap:7px}.legend-marker{width:9px;height:9px;flex-shrink:0;margin-top:1px}.keyboard-row{gap:9px;margin:17px 0 15px}.keyboard-arrows{gap:3px}.keyboard-arrows>span{gap:3px}kbd{min-width:21px;height:22px;font-size:10px}.keyboard-row strong,.key-instruction strong{font-size:10px;margin-bottom:3px}.keyboard-row>div>span,.key-instruction>div>span{font-size:8px}.key-instruction{gap:9px}.key-instruction>kbd{width:69px}.key-instruction .wide-key{font-size:8px}.text-button{font-size:9px;margin-top:14px}.under-game-hint{font-size:9px;line-height:1.7;margin-top:11px;gap:3px}.under-game-hint>span{margin-right:2px}.site-footer{margin-top:30px;min-height:75px;align-items:flex-start;padding:22px 0;gap:10px}.site-footer>div{gap:9px;flex-wrap:wrap;max-width:190px;row-gap:6px}.footer-wordmark{font-size:9px}.footer-divider{height:10px}.site-footer>div>span:last-child{font-size:6px;letter-spacing:.7px}.site-footer>a{font-size:8px;gap:5px;padding-top:1px;white-space:nowrap}.site-footer>a svg{width:10px;height:10px}dialog{padding:29px 25px}dialog h2{font-size:31px}dialog p{font-size:12px}}
@media(pointer:coarse){.touch-controls{display:flex}.under-game-hint{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.game-viewport{aspect-ratio:8/5}.ammo-badge{display:flex;align-items:center;gap:5px;color:#e7c99b;font:11px var(--mono)}.ammo-badge>span:first-child{font-size:16px}.egg-marker{background:#d2f5d6;box-shadow:inset -3px -2px 0 #7fbbab}.hint-separator{margin:0 6px}.mushroom-hint{color:#e7c99b!important}.help-list{font-size:12px;line-height:1.7}.help-list dt{color:#e0e8cd;font-family:var(--mono);margin-top:15px}.help-list dd{color:#aab99f;margin:5px 0}.source-note{font-size:11px!important}.source-note a{text-decoration:underline;text-underline-offset:3px}.graphics-toggle{font-family:var(--mono);font-size:9px;color:#c1ceac;border-color:#46523b;margin-left:6px;padding:0 9px}.graphics-toggle[aria-pressed=true]{background:#405233;color:#d0ed82}@media(max-width:560px){.graphics-toggle{font-size:8px;padding:0 6px;margin-left:3px}.game-topbar{padding:0 9px}.game-stats{gap:6px}.live-label{font-size:6px;letter-spacing:.3px}.ammo-badge{font-size:9px}.ammo-badge>span:first-child{font-size:12px}.game-viewport{min-height:0}}
@media(min-width:851px){.site-header{height:76px}.game-intro{padding:22px 0 24px}.game-intro h1{font-size:48px;margin:10px 0 8px}.stage-badge strong{font-size:52px}.game-viewport{height:clamp(300px,calc(100dvh - 350px),600px);aspect-ratio:auto}.stage-badge-rule{height:2px;margin-top:3px}}

@media(max-width:560px){.touch-controls{display:flex}.under-game-hint{display:none}}
