:root{color-scheme:dark;--bg: #0c0c18;--cab: #1a1a2e;--accent: #e7402e}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--bg);font-family:Courier New,monospace;color:#fff;min-height:100vh}#wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:12px}#cabinet{background:var(--cab);border:4px solid #333;border-radius:12px;padding:12px;max-width:720px;width:100%;text-align:center}#hud-top{display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:700;padding:4px 6px 8px;letter-spacing:1px;flex-wrap:wrap}#game{width:100%;max-width:640px;aspect-ratio:256 / 240;image-rendering:pixelated;image-rendering:crisp-edges;background:#5c94fc;border:3px solid #000;border-radius:6px;touch-action:none}#overlay{min-height:44px;margin:8px 0 0;font-size:14px;line-height:1.5;white-space:pre-line}#controls{display:flex;justify-content:space-between;margin-top:6px;gap:12px}.dpad,.actions{display:flex;gap:10px}#controls button{width:64px;height:64px;font-size:22px;border-radius:50%;border:3px solid #000;background:#2c2c44;color:#fff;touch-action:none;-webkit-user-select:none;user-select:none}#controls button:active{background:var(--accent)}#btn-left,#btn-right{border-radius:12px}#help{font-size:11px;opacity:.8}
