/* GENERATED by _tools_dark/gen_dark.py from the light CSS - do not edit by hand.
   Edit dark-tokens.css / dark-manual.css and run the script again. */
/* حالت شب: توکن‌های رنگ (ورودی gen_dark.py). data-theme را اسکریپت ابتدای base.html روی <html> می‌گذارد. */
html[data-theme="dark"] {
    color-scheme: dark;
    --dk-bg: #070f1c;
    --dk-card: #0f1c2f;
    --dk-card-2: #142540;
    --dk-line: rgba(255, 255, 255, .1);
}
html[data-theme="dark"],
html[data-theme="dark"] body {
    background-color: var(--dk-bg) !important;
    color: #c5d1e1;
}
html[data-theme="dark"] ::selection { background: rgba(107, 174, 214, .35); }

html[data-theme="dark"] .cx,
html[data-theme="dark"] .hd,
html[data-theme="dark"] .ft {
    --paper: #070f1c;
    --paper-2: #0c182a;
    --card: #0f1c2f;
    --ink: #e8eef7;
    --text: #e8eef7;
    --body: #c5d1e1;
    --muted: #8c9cb2;
    --line: rgba(255, 255, 255, .1);
    --acc: #6baed6;
    --acc-rgb: 107, 174, 214;
    --gold: #6baed6;
    --gold-2: #9ecae1;
    --gold-rgb: 107, 174, 214;
    --rose: #fb7185;
    --rose-rgb: 244, 63, 94;
    --tile: #13233a;
    --a1-ink: var(--a1-hi);
    --a2-ink: var(--a2-hi);
    --gold-ink: #9ecae1;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 22px 44px -28px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
html[data-theme="dark"] .hx {
    --hx-ink: #e8eef7; --hx-body: #c5d1e1; --hx-muted: #8c9cb2; --hx-line: rgba(255, 255, 255, .1); --hx-soft: #13233a;
    --hx-acc: #6baed6; --hx-acc-2: #9ecae1; --hx-up: #4ade80; --hx-down: #f87171;
}

/* ---- course3d.css ---- */
html[data-theme="dark"] .cx-pill { background: rgba(80, 159, 201, 0.16); }
html[data-theme="dark"] .cx-pill--free { background: rgba(69, 134, 212, 0.16); }
html[data-theme="dark"] .cx-ghost { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.164); }
html[data-theme="dark"] .cx-ghost:hover { border-color: rgba(255, 255, 255, 0.28); }
html[data-theme="dark"] .hx-card { background: var(--dk-card); }
html[data-theme="dark"] .hx-tag { background: var(--dk-card-2); }
html[data-theme="dark"] .hx-tag--up { background: rgba(75, 180, 106, 0.15); }
html[data-theme="dark"] .hx-tag--down { background: rgba(217, 38, 38, 0.15); }
html[data-theme="dark"] .hx-candle line { stroke: #8c9cb2; }
html[data-theme="dark"] .hx-zone { fill: rgba(134, 186, 223, 0.14); }
html[data-theme="dark"] .hx-float { border: 1px solid var(--dk-line); }
html[data-theme="dark"] .hx-float .hx-ico { background: rgba(15, 29, 48, 0.23); }
html[data-theme="dark"] .hx-bars i.is-neg { background: linear-gradient(180deg, rgba(221, 60, 60, 0.16), #c62828); }
html[data-theme="dark"] .hx-track i { background: linear-gradient(90deg, rgba(76, 142, 205, 0.16), #3182bd); }
html[data-theme="dark"] .hx-track b { background: var(--dk-card); }
html[data-theme="dark"] .hx-day.is-on { background: var(--dk-card); }
html[data-theme="dark"] .hx-msg { background: var(--dk-card); }
html[data-theme="dark"] .hx-msg i { background: rgba(86, 134, 195, 0.16); }
html[data-theme="dark"] .hx-msg--out i { background: rgba(15, 29, 48, 0.7); }
html[data-theme="dark"] .hx-typing { background: var(--dk-card); }
html[data-theme="dark"] .hx-plane { color: #86badf; }
html[data-theme="dark"] .hx-bag-handle { border: 7px solid rgba(255, 255, 255, .16); }
html[data-theme="dark"] .cx-danger { color: #e67f84; }
html[data-theme="dark"] .cx-story-copy .cx-question { background: var(--dk-card-2); }
html[data-theme="dark"] .cx-card { border: 1px solid rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .cx-gauge-track { stroke: rgba(232, 238, 247, 0.08); }
html[data-theme="dark"] .cx-track-body { border: 1px solid rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .cx-tag { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.188); }
html[data-theme="dark"] .cx-checks > li { border: 1px solid rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .cx-price { background: rgba(15, 29, 48, 0.21); }
html[data-theme="dark"] .cx-panel { border: 1px solid rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .cx-media { border: 1px solid rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .cx-media-tag { background: #0f1d30; }
html[data-theme="dark"] .cx-empty { border: 1px dashed rgba(255, 255, 255, 0.26); background: rgba(15, 29, 48, 0.65); }
html[data-theme="dark"] .cx-prose { color: #c5d1e1; }
html[data-theme="dark"] .cx-prose blockquote { background: var(--dk-card-2); }
html[data-theme="dark"] .cx-input { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.188); }
html[data-theme="dark"] .cx-input::placeholder { color: #8c9cb2; }
html[data-theme="dark"] select.cx-input option { background: var(--dk-card); }
html[data-theme="dark"] .cx-pages a,
html[data-theme="dark"] .cx-pages span { background: var(--dk-card); }
html[data-theme="dark"] .cx-pages a:hover { border-color: rgba(255, 255, 255, 0.28); }
html[data-theme="dark"] .cx-dock { background: linear-gradient(to top, rgba(19, 36, 60, 0.97) 60%, rgba(19, 36, 60, 0)); }

/* ---- site-chrome.css ---- */
html[data-theme="dark"] .hd-glass { background: rgba(19, 36, 60, 0.82); }
html[data-theme="dark"] .hd.is-scrolled .hd-glass { background: rgba(19, 36, 60, 0.94); }
html[data-theme="dark"] .hd-panel { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.104); }
html[data-theme="dark"] .hd-item:hover,
html[data-theme="dark"] .hd-item:focus-visible { background: var(--dk-card); }
html[data-theme="dark"] .hd-item.is-current { background: var(--dk-card-2); }
html[data-theme="dark"] .hd-item--danger .hd-txt b { color: #e48185; }
html[data-theme="dark"] .hd-btn { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.164); }
html[data-theme="dark"] .hd-lang-list { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.104); }
html[data-theme="dark"] .hd-drawer-lang a.is-current { border-color: rgba(255, 255, 255, .16); }
html[data-theme="dark"] .hd-btn:hover { border-color: rgba(255, 255, 255, 0.28); }
html[data-theme="dark"] .hd-count { color: #e8eef7; border: 2px solid var(--dk-line); }
html[data-theme="dark"] .hd-user-btn { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.164); }
html[data-theme="dark"] .hd-user-btn:hover,
html[data-theme="dark"] .hd-user-btn[aria-expanded="true"] { border-color: rgba(255, 255, 255, 0.28); }
html[data-theme="dark"] .hd-drawer { background: var(--dk-card); }
html[data-theme="dark"] .hd-close:hover { color: #e48185; }
html[data-theme="dark"] .hd-acc > li > .hd-item { background: var(--dk-card); }
html[data-theme="dark"] .hd-acc-list { background: var(--dk-card); }
html[data-theme="dark"] .hd-social a { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.164); }
html[data-theme="dark"] .ft-shell { background: var(--dk-card); }
html[data-theme="dark"] .ft-field { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.164); }
html[data-theme="dark"] .ft-field input::placeholder { color: #8c9cb2; }
html[data-theme="dark"] .ft-error { color: #e48185; }
html[data-theme="dark"] .ft-soc:hover { background: var(--dk-card); }
html[data-theme="dark"] .ft-up { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.164); }
html[data-theme="dark"] .ft-pill { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.14); }
html[data-theme="dark"] .rk-note { background: rgba(15, 29, 48, 0.21); border: 1px solid var(--dk-line); }
html[data-theme="dark"] .cx-section > .rk-note,
html[data-theme="dark"] .cx > .rk-note { background: var(--dk-card); border-color: rgba(255, 255, 255, 0.116); color: #9cacc2; }
html[data-theme="dark"] .cx-section > .rk-note b,
html[data-theme="dark"] .cx > .rk-note b { color: #79b2ec; }
html[data-theme="dark"] .ft-modal-card { background: var(--dk-card); }
html[data-theme="dark"] .sb-more { border: 1px solid var(--dk-line); background: rgba(15, 29, 48, 0.2); }
html[data-theme="dark"] .sb-more:hover { background: rgba(15, 29, 48, 0.25); }
html[data-theme="dark"] .sb-msg { background: rgba(15, 29, 48, 0.21); border: 1px solid var(--dk-line); }
html[data-theme="dark"] .df-link::after { background: linear-gradient(100deg, transparent 30%, rgba(77, 147, 204, 0.054) 50%, transparent 70%); }
html[data-theme="dark"] .df-orb b { color: #e8eef7; }

/* ---- base.html ---- */
html[data-theme="dark"],
html[data-theme="dark"] body { background-color: var(--dk-card) !important; color: #c5d1e1; }
html[data-theme="dark"] .video-card { border: 1px solid rgba(255, 255, 255, .16); }
html[data-theme="dark"] .menu-badge--free { background: rgba(69, 134, 212, 0.16); }
html[data-theme="dark"] .menu-badge--vip { background: rgba(73, 136, 208, 0.16); }

/* ---- blog/post_detail.html ---- */
html[data-theme="dark"] .pd-share-btn--x { border: 1px solid var(--dk-line); }
html[data-theme="dark"] .fc-card { background: var(--dk-card); }
html[data-theme="dark"] .fc-n em { border: 1px solid rgba(255, 255, 255, 0.2); }
html[data-theme="dark"] .fc-h small { color: #9cacc2; }

/* ---- cart.html ---- */
html[data-theme="dark"] .ca-ribbon { background: linear-gradient(90deg, rgba(78, 149, 202, 0.16), #6baed6); }
html[data-theme="dark"] .ca-price em { background: rgba(77, 143, 204, 0.16); }
html[data-theme="dark"] .ca-status { color: #88ddaa; background: rgba(77, 178, 108, 0.15); border: 1px solid rgba(255, 255, 255, 0.28); }
html[data-theme="dark"] .ca-status--wait { color: #79b1ec; background: var(--dk-card-2); border-color: rgba(255, 255, 255, 0.28); }

/* ---- course_lesson.html ---- */
html[data-theme="dark"] .lx-tag--free,
html[data-theme="dark"] .lx-tag--open { color: #88ddaa; background: rgba(77, 178, 108, 0.15); }
html[data-theme="dark"] .lx-tag--gold { background: rgba(77, 143, 204, 0.16); }
html[data-theme="dark"] .lx-lock-icon { background: rgba(15, 29, 48, 0.29); border: 1px solid var(--dk-line); }
html[data-theme="dark"] .lx-topics li::before { background: rgba(77, 143, 204, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6720' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat; }
html[data-theme="dark"] .lx-list a[aria-current] { background: var(--dk-card-2); }
html[data-theme="dark"] .lx-free { color: #88ddaa; background: rgba(77, 178, 108, 0.15); }
html[data-theme="dark"] .lx-risk .rk-note { background: var(--dk-card); border-color: rgba(255, 255, 255, 0.116); color: #9cacc2; }
html[data-theme="dark"] .lx-risk .rk-note b { color: #79b2ec; }

/* ---- home.html ---- */
html[data-theme="dark"] .hm-stats li,
html[data-theme="dark"] .hm-stats li:first-child { background: rgba(15, 29, 48, 0.195); }
html[data-theme="dark"] .hm-chg { color: #e8eef7; }
html[data-theme="dark"] .hm-live-ico { color: #e8eef7; }
html[data-theme="dark"] .cx-cta svg { color: #e8eef7; }
html[data-theme="dark"] .hm-pcard { border: 1px solid var(--dk-line); }
html[data-theme="dark"] .hm-tick-label { border-left: 1px solid var(--dk-line); }
html[data-theme="dark"] .hm-b { background: var(--dk-card); }
html[data-theme="dark"] .hm-cnt-tag { color: #79b2ec; background: var(--dk-card); }
html[data-theme="dark"] .hm-growth-end rect { fill: #86badf; }
html[data-theme="dark"] .hm-growth-label rect { fill: rgba(232, 238, 247, 0.8); }
html[data-theme="dark"] .hm-clist a i { background: var(--dk-card); border: 2px solid rgba(255, 255, 255, 0.26); }
html[data-theme="dark"] .hm-clist a.is-on { background: var(--dk-card); }
html[data-theme="dark"] .hm-course { background: var(--dk-card); }
html[data-theme="dark"] .hm-course-n em { border: 1px solid rgba(255, 255, 255, 0.2); }
html[data-theme="dark"] .hm-course h3 small { color: #9cacc2; }
html[data-theme="dark"] .hm-about-card { border: 1px solid var(--dk-line); }
html[data-theme="dark"] .hm-about-badge { color: #e8eef7; }
html[data-theme="dark"] .hm-steps { border: 1px solid var(--dk-line); }
html[data-theme="dark"] .hm-steps li { background: rgba(15, 29, 48, 0.19); border: 1px solid var(--dk-line); }
html[data-theme="dark"] .hm-final-trust { border-top: 1px solid var(--dk-line); }
html[data-theme="dark"] .hm-final-trust li { border-inline-start: 1px solid var(--dk-line); }
html[data-theme="dark"] .hm-step-card { background: var(--dk-card); }
html[data-theme="dark"] .hm-step-tag { background: rgba(69, 134, 212, 0.16); }
html[data-theme="dark"] .hm-step-card--dark .hm-step-tag { color: #e8eef7; }
html[data-theme="dark"] .hm-mh-s { background: var(--dk-card); }
html[data-theme="dark"] .lv::after { background: linear-gradient(100deg, transparent, rgba(158, 202, 225, .16) 45%, rgba(76, 142, 205, 0.084) 50%, rgba(158, 202, 225, .16) 55%, transparent); }
html[data-theme="dark"] .lv-track-h i::after { background: var(--dk-card); }
html[data-theme="dark"] .lv-cta:hover { background: rgba(76, 142, 205, 0.16); }

/* ---- journal_expert.html ---- */
html[data-theme="dark"] .jh-card { background: var(--dk-card); color: #e8eef7; }
html[data-theme="dark"] .jh-ttl b { color: #e8eef7; }
html[data-theme="dark"] .jh-ttl small { color: #9cacc2; }
html[data-theme="dark"] .jh-tag { color: #82e3a2; background: rgba(75, 180, 106, 0.15); }
html[data-theme="dark"] .jh-row { border-top: 1px solid var(--dk-line); }
html[data-theme="dark"] .jh-lead { color: #79b2ec; background: var(--dk-card); }
html[data-theme="dark"] .jh-txt b { color: #e8eef7; }
html[data-theme="dark"] .jh-txt small { color: #9cacc2; }
html[data-theme="dark"] .jh-float { border: 1px solid var(--dk-line); }
html[data-theme="dark"] .jh-float .jh-ico { background: rgba(15, 29, 48, 0.23); }
html[data-theme="dark"] .jx-spec { background: var(--dk-card); }

/* ---- market_hours.html ---- */
html[data-theme="dark"] .mh-card.is-open .mh-badge { color: #e8eef7; }

/* ---- partials/_auth_modal.html ---- */
html[data-theme="dark"] .auth-modal-container { border: 1px solid rgba(255, 255, 255, .16); }
html[data-theme="dark"] .auth-modal-close { color: #8c9cb2; }
html[data-theme="dark"] .auth-form-input { border: 1px solid rgba(255, 255, 255, .16); }
html[data-theme="dark"] .auth-switch-link { color: #8c9cb2; }

/* ---- partials/_book3d_styles.html ---- */
html[data-theme="dark"] .bk3d-front::after { background: linear-gradient(to left, rgba(0, 0, 0, .35) 0 3px, rgba(15, 29, 48, 0.37) 3px 6px, transparent 12px),
            linear-gradient(115deg, rgba(15, 29, 48, 0.37), transparent 38%); }
html[data-theme="dark"] .bk3d-plain { background: radial-gradient(circle at 50% 30%, rgba(78, 150, 203, 0.09), transparent 60%); }
html[data-theme="dark"] .bk3d-pages { background: repeating-linear-gradient(to right, var(--dk-card) 0 1px, var(--dk-card-2) 1px 2px); }

/* ---- partials/_breadcrumbs.html ---- */
html[data-theme="dark"] .bc-list { color: #9cacc2; }
html[data-theme="dark"] .bc-list a { color: #c5d1e1; }
html[data-theme="dark"] .bc-list a:hover { color: #79b2ec; }
html[data-theme="dark"] .bc-list [aria-current] { color: #9cacc2; }

/* ---- partials/_drs_card.html ---- */
html[data-theme="dark"] .dc-card { background: var(--dk-card); }
html[data-theme="dark"] .dc-n em { border: 1px solid rgba(255, 255, 255, 0.2); }
html[data-theme="dark"] .dc-card h2 small { color: #9cacc2; }

/* ---- partials/_econ_calendar.html ---- */
html[data-theme="dark"] .evc-day:hover { border-color: rgba(255, 255, 255, 0.28); }
html[data-theme="dark"] .evc-filter button[aria-pressed="true"] { background: var(--dk-card); }
html[data-theme="dark"] .evc-row--next { background: var(--dk-card-2); }
html[data-theme="dark"] .evc-time em { color: #e8eef7; }
html[data-theme="dark"] .evc-imp { color: rgba(232, 238, 247, 0.12); }
html[data-theme="dark"] .evc-imp--1 i:first-child { color: #ecd079; }
html[data-theme="dark"] .evc-holiday { color: #79ece3; background: rgba(57, 198, 172, 0.15); border: 1px solid rgba(255, 255, 255, 0.28); }
html[data-theme="dark"] .evc-val bdi.evc-better { color: #79eca3; }

/* ---- partials/_faq.html ---- */
html[data-theme="dark"] .fq { color: #e8eef7; }
html[data-theme="dark"] .fq-item { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .fq-item summary::after { color: #79b2ec; background: var(--dk-card-2); }
html[data-theme="dark"] .fq-answer { color: #c5d1e1; }

/* ---- partials/_journal_motion.html ---- */
html[data-theme="dark"] .jr-dot { fill: #79b2ec; }
html[data-theme="dark"] .jr-buy { fill: #e8eef7; }
html[data-theme="dark"] .jr-scr { background: var(--dk-card-2); }
html[data-theme="dark"] .jr-ph-top { background: var(--dk-card); border-bottom: 1px solid var(--dk-line); }
html[data-theme="dark"] .jr-ph-top b { color: #e8eef7; }
html[data-theme="dark"] .jr-ph-top small { color: #9cacc2; }
html[data-theme="dark"] .jr-m { background: var(--dk-card); color: #e8eef7; }
html[data-theme="dark"] .jr-r { color: #82e3a2; background: rgba(67, 188, 114, 0.15); }
html[data-theme="dark"] .jr-kv { color: #9cacc2; }
html[data-theme="dark"] .jr-kv b { color: #e8eef7; }
html[data-theme="dark"] .jr-q { color: #9cacc2; }
html[data-theme="dark"] .jr-chips span { color: #79b2ec; background: var(--dk-card-2); }
html[data-theme="dark"] .jr-m--alert { background: var(--dk-card); }
html[data-theme="dark"] .jr-m--alert b { color: #e58080; }
html[data-theme="dark"] .jr-ring .fg { stroke: #86badf; }
html[data-theme="dark"] .jr-ring text { fill: #e8eef7; }
html[data-theme="dark"] .jr-rep-r { color: #9cacc2; }
html[data-theme="dark"] .jr-meter { background: var(--dk-card-2); }
html[data-theme="dark"] .jr-cta:hover { background: rgba(76, 142, 205, 0.16); }

/* ---- partials/_lead_form.html ---- */
html[data-theme="dark"] .ld-card { background: var(--dk-card); color: #e8eef7; }
html[data-theme="dark"] .ld-x { background: var(--dk-card); }
html[data-theme="dark"] .ld-x svg { stroke: #c5d1e1; }
html[data-theme="dark"] .ld-icon { background: var(--dk-card-2); }
html[data-theme="dark"] .ld-icon svg { stroke: #79b2ec; }
html[data-theme="dark"] .ld-icon--ok { background: rgba(72, 183, 104, 0.15); }
html[data-theme="dark"] .ld-icon--ok svg { stroke: #82e3ab; }
html[data-theme="dark"] .ld-sub { color: #9cacc2; }
html[data-theme="dark"] .ld-field span { color: #c5d1e1; }
html[data-theme="dark"] .ld-field input { color: #e8eef7; background: var(--dk-card); }
html[data-theme="dark"] .ld-field input:focus { background: var(--dk-card); }
html[data-theme="dark"] .ld-error { color: #ec8179; background: rgba(217, 57, 38, 0.15); }
html[data-theme="dark"] .ld-note { color: #9cacc2; }
html[data-theme="dark"] .ld-link { color: #79b2ec; }
html[data-theme="dark"] .ld-phone { color: #e8eef7; }
html[data-theme="dark"] .ld-ghost { border: 1.5px solid rgba(255, 255, 255, 0.164); background: var(--dk-card); color: #c5d1e1; }

/* ---- partials/_ready_orbit.html ---- */
html[data-theme="dark"] .ro-track { border: 11cqw solid var(--dk-line); }
html[data-theme="dark"] .ro-chip > span { background: var(--dk-card); }
html[data-theme="dark"] .ro-chip.is-pale > span { background: var(--dk-card); color: #9cacc2; }
html[data-theme="dark"] .ro-card-tag { border: 1px solid var(--dk-line); }
html[data-theme="dark"] .ro-steps::before { background: rgba(15, 29, 48, 0.31); }
html[data-theme="dark"] .ro-steps i { border: 2px solid var(--dk-line); }
html[data-theme="dark"] .ro-steps button.is-on i { border-color: var(--dk-line); }
html[data-theme="dark"] .ro-steps button:focus-visible i { outline: 2px solid var(--dk-line); }

/* ---- partials/_red_card.html ---- */
html[data-theme="dark"] .rc { border: 1px solid var(--dk-line); }
html[data-theme="dark"] .rc::before { background: radial-gradient(closest-side, rgba(15, 29, 48, 0.37), transparent); }
html[data-theme="dark"] .rc-ico { background: rgba(15, 29, 48, 0.31); border: 1px solid var(--dk-line); }
html[data-theme="dark"] .rc-btn { background: var(--dk-card); color: #eb7a7a; }

/* ---- partials/_risk_calc.html ---- */
html[data-theme="dark"] .rc-error { color: #e67f84; background: rgba(217, 38, 51, 0.15); }
html[data-theme="dark"] .rc-lots { border: 1px solid var(--dk-line); }
html[data-theme="dark"] .rc-meter { background: rgba(15, 29, 48, 0.25); }

/* ---- partials/drs_strategy.html ---- */
html[data-theme="dark"] .drs-paid-icon { background: rgba(15, 29, 48, 0.23); }
html[data-theme="dark"] .drs-paid-btn { background: linear-gradient(180deg, rgba(80, 156, 201, 0.16), #6baed6); }
html[data-theme="dark"] .drs-clip-play { background: rgba(15, 29, 48, 0.35); border: 1px solid var(--dk-line); }
html[data-theme="dark"] .drs-clip:hover .drs-clip-play { background: rgba(15, 29, 48, 0.45); }
html[data-theme="dark"] .drs-player-btn { background: rgba(15, 29, 48, 0.27); border-color: var(--dk-line); }
html[data-theme="dark"] .drs-player-btn:hover { background: rgba(15, 29, 48, 0.37); }
html[data-theme="dark"] .drs-chart-zone { fill: rgba(132, 185, 225, 0.05); }
html[data-theme="dark"] .drs-coin-face { background: radial-gradient(circle at 30% 25%, var(--dk-card-2) 0%, rgba(80, 159, 201, 0.16) 18%, #3e8cc2 55%, #1662a7 100%); }
html[data-theme="dark"] .drs-coin-face b { color: #79b1ec; }
html[data-theme="dark"] .drs-coin-face small { color: #79b2ec; }

/* ---- partials/roadmap.html ---- */
html[data-theme="dark"] .rm-key { background: var(--dk-card); }
html[data-theme="dark"] .rm-key:hover,
html[data-theme="dark"] .rm-key.is-on { border-color: rgba(255, 255, 255, 0.28); }
html[data-theme="dark"] .rm-swatch--x { background: var(--dk-card); }
html[data-theme="dark"] .rm-zone-label { fill: #8c9cb2; }
html[data-theme="dark"] .rm-st .lock { stroke: #8c9cb2; }
html[data-theme="dark"] .rm-st .num { fill: #8c9cb2; }
html[data-theme="dark"] .rm-st.is-locked .lbl { fill: #9cacc2; }
html[data-theme="dark"] .rm-pop { background: var(--dk-card); }
html[data-theme="dark"] .rm-pop-pair a:hover,
html[data-theme="dark"] .rm-pop-pair button:hover { background: var(--dk-card-2); }
html[data-theme="dark"] .rm-pop-free { color: #82e3ab; }
html[data-theme="dark"] .rm-dot { background: var(--dk-card); }
html[data-theme="dark"] .rm-free { color: #82e3ab; }
html[data-theme="dark"] .rm-xbadge { background: var(--dk-card-2); }
html[data-theme="dark"] .rm-how-ico--x { background: var(--dk-card); }
html[data-theme="dark"] .rm-ticket-stub { background: rgba(15, 29, 48, 0.21); border-inline-start: 2px dashed var(--dk-line); }
@media (max-width: 760px) { html[data-theme="dark"] .rm-ticket-stub { border-top: 2px dashed var(--dk-line); } }

/* ---- partials/stb_broker.html ---- */
html[data-theme="dark"] .sv-disclosure { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.116); }
html[data-theme="dark"] .sv-disclosure svg { stroke: #7cb6e8; }
html[data-theme="dark"] .sv-disclosure b { color: #7cb6e8; }
html[data-theme="dark"] .sv-disclosure a { color: #7cb6e8; }
html[data-theme="dark"] .sgh-card { border: 1px solid rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .sv-g { background: linear-gradient(90deg, transparent 42%, rgba(80, 159, 201, 0.16) 42% 58%, transparent 58%),
            linear-gradient(145deg, #509acb, #094482); border: 1px solid var(--dk-line); }
html[data-theme="dark"] .sv-g--top { background: linear-gradient(90deg, transparent 42%, rgba(80, 159, 201, 0.16) 42% 58%, transparent 58%),
            linear-gradient(0deg, transparent 42%, rgba(80, 159, 201, 0.16) 42% 58%, transparent 58%),
            linear-gradient(145deg, #7cb7da, #0f59a1); }

/* ---- signal_results.html ---- */
html[data-theme="dark"] .sr-total { background: var(--dk-card); border: 1px solid rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .sr-total--week { background: var(--dk-card); }
html[data-theme="dark"] .sr-badge.sr-badge--gold { color: #e8eef7; }

/* ---- stb_guide.html ---- */
html[data-theme="dark"] .sg-facts div { background: rgba(15, 29, 48, 0.22); }
html[data-theme="dark"] .sg-tabs { background: #0f1d30; }
html[data-theme="dark"] .sg-notes { background: var(--dk-card); }
html[data-theme="dark"] .sg-check li::before { background: var(--dk-card-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308519c' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; }
html[data-theme="dark"] .sg-shot img { background: var(--dk-card); }
html[data-theme="dark"] .sg-after { background: var(--dk-card-2); }
html[data-theme="dark"] .sg-list-num { background: var(--dk-card-2); }
html[data-theme="dark"] .sg-list a[aria-current] .sg-list-num { background: var(--dk-card); }
html[data-theme="dark"] .sg-final-card .cx-ghost { background: rgba(15, 29, 48, 0.21); border-color: var(--dk-line); }
html[data-theme="dark"] .sg-zoom { background: var(--dk-card); }

/* ---- manual ---- */
/* حالت شب: قواعد دستی (بعد از قواعد خودکار می‌آیند و برنده‌اند) */
html[data-theme="dark"] .hd-lang-list a.is-current,
html[data-theme="dark"] .hd-drawer-lang a.is-current { background: #9ecae1; color: #0b1d33; border-color: #9ecae1; }
html[data-theme="dark"] .hd-lang-list a.is-current i { background: #0b1d33; color: #9ecae1; }
/* پنل‌های سرمه‌ای روی زمینهٔ تیره کمی لبه بگیرند */
html[data-theme="dark"] .cx-dz, html[data-theme="dark"] .hm-hero-card { box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), var(--shadow-lg); }
