:root{color:#202941;background:#fff4dc;font-family:system-ui,sans-serif}*{box-sizing:border-box}html,body{overscroll-behavior:none;margin:0;overflow:hidden}.layout{--gutter:clamp(12px, 3vmin, 28px);height:100dvh;padding:max(var(--gutter), env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) max(var(--gutter), env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));grid-template-rows:auto minmax(0,1fr);gap:clamp(8px,2vmin,20px);display:grid}.game-header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 16px;display:flex}.game-header h1{letter-spacing:-.075em;margin:0;font-size:clamp(1.75rem,6vmin,3.5rem);font-weight:900;line-height:1}.game-header p{margin:0;font-size:.875rem;font-weight:600}.hud{align-items:start;gap:clamp(8px,2vmin,20px);margin-left:auto;display:flex}.hud-stat{grid-template-columns:auto auto;align-items:baseline;gap:3px 8px;font-size:.75rem;font-weight:700;display:grid}.hud-stat output{font-variant-numeric:tabular-nums;font-size:.875rem;font-weight:800}.hud-energy{min-width:106px}.hud-energy progress{accent-color:#cc2844;grid-column:1/-1;width:100%;height:.5rem}@media (width<=48rem){.game-header p{flex-basis:100%}}#game{touch-action:none;-webkit-user-select:none;user-select:none;background:#55cdc3;border-radius:12px;outline:2px solid #202941;min-width:0;min-height:0;overflow:hidden;box-shadow:4px 5px 0 2px #202941}#game canvas{touch-action:none;display:block}
