:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #14231b; color: #edf2d6; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
#canvas { display: block; width: 100%; height: 100%; border: 0; outline: none; touch-action: none; }
[hidden] { display: none !important; }
#status { position: fixed; inset: 0; display: grid; place-items: center; padding: max(1.5rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right)); background: radial-gradient(ellipse at 50% 20%, #304933, #14231b 75%); }
.status-card { max-width: 38rem; text-align: center; line-height: 1.5; }
.eyebrow { text-transform: uppercase; color: #b1c69c; letter-spacing: .18em; font-size: .8rem; }
h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); line-height: 1.2; }
progress { width: 100%; height: .7rem; margin: 1.5rem 0; accent-color: #c8e498; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.5rem; }
button { border: 1px solid #84926d; border-radius: .6rem; background: #d5e4b8; color: #1a2b1f; font: inherit; font-weight: 650; padding: .8rem 1.2rem; min-height: 48px; cursor: pointer; }
button:hover { background: #ebf5d5; }
button:focus-visible, input:focus-visible { outline: 3px solid #f3da92; outline-offset: 3px; }
dialog { border: 1px solid #84926d; border-radius: .8rem; background: #203528; color: inherit; padding: 1.7rem; width: min(90vw, 40rem); }
dialog::backdrop { background: #08120de0; }
dialog label { display: block; }
dialog input { width: 100%; margin: 1rem 0; padding: .8rem; font: inherit; background: #102117; border: 1px solid #84926d; color: inherit; }
noscript { position: fixed; inset: 20%; background: #203528; padding: 2rem; }
