/* GENERATED by tools/theme/build-dark.mjs from the stylesheets below. Do not edit; tweak dist/dark.css. */

/* styles.css */
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] button{color:inherit}
html[data-theme="dark"] button{border:0}
html[data-theme="dark"] a{color:inherit;text-decoration:none}
html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] select:focus-visible{outline:3px solid var(--cyan)}
html[data-theme="dark"] ::selection{background:var(--acid);color:var(--on-accent)}
html[data-theme="dark"] .muted{color:var(--muted)}
html[data-theme="dark"] .acid{color:var(--acid-text)}
html[data-theme="dark"] .pink{color:var(--pink)}
html[data-theme="dark"] .skip-link{background:var(--acid);color:var(--on-accent)}
html[data-theme="dark"] .topbar{border-bottom:1px solid var(--line);background:rgba(33,33,33,0.961)}
html[data-theme="dark"] .top-strap{color:var(--muted)}
html[data-theme="dark"] .top-strap span{color:var(--line)}
html[data-theme="dark"] .mode-toggle{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .mode-toggle b{color:var(--acid-text)}
html[data-theme="dark"] .mode-led{background:var(--acid);box-shadow:0 0 10px rgba(255,214,10,0.063)}
html[data-theme="dark"] .mode-toggle[aria-pressed=false] b{color:var(--muted)}
html[data-theme="dark"] .mode-toggle[aria-pressed=false] .mode-led{background:var(--muted);box-shadow:none}
html[data-theme="dark"] .icon-btn{background:var(--panel);border:1px solid var(--line)}
html[data-theme="dark"] .icon{stroke:currentColor;fill:none}
html[data-theme="dark"] .sidebar{border-right:1px solid var(--line)}
html[data-theme="dark"] .sidebar-label{color:var(--muted)}
html[data-theme="dark"] .nav-item{color:var(--muted)}
html[data-theme="dark"] .nav-item:hover{background:var(--panel);color:var(--ink)}
html[data-theme="dark"] .nav-item.active{background:var(--acid);color:#111b0e}
html[data-theme="dark"] .nav-item.active .nav-count{background:#e6be1f;color:#152412}
html[data-theme="dark"] .nav-count{background:var(--panel2);color:var(--muted)}
html[data-theme="dark"] .small-license{border:1px solid var(--line);background:linear-gradient(135deg,#232723,#232323)}
html[data-theme="dark"] .small-license .mono{color:var(--cyan)}
html[data-theme="dark"] .license-symbol{color:rgba(180,199,185,0.314)}
html[data-theme="dark"] .source-link{background:none;color:var(--muted)}
html[data-theme="dark"] .sidebar-note{color:#c0c7c3}
html[data-theme="dark"] #main:focus{outline:0}
html[data-theme="dark"] .eyebrow{color:var(--muted)}
html[data-theme="dark"] .eyebrow:before{background:var(--acid)}
html[data-theme="dark"] .page-head .mono{color:var(--muted)}
html[data-theme="dark"] .day-pill{border:1px solid var(--line);color:var(--muted)}
html[data-theme="dark"] .hero{border:1px solid #444644;background:#222727}
html[data-theme="dark"] .hero:after{background:linear-gradient(90deg,rgba(33,33,33,0.99),rgba(33,33,33,0.84) 35%,rgba(33,33,33,0.15) 69%,rgba(33,33,33,0.05)),linear-gradient(0deg,rgba(34,36,36,0.667),transparent 40%)}
html[data-theme="dark"] .hero-label{background:rgba(255,214,10,0.071);border:1px solid rgba(255,214,10,0.188);color:var(--acid-text)}
html[data-theme="dark"] .hero h2 span{color:var(--acid-text)}
html[data-theme="dark"] .hero-description{color:#d1d3d2}
html[data-theme="dark"] .btn{border:1px solid transparent}
html[data-theme="dark"] .btn-primary{background:var(--acid);color:#17200f}
html[data-theme="dark"] .btn-primary:hover{background:#70642e}
html[data-theme="dark"] .btn-secondary{background:var(--panel2);border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .btn-secondary:hover{background:#282828}
html[data-theme="dark"] .btn-ghost{background:transparent;color:var(--ink)}
html[data-theme="dark"] .hero-foot{color:#bec8c8}
html[data-theme="dark"] .hero-coordinate{color:#abdbd9}
html[data-theme="dark"] .scene-sticker{border:2px solid var(--pink);background:rgba(35,39,39,0.753);color:var(--pink)}
html[data-theme="dark"] .hero-scene-tag{color:#d4d7d6;background:rgba(33,35,35,0.733)}
html[data-theme="dark"] .stat-strip{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .stat{border-right:1px solid var(--line)}
html[data-theme="dark"] .stat:last-child{border:0}
html[data-theme="dark"] .stat-label{color:var(--muted)}
html[data-theme="dark"] .stat-value small{color:var(--muted)}
html[data-theme="dark"] .stat-icon{color:#bec8c7}
html[data-theme="dark"] .progress-line{background:var(--line)}
html[data-theme="dark"] .progress-line span{background:var(--acid)}
html[data-theme="dark"] .text-link{background:none;color:var(--acid-text)}
html[data-theme="dark"] .mission-card{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .mission-card:hover{border-color:var(--cyan)}
html[data-theme="dark"] .mission-card:before{background:radial-gradient(circle,var(--card-color,#ffd60a) 0%,transparent 70%)}
html[data-theme="dark"] .card-top{color:var(--muted)}
html[data-theme="dark"] .card-tag{border:1px solid var(--line);color:var(--card-color,var(--acid-text));background:rgba(33,33,33,0.439)}
html[data-theme="dark"] .card-art .icon{color:var(--card-color,var(--acid-text))}
html[data-theme="dark"] .card-art strong{color:var(--card-color,var(--acid-text))}
html[data-theme="dark"] .card-art .dashed-path{border-top:2px dashed var(--line)}
html[data-theme="dark"] .mission-card p{color:var(--muted)}
html[data-theme="dark"] .card-bottom{color:var(--muted)}
html[data-theme="dark"] .card-arrow{color:var(--card-color,var(--acid-text))}
html[data-theme="dark"] .route-strip{border:1px solid var(--line);background:linear-gradient(90deg,#262626,var(--panel))}
html[data-theme="dark"] .route-strip .route-icon{border:1px solid #4f504c;color:var(--acid-text)}
html[data-theme="dark"] .route-strip p{color:var(--muted)}
html[data-theme="dark"] .fine-print{color:var(--muted);border-top:1px solid var(--line)}
html[data-theme="dark"] .fine-print a{text-decoration:underline}
html[data-theme="dark"] .chip{border:1px solid var(--line);background:var(--panel);color:var(--muted)}
html[data-theme="dark"] .chip.active{background:var(--acid);color:var(--on-accent);border-color:var(--acid)}
html[data-theme="dark"] .back-btn{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .mission-info{color:var(--muted)}
html[data-theme="dark"] .scene-panel{border:1px solid var(--line);background:#252929}
html[data-theme="dark"] .scene-panel .scene-caption{color:var(--muted);background:var(--panel);border-top:1px solid var(--line)}
html[data-theme="dark"] .scene-panel .scene-view-btn{background:rgba(34,36,36,0.859);border:1px solid #525554}
html[data-theme="dark"] .scene-heading{color:#b9ef97}
html[data-theme="dark"] .question-panel .eyebrow{color:var(--cyan)}
html[data-theme="dark"] .question-context{color:#cfd2d1;background:var(--panel);border-left:2px solid var(--cyan)}
html[data-theme="dark"] .answer-note{color:var(--muted)}
html[data-theme="dark"] .statement{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .statement-index{color:var(--muted)}
html[data-theme="dark"] .choice-btn{border:1px solid #434545;background:var(--bg);color:var(--muted)}
html[data-theme="dark"] .choice-btn.selected{color:#152112;background:var(--acid);border-color:var(--acid)}
html[data-theme="dark"] .statement.correct{border-color:#505450}
html[data-theme="dark"] .statement.incorrect{border-color:#bb6371}
html[data-theme="dark"] .verdict-dot{color:var(--acid-text)}
html[data-theme="dark"] .statement.incorrect .verdict-dot{color:var(--pink)}
html[data-theme="dark"] .question-actions .small{color:var(--muted)}
html[data-theme="dark"] .feedback{border:1px solid #4a504a;background:#252525}
html[data-theme="dark"] .feedback.wrong{background:#252525;border-color:#534f50}
html[data-theme="dark"] .feedback h3{color:var(--acid-text)}
html[data-theme="dark"] .feedback.wrong h3{color:var(--pink)}
html[data-theme="dark"] .feedback p{color:#d4d8d4}
html[data-theme="dark"] .source-badges a{color:var(--cyan);border:1px solid #4b4d4c;text-decoration:underline}
html[data-theme="dark"] .gag{background:rgba(34,34,34,0.659);border:1px dashed rgba(89,92,84,0.4)}
html[data-theme="dark"] .gag .stamp{color:var(--acid-text);border:2px solid var(--acid)}
html[data-theme="dark"] .gag p{color:var(--ink)}
html[data-theme="dark"] .feedback.wrong .gag .stamp{border-color:var(--pink);color:var(--pink)}
html[data-theme="dark"] .recall-banner{border:1px solid #434849;background:#222727;color:var(--cyan)}
html[data-theme="dark"] .result-hero{background:radial-gradient(circle at 50% 20%,#272a27,transparent 62%),var(--panel);border:1px solid var(--line)}
html[data-theme="dark"] .result-mark{border:2px solid var(--acid);color:var(--acid-text)}
html[data-theme="dark"] .result-hero p{color:var(--muted)}
html[data-theme="dark"] .result-stats strong{color:var(--acid-text)}
html[data-theme="dark"] .result-stats span{color:var(--muted)}
html[data-theme="dark"] .result-row{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .result-row p{color:var(--muted)}
html[data-theme="dark"] .result-indicator{background:#252925;color:var(--acid-text)}
html[data-theme="dark"] .result-indicator.wrong{background:#2b2528;color:var(--pink)}
html[data-theme="dark"] .search-box .icon{color:var(--muted)}
html[data-theme="dark"] .search-box input{border:1px solid var(--line);background:var(--panel);color:var(--ink)}
html[data-theme="dark"] .chapter-card{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .chapter-card:hover{border-color:var(--acid)}
html[data-theme="dark"] .chapter-number{color:var(--card-color,var(--acid-text))}
html[data-theme="dark"] .chapter-card p{color:var(--muted)}
html[data-theme="dark"] .chapter-card .mono{color:var(--card-color,var(--acid-text))}
html[data-theme="dark"] .article-head{border:1px solid var(--line);background:linear-gradient(120deg,#252925,#232525)}
html[data-theme="dark"] .article-head p{color:var(--muted)}
html[data-theme="dark"] .article-section{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .article-section .section-meta{color:var(--muted)}
html[data-theme="dark"] .facts li{color:#d3d6d4}
html[data-theme="dark"] .facts li:before{color:var(--acid-text)}
html[data-theme="dark"] .topic-status{color:var(--muted)}
html[data-theme="dark"] .empty-state{border:1px dashed var(--line)}
html[data-theme="dark"] .empty-state p{color:var(--muted)}
html[data-theme="dark"] .exam-intro{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .exam-content p{color:var(--muted)}
html[data-theme="dark"] .exam-specs span{color:var(--muted)}
html[data-theme="dark"] .exam-timer{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .exam-timer.urgent{color:var(--pink);border-color:var(--pink)}
html[data-theme="dark"] .jump-btn{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .jump-btn.answered{background:#252925;color:var(--acid-text);border-color:#484b47}
html[data-theme="dark"] .jump-btn.current{outline:2px solid var(--cyan)}
html[data-theme="dark"] .progress-card{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .progress-card p{color:var(--muted)}
html[data-theme="dark"] .progress-card .mono{color:var(--muted)}
html[data-theme="dark"] .learning-note{border:1px solid var(--line);background:#252525}
html[data-theme="dark"] .learning-note p{color:var(--muted)}
html[data-theme="dark"] .drive-shell{border:1px solid var(--line)}
html[data-theme="dark"] .drive-shell iframe{border:0}
html[data-theme="dark"] dialog{background:var(--panel);color:var(--ink);border:1px solid #525453}
html[data-theme="dark"] dialog::backdrop{background:rgba(31,31,31,0.788)}
html[data-theme="dark"] .modal-header{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .modal-body p{color:var(--muted)}
html[data-theme="dark"] .setting-row{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .source-item{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .source-item a{color:var(--cyan);text-decoration:underline}
html[data-theme="dark"] .source-item .mono{color:var(--muted)}
html[data-theme="dark"] .toast{background:var(--acid);color:#131b11;box-shadow:0 8px 40px rgba(0,0,0,0.084)}
html[data-theme="dark"] .audio-btn{background:transparent;color:var(--cyan)}
html[data-theme="dark"] .receipt{color:var(--ink);border:1px dashed #869977;background:#222222}
html[data-theme="dark"] .receipt hr{border:0;border-top:1px dashed #839877}
html[data-theme="dark"] .badge{border:1px solid var(--line);background:var(--panel);color:var(--muted)}
html[data-theme="dark"] .badge.unlocked{border-color:#51534d;color:var(--acid-text);background:#252525}
html[data-theme="dark"] .search-result{background:var(--panel);border:1px solid var(--line)}
html[data-theme="dark"] .search-result span{color:var(--muted)}
html[data-theme="dark"] .calm .hero h2 span{color:var(--cyan)}
html[data-theme="dark"] .webgl-fallback{background:radial-gradient(ellipse at 70% 40%,#272a2d,transparent 60%),repeating-linear-gradient(125deg,#222727 0 60px,#282828 61px 63px)}
html[data-theme="dark"] body.exam-active .question-panel .eyebrow{color:var(--muted)}
@media(max-width:700px){
html[data-theme="dark"] .hero:after{background:linear-gradient(0deg,rgba(32,32,34,0.933),rgba(32,32,34,0.451) 46%,rgba(250,250,251,0) 65%),linear-gradient(90deg,rgba(32,32,34,0.502),rgba(250,250,251,0))}
html[data-theme="dark"] .scene-sticker{background:rgba(35,35,35,0.851)}
html[data-theme="dark"] .stat:nth-child(2){border-right:0}
html[data-theme="dark"] .stat:nth-child(-n+2){border-bottom:1px solid var(--line)}
html[data-theme="dark"] .mobile-nav{background:rgba(34,34,34,0.969);border-top:1px solid var(--line)}
html[data-theme="dark"] .mobile-nav a{color:var(--muted)}
html[data-theme="dark"] .mobile-nav a.active{color:var(--acid-text);background:rgba(255,214,10,0.047)}
}
html[data-theme="dark"] .question-diagram{background:#212123}

/* judge.css */
html[data-theme="dark"] .judge{color:var(--judge-white);background:var(--judge-bg);border:1px solid var(--judge-line);box-shadow:0 24px 70px rgba(0,0,0,0.14)}
html[data-theme="dark"] .judge__header{background:linear-gradient(135deg, #242424, #222424)}
html[data-theme="dark"] .judge__eyebrow{color:var(--judge-mint)}
html[data-theme="dark"] .judge__toggle{border:1px solid var(--judge-line);color:var(--judge-muted);background:#222222}
html[data-theme="dark"] .judge__toggle[aria-pressed="true"]{color:#daede9;background:var(--judge-mint);border-color:var(--judge-mint)}
html[data-theme="dark"] .judge__toggle:hover{border-color:var(--judge-mint)}
html[data-theme="dark"] .judge__meta{color:var(--judge-muted);background:#222222;border-top:1px solid rgba(29,29,29,0.04);border-bottom:1px solid var(--judge-line)}
html[data-theme="dark"] .judge__stage{background:#212123}
html[data-theme="dark"] .judge__fallback{color:var(--judge-muted);background:linear-gradient(145deg, #222727, #222222)}
html[data-theme="dark"] .judge__start{border:1px solid var(--judge-mint);color:#0b1714;background:var(--judge-mint);box-shadow:0 12px 28px rgba(0,0,0,0.14)}
html[data-theme="dark"] .judge__start:hover{background:#265e39}
html[data-theme="dark"] .judge__workspace{background:linear-gradient(180deg, #242424, #222424);border-top:1px solid var(--judge-line)}
html[data-theme="dark"] .judge__step{color:var(--judge-muted)}
html[data-theme="dark"] .judge__stepbar{background:#252929}
html[data-theme="dark"] .judge__stepbar i{background:var(--judge-mint)}
html[data-theme="dark"] .judge__setup{color:var(--judge-muted)}
html[data-theme="dark"] .judge__description{color:var(--judge-muted)}
html[data-theme="dark"] .judge__excuse{border-left:3px solid var(--judge-coral);color:#f09e96;background:rgba(123,55,50,0.08)}
html[data-theme="dark"] .judge__driver strong{color:var(--judge-white)}
html[data-theme="dark"] .judge__driver span{color:var(--judge-muted)}
html[data-theme="dark"] .judge__answer,html[data-theme="dark"] .judge__confirm{border:1px solid var(--judge-line);color:var(--judge-white);background:#222222}
html[data-theme="dark"] .judge__answers--spatial b{background:var(--judge-mint);color:#dcf0ea}
html[data-theme="dark"] .judge__answer:hover{border-color:var(--judge-mint);background:#222424}
html[data-theme="dark"] .judge__confirm{color:#daede9;background:var(--judge-mint);border-color:var(--judge-mint)}
html[data-theme="dark"] .judge__confirm:hover{background:#265e39}
html[data-theme="dark"] .judge__status{color:var(--judge-muted)}
html[data-theme="dark"] .judge__status[data-tone="retry"]{color:#f0c396}
html[data-theme="dark"] .judge__status[data-tone="ok"]{color:var(--judge-mint)}
html[data-theme="dark"] .judge__feedback{border:1px solid rgba(48,118,72,0.24);background:rgba(48,118,72,0.06)}
html[data-theme="dark"] .judge__compare{color:var(--judge-white);background:#222222;border:1px solid var(--judge-mint)}
html[data-theme="dark"] .judge__correct-thumb{background:#212123}
html[data-theme="dark"] .judge__correct-thumb figcaption{color:var(--judge-mint)}
html[data-theme="dark"] .judge__feedback p + p{color:var(--judge-muted)}
html[data-theme="dark"] .judge__feedback .judge__compare-note{color:var(--judge-muted)}
html[data-theme="dark"] .judge__rule{color:var(--judge-white)}
html[data-theme="dark"] .judge__rule span{color:var(--judge-mint)}
html[data-theme="dark"] .judge__source{border:1px solid var(--judge-line);color:var(--judge-mint);background:#222222;text-decoration:none}
html[data-theme="dark"] .judge__source:hover{border-color:var(--judge-mint);text-decoration:underline}
html[data-theme="dark"] .judge__receipt{border:1px dashed rgba(45,51,29,0.38);color:#d7dadb;background:#222222;box-shadow:0 10px 24px rgba(0,0,0,0.09)}
html[data-theme="dark"] .judge__receipt-head{border-bottom:1px dashed rgba(45,51,29,0.24)}
html[data-theme="dark"] .judge__receipt-head strong{color:var(--judge-coral)}
html[data-theme="dark"] .judge__receipt-head span{color:var(--judge-muted)}
html[data-theme="dark"] .judge__receipt p,html[data-theme="dark"] .judge__receipt p + p{color:var(--judge-white)}
html[data-theme="dark"] .judge__receipt small{color:var(--judge-muted)}
html[data-theme="dark"] .judge button:focus-visible,html[data-theme="dark"] .judge a:focus-visible{outline:3px solid var(--judge-yellow)}
@media (min-width: 1050px){
html[data-theme="dark"] .judge--started .judge__workspace{border-top:0;border-left:1px solid var(--judge-line)}
}

/* lessons.css */
html[data-theme="dark"] .lesson-lead{color:#d5d8d6}
html[data-theme="dark"] .lesson-card{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .lesson-number{color:var(--acid-text)}
html[data-theme="dark"] .lesson-card p,html[data-theme="dark"] .lesson-case p,html[data-theme="dark"] .lesson-recall p,html[data-theme="dark"] .lesson-practical p{color:#d5d8d6}
html[data-theme="dark"] .lesson-references a{border:1px solid var(--line);color:var(--acid-text)}
html[data-theme="dark"] .lesson-references span{color:var(--muted)}
html[data-theme="dark"] .lesson-case,html[data-theme="dark"] .lesson-recall{border:1px solid rgba(131,197,184,0.271);background:linear-gradient(120deg,#252525,#232525)}
html[data-theme="dark"] .lesson-case .eyebrow,html[data-theme="dark"] .lesson-recall .eyebrow{color:var(--cyan)}
html[data-theme="dark"] .lesson-case details,html[data-theme="dark"] .lesson-recall details{border-top:1px solid var(--line)}
html[data-theme="dark"] .lesson-view summary{color:var(--acid-text)}
html[data-theme="dark"] .lesson-view .lesson-self-check{color:var(--muted)}
html[data-theme="dark"] .lesson-practical{border-left:3px solid var(--pink);background:rgba(36,36,36,0.22)}
html[data-theme="dark"] .mission-mix-note{color:var(--muted)}
html[data-theme="dark"] .lesson-view a:focus-visible,html[data-theme="dark"] .lesson-view summary:focus-visible{outline:3px solid var(--cyan)}

/* garage.css */
html[data-theme="dark"] .garage-page{color:#d9dbd7}
html[data-theme="dark"] .garage-search>.sr-only{border:0}
html[data-theme="dark"] .garage-head-stamp{border:1px solid #4c4e4d;color:#bccbc0}
html[data-theme="dark"] .garage-quick-start{border:1px solid #b19363;color:#f0c996;background:#252525}
html[data-theme="dark"] .garage-quick-start:hover{background:#2a2a26}
html[data-theme="dark"] .garage-vehicle{border:1px solid #454848;background:linear-gradient(145deg,#242828,#222424 65%);box-shadow:0 18px 52px rgba(5,10,12,0.068)}
html[data-theme="dark"] .garage-vehicle-top{border-bottom:1px solid rgba(76,78,78,0.333)}
html[data-theme="dark"] .garage-vehicle-top .mono{color:#d1d3d1}
html[data-theme="dark"] .garage-live{color:#bccbc0;border:1px solid #535655}
html[data-theme="dark"] .garage-xray{border-top:1px solid rgba(76,78,78,0.333)}
html[data-theme="dark"] .garage-xray>span{color:#d3d7d3}
html[data-theme="dark"] .garage-xray output{color:var(--garage-orange)}
html[data-theme="dark"] .garage-graphic-note{color:#cfd2cf}
html[data-theme="dark"] .garage-zone{border:1px solid #3f4341;color:#d2d5d2;background:#242424}
html[data-theme="dark"] .garage-zone:hover,html[data-theme="dark"] .garage-zone.selected{border-color:var(--garage-orange);background:#272727}
html[data-theme="dark"] .garage-zone>span{color:var(--garage-orange)}
html[data-theme="dark"] .garage-zone small{color:#bec8c0}
html[data-theme="dark"] .garage-zone>b{color:#ced2ce}
html[data-theme="dark"] .garage-intro>p{color:#d1d3d1}
html[data-theme="dark"] .garage-inventory{border-top:1px solid #3e413f}
html[data-theme="dark"] .garage-inventory strong{color:var(--garage-orange)}
html[data-theme="dark"] .garage-inventory span{color:#bec8be}
html[data-theme="dark"] .garage-search input{border:1px solid #4e514e;background:#222424;color:#d9dcd6}
html[data-theme="dark"] .garage-search input::placeholder{color:#bec9bd}
html[data-theme="dark"] .garage-topic-link{border:1px solid #3f4240;background:#242424}
html[data-theme="dark"] .garage-topic-link:hover{background:#272727;border-color:#585b58}
html[data-theme="dark"] .garage-topic-link>.mono{color:var(--garage-orange)}
html[data-theme="dark"] .garage-topic-link strong{color:#d8dbd5}
html[data-theme="dark"] .garage-topic-link small{color:#c0cbbb}
html[data-theme="dark"] .garage-topic-link b{color:#cfd3cd}
html[data-theme="dark"] .garage-physical-summary{border-top:1px solid #474846}
html[data-theme="dark"] .garage-physical-summary>span{color:#e8cd9e}
html[data-theme="dark"] .garage-physical-summary strong{color:#e5c7a1}
html[data-theme="dark"] .garage-physical-summary p{color:#c2cbbb}
html[data-theme="dark"] .garage-empty{border:1px dashed #535655;color:#d1d4d0}
html[data-theme="dark"] .garage-topic-lead{color:#d2d4d0}
html[data-theme="dark"] .garage-section-label{color:var(--garage-orange)}
html[data-theme="dark"] .garage-case{border:1px solid #50514d;background:#222727}
html[data-theme="dark"] .garage-case>p{color:#d6d9d2}
html[data-theme="dark"] .garage-option{border:1px solid #4d4e4c;background:#222222;color:#d7dad4}
html[data-theme="dark"] .garage-option>span{color:#c5d0b6}
html[data-theme="dark"] .garage-option:hover:not(:disabled){border-color:#d6ba85;background:#262626}
html[data-theme="dark"] .garage-option.correct{border-color:#78c9a5;background:#222727}
html[data-theme="dark"] .garage-option.correct>span{color:#97efc4}
html[data-theme="dark"] .garage-option.incorrect{border-color:#854e36;background:#282824}
html[data-theme="dark"] .garage-option small{color:#d5d7d1;border-top:1px solid rgba(82,84,80,0.4)}
html[data-theme="dark"] .garage-case-result{border-top:1px solid #4f504c}
html[data-theme="dark"] .garage-case-result>strong{color:#c3dcaa}
html[data-theme="dark"] .garage-case-result p{color:#d0d3ce}
html[data-theme="dark"] .garage-case-note{color:#c3ceb9}
html[data-theme="dark"] .garage-refs a{color:#cdd5d0;border-bottom:1px solid #545755}
html[data-theme="dark"] .garage-refs span{color:#bfcbbb}
html[data-theme="dark"] .garage-joke{border-left:3px solid #ffd60a;background:#282828}
html[data-theme="dark"] .garage-joke .mono{color:#f2e2a5}
html[data-theme="dark"] .garage-joke p{color:#c6dda9}
html[data-theme="dark"] .garage-explanation{border:1px solid #444542;background:#232525}
html[data-theme="dark"] .garage-explanation>summary>strong{color:#d7dad2}
html[data-theme="dark"] .garage-explanation>summary>span:last-child{color:#cbddaa}
html[data-theme="dark"] .garage-explanation[open]>summary{border-bottom:1px solid #41443f}
html[data-theme="dark"] .garage-knowledge-card{border-bottom:1px solid rgba(69,71,68,0.31)}
html[data-theme="dark"] .garage-knowledge-card h3{color:#d9dcd4}
html[data-theme="dark"] .garage-knowledge-card p{color:#d2d5cf}
html[data-theme="dark"] .garage-recall details>summary{color:#c5e0a6}
html[data-theme="dark"] .garage-recall details p{color:#d3d6cf}
html[data-theme="dark"] .garage-explanation-body>.garage-topic-lead{border-bottom:1px solid rgba(69,71,68,0.31)}
html[data-theme="dark"] .garage-objectives{border:1px solid #444644}
html[data-theme="dark"] .garage-objectives>summary{color:#d2d5cd}
html[data-theme="dark"] .garage-objectives li{border-top:1px solid #424340}
html[data-theme="dark"] .garage-objectives .mono{color:#d3cbb3}
html[data-theme="dark"] .garage-requirement{background:#262a26;color:#d1d6cf}
html[data-theme="dark"] .garage-requirement.physical{background:#2a2626;color:#eccd9a}
html[data-theme="dark"] .garage-objectives p{color:#d0d3cd}
html[data-theme="dark"] .garage-practical{border:1px solid #514f4c;background:#242424}
html[data-theme="dark"] .garage-practical h2{color:#eed098}
html[data-theme="dark"] .garage-practical-intro{color:#d6d3cd}
html[data-theme="dark"] .garage-practical li{border-top:1px solid rgba(86,84,80,0.376)}
html[data-theme="dark"] .garage-practical li:before{color:#ebcc9b}
html[data-theme="dark"] .garage-practical li>strong{color:#e1cea5}
html[data-theme="dark"] .garage-practical li p{color:#d4d3cc}
html[data-theme="dark"] .garage-practical .garage-refs span{color:#cfcbb7}
html[data-theme="dark"] .garage-practical .garage-refs a{color:#ddcea9;border-color:#5c5b57}
html[data-theme="dark"] .garage-checklist-list>section{background:#242424;border:1px solid #484946}
html[data-theme="dark"] .garage-checklist-list li{border-top:1px solid #474a45;color:#d6d9d1}
html[data-theme="dark"] .garage-checklist-list li p{color:#d1d4ce}
html[data-theme="dark"] .garage-atlas-link{border:1px solid #545450;background:linear-gradient(110deg,#272727,#282424)}
html[data-theme="dark"] .garage-atlas-link .mono{color:#ebc79b}
html[data-theme="dark"] .garage-atlas-link strong{color:#dbdcd4}
html[data-theme="dark"] .garage-atlas-link small{color:#d3d3cd}
html[data-theme="dark"] .garage-atlas-link>b{color:#ebc99b}

/* voice.css */
html[data-theme="dark"] .voice-player{border:1px solid #494a47;border-left:4px solid var(--acid,#ffd60a);background:linear-gradient(105deg,#242424 0%,#222222 55%,#242424 100%);box-shadow:0 12px 32px rgba(8,11,12,0.1);color:var(--ink,#dfdfd8)}
html[data-theme="dark"] .voice-ai-badge{border:1px solid rgba(255,214,10,0.4);background:rgba(255,214,10,0.063);color:var(--acid,#f2e2a5)}
html[data-theme="dark"] .voice-speaker{color:var(--muted,#c0c7c4)}
html[data-theme="dark"] .voice-status{color:var(--cyan,#96f0e8)}
html[data-theme="dark"] .voice-transcript{border:0}
html[data-theme="dark"] .voice-control,html[data-theme="dark"] .voice-rate{border:1px solid #444646;background:var(--panel2,#242424);color:var(--ink,#dfdfd8)}
html[data-theme="dark"] .voice-control:hover:not(:disabled),html[data-theme="dark"] .voice-rate:hover{border-color:var(--cyan,#74eee2)}
html[data-theme="dark"] .voice-control-primary{background:var(--acid,#ffd60a);border-color:var(--acid,#ffd60a);color:#17200f}
html[data-theme="dark"] .voice-rate-caption{color:var(--muted,#c0c7c4)}
@media(max-width:700px){
html[data-theme="dark"] .voice-player{box-shadow:0 7px 20px rgba(8,11,12,0.068)}
}
html[data-theme="dark"] .voice-read,html[data-theme="dark"] .judge__voice{border:1px solid #50534f;background:#232723;color:#c7d9ad}
html[data-theme="dark"] .voice-read:hover,html[data-theme="dark"] .judge__voice:hover{border-color:var(--cyan,#74eee2)}
html[data-theme="dark"] .voice-read[aria-pressed=true],html[data-theme="dark"] .judge__voice[aria-pressed=true]{border-color:var(--acid,#ffd60a);color:var(--acid,#f2e2a5)}
html[data-theme="dark"] .voice-speaking,html[data-theme="dark"] [aria-current="true"].voice-speaking{outline:2px solid var(--cyan,#74eee2);background-color:rgba(116,238,226,0.102)}

/* exam-visual.css */
html[data-theme="dark"] .scene-photo{background:#232323;border-color:#404343;box-shadow:0 12px 35px rgba(0,0,0,0.034)}
html[data-theme="dark"] .scene-photo-top{color:#b9cbce;background:#222424}
html[data-theme="dark"] .scene-photo-top span:first-child{color:#cce1a5}
html[data-theme="dark"] .scene-photo-fallback{color:#dadedb;background:#242828}
html[data-theme="dark"] .scene-photo-fallback button{border:1px solid #8aafb6;background:#292c2c;color:#dfdfdf}
html[data-theme="dark"] .scene-photo-bottom{border-top:1px solid #474a4a}
html[data-theme="dark"] .scene-photo-bottom p{color:#c5d9ae}
html[data-theme="dark"] .scene-expand{border:1px solid #555858;background:#272727;color:#b2d9ae}
html[data-theme="dark"] .scene-expand:hover{background:#282b2b}
html[data-theme="dark"] .scene-expand svg{fill:none;stroke:currentColor}
html[data-theme="dark"] .scene-facts span{background:#252929;border:1px solid #474a4b;color:#d5dbdb}
html[data-theme="dark"] .scene-photo-note{color:#bccacb}
html[data-theme="dark"] .exam-active .choice-btn.selected{background:#252929;color:#dadfdf;border-color:#39555a;box-shadow:inset 0 0 0 1px rgba(57,85,90,0.25)}
html[data-theme="dark"] .exam-active .choice-btn.selected:focus-visible{outline-color:#39555a}
html[data-theme="dark"] .exam-selection-note{color:#d0d3d3}
html[data-theme="dark"] .scene-lightbox{border:1px solid #4d5050;background:#232525;color:#d9dedc}
html[data-theme="dark"] .scene-lightbox::backdrop{background:rgba(32,32,32,0.875)}
html[data-theme="dark"] .scene-lightbox header{border-bottom:1px solid #424546}
html[data-theme="dark"] .scene-lightbox header .mono{color:#cfd4d4}
html[data-theme="dark"] .scene-lightbox-close{border:1px solid #5c5e5f;color:#b5daac;background:#272a2a}
html[data-theme="dark"] .scene-lightbox-stage{background:#344850}
html[data-theme="dark"] .scene-lightbox-stage img{background:#222424}
html[data-theme="dark"] .scene-lightbox-zoom{border:1px solid #5c5e5f;background:#272a2a;color:#b5daac}
html[data-theme="dark"] .scene-zoom-hint{background:#262a2a;color:#d5dbdb}

/* journey.css */
html[data-theme="dark"] .journey-shell{color:var(--ink)}
html[data-theme="dark"] .journey-kicker{color:var(--muted)}
html[data-theme="dark"] .journey-kicker:before{background:var(--acid)}
html[data-theme="dark"] .journey-streak{color:var(--acid-text)}
html[data-theme="dark"] .journey-streak small{color:var(--muted)}
html[data-theme="dark"] .journey-daily-bar{border:1px solid #3e4141;background:#232325;box-shadow:0 3px 0 rgba(11,17,18,0.25)}
html[data-theme="dark"] .journey-daily-bar strong{color:var(--ink)}
html[data-theme="dark"] .journey-daily-bar span{color:var(--muted)}
html[data-theme="dark"] .journey-progress-meter{background:#202222}
html[data-theme="dark"] .journey-progress-meter i{background:linear-gradient(90deg,var(--cyan),var(--acid))}
html[data-theme="dark"] .journey-unit-control{color:var(--muted)}
html[data-theme="dark"] .journey-unit-control select{border:1px solid #424343;background:#222727;color:var(--ink)}
html[data-theme="dark"] .journey-unit-control select:focus-visible{outline:3px solid var(--cyan)}
html[data-theme="dark"] .journey-path{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .journey-path-head p{color:var(--muted)}
html[data-theme="dark"] .journey-path-count{color:var(--acid-text)}
html[data-theme="dark"] .journey-road:before{background:repeating-linear-gradient(to bottom,var(--cyan) 0 9px,transparent 9px 16px)}
html[data-theme="dark"] .journey-node{color:var(--ink)}
html[data-theme="dark"] .journey-node__circle{border:2px solid #4c4e4d;background:#222727;color:var(--muted);box-shadow:0 5px 0 rgba(13,20,21,0.25),0 0 0 6px var(--panel)}
html[data-theme="dark"] .journey-node__title small{color:var(--muted)}
html[data-theme="dark"] .journey-step--lesson-complete .journey-node__circle{border-color:var(--acid);background:#272727;color:var(--acid-text)}
html[data-theme="dark"] .journey-step--needs-repair .journey-node__circle{border-color:var(--pink);background:#282424;color:var(--pink)}
html[data-theme="dark"] .journey-step--needs-practice .journey-node__circle{border-color:var(--amber);background:#262626;color:var(--amber-text)}
html[data-theme="dark"] .journey-step--review-due .journey-node__circle{border-color:var(--cyan);background:#262626;color:var(--cyan)}
html[data-theme="dark"] .journey-step--active .journey-node{background:#262626;border:1px solid #575b54;box-shadow:0 4px 0 rgba(17,26,21,0.25)}
html[data-theme="dark"] .journey-step--active .journey-node__circle{border-color:var(--acid);color:var(--acid-text)}
html[data-theme="dark"] .journey-coach{color:var(--cyan)}
html[data-theme="dark"] .journey-start{color:var(--acid-text)}
html[data-theme="dark"] .journey-next-copy{border:1px solid #494c49;background:#232723}
html[data-theme="dark"] .journey-next-copy small{color:var(--cyan)}
html[data-theme="dark"] .journey-details{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .journey-details summary{color:var(--ink)}
html[data-theme="dark"] .journey-details summary:after{color:var(--acid-text)}
html[data-theme="dark"] .journey-goal{border:1px solid #3e413f;background:#242424;color:var(--muted);box-shadow:0 3px 0 rgba(12,19,20,0.25)}
html[data-theme="dark"] .journey-goal:active{box-shadow:none}
html[data-theme="dark"] .journey-goal--active{background:var(--acid);border-color:var(--acid);color:#14200f}
html[data-theme="dark"] .journey-day{border:1px solid var(--line);color:var(--muted)}
html[data-theme="dark"] .journey-day--done{background:#272727;color:var(--acid-text);border-color:#515551}
html[data-theme="dark"] .journey-day--today{outline:2px solid var(--cyan)}
html[data-theme="dark"] .journey-quests{border-top:1px solid var(--line)}
html[data-theme="dark"] .journey-quest{color:var(--muted)}
html[data-theme="dark"] .journey-quest--done>span:first-child{color:var(--acid-text)}
html[data-theme="dark"] .journey-links a{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .journey-links a:last-child{border:0}
html[data-theme="dark"] .journey-links a span{color:var(--acid-text)}
html[data-theme="dark"] .journey-progress-head h1 small{color:var(--muted)}
html[data-theme="dark"] .journey-progress-head p{color:var(--muted)}
html[data-theme="dark"] .journey-empty{color:var(--muted)}
html[data-theme="dark"] .journey-glyph{fill:none;stroke:currentColor}
html[data-theme="dark"] .journey-step--active .journey-node{background:transparent;border-color:transparent;box-shadow:none}
html[data-theme="dark"] .journey-step--active .journey-node:hover{background:#262626;border-color:#575b54;box-shadow:0 4px 0 rgba(17,26,21,0.25)}

/* journey-player.css */
html[data-theme="dark"] .journey-player-title>span,html[data-theme="dark"] .journey-player-count{color:var(--cyan)}
html[data-theme="dark"] .journey-progress{background:var(--panel2)}
html[data-theme="dark"] .journey-progress i{background:linear-gradient(90deg,var(--cyan),var(--acid))}
html[data-theme="dark"] .journey-focus-card{border:1px solid var(--line);background:linear-gradient(145deg,var(--panel),var(--panel2));box-shadow:0 20px 70px rgba(0,0,0,0.05)}
html[data-theme="dark"] .journey-focus-card .lesson-number{color:var(--acid-text)}
html[data-theme="dark"] .journey-audio-cards{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .journey-audio-cards>p{color:var(--muted)}
html[data-theme="dark"] .journey-audio-cards article.current{background:var(--panel2)}
html[data-theme="dark"] .journey-audio-cards article>span{color:var(--cyan)}
html[data-theme="dark"] .journey-control-dock{border:1px solid rgba(83,84,84,0.502);background:rgba(34,34,34,0.91);box-shadow:0 12px 42px rgba(0,0,0,0.134)}
html[data-theme="dark"] .journey-control-dock>p{color:var(--muted)}
html[data-theme="dark"] .journey-statement-panel{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .journey-statement-head{border-bottom:1px solid var(--line);color:var(--muted)}
html[data-theme="dark"] .journey-player .journey-statement>.statement-index{color:var(--cyan)}
html[data-theme="dark"] .journey-tactile-choice{border:1px solid #545656;background:#232323;color:var(--ink)}
html[data-theme="dark"] .journey-tactile-choice:hover{border-color:var(--cyan)}
html[data-theme="dark"] .journey-tactile-choice.selected{border-color:var(--acid);background:#242828;color:var(--acid-text)}
html[data-theme="dark"] .journey-back-statement{border:0;background:transparent;color:var(--ink)}
html[data-theme="dark"] .journey-statement-dots button{border:1px solid var(--line);background:var(--panel2);color:var(--muted)}
html[data-theme="dark"] .journey-statement-dots button.answered{border-color:#5a5e5b;color:var(--acid-text)}
html[data-theme="dark"] .journey-statement-dots button.current{outline:2px solid var(--cyan)}
html[data-theme="dark"] .journey-checkpoint-note{border-left:3px solid var(--amber);background:rgba(40,40,36,0.122)}
html[data-theme="dark"] .journey-sr-only{border:0!important}
html[data-theme="dark"] .journey-feedback-tray{border:1px solid #565856;background:rgba(34,34,34,0.922);box-shadow:0 14px 46px rgba(0,0,0,0.15)}
html[data-theme="dark"] .journey-feedback-tray.repair{border-color:#625d58;background:rgba(36,36,36,0.918)}
html[data-theme="dark"] .journey-feedback-summary>span{background:#252925;color:var(--acid-text)}
html[data-theme="dark"] .journey-feedback-tray.repair .journey-feedback-summary>span{background:#2b2824;color:var(--amber-text)}
html[data-theme="dark"] .journey-feedback-summary p{color:var(--muted)}
html[data-theme="dark"] .journey-feedback-gag{border-left:2px solid var(--cyan);background:rgba(32,32,34,0.4);color:var(--muted)}
html[data-theme="dark"] .journey-feedback-tray>details{border-top:1px solid var(--line)}
html[data-theme="dark"] .journey-answer-review>div{border:1px solid var(--line)}
html[data-theme="dark"] .journey-answer-review b{color:var(--cyan)}
html[data-theme="dark"] .journey-answer-review .wrong{border-color:#625d58}
html[data-theme="dark"] .journey-answer-review .wrong>span{color:var(--amber-text)}
html[data-theme="dark"] .journey-open-step,html[data-theme="dark"] .journey-lesson-done{border:1px solid var(--line);background:var(--panel)}
html[data-theme="dark"] .journey-case-context{border-left:3px solid var(--cyan);background:var(--panel2)}
html[data-theme="dark"] .journey-writing-form textarea{background:#222222;color:var(--ink);border:1px solid #555856}
html[data-theme="dark"] .journey-own-answer{border:1px dashed #535655}
html[data-theme="dark"] .journey-own-answer span{color:var(--cyan)}
html[data-theme="dark"] .journey-mental-note{border:1px dashed #525353;color:var(--muted)}
html[data-theme="dark"] .journey-model-answer{background:#242424;border-left:3px solid var(--cyan)}
html[data-theme="dark"] .journey-daily-result{border:1px solid var(--line);background:var(--panel2)}
html[data-theme="dark"] .journey-daily-result strong{color:var(--acid-text)}
html[data-theme="dark"] .journey-daily-result span{color:var(--muted)}
html[data-theme="dark"] .journey-practical-note{border:1px solid var(--line)}
html[data-theme="dark"] .journey-celebration i{background:var(--acid)}
html[data-theme="dark"] .journey-celebration i:nth-child(2){background:var(--cyan)}
html[data-theme="dark"] .journey-celebration i:nth-child(3){background:var(--amber)}

/* experience.css */
html[data-theme="dark"] .journey-surface{background:var(--bg)}
html[data-theme="dark"] .journey-surface .topbar{background:rgba(34,34,36,0.961);border-color:#393d40}
html[data-theme="dark"] .journey-surface .icon-btn,html[data-theme="dark"] .journey-surface .mode-toggle{background:#22262a;border-color:#434649;box-shadow:0 3px 0 rgba(8,15,27,0.25)}
html[data-theme="dark"] .journey-surface .icon-btn:active,html[data-theme="dark"] .journey-surface .mode-toggle:active{box-shadow:0 1px 0 rgba(8,15,27,0.25)}
html[data-theme="dark"] .sound-btn[aria-pressed=true]{color:var(--cyan)}
html[data-theme="dark"] .sound-btn[aria-pressed=false]{color:var(--muted)}
html[data-theme="dark"] .journey-road-line path{fill:none;stroke:var(--cyan)}
html[data-theme="dark"] .journey-surface .journey-node__circle{background:linear-gradient(145deg,#262a2a,#22262a);border-color:#505356;box-shadow:0 5px 0 rgba(8,15,27,0.25),0 0 0 6px var(--panel),inset 0 2px 0 rgba(29,29,29,0.013)}
html[data-theme="dark"] .journey-surface .journey-step--active .journey-node__circle{background:linear-gradient(145deg,#70642e,#ffcf00);color:#213313;border-color:#ffd60a;box-shadow:0 6px 0 rgba(120,158,56,0.25),0 0 0 7px var(--panel),0 0 30px rgba(255,214,10,0.018)}
html[data-theme="dark"] .journey-surface .journey-step--lesson-complete .journey-node__circle{background:#252929;border-color:var(--acid);color:var(--acid-text)}
html[data-theme="dark"] .journey-surface .journey-step--review-due .journey-node__circle{border-color:var(--cyan);color:var(--cyan)}
html[data-theme="dark"] .journey-surface .journey-step--needs-repair .journey-node__circle{border-color:var(--pink);color:var(--pink)}
html[data-theme="dark"] .journey-surface .journey-step--needs-practice .journey-node__circle{border-color:var(--amber);color:var(--amber-text)}
html[data-theme="dark"] .journey-surface .journey-step--active .journey-node__circle{color:#213313;border-color:var(--acid)}
html[data-theme="dark"] .journey-surface .journey-step--active .journey-node__title small{color:var(--acid-text)}
html[data-theme="dark"] .journey-next-copy:hover{border-color:var(--acid)}
html[data-theme="dark"] .journey-focus .topbar{border:0;background:transparent}
html[data-theme="dark"] .experience-status{color:var(--muted);border-top:1px solid var(--line)}
html[data-theme="dark"] .experience-status summary:before{color:var(--cyan)}
html[data-theme="dark"] .experience-status .fine-print{border:0}
html[data-theme="dark"] .journey-surface .mobile-nav{background:rgba(34,34,36,0.969);border-color:#3f4245}
html[data-theme="dark"] .journey-surface .mobile-nav a.active{background:rgba(255,214,10,0.075)}
html[data-theme="dark"] .journey-surface .btn-primary{box-shadow:0 4px 0 rgba(116,153,59,0.25)}
html[data-theme="dark"] .journey-surface .btn-primary:active{box-shadow:0 1px 0 rgba(116,153,59,0.25)}
html[data-theme="dark"] .journey-surface .btn-secondary{box-shadow:0 3px 0 rgba(11,19,33,0.25)}
html[data-theme="dark"] .journey-surface .btn-secondary:active{box-shadow:0 1px 0 rgba(11,19,33,0.25)}
html[data-theme="dark"] .journey-surface .btn:focus-visible{outline:3px solid var(--cyan)}
@media(max-width:860px){
html[data-theme="dark"] .journey-jump{border:1px solid #565a4e;background:#ffd60a;color:#213313;box-shadow:0 4px 0 rgba(116,158,56,0.25)}
html[data-theme="dark"] .journey-jump:active{box-shadow:0 1px 0 rgba(116,158,56,0.25)}
}

/* turn-lesson.css */
html[data-theme="dark"] .turn-shell{color:#dcdeda}
html[data-theme="dark"] .turn-top{color:#b8c7ce}
html[data-theme="dark"] .turn-top>a{border:1px solid #414445;text-decoration:none;color:#dadedc}
html[data-theme="dark"] .turn-top i{color:#b9c5ce}
html[data-theme="dark"] .turn-listen{border:1px solid #424548;background:#222227;color:#d7dddc}
html[data-theme="dark"] .turn-meter{background:#262a2a}
html[data-theme="dark"] .turn-meter>span{background:var(--turn-lime)}
html[data-theme="dark"] .turn-viewbar{background:#212323;border:1px solid #3c3f40}
html[data-theme="dark"] .turn-viewbar button{border:0;background:transparent;color:#cfd3d4}
html[data-theme="dark"] .turn-viewbar button[aria-pressed=true]{background:#ffd60a;color:#17230d;box-shadow:0 3px 12px rgba(216,255,98,0.028)}
html[data-theme="dark"] .turn-canvas-wrap{border:1px solid #424546;background:linear-gradient(#22262a,#81a4af);box-shadow:0 30px 80px rgba(0,0,0,0.084)}
html[data-theme="dark"] .turn-stage figcaption{color:#b9c5ce}
html[data-theme="dark"] .turn-kicker{color:var(--turn-cyan)}
html[data-theme="dark"] .turn-body h1 em{color:var(--turn-lime)}
html[data-theme="dark"] .turn-lead{color:#d2d5d6}
html[data-theme="dark"] .turn-primary{background:var(--turn-lime);color:#dfeed1;border:1px solid #645a29;box-shadow:0 5px 0 rgba(114,139,52,0.25),0 10px 26px rgba(216,255,98,0.021);text-decoration:none}
html[data-theme="dark"] .turn-primary:active,html[data-theme="dark"] .turn-choice:active{box-shadow:0 1px 0 rgba(114,139,52,0.25)}
html[data-theme="dark"] .turn-primary:disabled{background:#262a2a;color:#bac7cc;border-color:#444749;box-shadow:none}
html[data-theme="dark"] .turn-instruction{border-left:2px solid var(--turn-cyan);background:rgba(125,230,229,0.027)}
html[data-theme="dark"] .turn-instruction>span{color:var(--turn-cyan)}
html[data-theme="dark"] .turn-instruction p{color:#cfd4d4}
html[data-theme="dark"] .turn-choice{border:1px solid #44474a;background:linear-gradient(110deg,#242828,#212529);color:#d9dfda;box-shadow:0 4px 0 rgba(10,23,36,0.25)}
html[data-theme="dark"] .turn-choice>small{color:#b5c8d1}
html[data-theme="dark"] .turn-choice>b{color:#b5c8d1}
html[data-theme="dark"] .turn-choice:hover{border-color:var(--turn-cyan);background:#25282b}
html[data-theme="dark"] .turn-rule{border:1px solid rgba(125,230,229,0.231);background:rgba(125,230,229,0.031)}
html[data-theme="dark"] .turn-rule>b{color:var(--turn-cyan)}
html[data-theme="dark"] .turn-rule p{color:#d1d6d7}
html[data-theme="dark"] .turn-gag{color:#bd96f0}
html[data-theme="dark"] .turn-source{color:#b7c8cf}
html[data-theme="dark"] .turn-source a{color:var(--turn-cyan)}
html[data-theme="dark"] .turn-text-btn{border:0;background:transparent;color:var(--turn-cyan);text-decoration:underline}
html[data-theme="dark"] .turn-replay-status{color:#ccd3d4}
html[data-theme="dark"] .turn-feedback{background:#232727;border:1px solid rgba(90,199,171,0.267)}
html[data-theme="dark"] .turn-feedback>span{color:#9ceac3}
html[data-theme="dark"] .turn-feedback strong{color:#98efb9}
html[data-theme="dark"] .turn-feedback p{color:#d0d6d6}
html[data-theme="dark"] .turn-feedback--repair{background:#282828;border-color:rgba(124,86,51,0.267)}
html[data-theme="dark"] .turn-feedback--repair>span,html[data-theme="dark"] .turn-feedback--repair strong{color:#f0c896}
html[data-theme="dark"] .turn-done-art>span{background:#262a2a;color:#f2e2a5}
html[data-theme="dark"] .turn-evidence{border-top:1px solid #414447}
html[data-theme="dark"] .turn-evidence li{border-bottom:1px solid #414447}
html[data-theme="dark"] .turn-evidence li>span{color:#b6c8d0}
html[data-theme="dark"] .turn-evidence b{color:#d5dbd7}
html[data-theme="dark"] .turn-review-note{color:#b6c9d0}
html[data-theme="dark"] .turn-entry{border:1px solid rgba(125,230,229,0.361);background:radial-gradient(ellipse at 100% 0,rgba(42,45,45,0.4),transparent 70%),linear-gradient(110deg,#242828,#222227);color:#dadeda;text-decoration:none;box-shadow:0 12px 30px rgba(0,0,0,0.034)}
html[data-theme="dark"] .turn-entry__mark{border:1px solid rgba(216,255,98,0.439);color:#f2e2a5;background:rgba(216,255,98,0.043)}
html[data-theme="dark"] .turn-entry small{color:#9bebeb}
html[data-theme="dark"] .turn-entry>span>span{color:#ced1d2}
html[data-theme="dark"] .turn-entry>b{color:#f2e2a5}
html[data-theme="dark"] .turn-entry:hover{border-color:#ffd60a}
html[data-theme="dark"] .turn-shell :focus-visible,html[data-theme="dark"] .turn-entry:focus-visible{outline:3px solid #7de6e5}
html[data-theme="dark"] .turn-recall-label{color:#d1d6d8}
html[data-theme="dark"] .turn-body textarea{border:1px solid #4c5051;background:#202429;color:#dadfdd}
html[data-theme="dark"] .turn-body textarea::placeholder{color:#b9c7ce}
html[data-theme="dark"] .turn-own-answer{border-left:3px solid #7de6e5;background:rgba(125,230,229,0.031);color:#d2d7d7}
html[data-theme="dark"] .turn-sr{border:0}
html[data-theme="dark"] .turn-stage--pick .turn-canvas-wrap{outline:2px solid rgba(125,230,229,0.4)}
html[data-theme="dark"] .turn-point-hint{color:#9bebeb}
html[data-theme="dark"] .turn-text-alternative{color:#ced3d5}

/* redesign.css */
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] .display{color:var(--ink)}
html[data-theme="dark"] .muted{color:var(--muted)}
html[data-theme="dark"] .acid,html[data-theme="dark"] span.acid{color:var(--good-ink)}
html[data-theme="dark"] .pink{color:var(--bad-ink)}
html[data-theme="dark"] ::selection{background:var(--accent);color:var(--accent-ink)}
html[data-theme="dark"] a.text-link,html[data-theme="dark"] .text-link{color:var(--blue-ink)}
html[data-theme="dark"] .mono,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .journey-kicker,html[data-theme="dark"] .answer-note,html[data-theme="dark"] .sidebar-label,html[data-theme="dark"] .top-strap,html[data-theme="dark"] .card-tag,html[data-theme="dark"] .card-top,html[data-theme="dark"] .card-bottom,html[data-theme="dark"] .section-head .eyebrow,html[data-theme="dark"] .stat-label,html[data-theme="dark"] .journey-path-count,html[data-theme="dark"] .scene-caption{color:var(--muted)}
html[data-theme="dark"] .topbar{background:#1d1d1d!important;border-bottom:2px solid var(--line)}
html[data-theme="dark"] .brand{color:var(--ink)}
html[data-theme="dark"] .sidebar{border-right:2px solid var(--line);background:#1d1d1d}
html[data-theme="dark"] .nav-item{color:var(--muted);border:2px solid transparent}
html[data-theme="dark"] .nav-item:hover{background:var(--panel2)}
html[data-theme="dark"] .nav-item.active,html[data-theme="dark"] .nav-item[aria-current="page"]{background:#48401e;color:var(--ink);border-color:var(--accent-shadow)}
html[data-theme="dark"] .mobile-nav{background:#1d1d1d;border-top:2px solid var(--line)}
html[data-theme="dark"] .mobile-nav .nav-item.active,html[data-theme="dark"] .mobile-nav .nav-item[aria-current="page"]{background:#48401e}
html[data-theme="dark"] .icon-btn,html[data-theme="dark"] .mode-toggle{background:#1d1d1d!important;border:2px solid var(--line)!important;color:var(--ink)!important}
html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] select:focus-visible{outline:3px solid var(--blue)}
html[data-theme="dark"] select,html[data-theme="dark"] input{background:#1d1d1d;color:var(--ink);border:2px solid var(--line)!important}
html[data-theme="dark"] .btn-primary{background:var(--accent)!important;color:var(--accent-ink)!important;box-shadow:0 4px 0 var(--accent-shadow);border:0}
html[data-theme="dark"] .btn-primary:active{box-shadow:0 1px 0 var(--accent-shadow)}
html[data-theme="dark"] .btn-secondary{background:#1d1d1d!important;color:var(--ink)!important;border:2px solid var(--line)!important;box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .choice-btn{background:#1d1d1d;color:var(--ink);border:2px solid var(--line);box-shadow:0 3px 0 var(--line)}
html[data-theme="dark"] .choice-btn.selected{background:#162a36;color:var(--blue-ink);border-color:var(--blue);box-shadow:0 3px 0 var(--blue)}
html[data-theme="dark"] .question-panel,html[data-theme="dark"] .feedback,html[data-theme="dark"] .journey-path,html[data-theme="dark"] .journey-details,html[data-theme="dark"] .journey-next-copy,html[data-theme="dark"] .exam-intro,html[data-theme="dark"] .learning-note,html[data-theme="dark"] .chapter-card,html[data-theme="dark"] .mission-card,html[data-theme="dark"] .result-row,html[data-theme="dark"] .article-section,html[data-theme="dark"] .statement,html[data-theme="dark"] .journey-daily-bar,html[data-theme="dark"] .stat-strip,html[data-theme="dark"] .route-strip,html[data-theme="dark"] .journey-statement-panel{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .statement.correct{border-color:var(--good);background:var(--good-bg)}
html[data-theme="dark"] .statement.incorrect{border-color:var(--bad);background:var(--bad-bg)}
html[data-theme="dark"] .feedback{border-color:var(--good);background:var(--good-bg);box-shadow:0 4px 0 var(--good)}
html[data-theme="dark"] .feedback h3{color:var(--good-ink)}
html[data-theme="dark"] .feedback.wrong{border-color:var(--bad);background:var(--bad-bg);box-shadow:0 4px 0 var(--bad)}
html[data-theme="dark"] .feedback.wrong h3{color:var(--bad-ink)}
html[data-theme="dark"] .journey-feedback-tray.correct{background:var(--good-bg);border-top:3px solid var(--good)}
html[data-theme="dark"] .journey-feedback-tray.repair{background:var(--bad-bg);border-top:3px solid var(--bad)}
html[data-theme="dark"] .journey-progress-meter{background:var(--panel2)}
html[data-theme="dark"] .journey-progress-meter i{background:var(--good)}
html[data-theme="dark"] .journey-surface{background:#1d1d1d}
html[data-theme="dark"] .judge__start{background:var(--accent)!important;color:var(--accent-ink)!important;box-shadow:0 4px 0 var(--accent-shadow)!important;border:0!important}
html[data-theme="dark"] .mission-card::before,html[data-theme="dark"] .mission-card::after,html[data-theme="dark"] .mission-card .card-art::before,html[data-theme="dark"] .mission-card .card-art::after{background:none!important;box-shadow:none!important}
html[data-theme="dark"] .mission-card .card-art{background:none!important}
html[data-theme="dark"] .mission-card .card-arrow,html[data-theme="dark"] .chapter-card .card-arrow,html[data-theme="dark"] .mission-card .card-art strong,html[data-theme="dark"] .mission-card .card-art svg{color:color-mix(in srgb,var(--card-color,#d5d9de) 55%,#dce2e8)!important}
html[data-theme="dark"] .chapter-card .chapter-number,html[data-theme="dark"] .chapter-card .mono{color:color-mix(in srgb,var(--card-color,#d5d9de) 50%,#dce2e8)!important}
html[data-theme="dark"] .mobile-nav .nav-item.active .nav-label,html[data-theme="dark"] .mobile-nav .nav-item[aria-current="page"] .nav-label{color:var(--ink)!important}
html[data-theme="dark"] .mobile-nav .nav-label{color:var(--muted)}
html[data-theme="dark"] #humor-toggle b,html[data-theme="dark"] .mode-toggle b,html[data-theme="dark"] .acid{color:#c9f3aa!important}
html[data-theme="dark"] .journey-step--active .journey-node__title small,html[data-theme="dark"] .journey-node__title small{color:#c9f3aa!important}
html[data-theme="dark"] .journey-step:not(.journey-step--active) .journey-node__title small{color:var(--muted)!important}
html[data-theme="dark"] .cast-bubble{background:#1d1d1d;color:var(--ink);border:2px solid var(--line);box-shadow:0 3px 0 var(--line)}
html[data-theme="dark"] .cast-name{color:var(--blue-ink)}
html[data-theme="dark"] .home-hello{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .home-chip{background:#1d1d1d;border:2px solid var(--line);color:var(--ink)}
html[data-theme="dark"] .home-chip b{color:var(--orange)}
html[data-theme="dark"] .home-ring{background:conic-gradient(var(--good) calc(var(--p)*1%),var(--line) 0)}
html[data-theme="dark"] .home-ring span{background:#1d1d1d;color:var(--ink)}
html[data-theme="dark"] .home-ring-label{color:var(--muted)}
html[data-theme="dark"] .home-cta{background:var(--accent);color:var(--accent-ink);box-shadow:0 5px 0 var(--accent-shadow)}
html[data-theme="dark"] .home-cta:active{box-shadow:0 2px 0 var(--accent-shadow)}
html[data-theme="dark"] .journey-node__circle{background:#1d1d1d;border:3px solid var(--line);color:var(--muted);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .journey-step--active .journey-node__circle{background:var(--accent);border-color:var(--accent-shadow);color:var(--accent-ink);box-shadow:0 4px 0 var(--accent-shadow)}
html[data-theme="dark"] .journey-step--lesson-complete .journey-node__circle{background:var(--good);border-color:#46A302;color:#fff;box-shadow:0 4px 0 #46A302}
html[data-theme="dark"] .mode-toggle b{color:var(--good-ink)}
html[data-theme="dark"] .booster-chip{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 3px 0 var(--line);color:var(--ink);text-decoration:none}
html[data-theme="dark"] .booster-chip:active{box-shadow:0 1px 0 var(--line)}
html[data-theme="dark"] .mybil-stage{background:radial-gradient(70% 55% at 50% 62%,#48401e 0,#1d1d1d 70%);border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .mybil-stage{color:inherit}
html[data-theme="dark"] .mybil-message{color:var(--acid-text)}
html[data-theme="dark"] .mybil-tab{border:2px solid var(--line);background:#1d1d1d;color:var(--ink)}
html[data-theme="dark"] .mybil-tab.is-active{background:var(--accent);border-color:var(--accent-shadow);box-shadow:0 3px 0 var(--accent-shadow)}
html[data-theme="dark"] .mybil-item,html[data-theme="dark"] .mybil-base{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line);color:var(--ink)}
html[data-theme="dark"] .mybil-item small,html[data-theme="dark"] .mybil-base small{color:var(--muted)}
html[data-theme="dark"] .mybil-item.is-on,html[data-theme="dark"] .mybil-base.is-active{border-color:var(--good);box-shadow:0 4px 0 var(--good);background:var(--good-bg)}
html[data-theme="dark"] .mybil-item.is-on small,html[data-theme="dark"] .mybil-base.is-active small{color:var(--acid-text)}
html[data-theme="dark"] .mybil-earn{color:var(--muted)}
html[data-theme="dark"] .mybil-plate b{color:#d5d9de}
html[data-theme="dark"] .mybil-swatch{border:3px solid #1d1d1d;box-shadow:0 0 0 2px var(--line)}
html[data-theme="dark"] .mybil-swatch.is-on{box-shadow:0 0 0 3px var(--ink)}
html[data-theme="dark"] .mybil-custom{border:2px solid var(--line)}
html[data-theme="dark"] .mybil-custom input{border:0;background:none}
html[data-theme="dark"] .mybil-on-label{color:var(--muted)}
html[data-theme="dark"] .mybil-on-empty{color:var(--muted)}
html[data-theme="dark"] .on-chip{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 2px 0 var(--line);color:var(--ink)}
html[data-theme="dark"] .on-chip i{background:#21282e;color:var(--muted)}
html[data-theme="dark"] .on-chip:hover i,html[data-theme="dark"] .on-chip:focus-visible i{background:#3b1818;color:#ed857e}
html[data-theme="dark"] .on-clear{border:2px dashed #682a2a;background:#261c1c;color:#ed857e}
html[data-theme="dark"] .mybil-stock.is-on{border-color:var(--ink);box-shadow:0 4px 0 var(--ink);background:#1d1d1d}
html[data-theme="dark"] .mybil-stock.is-on small{color:var(--ink)}

/* motion.css */
html[data-theme="dark"] .home-cta::after{background:linear-gradient(100deg,transparent,rgba(29,29,29,0.65),transparent)}
html[data-theme="dark"] .mybil-floor{background:radial-gradient(closest-side,rgba(31,35,40,.16),rgba(31,35,40,.06) 60%,transparent)}
html[data-theme="dark"] .mybil-stage::before{background:conic-gradient(from 0deg at 50% 60%,transparent 0 40deg,rgba(255,214,10,.28) 55deg,transparent 70deg 170deg,rgba(20,224,240,.16) 185deg,transparent 200deg 300deg,rgba(255,95,162,.16) 315deg,transparent 330deg)}
html[data-theme="dark"] .mybil-sheen{background:linear-gradient(105deg,transparent 0 38%,rgba(29,29,29,0.95) 46%,rgba(29,29,29,0.4) 50%,transparent 58%) no-repeat}
html[data-theme="dark"] .rl-head{background:radial-gradient(circle,#29281e 0 30%,rgba(93,83,38,0.9) 45%,rgba(255,226,120,0) 72%);box-shadow:0 0 14px 6px rgba(105,94,43,0.55)}
html[data-theme="dark"] .rl-beam{background:linear-gradient(90deg,rgba(81,73,33,0.85),rgba(99,87,40,0.35) 55%,rgba(255,236,160,0))}
html[data-theme="dark"] .rl-tail{background:radial-gradient(circle,#833535 0 30%,rgba(255,40,40,0) 72%);box-shadow:0 0 12px 5px rgba(255,50,50,.45)}
html[data-theme="dark"] .fb-badge{background:var(--good,#58CC02);color:#fff}
html[data-theme="dark"] .fb-badge[data-rive$="wrong"]{background:var(--bad,#FF4B4B)}
html[data-theme="dark"] .fb-badge[data-rive-on="on"]{background:none}
html[data-theme="dark"] .judge__done-ico[data-rive-on="on"],html[data-theme="dark"] .chip-ico[data-rive-on="on"]{background:none!important;box-shadow:none!important}
html[data-theme="dark"] .ready-gauge{background:#1B2330}
html[data-theme="dark"] .chat-status i[data-rive-on="on"]{border:0;background:none}
html[data-theme="dark"] .dream-modal:has(.dream-rive[data-rive-on="on"]){background:#0B0D15!important}
html[data-theme="dark"] .dream-modal:has(.dream-rive[data-rive-on="on"]) .fine-print{color:#C9CFDB;border:0}
html[data-theme="dark"] .dream-modal .btn.dream-replay{background:#1E2236!important;color:#F4F6FA!important;border:2px solid #3A4060!important;box-shadow:0 4px 0 #05060A}
html[data-theme="dark"] .pass-rive{background:#0B0D1F}
html[data-theme="dark"] .logo-intro{background:#0B0D15}
html[data-theme="dark"] .logo-intro__name{color:#F4F6FA}
html[data-theme="dark"] .streak-modal{background:#0B0D15;color:#F4F6FA}
html[data-theme="dark"] .streak-big b{color:#e8d260}
html[data-theme="dark"] .streak-line{color:#C9CFDB}

/* start.css */
html[data-theme="dark"] .mybil-dream{border:0;background:var(--accent,#FFD60A);color:var(--accent-ink,#1F2328);box-shadow:0 4px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .mybil-dream:hover{box-shadow:0 5px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .mybil-dream:active{box-shadow:0 1px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .mybil-dream-ico{background:var(--dream-coin);color:var(--dream-spark)}
html[data-theme="dark"] .mybil-dream-ico svg{fill:currentColor}
html[data-theme="dark"] .dream-modal{background:var(--poster,#22D3EE)}
html[data-theme="dark"] .dream-modal{background:linear-gradient(180deg,var(--poster) 0,color-mix(in oklab,var(--poster) 45%,#1d1d1d) 100%)!important}
html[data-theme="dark"] .mybil-dream-ico svg rect{fill:var(--dream-spark)}
html[data-theme="dark"] .mybil-dream-ico svg circle.s{fill:var(--dream-coin)}
html[data-theme="dark"] .mybil-dream:disabled{box-shadow:none}
html[data-theme="dark"] .mybil-try{background:#1F2328;color:#FFFFFF;box-shadow:0 4px 0 #000}
html[data-theme="dark"] .mybil-try-text small{color:#e8d260}
html[data-theme="dark"] .mybil-try-buy{border:0;background:var(--gloss),#FFD60A;color:#1F2328;box-shadow:0 4px 0 #C9A200}
html[data-theme="dark"] .mybil-try-buy:active{box-shadow:none}
html[data-theme="dark"] .mybil-try-buy:disabled{background:#3A434C;color:#C2CCD6;box-shadow:none}
html[data-theme="dark"] .mybil-try-off{border:0;background:#3A434C;color:#FFFFFF}
html[data-theme="dark"] .mybil-try-off svg{fill:none;stroke:currentColor}
html[data-theme="dark"] .mybil-item.is-trying{outline:3px dashed #E8BC00}

/* screens.css */
html[data-theme="dark"] .back-round{color:var(--ink)}
html[data-theme="dark"] .back-round svg,html[data-theme="dark"] .row-go svg,html[data-theme="dark"] .set-row svg{fill:none;stroke:currentColor}
html[data-theme="dark"] .list-label{color:var(--muted)}
html[data-theme="dark"] .empty-note{color:var(--muted)}
html[data-theme="dark"] .chip{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 2px 0 var(--line)}
html[data-theme="dark"] .pill-btn{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 3px 0 var(--line);color:var(--ink)}
html[data-theme="dark"] .big-btn{border:0;background:var(--accent,#FFD60A);box-shadow:0 5px 0 var(--accent-shadow,#C9A200);color:#1F2328}
html[data-theme="dark"] .big-btn:active{box-shadow:0 1px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .big-btn--ghost{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .unit-banner{background:var(--ub-bg);color:var(--ub-fg);text-decoration:none;box-shadow:0 5px 0 var(--ub-edge)}
html[data-theme="dark"] .unit-banner:active{box-shadow:0 2px 0 var(--ub-edge)}
html[data-theme="dark"] .unit-num{background:var(--ub-hi);color:var(--ub-hi-ink);box-shadow:inset 0 -4px 0 rgba(0,0,0,.16)}
html[data-theme="dark"] .unit-kicker{color:var(--ub-hi)}
html[data-theme="dark"] #main .unit-banner h1,html[data-theme="dark"] .unit-banner h1{color:var(--ub-fg)}
html[data-theme="dark"] .unit-all{background:var(--ub-dim);color:var(--ub-fg)}
html[data-theme="dark"] .unit-all svg{fill:none;stroke:currentColor}
html[data-theme="dark"] .unit-banner:hover .unit-all,html[data-theme="dark"] .unit-banner:focus-visible .unit-all{background:var(--ub-hi);color:var(--ub-hi-ink)}
html[data-theme="dark"] .unit-road i{background:var(--ub-dim)}
html[data-theme="dark"] .unit-road i.on{background:var(--ub-hi)}
html[data-theme="dark"] .unit-count{color:var(--ub-fg)}
html[data-theme="dark"] .pn-btn{text-decoration:none;color:#d5d9de;background:#1d1d1d;border:3px solid var(--line);box-shadow:0 6px 0 var(--line)}
html[data-theme="dark"] .pn-btn:active{box-shadow:0 2px 0 var(--line)}
html[data-theme="dark"] .pn-btn svg{fill:none;stroke:currentColor}
html[data-theme="dark"] .pn--done .pn-btn{background:var(--good,#58CC02);border-color:#46A302;box-shadow:0 6px 0 #46A302;color:#fff}
html[data-theme="dark"] .pn--review .pn-btn{background:#1CB0F6;border-color:#1899D6;box-shadow:0 6px 0 #1899D6;color:#fff}
html[data-theme="dark"] .pn--repair .pn-btn{background:#FF9600;border-color:#E08600;box-shadow:0 6px 0 #E08600;color:#fff}
html[data-theme="dark"] .pn--next .pn-btn{background:var(--accent,#FFD60A);border-color:var(--accent-shadow,#C9A200);box-shadow:0 7px 0 var(--accent-shadow,#C9A200),0 0 0 8px rgba(255,214,10,.35)}
html[data-theme="dark"] .pn-start{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 3px 0 var(--line)}
html[data-theme="dark"] .pn-start::after{background:#1d1d1d;border:2px solid var(--line);border-left:0;border-bottom:0}
html[data-theme="dark"] .pn-title{color:var(--muted)}
html[data-theme="dark"] .pn--next .pn-title{color:var(--ink)}
html[data-theme="dark"] .learn-card{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line);color:var(--ink);text-decoration:none}
html[data-theme="dark"] .learn-card small{color:var(--muted)}
html[data-theme="dark"] .goal-dots i{background:var(--line)}
html[data-theme="dark"] .goal-dots i.on{background:#FF9600}
html[data-theme="dark"] .practice-signal{text-decoration:none;color:var(--sig-ink);background:var(--asphalt) 0 0/220px 220px,var(--sig-asphalt);box-shadow:0 5px 0 #000}
html[data-theme="dark"] .practice-signal-kicker{background:var(--sig-yellow);color:var(--sig-asphalt)}
html[data-theme="dark"] .practice-signal--red .practice-signal-kicker{background:#FF4B4B;color:#FFFFFF}
html[data-theme="dark"] .practice-signal--green .practice-signal-kicker{background:#58CC02;color:var(--sig-asphalt)}
html[data-theme="dark"] #main .practice-signal strong,html[data-theme="dark"] .practice-signal strong{color:var(--sig-ink)!important}
html[data-theme="dark"] .practice-signal small{color:var(--sig-muted)}
html[data-theme="dark"] .practice-signal-go{background:var(--gloss),var(--grain-ink) 0 0/200px 200px,var(--sig-yellow);color:var(--sig-asphalt);box-shadow:0 4px 0 #C9A200}
html[data-theme="dark"] .practice-signal:hover .practice-signal-go{box-shadow:0 6px 0 #C9A200}
html[data-theme="dark"] .practice-signal:active .practice-signal-go{box-shadow:none}
html[data-theme="dark"] .row-card{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line);color:var(--ink);text-decoration:none}
html[data-theme="dark"] .row-card small{color:var(--muted)}
html[data-theme="dark"] .row-ico{background:var(--c)}
html[data-theme="dark"] .row-go{color:var(--muted)}
html[data-theme="dark"] .game-card{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line);color:var(--ink);text-decoration:none}
html[data-theme="dark"] .game-card:first-child{background:#392e17;border-color:#655029;box-shadow:0 4px 0 #655029}
html[data-theme="dark"] .game-card small{color:var(--muted)}
html[data-theme="dark"] .talk-bubble{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 3px 0 var(--line)}
html[data-theme="dark"] .exam-facts{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .exam-facts small{color:var(--muted)}
html[data-theme="dark"] .exam-row{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .exam-row small{color:var(--muted)}
html[data-theme="dark"] .is-ok .exam-badge{background:#33471d;color:#c9f3aa}
html[data-theme="dark"] .is-near .exam-badge{background:#42341b;color:#f0c696}
html[data-theme="dark"] .is-off .exam-badge{background:#3b1818;color:#ed857e}
html[data-theme="dark"] .fine-details{color:var(--muted)}
html[data-theme="dark"] .topic{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .topic > a:first-child{color:var(--ink);text-decoration:none}
html[data-theme="dark"] .topic small{color:var(--muted)}
html[data-theme="dark"] .topic-n{background:#1e262d}
html[data-theme="dark"] .topic.is-active{border-color:var(--accent-shadow,#C9A200);box-shadow:0 4px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .topic.is-active .topic-n{background:var(--accent,#FFD60A)}
html[data-theme="dark"] .topic.is-done .topic-n{background:var(--good,#58CC02);color:#fff}
html[data-theme="dark"] .topic-bar{background:#242a30}
html[data-theme="dark"] .topic-bar i{background:var(--good,#58CC02)}
html[data-theme="dark"] .topic-cards{border-left:2px solid var(--line);color:var(--blue-ink,#7eb5ed);text-decoration:none}
html[data-theme="dark"] .tile,html[data-theme="dark"] .panel{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .tile small{color:var(--muted)}
html[data-theme="dark"] .tile-fire{color:#e9b365}
html[data-theme="dark"] .week small{color:var(--muted)}
html[data-theme="dark"] .week i{background:#242a30}
html[data-theme="dark"] .week .on i{background:#FF9600}
html[data-theme="dark"] .week .today i{box-shadow:inset 0 0 0 2px #FF9600}
html[data-theme="dark"] .sw-bar{background:#242a30}
html[data-theme="dark"] .sw-bar.good i{background:var(--good,#58CC02)}
html[data-theme="dark"] .sw-bar.weak i{background:#FF9600}
html[data-theme="dark"] .set-row{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 3px 0 var(--line);color:var(--ink);text-decoration:none}
html[data-theme="dark"] .set-row small{color:var(--muted)}
html[data-theme="dark"] .set-row i{background:#30373e}
html[data-theme="dark"] .set-row i::after{background:#1d1d1d;box-shadow:0 1px 3px rgba(0,0,0,.2)}
html[data-theme="dark"] .set-row input:checked + i{background:var(--good,#58CC02)}
html[data-theme="dark"] .set-row input:focus-visible + i{outline:3px solid #1CB0F6}
html[data-theme="dark"] :is(.learn,.practice,.exam-start,.topics,.profile) h2.list-label{color:var(--muted)}
html[data-theme="dark"] :is(.learn,.practice,.exam-start,.topics,.profile) .panel h2{color:var(--ink)}
html[data-theme="dark"] .tile-fire{color:#eeb98a}
html[data-theme="dark"] .topic-cards{border-left:0!important;background:#152034}
html[data-theme="dark"] .sidebar{background:#1e2226!important;border-right:0!important}
html[data-theme="dark"] .sidebar .nav-item{border:2px solid transparent;background:none;color:#c1c7cd;text-decoration:none}
html[data-theme="dark"] .sidebar .nav-item .icon{background:var(--tile);color:var(--tint);stroke:var(--tint)}
html[data-theme="dark"] .sidebar .nav-item:hover{background:#1d1d1d;border-color:var(--line)}
html[data-theme="dark"] .sidebar .nav-item.active{background:#1d1d1d!important;color:var(--ink);border-color:var(--edge);box-shadow:0 4px 0 var(--edge)}
html[data-theme="dark"] .sidebar .nav-item.active .icon{background:var(--tint);color:#fff;stroke:#fff}
html[data-theme="dark"] .nav-item--profile{border-top:0}
html[data-theme="dark"] #mobile-nav a.active{color:var(--tint)!important;background:none!important}
html[data-theme="dark"] #mobile-nav a.active svg{background:var(--tile);color:var(--tint);stroke:var(--tint)}
html[data-theme="dark"] .topic-cards{color:#96c5f0!important}
html[data-theme="dark"] .chip--ready{color:var(--ink);text-decoration:none}
html[data-theme="dark"] .ready-bar{background:#242a30}
html[data-theme="dark"] .ready-bar i{background:var(--good,#58CC02)}
html[data-theme="dark"] .ready-panel p{color:#c1c7cd}
html[data-theme="dark"] .ready-panel small{color:var(--muted)}
html[data-theme="dark"] .ui-ico{fill:none;stroke:currentColor}
html[data-theme="dark"] .chip--streak .ui-ico,html[data-theme="dark"] .tile-fire .ui-ico{color:#ea976a}
html[data-theme="dark"] .chip--date .ui-ico{color:#8ac7ee}
html[data-theme="dark"] .chip--goal .ui-ico{color:#e5769d}
html[data-theme="dark"] .chip--ready .ui-ico{color:#c1f2a4}
html[data-theme="dark"] .row-ico .ui-ico{color:#d5d9de}
html[data-theme="dark"] .game-ico{background:#1e262d}
html[data-theme="dark"] .game-card:first-child .game-ico{background:#4e3c20}
html[data-theme="dark"] .game-ico .ui-ico{color:#d5d9de}
html[data-theme="dark"] .result-boost .ui-ico,html[data-theme="dark"] .jp-done-stats .ui-ico{color:#d5f19d}
html[data-theme="dark"] .jp-done-goal .ui-ico{color:#e5769d}
html[data-theme="dark"] .duo .d{fill:currentColor}
html[data-theme="dark"] .duo .s{fill:none;stroke:currentColor}
html[data-theme="dark"] .nav-tile{color:var(--tint);background:linear-gradient(180deg,color-mix(in oklab,var(--tile) 55%,#1d1d1d) 0,var(--tile) 100%);box-shadow:inset 0 1px 0 rgba(29,29,29,0.95),inset 0 0 0 1.5px color-mix(in oklab,var(--edge) 55%,transparent),0 3px 0 var(--edge)}
html[data-theme="dark"] .sidebar{background:#1d1d1d!important;border-right:2px solid #202932!important}
html[data-theme="dark"] .sidebar .nav-item{border:2px solid transparent;background:none;box-shadow:none;color:#ccd1d8;text-decoration:none}
html[data-theme="dark"] .sidebar .nav-item:hover{background:#1e2226}
html[data-theme="dark"] .sidebar .nav-item.active{background:linear-gradient(180deg,#1d1d1d 0,color-mix(in oklab,var(--tile) 45%,#1d1d1d) 100%)!important;border-color:var(--edge);box-shadow:0 4px 0 var(--edge);color:#d5d9de}
html[data-theme="dark"] .sidebar .nav-item.active .nav-tile{color:#fff;background:linear-gradient(180deg,color-mix(in oklab,var(--tint) 78%,#1d1d1d) 0,var(--tint) 100%);box-shadow:inset 0 1px 0 rgba(29,29,29,0.35),0 3px 0 color-mix(in oklab,var(--tint) 72%,#000)}
html[data-theme="dark"] .sidebar .nav-count{background:#FF4B4B;color:#fff}
html[data-theme="dark"] #mobile-nav a{color:#aeb6bd!important}
html[data-theme="dark"] #mobile-nav .nav-tile{background:none;box-shadow:none}
html[data-theme="dark"] #mobile-nav a.active{color:var(--tint)!important;background:none!important}
html[data-theme="dark"] #mobile-nav a.active .nav-tile{background:linear-gradient(180deg,color-mix(in oklab,var(--tile) 40%,#1d1d1d),var(--tile));box-shadow:inset 0 0 0 1.5px var(--edge)}
html[data-theme="dark"] #mobile-nav a.active svg{background:none!important}
html[data-theme="dark"] .learn-chips .chip{background:linear-gradient(180deg,#1d1d1d,color-mix(in oklab,var(--chip-tile) 60%,#1d1d1d));border:2px solid var(--chip-edge);box-shadow:0 3px 0 var(--chip-edge);color:#ccd1d8;text-decoration:none}
html[data-theme="dark"] .learn-chips .chip b{color:#d5d9de}
html[data-theme="dark"] .chip-ico{color:var(--chip-ink);background:linear-gradient(180deg,#1d1d1d,var(--chip-tile));box-shadow:inset 0 0 0 1.5px var(--chip-edge)}
html[data-theme="dark"] .learn-chips .chip small{color:#c1c8d0}
html[data-theme="dark"] .nav-tile{background:linear-gradient(180deg,#1d1d1d 0,#1d252d 100%);color:#c1c8d0;box-shadow:inset 0 1px 0 #1d1d1d,inset 0 0 0 1.5px #282e37,0 3px 0 #2a333b}
html[data-theme="dark"] .sidebar .nav-item{color:#ccd1d8}
html[data-theme="dark"] .sidebar .nav-item:hover .nav-tile{color:#d5d9de}
html[data-theme="dark"] .sidebar .nav-item.active{background:#1d1d1d!important;border-color:var(--accent-shadow,#C9A200);box-shadow:0 4px 0 var(--accent-shadow,#C9A200);color:#d5d9de}
html[data-theme="dark"] .sidebar .nav-item.active .nav-tile{color:var(--accent-ink,#1F2328);background:var(--accent,#FFD60A);box-shadow:inset 0 1px 0 rgba(29,29,29,0.6),0 3px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] #mobile-nav a{color:#aeb6bd!important}
html[data-theme="dark"] #mobile-nav .nav-tile{background:none;box-shadow:none;color:#aeb6bd}
html[data-theme="dark"] #mobile-nav a.active{color:#d5d9de!important}
html[data-theme="dark"] #mobile-nav a.active .nav-tile{color:#1F2328;background:var(--accent,#FFD60A);box-shadow:inset 0 0 0 1.5px var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .seg{background:var(--panel2);box-shadow:inset 0 0 0 1.5px var(--line)}
html[data-theme="dark"] .seg span{color:var(--muted)}
html[data-theme="dark"] .seg input:checked + span{background:var(--accent,#FFD60A);color:var(--accent-ink,#1F2328);box-shadow:0 2px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .seg input:focus-visible + span{outline:3px solid #1CB0F6}
html[data-theme="dark"] .acc-lead,html[data-theme="dark"] .acc-note{color:var(--ink)}
html[data-theme="dark"] .acc-fine{color:var(--muted)}
html[data-theme="dark"] .acc-ico{fill:none;stroke:currentColor}
html[data-theme="dark"] .acc-form label{color:var(--ink)}
html[data-theme="dark"] .acc-row input{border:2px solid var(--line);background:var(--panel);color:var(--ink)}
html[data-theme="dark"] .acc-row input:focus-visible{outline:3px solid #1CB0F6;border-color:transparent}
html[data-theme="dark"] .acc-who small,html[data-theme="dark"] .acc-sync{color:var(--muted)}
html[data-theme="dark"] .acc-link{border:0;background:none;color:var(--blue-ink,#7fc4ed);text-decoration:underline}
html[data-theme="dark"] .acc-link--danger{color:var(--bad-ink,#e06b6b)}
html[data-theme="dark"] .acc-confirm{background:var(--panel2);border:2px solid var(--line)}
html[data-theme="dark"] .acc-confirm--danger{border-color:var(--bad-ink,#D42F2F)}
html[data-theme="dark"] .big-btn.acc-danger{background:#C62828;color:#fff;box-shadow:0 4px 0 #8E1B1B}
html[data-theme="dark"] .acc-error{background:var(--bad-bg,#391717);color:#B42318}
html[data-theme="dark"] .mission-intro{border:2px solid var(--line);background:var(--panel);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .mission-intro strong{color:var(--ink)}
html[data-theme="dark"] .mission-intro small{color:var(--muted)}
html[data-theme="dark"] .mission-steps li{background:var(--panel2);color:var(--ink)}
html[data-theme="dark"] .mission-steps b{background:var(--accent,#FFD60A);color:#1A1605}
html[data-theme="dark"] .feature-card{border:2px solid var(--line);background:var(--panel);box-shadow:0 4px 0 var(--line);color:var(--ink);text-decoration:none}
html[data-theme="dark"] .feature-card:hover{border-color:var(--blue-ink,#0A7BBF)}
html[data-theme="dark"] .feature-card:active{box-shadow:0 2px 0 var(--line)}
html[data-theme="dark"] .feature-ico{background:var(--c)}
html[data-theme="dark"] .feature-tag{background:var(--panel2);color:var(--muted)}
html[data-theme="dark"] .feature-card small{color:var(--muted)}
html[data-theme="dark"] .feature-meta{color:var(--blue-ink,#7fc4ed)}
html[data-theme="dark"] .topic-cards--go{background:var(--accent,#FFD60A)!important;color:#1A1605!important;border-color:var(--accent-shadow,#C9A200)!important;box-shadow:0 3px 0 var(--accent-shadow,#C9A200)!important}
html[data-theme="dark"] .row-ico,html[data-theme="dark"] .feature-ico,html[data-theme="dark"] .game-ico{background:linear-gradient(180deg,var(--panel) 0,var(--panel2) 100%)!important;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line),0 2px 0 var(--line)}
html[data-theme="dark"] .row-ico .ui-ico,html[data-theme="dark"] .feature-ico .ui-ico,html[data-theme="dark"] .game-ico .ui-ico{color:var(--ink)}
html[data-theme="dark"] .row-ico.is-done{background:var(--good-bg,#31451c)!important;box-shadow:inset 0 0 0 1.5px var(--good,#58CC02)}
html[data-theme="dark"] .row-ico.is-done .ui-ico{color:var(--good-ink,#c1f19d)}
html[data-theme="dark"] :is(.home-cta,.mybil-tab.is-active,.chip.active,.topic-cards--go,.journey-goal--active,.seg input:checked + span,#mobile-nav a.active .nav-tile,.nav-item.active,.topic.is-active .topic-n,.journey-step--active .journey-node__circle){background-image:var(--gloss),var(--grain-ink)!important}
html[data-theme="dark"] body :is(.btn-primary,.judge__start,.pn--next .pn-btn,.turn-shell .turn-primary,.voice-control-primary,.chat-send,.chat-quiz-check,.journey-jump,.mybil-dream){background-image:var(--gloss),linear-gradient(100deg,transparent calc(var(--sweep-x) - 9%),var(--sweep-light) var(--sweep-x),transparent calc(var(--sweep-x) + 9%)),var(--grain-ink)!important}
html[data-theme="dark"] .home-cta .cta-go{background:#1F2328}
html[data-theme="dark"] .home-cta .cta-go svg{fill:none;stroke:#e8d260}
html[data-theme="dark"] .unit-banner{background-image:var(--asphalt)}
html[data-theme="dark"] .tile-fire .chip-ico{background:none;box-shadow:none}
html[data-theme="dark"] .learn-path-wrap{background:var(--grain-ink) 0 0/200px 200px,var(--poster-yellow)}
html[data-theme="dark"] .learn-road path{fill:none}
html[data-theme="dark"] .learn-road-asphalt{stroke:var(--road-asphalt)}
html[data-theme="dark"] .learn-road-line{stroke:var(--road-line)}
html[data-theme="dark"] .learn-path .pn-title{background:var(--road-line);color:var(--road-asphalt);box-shadow:0 2px 0 rgba(31,35,40,.18)}
html[data-theme="dark"] .learn-path .pn--next .pn-title{color:var(--road-asphalt)}
@media (min-width:700px){
html[data-theme="dark"] .learn-poster-word{color:var(--road-asphalt)}
}
html[data-theme="dark"] .mybil-head{background:var(--grain-ink) 0 0/200px 200px,var(--poster-yellow);color:var(--poster-ink)}
html[data-theme="dark"] .mybil-head h1,html[data-theme="dark"] .mybil-head .eyebrow{color:var(--poster-ink)!important}
html[data-theme="dark"] .mybil-head .eyebrow::before{background:var(--poster-ink)}
html[data-theme="dark"] .exam-signal{background:var(--panel,#1d1d1d);border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .exam-signal-kicker{color:var(--muted)}
html[data-theme="dark"] .exam-signal strong{color:var(--ink)}
html[data-theme="dark"] .exam-signal small{color:var(--muted)}
html[data-theme="dark"] .avatar-opt{border:2px solid var(--line);background:var(--panel,#1d1d1d);box-shadow:0 4px 0 var(--line);color:var(--ink)}
html[data-theme="dark"] .avatar-opt.is-on{border-color:#E8BC00;background:#4b441f;box-shadow:0 4px 0 #C9A200;color:#d5d9de}
html[data-theme="dark"] .avatar-opt:active{box-shadow:none}
html[data-theme="dark"] :is(.learn-card,.row-card,.game-card,.tile,.panel,.exam-signal,.avatar-opt,.mybil-item,.mybil-base){background-image:var(--grain-soft)}

/* play.css */
html[data-theme="dark"] .jp-top,html[data-theme="dark"] .exam-top{border:0;background:none}
html[data-theme="dark"] .jp-close{color:#8A9199!important;background:none!important;border:0!important;box-shadow:none!important}
html[data-theme="dark"] .jp-close svg{fill:none;stroke:currentColor}
html[data-theme="dark"] .jp-top .journey-progress{background:#262d35!important}
html[data-theme="dark"] .jp-top .journey-progress i{background:var(--good,#58CC02)!important}
html[data-theme="dark"] .jp-top .journey-progress i::after,html[data-theme="dark"] .exam-bar i::after{background:rgba(29,29,29,0.35)}
html[data-theme="dark"] .jp-top .journey-player-count{color:var(--muted)}
html[data-theme="dark"] .jp-title span{color:var(--muted)}
html[data-theme="dark"] #main .jp-title h1{color:var(--muted)}
html[data-theme="dark"] .journey-focus-card{border:0!important;background:none!important;box-shadow:none!important}
html[data-theme="dark"] .journey-focus-card p{color:var(--ink)}
html[data-theme="dark"] .journey-kicker{color:var(--muted)}
html[data-theme="dark"] .voice-read,html[data-theme="dark"] .audio-btn,html[data-theme="dark"] [data-voice-kind]{border:2px solid var(--line);background:#1d1d1d;box-shadow:0 2px 0 var(--line);color:var(--ink)}
html[data-theme="dark"] .source-badges a,html[data-theme="dark"] .journey-focus-card .source-badges a{border:2px solid var(--line);background:#1d1d1d;color:var(--blue-ink,#7eb5ed)}
html[data-theme="dark"] .journey-control-dock{background:linear-gradient(rgba(255,255,255,0),#1d1d1d 28%);border:0!important}
html[data-theme="dark"] .journey-control-dock > p{color:var(--muted)}
html[data-theme="dark"] .journey-control-dock .btn-primary,html[data-theme="dark"] .exam-dock .btn-primary,html[data-theme="dark"] .result-actions .btn-primary{background:var(--accent,#FFD60A)!important;color:#1F2328!important;border:0!important;box-shadow:0 5px 0 var(--accent-shadow,#C9A200)!important}
html[data-theme="dark"] .journey-control-dock .btn-primary:disabled{background:#433b1b!important;color:#9AA38A!important;box-shadow:0 5px 0 #5e5226!important}
html[data-theme="dark"] .journey-control-dock .btn-secondary,html[data-theme="dark"] .exam-dock .btn-secondary{background:#1d1d1d!important;border:2px solid var(--line)!important;box-shadow:0 4px 0 var(--line)!important;color:var(--ink)!important}
html[data-theme="dark"] .question-context{background:#1e262d;color:var(--ink)}
html[data-theme="dark"] .journey-statement,html[data-theme="dark"] .statement{background:#1d1d1d!important;border:2px solid var(--line)!important;box-shadow:0 3px 0 var(--line)!important}
html[data-theme="dark"] .journey-statement p,html[data-theme="dark"] .statement .statement-text{color:var(--ink)}
html[data-theme="dark"] .journey-tactile-choice,html[data-theme="dark"] .statement .choice-btn{border:2px solid var(--line)!important;background:#1d1d1d!important;box-shadow:0 3px 0 var(--line)!important;color:var(--ink)!important}
html[data-theme="dark"] .journey-tactile-choice.selected,html[data-theme="dark"] .statement .choice-btn.selected{border-color:#1CB0F6!important;background:#19323e!important;box-shadow:0 3px 0 #1899D6!important;color:#9ad4f1!important}
html[data-theme="dark"] .journey-tactile-choice:active,html[data-theme="dark"] .statement .choice-btn:active{box-shadow:0 1px 0 var(--line)!important}
html[data-theme="dark"] .statement.correct{border-color:var(--good,#58CC02)!important;box-shadow:0 3px 0 #46A302!important;background:#283917!important}
html[data-theme="dark"] .statement.incorrect{border-color:#FF4B4B!important;box-shadow:0 3px 0 #E03A3A!important;background:#281e1e!important}
html[data-theme="dark"] .answer-note{color:var(--muted)}
html[data-theme="dark"] .journey-feedback-tray{border:0!important;box-shadow:none!important}
html[data-theme="dark"] .journey-feedback-tray.correct{background:#385423!important}
html[data-theme="dark"] .journey-feedback-tray.repair{background:#3d191a!important}
html[data-theme="dark"] .journey-feedback-tray.correct .journey-feedback-summary strong{color:#c2f19f}
html[data-theme="dark"] .journey-feedback-tray.repair .journey-feedback-summary strong{color:#e36666}
html[data-theme="dark"] .journey-feedback-summary p{color:#c1c7cd}
html[data-theme="dark"] .journey-feedback-tray summary{background:#1d1d1d;border:2px solid rgba(0,0,0,.08)}
html[data-theme="dark"] .jp-feedback-go{border:0!important}
html[data-theme="dark"] .journey-feedback-tray.correct .jp-feedback-go{background:var(--good,#58CC02)!important;color:#fff!important;box-shadow:0 5px 0 #46A302!important}
html[data-theme="dark"] .journey-feedback-tray.repair .jp-feedback-go{background:#FF4B4B!important;color:#fff!important;box-shadow:0 5px 0 #D93030!important}
html[data-theme="dark"] .journey-answer-review > div.right{color:#c9f3aa}
html[data-theme="dark"] .journey-answer-review > div.wrong{color:#ed857e}
html[data-theme="dark"] .journey-lesson-done{background:radial-gradient(90% 60% at 50% 20%,#544b23,#1d1d1d 70%)}
html[data-theme="dark"] #main .jp-done-title{color:#c2f19f}
html[data-theme="dark"] .jp-done-lead{color:#c1c7cd}
html[data-theme="dark"] .jp-done-stats > div{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .jp-done-stats small{color:var(--muted)}
html[data-theme="dark"] .jp-done-stats em{color:var(--muted)}
html[data-theme="dark"] .jp-done-goal{background:#1d1d1d;border:2px solid var(--line)}
html[data-theme="dark"] .jp-done-goal.is-met{background:#48401e;border-color:var(--accent-shadow,#C9A200);box-shadow:0 3px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .jp-done-goal span{color:var(--muted)}
html[data-theme="dark"] .journey-lesson-done .journey-control-dock{background:none}
html[data-theme="dark"] .exam-bar{background:#262d35}
html[data-theme="dark"] .exam-bar i{background:#1CB0F6}
html[data-theme="dark"] .exam-top .exam-timer{background:#1e262d!important;border:0!important;color:var(--ink)!important}
html[data-theme="dark"] .exam-dock{background:linear-gradient(rgba(255,255,255,0),#1d1d1d 28%)}
html[data-theme="dark"] .exam-flag.is-on{border-color:#FF9600!important;box-shadow:0 4px 0 #E08600!important;color:#f0c696!important}
html[data-theme="dark"] .exam-all summary{color:var(--muted)}
html[data-theme="dark"] .exam-all .jump-btn.flagged{box-shadow:inset 0 0 0 2px #FF9600}
html[data-theme="dark"] body.exam-active .exam-selection-note{color:var(--muted)}
html[data-theme="dark"] .result-hero.is-pass{background:radial-gradient(90% 60% at 50% 15%,#354b1f,#1d1d1d 72%)}
html[data-theme="dark"] .result-hero.is-fail{background:radial-gradient(90% 60% at 50% 15%,#42341b,#1d1d1d 72%)}
html[data-theme="dark"] .result-mark{color:#c2f19f!important}
html[data-theme="dark"] .result-hero.is-fail .result-mark{color:#edb682!important}
html[data-theme="dark"] .result-boost{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .result-review{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .res-chip{border:2px solid var(--line);background:#1d1d1d;color:var(--muted);text-decoration:none}
html[data-theme="dark"] .res-chip.is-wrong{border-color:#FF4B4B;background:#281e1e;color:#ed857e}
html[data-theme="dark"] .journey-statement-panel{border:0!important;background:none!important;box-shadow:none!important}
html[data-theme="dark"] .journey-assessment-dock,html[data-theme="dark"] .exam-dock{background:none!important}
html[data-theme="dark"] .journey-feedback-tray.correct .jp-feedback-go{background:#2F7D00!important;box-shadow:0 5px 0 #1F5A00!important}
html[data-theme="dark"] .journey-feedback-tray.repair .jp-feedback-go{background:#D92D20!important;box-shadow:0 5px 0 #A51F15!important}
html[data-theme="dark"] .garage-joke,html[data-theme="dark"] .journey-checkpoint-note,html[data-theme="dark"] .journey-feedback-gag,html[data-theme="dark"] .journey-case-context,html[data-theme="dark"] .journey-model-answer,html[data-theme="dark"] .lesson-practical,html[data-theme="dark"] .question-context,html[data-theme="dark"] .turn-instruction,html[data-theme="dark"] .turn-own-answer,html[data-theme="dark"] .voice-player{border-left:0!important}
html[data-theme="dark"] .journey-feedback-gag{border:2px solid rgba(31,35,40,.07)!important;background:#1d1d1d!important;color:#c1c7cd!important}
html[data-theme="dark"] .journey-feedback-gag::before{background:#1d1d1d;border-left:2px solid rgba(31,35,40,.07);border-top:2px solid rgba(31,35,40,.07)}
html[data-theme="dark"] .garage-joke{background:#1d1d1d!important;border:2px solid var(--line)!important;box-shadow:0 3px 0 var(--line)}
html[data-theme="dark"] .journey-checkpoint-note{background:#3f311a!important;color:#f1cb9d!important}
html[data-theme="dark"] .question-context,html[data-theme="dark"] .journey-case-context,html[data-theme="dark"] .turn-instruction{border:0!important;background:#1e262d!important}
html[data-theme="dark"] .turn-own-answer{border:0!important;background:#1e262d!important}
html[data-theme="dark"] .journey-model-answer,html[data-theme="dark"] .lesson-practical{border:2px solid var(--line)!important;background:#1d1d1d!important;box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .journey-model-answer h3{color:var(--muted)}
html[data-theme="dark"] .voice-player{border:2px solid var(--line)!important;box-shadow:0 3px 0 var(--line)}
html[data-theme="dark"] .jp-order{background:#211e29;border:2px solid #382965;box-shadow:0 4px 0 #382965;color:var(--ink);text-decoration:none}
html[data-theme="dark"] .jp-order .ui-ico{color:#8d77d6}
html[data-theme="dark"] .jp-order small{color:#b6bdc5}

/* chat.css */
html[data-theme="dark"] body.chat-mode{background:#1d1d1d}
html[data-theme="dark"] .chat{background:radial-gradient(120% 40% at 50% 0,#4e4520 0,rgba(241,255,208,0) 70%),#1d1d1d}
html[data-theme="dark"] .chat-top{background:rgba(29,29,29,0.86);border-bottom:2px solid var(--line)}
html[data-theme="dark"] .chat-x,html[data-theme="dark"] .chat-fresh{border:0;background:none;color:#b3b7bc}
html[data-theme="dark"] .chat-x svg,html[data-theme="dark"] .chat-fresh svg{fill:none;stroke:currentColor}
html[data-theme="dark"] .chat-fresh:hover,html[data-theme="dark"] .chat-x:hover{background:#1e262d}
html[data-theme="dark"] .chat-who small{color:var(--muted)}
html[data-theme="dark"] .chat-dot{background:#58CC02;box-shadow:0 0 0 0 rgba(88,204,2,.5)}
html[data-theme="dark"] .chat-ava{background:#48401e;border:2px solid var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .chat-msg--me .chat-bubble{background:#1F2328;color:#fff}
html[data-theme="dark"] .chat-msg--ai .chat-bubble{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 3px 0 var(--line);color:var(--ink)}
html[data-theme="dark"] .chat-bubble a{color:#96c5f0;text-decoration:underline}
html[data-theme="dark"] .chat-bubble--err{border-color:#5d2626!important;box-shadow:0 3px 0 #5d2626!important;background:#271d1d!important;color:#f09993!important}
html[data-theme="dark"] .chat-caret{background:#58CC02}
html[data-theme="dark"] .chat-status{background:#1e262d;color:#b6bdc5}
html[data-theme="dark"] .chat-status i{border:2.5px solid #3e4750;border-top-color:#58CC02}
html[data-theme="dark"] .chat-status b{background:linear-gradient(90deg,#4C5560 0,#4C5560 40%,#A6AEB6 50%,#4C5560 60%,#4C5560 100%);color:transparent}
html[data-theme="dark"] .chat-mode{background:#3f311a;color:#f1cb9d}
html[data-theme="dark"] .chat-kicker{color:var(--muted)}
html[data-theme="dark"] .chat-rule,html[data-theme="dark"] .chat-quiz{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .chat-rule{border-color:#9BD86A;box-shadow:0 4px 0 #9BD86A;background:linear-gradient(180deg,#2a3917,#1d1d1d 60%)}
html[data-theme="dark"] .chat-rule li svg{fill:none;stroke:#c1f2a4}
html[data-theme="dark"] .chat-src{color:#96c5f0;text-decoration:none}
html[data-theme="dark"] .chat-step{background:var(--accent,#FFD60A);box-shadow:0 3px 0 var(--accent-shadow,#C9A200);border:0;color:#1F2328;text-decoration:none}
html[data-theme="dark"] .chat-step:active{box-shadow:0 1px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .chat-ctx{background:#1e262d}
html[data-theme="dark"] .chat-st{border:2px solid var(--line)}
html[data-theme="dark"] .chat-st.is-right{border-color:#58CC02;background:#283917}
html[data-theme="dark"] .chat-st.is-wrong{border-color:#FF4B4B;background:#281e1e}
html[data-theme="dark"] .chat-yn button{border:2px solid var(--line);background:#1d1d1d;box-shadow:0 2px 0 var(--line);color:var(--ink)}
html[data-theme="dark"] .chat-yn button.on{border-color:#1CB0F6;background:#19323e;box-shadow:0 2px 0 #1899D6;color:#9ad4f1}
html[data-theme="dark"] .chat-quiz-check{border:0;background:var(--accent,#FFD60A);box-shadow:0 4px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .chat-quiz-check:disabled{background:#433b1b;color:#abb1a2;box-shadow:0 4px 0 #5e5226}
html[data-theme="dark"] .chat-sources span{color:var(--muted)}
html[data-theme="dark"] .chat-sources a{background:#152034;color:#96c5f0;text-decoration:none}
html[data-theme="dark"] .chat-sub{color:#b6bdc5}
html[data-theme="dark"] .chat-chip{border:2px solid var(--line);background:#1d1d1d;box-shadow:0 3px 0 var(--line);color:var(--ink)}
html[data-theme="dark"] .chat-chip:hover{border-color:var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .chat-dock{background:linear-gradient(rgba(255,255,255,0),#1d1d1d 22%)}
html[data-theme="dark"] .chat-form{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line),0 12px 30px -12px rgba(31,35,40,.18)}
html[data-theme="dark"] .chat-form:focus-within{border-color:var(--accent-shadow,#C9A200);box-shadow:0 4px 0 var(--accent-shadow,#C9A200),0 12px 30px -12px rgba(31,35,40,.18)}
html[data-theme="dark"] .chat-form textarea{border:0;outline:0;background:none;color:var(--ink)}
html[data-theme="dark"] .chat-send{border:0;background:var(--accent,#FFD60A);box-shadow:0 3px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .chat-send svg{fill:none;stroke:#d5d9de}
html[data-theme="dark"] .chat-send.is-stop{background:#1F2328;box-shadow:0 3px 0 #000}
html[data-theme="dark"] .chat-send.is-stop svg{fill:#fff;stroke:#fff}
html[data-theme="dark"] .chat-note{color:var(--muted)}
html[data-theme="dark"] .ask-fab{background:#1F2328;color:#fff;text-decoration:none;box-shadow:0 6px 0 #000,0 14px 30px -10px rgba(0,0,0,.45)}
html[data-theme="dark"] .ask-fab .chat-ava{border-color:#FFD60A}
html[data-theme="dark"] .ask-fab:active{box-shadow:0 3px 0 #000}
html[data-theme="dark"] .jp-ask{background:#1d1d1d;border:2px solid rgba(0,0,0,.08);color:#d5d9de;text-decoration:none}
html[data-theme="dark"] .chat strong,html[data-theme="dark"] .chat-who strong,html[data-theme="dark"] .chat-rule h3,html[data-theme="dark"] .chat-rule li,html[data-theme="dark"] .chat-rule li span{color:var(--ink)}
html[data-theme="dark"] .chat-msg--me .chat-bubble strong{color:#fff}
@media (min-width:701px){
html[data-theme="dark"] body.chat-mode{background:var(--bg,#1d1d1d)}
}

/* order.css */
html[data-theme="dark"] .ord-intro{color:#b6bdc5}
html[data-theme="dark"] .ord-hint{color:var(--muted)}
html[data-theme="dark"] .ord-item{background:#1d1d1d;border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .ord-n{background:#1e262d;color:#c1c7cd}
html[data-theme="dark"] .ord-text{color:var(--ink)}
html[data-theme="dark"] .ord-move button{border:2px solid var(--line);background:#1d1d1d;color:#b6bdc5}
html[data-theme="dark"] .ord-grip{color:#8A9199}
html[data-theme="dark"] .ord-item.is-drag{border-color:#1CB0F6;background:#1d2327;box-shadow:0 14px 30px -10px rgba(31,35,40,.35),0 4px 0 #1899D6}
html[data-theme="dark"] .ord-item.is-drag .ord-n{background:#1CB0F6;color:#fff}
html[data-theme="dark"] .ord-item.is-right{border-color:#58CC02;box-shadow:0 4px 0 #46A302;background:#283917}
html[data-theme="dark"] .ord-item.is-right .ord-n{background:#58CC02;color:#fff}
html[data-theme="dark"] .ord-item.is-wrong{border-color:#FF4B4B;box-shadow:0 4px 0 #E03A3A;background:#281e1e}
html[data-theme="dark"] .ord-item.is-wrong .ord-n{background:#FF4B4B;color:#fff}
html[data-theme="dark"] .ord-mark .ui-ico{color:#c1f2a4}
html[data-theme="dark"] .ord-should{color:#ef918c}
html[data-theme="dark"] .ord-result.is-right{background:#385423}
html[data-theme="dark"] .ord-result.is-near{background:#42281b}
html[data-theme="dark"] .ord-result.is-right strong{color:#c9f3aa}
html[data-theme="dark"] .ord-result.is-near strong{color:#eea08a}
html[data-theme="dark"] .ord-src{color:#96c5f0;text-decoration:none}
html[data-theme="dark"] .row-ico .ui-ico{color:#d5d9de}

/* mirror-hero.css */
html[data-theme="dark"] .mh{background:linear-gradient(180deg,#192d3c 0,#1e2328 38%,#1d1d1d 78%);border:2px solid var(--line);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .mh::before{background:linear-gradient(100deg,transparent 18%,rgba(29,29,29,0.75) 30%,transparent 42%,transparent 64%,rgba(29,29,29,0.5) 72%,transparent 80%)}
html[data-theme="dark"] .mh-mirror{background:linear-gradient(180deg,#3A4148 0,#1D2125 60%,#15181B 100%);box-shadow:inset 0 1.5px 0 rgba(29,29,29,0.22),inset 0 -2px 0 rgba(0,0,0,.4),0 14px 26px -12px rgba(19,32,48,.55),0 3px 0 #0E1114}
html[data-theme="dark"] .mh-mirror::before{background:radial-gradient(circle at 35% 30%,#6B747C,#262B30 70%)}
html[data-theme="dark"] .mh-track{stroke:rgba(255,255,255,.14)}
html[data-theme="dark"] .mh-val{stroke:url(#mh-g)}
html[data-theme="dark"] .mh-eyebrow{color:#8ac9ee}
html[data-theme="dark"] #main .mh-title{color:#d5d9de}
html[data-theme="dark"] .mh-text{color:#b9c1c9}

/* games.css */
html[data-theme="dark"] .judge.judge{border:0;background:none;box-shadow:none;color:var(--ink)}
html[data-theme="dark"] .game-close{color:var(--muted);text-decoration:none}
html[data-theme="dark"] .game-close:hover{background:var(--panel2)}
html[data-theme="dark"] .game-cases i{background:var(--panel2);box-shadow:inset 0 0 0 1.5px var(--line)}
html[data-theme="dark"] .game-cases i::after{background:var(--good,#58CC02)}
html[data-theme="dark"] .game-count{color:var(--muted)}
html[data-theme="dark"] .judge.judge .judge__header{background:none}
html[data-theme="dark"] .judge.judge .judge__eyebrow{color:var(--blue-ink,#7fc4ed)}
html[data-theme="dark"] #main .judge.judge .judge__title{color:var(--ink)}
html[data-theme="dark"] .judge.judge .judge__stage{border:2px solid var(--line);box-shadow:0 4px 0 var(--line);background:#1a2430}
html[data-theme="dark"] .judge.judge .judge__workspace{border:2px solid var(--line);background:var(--panel);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .judge__track li{background:var(--panel2);color:var(--muted)}
html[data-theme="dark"] .judge__track li::before{background:var(--line);color:var(--ink)}
html[data-theme="dark"] .judge__track li.is-now{background:var(--accent,#FFD60A);color:var(--accent-ink,#1F2328);box-shadow:0 3px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .judge__track li.is-now::before{background:rgba(29,29,29,0.65);color:#f6f0d3}
html[data-theme="dark"] .judge__track li.is-done{background:var(--good-bg,#31451c);color:var(--good-ink,#3B8A00)}
html[data-theme="dark"] .judge__track li.is-done::before{background:var(--good,#58CC02);color:#fff}
html[data-theme="dark"] .judge.judge .judge__setup{color:var(--muted)}
html[data-theme="dark"] .judge.judge .judge__description{color:var(--muted)}
html[data-theme="dark"] .judge.judge .judge__prompt{color:var(--ink)}
html[data-theme="dark"] .judge.judge .judge__voice{border:2px solid var(--line);background:var(--panel);color:var(--ink);box-shadow:0 2px 0 var(--line)}
html[data-theme="dark"] .judge.judge .judge__voice[aria-pressed="true"]{border-color:var(--blue-ink,#0A7BBF);color:var(--blue-ink,#7fc4ed)}
html[data-theme="dark"] .judge.judge .judge__answer{border:2px solid var(--line);background:var(--panel);color:var(--ink);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .judge.judge .judge__answer b{background:var(--panel2);color:var(--ink);box-shadow:inset 0 0 0 2px var(--line)}
html[data-theme="dark"] .judge.judge .judge__answers--spatial .judge__answer b{background:var(--accent,#FFD60A);color:#1A1605;box-shadow:none}
html[data-theme="dark"] .judge.judge .judge__answer:hover,html[data-theme="dark"] .judge.judge .judge__answer.is-hot{border-color:var(--blue-ink,#0A7BBF);box-shadow:0 4px 0 var(--blue-ink,#0A7BBF)}
html[data-theme="dark"] .judge.judge .judge__answer:active{box-shadow:0 1px 0 var(--line)}
html[data-theme="dark"] .judge.judge .judge__answer.is-right{border-color:var(--good,#58CC02);background:var(--good-bg,#31451c);box-shadow:0 4px 0 var(--good,#58CC02);color:var(--ink)}
html[data-theme="dark"] .judge.judge .judge__answer.is-right b{background:var(--good,#58CC02);color:#fff}
html[data-theme="dark"] .judge.judge .judge__answer.is-wrong{border-color:var(--bad,#FF4B4B);background:var(--bad-bg,#391717);box-shadow:0 4px 0 var(--bad,#FF4B4B)}
html[data-theme="dark"] .judge.judge .judge__answer.is-wrong b{background:var(--bad,#FF4B4B);color:#fff}
html[data-theme="dark"] .judge.judge .judge__status[data-tone="retry"]{background:var(--bad-bg,#391717);color:#B42318}
html[data-theme="dark"] .judge.judge .judge__status[data-tone="ok"]{background:var(--good-bg,#31451c);color:#2B6A00}
html[data-theme="dark"] .judge.judge .judge__excuse{border:0;background:none;color:var(--ink)}
html[data-theme="dark"] .judge.judge .judge__driver strong{color:var(--ink)}
html[data-theme="dark"] .judge.judge .judge__driver span{color:var(--muted)}
html[data-theme="dark"] .judge.judge .judge__excuse p{background:var(--panel2);border:2px solid var(--line)}
html[data-theme="dark"] .judge.judge .judge__feedback{border:0;background:none}
html[data-theme="dark"] .judge__done{background:var(--good-bg,#31451c);border:2px solid var(--good,#58CC02)}
html[data-theme="dark"] .judge__done-ico{background:var(--good,#58CC02);color:#fff}
html[data-theme="dark"] .judge__done strong{color:var(--ink)}
html[data-theme="dark"] .judge__done small{color:var(--muted)}
html[data-theme="dark"] .judge.judge .judge__correct-thumb figcaption{color:var(--ink);background:var(--panel2)}
html[data-theme="dark"] .judge.judge .judge__rule{background:var(--panel2);color:var(--ink)}
html[data-theme="dark"] .judge.judge .judge__rule span{color:var(--blue-ink,#7fc4ed)}
html[data-theme="dark"] .judge.judge .judge__source{border:2px solid var(--line);background:var(--panel);color:var(--blue-ink,#7fc4ed)}
html[data-theme="dark"] .judge.judge .judge__receipt{border-color:var(--line);background:var(--panel2);color:var(--ink);box-shadow:none}
html[data-theme="dark"] .judge.judge .judge__receipt p{color:var(--ink)}
@media (min-width:1050px){
html[data-theme="dark"] .judge--started.judge--started .judge__workspace{border-left:2px solid var(--line)}
}
html[data-theme="dark"] .turn-shell.turn-shell{color:var(--ink);background:none}
html[data-theme="dark"] .turn-shell .game-top{border:0;background:none}
html[data-theme="dark"] .turn-shell .turn-meter{background:var(--panel2);box-shadow:inset 0 0 0 1.5px var(--line)}
html[data-theme="dark"] .turn-shell .turn-meter span{background:var(--good,#58CC02)}
html[data-theme="dark"] .turn-shell .turn-listen{border:2px solid var(--line);background:var(--panel);color:var(--ink);box-shadow:0 2px 0 var(--line)}
html[data-theme="dark"] .turn-shell .turn-listen svg{fill:none;stroke:currentColor}
html[data-theme="dark"] .turn-title{color:var(--muted)}
html[data-theme="dark"] .turn-shell .turn-viewbar{background:var(--panel2);box-shadow:inset 0 0 0 1.5px var(--line);border:0}
html[data-theme="dark"] .turn-shell .turn-viewbar button{border:0;background:none;color:var(--muted);box-shadow:none}
html[data-theme="dark"] .turn-shell .turn-viewbar button[aria-pressed="true"]{background:var(--accent,#FFD60A);color:#1A1605;box-shadow:0 2px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .turn-shell .turn-canvas-wrap{border:2px solid var(--line);box-shadow:0 4px 0 var(--line);background:#0B1220}
html[data-theme="dark"] .turn-shell .turn-stage figcaption{color:var(--muted)}
html[data-theme="dark"] .turn-shell .turn-body{border:2px solid var(--line);background:var(--panel);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .turn-shell .turn-kicker{color:var(--blue-ink,#7fc4ed)}
html[data-theme="dark"] #main .turn-shell .turn-body h1{color:var(--ink)}
html[data-theme="dark"] .turn-shell .turn-body h1 em{color:var(--ink)}
html[data-theme="dark"] .turn-shell .turn-lead{color:var(--muted)}
html[data-theme="dark"] .turn-shell .turn-instruction,html[data-theme="dark"] .turn-shell .turn-point-hint{background:var(--panel2)!important;color:var(--ink)}
html[data-theme="dark"] .turn-shell .turn-choice{border:2px solid var(--line);background:var(--panel);color:var(--ink);box-shadow:0 4px 0 var(--line)}
html[data-theme="dark"] .turn-shell .turn-choice small{color:var(--muted)}
html[data-theme="dark"] .turn-shell .turn-choice b{color:var(--muted)}
html[data-theme="dark"] .turn-shell .turn-choice:hover{border-color:var(--blue-ink,#0A7BBF);box-shadow:0 4px 0 var(--blue-ink,#0A7BBF)}
html[data-theme="dark"] .turn-shell .turn-choice:active{box-shadow:0 1px 0 var(--line)}
html[data-theme="dark"] .turn-shell .turn-primary{border:0;background:var(--accent,#FFD60A);color:#1A1605;box-shadow:0 4px 0 var(--accent-shadow,#C9A200);text-decoration:none}
html[data-theme="dark"] .turn-shell .turn-primary:active:not(:disabled){box-shadow:0 1px 0 var(--accent-shadow,#C9A200)}
html[data-theme="dark"] .turn-shell .turn-text-btn{border:0;background:none;color:var(--blue-ink,#7fc4ed);text-decoration:underline}
html[data-theme="dark"] .turn-shell .turn-feedback{border:2px solid var(--good,#58CC02);background:var(--good-bg,#31451c);color:var(--ink)}
html[data-theme="dark"] .turn-shell .turn-feedback--repair{border-color:var(--orange,#FF9600);background:color-mix(in oklab,var(--orange,#FF9600) 12%,var(--panel))}
html[data-theme="dark"] .turn-shell .turn-feedback>span{background:var(--good,#58CC02);color:#fff}
html[data-theme="dark"] .turn-shell .turn-feedback--repair>span{background:var(--orange,#FF9600)}
html[data-theme="dark"] .turn-shell .turn-feedback p{color:var(--muted)}
html[data-theme="dark"] .turn-shell .turn-rule{border:0;background:var(--panel2);color:var(--ink)}
html[data-theme="dark"] .turn-shell .turn-gag{color:var(--muted)}
html[data-theme="dark"] .turn-shell .turn-source,html[data-theme="dark"] .turn-shell .turn-text-alternative{color:var(--muted)}
html[data-theme="dark"] .turn-shell .turn-source summary,html[data-theme="dark"] .turn-shell .turn-text-alternative summary{color:var(--ink)}
html[data-theme="dark"] .turn-shell .turn-source a{color:var(--blue-ink,#7fc4ed)}
html[data-theme="dark"] .turn-shell .turn-replay-status{color:var(--muted)}
html[data-theme="dark"] .turn-shell textarea{border:2px solid var(--line)!important;background:var(--panel)!important;color:var(--ink)!important}
html[data-theme="dark"] .turn-shell .turn-recall-label{color:var(--ink)}
html[data-theme="dark"] .turn-shell .turn-review-note{color:var(--muted)}
html[data-theme="dark"] .turn-shell .turn-own-answer{border:2px solid var(--line)!important;background:var(--panel2)!important;color:var(--ink)}
html[data-theme="dark"] .turn-shell .turn-evidence li{background:var(--panel2)}
html[data-theme="dark"] .turn-shell .game-top>a.game-close{border:0;color:var(--muted)}
html[data-theme="dark"] .turn-shell .turn-feedback strong,html[data-theme="dark"] .turn-shell .turn-feedback--repair strong{color:var(--ink)}
html[data-theme="dark"] .turn-shell .turn-feedback>span,html[data-theme="dark"] .turn-shell .turn-feedback--repair>span{color:#fff}
html[data-theme="dark"] .turn-shell .turn-rule>b{color:var(--ink)}
html[data-theme="dark"] .turn-shell .turn-rule p{color:var(--ink)}

/* team.css */
html[data-theme="dark"] .race-rig::after{background:rgba(0,0,0,.28)}
html[data-theme="dark"] .race-tag{background:#1d1d1d;border:2px solid #1F2328;box-shadow:0 2px 0 #1F2328;color:#d5d9de}
html[data-theme="dark"] .race-tag b{background:#1F2328;color:#fff}
html[data-theme="dark"] .race-car.is-me .race-tag{background:#FFD60A}
html[data-theme="dark"] .race-car:first-child .race-tag b{background:#FFD60A;color:#1F2328;box-shadow:0 0 0 2px #1F2328}
html[data-theme="dark"] .race-fire i{background:url("assets/race/nitro.webp") 0 0/300% 100% no-repeat}
html[data-theme="dark"] .race-fire--mega i{background-image:url("assets/race/mega.webp")}
html[data-theme="dark"] .race-wind{background:url("assets/race/wind.webp") 0 0/100% 100% no-repeat}
html[data-theme="dark"] .race-call{background:#1F2328;color:#e8d260}
html[data-theme="dark"] .race-boost{background:#1F2328;color:#e8d260}
html[data-theme="dark"] .race-cta{background:#1F2328;color:#e8d260;border:2px solid #1F2328;box-shadow:0 3px 0 rgba(0,0,0,.35);text-decoration:none}
html[data-theme="dark"] .race-cta svg{fill:none;stroke:currentColor}
html[data-theme="dark"] .race-cta:active{box-shadow:none}
html[data-theme="dark"] .team .panel h2 small{color:var(--muted)}
html[data-theme="dark"] .team-form input[type=text],html[data-theme="dark"] .team-form input:not([type]),html[data-theme="dark"] .team-form input[name]{border:2px solid var(--line);background:var(--panel,#1d1d1d);color:var(--ink)}
html[data-theme="dark"] .team-kind{border:0}
html[data-theme="dark"] .team-kind span{border:2px solid var(--line);background:var(--panel,#1d1d1d)}
html[data-theme="dark"] .team-kind input:checked + span{background:#FFD60A;border-color:#1F2328;color:#1F2328}
html[data-theme="dark"] .team-kind input:focus-visible + span{outline:3px solid #0B6BA8}
html[data-theme="dark"] .team-fine{color:var(--muted)}
html[data-theme="dark"] .team-row{border:2px solid var(--line);background:var(--panel,#1d1d1d)}
html[data-theme="dark"] .team-row.is-me{border-color:#1F2328;background:#4b441f;color:#d5d9de}
html[data-theme="dark"] .team-row.is-me small{color:#b6bdc5}
html[data-theme="dark"] .team-place{background:#1F2328;color:#fff}
html[data-theme="dark"] .team-row:first-child .team-place{background:#FFD60A;color:#1F2328;box-shadow:0 0 0 2px #1F2328}
html[data-theme="dark"] .team-who small{color:var(--muted)}
html[data-theme="dark"] .team-pts small{color:var(--muted)}
html[data-theme="dark"] .team-boost-big{background:#1F2328;color:#fff}
html[data-theme="dark"] .team-boost-big small{color:#C9D0D7}
html[data-theme="dark"] .team-boost-big strong{color:#e8d260}
html[data-theme="dark"] .team-boost-big span{color:#C9D0D7}
html[data-theme="dark"] .team-boost:not(.is-on) .team-boost-big strong{color:#9AA3AD}
html[data-theme="dark"] .team-boost-parts li{background:var(--soft,#1e262d)}
html[data-theme="dark"] .team-code b{border:2px dashed var(--line)}
html[data-theme="dark"] .team-link{text-decoration:none;color:inherit}
html[data-theme="dark"] .team-link small{color:var(--muted)}
