:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; background: #101827; color: #f4f7fb; }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 50% 0%, #213653 0, #101827 58%); }
.game { width: min(100%, 620px); padding: clamp(28px, 7vw, 56px); border: 1px solid #ffffff1c; border-radius: 24px; background: #172235e8; box-shadow: 0 28px 90px #0005; }
.eyebrow,.label { color: #8fa4c0; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 12px 0 8px; font-size: clamp(36px, 8vw, 54px); line-height: 1.05; letter-spacing: -.045em; }
h1 span { color: #8eb7ff; }
.intro { color: #b4c0d0; line-height: 1.6; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0 18px; }
.stats > div { padding: 16px; border: 1px solid #ffffff13; border-radius: 14px; background: #ffffff08; }
.label { display: block; font-size: 10px; }
.stats strong { display: block; margin-top: 7px; font-size: 27px; }
.stats small { margin-left: 5px; color: #9aa9bd; font-size: 14px; }
.play { min-height: 202px; padding: 25px 20px 17px; border-radius: 17px; background: #0d1624; text-align: center; }
.prompt { min-height: 48px; font-size: clamp(30px, 7vw, 42px); font-weight: 750; letter-spacing: -.03em; }
form { display: flex; gap: 9px; margin: 15px auto 0; max-width: 390px; }
input { min-width: 0; width: 100%; padding: 13px; border: 1px solid #ffffff24; border-radius: 11px; outline: none; background: #172235; color: white; font: inherit; font-size: 20px; text-align: center; }
input:focus { border-color: #8eb7ff; }
button { border: 0; border-radius: 11px; color: #0e1828; background: #a8c8ff; font: inherit; font-weight: 750; cursor: pointer; }
form button { flex: 0 0 auto; padding: 0 17px; }
form button span { padding-left: 5px; opacity: .65; }
button:disabled { cursor: default; opacity: .45; }
.message { min-height: 22px; margin: 14px 0 0; color: #9eacc0; font-size: 14px; }
.start { width: 100%; margin-top: 15px; padding: 15px; font-size: 16px; }
.start:not(:disabled):hover, form button:not(:disabled):hover { background: #c3d8ff; }
footer { margin-top: 23px; color: #74839a; font-size: 12px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 420px) { .stats { gap: 7px; } .stats > div { padding: 12px 9px; } form { flex-direction: column; } form button { padding: 13px; } }
