@charset "UTF-8";
[hidden]{display:none!important}.header-tools{gap:10px}.arcade-setup{padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid var(--line)}.arcade-setup fieldset{margin-bottom:0}.arcade-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.arcade-modes label{cursor:pointer;position:relative}.arcade-modes label>span{display:block;padding:15px 12px;background:var(--paper);border:1px solid var(--line);border-radius:12px;font-size:12px;font-weight:700;line-height:1.5}.arcade-modes small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px}.ranked-rule{font-size:11px;line-height:1.7;color:var(--muted);margin:17px 0}.arcade-name-row{display:flex;gap:9px}.arcade-name-row input{width:100%;min-width:0;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:10px;padding:12px;font-size:14px}.arcade-name-row .button{gap:5px;font-size:11px;white-space:nowrap;padding:10px 12px;min-height:44px}#name-hint{display:block;margin-top:9px;font-size:10px;line-height:1.6;color:var(--muted)}.setup-error{color:#a33e35;font-size:12px;line-height:1.6;margin-top:12px}.setup-error:empty{display:none}.intro-rounds{list-style:none;counter-reset:stages;padding:0;margin:20px 0;display:grid;gap:13px}.intro-rounds li{counter-increment:stages;padding-left:30px;position:relative}.intro-rounds li:before{content:counter(stages);position:absolute;left:0;top:2px;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:var(--accent-light);color:var(--accent-dark);font-size:10px}.intro-rounds strong{display:block;font-size:12px}.intro-rounds span{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-top:4px}.public-name-note{font-size:11px!important;line-height:1.6!important;padding:12px;border:1px dashed var(--line);border-radius:10px}.results-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);align-items:start;gap:24px}.return-card{transform:none;display:block;position:sticky;top:20px}.return-card h1{font-size:38px;line-height:1.1;margin-top:22px}.return-card>.result-copy{font-size:13px;line-height:1.7;margin:15px 0 25px}.return-card>label{display:block;font-size:10px;margin:0 0 9px}.return-card .return-task{font-size:21px;line-height:1.5;margin:0 0 24px;padding:0 0 23px}.return-card .button{width:100%;margin:0}.return-card>small{display:block;line-height:1.7;margin-top:15px}.result-main h2{font-size:30px;line-height:1.1}.result-stats{grid-template-columns:repeat(2,1fr);gap:22px}.rank-receipt{font-size:11px;line-height:1.8;border-top:1px solid var(--line);padding-top:16px;margin-top:18px;overflow-wrap:anywhere}.rank-receipt .text-button{display:inline-block}.optional-actions{display:flex;gap:22px;justify-content:space-between;margin-top:18px}.results-details{margin-top:17px}.break-finished{max-width:620px;margin:auto}.results-layout:has(.break-finished){display:block}.score-dialog{max-width:650px;width:calc(100% - 30px);max-height:85vh;overflow:auto;background:var(--card);color:var(--ink);border:1px solid var(--ink);border-radius:22px;padding:28px}.score-dialog::backdrop{background:#10232099;backdrop-filter:blur(4px)}.board-heading{display:flex;gap:20px;justify-content:space-between;align-items:start}.board-heading .eyebrow{font-size:9px;margin-bottom:9px}.board-heading h2{font-size:30px}.board-copy{font-size:12px;line-height:1.7;color:var(--muted);margin:17px 0 21px}.board-fine{font-size:10px;line-height:1.7;color:var(--muted);margin-top:20px;border-top:1px solid var(--line);padding-top:15px}.leaderboard{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.leaderboard th,.leaderboard td{padding:13px 7px;border-bottom:1px solid var(--line)}.leaderboard thead th{font:9px Consolas,monospace;text-transform:uppercase;color:var(--muted)}.leaderboard tbody th{overflow-wrap:anywhere;max-width:190px}.leaderboard td:last-child,.leaderboard td:nth-child(3),.leaderboard thead th:last-child,.leaderboard thead th:nth-child(3){text-align:right}.leaderboard tbody tr:first-child{background:var(--accent-light)}.board-empty{border:1px dashed var(--line);border-radius:15px;padding:28px 17px;text-align:center;font-size:17px}.board-empty small{display:block;font-size:11px;color:var(--muted);margin-top:10px;line-height:1.6}.your-best{padding:15px 12px;background:var(--paper);font-size:11px;border-radius:10px;margin-top:20px;line-height:1.8}.your-best strong{display:block}.board-total{font-size:10px;color:var(--muted);margin-top:13px}.board-button:disabled{opacity:.45}body[data-game=stress] .arcade-modes label>span{background:#222340;border-color:#4a4c70;color:#f2efff}body[data-game=stress] .arcade-modes input:checked+span{background:#373e3e;color:#ddf99a;border-color:#d3ee9a;box-shadow:none}body[data-game=stress] .arcade-modes small,body[data-game=stress] .ranked-rule,body[data-game=stress] #name-hint{color:#b7b6cf}body[data-game=stress] .arcade-name-row input{background:#17182f;border-color:#535572;color:#fff}body[data-game=stress] .setup-error{color:#ffc0b6}body[data-game=stress] .score-dialog{background:#191a36;border-color:#62617e;color:#f5f2ff}body[data-game=stress] .score-dialog .board-copy,body[data-game=stress] .score-dialog .board-fine,body[data-game=stress] .score-dialog .board-total{color:#b8b6d0}body[data-game=stress] .score-dialog .leaderboard tbody tr:first-child{background:#323d3b;color:#d9f99e}body[data-game=stress] .score-dialog .your-best{background:#252642}body[data-game=stress] .return-card h1{font-size:38px;color:#f8f3ff}body[data-game=stress] .result-main h2{color:#f6f0ff}body[data-game=stress] .rank-receipt{border-color:#4d4c6d;color:#c3c1dc}body[data-game=stress] .intro-rounds li:before{background:#d3ee9a;color:#22263b}
body[data-game=stress] .return-card h1{color:#243d3f}body[data-game=stress] .return-card>.result-copy{color:#3d5b50}
@media(max-width:760px){.results-layout{grid-template-columns:1fr}.return-card{position:static}.return-card h1{font-size:35px}.return-card .return-task{font-size:19px}.return-card>.result-copy{margin-bottom:20px}.return-card>label{margin:0 0 7px}.score-dialog{padding:23px}.board-heading h2{font-size:26px}}
@media(max-width:500px){.site-header{gap:10px}.header-tools{gap:6px}.header-tools .sound-button{font-size:9px;padding:8px 9px;min-height:37px}.arcade-modes{gap:8px}.arcade-modes label>span{font-size:11px;padding:12px 9px}.arcade-modes small{font-size:9px}.arcade-name-row .button{font-size:10px;padding:9px}.arcade-name-row input{font-size:16px;padding:10px}.ranked-rule,#name-hint{font-size:10px}.intro-rounds span{font-size:10px}.result-main h2{font-size:25px}.return-card h1,body[data-game=stress] .return-card h1{font-size:33px}.return-card>small{font-size:10px}.results-footer{flex-direction:column;gap:6px}.results-footer>span{max-width:none}.score-dialog{padding:20px 15px}.leaderboard{font-size:10px}.leaderboard th,.leaderboard td{padding:12px 5px}.leaderboard thead th{font-size:8px}.board-heading h2{font-size:24px}.board-heading .eyebrow{font-size:7px}.board-heading{gap:10px}.board-heading .text-button{font-size:10px}.optional-actions{gap:12px}.board-empty{font-size:16px}.result-stats{gap:20px 15px}}

/* Short arcade cues and a compact return visit. */
body[data-game=typing] .returning-player .welcome-hero{display:block;padding:5px 0 20px}
body[data-game=typing] .returning-player .welcome-hero h1{font-size:37px;line-height:1.08}
body[data-game=typing] .returning-player .hero-copy{font-size:12px;line-height:1.65;max-width:600px;margin-top:10px}
body[data-game=typing] .returning-player .hero-machine,body[data-game=typing] .returning-player .hero-tags{display:none}
body[data-game=typing] .returning-player .hero-actions{margin-top:15px}
body[data-game=typing] .returning-player .notebook-heading,body[data-game=typing] .returning-player .notebook>h2,body[data-game=typing] .returning-player .round-preview{display:none}
body[data-game=typing] .returning-player .personal-note{margin-top:0;border-top:0;padding-top:0}
.stage-cue{display:block;min-height:14px;margin-top:7px;font-size:10px!important;line-height:1.4!important;color:var(--accent-dark);font-weight:700;letter-spacing:0!important}
.leaderboard tbody tr:first-child{background:transparent}
.leaderboard tbody tr.leaderboard-you{background:var(--accent-light)}
.you-label{display:inline-block;margin-left:7px;padding:2px 5px;border-radius:5px;background:var(--accent-dark);color:white;font-size:8px;line-height:1.4;vertical-align:middle}
body[data-game=typing]:has(.game-console) .site-header{padding-top:12px;padding-bottom:10px}
body[data-game=typing]:has(.game-console) .play-topline{margin-top:10px;margin-bottom:10px}
@media(max-width:500px){
 body[data-game=typing] .returning-player .welcome-hero{padding:4px 0 17px}
 body[data-game=typing] .returning-player .welcome-hero h1{font-size:31px}
 body[data-game=typing] .returning-player .hero-copy{font-size:11px;line-height:1.6}
 body[data-game=typing] .returning-player .hero-actions{margin-top:12px}
 body[data-game=typing] .returning-player .setup-card{padding:17px 15px}
 body[data-game=typing] .returning-player .card-title{padding-bottom:12px;margin-bottom:15px}
 body[data-game=typing] .returning-player .arcade-setup{padding-bottom:14px;margin-bottom:16px}
 body[data-game=typing] .returning-player fieldset{margin-bottom:15px}
 body[data-game=typing] .returning-player .segmented label>span{padding:9px 5px}
 body[data-game=typing] .returning-player .choice-options label>span{min-height:57px;padding:9px 5px}
 body[data-game=typing] .returning-player .task-label{margin-top:15px}
 body[data-game=typing] .returning-player .start-row{margin-top:16px}
 body[data-game=typing]:has(.game-console) .site-header{padding-top:10px;padding-bottom:6px}
 body[data-game=typing]:has(.game-console) .typing-progress-art{display:none}
 body[data-game=typing]:has(.game-console) .typing-stage{padding-top:8px}
 body[data-game=typing]:has(.game-console) .console-display{padding-top:14px;padding-bottom:14px}
 body[data-game=typing]:has(.game-console) .passage{min-height:54px}
 body[data-game=typing]:has(.game-console) .typing-message{min-height:23px;padding-bottom:6px}
 body[data-game=typing]:has(.game-console) .under-console{margin-top:12px}
 .stage-cue{font-size:8px!important;max-width:90px;min-height:13px}
 .you-label{display:block;width:max-content;margin:4px 0 0}
}
@media(max-height:580px) and (max-width:700px){
 body[data-game=typing]:has(.game-console) .site-header{display:none}
 body[data-game=typing]:has(.game-console) .console-copy p,body[data-game=typing]:has(.game-console) .passage-source,body[data-game=typing]:has(.game-console) .under-console,body[data-game=typing]:has(.game-console) .site-footer{display:none}
 body[data-game=typing]:has(.game-console) .console-display{padding:10px 14px}
 body[data-game=typing]:has(.game-console) .passage{min-height:42px;padding:4px 0}
 body[data-game=typing]:has(.game-console) .typing-toolbar{padding-top:9px}
}
