html,body{margin:0;padding:0;background:#14141c;color:#e8e8e8;font-family:Courier New,monospace;height:100%}#wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:100%}#game{width:min(768px,calc(100vw - 12px));max-width:calc(100vw - 12px);aspect-ratio:4 / 3;height:auto;image-rendering:pixelated;image-rendering:crisp-edges;background:#000;border:4px solid #2a2a38;border-radius:8px;box-shadow:0 8px 40px #0009}#help{display:flex;flex-wrap:wrap;justify-content:center;column-gap:18px;row-gap:6px;max-width:780px;font-size:13px;color:#9a9ab0;margin:0}#help .op{white-space:nowrap}#help kbd{display:inline-block;padding:1px 5px;border:1px solid #3a3a52;border-bottom-width:2px;border-radius:4px;background:#1e1e2c;color:#c8c8e0;font-family:inherit;font-size:11px;line-height:1.4}#touchpad{position:fixed;left:0;right:0;bottom:0;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:10px 16px calc(14px + env(safe-area-inset-bottom));pointer-events:none}#touchpad.hidden{display:none}#touchpad button{pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;font-family:Courier New,monospace;font-weight:700;color:#e8e8e8;background:#1e1e2cb8;border:2px solid #3a3a52;border-radius:10px;cursor:pointer;padding:0}#touchpad button.pressed{background:#ffd80047;border-color:#ffd800;color:#ffd800}.dpad{display:grid;grid-template-columns:repeat(3,52px);grid-template-rows:repeat(2,52px);gap:6px}.dpad button{font-size:18px}.dpad button[data-action=up]{grid-column:2;grid-row:1}.dpad button[data-action=left]{grid-column:1;grid-row:2}.dpad button[data-action=right]{grid-column:3;grid-row:2}.dpad button[data-action=down]{grid-column:2;grid-row:2}.actions{display:grid;grid-template-columns:repeat(2,minmax(76px,96px));gap:8px}.actions button{height:48px;font-size:13px;letter-spacing:1px}.actions button[data-action=throw]{grid-column:1 / 3;height:56px;background:#7c08008c;border-color:#d82800;color:#ffb0a0}.actions button[data-action=throw].pressed{background:#ff504073;border-color:#ff5040;color:#fff}
