:root {
  --bg: #12131c;
  --card: #1d1f2c;
  --text: #f3f1ea;
  --muted: #a9a7b8;
  --accent: #f2c14e;
  --accent-text: #1a1406;
  --error: #ff8a80;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  line-height: 1.45;
  min-height: 100vh;
}
main { max-width: 32rem; margin: 0 auto; padding: 1rem 16px 3rem; }
[hidden] { display: none !important; }
.brand { font-size: 1.6rem; margin: 0.5rem 0 0.25rem; color: var(--accent); }
.status { color: var(--muted); min-height: 1.5em; margin: 0 0 1rem; }
.card { background: var(--card); border-radius: 16px; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
label { font-weight: 600; }
input {
  font: inherit; min-height: 52px; padding: 0.5rem 0.75rem; border-radius: 12px;
  border: 2px solid #3a3d52; background: #0d0e15; color: var(--text); width: 100%;
}
#code { text-transform: uppercase; letter-spacing: 0.3em; font-size: 1.6rem; font-variant-numeric: lining-nums tabular-nums; }
button {
  font: inherit; font-weight: 700; min-height: 56px; min-width: 48px; padding: 0.75rem 1rem;
  border: 0; border-radius: 14px; background: var(--accent); color: var(--accent-text); cursor: pointer;
}
button.secondary { background: #3a3d52; color: var(--text); }
button:disabled { opacity: 0.5; }
.error { color: var(--error); min-height: 1.2em; margin: 0; }
h2 { font-size: 1.5rem; margin: 0; }
.word { font-size: 2.4rem; font-weight: 800; text-align: center; color: var(--accent); margin: 0.5rem 0; overflow-wrap: anywhere; }
.hint, .muted { color: var(--muted); }
ul { margin: 0; padding-left: 1.2rem; }
.options { display: flex; flex-direction: column; gap: 0.6rem; }
