/* ==========================================================================
   Distinct Bespoke Styles for Reaction & Speed Tests (6 Tools)
   Each tool uses its own signature palette, layout structure, and visual motif.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. REACTION TIME TEST — F1 Telemetry & Precision Chrono Style
   -------------------------------------------------------------------------- */
.rt-shell {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rt-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.rt-heading h1 {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.rt-heading p {
    margin: 4px 0 0;
    color: var(--text-secondary);
    font-size: 0.94rem;
}

.rt-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.rt-stage {
    position: relative;
    border-radius: 22px;
    min-height: 360px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #0284c7 100%);
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.24);
    transition: background 0.14s ease, transform 0.08s ease;
    touch-action: manipulation;
}

.rt-stage:active {
    transform: scale(0.996);
}

.rt-stage[data-state="waiting"] {
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 60%, #b91c1c 100%);
    box-shadow: 0 20px 44px rgba(220, 38, 38, 0.28);
}

.rt-stage[data-state="ready"] {
    background: linear-gradient(135deg, #047857 0%, #10b981 55%, #059669 100%);
    box-shadow: 0 20px 44px rgba(16, 185, 129, 0.32);
}

.rt-stage[data-state="early"] {
    background: linear-gradient(135deg, #b45309 0%, #d97706 60%, #f59e0b 100%);
}

.rt-stage[data-state="result"] {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.rt-stage-center {
    margin: auto 0;
    padding: 18px 0;
}

.rt-stage-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    margin: 0 auto 14px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rt-main-readout {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 900;
    font-family: var(--font-mono);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 0;
}

.rt-sub-prompt {
    margin: 10px 0 0;
    font-size: 1.04rem;
    opacity: 0.92;
}

.rt-stage-footer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.82rem;
    opacity: 0.88;
}

.rt-round-dots {
    display: flex;
    gap: 8px;
}

.rt-round-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.78rem;
}

.rt-round-pill.is-done {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
}

.rt-telemetry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.rt-stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}

.rt-stat-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.rt-stat-value {
    margin-top: 6px;
    font-size: 1.65rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.rt-analytics-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
}

.rt-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 18px 20px;
}

.rt-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.rt-panel-head h2 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
}

.rt-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 130px;
    padding-top: 16px;
    border-bottom: 1px solid var(--border-color);
}

.rt-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    gap: 6px;
}

.rt-bar-fill {
    width: 100%;
    max-width: 44px;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    transition: height 0.25s ease;
}

.rt-bar-val {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.rt-tier-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rt-tier-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--bg-surface-2);
    font-size: 0.85rem;
}

.rt-tier-row.is-active {
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   2. AUDIO REACTION TIME — Studio Acoustic Console & Oscilloscope
   -------------------------------------------------------------------------- */
.ar-console {
    background: linear-gradient(180deg, #0d1322 0%, #141d33 100%);
    color: #e2e8f0;
    border-radius: 24px;
    border: 1px solid #263452;
    padding: 24px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.24);
}

.ar-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.ar-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.ar-header h1 {
    margin: 0;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: #f8fafc;
}

.ar-knob-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.ar-knob-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    padding: 12px 14px;
}

.ar-knob-box label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    font-family: var(--font-mono);
    margin-bottom: 6px;
}

.ar-select, .ar-range {
    width: 100%;
    background: #0f172a;
    color: #f1f5f9;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 0.86rem;
}

.ar-scope-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #050a14;
    border: 1px solid #1e3a5f;
    margin-bottom: 18px;
}

#ar-scope {
    display: block;
    width: 100%;
    height: 150px;
}

.ar-scope-overlay {
    position: absolute;
    inset: 10px 14px auto;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: #38bdf8;
    pointer-events: none;
}

.ar-trigger-pad {
    width: 100%;
    min-height: 185px;
    border-radius: 18px;
    border: 2px solid #22d3ee;
    background: radial-gradient(circle at center, rgba(34, 211, 238, 0.14), rgba(15, 23, 42, 0.92));
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    transition: all 0.12s ease;
    touch-action: manipulation;
}

.ar-trigger-pad[data-state="armed"] {
    border-color: #f59e0b;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.18), rgba(15, 23, 42, 0.95));
}

.ar-trigger-pad[data-state="signal"] {
    border-color: #34d399;
    background: radial-gradient(circle at center, rgba(52, 211, 153, 0.28), rgba(6, 78, 59, 0.92));
}

.ar-trigger-pad[data-state="early"] {
    border-color: #f87171;
    background: radial-gradient(circle at center, rgba(248, 113, 113, 0.24), rgba(69, 10, 10, 0.92));
}

.ar-pad-readout {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
}

.ar-metrics-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.ar-metric {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.ar-metric span {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.ar-metric strong {
    display: block;
    margin-top: 4px;
    font-size: 1.25rem;
    font-family: var(--font-mono);
    color: #22d3ee;
}

/* --------------------------------------------------------------------------
   3. CPS TEST — Arcade Turbo Speedometer & Ripple Clicker
   -------------------------------------------------------------------------- */
.cps-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 20px;
    align-items: start;
}

.cps-main-card {
    background: var(--bg-surface);
    border: 2px solid #fb923c;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 14px 36px rgba(249, 115, 22, 0.14);
}

.cps-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.cps-head h1 {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ea580c;
}

[data-theme="dark"] .cps-head h1 {
    color: #fb923c;
}

.cps-ring-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 18px;
    width: min(320px, 100%);
    aspect-ratio: 1 / 1;
}

.cps-ring-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.cps-ring-bg {
    fill: none;
    stroke: var(--bg-surface-2);
    stroke-width: 10;
}

.cps-ring-progress {
    fill: none;
    stroke: #f97316;
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.08s linear;
}

.cps-click-pad {
    position: relative;
    width: 82%;
    height: 82%;
    border-radius: 50%;
    border: 0;
    overflow: hidden;
    background: linear-gradient(145deg, #f97316 0%, #ea580c 55%, #dc2626 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 14px 30px rgba(234, 88, 12, 0.36);
    user-select: none;
    touch-action: manipulation;
    transition: transform 0.06s ease;
}

.cps-click-pad:active {
    transform: scale(0.96);
}

.cps-pad-big {
    font-size: 2.7rem;
    font-weight: 900;
    font-family: var(--font-mono);
    line-height: 1;
}

.cps-pad-sub {
    font-size: 0.88rem;
    font-weight: 600;
    opacity: 0.92;
}

.cps-ripple {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
    transform: translate(-50%, -50%) scale(0);
    animation: cpsRipple 0.45s ease-out forwards;
    pointer-events: none;
}

@keyframes cpsRipple {
    to {
        transform: translate(-50%, -50%) scale(6.5);
        opacity: 0;
    }
}

.cps-side-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cps-side-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 18px;
}

.cps-live-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cps-mini-stat {
    background: var(--bg-surface-2);
    border-radius: 12px;
    padding: 12px 14px;
}

.cps-mini-stat > span {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cps-mini-stat > span span {
    display: inline;
}

.cps-mini-stat strong {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.cps-rank-banner {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(234, 88, 12, 0.08));
    border: 1px solid rgba(249, 115, 22, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#cps-chart {
    width: 100%;
    height: 150px;
    display: block;
}

/* --------------------------------------------------------------------------
   4. SPACEBAR TEST — Mechanical Keycap Studio
   -------------------------------------------------------------------------- */
.sb-studio {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.sb-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}

.sb-header h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.sb-hud {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.sb-hud-item {
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 16px;
    text-align: center;
}

.sb-hud-item span {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 700;
}

.sb-hud-item strong {
    display: block;
    margin-top: 4px;
    font-size: 1.8rem;
    font-family: var(--font-mono);
    color: #7c3aed;
}

[data-theme="dark"] .sb-hud-item strong {
    color: #a78bfa;
}

.sb-key-chassis {
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 22px;
    padding: 26px 22px 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border: 1px solid #94a3b8;
}

[data-theme="dark"] .sb-key-chassis {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-color: #334155;
}

.sb-keycap {
    width: min(620px, 100%);
    height: 112px;
    border-radius: 16px;
    border: 2px solid #5b21b6;
    background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 11px 0 #4c1d95, 0 16px 28px rgba(76, 29, 149, 0.35);
    transform: translateY(0);
    transition: transform 0.04s ease, box-shadow 0.04s ease;
    user-select: none;
    touch-action: manipulation;
}

.sb-keycap.is-pressed,
.sb-keycap:active {
    transform: translateY(9px);
    box-shadow: 0 2px 0 #4c1d95, 0 5px 12px rgba(76, 29, 149, 0.3);
}

.sb-cadence-bar {
    width: min(620px, 100%);
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 46px;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

[data-theme="dark"] .sb-cadence-bar {
    background: rgba(255, 255, 255, 0.06);
}

.sb-cadence-tick {
    flex: 1;
    min-width: 4px;
    border-radius: 3px;
    background: #8b5cf6;
}

/* --------------------------------------------------------------------------
   5. TYPING TEST — Minimalist Literary Typewriter Workbench
   -------------------------------------------------------------------------- */
.ty-workbench {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ty-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
}

.ty-paper {
    position: relative;
    background: #fffdf7;
    color: #1f2937;
    border: 1px solid #e7e0cf;
    border-radius: 18px;
    padding: 30px 32px;
    box-shadow: 0 12px 32px rgba(120, 100, 60, 0.08);
    cursor: text;
}

[data-theme="dark"] .ty-paper {
    background: #131926;
    color: #e2e8f0;
    border-color: #263147;
    box-shadow: var(--shadow-md);
}

.ty-live-ribbon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    font-family: var(--font-mono);
}

.ty-live-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0d9488;
}

[data-theme="dark"] .ty-live-num {
    color: #2dd4bf;
}

.ty-words-viewport {
    position: relative;
    font-family: var(--font-mono);
    font-size: clamp(1.15rem, 2.2vw, 1.48rem);
    line-height: 1.9;
    max-height: 165px;
    overflow: hidden;
    user-select: none;
}

.ty-word {
    display: inline-block;
    margin-right: 0.52em;
    color: #94a3b8;
}

.ty-char.is-correct {
    color: #0f172a;
}

[data-theme="dark"] .ty-char.is-correct {
    color: #f8fafc;
}

.ty-char.is-wrong {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.14);
    border-radius: 3px;
}

.ty-char.is-current {
    border-left: 2.5px solid #0d9488;
    margin-left: -2.5px;
    animation: tyBlink 1s steps(1) infinite;
}

@keyframes tyBlink {
    50% { border-left-color: transparent; }
}

.ty-hidden-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.ty-results-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 22px;
}

.ty-results-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

#ty-wpm-chart {
    width: 100%;
    height: 140px;
    display: block;
}

/* --------------------------------------------------------------------------
   6. READING SPEED TEST — Magazine / Academic Comprehension Reader
   -------------------------------------------------------------------------- */
.rs-magazine {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rs-masthead {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--text-primary);
}

.rs-masthead h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    letter-spacing: -0.02em;
}

.rs-controls-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.rs-reader-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: var(--shadow-sm);
}

.rs-passage-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-family: var(--font-mono);
}

.rs-passage-title {
    margin: 0 0 16px;
    font-family: var(--font-serif);
    font-size: 1.55rem;
}

.rs-passage-body {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--text-primary);
}

.rs-passage-body.is-sans {
    font-family: var(--font-sans);
}

.rs-passage-body.is-blurred {
    filter: blur(7px);
    user-select: none;
    pointer-events: none;
}

.rs-quiz-box {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rs-question-card {
    padding: 18px;
    border-radius: 14px;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
}

.rs-question-card h3 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.rs-option-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    margin-bottom: 8px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    font-size: 0.92rem;
    transition: all 0.14s ease;
}

.rs-option-btn:hover {
    border-color: var(--accent);
}

.rs-option-btn.is-selected {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
}

.rs-scorecard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.rs-score-tile {
    padding: 18px;
    border-radius: 14px;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    text-align: center;
}

.rs-score-tile strong {
    display: block;
    font-size: 2rem;
    font-family: var(--font-mono);
    color: var(--accent);
}

/* Responsive adjustments for Reaction & Speed Tools */
@media (max-width: 900px) {
    .rt-telemetry-grid,
    .ar-knob-bar,
    .sb-hud,
    .ty-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rt-analytics-row,
    .cps-layout {
        grid-template-columns: 1fr;
    }
    .ar-metrics-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .rt-stage {
        min-height: 300px;
        padding: 20px 16px;
    }
    .ar-console,
    .cps-main-card,
    .sb-studio,
    .ty-paper,
    .rs-reader-card {
        padding: 18px 16px;
    }
    .ar-metrics-strip,
    .rs-scorecard {
        grid-template-columns: 1fr;
    }
    .sb-keycap {
        height: 88px;
        font-size: 1.05rem;
    }
}
