/* Reaction Test (/games/reaction-test/) */
.reaction [hidden] { display: none !important; }
.rt-wrap { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.rt-panel {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-height: clamp(300px, 48vh, 420px); padding: 24px 16px;
    background: var(--card2); border: 2px solid var(--line-strong); border-radius: var(--radius-lg);
    color: var(--text); font: inherit; text-align: center; cursor: pointer;
    user-select: none; -webkit-user-select: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.rt-panel:active { transform: none; }
.rt-big { font-size: clamp(26px, 6vw, 42px); font-weight: 700; line-height: 1.2; }
.rt-small { font-size: 14px; color: var(--muted); }
.rt-panel[data-state="wait"] { background: var(--sunken); }
.rt-panel[data-state="go"] { background: var(--ok-bg); border-color: var(--ok-line); }
.rt-panel[data-state="go"] .rt-small { color: var(--text); }
.rt-panel[data-state="soon"] { background: var(--danger-bg); border-color: var(--danger-line); }
.rt-panel[data-state="soon"] .rt-small { color: var(--text); }
.rt-tries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.rt-tries li { min-width: 0; padding: 8px 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; font-size: 14px; color: var(--muted); }
.rt-tries li.done { color: var(--text); font-weight: 600; }
.rt-tries li.now { border-color: var(--accent); }
.rt-result .tile b { font-size: clamp(22px, 3vw, 28px); }
.rt-form { margin-top: 16px; }
.rt-result .note { margin-top: 12px; }
.rt-me td { background: var(--accent-soft); }
.reaction .table td:first-child, .reaction .table th:first-child { width: 48px; }
.reaction .sec-h { max-width: 720px; }
#rt-board, #rt-board-status, .rt-foot { max-width: 720px; }
.rt-foot { margin-top: 12px; font-size: 13px; }
