html, body { margin: 0; height: 100%; overflow: hidden; background: #2a1408; font-family: system-ui, sans-serif; color: #fff1d0; user-select: none; touch-action: none; }
canvas { display: block; width: 100%; height: 100%; }
.hud { position: fixed; top: 14px; left: 18px; right: 18px; display: flex; justify-content: space-between; font: 800 26px/1 system-ui, sans-serif; text-shadow: 0 2px 0 rgba(0,0,0,.4); pointer-events: none; }
#lives { letter-spacing: 4px; color: #ff5a36; }
.screen { position: fixed; inset: 0; display: grid; place-content: center; text-align: center; gap: 16px; background: rgba(20, 8, 2, .62); }
.screen.hide { display: none; }
h1 { margin: 0; font: 900 clamp(40px, 9vw, 84px)/1 system-ui, sans-serif; letter-spacing: -2px; color: #ffc23c; text-shadow: 0 5px 0 #8a4b26; }
p { margin: 0; font-size: 18px; line-height: 1.45; }
.small { font-size: 14px; opacity: .8; }
button { justify-self: center; font: 800 20px system-ui, sans-serif; padding: 14px 34px; border-radius: 999px; border: 0; background: #ffc23c; color: #2a1408; box-shadow: 0 4px 0 #b8861f; cursor: pointer; }
button:active { transform: translateY(3px); box-shadow: 0 1px 0 #b8861f; }
