.ar{--ar-tile:min(64px, calc((100vw - 32px - 5 * 8px) / 6))}.ar-ready{gap:14px;margin-top:6px;padding:20px 18px;display:grid}.ar-ready h2{font-size:1.5rem}.ar-ready p{margin:0}.ar-ready__demo{flex-wrap:nowrap;justify-content:center;align-items:center;gap:4px;padding-block:4px;display:flex}.ar-tile--demo{--gw-tile:min(30px, calc((100vw - 130px) / 10));font-size:calc(var(--gw-tile) * .56);border-radius:6px}.ar-ready__arrow{color:var(--fg-muted);margin-inline:6px;font-size:1.2rem;font-weight:800}.ar-best{color:var(--fg-muted);font-weight:700}.ar-best strong{color:var(--fg)}.ar-loading{text-align:center;margin-top:40px}.ar-count{place-items:center;min-height:46vh;display:grid}.ar-count__n{color:var(--accent-text);font-family:var(--font-display);animation:ar-count .8s var(--ease-out);font-size:clamp(6rem,30vw,10rem);font-weight:800;line-height:1}@keyframes ar-count{0%{opacity:0;transform:scale(1.5)}30%{opacity:1;transform:scale(1)}to{opacity:.85;transform:scale(.94)}}.ar-play{gap:10px;display:grid}.ar-status{font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-weight:800;display:flex}.ar-timer{border-radius:var(--radius-pill);background:var(--surface-2);min-width:84px;color:var(--fg);transition:background-color var(--dur-base) var(--ease-out);align-items:center;gap:6px;padding:6px 14px;font-size:1.25rem;display:inline-flex}.ar-timer svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.ar-timer.is-urgent{background:var(--danger);color:var(--danger-fg)}.ar-wordof{color:var(--fg-muted);font-size:.92rem}.ar-score{border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--fg);padding:6px 14px;font-size:1.1rem}.ar-score.is-up{animation:gw-pop var(--dur-base) var(--ease-out)}.ar-stage{justify-items:center;gap:18px;padding-block:18px 10px;display:grid}.ar-scramble,.ar-typed{justify-content:center;gap:8px;margin:0;display:flex}.ar-tile{--gw-tile:var(--ar-tile);animation:gw-pop var(--dur-base) var(--ease-out)}.ar-slot{--gw-tile:calc(var(--ar-tile) * .82)}.ar-dock{gap:10px;display:grid}.ar-dock .ar-keyboard{justify-self:center;width:min(520px,100% + 16px)}.ar-key--off{opacity:.45}.ar-skip{justify-self:center;min-width:160px}.ar-newbest{color:var(--accent-text);margin:0;font-weight:800}.ar-lines{gap:8px;display:grid}.ar-lines__list{gap:4px;margin:0;padding:0;list-style:none;display:grid}.ar-line{border-radius:var(--radius-chip);background:var(--surface-2);font-variant-numeric:tabular-nums;grid-template-columns:4.6em auto 1fr auto;align-items:baseline;gap:8px;padding:6px 10px;display:grid}.ar-line__scramble{color:var(--fg-muted);letter-spacing:.06em;font-family:ui-monospace,SF Mono,Menlo,monospace}.ar-line__arrow{color:var(--fg-muted)}.ar-line__word{letter-spacing:.04em;font-weight:800}.ar-line__given{color:var(--fg-muted);letter-spacing:0;font-weight:700}.ar-line__tag{color:var(--fg-muted);font-size:.88rem;font-weight:800}.ar-line.is-solved{box-shadow:inset 4px 0 0 var(--tile-hit)}.ar-line.is-solved .ar-line__tag{color:var(--fg)}.ar-line.is-missed,.ar-line.is-skipped{box-shadow:inset 4px 0 0 var(--line-strong)}@media (prefers-reduced-motion:reduce){.ar-count__n,.ar-tile,.ar-score.is-up{animation:none}}
