:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e5e9d4;background:#173b3e;font-synthesis:none;color-scheme:dark;--cream:#fff2cf;--green:#c2dd91;--ink:#193c3b;--orange:#f4ab68}
*{box-sizing:border-box}body{margin:0;min-width:280px;background:radial-gradient(ellipse at 50% 25%,#275350 0%,#173b3e 65%)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #ffca86;outline-offset:4px}button{touch-action:manipulation}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.site-header{max-width:1328px;margin:auto;height:100px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid #ffffff15}.brand{display:flex;align-items:center;gap:13px;font-size:11px;font-weight:700;letter-spacing:2px}.brand b{font-weight:400;opacity:.55}.brand-mark{display:grid;place-items:center;width:34px;height:36px;background:#c4db9c;color:#21443e;font-size:25px;font-weight:1000;position:relative;letter-spacing:-2px;border-radius:2px}.brand-mark span{position:absolute;right:-6px;bottom:-6px;font-size:17px;color:#f7bc72;line-height:1}.edition{font-size:9px;letter-spacing:2px;color:#a0b9aa}.top-actions{display:flex;gap:9px}.icon-button{width:36px;height:36px;border:1px solid #ffffff24;border-radius:6px;color:#e5e9d4;background:#ffffff08;font-size:22px;display:grid;place-items:center}.icon-button:hover{background:#ffffff18}.icon-button[aria-pressed=true]{opacity:.45}main{max-width:1264px;margin:0 auto;padding:28px 32px 0}.game-topline,.game-bottomline{display:flex;align-items:center;justify-content:space-between;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;font-weight:600;letter-spacing:1.3px}.game-topline{margin-bottom:16px;color:#cbd8c3}.game-topline>span{font-size:9px;opacity:.65}.game-topline b{color:var(--orange);margin-left:8px}.version{margin-left:10px;opacity:.35}.live-dot{display:inline-block;width:6px;height:6px;background:#c8df92;margin:0 8px 1px 0;box-shadow:0 0 10px #c8df9240}#arcade{position:relative;aspect-ratio:16/9;width:100%;overflow:hidden;border:5px solid #102c30;box-shadow:0 24px 65px #071c254d,0 0 0 1px #81a48b40;border-radius:9px;background:#9edbc4;isolation:isolate}#game{position:absolute;inset:0}#game canvas{display:block;width:100%!important;height:100%!important;image-rendering:pixelated;touch-action:none}#loading{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;gap:14px;background:#173b3e;color:#c2dd91;font-size:11px;letter-spacing:2px;z-index:10}.loader-block{width:20px;height:20px;background:#c2dd91;animation:loading .6s steps(2) infinite}@keyframes loading{50%{transform:translateY(-10px)}}#overlay{position:absolute;inset:0;z-index:4;display:flex;align-items:center;justify-content:center;padding:30px;background:#122d365e;backdrop-filter:blur(3px)}#overlay.menu-overlay{justify-content:flex-start;align-items:stretch;padding:0;background:linear-gradient(90deg,#eff3cded 0%,#eff3cdd9 35%,#eff3cd00 73%);backdrop-filter:none}.menu-panel{width:60%;padding:5% 0 3% 6%;display:flex;flex-direction:column;justify-content:center;color:#1b4b43;position:relative}.menu-tag{display:flex;align-items:center;gap:8px;font-size:9px;font-weight:800;letter-spacing:2px;margin-bottom:20px}.menu-tag:before{content:'✦';color:#b77842;font-size:16px}.menu-title{font-family:ui-sans-serif,system-ui,sans-serif;font-weight:1000;letter-spacing:-5px;line-height:.84;font-size:clamp(40px,6.9vw,91px);margin:0;text-shadow:3px 4px 0 #b7d29a}.menu-title span{display:block;color:#2f7358}.menu-description{font-size:12px;line-height:1.8;margin:22px 0;max-width:270px;color:#4d6b51}.menu-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.button{border:0;border-radius:4px;min-height:43px;padding:0 23px;display:inline-flex;align-items:center;justify-content:center;gap:24px;font-size:11px;font-weight:800;letter-spacing:.6px;transition:transform .15s,background .15s}.button:hover{transform:translateY(-2px)}.button.primary{background:#214f43;color:#fff0c8;box-shadow:0 4px 0 #133d34}.button.primary:hover{background:#2b6653}.button.secondary{background:#edf0cb;color:#2f5b47;border:1px solid #65886877;box-shadow:0 3px 0 #83a47444}.button.dark{background:#163f3c;color:var(--cream);border:1px solid #638772}.menu-footnote{margin-top:25px;font-family:ui-monospace,monospace;font-size:9px;color:#66805c;display:flex;gap:14px}.scene-stamp{position:absolute;right:4%;bottom:12%;color:#fff6d9;display:flex;align-items:center;gap:9px;text-shadow:1px 2px #214c46;font-size:9px;letter-spacing:2px;font-weight:700}.scene-stamp b{font-size:22px;color:#ffdd8c}.dialog{width:390px;max-width:100%;max-height:100%;overflow:auto;padding:30px;border:2px solid #dce4b3;border-radius:9px;background:#f4f0d6;color:var(--ink);box-shadow:0 10px 0 #12383360;text-align:center}.dialog .eyebrow{color:#6a8060}.dialog h1{font-size:32px;line-height:1.1;margin:12px 0;letter-spacing:-1px}.dialog p{color:#5e7465;font-size:12px;line-height:1.8}.dialog .button{width:100%;margin-top:12px}.dialog .button+.button{margin-top:9px}.result-stats{display:flex;justify-content:space-around;border-block:1px solid #7b947633;padding:14px 0;margin:20px 0 10px}.result-stats small{display:block;font-size:9px;letter-spacing:1px;color:#6a8060}.result-stats strong{display:block;font-family:ui-monospace,monospace;font-size:23px;margin-top:5px}.world-list{display:grid;gap:9px;margin:20px 0}.world-button{display:flex;text-align:left;align-items:center;gap:14px;padding:13px;border:1px solid #98ad8f;border-radius:5px;background:#e2e9c6;color:#244d43}.world-button:hover:not(:disabled){background:#cdddab}.world-button:disabled{opacity:.45}.world-number{font-family:ui-monospace,monospace;font-size:24px;font-weight:800}.world-button strong{font-size:13px;display:block}.world-button small{font-size:9px;display:block;margin-top:5px}.world-button .world-check{margin-left:auto}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:700}#hud{position:absolute;inset:0 0 auto;z-index:2;color:#fff5d6;text-shadow:1px 2px 0 #163a3d;background:linear-gradient(#143b43b0,transparent);padding:19px 23px 28px;display:flex;justify-content:space-between;pointer-events:none}.hud-left,.hud-right{display:flex;gap:25px;align-items:flex-start}#hud small{display:block;font-size:8px;letter-spacing:1.8px;opacity:.8}#hud strong{display:block;font-size:18px;font-weight:800;font-family:ui-monospace,SFMono-Regular,monospace;margin-top:4px}.hud-right #health{color:#ffc0a2;letter-spacing:3px}.hud-right .icon-button{pointer-events:auto;width:30px;height:30px;font-size:17px;background:#163d4160}.gold{color:#ffdf8e}.progress-track{position:absolute;left:0;right:0;top:0;height:3px;background:#254b5060}.progress-track i{display:block;height:100%;width:0;background:#fce1a0;transition:width .2s}#power-status{position:absolute;top:87px;left:23px;border-radius:3px;padding:7px 9px;background:#394e48c9;font-size:9px;color:#ffde89}#toast{position:absolute;left:50%;top:21%;transform:translateX(-50%);z-index:5;background:#193f3de6;color:#fbeac3;padding:10px 18px;border:1px solid #d8dea18a;border-radius:4px;font-size:11px;font-weight:700;pointer-events:none;opacity:0;transition:opacity .2s;white-space:nowrap}#toast.show{opacity:1}.game-bottomline{margin-top:14px;font-size:8px;letter-spacing:1px;color:#8da99c}.game-bottomline i{display:inline-block;width:4px;height:4px;background:#eeb676;margin-right:6px}.game-bottomline b{color:#ced9ba;margin-left:10px}.instructions{margin-top:40px;padding:0 0 30px;display:flex;justify-content:space-between;gap:30px;border-bottom:1px solid #ffffff13}.instruction-intro .eyebrow{color:#bfd194;font-size:8px}.instruction-intro h2{font-size:21px;letter-spacing:-.5px;font-weight:600;margin:8px 0}.instruction-intro p{color:#8eaaa0;font-size:11px;line-height:1.7;margin:0}.control-guide{display:flex;align-items:center;justify-content:flex-end;gap:26px}.control-guide>div{display:flex;flex-direction:column;gap:12px}.control-guide span{display:flex;align-items:center;gap:4px;height:27px}.control-guide small{font-size:7px;letter-spacing:.7px;color:#91aa9c}kbd{font-family:inherit;font-size:9px;min-width:26px;height:26px;padding:5px 7px;display:inline-flex;align-items:center;justify-content:center;background:#ffffff09;border:1px solid #ffffff26;border-bottom:3px solid #ffffff26;border-radius:4px;color:#d5dec4}em{font-size:8px;font-style:normal;color:#89a497;margin:0 3px}footer{max-width:1264px;padding:20px 32px 26px;margin:auto;display:flex;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#809e92}footer b{font-weight:500;margin-left:12px}#touch-controls{position:absolute;inset:0;z-index:3;pointer-events:none;touch-action:none;user-select:none;-webkit-user-select:none}.direction-pad,.action-pad{position:absolute;bottom:15px;display:flex;align-items:flex-end;gap:9px}.direction-pad{left:15px}.action-pad{right:15px}#touch-controls button{pointer-events:auto;width:56px;height:52px;background:#173e3aa8;border:2px solid #f7edc36e;border-bottom:4px solid #10372e99;border-radius:9px;color:#fff4cf;font-size:20px;touch-action:none;user-select:none;-webkit-user-select:none}#touch-controls button.held{background:#b2d78ec9;color:#1c443d}#touch-controls .run-button{width:45px;height:42px;font-size:9px;font-weight:800;letter-spacing:1px}#touch-controls .jump-button{width:65px;height:65px;background:#e7ad62c9;font-size:26px;color:#21473a;border-color:#fff0b4aa}#touch-controls small{display:block;font-size:8px;letter-spacing:1px}.how-list{text-align:left;padding-left:18px;font-size:12px;line-height:1.8;color:#5e7465}.how-list li+li{margin-top:9px}#arcade:fullscreen{width:100vw;height:100dvh;aspect-ratio:auto;border:0;border-radius:0}#arcade:fullscreen #game canvas{object-fit:contain}#arcade:fullscreen .menu-title{font-size:clamp(60px,9vw,130px)}
@media(max-width:1000px){.edition{display:none}.site-header{height:78px}.instructions{align-items:flex-start}.control-guide{gap:14px;flex-wrap:wrap}.control-guide small{font-size:6px}.menu-tag{margin-bottom:14px;font-size:8px}.menu-description{font-size:11px;margin:18px 0}.menu-footnote{margin-top:19px}.menu-title{letter-spacing:-3px}.button{min-height:39px;padding-inline:18px;font-size:10px}.instruction-intro{max-width:270px}.hud-left,.hud-right{gap:18px}#hud{padding:14px 18px 25px}.dialog{padding:23px}.dialog h1{font-size:27px}}
@media(max-width:650px){.site-header{padding:0 18px;height:70px}.brand{font-size:9px;letter-spacing:1.5px;gap:10px}.brand-mark{width:28px;height:29px;font-size:21px}.icon-button{width:32px;height:32px}main{padding:22px 12px 0}.game-topline{font-size:8px;letter-spacing:.8px;padding:0 4px;margin-bottom:12px}.game-topline>span{font-size:7px}.version{margin-left:5px}#arcade{aspect-ratio:4/5;border-width:3px;border-radius:7px}#game canvas{object-fit:cover}.menu-panel{padding:8% 7%;width:100%;justify-content:flex-start}.menu-overlay{background:linear-gradient(#eff3cdf0,#eff3cda8 50%,#eff3cd00 80%)!important}.menu-title{font-size:clamp(46px,14vw,80px);letter-spacing:-3px}.menu-tag{font-size:8px;margin-bottom:20px}.menu-description{font-size:11px;margin:20px 0;max-width:240px;line-height:1.7}.menu-footnote{font-size:8px;margin-top:20px}.scene-stamp{bottom:6%;font-size:7px;right:6%}.scene-stamp b{font-size:17px}.button{min-height:42px;font-size:10px;padding-inline:18px;gap:16px}.game-bottomline{font-size:6px;letter-spacing:.6px;padding-inline:3px;margin-top:12px}.game-bottomline b{margin-left:4px}.instructions{margin-top:28px;padding:0 7px 22px;gap:20px;flex-direction:column}.instruction-intro h2{font-size:20px}.instruction-intro p{font-size:11px}.control-guide{width:100%;justify-content:space-between;gap:9px}.control-guide small{font-size:6px;letter-spacing:.2px}.control-guide>div{gap:8px}kbd{min-width:22px;padding:4px;height:24px;font-size:8px}footer{font-size:7px;padding:20px 20px;gap:14px;line-height:1.8}footer>span:last-child{max-width:150px;text-align:right}footer b{display:none}#hud{padding:16px 13px 30px}.hud-left,.hud-right{gap:15px}#hud strong{font-size:15px}#hud small{font-size:7px;letter-spacing:1px}.hud-right{gap:10px}.time-stat{display:none}#health-label{font-size:6px!important}#overlay{padding:18px}.dialog{padding:24px 20px}.dialog h1{font-size:29px}.dialog p{font-size:11px}.world-button{padding:14px}.world-button small{font-size:9px}.world-list{margin:19px 0}.result-stats{margin:18px 0 8px}.how-list{font-size:11px}#toast{font-size:10px}#power-status{top:74px;left:13px;font-size:8px}.top-actions{gap:6px}}
@media(max-height:500px) and (orientation:landscape){.site-header,.game-topline,.game-bottomline,.instructions,footer{display:none}main{padding:0;max-width:none}#arcade{width:100vw;height:100dvh;aspect-ratio:auto;border:0;border-radius:0}.menu-title{font-size:58px}.menu-panel{padding:3% 5%;justify-content:center}.menu-tag{margin-bottom:14px}.menu-description{margin:14px 0}.menu-footnote{margin-top:14px}#overlay{padding:12px}.dialog{padding:18px;max-width:350px}.dialog h1{margin:8px 0;font-size:25px}.dialog p{margin:8px 0;font-size:10px}.dialog .button{min-height:35px;margin-top:8px}.world-list{margin:12px 0;gap:6px}.world-button{padding:9px}.world-number{font-size:20px}.world-button small{margin-top:2px}.result-stats{margin:12px 0 7px;padding:9px 0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
