body.part { min-height: 100vh; min-height: 100dvh; font-size: 18px; -webkit-text-size-adjust: 100%; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); border-bottom: 1px solid var(--line); gap: 10px; }
.brand { font-family: var(--f-head); color: var(--amber); font-weight: 700; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me { color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.me b { color: var(--amber); }
main { max-width: 560px; margin: 0 auto; padding: 20px 16px 40px; }
.kick { font-family: var(--f-head); color: var(--amber); letter-spacing: .14em; text-transform: uppercase; font-size: 14px; margin-bottom: 8px; }
h1 { font-family: var(--f-head); font-size: 32px; line-height: 1.15; margin: 0 0 10px; }
h2 { font-family: var(--f-head); font-size: 24px; line-height: 1.2; margin: 0 0 18px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
form { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
label { font-size: 15px; color: var(--muted); }
#nick { font-size: 20px; padding: 14px; border-radius: 10px; }
.big { border: 0; border-radius: 12px; padding: 16px; font-size: 20px; font-weight: 700; cursor: pointer; }
.big.primary { background: var(--amber); color: var(--bg); }
.err { color: #f3b5a8; min-height: 1.3em; }
.choices { display: flex; flex-direction: column; gap: 12px; }
.choice { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--panel); border: 2px solid var(--line); border-radius: 14px; padding: 14px; min-height: 76px; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.choice .lt { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--amber); color: var(--bg); font-family: var(--f-head); font-weight: 700; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.choice .ot { font-size: 19px; line-height: 1.25; }
.choice.sel { border-color: var(--teal); background: rgba(63,184,175,.16); }
.choice.sel .lt { background: var(--teal); }
.choice:active { transform: scale(.985); }
.status { margin-top: 16px; color: var(--muted); min-height: 1.4em; font-size: 16px; }
.status.ok { color: var(--teal); }
.status.bad { color: #f3b5a8; }
.verdict { font-family: var(--f-head); font-size: 40px; font-weight: 700; margin: 6px 0 12px; }
.verdict.ok { color: var(--teal); }
.verdict.no { color: var(--red); }
.verdict.none { color: var(--muted); }
.corr { font-size: 19px; }
.corr b { color: var(--teal); }
.score-box { margin-top: 26px; background: var(--panel); border-radius: 12px; padding: 18px; font-size: 22px; text-align: center; }
.wa-btn { display: block; text-align: center; text-decoration: none; margin-top: 26px; background: #25D366; color: #0b141a; }
.rank { font-size: 24px; color: var(--amber); font-family: var(--f-head); }
.pulse { width: 18px; height: 18px; border-radius: 50%; background: var(--amber); margin: 30px 0; animation: pulse 1.6s infinite ease-in-out; }
@keyframes pulse { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
.net { position: fixed; bottom: 0; left: 0; right: 0; background: var(--red); color: #fff; text-align: center; padding: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

.stage-tag { display: inline-block; margin: -8px 0 14px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--amber); color: var(--amber-l); background: rgba(227,160,72,.14); font-size: 15px; }
.hm-tap { position: relative; margin: 6px -16px 0; background: #000; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.hm-tap img { display: block; width: 100%; height: auto; pointer-events: none; }
.hm-reveal { margin-top: 14px; touch-action: auto; }
.hm-reveal canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm-cross { position: absolute; inset: 0; pointer-events: none; }
.hm-cross .hx, .hm-cross .hy { position: absolute; background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px rgba(16,19,24,.7); }
.hm-cross .hx { left: 0; right: 0; height: 1px; }
.hm-cross .hy { top: 0; bottom: 0; width: 1px; }
.hm-cross .hdot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 3px solid var(--amber); border-radius: 50%; box-shadow: 0 0 0 2px rgba(16,19,24,.8); }
.hm-cross.pending .hdot { border-color: #fff; }
