/* Dark theme. Made by tools/dark.py from style.css; do not edit by hand,
   change style.css or tools/dark-extra.css and run the script again. */
html[data-theme="dark"] { --text: #cfd9e8; --line: #313d52; --blue-bg: #1b2332; --blue-line: #2b4659; --green-bg: #343e1a; --green-line: #55622f; --warn-bg: #393919; --warn-line: #5a582d; --code-bg: #1e2637; }
html[data-theme="dark"] body { background: #161d29; color: var(--text); }
html[data-theme="dark"] a { color: inherit; }
html[data-theme="dark"] .topbar { background: var(--ink); color: #fff; }
html[data-theme="dark"] .nav a { border-radius: 8px; color: #d9ddd9; }
html[data-theme="dark"] .nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .nav a[aria-current="page"] { color: var(--ink); background: var(--lime); }
html[data-theme="dark"] .hero { background: var(--ink); color: #fff; border-radius: 16px; }
html[data-theme="dark"] .hero::after { border-radius: 50%; background: #262a18; }
html[data-theme="dark"] .eyebrow { color: var(--lime); }
html[data-theme="dark"] .hero .bar { border-radius: 2px; background: var(--lime); }
html[data-theme="dark"] .hero p { color: #b9beb9; }
html[data-theme="dark"] .chip { border-radius: 12px; border: 1px solid #315165; border-left: 4px solid var(--blue); background: #182b38; }
html[data-theme="dark"] .chip.req { border: 1px solid var(--line); background: #1f2739; }
html[data-theme="dark"] .chip span { border: 1px solid var(--line); background: #1e2637; border-radius: 10px; }
html[data-theme="dark"] .chip .k { color: #b0c1d9; }
html[data-theme="dark"] .chip .v { color: #becbe0; }
html[data-theme="dark"] a.chip:hover { border-color: var(--blue); }
html[data-theme="dark"] .step { border-bottom: 1px solid var(--line); }
html[data-theme="dark"] .step.no-rule { border-bottom: 0; }
html[data-theme="dark"] .num { border-radius: 8px; background: var(--lime); color: var(--ink); }
html[data-theme="dark"] .num.blue { background: var(--blue); }
html[data-theme="dark"] .tag { color: var(--muted); }
html[data-theme="dark"] ul.dots li::before { border-radius: 50%; background: var(--lime-dark); }
html[data-theme="dark"] ul.dots.blue li::before { background: var(--blue); }
html[data-theme="dark"] .code { background: var(--code-bg); border: 1px solid var(--line); border-left: 3px solid var(--lime); border-radius: 6px; }
html[data-theme="dark"] .code.blue { border-left-color: var(--blue); background: #1b2332; border-color: var(--blue-line); }
html[data-theme="dark"] a.code:hover { border-color: #3a4861; }
html[data-theme="dark"] .hl { color: #c7ec7b; }
html[data-theme="dark"] figure .shot { border: 1px solid var(--line); border-radius: 10px; background: #1a2230; }
html[data-theme="dark"] figcaption { color: var(--muted); }
html[data-theme="dark"] .shot.glow { border: 2px solid #2a5058; background: #1b2332; }
html[data-theme="dark"] .callout { border-radius: 10px; background: var(--warn-bg); border: 1px solid var(--warn-line); border-left: 3px solid var(--warn); }
html[data-theme="dark"] .important { background: var(--ink); color: #fff; border-radius: 14px; }
html[data-theme="dark"] .important ul.dots li::before { background: var(--lime); }
html[data-theme="dark"] .box { border-radius: 12px; background: var(--blue-bg); border: 1px solid var(--blue-line); border-left: 3px solid var(--blue); }
html[data-theme="dark"] .box h3 { color: #9bbcd6; }
html[data-theme="dark"] .box.green { background: var(--green-bg); border-color: var(--green-line); border-left-color: var(--lime-dark); }
html[data-theme="dark"] .box.green h3 { color: #c6ed84; }
html[data-theme="dark"] .epix-title { color: #1d3446; }
html[data-theme="dark"] .epix-lead { color: var(--muted); }
html[data-theme="dark"] .epix-lead .c { color: #4aa9c9; }
html[data-theme="dark"] .epix-lead b { color: var(--text); }
html[data-theme="dark"] .skins-note { color: #9bbcd6; }
html[data-theme="dark"] .skins img { border-radius: 10px; }
html[data-theme="dark"] .card { background: var(--blue-bg); border: 1px solid var(--blue-line); border-radius: 10px; }
html[data-theme="dark"] .card h3 { color: #9bbcd6; }
html[data-theme="dark"] .card p { color: #becbe0; }
html[data-theme="dark"] .card img { border: 1px solid var(--line); border-radius: 6px; background: #161d29; }
html[data-theme="dark"] .done { background: var(--lime); color: var(--ink); border-radius: 14px; }
html[data-theme="dark"] .disclaimer { color: var(--muted); }
html[data-theme="dark"] .res-head .sub { color: var(--muted); }
html[data-theme="dark"] .res-head .src { color: var(--muted); }
html[data-theme="dark"] .res-head .src a { color: var(--muted); }
html[data-theme="dark"] .chart-box { border: 1px solid var(--line); border-radius: 14px; }
html[data-theme="dark"] .tile { border: 1px solid var(--line); border-radius: 12px; background: #19212f; }
html[data-theme="dark"] .tile .k { color: var(--muted); }
html[data-theme="dark"] .tile .v.pos { color: #afec7b; }
html[data-theme="dark"] .tile .v.neg { color: #f4a19b; }
html[data-theme="dark"] .tile.tile-hero { background: var(--ink); color: #fff; border-color: var(--ink); }
html[data-theme="dark"] .tile.tile-hero .k { color: #b9beb9; }
html[data-theme="dark"] .tile.tile-hero .v { color: var(--lime); }
html[data-theme="dark"] .res-head .updated { color: #c9a43a; }
html[data-theme="dark"] .tbl-wrap { border: 1px solid var(--line); border-radius: 12px; }
html[data-theme="dark"] table.res { border-collapse: collapse; }
html[data-theme="dark"] table.res th, html[data-theme="dark"] table.res td { border-bottom: 1px solid var(--line); }
html[data-theme="dark"] table.res th { color: var(--muted); background: #1a2230; }
html[data-theme="dark"] table.res tr:last-child td { border-bottom: 0; }
html[data-theme="dark"] table.res td.pos { color: #afec7b; }
html[data-theme="dark"] table.res td.neg { color: #f4a19b; }
html[data-theme="dark"] .kv { border: 1px solid var(--line); border-radius: 12px; }
html[data-theme="dark"] .kv div { border-bottom: 1px solid var(--line); }
html[data-theme="dark"] .kv div > span:first-child { color: var(--muted); }
html[data-theme="dark"] .res-note { color: var(--muted); }
html[data-theme="dark"] .chart svg text { fill: var(--muted); }
html[data-theme="dark"] .chart .grid { stroke: #2f3a4e; }
html[data-theme="dark"] .chart .line { fill: none; stroke: #4f8a0b; }
html[data-theme="dark"] .chart .area { fill: #5c6b2e; }
html[data-theme="dark"] .chart .bar { fill: #7fb51e; }
html[data-theme="dark"] .chart .cross { stroke: #3d4c66; }
html[data-theme="dark"] .chart .dot { fill: #4f8a0b; stroke: #283243; }
html[data-theme="dark"] .chart .tip { background: var(--ink); color: #fff; border-radius: 6px; }
html[data-theme="dark"] .chart .tip b { color: var(--lime); }
html[data-theme="dark"] .chart .bar-label { fill: var(--text); }
html[data-theme="dark"] .patterns { --s3: #6fe9bd; }
html[data-theme="dark"] .patterns .note { color: var(--muted); }
html[data-theme="dark"] .tile .meta { color: var(--muted); }
html[data-theme="dark"] .tile .sw { border-radius: 3px; }
html[data-theme="dark"] .legend i { border-radius: 2px; }
html[data-theme="dark"] .chart .s-line { fill: none; }
html[data-theme="dark"] .chart .s-dot { stroke: #283243; }
html[data-theme="dark"] .chart .hl { fill: #1f2839; }
html[data-theme="dark"] .chart .tip i { border-radius: 2px; }
html[data-theme="dark"] table.res th.g-head { color: var(--text); border-bottom: 3px solid; }
html[data-theme="dark"] table.res th.g-head .sw { border-radius: 3px; }
html[data-theme="dark"] .filter-bar { background: #161d29; border-bottom: 1px solid var(--line); }
html[data-theme="dark"] .filter-label { color: var(--muted); }
html[data-theme="dark"] button.toggle { border-radius: 999px; border: 1px solid var(--line); background: #161d29; color: var(--text); }
html[data-theme="dark"] button.toggle i { border-radius: 3px; }
html[data-theme="dark"] button.toggle[aria-pressed="false"] { color: var(--muted); background: #1e2637; }
html[data-theme="dark"] .cnt .won { color: #afec7b; }
html[data-theme="dark"] .cnt .lost { color: #f4a19b; }
html[data-theme="dark"] .cnt .pc { color: var(--muted); }
html[data-theme="dark"] .chart .tip .cnt .won { color: #b5f06a; }
html[data-theme="dark"] .chart .tip .cnt .lost { color: #ff8a80; }
html[data-theme="dark"] .chart .tip .cnt .pc { color: #b9beb9; }
html[data-theme="dark"] tr.total-row td { background: #1a2230; }
html[data-theme="dark"] .lang-btn { color: #fff; background: #1c201e; border: 1px solid #333a36; border-radius: 8px; }
html[data-theme="dark"] .lang-btn::after { border: 4px solid transparent; border-top-color: #3d4c66; }
html[data-theme="dark"] .lang-btn:focus-visible, html[data-theme="dark"] .lang-list li:focus-visible { outline: 2px solid var(--lime); outline-offset: 1px; }
html[data-theme="dark"] .flag { border-radius: 2px; }
html[data-theme="dark"] .lang-list { background: #161d29; color: var(--text); border: 1px solid var(--line); border-radius: 10px; }
html[data-theme="dark"] .lang-list li { border-radius: 6px; }
html[data-theme="dark"] .lang-list li:hover { background: #1f2839; }
html[data-theme="dark"] .lang-list li[aria-selected="true"] { background: #3e4b20; }
html[data-theme="dark"] [dir="rtl"] .code, html[data-theme="dark"] [dir="rtl"] .callout, html[data-theme="dark"] [dir="rtl"] .box, html[data-theme="dark"] [dir="rtl"] .chip:not(.req) { border-left-width: 1px; border-left-color: var(--line); border-right-width: 3px; border-right-style: solid; }
html[data-theme="dark"] [dir="rtl"] .code { border-right-color: var(--lime); }
html[data-theme="dark"] [dir="rtl"] .code.blue, html[data-theme="dark"] [dir="rtl"] .box, html[data-theme="dark"] [dir="rtl"] .chip:not(.req) { border-right-color: var(--blue); }
html[data-theme="dark"] [dir="rtl"] .box.green { border-right-color: var(--lime-dark); }
html[data-theme="dark"] [dir="rtl"] .callout { border-right-color: var(--warn); }
html[data-theme="dark"] .chart .marker { stroke: var(--ink); }
html[data-theme="dark"] .chart .marker-label { fill: var(--ink); }
html[data-theme="dark"] .tabs { border-bottom: 1px solid var(--line); }
html[data-theme="dark"] .tab { color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; }
html[data-theme="dark"] .tab:hover { color: var(--text); }
html[data-theme="dark"] .tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--lime-dark); }
html[data-theme="dark"] .page-btn { border-radius: 8px; border: 1px solid var(--line); background: #161d29; color: var(--text); }
html[data-theme="dark"] .page-btn:disabled { color: var(--muted); }
html[data-theme="dark"] .page-info { color: var(--muted); }
html[data-theme="dark"] .tile.tile-input { background: #261a3d; border-color: #46356e; }
html[data-theme="dark"] .tile .hint { color: var(--muted); }
html[data-theme="dark"] .tile.tile-input .k, html[data-theme="dark"] .tile.tile-input .hint { color: #5b3fa8; }
html[data-theme="dark"] .balance-input { color: #6a4fc0; background: #161d29; border: 1.5px solid #46356e; border-radius: 8px; }
html[data-theme="dark"] .balance-input:hover { border-color: #44356e; }
html[data-theme="dark"] .balance-input:focus { outline: none; border-color: #44356e; }
html[data-theme="dark"] .period-label { color: var(--muted); }
html[data-theme="dark"] .period-select { color: var(--text); background: #161d29; border: 1.5px solid #3d4c66; border-radius: 8px; }
html[data-theme="dark"] .period-select:hover, html[data-theme="dark"] .period-select:focus { border-color: var(--lime-dark); outline: none; }
html[data-theme="dark"] .amp-group { border: 1.5px solid var(--line); border-radius: 12px; }
html[data-theme="dark"] .amp-net { border-color: var(--lime-dark); }
html[data-theme="dark"] .home-note { color: var(--muted); }
html[data-theme="dark"] .home-note a { color: #2a78d6; }
html[data-theme="dark"] .event { border-radius: 14px; background: linear-gradient(100deg, #f1f8fb 0%, #dcedf5 60%, #cfe8f2 100%); border: 1px solid #d3e6ef; }
html[data-theme="dark"] .event-text { color: #1f2a37; }
html[data-theme="dark"] .event-eyebrow { color: #2a78d6; }
html[data-theme="dark"] .event-desc { color: #3b4652; }
html[data-theme="dark"] .event-facts .k { color: #6b7682; }
html[data-theme="dark"] .event-buy a { color: #2a78d6; }
html[data-theme="dark"] .page-tabs { border-bottom: 1.5px solid #3c4b65; }
html[data-theme="dark"] .page-tab { color: var(--text); background: #161d29; border: 1.5px solid #3c4b65; border-bottom-color: #283243; border-radius: 10px 10px 0 0; }
html[data-theme="dark"] .page-tab[aria-selected="false"] { color: var(--muted); background: #1e2637; border-bottom-color: #3c4b65; }
html[data-theme="dark"] .disclaimer { border-top: 1px solid var(--line); color: var(--muted); }
html[data-theme="dark"] .disclaimer strong { color: #8fa6c9; }
html[data-theme="dark"] .footer { border-top: 1px solid var(--line); }
html[data-theme="dark"] .footer-links a { color: var(--muted); }
html[data-theme="dark"] .footer-links a:hover { color: var(--text); }
html[data-theme="dark"] .event-dots button { border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.9); background: rgba(31, 42, 55, 0.35); }
html[data-theme="dark"] .event-dots button[aria-current="true"] { background: #2a78d6; border-color: #fff; }
html[data-theme="dark"] .event.event-video { background: linear-gradient(90deg, #070b24 0%, #0d1545 45%, #1b2170 100%); border-color: #1b2170; }
html[data-theme="dark"] .ev-video { border-radius: 10px; background: #000; }
html[data-theme="dark"] .ev-caption { color: #dfe4ff; }
html[data-theme="dark"] .aff-rule { border-radius: 10px; background: #1a2231; color: #9a8ad7; }
html[data-theme="dark"] .lot-rate { color: var(--muted); }
html[data-theme="dark"] .aff-week, html[data-theme="dark"] .aff-week strong { color: #3f7fc9; }
html[data-theme="dark"] .aff-month strong { color: #afec7b; }
html[data-theme="dark"] .aff-split { color: var(--muted); }
html[data-theme="dark"] .aff .tile.paid { border-color: #314966; background: #1a2231; }
html[data-theme="dark"] .aff .tile.paid .k, html[data-theme="dark"] .aff .tile.paid .hint, html[data-theme="dark"] .aff .tile.paid .v { color: #3f7fc9; }
html[data-theme="dark"] .plan-sub { color: var(--muted); }
html[data-theme="dark"] .plan-card { border: 1px solid var(--line); border-radius: 14px; background: #19212f; }
html[data-theme="dark"] .plan-bar { border-radius: 10px; color: #fff; }
html[data-theme="dark"] .pb-part { background: #3b2e6b; }
html[data-theme="dark"] .pb-trader { background: #1baf7a; }
html[data-theme="dark"] .pb-net { background: #2a78d6; }
html[data-theme="dark"] .plan-legend { color: var(--muted); }
html[data-theme="dark"] .plan-legend .sw { border-radius: 3px; }
html[data-theme="dark"] .plan-rows li { border-bottom: 1px solid var(--line); }
html[data-theme="dark"] .plan-rows li:last-child { border-bottom: 0; }
html[data-theme="dark"] .plan-rows.money b { color: #2a78d6; }
html[data-theme="dark"] .plan-total { border-top: 1.5px solid #3c4b65; }
html[data-theme="dark"] .plan-note { color: var(--muted); }
html[data-theme="dark"] .plan-cpa .track { border-radius: 4px; background: #232d41; }
html[data-theme="dark"] .plan-cpa .fill { border-radius: 4px; }
html[data-theme="dark"] .c1 { color: #2a78d6; }
html[data-theme="dark"] .fill.c1 { background: #2a78d6; }
html[data-theme="dark"] .c2 { color: #6fe9bd; }
html[data-theme="dark"] .fill.c2 { background: #1baf7a; }
html[data-theme="dark"] .c3 { color: #e9c268; }
html[data-theme="dark"] .fill.c3 { background: #e9a60c; }
html[data-theme="dark"] .c4 { color: #eb6834; }
html[data-theme="dark"] .fill.c4 { background: #6b3f2e; }
html[data-theme="dark"] .c5 { color: #6d4fd8; }
html[data-theme="dark"] .fill.c5 { background: #3b2e6b; }
html[data-theme="dark"] .c6 { color: #70deeb; }
html[data-theme="dark"] .fill.c6 { background: #0f9fb0; }
html[data-theme="dark"] .c7 { color: #d6457f; }
html[data-theme="dark"] .fill.c7 { background: #6b2e46; }
html[data-theme="dark"] .c8 { color: #a7b9cd; }
html[data-theme="dark"] .fill.c8 { background: #1f2a37; }
html[data-theme="dark"] .c9 { color: #eccb7b; }
html[data-theme="dark"] .fill.c9 { background: #b98a1a; }
html[data-theme="dark"] .pill { border-radius: 999px; background: #251b3f; color: #5b3fa8; }
html[data-theme="dark"] .pill.green { background: #1e4630; color: #81e3b2; }
html[data-theme="dark"] .pill.amber { background: #493d1f; color: #eccb7b; }
html[data-theme="dark"] .pill.red { background: #45271e; color: #ea876d; }
html[data-theme="dark"] .gb-ladder li { border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #161d29; }
html[data-theme="dark"] .gb-ladder li b { color: var(--text); }
html[data-theme="dark"] .gb-ladder li.done { background: #32411c; border-color: #586d35; }
html[data-theme="dark"] .gb-ladder li.on { background: #3f8a00; border-color: #3f8a00; color: #fff; }
html[data-theme="dark"] .gb-ladder li.on b { color: #fff; }
html[data-theme="dark"] .gb-note { color: var(--muted); }
html[data-theme="dark"] .plan-foot { color: var(--muted); }
html[data-theme="dark"] .gb-foot { border-radius: 10px; background: #1a2231; border: 1px solid #362955; color: #9a8ad7; }
html[data-theme="dark"] .aff-sum small { color: var(--muted); }
html[data-theme="dark"] .grand { border-radius: 14px; border: 1.5px solid var(--lime-dark); background: #2e3919; }
html[data-theme="dark"] .grand-head small { color: var(--muted); }
html[data-theme="dark"] .grand-sum .part b { color: #afec7b; }
html[data-theme="dark"] .grand-sum .part small { color: var(--muted); }
html[data-theme="dark"] .grand-sum .op { color: var(--muted); }
html[data-theme="dark"] .grand-sum .part.total b { color: #3f7fc9; }
html[data-theme="dark"] .grand-total { color: #afec7b; }
html[data-theme="dark"] .aff .weekly-box .aff-pair .amp-group { border-color: var(--line); }
html[data-theme="dark"] .aff .gb { border-color: var(--lime-dark); }
html[data-theme="dark"] .grand-period { color: var(--text); }
html[data-theme="dark"] .social-label { color: #d9ddd8; }
html[data-theme="dark"] .topbar { background: transparent; }
html[data-theme="dark"] .topbar-inner { background: var(--ink); border-radius: 999px; }
html[data-theme="dark"] .nav a { border-radius: 999px; }
html[data-theme="dark"] body.home-body { background: #1f283a; }
html[data-theme="dark"] .home .event { border-radius: 24px; }
html[data-theme="dark"] .home .page-tabs { border: 0; }
html[data-theme="dark"] .home .page-tab, html[data-theme="dark"] .home .page-tab[aria-selected="false"] { border-radius: 14px 14px 0 0; border: 1px solid #36435a; border-bottom: 0; background: #273349; color: #7a807b; }
html[data-theme="dark"] .home .page-tab[aria-selected="false"]:hover { background: #222c3f; color: var(--text); }
html[data-theme="dark"] .home .page-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
html[data-theme="dark"] .home .page-panel { background: #161d29; border: 1px solid #36435a; border-radius: 0 24px 24px 24px; }
html[data-theme="dark"] [dir="rtl"] .home .page-panel { border-radius: 24px 0 24px 24px; }
html[data-theme="dark"] .home .tile { border: 1px solid #334056; background: #1d2536; border-radius: 16px; }
html[data-theme="dark"] .home .tile.tile-input { background: #261a3d; border: 1.5px solid #413165; }
html[data-theme="dark"] .home .balance-input { border-radius: 10px; }
html[data-theme="dark"] .home .amp-group { border: 1.5px solid #344157; border-radius: 20px; background: #1d2536; }
html[data-theme="dark"] .home .amp-group.amp-net { border-color: #5e6c34; background: #343d1a; }
html[data-theme="dark"] .home .amp-group legend { color: #99aece; }
html[data-theme="dark"] .home .amp-group.amp-net legend { color: #bfd099; }
html[data-theme="dark"] .home .amp-group .tile { background: #161d29; border-color: #323e54; }
html[data-theme="dark"] .home .chart-box { border: 1px solid #334056; background: #1d2536; border-radius: 20px; }
html[data-theme="dark"] .home .tbl-wrap { border: 1px solid #334056; border-radius: 18px; background: #1d2536; }
html[data-theme="dark"] .home table.res td { border-color: #323e54; }
html[data-theme="dark"] #home-trades thead th { background: #28344b; color: #b3c3da; }
html[data-theme="dark"] #home-trades tbody tr:hover td { background: #161d29; }
html[data-theme="dark"] #home-trades td.long { color: #afec7b; }
html[data-theme="dark"] #home-trades td.short { color: #f4a19b; }
html[data-theme="dark"] #home-trades td.net > span { border-radius: 999px; }
html[data-theme="dark"] #home-trades td.net.pos > span { background: #415424; color: #b4ed83; border: 1px solid #596e35; }
html[data-theme="dark"] #home-trades td.net.neg > span { background: #411e1c; color: #f4a19b; border: 1px solid #60332e; }
html[data-theme="dark"] .home-body .footer, html[data-theme="dark"] .home .disclaimer { border-color: #344056; }
@media (max-width: 640px) {
html[data-theme="dark"] .home .page-panel { border-radius: 0 18px 18px 18px; }
}
html[data-theme="dark"] .home .aff .weekly-box .aff-pair .amp-group { border-color: #344157; background: #161d29; }
html[data-theme="dark"] .home .aff .weekly-box .aff-pair .amp-group legend { color: #99aece; }
html[data-theme="dark"] .home .grand { border-color: #5e6c34; border-radius: 20px; }
html[data-theme="dark"] .amp-note { color: var(--muted); }
html[data-theme="dark"] .sonic-name { color: #2a78d6; }
html[data-theme="dark"] .ranges { background: #253045; border-radius: 999px; }
html[data-theme="dark"] .ranges .range { border: 0; background: transparent; color: #8da5c8; border-radius: 999px; }
html[data-theme="dark"] .ranges .range:hover { color: var(--ink); }
html[data-theme="dark"] .ranges .range[aria-pressed="true"] { background: var(--ink); color: #fff; }
html[data-theme="dark"] .home .amp-group .tile.tile-input { background: #261a3d; border: 1.5px solid #413165; }
html[data-theme="dark"] .flip-title { color: #bfd099; }
html[data-theme="dark"] .amp-switch { background: #253045; border-radius: 999px; }
html[data-theme="dark"] .amp-switch .range { border: 0; background: transparent; color: #8da5c8; border-radius: 999px; }
html[data-theme="dark"] .amp-switch .range[aria-pressed="true"] { background: var(--ink); color: #fff; }
html[data-theme="dark"] .home-left .flip-box { border: 1.5px solid #5e6c34; border-radius: 20px; background: #343d1a; }
html[data-theme="dark"] .home-left .flip-box.flipped { border-color: #344157; background: #1d2536; }
html[data-theme="dark"] .home-left .flip-box:focus-visible { outline: 3px solid rgba(156, 193, 42, 0.5); outline-offset: 2px; }
html[data-theme="dark"] .home .home-left .flip-tile .face { background: #161d29; border-color: #323e54; }
html[data-theme="dark"] .flip-title::after { color: var(--muted); }
html[data-theme="dark"] .cmp-link { border-radius: 12px; background: #7ee8de; color: #0E131C; }
html[data-theme="dark"] .cmp-link:hover { background: #a3f0e9; }
html[data-theme="dark"] .amp-note a[data-flip] { color: inherit; }
html[data-theme="dark"] .amp-note a[data-flip="net"] { color: #afec7b; }
html[data-theme="dark"] #home-trades tbody tr td { background: #1d2536; }
html[data-theme="dark"] #home-trades tbody tr.day-alt td { background: #253046; }
html[data-theme="dark"] #home-trades tbody tr:hover td { background: #161d29; }
html[data-theme="dark"] .lang-btn { border-radius: 50%; border: 2px solid #3a413d; background: #1c201e; }
html[data-theme="dark"] .lang-btn:hover { border-color: var(--lime); }
html[data-theme="dark"] .lang-btn .flag { border-radius: 0; }
html[data-theme="dark"] .tz { --tz-teal: #71ebde; --tz-teal-bg: #1c413c; --tz-teal-line: #356e67; }
html[data-theme="dark"] .tz-sub { color: var(--muted); }
html[data-theme="dark"] .tz-dot { border-radius: 50%; background: var(--tz-teal); }
html[data-theme="dark"] .tz-console { background: #161d29; border: 1px solid #36435a; border-radius: 18px; }
html[data-theme="dark"] .tz-controls { background: #1d2536; border-bottom: 1px solid #334056; }
html[data-theme="dark"] .tz-field label { color: var(--muted); }
html[data-theme="dark"] .tz select, html[data-theme="dark"] .tz input[type=time], html[data-theme="dark"] .tz input[type=date], html[data-theme="dark"] .tz input[type=text] { color: var(--text); background: #161d29; border: 1px solid #37445c; border-radius: 9px; outline: none; }
html[data-theme="dark"] .tz select:focus, html[data-theme="dark"] .tz input:focus { border-color: var(--tz-teal); }
html[data-theme="dark"] .tz-btn { background: #161d29; color: var(--text); border: 1px solid #37445c; border-radius: 9px; }
html[data-theme="dark"] .tz-btn:hover { border-color: var(--tz-teal); color: var(--tz-teal); }
html[data-theme="dark"] .tz-btn.tz-accent { border-color: var(--tz-teal-line); color: #7bece1; background: var(--tz-teal-bg); }
html[data-theme="dark"] .tz-btn.tz-accent:hover { border-color: var(--tz-teal); }
html[data-theme="dark"] .tz-btn.tz-ok { border-color: var(--tz-teal); color: #7bece1; }
html[data-theme="dark"] .tz-row { border-bottom: 1px solid #424934; }
html[data-theme="dark"] .tz-row:last-child { border-bottom: 0; }
html[data-theme="dark"] .tz-meta { color: var(--muted); }
html[data-theme="dark"] .tz-rel { color: #9aa09b; }
html[data-theme="dark"] .tz-day { color: var(--tz-teal); }
html[data-theme="dark"] .tz-reftag { color: #7bece1; }
html[data-theme="dark"] .tz-abbr { color: #9aa09b; }
html[data-theme="dark"] .tz-row.tz-isref { background: linear-gradient(90deg, var(--tz-teal-bg) 0%, rgba(231, 247, 245, 0.4) 60%, transparent); }
html[data-theme="dark"] .tz-row.tz-isref::before { background: var(--tz-teal); }
html[data-theme="dark"] .tz-row.tz-isref .tz-time { color: #7bece1; }
html[data-theme="dark"] .tz-remove { border: 0; background: none; color: #9aa09b; }
html[data-theme="dark"] .tz-remove:hover { color: #f4a19b; }
html[data-theme="dark"] .tz-add { border-top: 1px solid #334056; background: #1a2130; }
html[data-theme="dark"] .tz-hint { color: var(--muted); }
html[data-theme="dark"] .tz-hint.tz-err { color: #f4a19b; }
html[data-theme="dark"] .tz-hint.tz-good { color: #7bece1; }
html[data-theme="dark"] .tz-foot { border-top: 1px solid #334056; }
html[data-theme="dark"] .tz-note { color: var(--muted); }
html[data-theme="dark"] .tz-out { background: #161d29; border: 1px solid #36435a; border-radius: 18px; }
html[data-theme="dark"] .tz-out-head { border-bottom: 1px solid #334056; background: #1d2536; }
html[data-theme="dark"] .tz-out-head span { color: var(--muted); }
html[data-theme="dark"] .tz-out textarea { border: 0; outline: none; background: #161d29; color: var(--text); }
html[data-theme="dark"] .tz-toggle span { border-radius: 999px; background: #32405d; }
html[data-theme="dark"] .tz-toggle span::after { border-radius: 50%; background: #161d29; }
html[data-theme="dark"] .tz-toggle input:checked + span { background: var(--tz-teal); }
html[data-theme="dark"] .tz-toggle input:focus-visible + span { outline: 2px solid var(--tz-teal); outline-offset: 2px; }
html[data-theme="dark"] .tz-toggle span { border-radius: 5px; background: #161d29; border: 1.5px solid #3d4c66; }
html[data-theme="dark"] .tz-toggle span::after { border-radius: 0; background: none; border: solid #283243; border-width: 0 2px 2px 0; }
html[data-theme="dark"] .tz-toggle input:checked + span { background: var(--tz-teal); border-color: var(--tz-teal); }
html[data-theme="dark"] .tz-toggle:hover span { border-color: var(--tz-teal); }
html[data-theme="dark"] .lang-btn { border-radius: 8px; border: 1px solid #333a36; }
html[data-theme="dark"] .lang-btn .flag { border-radius: 2px; }
html[data-theme="dark"] .flip-tile .face .per { color: var(--muted); }
html[data-theme="dark"] .tile .per { color: var(--muted); }
html[data-theme="dark"] .plan-card h3[data-n]::before { border-radius: 50%; background: var(--ink); color: var(--lime); }
html[data-theme="dark"] .plan-explain { border-top: 1px solid #323e54; color: #a8bad5; }
html[data-theme="dark"] .plan-ex { border-radius: 10px; background: #343d1a; border: 1px solid #55622f; color: #c3d59b; }
html[data-theme="dark"] .tz-help { color: #99aece; }
html[data-theme="dark"] .tz-help b { color: var(--text); }
html[data-theme="dark"] .zooms-intro { color: var(--muted); }
html[data-theme="dark"] .zoom-card { border-radius: 24px; background: linear-gradient(135deg, #0E131C 0%, #161D2A 70%, #12303a 100%); color: #EAEFF7; }
html[data-theme="dark"] .zoom-title { color: #fff; }
html[data-theme="dark"] .zoom-desc { color: #c9d2e0; }
html[data-theme="dark"] .zoom-date { color: #4FD1C5; }
html[data-theme="dark"] .zoom-k { color: #fff; }
html[data-theme="dark"] .zoom-times li { border-bottom: 1px solid #283142; }
html[data-theme="dark"] .zoom-times b { color: #4FD1C5; }
html[data-theme="dark"] .zoom-list { color: #c9d2e0; }
html[data-theme="dark"] .zoom-free { color: #fff; }
html[data-theme="dark"] .zoom-join { border-radius: 12px; background: #4FD1C5; color: #0E131C; }
html[data-theme="dark"] .zoom-join:hover { background: #6fe0d6; }
html[data-theme="dark"] .zoom-url { color: #8593A8; }
html[data-theme="dark"] .zoom-bye { color: #fff; }
html[data-theme="dark"] .zoom-img { border-radius: 14px; }
html[data-theme="dark"] .zoom-head .zoom-date { color: #6cb4ff; }
html[data-theme="dark"] .zoom-desc .zoom-free { color: #fff; }
html[data-theme="dark"] .zoom-ro { background: linear-gradient(135deg, #0b1714 0%, #11231d 60%, #1a4436 100%); }
html[data-theme="dark"] .zoom-en { background: linear-gradient(135deg, #0c1424 0%, #122038 60%, #1a4068 100%); }
html[data-theme="dark"] .zoom-de { background: linear-gradient(135deg, #17110c 0%, #251b13 60%, #4d3522 100%); }
html[data-theme="dark"] .zoom-times li { border: 1px solid rgba(124, 232, 222, 0.32); border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
html[data-theme="dark"] .zoom-join { background: #7ee8de; }
html[data-theme="dark"] .zoom-join:hover { background: #a3f0e9; }
html[data-theme="dark"] .zoom-times li { background: rgba(255, 255, 255, 0.1); border-color: rgba(124, 232, 222, 0.45); }
html[data-theme="dark"] .zoom-times li.zoom-main { background: #7ee8de; border-color: #7ee8de; }
html[data-theme="dark"] .zoom-main a { color: #0E131C; border-radius: 999px; }
html[data-theme="dark"] .zoom-main a:hover { background: #a3f0e9; }
html[data-theme="dark"] .zoom-main b { color: #0E131C; }
html[data-theme="dark"] .event.event-zooms { background: linear-gradient(100deg, #0b1714 0%, #11231d 18%, #122038 50%, #251b13 82%, #3a2819 100%); border-color: #1d2c3a; color: #EAEFF7; }
html[data-theme="dark"] .event-zooms .event-eyebrow { color: #7ee8de; }
html[data-theme="dark"] .ez-desc { color: #fff; }
html[data-theme="dark"] .ez-more { color: #7ee8de; }
html[data-theme="dark"] .ez-call img { border-radius: 12px; }
html[data-theme="dark"] .ez-join { border-radius: 10px; background: #7ee8de; color: #0E131C; }
html[data-theme="dark"] .ez-join:hover { background: #a3f0e9; }
html[data-theme="dark"] .ez-list li { color: #fff; }
html[data-theme="dark"] .ez-day { color: #7ee8de; }
html[data-theme="dark"] .aff-title { color: #9aafce; }
html[data-theme="dark"] .zoom-am { background: linear-gradient(135deg, #0f0e22 0%, #1a1836 60%, #33285a 100%); }
html[data-theme="dark"] .zoom-slot { border-radius: 14px; background: #7ee8de; color: #0E131C; }
html[data-theme="dark"] .zoom-slot:hover { background: #a3f0e9; }
html[data-theme="dark"] .zoom-tbl { border-collapse: separate; border-spacing: 0; border: 1px solid rgba(124, 232, 222, 0.32); border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
html[data-theme="dark"] .zoom-tbl th { color: #7ee8de; background: rgba(255, 255, 255, 0.06); }
html[data-theme="dark"] .zoom-tbl td { border-top: 1px solid rgba(255, 255, 255, 0.07); }
html[data-theme="dark"] .zoom-tbl td:not(:first-child) { color: #7ee8de; }
html[data-theme="dark"] .zoom-tbl sup { color: #c9d2e0; }
html[data-theme="dark"] .zoom-note { color: #8593A8; }
html[data-theme="dark"] .zoom-note b { color: #c9d2e0; }
html[data-theme="dark"] .zoom-tbl td:nth-child(2) { color: #EAEFF7; }
html[data-theme="dark"] .zoom-tbl td:first-child { color: #7ee8de; }
html[data-theme="dark"] .contact-btn { border: 0; background: none; }
html[data-theme="dark"] .contact-dialog { border: 0; border-radius: 18px; color: var(--text); }
html[data-theme="dark"] .contact-dialog::backdrop { background: rgba(13, 15, 14, 0.45); }
html[data-theme="dark"] .contact-dialog a { color: #ebd675; }
html[data-theme="dark"] .contact-close { border: 0; border-radius: 10px; background: #0d0f0e; color: #fff; }
html[data-theme="dark"] .pool { border-radius: 14px; background: #211839; border: 1px solid #372b59; }
html[data-theme="dark"] .pool-2 { background: #251b3f; border-color: #3c2e5f; }
html[data-theme="dark"] .pool-name { color: #5b3fa8; }
html[data-theme="dark"] .pool-val { color: #9a8ad7; }
html[data-theme="dark"] .inc { border-radius: 14px; background: #161d29; border: 1px solid #323e54; }
html[data-theme="dark"] .inc-top { background: linear-gradient(160deg, #3a3419, #524823); border-color: #6e6435; }
html[data-theme="dark"] .inc-name { color: var(--text); }
html[data-theme="dark"] .inc-val { color: #ebd675; }
html[data-theme="dark"] .inc-req { color: #a8bad5; }
html[data-theme="dark"] .consent { border-radius: 16px; background: #0d0f0e; color: #e8ebe6; }
html[data-theme="dark"] .consent a { color: var(--lime); }
html[data-theme="dark"] .consent-btns button { border-radius: 10px; border: 1.5px solid var(--lime); }
html[data-theme="dark"] .consent-granted { background: var(--lime); color: #dce3ee; }
html[data-theme="dark"] .consent-denied { background: transparent; color: var(--lime); }
html[data-theme="dark"] .footer-cookies { border: 0; background: none; color: var(--muted); }
html[data-theme="dark"] .footer-cookies:hover { color: var(--text); }
html[data-theme="dark"] .pool-sub { color: #6b5aa6; }
html[data-theme="dark"] .inc-freq { color: #ebd675; }
html[data-theme="dark"] .inc-freq { color: #9aafce; }
html[data-theme="dark"] .aff .box-title { color: #b3c3db; }
html[data-theme="dark"] .aff-note { color: var(--muted); }
html[data-theme="dark"] .aff-rule, html[data-theme="dark"] .gb-foot { background: #463f1e; border: 1px solid #6e6335; color: #eed585; }
html[data-theme="dark"] .event.event-promo { background: #020f3a; border-color: #0a1d5c; }
html[data-theme="dark"] .event.event-epix { border-color: #bfe3f3; background: #cdeefb url("/assets/event/epixpay-bg-1.webp") left top / cover no-repeat; }
html[data-theme="dark"] .event.event-epix.alt { background-image: url("/assets/event/epixpay-bg-2.webp"); }
html[data-theme="dark"] .event-epix .event-text { color: #002b3d; }
html[data-theme="dark"] .event-epix .event-title { color: #002b3d; }
html[data-theme="dark"] .event-epix .event-desc { color: #1f3b4d; }
html[data-theme="dark"] .event-epix .epix-hl { color: #0583a0; }
html[data-theme="dark"] .event-epix b { color: #002b3d; }
html[data-theme="dark"] .epix-btn { border-radius: 999px; background: #163143; color: #fff; }
html[data-theme="dark"] .epix-btn:hover { background: #22475f; }
@media (max-width: 720px) {
html[data-theme="dark"] .event.event-epix { background: url("/assets/event/epixpay-bg-1.webp") center top / 100% auto no-repeat, linear-gradient(#a9dff6, #e3f6fd 40%); }
html[data-theme="dark"] .event.event-epix.alt { background-image: url("/assets/event/epixpay-bg-2.webp"), linear-gradient(#a9dff6, #e3f6fd 40%); }
}
html[data-theme="dark"] .guide-page .step, html[data-theme="dark"] .guide-page .step.no-rule { border-bottom: 0; }
html[data-theme="dark"] .guide-page .step-body, html[data-theme="dark"] [dir="rtl"] .guide-page .step-body { border: 1px solid #354258; border-radius: 16px; background: rgba(236, 238, 232, 0.35); }
html[data-theme="dark"] .guide-page .step-head::after { border: solid var(--muted); border-width: 0 2px 2px 0; }
html[data-theme="dark"] .guide-page .step-head:focus-visible { outline: 2px solid var(--lime-dark); outline-offset: 4px; border-radius: 8px; }
html[data-theme="dark"] .zoom-cal a { color: #7ee8de; }
html[data-theme="dark"] .notify-btn { border: 0; background: none; }
html[data-theme="dark"] .notify-dialog fieldset { border: 1px solid var(--line); border-radius: 12px; }
html[data-theme="dark"] .notify-dialog .notify-trades { border: 1px solid var(--line); border-radius: 12px; }
html[data-theme="dark"] .notify-msg { color: #81e3b2; }
html[data-theme="dark"] .notify-btns button { border-radius: 10px; border: 1.5px solid #0d0f0e; background: #161d29; color: #dce3ee; }
html[data-theme="dark"] .notify-btns .notify-save { background: #0d0f0e; color: #fff; }
@media (max-width: 640px) {
html[data-theme="dark"] .menu-btn { border: 0; border-radius: 50%; background: transparent; color: #fff; }
html[data-theme="dark"] .menu-btn:hover, html[data-theme="dark"] .menu-open .menu-btn { background: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .menu-open .nav { background: var(--ink); border-radius: 18px; }
html[data-theme="dark"] .menu-open .nav a { border-radius: 12px; }
}
html[data-theme="dark"] .notify-dnd { border-top: 1px solid var(--line); color: var(--muted); }
html[data-theme="dark"] .theme-btn { border: 0; border-radius: 50%; background: transparent; color: #d9ddd9; }
html[data-theme="dark"] .theme-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
@media (max-width: 640px) {
html[data-theme="dark"] .menu-open .nav .theme-btn { border-top: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0 0 12px 12px; }
}
html[data-theme="dark"] .shot.shot-white { background: #161d29; }
html[data-theme="dark"] .callout.orange { background: #3a2819; border-color: #5d442d; border-left-color: #6e4e35; }
html[data-theme="dark"] [dir="rtl"] .callout.orange { border-right-color: #6e4e35; }
html[data-theme="dark"] .paused-layer { background: rgba(14, 19, 28, 0.62); border-radius: inherit; }
html[data-theme="dark"] .paused-layer span { border-radius: 999px; background: #161d29; color: #abbad5; }
html[data-theme="dark"] .callout.zoom-clock-note { background: #463f1e; border: 1px solid #6e6335; border-left: 4px solid #6e6235; color: #eed585; }
html[data-theme="dark"] .callout.zoom-clock-note .title { color: #efd88c; }
html[data-theme="dark"] [dir="rtl"] .callout.zoom-clock-note { border-left-width: 1px; border-right: 4px solid #6e6235; }
html[data-theme="dark"] .zoom-ai { background: linear-gradient(135deg, #07142e 0%, #0d2552 60%, #1d3f86 100%); }
html[data-theme="dark"] .zoom-ai .zoom-title { color: #f3cd6b; }
html[data-theme="dark"] .zoom-official { border-radius: 999px; background: #e8bd55; color: #07142e; }
html[data-theme="dark"] .zoom-ai .zoom-times li { border-color: rgba(232, 189, 85, 0.5); }
html[data-theme="dark"] .zoom-ai .zoom-times b { color: #f3cd6b; }
html[data-theme="dark"] .zoom-ai .zoom-times li.zoom-main { background: #e8bd55; border-color: #e8bd55; }
html[data-theme="dark"] .zoom-ai .zoom-main a:hover { background: #f3d283; }
html[data-theme="dark"] .zoom-ai .zoom-main b { color: #07142e; }
html[data-theme="dark"] .zoom-ai .zoom-join { background: #e8bd55; color: #07142e; }
html[data-theme="dark"] .zoom-ai .zoom-join:hover { background: #f3d283; }
html[data-theme="dark"] .announce { border: 0; border-radius: 18px; background: #07142e; color: #eaeff7; }
html[data-theme="dark"] .announce::backdrop { background: rgba(8, 12, 20, 0.7); }
html[data-theme="dark"] .announce-k { border-radius: 999px; background: #e8bd55; color: #07142e; }
html[data-theme="dark"] .announce-title { color: #f3cd6b; }
html[data-theme="dark"] .announce-join { border-radius: 12px; background: #e8bd55; color: #07142e; }
html[data-theme="dark"] .announce-join:hover { background: #f3d283; }
html[data-theme="dark"] .announce-more { color: #9fc3ff; }
html[data-theme="dark"] .announce-x { border: 0; border-radius: 50%; background: rgba(7, 20, 46, 0.75); color: #fff; }
html[data-theme="dark"] .announce-x:hover { background: rgba(7, 20, 46, 0.95); }
html[data-theme="dark"] .zoom-days { border-radius: 12px; background: rgba(255, 247, 214, 0.7); border: 1px solid rgba(240, 217, 122, 0.7); color: #2a2000; }
html[data-theme="dark"] .zoom-days.zoom-change { background: rgba(255, 205, 150, 0.92); border-color: #f0a857; color: #3a1c00; }
html[data-theme="dark"] .announce.announce-pic { background: #04140a; }
html[data-theme="dark"] .announce-pic .announce-ok { border: 0; background: #5fe35a; color: #04140a; }
html[data-theme="dark"] .announce-pic .announce-ok:hover { background: #86ee80; }
html[data-theme="dark"] .zoom-ws { background: linear-gradient(135deg, #07122e 0%, #0b2257 60%, #1849a8 100%); }
html[data-theme="dark"] .zoom-ws .zoom-title { color: #f6d365; }
html[data-theme="dark"] .zoom-ws .zoom-official { background: #f2c94c; color: #07122e; }
html[data-theme="dark"] .zoom-ws .zoom-times li.zoom-main { background: #f2c94c; border-color: #f2c94c; }
html[data-theme="dark"] .zoom-ws .zoom-main a:hover { background: #f7da84; }
html[data-theme="dark"] .zoom-ws .zoom-times li.zoom-main b { color: #07122e; }
html[data-theme="dark"] .zoom-ws .zoom-times b { color: #f6d365; }
html[data-theme="dark"] .zoom-ws .zoom-join { background: #f2c94c; color: #07122e; }
html[data-theme="dark"] .zoom-ws .zoom-join:hover { background: #f7da84; }
html[data-theme="dark"] .announce.announce-ws { background: #07122e; }
html[data-theme="dark"] .announce-ws .announce-ok { background: #f2c94c; color: #07122e; }
html[data-theme="dark"] .announce-ws .announce-ok:hover { background: #f7da84; }
html[data-theme="dark"] .compound .res-head .sub strong { color: var(--text); }
html[data-theme="dark"] .cmp-amp { color: var(--muted); }
html[data-theme="dark"] .cmp-tiles .tile .meta.cash { color: #3f7fc9; }
html[data-theme="dark"] .cmp-tiles .tile .meta.cash.neg { color: #f4a19b; }
html[data-theme="dark"] table.cmp-table td.cash { color: #3f7fc9; }
html[data-theme="dark"] table.cmp-table .c-sub.pos { color: #afec7b; }
html[data-theme="dark"] table.cmp-table .c-sub.neg { color: #f4a19b; }
html[data-theme="dark"] table.res tr.cmp-wk td { color: var(--muted); background: #1d2535; }
html[data-theme="dark"] table.res tr.cmp-year td { color: #fff; background: #0d0f0e; }
html[data-theme="dark"] table.res tr.cmp-gap td { color: var(--muted); }
html[data-theme="dark"] table.res tr.cmp-mark td { background: #343e1a; }
html[data-theme="dark"] table.res tr.cmp-mark.cmp-soft td { background: #1c2433; }
html[data-theme="dark"] .cmp-tag { border-radius: 999px; background: #5c6b2e; color: #0d0f0e; }
html[data-theme="dark"] .cmp-more { color: #dce3ee; background: #161d29; border: 1.5px solid #0d0f0e; border-radius: 999px; }
html[data-theme="dark"] .cmp-soft .cmp-tag { background: rgba(92, 107, 46, 0.6); }
html[data-theme="dark"] .cmp-more:hover { background: #0d0f0e; color: #fff; }
@media (max-width: 640px) {
html[data-theme="dark"] .cmp-span { border-radius: 20px; }
html[data-theme="dark"] .cmp-span .range { border-radius: 16px; }
html[data-theme="dark"] table.cmp-table .d-w { color: var(--muted); }
html[data-theme="dark"] table.cmp-table .cmp-tag-full { color: var(--muted); }
}
html[data-theme="dark"] .levels { --lv-you-bg: #22193a; --lv-you-line: #382c5b; --lv-wire: #6fe9bd; --lv-net-bg: #1a2c3c; --lv-net-line: #2c455b; --lv-off-bg: #20293c; --lv-off-line: #313d52; }
html[data-theme="dark"] .lv-ask { border: 1px solid var(--lv-you-line); border-radius: 14px; background: var(--lv-you-bg); }
html[data-theme="dark"] .lv-q label { color: var(--lv-you); }
html[data-theme="dark"] .lv-pick button { border-radius: 12px; border: 1px solid var(--lv-you-line); background: var(--lv-tile); color: var(--lv-you); }
html[data-theme="dark"] .lv-pick select { border-radius: 12px; border: 1px solid var(--lv-you-line); background: var(--lv-tile); color: var(--lv-you); }
html[data-theme="dark"] .lv-res b { color: var(--lv-net); }
@media (max-width: 640px) {
html[data-theme="dark"] .lv-res { border-top: 1px solid var(--lv-you-line); }
}
html[data-theme="dark"] .lv-fix svg { background: var(--lv-page); }
html[data-theme="dark"] .lv-dots { background: linear-gradient(to right, var(--lv-page) 55%, transparent); color: var(--muted); }
html[data-theme="dark"] .levels .res-note b { color: var(--text); }

/* tools/dark-extra.css */
/* Hand-made dark overrides, added to the end of dark.css by tools/dark.py.
   Palette ("Call Clock", teal accent): bg #0E131C, panel #161D2A,
   line #283142, ink #EAEFF7, muted #8593A8, accent #4FD1C5. */
html[data-theme="dark"] { color-scheme: dark; --text: #eaeff7; --muted: #8593a8; --line: #283142; }
html[data-theme="dark"] body { background: #0e131c; }
html[data-theme="dark"] body.home-body { background: #0e131c; }
html[data-theme="dark"] .guide-page .step-body, html[data-theme="dark"] [dir="rtl"] .guide-page .step-body { background: #161d2a; border-color: #283142; }
/* Net result chips in the trades table: light green or pink, dark text. */
html[data-theme="dark"] #home-trades td.net.pos > span { background: #afec7b; color: #1f4a00; border-color: #afec7b; }
html[data-theme="dark"] #home-trades td.net.neg > span { background: #f4a19b; color: #6e1a14; border-color: #f4a19b; }
/* Chart marker line and its label (Copy trading start). */
html[data-theme="dark"] .chart .marker { stroke: #8593a8; }
html[data-theme="dark"] .chart .marker-label { fill: #eaeff7; }
/* Green and purple boxes: opaque pastel with dark text, as asked; the dark
   tiles inside them keep their own light text. */
html[data-theme="dark"] .home-left .flip-box, html[data-theme="dark"] .home .amp-group.amp-net,
html[data-theme="dark"] .grand, html[data-theme="dark"] .plan-ex, html[data-theme="dark"] .gb-ladder li.done {
  background: #c9e59a; border-color: #b3d57a; color: #24380a; }
html[data-theme="dark"] .tile.tile-input, html[data-theme="dark"] .home .tile.tile-input,
html[data-theme="dark"] .home .amp-group .tile.tile-input, html[data-theme="dark"] .pool, html[data-theme="dark"] .pool-2 {
  background: #d6cbf5; border-color: #c0b0ee; color: #2e1f66; }
html[data-theme="dark"] .tile.tile-input .k, html[data-theme="dark"] .tile.tile-input .hint { color: #3b2585; }
html[data-theme="dark"] .grand *, html[data-theme="dark"] .plan-ex *, html[data-theme="dark"] .gb-ladder li.done *,
html[data-theme="dark"] .pool > *:not(.tile), html[data-theme="dark"] .pool-2 > *:not(.tile) { color: inherit; }
html[data-theme="dark"] .flip-box .tile, html[data-theme="dark"] .amp-group.amp-net .tile:not(.tile-input) { color: var(--text); }
/* Typed amounts: lighter, easy to read on the dark field. */
html[data-theme="dark"] .balance-input { color: #c9b8ff; }
/* Amounts and small print inside the pastel boxes: dark enough to read. */
html[data-theme="dark"] .amp-group.amp-net .aff-sum-k, html[data-theme="dark"] .grand-k, html[data-theme="dark"] .grand-period { color: #24380a; }
html[data-theme="dark"] .amp-group.amp-net .aff-week strong, html[data-theme="dark"] .grand-sum .part.total b { color: #1f5fae; }
html[data-theme="dark"] .amp-group.amp-net .aff-month strong, html[data-theme="dark"] .grand-sum .part b, html[data-theme="dark"] .grand-total { color: #2f6a00; }
html[data-theme="dark"] .amp-group.amp-net .aff-sum small, html[data-theme="dark"] .grand-sum .part small,
html[data-theme="dark"] .grand-sum .op, html[data-theme="dark"] .grand-head small { color: #4f5f3a; }
html[data-theme="dark"] .pool-val { color: #3b2585; }
html[data-theme="dark"] .pool, html[data-theme="dark"] .pool-2 { color: #2e1f66; }
html[data-theme="dark"] .pool *:not(.pool-val) { color: #3b2585; }
html[data-theme="dark"] .home .aff .weekly-box .aff-pair .amp-group legend { color: #24380a; }
/* Time zones tick: white on the teal box. */
html[data-theme="dark"] .tz-toggle span::after { border-color: #fff; }
/* The selected tab and the pressed range buttons stand out by inverting,
   light on the dark page, as they are dark on the light one. */
html[data-theme="dark"] .home .page-tab[aria-selected="true"], html[data-theme="dark"] .page-tab[aria-selected="true"] { background: #eaeff7; color: #0e131c; border-color: #eaeff7; }
html[data-theme="dark"] .ranges .range[aria-pressed="true"], html[data-theme="dark"] .amp-switch .range[aria-pressed="true"] { background: #eaeff7; color: #0e131c; }
/* General bonus ladder: each bar in the colour of its percent label (the
   bars keep their 0.8 opacity, the 20% difference of the light theme). */
html[data-theme="dark"] .fill.c1 { background: #2a78d6; }
html[data-theme="dark"] .fill.c2 { background: #6fe9bd; }
html[data-theme="dark"] .fill.c3 { background: #e9c268; }
html[data-theme="dark"] .fill.c4 { background: #eb6834; }
html[data-theme="dark"] .fill.c5 { background: #6d4fd8; }
html[data-theme="dark"] .fill.c6 { background: #70deeb; }
html[data-theme="dark"] .fill.c7 { background: #d6457f; }
html[data-theme="dark"] .fill.c8 { background: #a7b9cd; }
html[data-theme="dark"] .fill.c9 { background: #eccb7b; }

/* Guide steps 4 and 5: the app windows stay on white, as in the app. */
html[data-theme="dark"] .shot.shot-white { background: #fff; }

/* Orange note: the side bar keeps its colour, like the warning's. */
html[data-theme="dark"] .callout.orange { border-left-color: #ef8a3c; }
html[data-theme="dark"] [dir="rtl"] .callout.orange { border-right-color: #ef8a3c; }

/* Guide: the EpixPay logo (transparent) turns white on the dark page. */
html[data-theme="dark"] .epix-head img,
html[data-theme="dark"] .tag-epix img { filter: brightness(0) invert(1); }

/* Guide: the EpixPay heading, light on the dark page. */
html[data-theme="dark"] .epix-title { color: #eaeff7; }

/* Compound page: the month marks in teal with dark text, the button that
   opens every day light on dark, inverted on hover. */
html[data-theme="dark"] .cmp-tag { background: #4fd1c5; color: #0e131c; }
html[data-theme="dark"] table.res tr.cmp-mark td { background: #16302f; }
html[data-theme="dark"] .cmp-more { color: #eaeff7; background: transparent; border-color: #eaeff7; }
html[data-theme="dark"] .cmp-more:hover { background: #eaeff7; color: #0e131c; }
html[data-theme="dark"] table.res tr.cmp-mark.cmp-soft td { background: #13242a; }
html[data-theme="dark"] .cmp-soft .cmp-tag { background: rgba(79, 209, 197, 0.6); }
/* Compound page, phones: the year row light on the dark page. */
html[data-theme="dark"] table.res tr.cmp-year td { color: #0e131c; background: #eaeff7; }
/* Compound page: the lengths on a dark navy blue with a lighter edge, unlike
   the grey tiles below, so they read as buttons; the chosen one light. */
html[data-theme="dark"] .cmp-span { background: #1a3358; box-shadow: inset 0 0 0 1px #2f5089; }
html[data-theme="dark"] .cmp-span .range { color: #a9c1e6; }
html[data-theme="dark"] .cmp-span .range:hover { color: #fff; }
html[data-theme="dark"] .cmp-span .range[aria-pressed="true"] { background: #eaeff7; color: #0e131c; }
/* Qualification page: the drawing's colours on the dark page. */
html[data-theme="dark"] .levels { --lv-you: #a893f0; --lv-you-bg: #221d3d; --lv-you-line: #3b3170; --lv-net: #5b9ee6; --lv-sq: #4ea6e0; --lv-wire: #35c79a; --lv-net-bg: #15263a; --lv-net-line: #223a5c; --lv-off: #3a4558; --lv-off-bg: #121925; --lv-off-line: #222b3a; --lv-off-text: #6d7a90; --lv-page: #0E131C; --lv-tile: #1b2433; }
