/* Cartridge-era UI: neutral plastic, dark ink and four-tone LCD green. */
:root{--pixel:'VT323','Courier New',monospace;--pixel-title:'Press Start 2P','Courier New',monospace;--cream:#e8ebe3;--muted:#adb8ab;--amber:#adc88c;--panel:#252d29;--line:#586754;--ink:#242c29;--plastic:#e0e3db;--lcd:#c4d49d;--lcd-dark:#334631}
body{font-family:var(--pixel);font-size:20px;color:var(--cream)}
button,input,output,a,p,span,strong,small,label,h1,h2,b{font-family:var(--pixel)!important;font-weight:400;font-synthesis:none}
button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #d1ef9d;outline-offset:5px}
button{border:2px solid var(--ink);border-radius:0;background:var(--plastic);color:var(--ink);box-shadow:inset 2px 2px #fff9,inset -2px -2px #969e94,3px 3px #151c19;font-size:20px}
button:hover{background:#c4d49d;color:#243523}button:active{translate:1px 1px;box-shadow:inset 2px 2px #8a9980,1px 1px #151c19}
.top-hints{gap:14px}.top-hints button,body.mobile .top-hints button,.stack-label{font-size:20px;line-height:1;letter-spacing:.02em;background:var(--plastic);color:var(--ink);border:2px solid var(--ink);border-radius:0;backdrop-filter:none;box-shadow:inset 2px 2px #fff9,inset -2px -2px #969e94,3px 3px #151c19;padding:10px 13px}
.top-hints button:hover,.stack-label:hover,.top-hints button[aria-pressed=true]{background:var(--lcd)}
.top-hints #project-count{color:#344a30;border-left:2px solid #879381;padding-left:8px;margin-left:6px}.top-hints button span{margin-right:5px}
.stack-label{font-size:18px;padding:7px 10px;min-height:34px}
.stack{scrollbar-color:#8b9b72 #263328}.spine{top:18%;bottom:15%;font-size:12px;line-height:1;color:#242c29;border-left-color:var(--accent);padding-left:4px}.spine small{font-size:8px;line-height:1;margin-top:0;letter-spacing:0}.spine strong{font-size:inherit}
.dial-hint{font-size:18px;line-height:1;color:#d4e4bd;background:#26312b;border:2px solid #8c9a7f;border-radius:0;box-shadow:2px 2px #151c19;padding:4px 7px;top:-29px}
.physical-dial,.physical-dial:active{box-shadow:none;background:transparent;border:0;translate:none}.physical-dial:hover{background:#c0e39a18;box-shadow:0 0 0 2px #d1ef9d99}
.game-welcome{background:radial-gradient(ellipse,#14231ceb,#080f14aa);gap:8px}.game-welcome h2,body.mobile .game-welcome h2,body.compact .game-welcome h2{font-family:var(--pixel-title)!important;font-size:clamp(18px,2.1vw,30px);font-weight:400;line-height:1.5;letter-spacing:0;color:#e5ecd9;text-shadow:3px 3px #3b6746;margin:2px 0}
.game-welcome p,body.mobile .game-welcome p,body.compact .game-welcome p{font-size:19px;line-height:1.05;color:#b9cca9;margin:0}.tiny{font-size:16px;color:#a9bc9c;letter-spacing:.08em}.game-key{font-size:14px;letter-spacing:.03em;color:#a9bc9c}
.game-welcome button{font-size:20px;font-weight:400;background:#cad6ba;color:#243326;border:2px solid #263c2e;border-radius:0;padding:8px 20px;box-shadow:inset 2px 2px #f0f4e9,inset -2px -2px #89987a,3px 3px #060c09;min-height:40px;margin-top:7px}.game-welcome button:hover{background:#e0eccb}
.channel-flash{font-family:var(--pixel)!important;color:#c3ed9e;font-size:26px}
.remote .readout,body.mobile .remote .readout{font-family:var(--pixel)!important;font-weight:400;font-size:19px;line-height:1;color:#bdd89c;letter-spacing:0}.remote .program{color:#cbd7bf}.remote .readout>button{font-size:17px;color:#d0d8c9;box-shadow:none;border:0;background:transparent;letter-spacing:0}.remote .readout>button:hover{color:#deffad;background:#ffffff0a}
.remote .remote-buttons button,body.mobile .remote .remote-buttons button{font-size:19px;font-weight:400;letter-spacing:0;color:#e6e8df}.remote .remote-buttons #previous,.remote .remote-buttons #next{color:#e6e8df}.remote .remote-buttons #play-pause{background:linear-gradient(155deg,#96465c,#662c40);border-color:#b36a7d #522333 #321621;color:#fff0f4}
.remote .video-tools input{accent-color:#b4cf8a}.remote .video-tools a,.remote .video-tools output{font-size:14px;line-height:1;color:#d6e2c5}.remote .tv-status,body.mobile .remote .tv-status{font-family:var(--pixel)!important;font-size:15px;line-height:1;color:#d4ddca;background:#19231deb;border-radius:0;text-shadow:none;padding:3px 5px}
.remote .led{background:#b9db87;box-shadow:0 0 5px #90b960}.remote button:active{translate:none}
.tape-tooltip{bottom:252px;background:var(--lcd);color:#293a27;border:3px solid #31422b;border-radius:0;box-shadow:5px 5px #152017;padding:17px 20px}.tape-tooltip>span{font-size:15px;letter-spacing:.04em}.tape-tooltip strong{font-family:var(--pixel-title)!important;font-size:13px;line-height:1.6}.tape-tooltip p{font-size:20px;line-height:1.15}
.touch-controls button{font-size:20px;background:#d6ddd0;color:#243025;border:2px solid #26372a;border-radius:0;box-shadow:inset 2px 2px #fafff2,inset -2px -2px #929d88,3px 3px #152017}
dialog{color:var(--ink);background:#dce1d5;border:4px solid #28352a;border-radius:0;box-shadow:7px 7px #111912,0 20px 70px #0008;padding:24px}dialog::backdrop{background:#08110eb3;backdrop-filter:blur(2px)}dialog header{border-bottom:3px solid #75836e;padding-bottom:18px;gap:14px}dialog h2{font-family:var(--pixel-title)!important;font-size:17px;line-height:1.6;font-weight:400;margin-top:10px;color:#253b2d}.eyebrow{font-size:16px;letter-spacing:.07em;color:#52664c}.close{font-size:28px;min-width:40px;min-height:40px;background:#bfcbb3;color:#243326;border:2px solid #506349;box-shadow:2px 2px #263429;border-radius:0}
dialog p,.help p{font-size:22px;line-height:1.25;color:#34492f}.help strong{color:#182c20}.search-label{font-size:20px;color:#30462c}.drawer input{font-size:22px;border:2px solid #52664a;background:#f0f3e9;color:#20331e;border-radius:0;box-shadow:inset 2px 2px #b6c2ab;padding:9px 11px}.drawer input::placeholder{color:#617258;opacity:1}
.collection-card{background:#c5d49f;border:2px solid #6e8154;border-left:5px solid var(--accent);border-radius:0;padding:14px 16px;box-shadow:2px 2px #8c9b80}.collection-card:hover{background:#d9e5b9;border-color:#334c2b}.collection-card small{font-size:16px;color:#3e542e}.collection-card strong{font-family:var(--pixel-title)!important;font-size:13px;line-height:1.65;color:#263d28;margin:10px 0}.collection-card p{font-size:20px;line-height:1.15;color:#354a2c}.collection-card span{font-size:18px;color:#2a4930;margin-top:10px}
.channel-choice,a.channel-choice{font-size:22px;color:#253c29;background:#c4d0b8;border:2px solid #728468;border-radius:0;padding:14px 16px;box-shadow:2px 2px #6b7c63;gap:18px}.channel-choice:hover,a.channel-choice:hover{background:#d5e5b9}.channel-choice[aria-current=true]{background:#aabd8c;border-color:#2c482d;box-shadow:inset 4px 0 #2c482d,2px 2px #6b7c63}.channel-choice b{font-size:24px;color:#3b542f}.channel-choice span{font-size:22px;line-height:1.1}.dialog-note{font-size:18px!important;color:#526649!important}.found .primary-link{font-size:22px;color:#edf0e6;background:#334d36;border:2px solid #172e20;border-radius:0;box-shadow:3px 3px #829278}.found .primary-link:hover{background:#496744}.found #keep-playing{font-size:22px}.no-js{color:#dce8cb;background:#213228}
body.mobile .screen{border-color:#969c8a;outline-color:#c8d3bc;box-shadow:0 12px 30px #0009,0 0 0 5px #273329}body.mobile .top-hints button{font-size:18px;padding:9px 10px}
body.mobile .remote .readout{font-size:16px}body.mobile .remote .readout>button{font-size:15px}body.mobile .remote .remote-buttons button{font-size:16px}body.mobile .remote .video-tools a,body.mobile .remote .video-tools output{font-size:12px}body.mobile .remote .tv-status{font-size:13px}body.mobile .game-welcome h2{font-size:20px}
body.compact .game-welcome h2{font-size:16px}body.compact .game-welcome p{font-size:17px}body.compact .tiny{font-size:14px}body.compact .game-welcome{gap:3px}body.compact .game-welcome button{margin-top:3px;padding:6px 16px}

button.tape{padding:0;border:0;background:transparent;box-shadow:none;min-height:0;border-radius:0;text-align:left}button.collection-card{width:100%;text-align:left;font-size:inherit}button.tape:active{translate:none}
