/* DIJANA OLEH tools/gen_theme.py daripada styles.css — jangan sunting dengan tangan.
   Sunting styles.css, kemudian jana semula. Pembaikan manual: styles-overrides.css */
@media (max-width:640px){
.small{font-size:14.5px}
.tiny{font-size:13.5px}
.brandmark{font-size:16px}
.brandname{font-size:15px}
.brandname small{font-size:10.5px}
.portal-switch button{font-size:13.5px}
.live-pill{font-size:12.5px}
.avatar{font-size:14.5px}
.subnav button{font-size:14.5px}
.side-brand{font-size:12.5px}
.side-caption{font-size:11.5px}
.side-links button{font-size:14.5px}
.side-bottom strong{font-size:13.5px}
.side-bottom p{font-size:12.5px}
.side-bottom button{font-size:13.5px}
.overline{font-size:11.5px}
.welcome-row p,.parent-hello p,.student-welcome p,.pagehead p{font-size:14.5px}
.primary{font-size:14.5px}
.outline{font-size:13.5px}
.btn{font-size:14px}
.btn.sm{font-size:13.5px}
.hero-label{font-size:11.5px}
.creator-hero p{font-size:14.5px}
.orbit-card b{font-size:14.5px}
.orbit-card small{font-size:11.5px}
.metric-top{font-size:12.5px}
.of{font-size:15px}
.metric-foot{font-size:12.5px}
.surface-title h3{font-size:15px}
.surface-title span{font-size:12.5px}
.surface.empty,.empty{font-size:15px}
.flow-step b{font-size:13.5px}
.flow-step small{font-size:12.5px}
.product-row b{font-size:14.5px}
.product-row small{font-size:12.5px}
.pill-s{font-size:12px}
.table th{font-size:12px}
.table td{font-size:14.5px}
.tool-name{font-size:14.5px}
.fg label,.lbl{font-size:13.5px}
.fg input,.fg select,.fg textarea,.field{font-size:15px}
.hint{font-size:13px}
.checks{font-size:14.5px}
.notice{font-size:14.5px}
.alert{font-size:15px}
.q ol{font-size:14.5px}
.mis{font-size:13.5px}
pre.code{font-size:14px}
.skchip{font-size:13.5px}
.kid-pick b{font-size:15px}
.kid-pick small{font-size:13.5px}
.skill{font-size:14px}
.skill b{font-size:13.5px}
.weeklbl{font-size:11.5px}
.family-hero p{font-size:14.5px}
.floating{font-size:12.5px}
.family-stat span{font-size:12.5px}
.family-stat small{font-size:12.5px}
.child-info b{font-size:14.5px}
.child-info small{font-size:12.5px}
.pct{font-size:14.5px}
.discover b{font-size:14.5px}
.discover small{font-size:13px}
.tip{font-size:14.5px}
.mk-search input{font-size:16px}
.chip{font-size:14.5px}
.chip b{font-size:12.5px}
.mk-section h2 small{font-size:13.5px}
.mk-tag{font-size:12.5px}
.mk-card h3{font-size:16px}
.mk-hook{font-size:14.5px}
.mk-meta{font-size:13px}
.mk-foot .price{font-size:16px}
.own{font-size:13.5px}
.streak{font-size:12.5px}
.adventure p{font-size:14.5px}
.adv-btn{font-size:14.5px}
.student-metric span{font-size:12.5px}
.student-metric small{font-size:12.5px}
.quest-feature h3{font-size:16px}
.quest-feature p{font-size:13.5px}
.reward b{font-size:14px}
.reward small{font-size:12.5px}
.qcard .story{font-size:14.5px}
.opt .k{font-size:15px}
.feedback{font-size:16px}
.authart p{font-size:15px}
.portals small{font-size:14px}
.tabs button{font-size:14.5px}
.toast{font-size:15px}
.mk-desc{font-size:14.5px}
.bdg b{font-size:14.5px}
.bdg small{font-size:12.5px}
.template-kicker{font-size:11.5px}
.template-hero p{font-size:14.5px}
.template-hero-points{font-size:12.5px}
.template-summary span{font-size:12.5px}
.template-toolbar p{font-size:13.5px}
.template-filters input,.template-filters select{font-size:13.5px}
.template-art small{font-size:10.5px}
.template-category{font-size:11.5px}
.template-status{font-size:10.5px}
.template-card h3{font-size:16px}
.template-card p{font-size:13px}
.template-level{font-size:11.5px}
.template-help b{font-size:14.5px}
.template-help p{font-size:12.5px}
.template-selected-banner b{font-size:13.5px}
.template-selected-banner small{font-size:12.5px}
.template-upload-promo b{font-size:14.5px}
.template-upload-promo p{font-size:12.5px}
.mk-review{font-size:14.5px}
.wb-modes b{font-size:14.5px}
.wb-modes small{font-size:13.5px}
.wb-bank-year>small,.wb-bank-word small{font-size:13.5px}
.wb-play-head small{font-size:13.5px}
.wb-placeholder{font-size:14.5px}
.wb-local-error{font-size:14.5px}
.wb-option-fallback>small{font-size:13.5px}
.device-row small{font-size:14.5px}
.tonight .surface-title .linkish{font-size:14.5px}
.tonight-row b{font-size:16px}
.tonight-row small{font-size:14.5px}
.tn-ok,.tn-mid,.tn-no{font-size:15px}
.settings-fold summary{font-size:15px}
.kid-chip{font-size:15px}
.device-foot{font-size:14.5px}
.more-fold summary{font-size:15px}
.more-links{font-size:15px}
.tipcard .tip-meta{font-size:14.5px}
.tipcard details summary{font-size:15px}
.tipcard details p{font-size:16px}
.tipcard .tip-mis{font-size:14.5px}
.weekdots span{font-size:13.5px}
.weektotal{font-size:15px}
.celebrate-row{font-size:15.5px}
.avatar-grid label small{font-size:12.5px}
.chip-set button{font-size:15px}
.fg-block>b{font-size:15px}
.lib-row small{font-size:15px}
.kid-progress span{font-size:14.5px}
.ring{font-size:13.5px}
.ring em{font-size:12.5px}
.settings-list small{font-size:15px}
.fg .avatar-grid label,.avatar-grid label{font-size:14.5px}
.kid-hello small{font-size:15px}
.age-chips button span{font-size:13.5px}
.check-row small{font-size:15px}
.choice small{font-size:15px}
.tour-step{font-size:14.5px}
.reward-mini{font-size:15px}
.reward-ready{font-size:16px}
.kid-challenge{font-size:16px}
.ch-res{font-size:16px}
.plan-hero p{font-size:15.5px}
.plan-ring small{font-size:12.5px}
.plan-row small{font-size:15px}
.map-label b{font-size:16px}
.map-label small{font-size:14px}
.switch small{font-size:15px}
.teaser small{font-size:15px}
.teaser span{font-size:15px}
.earn-split span{font-size:15px}
.earn-stats small{font-size:14px}
.earn-row small{font-size:14.5px}
.ref-link{font-size:15px}
.opp-card small{font-size:15px}
.ref-banner{font-size:16px}
.book-top small{font-size:15px}
.book-pill{font-size:14px}
.book-note{font-size:16px}
.book-prog{font-size:15px}
.book-prog code{font-size:14.5px}
.book-money{font-size:15px}
.book-when{font-size:16px}
.tutor-top small{font-size:15px}
.tutor-price small{font-size:14.5px}
.tutor-link{font-size:15px}
.tick span{font-size:16px}
.plan-row.locked .lock{font-size:15px}
.plan-card small{font-size:15px}
.best-tag{font-size:14px}
.pack-row span{font-size:16px}
.taster-tag{font-size:15px}
.cov th{font-size:14.5px}
.cov thead th small{font-size:12.5px}
.cov-cell i{font-size:12.5px}
.cov-legend{font-size:14.5px}
.qp-card{font-size:16px}
.qp-short{font-size:16px}
.qp-match span{font-size:15px}
.qp-passage{font-size:15px}
.note-row small{font-size:14.5px}
.video-box.blocked{font-size:16px}
.exam-timer{font-size:16px}
.es-row{font-size:16px}
.er{font-size:16px}
.last-exam{font-size:15px}
.portal-switch button{font-size:13px}
.brandname{font-size:13.5px}
.side-links button{font-size:13.5px}
.log-table td::before{font-size:14.5px}
.topnav .brandmark{font-size:15px}
.bottomnav button{font-size:13.5px}
.welcome-row p{font-size:15px}
.btn{font-size:15px}
.tabs button{font-size:15px}
.rail-hint{font-size:14.5px}
}
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"]{--ink:#c5d0e8;--line:#353d4a;--canvas:#191f29;--white:#1d1d1d;--good:#9be3d2;--good-bg:#1c2e26;--warn:#f6d292;--warn-bg:#392c11;--bad-bg:#321418;--shadow:0 12px 36px rgba(0,0,0,0.07);--accent-soft:#0f1835}
html[data-theme="dark"] body.theme-parent{--accent-soft:#20312a;--accent-ink:#a0dfd2;background:#1b2823}
html[data-theme="dark"] body.theme-student{--accent-soft:#140f35;background:#0f0f32;color:#bebedc}
html[data-theme="dark"] :focus-visible{outline:3px solid #283358}
html[data-theme="dark"] .topnav{background:rgba(29,29,29,0.9);border-bottom:1px solid #363e49}
html[data-theme="dark"] .brandmark{background:linear-gradient(145deg,#183086,#222d59 55%,#40c5ad);color:#ffffff;box-shadow:0 8px 20px rgba(0,0,0,0)}
html[data-theme="dark"] .portal-switch{background:#1d202a}
html[data-theme="dark"] .portal-switch button.sel{background:#1d1d1d;color:#b6c5df;box-shadow:0 3px 12px rgba(0,0,0,0.0706)}
html[data-theme="dark"] .portal-switch button:not(.sel):hover{color:#b6c5df}
html[data-theme="dark"] .live-pill{color:#a5b8b3;background:#1d2c26}
html[data-theme="dark"] .avatar{background:#101737}
html[data-theme="dark"] button.avatar:disabled{background:#140f35}
html[data-theme="dark"] body.theme-parent .avatar{background:#1e322a;color:#9be1d2}
html[data-theme="dark"] .subnav{background:#1d1d1d;border-bottom:1px solid #364049}
html[data-theme="dark"] .subnav button{color:#9fb2ae}
html[data-theme="dark"] body.theme-student .subnav{border-color:#35314f}
html[data-theme="dark"] body.theme-student .subnav button.sel{background:#140f35}
html[data-theme="dark"] .side-brand{color:#ffffff}
html[data-theme="dark"] .side-links button:hover{background:rgba(29,29,29,0.0745);color:#ffffff}
html[data-theme="dark"] .side-links button.sel{background:rgba(29,29,29,0.0745);color:#ffffff;box-shadow:inset 3px 0 rgba(0,0,0,0)}
html[data-theme="dark"] .side-bottom{border:1px solid rgba(64,64,64,0.0902)}
html[data-theme="dark"] .side-bottom strong{color:#ffffff}
html[data-theme="dark"] .side-bottom button{background:#1a362d;color:#a8e2d9}
html[data-theme="dark"] body.theme-parent .overline{color:#98dacc}
html[data-theme="dark"] .primary{color:#ffffff;box-shadow:0 8px 18px rgba(0,0,0,0)}
html[data-theme="dark"] .outline{background:#1d1d1d;color:#a3b0c5}
html[data-theme="dark"] .btn{color:#ffffff}
html[data-theme="dark"] .btn.ghost{background:#1d1d1d;color:#a3b0c5}
html[data-theme="dark"] .creator-hero{color:#ffffff}
html[data-theme="dark"] .hero-cta .primary{background:#11392a;color:#a8e2d8}
html[data-theme="dark"] .hero-cta .outline{background:rgba(29,29,29,0.0706);border-color:rgba(64,64,64,0.145)}
html[data-theme="dark"] .orbit{border:1px solid rgba(64,64,64,0.125);box-shadow:0 0 0 38px rgba(0,0,0,0),0 0 0 78px rgba(0,0,0,0),0 0 0 118px rgba(0,0,0,0)}
html[data-theme="dark"] .orbit:before,html[data-theme="dark"] .orbit:after{background:linear-gradient(135deg,#183088,#235449)}
html[data-theme="dark"] .orbit:before{box-shadow:0 0 30px rgba(0,0,0,0)}
html[data-theme="dark"] .orbit:after{background:#6e5324}
html[data-theme="dark"] .orbit-card{background:linear-gradient(145deg,rgba(29,29,29,0.125),rgba(29,29,29,0.0471));border:1px solid rgba(64,64,64,0.188);box-shadow:0 22px 55px rgba(0,0,0,0.333)}
html[data-theme="dark"] .metric-card{background:#1d1d1d;box-shadow:0 5px 20px rgba(0,0,0,0.0392)}
html[data-theme="dark"] .metric-symbol{background:#0f1835}
html[data-theme="dark"] .surface{background:#1d1d1d;box-shadow:0 5px 20px rgba(0,0,0,0.0314)}
html[data-theme="dark"] .flow-step{background:#151d2b;border:1px solid #353c4a}
html[data-theme="dark"] .product-row{border-bottom:1px solid #383d48}
html[data-theme="dark"] .product-thumb{background:linear-gradient(145deg,#0f1835,#1c322a)}
html[data-theme="dark"] .pill-s.gray{background:#1e232b;color:#a6b0c1}
html[data-theme="dark"] .table td{border-bottom:1px solid #363c49}
html[data-theme="dark"] .fg label,html[data-theme="dark"] .lbl{color:#a9b4c5}
html[data-theme="dark"] .fg input,html[data-theme="dark"] .fg select,html[data-theme="dark"] .fg textarea,html[data-theme="dark"] .field{border:1px solid #363e49;background:#1d1d1d}
html[data-theme="dark"] .fg input:focus,html[data-theme="dark"] .fg select:focus,html[data-theme="dark"] .fg textarea:focus,html[data-theme="dark"] .field:focus{outline:2px solid #24305b;border-color:#283358}
html[data-theme="dark"] .fg input:disabled{background:#1a1f2a}
html[data-theme="dark"] .notice{background:#0f2135;color:#9ebad8;border:1px solid #233e5c}
html[data-theme="dark"] .notice.warn{color:#f3d59e;border-color:#56492a}
html[data-theme="dark"] .kid-pick{background:#1d1d1d}
html[data-theme="dark"] .bar{background:#1e232b}
html[data-theme="dark"] .bar i{background:linear-gradient(90deg,#1f2966,#28b9b1)}
html[data-theme="dark"] .bar i.lo{background:#5a3a1d}
html[data-theme="dark"] .progress{background:#222925}
html[data-theme="dark"] .family-hero{background:linear-gradient(112deg,#1e342b,#1e2f28 60%,#182735);border:1px solid #344c41}
html[data-theme="dark"] .family-hero .overline{color:#98dacc}
html[data-theme="dark"] .family-hero h2{color:#bce1da}
html[data-theme="dark"] .family-hero p{color:#a2b7b0}
html[data-theme="dark"] .sun{background:linear-gradient(145deg,#584219,#794f1d);box-shadow:0 0 0 22px rgba(0,0,0,0)}
html[data-theme="dark"] .floating{background:#1d1d1d;border:1px solid #37493f;box-shadow:0 10px 30px rgba(0,0,0,0.106);color:#a3cec3}
html[data-theme="dark"] .family-stat{background:#1d1d1d;border:1px solid #384840}
html[data-theme="dark"] .family-stat b{color:#b2ded5}
html[data-theme="dark"] .child-card{border:1px solid #39463f}
html[data-theme="dark"] .child-avatar{background:#3b2711}
html[data-theme="dark"] .pct{color:#98dacc}
html[data-theme="dark"] .discover{border:1px solid #3a453e;background:#1d1d1d}
html[data-theme="dark"] .discover-art{background:linear-gradient(135deg,#0f2035,#1e2f24)}
html[data-theme="dark"] .mk-search{background:#1d1d1d;box-shadow:0 5px 20px rgba(0,0,0,0.0392)}
html[data-theme="dark"] .mk-search:focus-within{border-color:#283358;box-shadow:0 0 0 3px rgba(0,0,0,0)}
html[data-theme="dark"] .chip{background:#1d1d1d;color:#a9b4c5}
html[data-theme="dark"] .chip:hover{border-color:#283258}
html[data-theme="dark"] .chip b{background:#1c222a;color:#9ca7b8}
html[data-theme="dark"] .chip.sel{color:#ffffff}
html[data-theme="dark"] .chip.sel b{background:rgba(29,29,29,0.2);color:#ffffff}
html[data-theme="dark"] .mk-card{background:#1d1d1d;box-shadow:0 5px 20px rgba(0,0,0,0.0392)}
html[data-theme="dark"] .mk-card:hover{box-shadow:0 14px 34px rgba(0,0,0,0.102)}
html[data-theme="dark"] .mk-art{background:linear-gradient(135deg,#0f1835,#1d3129)}
html[data-theme="dark"] body.theme-student .mk-art{background:linear-gradient(135deg,#140f35,#112739)}
html[data-theme="dark"] body.theme-parent .mk-art{background:linear-gradient(135deg,#1e2e27,#17262f)}
html[data-theme="dark"] .mk-hook{color:#9ca7b8}
html[data-theme="dark"] .streak{background:#1d1d1d;border:1px solid #302c54;color:#d9bd99}
html[data-theme="dark"] .adventure{color:#ffffff}
html[data-theme="dark"] .adv-btn{background:#1d1d1d;color:#8c85cb}
html[data-theme="dark"] .planet{background:linear-gradient(145deg,#533320,#782733 52%,#352967);box-shadow:inset -18px -18px 35px rgba(0,0,0,0.4),0 0 0 18px rgba(0,0,0,0),0 0 0 40px rgba(0,0,0,0)}
html[data-theme="dark"] .planet:before{border:8px solid rgba(42,32,96,0.6)}
html[data-theme="dark"] .student-metric{background:#1d1d1d;border:1px solid #33314f}
html[data-theme="dark"] .student-metric b{color:#938ecc}
html[data-theme="dark"] .quest-feature{background:#1d1d1d;border:1px solid #332f51}
html[data-theme="dark"] .quest-world{background:linear-gradient(120deg,#16113a,#112739)}
html[data-theme="dark"] .reward{background:#1d1d1d;border:1px solid #35314f}
html[data-theme="dark"] .reward-icon{background:#3b2e11}
html[data-theme="dark"] body.theme-student .surface{border-color:#35314f;box-shadow:0 8px 22px rgba(0,0,0,0.0627)}
html[data-theme="dark"] body.theme-student .discover{border-color:#35314f}
html[data-theme="dark"] body.theme-student .discover-art{background:linear-gradient(135deg,#140f35,#112739)}
html[data-theme="dark"] .qcard{background:#1d1d1d;box-shadow:0 12px 34px rgba(0,0,0,0.0941)}
html[data-theme="dark"] .opt{border:2px solid #35334c;background:#1d1d1d}
html[data-theme="dark"] .opt:hover:not(:disabled){background:#150f32}
html[data-theme="dark"] .opt .k{background:#140f35}
html[data-theme="dark"] .opt.wrong{border-color:#512f32}
html[data-theme="dark"] .feedback.good{color:#aeebdf}
html[data-theme="dark"] .feedback.try{color:#f7d8a2}
html[data-theme="dark"] .feedback.learn{background:#0f1635;color:#99a1d7}
html[data-theme="dark"] .authart{color:#ffffff}
html[data-theme="dark"] .portals div{background:rgba(29,29,29,0.0706);border:1px solid rgba(64,64,64,0.122)}
html[data-theme="dark"] .authcard{background:#1d1d1d}
html[data-theme="dark"] .tabs{background:#1f232c}
html[data-theme="dark"] .tabs button{color:#a6b0c1}
html[data-theme="dark"] .tabs button.sel{background:#1d1d1d;box-shadow:0 2px 8px rgba(0,0,0,0.0784)}
html[data-theme="dark"] .modalback{background:rgba(16,27,53,0.467)}
html[data-theme="dark"] .modal{background:#1d1d1d;box-shadow:0 25px 80px rgba(0,0,0,0.267)}
html[data-theme="dark"] .close{background:#1e212a}
html[data-theme="dark"] .toast{color:#ffffff}
html[data-theme="dark"] .bdg{background:#1d1d1d;border:1px solid #35314f;box-shadow:0 8px 22px rgba(0,0,0,0.0627)}
html[data-theme="dark"] .template-hero{color:#ffffff}
html[data-theme="dark"] .template-orbit{border:1px solid rgba(64,64,64,0.208);box-shadow:0 0 0 25px rgba(0,0,0,0),0 0 0 52px rgba(0,0,0,0)}
html[data-theme="dark"] .template-float{background:rgba(29,29,29,0.106);border:1px solid rgba(64,64,64,0.208);box-shadow:0 12px 28px rgba(0,0,0,0.251)}
html[data-theme="dark"] .template-summary>div{background:#1d1d1d;box-shadow:0 5px 18px rgba(0,0,0,0.0235)}
html[data-theme="dark"] .template-filters input,html[data-theme="dark"] .template-filters select{background:#1d1d1d}
html[data-theme="dark"] .template-card{background:#1d1d1d;box-shadow:0 5px 20px rgba(0,0,0,0.0314)}
html[data-theme="dark"] .template-card:hover{box-shadow:0 12px 28px rgba(0,0,0,0.0745)}
html[data-theme="dark"] .template-art{background:linear-gradient(135deg,#0f1a35,#1c312a 55%,#372110)}
html[data-theme="dark"] .template-category{color:#9da7b9}
html[data-theme="dark"] .template-status.ready{color:#a2e5d5;background:#1c3128}
html[data-theme="dark"] .template-status.soon{color:#eacb96;background:#3b2e11}
html[data-theme="dark"] .template-level{border-top:1px solid #383d48}
html[data-theme="dark"] .template-help{background:#0f1f35;border:1px solid #203460}
html[data-theme="dark"] .template-help-icon{background:#1d1d1d}
html[data-theme="dark"] .template-selected-banner{border:1px solid #203660;background:#0f1b33}
html[data-theme="dark"] .template-modal-art{background:linear-gradient(135deg,#0f1a35,#1c312a)}
html[data-theme="dark"] .template-upload-promo{background:#1d1d1d;border:1px dashed #333d4c}
html[data-theme="dark"] .template-upload-icon{background:#0f1733}
html[data-theme="dark"] .template-soon-row{border-top:1px dashed #363d49}
html[data-theme="dark"] .mk-review{color:#9cf3ce;background:#1c3126}
html[data-theme="dark"] .wb-studio{border:1px solid #263759;background:linear-gradient(135deg,#0e1d30,#192a23)}
html[data-theme="dark"] .wb-modes>div{background:#1d1d1d;border:1px solid #313b4e}
html[data-theme="dark"] .wb-modes b{color:#b8c9e6}
html[data-theme="dark"] .wb-bank-year{background:#151d2b;border:1px solid #303c4f}
html[data-theme="dark"] .wb-bank-word{background:#1d1d1d;border:1px solid #313d4e}
html[data-theme="dark"] .wb-question .wb-visual{background:linear-gradient(120deg,#0f1e35,#172e23)}
html[data-theme="dark"] .wb-play{border:1px solid #2e3c52;background:#0e1d30}
html[data-theme="dark"] .wb-answer-zone{border:2px dashed #323c4e;background:#1d1d1d}
html[data-theme="dark"] .wb-tile{border:1px solid #2f3b51;background:#1d1d1d;color:#b7cae7}
html[data-theme="dark"] .wb-tile.placed{background:#1c3129}
html[data-theme="dark"] .wb-local-error{color:#cd8683}
html[data-theme="dark"] .wb-answer-zone:focus-within,html[data-theme="dark"] .wb-answer-zone:hover{background:#0e1e2f}
html[data-theme="dark"] .device-row{border:1px solid #343c4b;background:#161e2a}
html[data-theme="dark"] .device-row small{color:#9ba3b5}
html[data-theme="dark"] .pair-code{color:#ffffff}
html[data-theme="dark"] .notice.ok{background:#1c3126;color:#9cf3ce;border-color:#314f3f}
html[data-theme="dark"] .tonight-row{border-top:1px solid #353f4a}
html[data-theme="dark"] .tn-ok{color:#96e7c4}
html[data-theme="dark"] .tn-mid{color:#f0cc8b}
html[data-theme="dark"] .settings-fold{border-top:1px solid #353f4a}
html[data-theme="dark"] .kid-chip{background:#1d1d1d;border:1px solid #2f2a56;color:#a8a6c9}
html[data-theme="dark"] .kid-chip b{color:#bebedc}
html[data-theme="dark"]{--canvas:#34250f;--accent-soft:#382010;--line:#4d4132}
html[data-theme="dark"] body.theme-parent{--accent-soft:#1b362c;--accent-ink:#92f6dc;background:#182b22}
html[data-theme="dark"] body.theme-student{--accent-soft:#191037;background:#362610;color:#bcb6e1}
html[data-theme="dark"] body.theme-creator{--accent-soft:#101b36}
html[data-theme="dark"] .primary{box-shadow:0 8px 18px rgba(0,0,0,0)}
html[data-theme="dark"] body.theme-parent .primary{box-shadow:0 8px 18px rgba(0,0,0,0.2)}
html[data-theme="dark"] body.theme-student .primary{box-shadow:0 8px 18px rgba(0,0,0,0)}
html[data-theme="dark"] .adventure{background:linear-gradient(120deg,#2a167c 0%,#4a167c 38%,#7d1641 72%,#744e15 100%)}
html[data-theme="dark"] .family-hero{background:linear-gradient(112deg,#1b362c,#173226 55%,#3f3212);border-color:#304f42}
html[data-theme="dark"] .creator-hero{background:linear-gradient(120deg,#152e77,#2a167c 70%,#4a167c)}
html[data-theme="dark"] .authart{background:linear-gradient(150deg,#2a167c 0%,#7d1641 55%,#744e15 100%)}
html[data-theme="dark"] .child-avatar{background:#3f3012}
html[data-theme="dark"] .wordmark span:nth-child(5){color:#74e79e}
html[data-theme="dark"] .tipcard{background:linear-gradient(150deg,#3e3412,#371020);border:1px solid #604620}
html[data-theme="dark"] .tipcard .tip-meta{color:#ddbb8f}
html[data-theme="dark"] .tipcard .tip-q{color:#eddcc4}
html[data-theme="dark"] .tipcard .tip-q i{color:#f69973}
html[data-theme="dark"] .tipcard details summary{color:#f69973;background:#1d1d1d}
html[data-theme="dark"] .tipcard details p{color:#e1d3be}
html[data-theme="dark"] .tipcard .tip-mis{color:#ddbb8f}
html[data-theme="dark"] .tip-dots span{background:#493a22}
html[data-theme="dark"] .weekdots i{border:2px dashed #3a4640}
html[data-theme="dark"] .celebrate-row{background:linear-gradient(120deg,#433914,#163728);color:#c1d9b6}
html[data-theme="dark"] .avatar-grid label{background:#362610}
html[data-theme="dark"] .avatar-grid label:has(input:focus-visible){outline:3px solid #283358}
html[data-theme="dark"] .stepper button{background:#1d1d1d}
html[data-theme="dark"] .chip-set button{background:#1d1d1d}
html[data-theme="dark"] .lib-row{background:#1d1d1d}
html[data-theme="dark"] .ring{background:conic-gradient(var(--subj,var(--accent)) calc(var(--p)*1%),#342f27 0)}
html[data-theme="dark"] .ring::before{background:#1d1d1d}
html[data-theme="dark"] .settings-list{background:#1d1d1d}
html[data-theme="dark"] .settings-list .warn-dot{background:#7d1616}
html[data-theme="dark"] .adventure .overline{color:rgba(255,255,255,0.851)}
html[data-theme="dark"] .kid-avatar{background:#3f3012}
html[data-theme="dark"] .plan-avatar{background:#1d1d1d}
html[data-theme="dark"] .levelup{background:linear-gradient(120deg,#433914,#391124)}
html[data-theme="dark"] .check-row .tick{border:2px solid #474138;color:#ffffff}
html[data-theme="dark"] .choice{background:#1d1d1d}
html[data-theme="dark"] .tour-spot{box-shadow:0 0 0 9999px rgba(0,0,0,0.62)}
html[data-theme="dark"] .tour-card{background:#1d1d1d;box-shadow:0 20px 50px rgba(0,0,0,0.267)}
html[data-theme="dark"] .reward-mini i{background:#362c20}
html[data-theme="dark"] .reward-mini i b{background:linear-gradient(90deg,#705714,#743014)}
html[data-theme="dark"] .reward-ready{background:linear-gradient(120deg,#433914,#391124)}
html[data-theme="dark"] .kid-reward{background:#1d1d1d;border:2px dashed #604720}
html[data-theme="dark"] .kid-reward.reached{background:linear-gradient(120deg,#433914,#391124)}
html[data-theme="dark"] .kr-bar{background:#352a1c}
html[data-theme="dark"] .kr-bar i{background:linear-gradient(90deg,#705714,#743014,#7d1641)}
html[data-theme="dark"] .kid-reward small{color:#ddbb8f}
html[data-theme="dark"] .kid-challenge{background:#1d1d1d}
html[data-theme="dark"] .challenge-card{background:linear-gradient(120deg,#1b1037,#102a38)}
html[data-theme="dark"] .ch-res{border-left:4px solid #602020;background:#320e0e}
html[data-theme="dark"] .ch-res.ok{background:#16301e}
html[data-theme="dark"] .report-card{background:linear-gradient(120deg,#433914,#3c2112)}
html[data-theme="dark"] .plan-hero{background:linear-gradient(120deg,#1b362c,#3f3212)}
html[data-theme="dark"] .plan-ring{background:conic-gradient(var(--accent) calc(var(--p)*1%),#1d1d1d 0)}
html[data-theme="dark"] .plan-ring::before{background:#1d1d1d}
html[data-theme="dark"] .plan-row .gap{color:#f8b17a}
html[data-theme="dark"] .kid-map::before{border-left:4px dashed #4b4234}
html[data-theme="dark"] .map-island .ring{background:conic-gradient(var(--subj) calc(var(--p)*1%),#352d22 0)}
html[data-theme="dark"] .map-island .ring::before{background:color-mix(in srgb,var(--subj) 16%,#1d1d1d)}
html[data-theme="dark"] .switch>span{background:#3a332a}
html[data-theme="dark"] .switch>span::after{background:#1d1d1d;box-shadow:0 2px 4px rgba(0,0,0,0.133)}
html[data-theme="dark"] .switch input:focus-visible+span{outline:3px solid #283358}
html[data-theme="dark"] .tour.no-spot{background:rgba(20,16,40,0.62)}
html[data-theme="dark"] .map-label{background:#1d1d1d}
html[data-theme="dark"] .teaser{background:#1d1d1d}
html[data-theme="dark"] .teaser.earn{background:linear-gradient(120deg,#433914,#163728)}
html[data-theme="dark"] .teaser.opp{background:linear-gradient(120deg,color-mix(in srgb,var(--subj) 14%,#1d1d1d),#1d1d1d)}
html[data-theme="dark"] .earn-hero{color:#ffffff;background:linear-gradient(120deg,#152e77,#2a167c 60%,#7d1641)}
html[data-theme="dark"] .earn-split span{background:rgba(29,29,29,0.149)}
html[data-theme="dark"] .opp-card{background:#1d1d1d}
html[data-theme="dark"] .opp-demand{color:#f69973}
html[data-theme="dark"] .opp-zero{color:#f69973}
html[data-theme="dark"] .plus-nudge{background:linear-gradient(120deg,#433914,#3c2112)}
html[data-theme="dark"] .ref-banner{background:linear-gradient(120deg,#433914,#391124)}
html[data-theme="dark"] .teaser.kelas{background:linear-gradient(120deg,#101e37,#1d1d1d)}
html[data-theme="dark"] .teaser.kelas.hot{background:linear-gradient(120deg,#391124,#433914);box-shadow:0 0 0 2px rgba(0,0,0,0)}
html[data-theme="dark"] .book-card{background:#1d1d1d}
html[data-theme="dark"] .book-pill{background:#1c222c;color:#b0baca}
html[data-theme="dark"] .book-pill.requested{background:#433914;color:#ffd88f}
html[data-theme="dark"] .book-pill.confirmed{background:#153a22;color:#aaedc3}
html[data-theme="dark"] .book-pill.done{background:#111a3b;color:#8f8adc}
html[data-theme="dark"] .book-prog code{background:#1d1d1d}
html[data-theme="dark"] .tutor-av{background:linear-gradient(135deg,#101e37,#391124)}
html[data-theme="dark"] .tag-inv{color:#f8b17a}
html[data-theme="dark"] .tick span{background:#1d1d1d}
html[data-theme="dark"] .plan-card.best{background:linear-gradient(120deg,#3a3111,#1d1d1d)}
html[data-theme="dark"] .best-tag{color:#ffffff}
html[data-theme="dark"] .taster-tag{background:#433914;color:#ffd88f}
html[data-theme="dark"] .cov-cell.c-full{color:#ffffff}
html[data-theme="dark"] .cov-cell.c-thin{background:#8a731b;color:#f3bc9d}
html[data-theme="dark"] .cov-cell.c-multi{background:#111a3b;color:#8f8adc}
html[data-theme="dark"] .cov-cell.c-empty{background:#391212;color:#eb7a7a}
html[data-theme="dark"] .cov-legend i.lg-thin{background:#8a731b}
html[data-theme="dark"] .cov-legend i.lg-multi{background:#111a3b}
html[data-theme="dark"] .cov-legend i.lg-empty{background:#391212}
html[data-theme="dark"] .lesson-note{background:linear-gradient(120deg,#101e37,#1e1036)}
html[data-theme="dark"] .passage{background:#34280f;border:1px solid #584727}
html[data-theme="dark"] .video-box{color:#ffffff}
html[data-theme="dark"] .video-box.blocked{background:#433914;color:#ffd88f}
html[data-theme="dark"] .flash .face{box-shadow:0 8px 24px rgba(0,0,0,0.0667)}
html[data-theme="dark"] .flash .front{background:linear-gradient(135deg,#152e77,#2a167c);color:#ffffff}
html[data-theme="dark"] .flash .back{background:#1d1d1d}
html[data-theme="dark"] .short-in.wrong{background:#35240f}
html[data-theme="dark"] .mitem{background:#1d1d1d}
html[data-theme="dark"] .mitem.wrong{background:#311212}
html[data-theme="dark"] .mitem.paired.c0{background:#13253c}
html[data-theme="dark"] .mitem.paired.c1{background:#153a22}
html[data-theme="dark"] .mitem.paired.c2{background:#474216}
html[data-theme="dark"] .mitem.paired.c3{background:#341527}
html[data-theme="dark"] .mitem.paired.c4{background:#191236}
html[data-theme="dark"] .mitem.paired.c5{background:#3f2c12}
html[data-theme="dark"] .battle{color:#ffffff}
html[data-theme="dark"] .battle .hp{background:rgba(29,29,29,0.188)}
html[data-theme="dark"] .battle .hp i{background:linear-gradient(90deg,#691826,#6d3d15)}
html[data-theme="dark"] .adv-path{background:linear-gradient(120deg,#143e41,#153a22)}
html[data-theme="dark"] .adv-path .st{background:#1d1d1d}
html[data-theme="dark"] .adv-path .st.goal{background:#8a731b}
html[data-theme="dark"] .exam-timer{background:#111a3b;color:#8f8adc}
html[data-theme="dark"] .exam-timer.low{background:#391212;color:#eb7a7a}
html[data-theme="dark"] .exam-tag{background:#111a3b;color:#8f8adc}
html[data-theme="dark"] .er.no b{color:#eb7a7a}
html[data-theme="dark"] .er.ok b{color:#9aeeba}
html[data-theme="dark"] .last-exam{background:#0f1835}
html[data-theme="dark"] .opp-thin{color:#f8b17a}
@media (max-width:640px){
html[data-theme="dark"] .log-table tr{border-bottom:1px solid #343c4c}
html[data-theme="dark"] .bottomnav{background:#1d1d1d;border-top:1px solid #373d49}
html[data-theme="dark"] .authside{background:#191e2a}
html[data-theme="dark"] .sheet-handle{background:#3b342c}
html[data-theme="dark"] body.theme-parent .chips{background:#182b22}
}
