* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #0d0d1a; color: #f5f3e8; font-family: ui-monospace, monospace; }
body { touch-action: none; overscroll-behavior: none; }
#game { position: absolute; top: 0; left: 0; width: 100vw; height: 56.25vw; max-height: 100dvh; max-width: 177.7778dvh; overflow: hidden; background: #0d0d1a; }
canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; outline: none; touch-action: none; }
.prompt { position: absolute; inset: 45% 0 10%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; pointer-events: none; }
.prompt p { margin: 0; font-size: clamp(16px, 3vw, 32px); font-weight: 900; letter-spacing: 3px; }
.prompt button { min-height: 44px; padding: 10px 28px; border: 3px solid #ffd3ae; border-radius: 4px; background: #ff8a3d; color: #171320; font: bold clamp(14px, 2vw, 22px) ui-monospace, monospace; cursor: pointer; pointer-events: auto; }
.prompt button:active { background: #ffc075; }
.prompt button:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.prompt small { color: #a7a6be; font-size: clamp(10px, 1.5vw, 15px); }
.prompt[hidden] { display: none; }
.prompt.ended { inset: 0; background: #0d0d1ae8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-height: 360px) { .prompt { gap: 6px; } .prompt button { padding: 4px 24px; } }
