body { min-height: 100dvh; background: var(--paper); }
.bar { display: flex; align-items: center; gap: 16px; padding: 16px 24px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.progress { flex: 1; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
main { max-width: 760px; margin: 0 auto; padding: 32px 24px 60px; }
.step[hidden] { display: none !important; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.015em; margin: 0 0 14px; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); line-height: 1.05; }
h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); line-height: 1.2; }
.gap { margin-top: 28px; }
.hl { color: var(--accent); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--muted); margin: 0 0 10px; }
.lead { font-size: 1.15rem; line-height: 1.55; color: #333842; }
label { display: block; font-weight: 600; margin: 14px 0 0; }
input:not([type=checkbox]), textarea { display: block; width: 100%; margin-top: 8px; font: inherit; font-size: 1.15rem; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
input:focus, textarea:focus { outline: none; border-color: var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } main { padding-top: 24px; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips button { font: inherit; font-size: 1.05rem; font-weight: 500; padding: 14px 20px; min-height: 52px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.chips button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.btn { font: inherit; font-weight: 600; font-size: 1.1rem; padding: 16px 30px; min-height: 56px; border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.big { margin-top: 20px; padding: 20px 44px; font-size: 1.3rem; }
.btn.huge { display: block; width: 100%; margin-top: 28px; padding: 30px; font-size: 1.7rem; }
.btn:disabled { opacity: .5; }
.ticks { margin-top: 22px; display: grid; gap: 12px; }
.tick { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; margin: 0; }
.tick input { width: 26px; height: 26px; flex: none; accent-color: var(--accent); margin: 0; }
.tick a { color: inherit; }
.terms { font-size: .9rem; color: var(--muted); line-height: 1.5; margin-top: 16px; border-left: 3px solid var(--accent); padding-left: 12px; }
.err { color: var(--bad); font-weight: 600; min-height: 1.2em; }
.stop { display: block; width: 100%; height: 46vh; min-height: 260px; margin-top: 24px; border: 0; border-radius: 28px; background: var(--bad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 10vw, 6rem); letter-spacing: .04em; touch-action: manipulation; -webkit-user-select: none; user-select: none; cursor: pointer; }
.stop:active { transform: scale(.98); }
.countdown { font-family: var(--font-display); font-size: 4rem; font-weight: 700; text-align: center; margin: 16px 0 0; min-height: 1em; }
.linkish { background: none; border: 0; color: var(--muted); text-decoration: underline; font: inherit; margin-top: 20px; cursor: pointer; }
.staff { margin-top: 32px; padding: 18px; border: 1.5px dashed var(--line); border-radius: 16px; background: var(--card); }
.staff textarea { margin-top: 12px; font-size: 1rem; }
.result { font-family: var(--font-display); font-size: clamp(3rem, 2rem + 6vw, 6rem); font-weight: 700; margin: 0 0 8px; }
.result.win { color: var(--good); } .result.lose { color: var(--bad); }
body:not(.stand) .stand-only { display: none !important; }
body:not(.game) .game-only { display: none !important; }
