:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f1eddf;--line:#35414b;--muted:#b3bac2;--lamp:#ffce78;--mono:ui-monospace, SFMono-Regular, Consolas, monospace;background:#10161e;font-family:system-ui,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit}:focus-visible{outline:3px solid var(--lamp);outline-offset:4px}.masthead,main{width:min(100% - 2rem,54rem);margin-inline:auto}.masthead{border-bottom:1px solid var(--line);min-height:3.5rem;color:var(--muted);justify-content:space-between;align-items:center;gap:1rem;font-size:.9rem;display:flex}.masthead a{text-underline-offset:.25em}.masthead a:hover{color:var(--lamp)}.masthead span{font:.8rem var(--mono);letter-spacing:.14em}main{padding-block:clamp(1rem,3vh,2rem) 2rem}.game-heading{justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.2rem;display:flex}.game-heading h1{letter-spacing:.04em;margin:0;font-size:clamp(1.9rem,5vw,3.25rem);line-height:1.15}.game-heading p{color:var(--muted);margin:.55rem 0 0;line-height:1.5}.reset{border:1px solid var(--line);color:inherit;background:#1c2630;border-radius:4px;flex-shrink:0;padding:.55rem .75rem;font-size:.9rem}.reset:hover{border-color:var(--lamp)}.cabinet{border:1px solid var(--line);background:#1a222c;border-radius:8px;padding:.55rem}.viewport{isolation:isolate;aspect-ratio:16/9;background:#101b29;border:1px solid #0a0f14;position:relative;overflow:hidden}.screen,.overlay{position:absolute;inset:0}.screen canvas{image-rendering:pixelated;display:block;width:100%!important;height:100%!important}.overlay{background:#080d1454;place-items:center;display:grid}.overlay-card{color:#fff4de;text-align:center;background:#161f2c;border:1px solid #9b7750;min-width:min(90%,16rem);padding:clamp(.75rem,3vw,1.65rem);box-shadow:.35rem .35rem #0b101a}.overlay-card h2{margin:0 0 .8rem;font-size:clamp(1.05rem,3vw,1.6rem)}.primary{color:#20160e;background:var(--lamp);border:1px solid #ffda91;border-radius:3px;min-height:44px;padding:.5rem 1.25rem;font-weight:700}.primary:hover{background:#ffe3a7}.primary:disabled{cursor:wait;opacity:.6}.instructions{color:var(--muted);flex-wrap:wrap;gap:.55rem 1.4rem;margin:0;padding:.75rem .35rem .2rem;font-size:.9rem;display:flex}kbd{border:1px solid var(--line);color:#e5e9eb;font:.84em var(--mono);border-radius:3px;padding:.08rem .3rem;display:inline-block}.touch-controls{justify-content:space-between;gap:.75rem;padding:.65rem .2rem 0;display:flex}.directions{gap:.55rem;display:flex}.touch-controls button{touch-action:none;-webkit-user-select:none;user-select:none;color:#fff2d6;background:#283645;border:1px solid #607281;border-radius:5px;min-width:52px;min-height:48px;padding-inline:.8rem}.touch-controls button.is-held{background:var(--lamp);color:#20160e}.touch-controls button[data-control=jump]{border-color:#ad8256}@media (pointer:fine) and (width>=761px){.touch-controls{display:none}}@media (pointer:coarse){.instructions{display:none}}@media (width<=440px){.game-heading{align-items:start}.game-heading p{font-size:.9rem}.cabinet{padding:.3rem}.masthead{min-height:3.5rem}}
