/* ⚠️ স্বয়ংক্রিয়ভাবে তৈরি — হাতে বদলাবে না। উৎস: css/style.css, বানায়: scripts/gen-dark-css.mjs
   (হাতের অংশ ওই স্ক্রিপ্টের HAND-এ)। style.css বদলালে: node scripts/gen-dark-css.mjs */

/* ───── style.css থেকে স্বয়ংক্রিয় ───── */
html[data-theme="dark"] body { color: #b6c4e0; }
html[data-theme="dark"] .site-header { background: #202c3d; border-bottom: 1px solid #303f56; box-shadow: 0 1px 6px rgba(0,0,0,0.15); }
html[data-theme="dark"] .site-logo { color: #a0bce8; }
@media (min-width: 641px) {
  html[data-theme="dark"] .desktop-nav .dn-item { color: #8995a9; }
  html[data-theme="dark"] .desktop-nav .dn-item:hover { background: #1f2b40; color: #a0bce8; }
  html[data-theme="dark"] .desktop-nav .dn-item.active { background: #1f2b40; color: #a0bce8; }
}
html[data-theme="dark"] .user-chip { color: #a0bce8; }
html[data-theme="dark"] .btn-line { color: #a0bce8; }
html[data-theme="dark"] .section-title { color: #a0bce8; border-bottom: 2px solid #283d5d; }
html[data-theme="dark"] .course-card { box-shadow: 0 1px 6px rgba(0,0,0,0.15); }
html[data-theme="dark"] .course-thumb { background: #2b372f; }
html[data-theme="dark"] .course-thumb-empty { background: linear-gradient(135deg, #2b372f, #2e3f34); }
html[data-theme="dark"] .course-name { color: #a0bce8; }
html[data-theme="dark"] .course-desc { color: #8995a9; }
html[data-theme="dark"] .course-price { color: #a0bce8; }
html[data-theme="dark"] .course-price .old { color: #8995a9; }
html[data-theme="dark"] .empty-msg { color: #8995a9; }
html[data-theme="dark"] .toast { box-shadow: 0 3px 12px rgba(0,0,0,0.48); }
html[data-theme="dark"] .form-card { box-shadow: 0 1px 6px rgba(0,0,0,0.15); }
html[data-theme="dark"] .form-title { color: #a0bce8; }
html[data-theme="dark"] .form-sub { color: #8995a9; }
html[data-theme="dark"] .field label { color: #a0bce8; }
html[data-theme="dark"] .field label .req { color: #ec7d91; }
html[data-theme="dark"] .field input { background: #131d2f; }
html[data-theme="dark"] .field textarea { background: #131d2f; }
html[data-theme="dark"] .field .hint { color: #8995a9; }
html[data-theme="dark"] .form-err { color: #ec7d91; background: #401b20; border: 1px solid #622a32; }
html[data-theme="dark"] .profile-card { box-shadow: 0 1px 6px rgba(0,0,0,0.15); }
html[data-theme="dark"] .profile-head .avatar { border-color: #212e45; }
html[data-theme="dark"] .profile-head .btn-line { border-color: rgba(33,46,69,0.85); }
html[data-theme="dark"] .avatar { background: linear-gradient(135deg, #2b372f, #2e3f34); color: #a0bce8; }
html[data-theme="dark"] .profile-name { color: #a0bce8; }
html[data-theme="dark"] .profile-email { color: #8995a9; }
html[data-theme="dark"] .meta-label { color: #8995a9; }
html[data-theme="dark"] .meta-value { color: #cfcfcf; }
html[data-theme="dark"] .empty-card { color: #8995a9; }
html[data-theme="dark"] .detail-card { box-shadow: 0 1px 6px rgba(0,0,0,0.15); }
html[data-theme="dark"] .detail-name { color: #a0bce8; }
html[data-theme="dark"] .chip { background: #202c3d; border: 1px solid #283d5d; color: #a0bce8; }
html[data-theme="dark"] .price-label { color: #8995a9; }
html[data-theme="dark"] .notice-box { background: #453517; border: 1px solid #66542c; color: #edd394; }
html[data-theme="dark"] .detail-desc strong { color: #a0bce8; }
html[data-theme="dark"] .detail-desc .desc-hl { background: #453517; color: #edd394; }
html[data-theme="dark"] .chm-thumb { background: #2b372f; }
html[data-theme="dark"] .course-hero-media .course-tag { box-shadow: 0 1px 5px rgba(0,0,0,0.384); }
html[data-theme="dark"] .course-hero-card { background: #131d2f; box-shadow: 0 4px 16px rgba(0,0,0,0.192); }
html[data-theme="dark"] .chc-name { color: #a0bce8; }
html[data-theme="dark"] .rt-pdf-pill { background: #1f2b40; color: #a0bce8; }
html[data-theme="dark"] .rt-pdf-pill:hover { background: #253246; }
html[data-theme="dark"] .rt-next { background: #453517; border: 1px solid #66542c; }
html[data-theme="dark"] .rt-next b { color: #a0bce8; }
html[data-theme="dark"] .syl-subj { color: #a0bce8; border-top: 1px solid #26354f; }
html[data-theme="dark"] .syl-locked { color: #ddb15d; }
html[data-theme="dark"] .syl-collapse > summary { color: #a0bce8; background: #222e39; border: 1px solid #28435e; }
html[data-theme="dark"] .syl-collapse > summary::after { color: #8995a9; }
html[data-theme="dark"] .course-sticky-bar { background: #131d2f; box-shadow: 0 -2px 12px rgba(0,0,0,0.192); }
html[data-theme="dark"] .csb-price { color: #a0bce8; }
html[data-theme="dark"] .csb-price-note { color: #8995a9; }
html[data-theme="dark"] .exam-name { color: #a0bce8; }
html[data-theme="dark"] .exam-sub { color: #8995a9; }
html[data-theme="dark"] .exam-score { color: #a0bce8; }
html[data-theme="dark"] .exam-sched { color: #8995a9; }
html[data-theme="dark"] .exam-row.is-live { border-color: #622a32; background: linear-gradient(135deg, #162135, #441717); }
html[data-theme="dark"] .exam-row.is-live .exam-name { color: #ec7d91; }
html[data-theme="dark"] .exam-row.exam-locked { background: #18253b; border-color: #283854; }
html[data-theme="dark"] .exam-row.exam-locked .exam-name { color: #8995a9; }
html[data-theme="dark"] .timer-bar { box-shadow: 0 2px 8px rgba(0,0,0,0.192); }
html[data-theme="dark"] .timer-display { color: #a0bce8; }
html[data-theme="dark"] .timer-bar.danger .timer-display { color: #ec7d91; }
html[data-theme="dark"] .ans-progress { color: #8995a9; }
html[data-theme="dark"] .q-num { color: #ddb15d; }
html[data-theme="dark"] .opt { background: #152034; color: #cfcfcf; }
html[data-theme="dark"] .opt.sel { background: #1f2b40; }
html[data-theme="dark"] .opt-key { background: #202c3d; border: 1px solid #283d5d; color: #a0bce8; }
html[data-theme="dark"] .opt.right { background: #27402c; border-color: #327040; color: #a7eac7; }
html[data-theme="dark"] .opt.wrong { background: #46201c; border-color: #6a342e; color: #e8827c; }
html[data-theme="dark"] .opt.right .opt-key { background: #131d2f; border-color: #327040; color: #a7eac7; }
html[data-theme="dark"] .opt.wrong .opt-key { background: #131d2f; border-color: #6a342e; color: #e8827c; }
html[data-theme="dark"] .rv-badge.ok { background: #263a2e; color: #a0e8be; }
html[data-theme="dark"] .rv-badge.bad { background: #401b20; color: #ec7d91; }
html[data-theme="dark"] .rv-badge.skip { background: #1b2941; color: #8995a9; }
html[data-theme="dark"] .rv-expl { background: #453517; border: 1px solid #66542c; color: #edd394; }
html[data-theme="dark"] .result-score { color: #a0bce8; }
html[data-theme="dark"] .lb-rank { color: #a0bce8; }
html[data-theme="dark"] .lb-score { color: #a0bce8; }
html[data-theme="dark"] .lb-pager-info { color: #9e9eac; }
html[data-theme="dark"] .bmlb-row.me { background: var(--blue-pale, #1f2b40); }
html[data-theme="dark"] .bmlb-rank { color: #a0bce8; }
html[data-theme="dark"] .bmlb-noimg { background: var(--bg, #262e36); }
html[data-theme="dark"] .bmlb-pill { background: #1b2b40; color: #a0bce8; border: 1px solid #293f5f; }
html[data-theme="dark"] .bmlb-pill.avg { background: #233c2d; color: #a0e8be; border-color: #2a6141; }
html[data-theme="dark"] .bmlb-score-val { color: #a0bce8; }
html[data-theme="dark"] .site-footer { background: #202c3d; border-top: 1px solid #303f56; color: #8995a9; }
html[data-theme="dark"] .site-footer a { color: #a0bce8; }
html[data-theme="dark"] .enroll-hint { color: #8995a9; }
html[data-theme="dark"] .enroll-status.ok { background: #263a2e; color: #a0e8be; border: 1px solid #305d42; }
html[data-theme="dark"] .enroll-status.wait { background: #453617; color: #eed189; border: 1px solid #6c5b2e; }
html[data-theme="dark"] .enroll-status.bad { background: #401b20; color: #ec7d91; border: 1px solid #622a32; }
html[data-theme="dark"] .pay-panel { background: #131d2f; }
html[data-theme="dark"] .pay-title { color: #a0bce8; }
html[data-theme="dark"] .sheet-opt .price { color: #a0bce8; }
html[data-theme="dark"] .pay-total { color: #a0bce8; }
html[data-theme="dark"] .pay-num-label { color: #c3c3c3; }
html[data-theme="dark"] .pay-num-box { background: #4c4019; border: 2px solid #816c37; }
html[data-theme="dark"] .pay-num-box b { color: #f4e1b0; }
html[data-theme="dark"] .pay-num-box button { background: #131d2f; color: #f1dc9e; }
html[data-theme="dark"] .pay-num-sub { color: #8995a9; }
html[data-theme="dark"] .pay-num-block .pay-num-label small { color: #8995a9; }
html[data-theme="dark"] .cp-course-name { color: #a0bce8; }
html[data-theme="dark"] .promo-mini-applied { background: #243a2b; border: 1px solid #2d683e; color: #aeebbc; }
html[data-theme="dark"] .promo-mini-applied button { color: #ec7d91; }
html[data-theme="dark"] .promo-err { color: #ec7d91; }
html[data-theme="dark"] .field select { background: #131d2f; }
html[data-theme="dark"] .mycourse-row { box-shadow: 0 1px 6px rgba(0,0,0,0.15); }
html[data-theme="dark"] .mycourse-thumb { background: #2b372f; }
html[data-theme="dark"] .mycourse-name { color: #a0bce8; }
html[data-theme="dark"] .mc-badge.ok { background: #263a2e; color: #a0e8be; }
html[data-theme="dark"] .mc-badge.wait { background: #453617; color: #eed189; }
html[data-theme="dark"] .mc-badge.bad { background: #401b20; color: #ec7d91; }
html[data-theme="dark"] .mycourse-reason { color: #ec7d91; }
html[data-theme="dark"] .admin-menu-card { box-shadow: 0 1px 6px rgba(0,0,0,0.15); }
html[data-theme="dark"] .admin-menu-name { color: #a0bce8; }
html[data-theme="dark"] .admin-menu-sub { color: #8995a9; }
html[data-theme="dark"] .pay-row { box-shadow: 0 1px 6px rgba(0,0,0,0.15); }
html[data-theme="dark"] .pay-row-name { color: #a0bce8; }
html[data-theme="dark"] .pay-row-phone a { color: #a0bce8; }
html[data-theme="dark"] .pay-whatsapp { color: #8decb5; }
html[data-theme="dark"] .pay-row-pending { border-color: #725d31; box-shadow: 0 2px 10px rgba(0,0,0,0.288); }
html[data-theme="dark"] .pay-row-approved { border-color: #2c3d5a; }
html[data-theme="dark"] .pay-card-summary { background: #172338; }
html[data-theme="dark"] .pay-row-pending .pay-card-summary { background: #443617; }
html[data-theme="dark"] .pay-card-summary small { color: #8995a9; }
html[data-theme="dark"] .pay-card-summary b { color: #a0bce8; }
html[data-theme="dark"] .pay-card-amount b { color: #eec886; }
html[data-theme="dark"] .pay-reference { border: 1px dashed #2c4266; color: #98a7bb; }
html[data-theme="dark"] .pay-reference b { color: #a9bddd; }
html[data-theme="dark"] .pay-reference button { border: 1px solid #3a5272; background: #131d2f; color: #a0bce8; }
html[data-theme="dark"] .pay-duplicate-warning { background: #473118; color: #eebc86; }
html[data-theme="dark"] .pay-price-ok { background: #223b2a; color: #a0e4b8; }
html[data-theme="dark"] .pay-card-status.wait { background: #4c3c19; color: #eed189; }
html[data-theme="dark"] .pay-card-status.done { background: #263a2e; color: #a0e8be; }
html[data-theme="dark"] .pay-row-interest { border-color: #2a4162; }
html[data-theme="dark"] .pay-interest-course { background: #1a2a40; }
html[data-theme="dark"] .pay-interest-course small { color: #8f9cb0; }
html[data-theme="dark"] .pay-interest-course b { color: #a0bce8; }
html[data-theme="dark"] .pay-interest-time { color: #8995a9; }
html[data-theme="dark"] .pay-row-sheet { border-color: #3f2960; }
html[data-theme="dark"] .pay-dialog { background: #131d2f; box-shadow: 0 12px 34px rgba(0,0,0,0.528); }
html[data-theme="dark"] .pay-dialog h2 { color: #a0bce8; }
html[data-theme="dark"] .pay-dialog p { color: #8995a9; }
html[data-theme="dark"] .pay-dialog label { color: #c3c3c3; }
html[data-theme="dark"] .pay-tab { border: 1.5px solid #2c4266; background: #131d2f; color: #a0bce8; }
html[data-theme="dark"] .pay-tab small { color: #8f9cae; }
html[data-theme="dark"] .pay-tab.active { box-shadow: 0 3px 8px rgba(0,0,0,0.48); }
html[data-theme="dark"] .hero-title { color: #a0bce8; }
html[data-theme="dark"] .hero-brand { color: #ddb15d; }
html[data-theme="dark"] .hero-cta .btn { box-shadow: 0 2px 8px rgba(0,0,0,0.192); }
html[data-theme="dark"] .hero-sub { color: #8995a9; }
html[data-theme="dark"] .hero-chip { border: 1.5px solid #283d5e; background: #131d2f; color: #b7b7b7; }
html[data-theme="dark"] .hero-chip.hc-live.active { background: #441c17; }
html[data-theme="dark"] .hero-chip.hc-mcq.active { background: #232d3c; color: #a0bce8; }
html[data-theme="dark"] .hero-chip.hc-pdf.active { background: #463417; color: #ddb15d; }
html[data-theme="dark"] .hero-chip-panel { background: #131d2f; border: 1.5px solid #283d5e; box-shadow: 0 2px 12px rgba(0,0,0,0.192); }
html[data-theme="dark"] .sec-pill { background: #243b2f; color: #a0bce8; }
html[data-theme="dark"] .sec-pill.paid { background: #463417; color: #ddb15d; }
html[data-theme="dark"] .home-section { background: #131d2f; box-shadow: 0 2px 12px rgba(0,0,0,0.192); border: 1.5px solid #283d5e; }
html[data-theme="dark"] .home-cat-card { background: #131d2f; border: 1.5px solid #283d5e; }
html[data-theme="dark"] .home-cat-card.active { background: #243b2f; }
html[data-theme="dark"] .home-cat-card .hcc-tt { color: #b7b7b7; }
html[data-theme="dark"] .home-cat-panel { background: #131d2f; box-shadow: 0 2px 12px rgba(0,0,0,0.192); border: 1.5px solid #283d5e; }
html[data-theme="dark"] .home-cat-panel-title { color: #a0bce8; }
html[data-theme="dark"] .home-divider span { color: #8995a9; }
html[data-theme="dark"] .home-acc/.acc-pane*/.feat-item/.rev-item) αº¿αºªαº¿αº¼-αºªαº¡-αº¿αº¼-αªÅ αª«αºüαª¢αºç αª½αºçαª▓αª╛ αª╣αª▓αºï ΓÇö
   αª½αª┐αªÜαª╛αª░ αª╣αª╛αª░αºìαªíαªòαºïαªíαºçαªí αªòαª╛αª░αºìαªí-αªùαºìαª░αª┐αªíαºç (.hfeat-*) αªåαª░ αª«αª¿αºìαªñαª¼αºìαª» αª╕αºïαª»αª╝αª╛αªçαª¬-αª╕αºìαªƒαºìαª░αª┐αª¬αºç (.rev-*)
   αª»αª╛αªôαª»αª╝αª╛αª░ αª¬αª░ αªòαºïαª¿αºï αª▓αª╛αªçαª¡ αª¬αºçαª£ αªåαª░ αªÅαªùαºüαª▓αºï αª¼αºìαª»αª¼αª╣αª╛αª░ αªòαª░αªñ αª¿αª╛ (αª¬αºüαª░αºï αª░αª┐αª¬αºï grep αªòαª░αºç αªªαºçαªûαª╛)αÑñ */


.pdf-item { background: #463417; border: 1px solid #755e32; }
html[data-theme="dark"] .pdf-item .pdf-nm { color: #efd59e; }
html[data-theme="dark"] .pdf-item .pdf-go { color: #ddb15d; }
html[data-theme="dark"] .stats-bar { background: #131d2f; border: 1.5px solid #283d5e; }
html[data-theme="dark"] .stat-val { color: #a0bce8; }
html[data-theme="dark"] .stat-lbl { color: #8995a9; }
html[data-theme="dark"] .stat-sep { background: #243b2f; }
html[data-theme="dark"] .contact-btn { box-shadow: 0 4px 14px rgba(0,0,0,0.6); }
html[data-theme="dark"] .contact-popup { background: #131d2f; box-shadow: 0 8px 30px rgba(0,0,0,0.336); }
html[data-theme="dark"] .contact-title { color: #a0bce8; }
html[data-theme="dark"] .cl-wa { background: #203e2d; color: #88eee2; }
html[data-theme="dark"] .cl-fb { background: #1b2b42; color: #4c8fe6; }
html[data-theme="dark"] .cl-yt { background: #441c17; color: #e64c4c; }
html[data-theme="dark"] .cl-tg { background: #1b3342; color: #6cc0ea; }
html[data-theme="dark"] .tag-live { background: #441c17; }
html[data-theme="dark"] .tag-record { background: #243b2f; color: #a0bce8; }
html[data-theme="dark"] .tag-exam { background: #463417; color: #ddb15d; }
html[data-theme="dark"] .disc-badge { background: #4c4019; color: #ebc871; }
html[data-theme="dark"] .splash-box { background: #131d2f; box-shadow: 0 12px 40px rgba(0,0,0,0.6); }
html[data-theme="dark"] .splash-title { color: #a0bce8; }
html[data-theme="dark"] .splash-subtitle { color: #8995a9; }
html[data-theme="dark"] .splash-msg { color: #8995a9; }
html[data-theme="dark"] .splash-divider { color: #8995a9; }
html[data-theme="dark"] .set-card { background: #131d2f; border: 1px solid #324055; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
html[data-theme="dark"] .set-card-head { color: #a0bce8; }
html[data-theme="dark"] .set-hint { color: #9f9f9f; }
html[data-theme="dark"] .payfield-row { background: #222b39; }
html[data-theme="dark"] .payfield-star { color: #dc6f64; }
html[data-theme="dark"] .payfield-tag { background: #182247; color: #7f79d8; }
html[data-theme="dark"] .ann-box { background: #131d2f; box-shadow: 0 10px 40px rgba(0,0,0,0.6); }
html[data-theme="dark"] .ann-title { color: #a0bce8; }
html[data-theme="dark"] .ann-x-close { color: #8995a9; }
html[data-theme="dark"] .notice-card { background: #443617; }
html[data-theme="dark"] .notice-card .notice-title { color: #ddb15d; }
html[data-theme="dark"] .footer-links a { color: #a0bce8; }
html[data-theme="dark"] .bt-up { background: #232d3c; color: #a0bce8; }
html[data-theme="dark"] .bt-down { background: #232d3c; color: #a0bce8; }
html[data-theme="dark"] .bt-del { background: #401b20; color: #ec7d91; }
html[data-theme="dark"] .vid-item { background: #212938; border: 1px solid #324055; }
html[data-theme="dark"] .vid-item:hover { background: #243b2f; }
html[data-theme="dark"] .vid-item.active { background: #243b2f; }
html[data-theme="dark"] .stat-card { background: #131d2f; border: 1px solid #324055; }
html[data-theme="dark"] .stat-val { color: #a0bce8; }
html[data-theme="dark"] .stat-lbl { color: #a6b4ab; }
html[data-theme="dark"] .chart-card { background: #131d2f; border: 1px solid #324055; }
html[data-theme="dark"] .chart-title { color: #a0bce8; }
html[data-theme="dark"] .bar-val { color: #a6b4ab; }
html[data-theme="dark"] .bar-track { background: #19263e; }
html[data-theme="dark"] .bar-na { background: #2e4771; }
html[data-theme="dark"] .avatar-cam { box-shadow: 0 1px 3px rgba(0,0,0,0.6); }
html[data-theme="dark"] .pr-subj-btn { border: 1.5px solid var(--border, #2d3f5d); background: var(--card-bg, #131d2f); }
html[data-theme="dark"] .pr-subj-btn.sel { background: #1f2b40; }
html[data-theme="dark"] .pr-subj-count { color: #a0bce8; }
html[data-theme="dark"] .pr-subj-card { border: 1.5px solid var(--border, #2d3f5d); background: var(--card-bg, #131d2f); }
html[data-theme="dark"] .pr-subj-card:hover { background: #202c3d; }
html[data-theme="dark"] .pr-subj-card .pr-count { color: #8995a9; }
html[data-theme="dark"] .pr-modal { background: var(--card-bg, #131d2f); box-shadow: 0 12px 40px rgba(0,0,0,0.6); }
html[data-theme="dark"] .pr-chip { border: 1px solid #35475d; background: #131d2f; color: #a0bce8; }
html[data-theme="dark"] .lb-row.me { background: var(--blue-pale, #1f2b40); }
html[data-theme="dark"] .lb-name .lb-sub { color: #8995a9; }
html[data-theme="dark"] .res-table th,
html[data-theme="dark"] .res-table td { border: 1px solid #2c3d5b; }
html[data-theme="dark"] .res-table th { background: var(--green-pale, #243b2f); color: #a0bce8; }
html[data-theme="dark"] .res-table tbody tr:nth-child(even) td { background: #212938; }
html[data-theme="dark"] .course-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.24); }
html[data-theme="dark"] .course-thumb-wrap .course-tag { background: rgba(19,29,47,0.93); box-shadow: 0 1px 4px rgba(0,0,0,0.336); }
html[data-theme="dark"] .cc-btn { background: #131d2f; color: #a0bce8; }
html[data-theme="dark"] .cc-btn-gold { color: #ddb15d; }
html[data-theme="dark"] .price-block { background: #243529; border-color: #305d42; }
html[data-theme="dark"] .notice-close { color: #d0b171; }
html[data-theme="dark"] .profile-more { color: #a0bce8; }
html[data-theme="dark"] .ps-card { box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
html[data-theme="dark"] .ps-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.24); }
html[data-theme="dark"] .ps-card .ps-tx b { color: #a0bce8; }
html[data-theme="dark"] .ps-card .ps-tx small { color: #8995a9; }
html[data-theme="dark"] .ps-c-saved .ps-ic { background: #473a19; color: #ddb15d; }
html[data-theme="dark"] .ps-c-bank .ps-ic { background: #253b2d; color: #a0bce8; }
html[data-theme="dark"] .ps-c-wrong .ps-ic { background: #441917; color: #d0796c; }
html[data-theme="dark"] .home-welcome { box-shadow: 0 2px 10px rgba(0,0,0,0.528); }
html[data-theme="dark"] .mat-tile { background: #131d2f; }
html[data-theme="dark"] .mat-tile:hover { box-shadow: 0 3px 10px rgba(0,0,0,0.216); }
html[data-theme="dark"] .mat-blue { background: #162642; }
html[data-theme="dark"] .mat-blue  .mat-lb { color: #a0bce8; }
html[data-theme="dark"] .mat-green { background: #24382c; }
html[data-theme="dark"] .mat-green .mat-lb { color: #a0e8be; }
html[data-theme="dark"] .mat-gold { background: #453617; }
html[data-theme="dark"] .mat-gold  .mat-lb { color: #ddb15d; }
html[data-theme="dark"] .mat-red { background: #441c17; }
html[data-theme="dark"] .mat-red   .mat-lb { color: #df6653; }
html[data-theme="dark"] .course-tab { background: #131d2f; }
html[data-theme="dark"] .tst-toolbar select,
html[data-theme="dark"] .tst-toolbar input[type="search"] { background: #131d2f; }
html[data-theme="dark"] .tst-tab { background: #131d2f; }
html[data-theme="dark"] .mc-badge.off { background: #1b2942; color: #8995a9; }
html[data-theme="dark"] .tst-pager .pinfo { color: #8995a9; }
html[data-theme="dark"] .cc-meta { color: #8995a9; }
html[data-theme="dark"] .cc-enrolled { box-shadow: 0 1px 4px rgba(0,0,0,0.432); }
html[data-theme="dark"] .resume-card { background: #453617; }
html[data-theme="dark"] .resume-card .rc-tx b { color: #a0bce8; }
html[data-theme="dark"] .resume-card .rc-tx small { color: #8995a9; }
html[data-theme="dark"] .cd-back { color: #a0bce8; }
html[data-theme="dark"] .course-progress .cp-top b { color: #a0bce8; }
html[data-theme="dark"] .course-progress .cp-track { background: #1e2e4a; }
html[data-theme="dark"] .mz-name { color: #a0bce8; }
html[data-theme="dark"] .mz-name .mz-n { color: #8995a9; }
html[data-theme="dark"] .mz-track { background: #1e2e4a; }
html[data-theme="dark"] .streak-card { background: linear-gradient(135deg, #453617 0%, #131d2f 60%); border: 1px solid #64542b; }
html[data-theme="dark"] .sk-main { color: #a0bce8; }
html[data-theme="dark"] .sk-main b { color: #ddb15d; }
html[data-theme="dark"] .sk-sub { color: #8995a9; }
html[data-theme="dark"] .sk-dot { background: #1e2e4a; }
html[data-theme="dark"] .adash-hello { color: #a0bce8; }
html[data-theme="dark"] .adash-date { color: #8995a9; }
html[data-theme="dark"] .adash-todo.warn { background: #453617; border-color: #6c5b2e; }
html[data-theme="dark"] .adash-todo.info { background: #1b2b40; border-color: #2a4162; }
html[data-theme="dark"] .adash-todo.ok { background: #253a2d; border-color: #2f6445; }
html[data-theme="dark"] .adash-todo-ic { color: #a0bce8; }
html[data-theme="dark"] .adash-todo.ok .adash-todo-ic { color: #a0e8be; }
html[data-theme="dark"] .adash-refresh { background: #131d2f; color: #8995a9; }
html[data-theme="dark"] .adash-refresh:hover { color: #a0bce8; }
html[data-theme="dark"] .adash-todo-txt { color: #cfcfcf; }
html[data-theme="dark"] .adash-todo-txt b { color: #a0bce8; }
html[data-theme="dark"] .adash-todo-go { color: #a0bce8; background: #131d2f; }
html[data-theme="dark"] .adash-stat { background: #131d2f; border: 1px solid #324055; }
html[data-theme="dark"] .adash-stat.hot { background: #422f16; border-color: #67532c; }
html[data-theme="dark"] .adash-stat-ic { color: #a0bce8; }
html[data-theme="dark"] .adash-stat.hot .adash-stat-ic { color: #ddb15d; }
html[data-theme="dark"] .adash-stat-val { color: #a0bce8; }
html[data-theme="dark"] .adash-stat.hot .adash-stat-val { color: #ddb15d; }
html[data-theme="dark"] .adash-stat-lbl { color: #a6b4ab; }
html[data-theme="dark"] .adash-stat-sub { color: #8995a9; }
html[data-theme="dark"] .adash-nav { box-shadow: 0 1px 6px rgba(0,0,0,0.15); }
html[data-theme="dark"] .adash-nav-ic { color: #a0bce8; }
html[data-theme="dark"] .adash-nav-name { color: #a0bce8; }
html[data-theme="dark"] .adash-nav-badge { color: #a0bce8; background: #1f2b40; }
html[data-theme="dark"] .adash-nav-badge.warn { color: #eed189; background: #4a3c19; }
html[data-theme="dark"] .adash-pend-name { color: #a0bce8; }
html[data-theme="dark"] .adash-pend-phone { color: #8995a9; }
html[data-theme="dark"] .adash-pend-meta { color: #a6b4ab; }
html[data-theme="dark"] .q-card.editing { background: #152135; }
html[data-theme="dark"] .q-card-err { background: #162237; }
html[data-theme="dark"] .q-opt.ok { color: #a0e8be; }
html[data-theme="dark"] .q-opt-key { color: #8995a9; }
html[data-theme="dark"] .q-opt.ok .q-opt-key { color: #a0e8be; }
html[data-theme="dark"] .q-exp { color: #8995a9; }
html[data-theme="dark"] .q-meta { color: #8995a9; }
html[data-theme="dark"] .q-warn { background: #453617; color: #eed189; border: 1px solid #64542b; }
html[data-theme="dark"] .qbank-pick.on { background: #1b2b40; }
html[data-theme="dark"] .qbank-pick-tx small { color: #8995a9; }
html[data-theme="dark"] .hero.app-hero .btn-line { border-color: rgba(33,46,69,0.85); }
html[data-theme="dark"] .stat-banner { background: #131d2f; border: 1.5px solid #293a56; box-shadow: 0 4px 16px rgba(0,0,0,0.192); }
html[data-theme="dark"] .sb-item + .sb-item { border-left: 1px solid #26354f; }
html[data-theme="dark"] .sb-val { color: #a0bce8; }
html[data-theme="dark"] .sb-lbl { color: #8995a9; }
html[data-theme="dark"] .icon-tile.it-live { background: #441c17; }
html[data-theme="dark"] .icon-tile.it-record { background: #232d3c; color: #a0bce8; }
html[data-theme="dark"] .icon-tile.it-exam { background: #463417; color: #ddb15d; }
html[data-theme="dark"] .site-brand b { color: #a0bce8; }
html[data-theme="dark"] .site-brand i { color: #ddb15d; }
html[data-theme="dark"] .hdr-search { border: 1.5px solid #283d5e; background: #131d2f; }
html[data-theme="dark"] .hdr-logout { color: #9ea8a2; }
html[data-theme="dark"] .hdr-menu { color: #a0bce8; }
html[data-theme="dark"] .theme-btn { border: 1px solid #2e415c; color: #a0bce8; }
html[data-theme="dark"] .theme-btn:hover { background: #1f2b40; }
html[data-theme="dark"] .hdr-logout:hover,
html[data-theme="dark"] .hdr-menu:hover { background: #1f2b40; }
html[data-theme="dark"] .pf-av { border: 2px solid #212e45; }
html[data-theme="dark"] .nd-panel { background: #131d2f; box-shadow: -6px 0 24px rgba(0,0,0,0.432); }
html[data-theme="dark"] .nd-link { color: #cfcfcf; border-bottom: 1px solid #2a3d50; }
html[data-theme="dark"] .nd-link .svic { color: #a0bce8; }
html[data-theme="dark"] .nd-link:hover { background: #222b39; color: #a0bce8; }
html[data-theme="dark"] .login-consent { color: #909db1; }
html[data-theme="dark"] .login-consent a { color: #9da9b9; }
html[data-theme="dark"] .nd-legal a { color: #909db1; }
html[data-theme="dark"] .nd-clabel { color: #a0bce8; }
html[data-theme="dark"] .nd-foot { color: #8995a9; border-top: 1px solid #26354f; }
@media (max-width: 640px) {
  html[data-theme="dark"] .bottom-nav { background: #131d2f; border-top: 1px solid #293a56; box-shadow: 0 -2px 10px rgba(0,0,0,0.15); }
  html[data-theme="dark"] .bn-item.active { color: #a0bce8; }
}
html[data-theme="dark"] .user-avatar { background: #1f2b40; color: #a0bce8; }
html[data-theme="dark"] .home-greet { color: #a0bce8; }
html[data-theme="dark"] .field-note { color: #8995a9; }
html[data-theme="dark"] .dash-logout { color: #ec7d91; border-color: #6c2e38; }
html[data-theme="dark"] .cd-hero .course-tag { background: rgba(19,29,47,0.92); }
html[data-theme="dark"] .cd-tab { background: #131d2f; color: #8995a9; }
@media (max-width: 860px) {
  html[data-theme="dark"] body.adm-shell .adm-side { box-shadow: 2px 0 18px rgba(0,0,0,0.6); }
}
html[data-theme="dark"] .hh-title-accent { color: #dbbc57; }
html[data-theme="dark"] .hh-outline { border: 1.5px solid rgba(33,46,69,0.3); }
html[data-theme="dark"] .finder-title { color: #a0bce8; }
html[data-theme="dark"] .finder-more { color: #a0bce8; }
html[data-theme="dark"] .subject-card { background: #131d2f; border: 1.5px solid #293955; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
html[data-theme="dark"] .subject-card .sc-ic { background: #243b2f; color: #a0bce8; }
html[data-theme="dark"] .subject-card strong { color: #c8d6cd; }
html[data-theme="dark"] .sc-c1 .sc-ic { background: #1e2b40; }
html[data-theme="dark"] .sc-c2 .sc-ic { background: #473a19; }
html[data-theme="dark"] .sc-c3 .sc-ic { background: #281d3f; }
html[data-theme="dark"] .subject-card.active { background: #1b2b40; box-shadow: 0 4px 14px rgba(0,0,0,0.384); }
html[data-theme="dark"] .subj-wrap.scrollable::after { color: #a0bce8; background: linear-gradient(90deg, rgba(240,244,241,0), #262e36 60%); }
html[data-theme="dark"] .type-pill { border: 1.5px solid #293955; background: #131d2f; color: #b7b7b7; }
html[data-theme="dark"] .tp-exam.active { color: #f6e6c1; }
html[data-theme="dark"] .type-pill.active .tp-dot { background: rgba(19,29,47,0.9); }
html[data-theme="dark"] .bt-ic-live { background: #441c17; }
html[data-theme="dark"] .bt-ic-exam { background: #42341c; color: #ddb15d; }
html[data-theme="dark"] .bt-ic-record { background: #31203c; }
html[data-theme="dark"] .hcard { background: #131d2f; border: 1px solid #273b53; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
html[data-theme="dark"] .hcard:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.24); border-color: #303f56; }
html[data-theme="dark"] .hta-live   .hc-thumb { background: #202c3d; border-color: #283c5d; color: #a0bce8; }
html[data-theme="dark"] .hta-exam   .hc-thumb { background: #42341c; border-color: #63512a; color: #ddb15d; }
html[data-theme="dark"] .hta-record .hc-thumb { background: #31203c; border-color: #43285d; }
html[data-theme="dark"] .hc-name { color: #c5d0e1; }
html[data-theme="dark"] .hta-live   .hc-enroll { background: #421717; color: #dc6f64; }
html[data-theme="dark"] .hta-exam   .hc-enroll { background: #493c1f; color: #eed189; }
html[data-theme="dark"] .hta-record .hc-enroll { background: #2f1c42; color: #8952e0; }
html[data-theme="dark"] .hc-metrics { color: #8995a9; }
html[data-theme="dark"] .mi-sheet .svic { color: #ddb15d; }
html[data-theme="dark"] .mi-exam  .svic { color: #a0e8be; }
html[data-theme="dark"] .hc-bottom { border-top: 1px solid #243c54; }
html[data-theme="dark"] .hc-price { color: #c5d0e1; }
html[data-theme="dark"] .hc-enr { background: #263a2e; color: #a0e8be; border: 1px solid #305d42; }
html[data-theme="dark"] .hc-enr.wait { background: #453617; color: #eed189; border: 1px solid #6c5b2e; }
html[data-theme="dark"] .hc-enr.bad { background: #401b28; color: #e36e8f; border: 1px solid #622a3c; }
html[data-theme="dark"] .hc-enr.soon { background: #161b42; color: #95b1d3; border: 1px solid #28355e; }
html[data-theme="dark"] .hc-btn-gold { color: #f6e6c1; }
html[data-theme="dark"] .stat-card { background: #131d2f; border: 1px solid #243c54; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
html[data-theme="dark"] .stat-card .stat-ic { color: #a0bce8; }
html[data-theme="dark"] .stat-card b { color: #a0bce8; }
html[data-theme="dark"] .stat-card span { color: #8995a9; }
html[data-theme="dark"] .fc-modal { background: #131d2f; }
html[data-theme="dark"] .fc-head b { color: #a0bce8; }
html[data-theme="dark"] .fc-x { color: #999999; }
html[data-theme="dark"] .fcp-back { color: #a0bce8; }
html[data-theme="dark"] .fcp-title { color: #a0bce8; }
html[data-theme="dark"] .fcp-group-title { color: #a0bce8; border-bottom: 2px solid #293955; }
html[data-theme="dark"] .fcp-cnt { color: #eecf8a; background: #473a19; }
html[data-theme="dark"] .pg-item-compact { background: #212938; border: 1px solid #324055; }
html[data-theme="dark"] .pg-cf { background: #131d2f; }
html[data-theme="dark"] .dm-grp-title { color: #a0bce8; border-bottom: 2px solid #293955; }
html[data-theme="dark"] .nd-profile { border-bottom: 1px solid #2a3d50; }
html[data-theme="dark"] .nd-profile-link { color: #dadada; }
html[data-theme="dark"] .nd-edit-btn:hover { background: #222b39; }
html[data-theme="dark"] .nd-av { background: #1f2b40; color: #a0bce8; }
html[data-theme="dark"] .nd-profile-info small { color: #8995a9; }
html[data-theme="dark"] .nd-logout-btn { border-top: 1px solid #2a3d50; color: #dc6f64; }
html[data-theme="dark"] .nd-logout-btn:hover { color: #e28a81; }
html[data-theme="dark"] .cd-enroll-box { background: #202c3d; border: 1px solid #283d5d; color: #a0bce8; }
html[data-theme="dark"] .cm-card.cm-purple { background: #281b41; }
html[data-theme="dark"] .cm-card.cm-gold { background: #46361a; color: #ddb15d; }
html[data-theme="dark"] .cm-card.cm-green { background: #253d2c; color: #a0e8be; }
html[data-theme="dark"] .cm-card.cm-blue { background: #202c3e; color: #a0bce8; }
html[data-theme="dark"] .cm-val { color: #c1c9d9; }
html[data-theme="dark"] .cm-lbl { color: #8995a9; }
html[data-theme="dark"] .instr-slide { background: #131d2f; }
html[data-theme="dark"] .instr-photo img { border: 2px solid #253957; }
html[data-theme="dark"] .instr-noimg { background: #202c3d; color: #a0bce8; }
html[data-theme="dark"] .instr-name { color: #a0bce8; }
html[data-theme="dark"] .instr-title { color: #aab7cd; }
html[data-theme="dark"] .instr-inst { color: #8995a9; }
html[data-theme="dark"] .cdh-about-body { background: #131d2f; }
html[data-theme="dark"] .cd-join-btn { background: #131d2f; color: #a0bce8; }
html[data-theme="dark"] .cd-join-btn.cd-join-zoom { background: #162642; }
html[data-theme="dark"] .cd-join-meta { color: #8995a9; }
html[data-theme="dark"] .cc-item { background: #131d2f; color: #a0bce8; }
html[data-theme="dark"] .cc-item:hover { border-color: var(--border-strong, #304364); background: #152033; }
html[data-theme="dark"] .cc-ic-sheet { color: #ddb15d; }
html[data-theme="dark"] .cc-ic-video { color: #db5e57; }
html[data-theme="dark"] .cc-right { color: #8995a9; }
html[data-theme="dark"] .cc-item.locked { background: #18253b; border-color: #283854; color: #8995a9; }
html[data-theme="dark"] .cc-note { color: #e9d089; background: #463a17; border: 1px solid #6a5b2d; }
html[data-theme="dark"] .cc-note-link:hover { border-color: #7c6a35; }
html[data-theme="dark"] .shu-modal { background: #131d2f; }
html[data-theme="dark"] .shu-head b { color: #a0bce8; }
html[data-theme="dark"] .shu-x { color: #999999; }
html[data-theme="dark"] .shu-amount { background: #1a273f; }
html[data-theme="dark"] .shu-amount small { color: #8995a9; }
html[data-theme="dark"] .shu-amount b { color: #a0bce8; }
html[data-theme="dark"] .dh-av { border: 2.5px solid #7c6835; }
html[data-theme="dark"] .dh-edit-badge { background: #131d2f; color: #a0bce8; box-shadow: 0 1px 5px rgba(0,0,0,0.6); }
html[data-theme="dark"] .dh-edit-badge:hover { background: #1f2b40; }
html[data-theme="dark"] .dh3-stat { box-shadow: 0 3px 12px rgba(0,0,0,0.192); }
html[data-theme="dark"] .dh3-c-green { background: #253d2c; color: #a0e8be; }
html[data-theme="dark"] .dh3-c-blue { background: #202c3e; color: #a0bce8; }
html[data-theme="dark"] .dh3-c-gold { background: #4a3a19; color: #ddb15d; }
html[data-theme="dark"] .dh3-txt b { color: #d5d5d5; }
html[data-theme="dark"] .dh3-txt small { color: #8995a9; }
html[data-theme="dark"] .sec-link { color: #a0bce8; }
html[data-theme="dark"] .crs-card { box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
html[data-theme="dark"] .crs-name { color: #a0bce8; }
html[data-theme="dark"] .crs-rank { background: #4a3a19; color: #ecc87d; }
html[data-theme="dark"] .crs-rank .svic { color: #ddb15d; }
html[data-theme="dark"] .crs-free-badge { background: #253d2f; color: #a0e8be; }
html[data-theme="dark"] .crs-stats { color: #8995a9; }
html[data-theme="dark"] .crs-bar { background: #1b2941; }
html[data-theme="dark"] .crs-go-line { background: #242b38; color: #8995a9; }
html[data-theme="dark"] .r2-card { box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
html[data-theme="dark"] .r2-head { color: #a0bce8; }
html[data-theme="dark"] .r2-head small { color: #8995a9; }
html[data-theme="dark"] .r2-ic { background: #473718; color: #ddb15d; }
html[data-theme="dark"] .r2-info b { color: #cfcfcf; }
html[data-theme="dark"] .r2-info small { color: #8995a9; }
html[data-theme="dark"] .r2-bar { background: #1b2941; }
html[data-theme="dark"] .st-ic { color: #a0bce8; }
html[data-theme="dark"] .st-c-green { color: #a0e8be; }
html[data-theme="dark"] .st-c-blue { color: #a0bce8; }
html[data-theme="dark"] .st-c-gold { color: #ddb15d; }
html[data-theme="dark"] .st-c-red { color: #ec7d91; }
html[data-theme="dark"] .notice-title .st-ic { color: #ddb15d; }
html[data-theme="dark"] .live-sec-title { color: #ec7d91; }
html[data-theme="dark"] .live-pulse-dot { box-shadow: 0 0 0 3px rgba(0,0,0,0.432); }
html[data-theme="dark"] .resume-card .rc-ic { color: #ddb15d; }
html[data-theme="dark"] .timeline::before { background: #25385a; }
html[data-theme="dark"] .tl-item { box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
html[data-theme="dark"] .tl-item .tl-when { color: #ddb15d; }
html[data-theme="dark"] .tl-item .tl-name { color: #a0bce8; }
html[data-theme="dark"] .tl-item .tl-course { color: #8995a9; }
html[data-theme="dark"] .fc-invite-label { color: #8995a9; }
html[data-theme="dark"] .fc-row { color: #a0bce8; }
html[data-theme="dark"] .fc-row + .fc-row { border-top: 1px solid #273650; }
html[data-theme="dark"] .fc-row:hover { background: #263229; }
html[data-theme="dark"] #dashNotice.notice-card { box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
html[data-theme="dark"] #dashNotice .notice-title { color: #a0bce8; }
html[data-theme="dark"] #dashNotice .notice-title .st-ic { background: #473718; color: #ddb15d; }
html[data-theme="dark"] .perf-donut > div { color: #a0bce8; }
html[data-theme="dark"] .perf-sum b { color: #a0bce8; }
html[data-theme="dark"] .perf-sum small { color: #8995a9; }
html[data-theme="dark"] .perf-dots .pd-lbl { color: #8995a9; }
html[data-theme="dark"] .cq-head-title { color: #b1c8ee; }
html[data-theme="dark"] .cq-clear-qfilter { color: #8995a9; }
html[data-theme="dark"] .cq-clear-qfilter:hover { color: #a0bce8; }
html[data-theme="dark"] .cq-qctx { background: #162236; }
html[data-theme="dark"] .cq-newpost-btn { box-shadow: 0 3px 10px rgba(0,0,0,0.528); }
html[data-theme="dark"] .cq-iconbtn2 { background: #262e36; color: #8f9cae; }
html[data-theme="dark"] .cq-iconbtn2:hover { background: #28303b; }
html[data-theme="dark"] .cq-search-bar { background: #131d2f; border: 1.5px solid #2f4262; color: #8f9cae; }
html[data-theme="dark"] .cq-search-bar input { color: #c5d0e1; }
html[data-theme="dark"] .cq-av { background: #28303b; color: #a6b2c3; border: 1px solid #2c3e56; }
html[data-theme="dark"] .cq-card { background: #131d2f; border: 1px solid #243c54; box-shadow: 0 1px 2px rgba(0,0,0,0.15); }
html[data-theme="dark"] .cq-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.168); }
html[data-theme="dark"] .cq-author { color: #c5d0e1; }
html[data-theme="dark"] .cq-badge.bad { background: #172338; color: #e64d6f; }
html[data-theme="dark"] .cq-badge.warn { background: #432f16; color: #ce8d64; }
html[data-theme="dark"] .cq-reject-note { background: #172338; color: #ec7c9b; }
html[data-theme="dark"] .cq-reject-note.pending { background: #432f16; color: #dfab7f; }
html[data-theme="dark"] .cq-card-body { color: #c5d0e1; }
html[data-theme="dark"] .cq-card-img { border: 1px solid #243c54; }
html[data-theme="dark"] .cq-card-img img { background: #162135; }
html[data-theme="dark"] .cq-card-foot { border-top: 1px solid #233a51; }
html[data-theme="dark"] .cq-actbtn { color: #8f9cae; }
html[data-theme="dark"] .cq-actbtn:hover { color: #a0bce8; }
html[data-theme="dark"] .cq-actbtn.active { color: #a0bce8; }
html[data-theme="dark"] .cq-actbtn.static:hover { color: #8f9cae; }
html[data-theme="dark"] .cq-actbtn.lg:hover,
html[data-theme="dark"] .cq-actbtn.lg.active { color: #a0bce8; }
html[data-theme="dark"] .cq-kebab-btn:hover { background: #222d38; color: #b4c0d2; }
html[data-theme="dark"] .cq-kebab-menu { background: #131d2f; border: 1px solid #243c54; box-shadow: 0 8px 26px rgba(0,0,0,0.336); }
html[data-theme="dark"] .cq-mi { color: #b4c0d2; }
html[data-theme="dark"] .cq-mi:hover { background: #162135; }
html[data-theme="dark"] .cq-mi.danger { color: #e64d6f; }
html[data-theme="dark"] .cq-mi.danger:hover { background: #172338; }
html[data-theme="dark"] .cq-mi-divider { background: #222d38; }
html[data-theme="dark"] .cq-detail-panel { background: #162135; }
html[data-theme="dark"] .cq-detail-head,
html[data-theme="dark"] .cq-compose-head { background: #131d2f; border-bottom: 1px solid #243c54; }
html[data-theme="dark"] .cq-iconbtn { color: #a6b2c3; }
html[data-theme="dark"] .cq-iconbtn:hover { background: #222d38; }
html[data-theme="dark"] .cq-compose-title { color: #c5d0e1; }
html[data-theme="dark"] .cq-hero { background: linear-gradient(#e5ecf810, #131d2f); border-bottom: 1px solid #243c54; }
html[data-theme="dark"] .cq-hero-body { color: #cfd8ee; }
html[data-theme="dark"] .cq-postimg { background: #162135; border: 1px solid #2c3e56; }
html[data-theme="dark"] .cq-hero-foot { border-top: 1px solid #243c54; }
html[data-theme="dark"] .cq-replies-title { color: #a6b2c3; }
html[data-theme="dark"] .cq-reply-row { background: #131d2f; border: 1px solid #243c54; }
html[data-theme="dark"] .cq-reply-row.admin { background: #162237; border-color: #355a44; }
html[data-theme="dark"] .cq-reply-body { color: #b4c0d2; }
html[data-theme="dark"] .cq-reply-children { border-left: 2px solid #243c54; }
html[data-theme="dark"] .cq-inline-reply-ta { border: 1px solid #2c3e56; color: #c5d0e1; background: #162135; }
html[data-theme="dark"] .cq-inline-reply-ta:focus { background: #131d2f; }
html[data-theme="dark"] .cq-reply-brand { color: #a0bce8; }
html[data-theme="dark"] .cq-official { background: #433a16; color: #eba875; }
html[data-theme="dark"] .cq-edit-ta { border: 1px solid #2c3e56; color: #c5d0e1; }
html[data-theme="dark"] .cq-reply-bar { background: #131d2f; border-top: 1px solid #243c54; }
html[data-theme="dark"] .cq-imgbtn.round { background: #222d38; color: #8f9cae; }
html[data-theme="dark"] .cq-imgbtn.round:hover { background: #28303b; color: #a0bce8; }
html[data-theme="dark"] .cq-reply-ta { border: 1px solid #2c3e56; color: #c5d0e1; background: #162135; }
html[data-theme="dark"] .cq-reply-ta:focus { background: #131d2f; }
html[data-theme="dark"] .cq-compose-overlay { background: #131d2f; }
html[data-theme="dark"] .cq-postbtn { box-shadow: 0 3px 10px rgba(0,0,0,0.528); }
html[data-theme="dark"] .cq-cancelbtn { background: #222d38; color: #a6b2c3; }
html[data-theme="dark"] .cq-cancelbtn:hover { background: #28303b; }
html[data-theme="dark"] .cq-compose-whotxt b { color: #c5d0e1; }
html[data-theme="dark"] .cq-open-badge { background: #222d38; color: #8f9cae; }
html[data-theme="dark"] .cq-open-badge .svic { color: #8f9cae; }
html[data-theme="dark"] .cq-compose-ta { color: #c5d0e1; }
html[data-theme="dark"] .cq-imgpreview img { border: 1px solid #2c3e56; }
html[data-theme="dark"] .cq-imgremove { border: 2px solid #212e45; }
html[data-theme="dark"] .cq-compose-toolbar { border-top: 1px solid #243c54; }
html[data-theme="dark"] .cq-attachbtn { background: #131d2f; border: 1px solid #2c3e56; box-shadow: 0 1px 2px rgba(0,0,0,0.15); color: #b4c0d2; }
html[data-theme="dark"] .cq-attachbtn:hover { border-color: #355a44; background: #1f2b40; }
html[data-theme="dark"] .ui-confirm-box { background: #131d2f; box-shadow: 0 12px 32px rgba(0,0,0,0.48); }
html[data-theme="dark"] .ui-confirm-box p { color: #c5d0e1; }
html[data-theme="dark"] .ui-confirm-ta { border: 1.5px solid #2f4262; background: #131d2f; }
html[data-theme="dark"] .hdr-bell { color: #a0bce8; }
html[data-theme="dark"] .hdr-bell:hover { background: #1f2b40; }
html[data-theme="dark"] .hdr-bell-dot { border: 1.5px solid #253957; }
html[data-theme="dark"] .ntf-card { background: #131d2f; border: 1px solid #283854; }
html[data-theme="dark"] .ntf-card.unread { background: #172338; }
html[data-theme="dark"] .ntf-cic { background: var(--ntb, #282e34); color: #9caab5; }
html[data-theme="dark"] .ntf-title { color: #c7ddd0; }
html[data-theme="dark"] .ntf-batch { color: #9caab5; background: var(--ntb, #282e34); }
html[data-theme="dark"] .ntf-body { color: #a7b4ac; }
html[data-theme="dark"] .ntf-sheet { background: #131d2f; border: 1px solid #2a3a56; box-shadow: 0 10px 30px rgba(0,0,0,0.432); }
html[data-theme="dark"] .ntf-sheet-head { color: #a0bce8; }
html[data-theme="dark"] .ntf-sheet-all { color: #a0bce8; border-top: 1px solid #26354f; }
html[data-theme="dark"] .ntf-mark-all { color: #a0bce8; }
html[data-theme="dark"] .ntf-group { color: #9ea8a2; }
html[data-theme="dark"] .ntf-empty { color: #9ea8a2; }
html[data-theme="dark"] .ntf-empty b { color: #bdcbc2; }
html[data-theme="dark"] .notif-ask { box-shadow: 0 8px 24px rgba(0,0,0,0.6); }
html[data-theme="dark"] .ntf-adm-row { border: 1px solid #283853; }
html[data-theme="dark"] .sc-ic.cic-green,
html[data-theme="dark"] .cat-mini-ic.cic-green,
html[data-theme="dark"] .cic-opt.cic-green,
html[data-theme="dark"] .stat-ic.cic-green { background: #243b2f; color: #a0e8be; }
html[data-theme="dark"] .sc-ic.cic-blue,
html[data-theme="dark"] .cat-mini-ic.cic-blue,
html[data-theme="dark"] .cic-opt.cic-blue,
html[data-theme="dark"] .stat-ic.cic-blue { background: #1e2b40; color: #a0bce8; }
html[data-theme="dark"] .sc-ic.cic-gold,
html[data-theme="dark"] .cat-mini-ic.cic-gold,
html[data-theme="dark"] .cic-opt.cic-gold,
html[data-theme="dark"] .stat-ic.cic-gold { color: #ddb15d; }
html[data-theme="dark"] .sc-ic.cic-purple,
html[data-theme="dark"] .cat-mini-ic.cic-purple,
html[data-theme="dark"] .cic-opt.cic-purple,
html[data-theme="dark"] .stat-ic.cic-purple { background: #281d3f; color: #a17dcc; }
html[data-theme="dark"] .sc-ic.cic-maroon,
html[data-theme="dark"] .cat-mini-ic.cic-maroon,
html[data-theme="dark"] .cic-opt.cic-maroon,
html[data-theme="dark"] .stat-ic.cic-maroon { background: #3f1d26; color: #d88b9a; }
html[data-theme="dark"] .sc-ic.cic-teal,
html[data-theme="dark"] .cat-mini-ic.cic-teal,
html[data-theme="dark"] .cic-opt.cic-teal,
html[data-theme="dark"] .stat-ic.cic-teal { background: #223f35; color: #9cf1db; }
html[data-theme="dark"] .cat-mini-ic { background: #262e36; color: #8995a9; }
html[data-theme="dark"] .cic-opt { background: #262e36; color: #8995a9; }
html[data-theme="dark"] .cic-opt.active { box-shadow: 0 0 0 2px rgba(0,0,0,0.36); }
html[data-theme="dark"] .csv-edit-wrap { border: 1px solid var(--border, #2a3b58); }
html[data-theme="dark"] .csv-edit-table th,
html[data-theme="dark"] .csv-edit-table td { border: 1px solid #333f4e; }
html[data-theme="dark"] .csv-edit-table th { background: #172338; color: #a0bce8; }
html[data-theme="dark"] .csv-edit-table textarea,
html[data-theme="dark"] .csv-edit-table select,
html[data-theme="dark"] .csv-edit-table input { border: 1px solid #2a3b58; }
html[data-theme="dark"] .csv-edit-row.err { background: #401b20; }
html[data-theme="dark"] .csv-edit-row.dup { background: #453617; }
html[data-theme="dark"] .csv-row-status.err { color: #ec7d91; }
html[data-theme="dark"] .csv-row-status.dup { color: #eed189; }
html[data-theme="dark"] .csv-row-status.ok { color: #a0e8be; }
html[data-theme="dark"] .rb-verdict { background: #131d2f; color: #a0bce8; }
html[data-theme="dark"] .rb-verdict .rb-pass { color: #a0e8be; }
html[data-theme="dark"] .rb-verdict .rb-fail { color: #e7567a; }
html[data-theme="dark"] .result-advice { color: #97a6bc; background: #161b42; }
html[data-theme="dark"] .result-advice b { color: #a0bce8; }
html[data-theme="dark"] .result-advice.pass { background: #263a2e; }
html[data-theme="dark"] .result-advice.close { background: #4e2e1a; }
html[data-theme="dark"] .result-advice.fail { background: #401b28; }
html[data-theme="dark"] .result-advice.low { background: #232c3b; }
html[data-theme="dark"] .lex-row { background: #172338; }
html[data-theme="dark"] .lex-batch { color: #8995a9; }
html[data-theme="dark"] #examOfflineBar { box-shadow: 0 3px 14px rgba(0,0,0,0.6); }
html[data-theme="dark"] #examFsWarn .fs-box { background: #131d2f; box-shadow: 0 10px 40px rgba(0,0,0,0.6); }
html[data-theme="dark"] #examFsWarn .fs-box p { color: #8995a9; }
html[data-theme="dark"] .lcr-day { color: #ddb15d; }
html[data-theme="dark"] .rt-subj { color: #a0bce8; }
html[data-theme="dark"] .lcr-topic { color: #a0bce8; }
html[data-theme="dark"] .lcr-meta { color: #8995a9; }
html[data-theme="dark"] .crs-hub-head { background: #131d2f; border: 1px solid #324055; }
html[data-theme="dark"] .crs-hub-title { color: #a0bce8; }
html[data-theme="dark"] .crs-hub-del { background: #131d2f; color: #ec7d91; }
html[data-theme="dark"] .crs-hub-del:hover { background: #401b20; }
html[data-theme="dark"] .crs-check li { border: 1px solid #333f4e; background: #131d2f; }
html[data-theme="dark"] .crs-check li.ok { color: #a0bce8; background: #213728; border-color: #2c5c3a; }
html[data-theme="dark"] .crs-savebar { background: rgba(26,39,63,0.93); border-top: 1px solid #2b3c59; }
html[data-theme="dark"] .exam-date-row > span:first-child { color: #8995a9; }
html[data-theme="dark"] .exam-date-row .exam-merit-when { color: #eece89; background: #493b18; }
html[data-theme="dark"] .exam-subline-row span { color: #b6c4e0; }
html[data-theme="dark"] .exam-topic { color: #8995a9; }
html[data-theme="dark"] .exam-topic-more { color: #a0bce8; }
html[data-theme="dark"] .stat-card-hl { background: #263a2e; }
html[data-theme="dark"] .stat-card-hl .stat-val { color: #a0e8be; }
html[data-theme="dark"] .tsb-box.tsb-green { background: #263a2e; }
html[data-theme="dark"] .tsb-box.tsb-blue { background: #1c273e; }
html[data-theme="dark"] .tsb-lbl { color: #8995a9; }
html[data-theme="dark"] .tsb-box.tsb-green .tsb-val { color: #a0e8be; }
html[data-theme="dark"] .tsb-box.tsb-blue .tsb-val { color: #a0bce8; }
html[data-theme="dark"] .tsb-rank { background: #263a2e; }
html[data-theme="dark"] .tsb-rank-lbl { color: #a0e8be; }
html[data-theme="dark"] .tsb-rank-val { color: #a0e8be; }
html[data-theme="dark"] .tsb-pending { background: #42341c; }
html[data-theme="dark"] .tsb-pending-lbl { color: #ddb15d; }
html[data-theme="dark"] .tsb-pending-val { color: #ddb15d; }
html[data-theme="dark"] .opt.miss { background: #4d431a; border-color: #766733; color: #f0db96; }
html[data-theme="dark"] .opt.miss .opt-key { background: #131d2f; border-color: #766733; color: #f0db96; }
html[data-theme="dark"] .rv-tgl { background: #131d2f; color: #a0bce8; }
html[data-theme="dark"] .rv-tgl.active { background: #263a2e; }
html[data-theme="dark"] .rv-tgl.rv-bookmark.saved { background: #222e3b; color: #a0bce8; }
html[data-theme="dark"] .q-card.rv-open .opt.rv-ans { background: #27402c; border-color: #327040; color: #a7eac7; }
html[data-theme="dark"] .q-card.rv-open .opt.rv-ans .opt-key { background: #131d2f; border-color: #327040; color: #a7eac7; }
html[data-theme="dark"] .rv-filter button { color: #8995a9; }
html[data-theme="dark"] .rv-subtable thead th { background: #202c3d; color: #a0bce8; }
html[data-theme="dark"] .rv-subtable tfoot td { background: #172338; }
html[data-theme="dark"] .opt-pct { color: #8995a9; }
html[data-theme="dark"] .exam-month-div { color: #8995a9; }
html[data-theme="dark"] .crs-hdr-icon-btn { background: #131d2f; }
html[data-theme="dark"] .crs-hdr-icon-btn:hover { background: #27332c; }
html[data-theme="dark"] .crs-group-title { color: #a0bce8; }
html[data-theme="dark"] .crs-sq-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.168); }
html[data-theme="dark"] .tf-topic-chk { background: #131d2f; }
html[data-theme="dark"] .tf-topic-chk:has(input:checked) { background: #25392c; color: #a0bce8; }
html[data-theme="dark"] .cm-ansbox { background: #25392c; color: #c3e3d1; }
html[data-theme="dark"] a.cq-author-adm:hover { color: #ddb15d; }
html[data-theme="dark"] .pv-sec-sheet { background: #443617; border-color: #725d31; }
html[data-theme="dark"] .pv-sec-sheet .pv-sec-head { color: #ddb15d; border-bottom-color: #725d31; }
html[data-theme="dark"] .pv-sec-video { background: #202a3a; border-color: #2c4266; }
html[data-theme="dark"] .pv-sec-video .pv-sec-head { color: #a0bce8; border-bottom-color: #2c4266; }
html[data-theme="dark"] .crs-stu-sum { background: #202a3a; border: 1.5px solid #2c4266; color: #a0bce8; }
html[data-theme="dark"] .crs-stu-name { color: #a0bce8; }
html[data-theme="dark"] .crs-stu-name:hover { color: #ddb15d; }
html[data-theme="dark"] .crs-stu-meta { color: #ababab; }
html[data-theme="dark"] .crs-pre-sec { background: #443617; border: 1.5px solid #725d31; }
html[data-theme="dark"] .crs-pre-head { color: #ddb15d; }
html[data-theme="dark"] .crs-pre-hint { color: #ddca96; }
html[data-theme="dark"] .crs-stu-name.plain { color: #cfcfcf; }
html[data-theme="dark"] .pay-batch-bar { background: #202a3a; border: 1.5px solid #2c4266; color: #a0bce8; }
html[data-theme="dark"] .crs-quick-all a { color: #ababab; }
html[data-theme="dark"] .crs-quick-all a:hover { color: #a0bce8; }
html[data-theme="dark"] .tst-group-head { color: #a0bce8; background: #202a3a; border: 1.5px solid #2c4266; }
html[data-theme="dark"] .tst-group-head::after { color: #8995a9; }
html[data-theme="dark"] .tst-group[open] > .tst-row { border-left: 1.5px solid #2c4266; border-right: 1.5px solid #2c4266; }
html[data-theme="dark"] .tst-group[open] > .tst-row:last-child { border-bottom: 1.5px solid #2c4266; }
html[data-theme="dark"] .tst-group-n { color: #8995a9; background: #131d2f; }
html[data-theme="dark"] .tst-dot.inactive { background: #2b4168; }
html[data-theme="dark"] .tst-demo-tag { color: #eed189; background: #453617; }
html[data-theme="dark"] .tst-name { color: #dadada; }
html[data-theme="dark"] .tst-q { color: #8995a9; background: #262e36; }
html[data-theme="dark"] .tst-q.none { color: #e56e6e; background: #431717; }
html[data-theme="dark"] .tst-chev { color: #8995a9; }
html[data-theme="dark"] .tst-row.open .tst-name { color: #a0bce8; }
html[data-theme="dark"] .tst-drawer-meta { color: #8995a9; }
html[data-theme="dark"] .ccp-box { box-shadow: 0 8px 26px rgba(0,0,0,0.6); }
html[data-theme="dark"] .ccp-ovl-tt { text-shadow: 0 1px 5px rgba(0,0,0,0.6); }
html[data-theme="dark"] .ccp-cc.on { color: #ddb15d; }
html[data-theme="dark"] .cc-item.playing { background: #162642; }
html[data-theme="dark"] .cc-thumb { background: #282e38; }
html[data-theme="dark"] .cc-sub { color: #8995a9; }
html[data-theme="dark"] .cc-check { border: 2px solid #304364; background: #131d2f; }
html[data-theme="dark"] .cc-prog-tt { color: #8995a9; }
html[data-theme="dark"] .cc-prog-track { background: #2a3139; }
html[data-theme="dark"] .cc-cont { background: #162642; }
html[data-theme="dark"] .cc-cont-ic { color: #a0bce8; }
html[data-theme="dark"] .cc-cont-tt { color: #a0bce8; }
html[data-theme="dark"] .cc-cont-tt small { color: #8995a9; }
html[data-theme="dark"] .modal { background: #131d2f; box-shadow: 0 10px 40px rgba(0,0,0,0.48); }
html[data-theme="dark"] .modal-head { border-bottom: 1px solid #263b58; color: #cfcfcf; }
html[data-theme="dark"] .modal-foot { border-top: 1px solid #263b58; }
html[data-theme="dark"] .modal .hint { color: #ababab; }
html[data-theme="dark"] .lcr-pill-marks { background: #172744; color: #a0bce8; }
html[data-theme="dark"] .lcr-pill-time { background: #253b2b; color: #a0e8be; }
html[data-theme="dark"] .adash-upcom-day-hdr { color: #a0bce8; border-bottom: 2px solid #263b58; }
html[data-theme="dark"] .adash-upcom-coll > summary.section-title::after { color: #8995a9; }
html[data-theme="dark"] .adash-upcom-cnt { background: #172744; color: #a0bce8; }
html[data-theme="dark"] details.adash-upcom-day > summary.adash-upcom-day-hdr::after { color: #8995a9; }
html[data-theme="dark"] .adash-upcom-day-cnt { background: #222e39; color: #a0bce8; }
html[data-theme="dark"] .adash-upcom-day-warn { background: #4d411a; color: #f0d995; }
html[data-theme="dark"] .adash-upcom-row { background: #152034; }
html[data-theme="dark"] .adash-upcom-name { color: #cfcfcf; }
html[data-theme="dark"] .adash-upcom-when { color: #8995a9; }
html[data-theme="dark"] .adash-upcom-batch { background: #172744; color: #a0bce8; }
html[data-theme="dark"] .adash-upcom-warn { background: #4d411a; color: #f0d995; }
html[data-theme="dark"] .adash-upcom-warn-row { background: #172338; }
html[data-theme="dark"] .mc-subhead { color: #8995a9; }
html[data-theme="dark"] .mc-subhead .svic { color: #8995a9; }
html[data-theme="dark"] .mc-subhead small { background: #292e35; color: #8995a9; }
html[data-theme="dark"] .crs-card.is-ended { background: #162237; }
html[data-theme="dark"] .crs-end-badge { background: #292e35; color: #8995a9; }
html[data-theme="dark"] .cc-item .cc-open { color: #ddb15d; }
html[data-theme="dark"] .cc-subhead { color: #eecf8a; }
html[data-theme="dark"] .cc-item.cc-pdfrow { background: #413218; border-color: #64512b; }
html[data-theme="dark"] .cc-item.cc-pdfrow:hover { background: #44361a; border-color: #715d31; }
html[data-theme="dark"] .cc-item.cc-pdfsub::before { border-left: 2px solid #715d31; border-bottom: 2px solid #715d31; }
html[data-theme="dark"] .ins-fn-lbl { color: #a0bce8; }
html[data-theme="dark"] .ins-fn-num { color: #a0bce8; }
html[data-theme="dark"] .ins-fn-num small { color: #8995a9; }
html[data-theme="dark"] .ins-fn-track { background: #252d3a; }
html[data-theme="dark"] .ins-fn-drop { color: #dda36f; }
html[data-theme="dark"] .ins-lead-main b { color: #a0bce8; }
html[data-theme="dark"] .ins-lead-meta { color: #8995a9; }
html[data-theme="dark"] .ins-lead-noph { color: #8995a9; }
html[data-theme="dark"] .ins-tag { background: #222b39; color: #8995a9; }
html[data-theme="dark"] .ins-tag.warn { background: #453417; color: #edc784; border-color: #67532c; }
html[data-theme="dark"] .ins-tag.bad { background: #431917; color: #e6877c; border-color: #63302a; }
html[data-theme="dark"] .exam-row2.exam-locked { background: #18253b; border-color: #283854; }
html[data-theme="dark"] .exam-row2.exam-locked .exam-name2,
html[data-theme="dark"] .exam-row2.exam-locked .exam-subline-row span { color: #8995a9; }
html[data-theme="dark"] .exam-lock-pill { color: #8995a9; border-color: #2b3c59; }
html[data-theme="dark"] .hfeat-sub { color: #8995a9; }
html[data-theme="dark"] .hfeat-card { background: #131d2f; border: 1px solid #273b53; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
html[data-theme="dark"] .hfeat-card .hfc-ic { color: #a0bce8; }
html[data-theme="dark"] .hfeat-card:nth-child(even) .hfc-ic { background: #453617; color: #ddb15d; }
html[data-theme="dark"] .hfeat-card .hfc-tt { color: #b1c8ee; }
@media (hover: hover) {
  html[data-theme="dark"] .hfeat-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.216); }
}
html[data-theme="dark"] .rev-card,
html[data-theme="dark"] a.rev-card:hover { background: #131d2f; border: 1px solid #273b53; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
html[data-theme="dark"] .rvc-q { color: #ddb15d; }
html[data-theme="dark"] .rvc-text { color: #b5beca; }
html[data-theme="dark"] .rvc-foot { border-top: 1px solid #283950; }
html[data-theme="dark"] .rvc-av { color: #a0bce8; }
html[data-theme="dark"] .rvc-name { color: #b1c8ee; }
html[data-theme="dark"] .rvc-role { color: #8f98a3; }
html[data-theme="dark"] .rev-fb { background: #131d2f; border: 1px solid #293c58; color: #4c8fe6; }
html[data-theme="dark"] .cp-step-head { color: #c3c3c3; }
html[data-theme="dark"] .cp-draft-note { background: #162b42; border: 1px solid #2b4864; color: #a0bce8; }
html[data-theme="dark"] .cp-help { color: #8995a9; }
html[data-theme="dark"] .cp-help a { background: #131d2f; color: #a0bce8; }
html[data-theme="dark"] .elg-lead { color: #cfcfcf; }
html[data-theme="dark"] .elg-why li { color: #8995a9; }
html[data-theme="dark"] .elg-why li::before { color: #a0e8be; }
html[data-theme="dark"] .elg-google { background: #131d2f; border: 1px solid #2c3e5c; color: #c3c6c9; }
html[data-theme="dark"] .elg-google:active { background: #172338; }
html[data-theme="dark"] .elg-alt { color: #8995a9; }
html[data-theme="dark"] .elg-alt a { color: #a0bce8; }
html[data-theme="dark"] .cq-public-note { background: #433a16; border: 1px solid #706330; color: #f0b796; }
html[data-theme="dark"] .rt-more-btn { color: #a0bce8; border: 1px solid #293f60; box-shadow: 0 2px 8px rgba(0,0,0,0.384); }
html[data-theme="dark"] .rt-more-btn:hover { background: #1f2b40; }
html[data-theme="dark"] .lex-topic { color: #b4c0d2; }
html[data-theme="dark"] .lex-topic span { color: #8995a9; }
html[data-theme="dark"] .lex-meta { color: #a6b2c3; }
html[data-theme="dark"] .course-category-kicker { color: #8995a9; }
html[data-theme="dark"] .course-category-title { color: #a0bce8; }
html[data-theme="dark"] .course-rail-btn { background: #131d2f; color: #a0bce8; box-shadow: 0 2px 8px rgba(0,0,0,0.192); }
html[data-theme="dark"] .course-rail-btn:hover { background: #162642; }
html[data-theme="dark"] .home-course-kicker { color: #8995a9; }
html[data-theme="dark"] .home-course-title { color: #a0bce8; }
html[data-theme="dark"] .home-rail-btn { background: #131d2f; color: #a0bce8; }
html[data-theme="dark"] .home-rail-btn:hover { background: #162642; }
html[data-theme="dark"] .hfeat-primary-card { background: #131d2f; border: 1px solid #283d57; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
html[data-theme="dark"] .hfeat-primary-card .hfc-ic { background: #1b2b40; color: #a0bce8; }
html[data-theme="dark"] .hfeat-primary-card:nth-child(2) .hfc-ic { background: #493c18; color: #ecc979; }
html[data-theme="dark"] .hfeat-primary-card:nth-child(3) .hfc-ic { background: #231744; color: #8963cf; }
html[data-theme="dark"] .hfeat-primary-card h3 { color: #b1c8ee; }
html[data-theme="dark"] .hfeat-primary-card p { color: #8995a9; }
html[data-theme="dark"] .hfeat-support-item { background: #131d2f; border: 1px solid #293b55; color: #9fb4d4; }
html[data-theme="dark"] .hc-thumb-img { background: #162135; }
html[data-theme="dark"] .hc-bottom { border-top: 1px solid #243c54; }
html[data-theme="dark"] .hcard { border-left: 1px solid #273b53; }
html[data-theme="dark"] .hcard.hta-live,
html[data-theme="dark"] .hcard.hta-exam,
html[data-theme="dark"] .hcard.hta-record { border-left-color: #273b53; }
html[data-theme="dark"] .hc-thumb::after { background: linear-gradient(180deg, #614e29 0%, #c9953e 48%, #7f5cac 100%); }
html[data-theme="dark"] .hc-bottom { border-top: 1px solid #243c54; }
@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] .hcard:hover,
  html[data-theme="dark"] .hcard:focus-within { box-shadow: 0 14px 28px rgba(0,0,0,0.288); }
  html[data-theme="dark"] .hcard:hover .hc-thumb,
  html[data-theme="dark"] .hcard:focus-within .hc-thumb { box-shadow: 0 10px 22px rgba(0,0,0,0.48); }
  html[data-theme="dark"] .hcard:hover .hc-thumb::after,
  html[data-theme="dark"] .hcard:focus-within .hc-thumb::after { background: linear-gradient(180deg, #5f4c26 0%, #b9792f 46%, #8d67bb 100%); }
  html[data-theme="dark"] .hcard:hover .hc-name,
  html[data-theme="dark"] .hcard:focus-within .hc-name { color: #a38ac9; }
  html[data-theme="dark"] .hcard:hover .hc-bottom > span,
  html[data-theme="dark"] .hcard:focus-within .hc-bottom > span { box-shadow: 0 7px 14px rgba(0,0,0,0.48); }
}
html[data-theme="dark"] .catalog-search-box { background: #131d2f; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
html[data-theme="dark"] .catalog-search-box:focus-within { border-color: #553376; box-shadow: 0 0 0 3px rgba(0,0,0,0.192); }
html[data-theme="dark"] .catalog-search-box>span { color: #a0bce8; }
html[data-theme="dark"] .catalog-search-box button { color: #949faf; background: #272d35; }
html[data-theme="dark"] .catalog-filter-button { border: 1px solid #422960; color: #9d82c5; background: #2e1e3a; }
html[data-theme="dark"] .catalog-filter-button b { color: #d7ac63; }
html[data-theme="dark"] .catalog-search-suggestions button { color: #8995a9; background: #131d2f; }
html[data-theme="dark"] .catalog-filter-summary { border: 1px solid #3e285d; color: #b4a2c3; background: #162135; }
html[data-theme="dark"] .catalog-filter-summary strong { color: #9d82c5; }
html[data-theme="dark"] .catalog-filter-summary button { color: #9d82c5; }
html[data-theme="dark"] .course-search-result-head>div>span { color: #8995a9; }
html[data-theme="dark"] .course-search-result-head h2 { color: #a0bce8; }
html[data-theme="dark"] .course-search-result-head>strong { color: #8995a9; }
html[data-theme="dark"] .catalog-filter-sheet { background: #131d2f; box-shadow: 0 -16px 40px rgba(0,0,0,0.384); }
html[data-theme="dark"] .catalog-sheet-handle { background: #233656; }
html[data-theme="dark"] .catalog-sheet-head span { color: #9d82c5; }
html[data-theme="dark"] .catalog-sheet-head h2 { color: #c1cad8; }
html[data-theme="dark"] .catalog-sheet-head button { color: #949ba6; background: #272b34; }
html[data-theme="dark"] .catalog-filter-group h3 { color: #a5adba; }
html[data-theme="dark"] .catalog-option { border: 1px solid #303e53; color: #939dab; background: #131d2f; }
html[data-theme="dark"] .catalog-option.active { color: #9d82c5; background: #2a1d3f; }
html[data-theme="dark"] .catalog-empty-icon { background: #2a1d3f; }
html[data-theme="dark"] .catalog-empty-state h3 { color: #bbc4d3; }
html[data-theme="dark"] .catalog-empty-state p { color: #8995a9; }
html[data-theme="dark"] #coursesSection .subject-card { color: #8995a9; background: #131d2f; }
html[data-theme="dark"] #coursesSection .subject-card.active { box-shadow: 0 3px 8px rgba(0,0,0,0.336); }
html[data-theme="dark"] .hc-thumb { border: 1px solid rgba(83,69,115,0.42); box-shadow: 0 6px 14px rgba(0,0,0,0.264); }
html[data-theme="dark"] .hcard:hover .hc-thumb,
html[data-theme="dark"] .hcard:focus-within .hc-thumb { box-shadow: 0 8px 18px rgba(0,0,0,0.36); }
html[data-theme="dark"] .hc-thumb { background: #162135 !important; border: 1px solid #2f3d54 !important; box-shadow: 0 6px 14px rgba(0,0,0,0.24) !important; }
html[data-theme="dark"] .hc-thumb-ic { color: #8c97a6; }
html[data-theme="dark"] .catalog-filter-summary button { color: #9d82c5; }
@media (max-width:600px) {
  html[data-theme="dark"] .hfeat-mobile-primary { background: #131d2f; border-top: 1px solid #2c3e4f; border-bottom: 1px solid #2c3e4f; }
  html[data-theme="dark"] .hfeat-mobile-item { color: #98bfef; }
  html[data-theme="dark"] .hfeat-mobile-item:not(:last-child) { border-right: 1px solid #2c3f55; }
  html[data-theme="dark"] .hfeat-mobile-live { background: #172944; color: #97baeb; }
  html[data-theme="dark"] .hfeat-mobile-exam { background: #483b18; color: #e8c260; }
  html[data-theme="dark"] .hfeat-mobile-practice { background: #251744; color: #9167cb; }
  html[data-theme="dark"] .hfeat-mobile-video { background: #204033; color: #7cecc2; }
  html[data-theme="dark"] .hfeat-support-title { color: #98bfef; }
  html[data-theme="dark"] .hfeat-support-item { border: 1px solid #303e52; background: #131d2f; color: #9abdec; box-shadow: 0 2px 7px rgba(0,0,0,0.15); }
}
html[data-theme="dark"] .hfeat-support-copy small { color: #8894aa; }
@media (max-width:600px) {
  html[data-theme="dark"] .hfeat-support-icon { background: #162642; color: #97baeb; }
  html[data-theme="dark"] .hfeat-support-item:nth-child(2) .hfeat-support-icon { background: #223a2d; color: #8aecc9; }
  html[data-theme="dark"] .hfeat-support-item:nth-child(3) .hfeat-support-icon { background: #483a18; color: #e9c268; }
  html[data-theme="dark"] .hfeat-support-item:nth-child(4) .hfeat-support-icon { background: #261643; color: #9068ca; }
  html[data-theme="dark"] .hfeat-support-item:nth-child(5) .hfeat-support-icon { background: #172844; color: #97baeb; }
}
html[data-theme="dark"] .home-feats .finder-title { color: #98bfef; }
html[data-theme="dark"] .hfeat-why-grid { background: #131d2f; border: 1px solid #2c3e4f; box-shadow: 0 4px 18px rgba(0,0,0,0.15); }
html[data-theme="dark"] .hfeat-why-card:not(:last-child) { border-right: 1px solid #2f3e53 !important; }
html[data-theme="dark"] .hfeat-why-icon { background: #172844; color: #97baeb; }
html[data-theme="dark"] .hfeat-why-community .hfeat-why-icon { background: #1f4030; color: #81edc2; }
html[data-theme="dark"] .hfeat-why-dashboard .hfeat-why-icon { background: #261744; color: #8e68ca; }
html[data-theme="dark"] .hfeat-why-plan .hfeat-why-icon { background: #493b18; color: #eac46b; }
html[data-theme="dark"] .hfeat-why-copy b { color: #98bfef; }
html[data-theme="dark"] .hfeat-why-copy small { color: #8894aa; }
html[data-theme="dark"] .hfeat-course-grid { background: #131d2f; border: 1px solid #2c3e4f; box-shadow: 0 4px 18px rgba(0,0,0,0.15); }
html[data-theme="dark"] .hfeat-course-item:not(:last-child) { border-right: 1px solid #2f3e53; }
html[data-theme="dark"] .hfeat-course-icon { background: #172844; color: #97baeb; border: 1px solid #29415f; }
html[data-theme="dark"] .hfeat-course-recorded .hfeat-course-icon { background: #1f4030; color: #81edc2; border-color: #2b644c; }
html[data-theme="dark"] .hfeat-course-sheet .hfeat-course-icon { background: #261744; color: #8e68ca; border-color: #3b295f; }
html[data-theme="dark"] .hfeat-course-explain .hfeat-course-icon { background: #493b18; color: #eac46f; border-color: #69592d; }
html[data-theme="dark"] .hfeat-course-performance .hfeat-course-icon { background: #172844; color: #97baeb; }
html[data-theme="dark"] .hfeat-course-practice .hfeat-course-icon { background: #1f4030; color: #88ecc8; border-color: #2b644c; }
html[data-theme="dark"] .hfeat-course-rank .hfeat-course-icon { background: #261744; color: #8e68ca; border-color: #3b295f; }
html[data-theme="dark"] .hfeat-course-item b { color: #98bfef; }
@media(max-width:800px) {
  html[data-theme="dark"] .hfeat-why-card:nth-child(odd) { border-right: 1px solid #2f3e53; }
  html[data-theme="dark"] .hfeat-why-card:nth-child(-n+2) { border-bottom: 1px solid #2f3e53; }
  html[data-theme="dark"] .hfeat-course-item:nth-child(-n+4) { border-bottom: 1px solid #2f3e53; }
}
@media(max-width:800px) {
  html[data-theme="dark"] .hfeat-why-card:nth-child(odd) { border-right: 1px solid #2f3e53; }
  html[data-theme="dark"] .hfeat-why-card:nth-child(3) { border-right: 1px solid #2f3e53; }
  html[data-theme="dark"] .hfeat-course-item { border-right: 1px solid #2f3e53 !important; }
}
@media(max-width:800px) {
  html[data-theme="dark"] .hfeat-course-item { border-right: 1px solid #2f3e53 !important; }
  html[data-theme="dark"] .hfeat-course-item:nth-child(-n+4) { border-bottom: 1px solid #2f3e53 !important; }
}
@media(max-width:800px) {
  html[data-theme="dark"] .hfeat-course-item { background: #131d2f; border: 1px solid #283d57 !important; box-shadow: 0 3px 12px rgba(0,0,0,0.15); }
  html[data-theme="dark"] .hfeat-course-item:nth-child(-n+4) { border-bottom: 1px solid #283d57 !important; }
}
@media(max-width:800px) {
  html[data-theme="dark"] .hfeat-course-arrow { background: #131d2f; color: #8395af; }
}
@media(max-width:800px) {
  html[data-theme="dark"] .hfeat-course-grid { background: #131d2f; border: 1px solid #2c3e4f; box-shadow: 0 4px 18px rgba(0,0,0,0.15); }
  html[data-theme="dark"] .hfeat-course-item:not(:last-child) { border-right: 1px solid #2f3e53 !important; }
}
@media(max-width:800px) {
  html[data-theme="dark"] .hfeat-course-arrow { background: #131d2f; color: #8395af; }
}
@media(max-width:800px) {
  html[data-theme="dark"] .hfeat-course-grid { background: #131d2f; border: 1px solid #2c3e4f; box-shadow: 0 4px 18px rgba(0,0,0,0.15); }
}
@media(max-width:800px) {
  html[data-theme="dark"] .hfeat-course-arrow::before { background: #2f3943; }
}
@media(max-width:800px) {
  html[data-theme="dark"] .hfeat-course-arrow { background: #131d2f !important; }
}
html[data-theme="dark"] .wq-meta { color: #8995a9; }
html[data-theme="dark"] .wq-quiz-head .ans-progress { color: #a0bce8; }
html[data-theme="dark"] .wx-row-head b { color: #a0bce8; }
html[data-theme="dark"] .wx-row-meta { color: #8995a9; }
html[data-theme="dark"] .wx-q-head b { color: #a0bce8; }
html[data-theme="dark"] .wx-rubric > label small { color: #8995a9; }
html[data-theme="dark"] .wxr-sum { color: #8995a9; }
html[data-theme="dark"] .wxr-sum b { color: #a0bce8; }
html[data-theme="dark"] .wx-del { color: #ec7d91; }
html[data-theme="dark"] .ws-clock-lbl { color: #8995a9; }
html[data-theme="dark"] .ws-clock-sub { color: #8995a9; }
html[data-theme="dark"] .ws-clock.wait .ws-clock-big { color: #a0bce8; }
html[data-theme="dark"] .ws-clock.live .ws-clock-big { color: #a0e8be; }
html[data-theme="dark"] .ws-clock.over .ws-clock-lbl { color: #ec7d91; }
html[data-theme="dark"] .ws-q-top b { color: #a0bce8; }
html[data-theme="dark"] .ws-rb b { color: #a0bce8; }
html[data-theme="dark"] .ws-done { background: #263a2e; color: #a0e8be; }
html[data-theme="dark"] .ws-total-n { color: #a0e8be; }
html[data-theme="dark"] .ws-total-d { color: #8995a9; }
html[data-theme="dark"] .ws-score-top b { color: #a0bce8; }
html[data-theme="dark"] .ws-score-cm { color: #8995a9; }
html[data-theme="dark"] .ws-window { color: #8995a9; }
html[data-theme="dark"] .ws-window b { color: #a0bce8; }
html[data-theme="dark"] .ws-clock-line.calm { color: #a0bce8; }
html[data-theme="dark"] .ws-clock-line.muted { color: #8995a9; }
html[data-theme="dark"] .ws-rules { background: #443617; border: 1px solid #6f5e2f; color: #cabea1; }
html[data-theme="dark"] .ws-rules-title { color: #eece89; }
html[data-theme="dark"] .ws-rules-time b { color: #eece89; }
html[data-theme="dark"] .ws-rules ul { border-top: 1px solid #6f5e2f; }
html[data-theme="dark"] .ws-note { background: #443617; border: 1px solid #6f5e2f; color: #cabea1; }
html[data-theme="dark"] .ws-timer { box-shadow: 0 2px 8px rgba(0,0,0,0.24); }
html[data-theme="dark"] .ws-timer.active { background: #1b2b40; color: #a0bce8; }
html[data-theme="dark"] .ws-timer.grace { background: #4a3b18; color: #f0d094; }
html[data-theme="dark"] .ws-timer.expired { background: #401b1b; color: #d0796c; }
html[data-theme="dark"] .ws-timer-hint { color: #8995a9; }
html[data-theme="dark"] .ws-stat.blue { background: #172144; }
html[data-theme="dark"] .ws-stat.gold { background: #493b18; }
html[data-theme="dark"] .ws-stat.t-selected,
html[data-theme="dark"] .ws-advice.t-selected { background: #263a2e; }
html[data-theme="dark"] .ws-stat.t-near,
html[data-theme="dark"] .ws-advice.t-near { background: #4e2e1a; }
html[data-theme="dark"] .ws-stat.t-below,
html[data-theme="dark"] .ws-advice.t-below { background: #401b28; }
html[data-theme="dark"] .ws-stat.t-low,
html[data-theme="dark"] .ws-advice.t-low { background: #232c3b; }
html[data-theme="dark"] .ws-stat-lbl { color: #8995a9; }
html[data-theme="dark"] .ws-stat-v { color: #a0bce8; }
html[data-theme="dark"] .ws-i { background: #675932; }
html[data-theme="dark"] .ws-advice { color: #97a6bc; }
html[data-theme="dark"] .ws-advice b { color: #a0bce8; }
html[data-theme="dark"] .ws-submitted-title { color: #a0e8be; }
html[data-theme="dark"] .ws-submitted-sub { color: #8995a9; }
html[data-theme="dark"] .ws-submitted-line { color: #a0bce8; }
html[data-theme="dark"] .cw-top b { color: #a0bce8; }
html[data-theme="dark"] .cw-meta { color: #8995a9; }
html[data-theme="dark"] .wx-sub-ph { color: #8995a9; }
html[data-theme="dark"] .wx-sheet-pg figcaption { color: #8995a9; }
html[data-theme="dark"] .wx-gp-lbl small { color: #8995a9; }
html[data-theme="dark"] .wx-gq-sum { color: #8995a9; }
html[data-theme="dark"] .wx-gq-sum b { color: #a0bce8; }
html[data-theme="dark"] .wx-gq-sum.over b { color: #ec7d91; }
html[data-theme="dark"] .wx-grade-total b { color: #a0e8be; }
html[data-theme="dark"] .ws-lb-rank { color: #8995a9; }
html[data-theme="dark"] .ws-lb-pct { color: #8995a9; }
html[data-theme="dark"] .ws-lb-sc { color: #a0bce8; }
html[data-theme="dark"] .ws-lb-pass.ok { color: #a0e8be; }
html[data-theme="dark"] .ws-lb-pass.no { color: #ec7d91; }
html[data-theme="dark"] .wx-ai-top b { color: #a0bce8; }
html[data-theme="dark"] .wx-ai-q { color: #8995a9; }
html[data-theme="dark"] .wx-ai-q b { color: #a0bce8; }
html[data-theme="dark"] .wx-ai-warn { color: #ec7d91; }
html[data-theme="dark"] .q-card.rv-open .opt.rv-wrong { background: #46201c; border-color: #6a342e; color: #e8827c; }
html[data-theme="dark"] .q-card.rv-open .opt.rv-wrong .opt-key { background: #131d2f; border-color: #6a342e; color: #e8827c; }

/* ── পাতা: about.html ── */
html[data-theme="dark"][data-page="about"] .loading { color: #8995a9; }
html[data-theme="dark"][data-page="about"] .loading-spinner { border: 3px solid #263858; }
html[data-theme="dark"][data-page="about"] .header { background: #202c3d; color: #a0bce8; box-shadow: 0 2px 8px rgba(0,0,0,0.15); border-bottom: 1px solid #263858; }
html[data-theme="dark"][data-page="about"] .page-hero { box-shadow: 0 4px 20px rgba(0,0,0,0.6); }
html[data-theme="dark"][data-page="about"] .card { background: #131d2f; border: 1.5px solid #263858; }
html[data-theme="dark"][data-page="about"] .card-title { color: #a0bce8; border-bottom: 2px solid #263858; }
html[data-theme="dark"][data-page="about"] .card p { color: #bebebe; }
html[data-theme="dark"][data-page="about"] .timeline-dot { border: 2px solid #212e45; }
html[data-theme="dark"][data-page="about"] .timeline-label { color: #a0bce8; }
html[data-theme="dark"][data-page="about"] .timeline-item:last-child .timeline-label { color: #ddb15d; }
html[data-theme="dark"][data-page="about"] .timeline-text { color: #bebebe; }
html[data-theme="dark"][data-page="about"] .vision-box { background: linear-gradient(135deg,#1f2b40,#131d2f); }
html[data-theme="dark"][data-page="about"] .vision-box p { color: #b1c8ee; }
html[data-theme="dark"][data-page="about"] .mission-list li { border-bottom: 1px solid #263858; }
html[data-theme="dark"][data-page="about"] .future-item { background: #1f2b40; color: #b1c8ee; }
html[data-theme="dark"][data-page="about"] .founder-card { background: linear-gradient(135deg,#433617,#131d2f); }
html[data-theme="dark"][data-page="about"] .founder-quote { color: #bebebe; }
html[data-theme="dark"][data-page="about"] .founder-name { color: #b1c8ee; }
html[data-theme="dark"][data-page="about"] .founder-title { color: #ddb15d; }
html[data-theme="dark"][data-page="about"] .footer { border-top: 1px solid #303f56; }
html[data-theme="dark"][data-page="about"] #sideDrawer { background: #131d2f; box-shadow: 4px 0 20px rgba(0,0,0,0.432); }

/* ── পাতা: books.html ── */
html[data-theme="dark"][data-page="books"] .bks-card { background: #131d2f; border: 1px solid #293a56; }
html[data-theme="dark"][data-page="books"] .bks-cover { background: #262e36; }
html[data-theme="dark"][data-page="books"] .bks-cover-empty { background: #262e36; }
html[data-theme="dark"][data-page="books"] .bks-author { color: #9ca8a0; }
html[data-theme="dark"][data-page="books"] .bks-pre-badge { color: #f0d094; background: #4c4019; }
html[data-theme="dark"][data-page="books"] .bks-price { color: #a0bce8; }
html[data-theme="dark"][data-page="books"] .bks-out { color: #e47878; }
html[data-theme="dark"][data-page="books"] .bks-add:disabled { background: #2c446d; }
html[data-theme="dark"][data-page="books"] .bks-stepper button { border: 1.5px solid #2f4262; background: #131d2f; }
html[data-theme="dark"][data-page="books"] .bks-buynow { background: #131d2f; color: #a0bce8; }
html[data-theme="dark"][data-page="books"] .bks-detail-cover { background: #262e36; }
html[data-theme="dark"][data-page="books"] .bks-detail-desc { color: #c3c3c3; }
html[data-theme="dark"][data-page="books"] .bks-detail-close { background: #262e36; color: #c3c3c3; }
html[data-theme="dark"][data-page="books"] .bks-spec { background: #212938; }
html[data-theme="dark"][data-page="books"] .bks-spec-row { border-bottom: 1px solid #263858; }
html[data-theme="dark"][data-page="books"] .bks-spec-row span:first-child { color: #9ca8a0; }
html[data-theme="dark"][data-page="books"] .bks-spec-row span:last-child { color: #cfcfcf; }
html[data-theme="dark"][data-page="books"] .bks-sec-title-sm { color: #a0bce8; }
html[data-theme="dark"][data-page="books"] .bks-sample-thumb { border: 1.5px solid #293a56; }
html[data-theme="dark"][data-page="books"] .bks-fab { box-shadow: 0 4px 14px rgba(0,0,0,0.6); }
html[data-theme="dark"][data-page="books"] .bks-fab-badge { border: 2px solid #212e45; }
html[data-theme="dark"][data-page="books"] .bks-box { background: #131d2f; box-shadow: 0 8px 30px rgba(0,0,0,0.432); }
html[data-theme="dark"][data-page="books"] .bks-box h3 { color: #a0bce8; }
html[data-theme="dark"][data-page="books"] .bks-cart-row { border-bottom: 1px solid #26354f; }
html[data-theme="dark"][data-page="books"] .bks-cart-thumb { background: #262e36; }
html[data-theme="dark"][data-page="books"] .bks-cart-rm { color: #e47878; }
html[data-theme="dark"][data-page="books"] .bks-cart-price { color: #b7b7b7; }
html[data-theme="dark"][data-page="books"] .bks-sumrow.total { border-top: 1px solid #273650; }
html[data-theme="dark"][data-page="books"] .bks-sec-title { color: #a0bce8; border-bottom: 2px solid #263858; }
html[data-theme="dark"][data-page="books"] .bks-eta { color: #a0bce8; background: #1e2b3a; }
html[data-theme="dark"][data-page="books"] .bks-policy { background: #453817; border: 1px solid #6a5a2e; }
html[data-theme="dark"][data-page="books"] .bks-policy summary { color: #f1dc9e; }
html[data-theme="dark"][data-page="books"] .bks-policy p { color: #f1dc9e; }
html[data-theme="dark"][data-page="books"] .bks-adv-opt { border: 1.5px solid #2f4262; }
html[data-theme="dark"][data-page="books"] .bks-adv-opt small { color: #9ca8a0; }
html[data-theme="dark"][data-page="books"] .bks-adv-opt.sel { background: #1e2b3a; }
html[data-theme="dark"][data-page="books"] .bks-order { background: #131d2f; border: 1px solid #293a56; }
html[data-theme="dark"][data-page="books"] .bks-status-pending { background: #4c4019; color: #f1dc9e; }
html[data-theme="dark"][data-page="books"] .bks-status-confirmed { background: #182f4a; color: #8bbbee; }
html[data-theme="dark"][data-page="books"] .bks-status-shipped { background: #28184a; color: #a287dc; }
html[data-theme="dark"][data-page="books"] .bks-status-delivered { background: #28422e; color: #aeebbc; }
html[data-theme="dark"][data-page="books"] .bks-status-returned { background: #4d2d1a; color: #f0bb94; }
html[data-theme="dark"][data-page="books"] .bks-status-cancelled { background: #471d21; color: #e69ba2; }
html[data-theme="dark"][data-page="books"] .bks-order-sub { color: #9ca8a0; }
html[data-theme="dark"][data-page="books"] .bks-confirm-btn { background: #131d2f; color: #a0bce8; }
html[data-theme="dark"][data-page="books"] .bks-page-title { color: #a0bce8; }
html[data-theme="dark"][data-page="books"] .bks-page-sub { color: #9ca8a0; }
html[data-theme="dark"][data-page="books"] .bks-myorders-btn { background: #131d2f; color: #a0bce8; }
html[data-theme="dark"][data-page="books"] .bks-promo-mini input { border: 1.5px solid #303f56; }
html[data-theme="dark"][data-page="books"] .bks-promo-mini-applied { background: #243a2b; border: 1px solid #2d683e; color: #aeebbc; }
html[data-theme="dark"][data-page="books"] .bks-promo-mini-applied button { color: #e47878; }
html[data-theme="dark"][data-page="books"] .bks-promo-err { color: #e47878; }
html[data-theme="dark"][data-page="books"] .bks-paynow { background: #1e2b3a; color: #a0bce8; }
html[data-theme="dark"][data-page="books"] .bks-paynum-label { color: #c3c3c3; }
html[data-theme="dark"][data-page="books"] .bks-paynum-label small { color: #9ca8a0; }
html[data-theme="dark"][data-page="books"] .bks-paynum-box { background: #4c4019; border: 2px solid #816c37; }
html[data-theme="dark"][data-page="books"] .bks-paynum-box b { color: #f4e1b0; }
html[data-theme="dark"][data-page="books"] .bks-paynum-box button { background: #131d2f; color: #f1dc9e; }

/* ── পাতা: demo.html ── */
html[data-theme="dark"][data-page="demo"] .dm-cta { background: linear-gradient(135deg, #463b17, #4c4019); }
html[data-theme="dark"][data-page="demo"] .dm-cta .t { color: #b7b7b7; }
html[data-theme="dark"][data-page="demo"] .dm-cta .s { color: #8995a9; }
html[data-theme="dark"][data-page="demo"] .dm-cta-ctx { color: #8995a9; }
html[data-theme="dark"][data-page="demo"] .dm-cta-ctx b { color: #b7b7b7; }
html[data-theme="dark"][data-page="demo"] .dm-free-lbl { color: #b7b7b7; }
html[data-theme="dark"][data-page="demo"] .dm-free-chip { background: #131d2f; color: #a0e8be; }
html[data-theme="dark"][data-page="demo"] .dm-cta-all { color: #a0bce8; }
html[data-theme="dark"][data-page="demo"] .dm-cta-note { color: #8995a9; }
html[data-theme="dark"][data-page="demo"] .dm-bcoll .cnt { color: #8995a9; }
html[data-theme="dark"][data-page="demo"] .dm-bcoll > summary { color: #ddb15d; }
html[data-theme="dark"][data-page="demo"] .dm-hero-title { color: #a0bce8; }
html[data-theme="dark"][data-page="demo"] .dm-hero-sub { color: #8995a9; }
html[data-theme="dark"][data-page="demo"] .dm-confirm-box { background: #131d2f; box-shadow: 0 12px 40px rgba(0,0,0,0.6); }
html[data-theme="dark"][data-page="demo"] .dm-confirm-title { color: #a0bce8; }
html[data-theme="dark"][data-page="demo"] .dm-confirm-msg { color: #b7b7b7; }
html[data-theme="dark"][data-page="demo"] .dm-ring-pct { fill: #a0bce8; }
html[data-theme="dark"][data-page="demo"] .dm-ring-sub { fill: #9f9f9f; }
html[data-theme="dark"][data-page="demo"] .dm-pass-badge.pass { background: #263a2e; color: #a0e8be; }
html[data-theme="dark"][data-page="demo"] .dm-pass-badge.fail { background: #473a19; color: #eecf8a; }
html[data-theme="dark"][data-page="demo"] .dm-prev-note { background: #473a19; border: 1px solid #6c5b2e; color: #eecf8a; }
html[data-theme="dark"][data-page="demo"] .dm-prev-note b { color: #f2daa2; }
html[data-theme="dark"][data-page="demo"] .dm-rank { color: #b7b7b7; }
html[data-theme="dark"][data-page="demo"] .dm-rank b { color: #a0bce8; }

/* ── পাতা: mentors.html ── */
html[data-theme="dark"][data-page="mentors"] .loading { color: #8995a9; }
html[data-theme="dark"][data-page="mentors"] .loading-spinner { border: 3px solid #263858; }
html[data-theme="dark"][data-page="mentors"] .header { background: #202c3d; color: #a0bce8; box-shadow: 0 2px 8px rgba(0,0,0,0.15); border-bottom: 1px solid #263858; }
html[data-theme="dark"][data-page="mentors"] .page-hero { box-shadow: 0 4px 20px rgba(0,0,0,0.6); }
html[data-theme="dark"][data-page="mentors"] .loading { color: #8995a9; }
html[data-theme="dark"][data-page="mentors"] .empty { background: #131d2f; }
html[data-theme="dark"][data-page="mentors"] .empty p { color: #8995a9; }
html[data-theme="dark"][data-page="mentors"] .mentor-card { background: #131d2f; border: 1.5px solid #544624; }
html[data-theme="dark"][data-page="mentors"] .mentor-name { color: #b1c8ee; }
html[data-theme="dark"][data-page="mentors"] .mentor-title { color: #ddb15d; }
html[data-theme="dark"][data-page="mentors"] .mentor-institution { color: #a0bce8; }
html[data-theme="dark"][data-page="mentors"] .mentor-qual { color: #8995a9; background: #433617; }
html[data-theme="dark"][data-page="mentors"] .mentor-bio { color: #bebebe; }
html[data-theme="dark"][data-page="mentors"] .section-title { color: #8995a9; }
html[data-theme="dark"][data-page="mentors"] .section-title::after { background: #2b323c; }
html[data-theme="dark"][data-page="mentors"] .footer { border-top: 1px solid #303f56; }
html[data-theme="dark"][data-page="mentors"] #sideDrawer { background: #131d2f; box-shadow: 4px 0 20px rgba(0,0,0,0.432); }

/* ── পাতা: privacy.html ── */
html[data-theme="dark"][data-page="privacy"] .loading { color: #8995a9; }
html[data-theme="dark"][data-page="privacy"] .loading-spinner { border: 3px solid #263858; }
html[data-theme="dark"][data-page="privacy"] .header { background: #202c3d; color: #a0bce8; box-shadow: 0 2px 8px rgba(0,0,0,0.15); border-bottom: 1px solid #263858; }
html[data-theme="dark"][data-page="privacy"] .card { background: #131d2f; box-shadow: 0 1px 6px rgba(0,0,0,0.168); }
html[data-theme="dark"][data-page="privacy"] h2 { color: #a0bce8; border-bottom: 2px solid #263858; }
html[data-theme="dark"][data-page="privacy"] h3 { color: #a0bce8; }
html[data-theme="dark"][data-page="privacy"] p { color: #c3c3c3; }
html[data-theme="dark"][data-page="privacy"] li { color: #c3c3c3; }
html[data-theme="dark"][data-page="privacy"] .badge { background: #1f2b40; color: #a0bce8; }
html[data-theme="dark"][data-page="privacy"] a { color: #a0bce8; }
html[data-theme="dark"][data-page="privacy"] #sideDrawer { background: #131d2f; box-shadow: 4px 0 20px rgba(0,0,0,0.432); }

/* ── পাতা: teachers.html ── */
html[data-theme="dark"][data-page="teachers"] .loading { color: #8995a9; }
html[data-theme="dark"][data-page="teachers"] .loading-spinner { border: 3px solid #263858; }
html[data-theme="dark"][data-page="teachers"] .header { background: #202c3d; color: #a0bce8; box-shadow: 0 2px 8px rgba(0,0,0,0.15); border-bottom: 1px solid #263858; }
html[data-theme="dark"][data-page="teachers"] .page-hero { box-shadow: 0 4px 20px rgba(0,0,0,0.6); }
html[data-theme="dark"][data-page="teachers"] .loading { color: #8995a9; }
html[data-theme="dark"][data-page="teachers"] .empty { background: #131d2f; }
html[data-theme="dark"][data-page="teachers"] .empty p { color: #8995a9; }
html[data-theme="dark"][data-page="teachers"] .teacher-card { background: #131d2f; border: 1.5px solid #263858; }
html[data-theme="dark"][data-page="teachers"] .teacher-photo { background: #1f2b40; }
html[data-theme="dark"][data-page="teachers"] .teacher-name { color: #b1c8ee; }
html[data-theme="dark"][data-page="teachers"] .teacher-title { color: #ddb15d; }
html[data-theme="dark"][data-page="teachers"] .teacher-institution { color: #a0bce8; }
html[data-theme="dark"][data-page="teachers"] .teacher-qual { color: #8995a9; background: #1f2b40; }
html[data-theme="dark"][data-page="teachers"] .teacher-bio { color: #bebebe; }
html[data-theme="dark"][data-page="teachers"] .section-title { color: #8995a9; }
html[data-theme="dark"][data-page="teachers"] .section-title::after { background: #2b323c; }
html[data-theme="dark"][data-page="teachers"] .footer { border-top: 1px solid #303f56; }
html[data-theme="dark"][data-page="teachers"] #sideDrawer { background: #131d2f; box-shadow: 4px 0 20px rgba(0,0,0,0.432); }

/* ── পাতা: terms.html ── */
html[data-theme="dark"][data-page="terms"] .loading { color: #8995a9; }
html[data-theme="dark"][data-page="terms"] .loading-spinner { border: 3px solid #263858; }
html[data-theme="dark"][data-page="terms"] .card { background: #131d2f; box-shadow: 0 1px 6px rgba(0,0,0,0.168); }
html[data-theme="dark"][data-page="terms"] h2 { color: #a0bce8; border-bottom: 2px solid #263858; }
html[data-theme="dark"][data-page="terms"] h3 { color: #a0bce8; }
html[data-theme="dark"][data-page="terms"] p { color: #c3c3c3; }
html[data-theme="dark"][data-page="terms"] li { color: #c3c3c3; }
html[data-theme="dark"][data-page="terms"] .badge { background: #1f2b40; color: #a0bce8; }
html[data-theme="dark"][data-page="terms"] .warn-box { background: #463b17; color: #b7b7b7; }
html[data-theme="dark"][data-page="terms"] .info-box { background: #1f2b40; color: #a0bce8; }
html[data-theme="dark"][data-page="terms"] a { color: #a0bce8; }
html[data-theme="dark"][data-page="terms"] #sideDrawer { background: #131d2f; box-shadow: 4px 0 20px rgba(0,0,0,0.432); }

/* ───── হাতের অংশ (HAND) ───── */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1324;
  --card-bg: #131f37;
  --border: #26344f;
  --gray-mid: #94a3bb;
  --gold-soft: #3a3020;
  --blue-pale: #1a2744;
  --green-pale: #16352a;
}
html[data-theme="dark"] body { background: var(--bg); color: #d6deeb; }
/* লোগোর নেভি "G" গাঢ় পটে হারিয়ে যায় — পেছনে সাদা গোল */
html[data-theme="dark"] .site-logo-img { background: #fff; border-radius: 50%; padding: 2px; }
html[data-theme="dark"] .site-brand b { color: #e9eef7; }
/* ছবি ও থাম্বনেইল একটু কম উজ্জ্বল — চোখে লাগে না */
html[data-theme="dark"] img:not(.site-logo-img):not(.splash-logo) { filter: brightness(.92); }
/* ☾/☀ বোতাম — অন্ধকারে সূর্য, সোনালি */
html[data-theme="dark"] .theme-btn { border-color: #2a3a5c; color: #f6d77a; }
html[data-theme="dark"] .theme-btn:hover { background: rgba(246,215,122,.1); }
html[data-theme="dark"] .theme-btn .ic-sun { display: block; }
html[data-theme="dark"] .theme-btn .ic-moon { display: none; }
/* ফর্ম */
html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea { background: #0f1a2f; color: #e9eef7; border-color: #2a3a5c; }
html[data-theme="dark"] input::placeholder, html[data-theme="dark"] textarea::placeholder { color: #7d8aa3; }
/* জাভাস্ক্রিপ্টে inline style-এ সাদা পট — সাধারণ ক্ষেত্রগুলো */
html[data-theme="dark"] [style*="background:#fff"], html[data-theme="dark"] [style*="background: #fff"], html[data-theme="dark"] [style*="background:#ffffff"], html[data-theme="dark"] [style*="background: #ffffff"],
html[data-theme="dark"] [style*="background:white"], html[data-theme="dark"] [style*="background: white"] { background: #131f37 !important; }
html[data-theme="dark"] [style*="color:#1e293b"], html[data-theme="dark"] [style*="color: #1e293b"], html[data-theme="dark"] [style*="color:#333"], html[data-theme="dark"] [style*="color: #333"],
html[data-theme="dark"] [style*="color:#22314f"], html[data-theme="dark"] [style*="color: #22314f"] { color: #d6deeb !important; }
