/* The dark palette retains the same translucent glass, with readable ink. */
html[data-theme=dark]{--bg:#0b1020;--text:#edf2fc;--muted:#a8b5cd;--accent:#89baff;--gold:#d0b582;--cyan:#73cad1;--line:#d1dfff20;--glass:#18243d9c;color-scheme:dark}
html[data-theme=dark] body{background:#0b1020;color:var(--text)}
html[data-theme=dark] .ambient i{opacity:.19}
html[data-theme=dark] .ambient i:nth-child(1){background:#2068c7}
html[data-theme=dark] .ambient i:nth-child(2){background:#7847cd}
html[data-theme=dark] .ambient i:nth-child(3){background:#168d9b;opacity:.12}
html[data-theme=dark] .header-inner{background:linear-gradient(140deg,#1c2944e8,#111b30c9);border-color:#e0eaff2e;box-shadow:0 8px 35px #0003,inset 0 1px 1px #ffffff1a}
html[data-theme=dark] .brand img{filter:brightness(1.12)}
html[data-theme=dark] .header nav a{color:#c0cbe0}
html[data-theme=dark] .header nav a:hover{background:#b8d4ff0d}
html[data-theme=dark] .header nav a.current{background:#c2dbff12;color:#a8ceff;box-shadow:inset 0 1px 1px #ffffff10,0 2px 10px #0001}
html[data-theme=dark] .header-cta{background:linear-gradient(150deg,#cbdcf3,#a6c3ef);color:#13203a;border-color:#ffffff38;box-shadow:0 4px 12px #0002}
html[data-theme=dark] .theme-toggle,html[data-theme=dark] .menu-toggle{color:#c8d8f2;background:#c6dbff0f;border-color:#dceaff29;box-shadow:inset 0 1px 1px #ffffff0d,0 3px 12px #0001}
html[data-theme=dark] .theme-toggle:hover{background:#c6dbff1f}
html[data-theme=dark] .menu-toggle span{background:#b9cce8}
html[data-theme=dark] .hero-copy>.eyebrow{color:#c4cfe1;background:#bdcfff0b;border-color:#d6e7ff26;box-shadow:inset 0 1px 1px #ffffff12}
html[data-theme=dark] .hero-overline{color:#a0b1cf}
html[data-theme=dark] .hero h1 em{background-image:linear-gradient(105deg,#6dd7e8 5%,#82b9ff 38%,#bb9bf6 72%,#f0c2ed 95%)}
html[data-theme=dark] .primary{background:linear-gradient(150deg,#469eff,#2875ef);color:#fff;border-color:#ffffff28;box-shadow:0 7px 25px #006eff25,inset 0 1px 1px #ffffff38}
html[data-theme=dark] .primary:hover{box-shadow:0 12px 35px #006eff38,inset 0 1px 1px #ffffff38}
html[data-theme=dark] .secondary{background:linear-gradient(130deg,#263854b3,#1826408c);border-color:#d2e3ff2e;color:#b4d3ff;box-shadow:0 5px 20px #0002,inset 0 1px 1px #ffffff17}
html[data-theme=dark] .stage-aura{background:radial-gradient(ellipse,#296cc351 0%,#7851b82e 45%,transparent 72%)}
html[data-theme=dark] .portrait{border-color:#c8dcff38;box-shadow:0 30px 70px #0005,0 0 45px #5580bc18}
html[data-theme=dark] .portrait-shade{background:linear-gradient(0deg,#0c1429bd,transparent)}
html[data-theme=dark] .glass-orbit{background:linear-gradient(145deg,#b9d4ff08,#7597d805 50%,#b9d4ff12);border-color:#bbd9ff24;box-shadow:inset 0 3px 8px #d8e7ff0c,inset 0 -3px 10px #28559522,0 15px 25px #0002}
html[data-theme=dark] .orbit-two{border-color:#cbe0ff1f}
html[data-theme=dark] .floating-wave,html[data-theme=dark] .insight-pill{background:linear-gradient(135deg,#263b5ccf,#18253db3);border-color:#d6e7ff32;box-shadow:0 25px 60px #0004,inset 0 1px 2px #ffffff18;backdrop-filter:blur(26px) saturate(160%);-webkit-backdrop-filter:blur(26px) saturate(160%)}
html[data-theme=dark] .floating-top{color:#b9c8df}
html[data-theme=dark] .floating-top .gold{color:#9bc9ff}
html[data-theme=dark] .chart-grid{stroke:#afcaff17}
html[data-theme=dark] .wave-trace{stroke:#8bbcff}
html[data-theme=dark] .wave-labels{fill:#b9cdea}
html[data-theme=dark] .micro-label{color:#8fa4c4}
html[data-theme=dark] .insight-icon{background:linear-gradient(135deg,#305a88,#52477b);color:#bbdbff;box-shadow:inset 0 1px 2px #ffffff1c}
html[data-theme=dark] .insight-pill small{color:#afbed5}
html[data-theme=dark] .insight-pill strong{color:#dfeaff}
html[data-theme=dark] .scroll-cue{color:#a6b6d0}
html[data-theme=dark] .scroll-cue span{background:#cfddff10;border-color:#d7e7ff23;color:#bbd3f2}
html[data-theme=dark] .market-inner .strip-label,html[data-theme=dark] .market-inner small{color:#8fa2c1}
html[data-theme=dark] .market-inner b{color:#c6d3e9}
html[data-theme=dark] .market-inner svg{stroke:#6daabb}
html[data-theme=dark] .section-number{color:#a8cfff;border-color:#a0c9ff25;background:#bbd7ff0a}
html[data-theme=dark] h2 em,html[data-theme=dark] .section-top h2 em{color:#9aaac6}
html[data-theme=dark] .label{color:#9cacc8}
html[data-theme=dark] .analysis-panel{background:linear-gradient(140deg,#202f49c9,#132038a8);border-color:#d9e7ff29;box-shadow:0 40px 95px #0003,inset 0 1px 2px #ffffff12}
html[data-theme=dark] .analysis-toolbar{color:#9bacc8}
html[data-theme=dark] .tag{color:#c3d4ef}
html[data-theme=dark] .tag span{color:#8b9cba}
html[data-theme=dark] .analysis-toolbar>.latin-label{color:#91a6c7}
html[data-theme=dark] .window-dots{opacity:.6}
html[data-theme=dark] .chart-button{box-shadow:0 8px 25px #0002}
html[data-theme=dark] .chart-button>span,html[data-theme=dark] .archive-card>button span{background:#14223ad9;border-color:#d7e7ff38;color:#d3e6ff;box-shadow:0 5px 15px #0003}
html[data-theme=dark] .switch{background:#080f2099;border-color:#c9dfff21;box-shadow:inset 0 2px 3px #0002}
html[data-theme=dark] .switch button{color:#99aac9}
html[data-theme=dark] .switch button[aria-pressed=true]{background:linear-gradient(150deg,#3a4d6cc4,#2a3d5ea8);color:#dcecff;box-shadow:0 3px 10px #0002,inset 0 1px 1px #ffffff19}
html[data-theme=dark] .analysis-footnote{color:#91a4c6}
html[data-theme=dark] .analysis-footnote>span{color:#91b5de}
html[data-theme=dark] .analysis-bottom{color:#9bacc8}
html[data-theme=dark] .analysis-bottom>span:first-child{color:#8ec5cd}
html[data-theme=dark] .archive-head>span{color:#91a5c4}
html[data-theme=dark] .archive-filters button{color:#b0bfd8}
html[data-theme=dark] .archive-filters button:hover{background:#b0d4ff10}
html[data-theme=dark] .archive-filters button[aria-pressed=true]{color:#c4dfff;background:#bed7ff10;border-color:#d7e9ff22;box-shadow:inset 0 1px 1px #ffffff10}
html[data-theme=dark] .archive-grid{scrollbar-color:#3e5476 transparent}
html[data-theme=dark] .archive-card{background:#1b2a43a6;border-color:#dae7ff21;box-shadow:0 10px 25px #0002}
html[data-theme=dark] .archive-card:hover{box-shadow:0 20px 40px #0003}
html[data-theme=dark] .archive-meta>span:last-child,html[data-theme=dark] .archive-copy p{color:#91a7c7}
html[data-theme=dark] .method-wrap{background:radial-gradient(ellipse at 8% 60%,#1c35674d,transparent 55%),linear-gradient(180deg,#0b1020,#101c32 50%,#0b1020)}
html[data-theme=dark] .step-index{color:#8ba5ca}
html[data-theme=dark] .step-mark{color:#87addb}
html[data-theme=dark] .wave-study{background:linear-gradient(140deg,#263b5bc9,#1827418c);border-color:#dfebff29;box-shadow:0 30px 80px #0003,inset 0 1px 2px #ffffff14}
html[data-theme=dark] .study-top .latin-label{color:#99afd1}
html[data-theme=dark] .fib-line{stroke:#a1c2ef2e}
html[data-theme=dark] .fib-values{fill:#91a9cc}
html[data-theme=dark] .impulse-line,html[data-theme=dark] .correction-line{stroke:#8abaff;filter:drop-shadow(0 5px 8px #3178d139)}
html[data-theme=dark] .impulse-labels,html[data-theme=dark] .correction-labels{fill:#a6c8f6}
html[data-theme=dark] #wave-diagram[data-mode=correction] .correction-line{stroke:#c1a4ff}
html[data-theme=dark] #wave-diagram[data-mode=correction] .correction-labels{fill:#c1a4ff}
html[data-theme=dark] .course-art{background:linear-gradient(135deg,#1e3d5d,#323e6c 50%,#534067);border-color:#d8e7ff2b;box-shadow:0 25px 50px #0003}
html[data-theme=dark] .course-kicker,html[data-theme=dark] .course-art-bottom{color:#b1c3e4}
html[data-theme=dark] .course-art strong em{color:#b5b8ff}
html[data-theme=dark] .course-orb{background:radial-gradient(circle at 32% 25%,#b6dfff5e,#679add29 37%,#826acb32 65%,#bed7ff51);border-color:#d5e7ff29;box-shadow:inset 4px 4px 20px #e3f3ff1a,inset -12px -14px 25px #324f8d60,0 20px 40px #0003}
html[data-theme=dark] .course-art svg{stroke:#c1daff66}
html[data-theme=dark] .pill{color:#aecbfa;background:#bcd6ff0d;border-color:#cfddff1e}
html[data-theme=dark] .course-copy ul{color:#aebdd5}
html[data-theme=dark] .course-copy li::marker{color:#91b6e6}
html[data-theme=dark] .course-backup{color:#97aed1}
html[data-theme=dark] .lesson{border-bottom-color:#bbd5ff17}
html[data-theme=dark] .lesson-number,html[data-theme=dark] .lesson small{color:#99aece}
html[data-theme=dark] .lesson-play{color:#b0d2ff;border-color:#e5eeff29;background:#bed7ff0d;box-shadow:inset 0 1px 1px #ffffff10}
html[data-theme=dark] .social-wrap{background:radial-gradient(ellipse at 15% 60%,#3c2a6645,transparent 55%),radial-gradient(ellipse at 85% 70%,#193d5b4d,transparent 60%)}
html[data-theme=dark] .social-grid article{background:linear-gradient(145deg,#26374dc7,#1c244155);border-color:#e0eaff29;box-shadow:0 30px 65px #0003,inset 0 1px 2px #ffffff14}
html[data-theme=dark] .social-card-top{color:#c3d4ed}
html[data-theme=dark] .social-card-top .pill{background:#c5dcff0d}
html[data-theme=dark] .social-icon{background:linear-gradient(150deg,#b3d4ff17,#bed9ff0b);border-color:#e3edff21;box-shadow:0 5px 13px #0002}
html[data-theme=dark] .youtube-icon{color:#ff9ba3}
html[data-theme=dark] .instagram-icon{color:#d9a8f3}
html[data-theme=dark] .instagram-handle{color:#c8aee3}
html[data-theme=dark] .connection-note{color:#b2aac5}
html[data-theme=dark] .social-card-watermark{color:#7587be;opacity:.1}
html[data-theme=dark] .broker-card{border-bottom-color:#bad0f21a}
html[data-theme=dark] .broker-logo{background:linear-gradient(140deg,#c4ddff12,#adcfff08);border-color:#dbe7ff29;box-shadow:0 10px 30px #0002}
html[data-theme=dark] .broker-card:nth-child(2) .broker-logo{background:linear-gradient(140deg,#24354f,#2f425f);border-color:#d9e7ff26}
html[data-theme=dark] .xm-logo{background:linear-gradient(140deg,#f0f4fb,#d5e0f1)}
html[data-theme=dark] .broker-card .label{color:#9aafd1}
html[data-theme=dark] .broker-detail{border-color:#dbe9ff2b;background:#bdd9ff0c;color:#b1d3ff;box-shadow:inset 0 1px 1px #ffffff10}
html[data-theme=dark] .affiliate-pending{color:#91a8cd}
html[data-theme=dark] .broker-disclosure{color:#a0b2d0}
html[data-theme=dark] .broker-disclosure>span{color:#9dc3f4}
html[data-theme=dark] .about-wrap{background:radial-gradient(ellipse at 80% 40%,#203c7045,transparent 65%),linear-gradient(180deg,#0b1020,#101c31 70%,#0b1020)}
html[data-theme=dark] .about-photo:before{border-color:#d7e8ff26;background:linear-gradient(135deg,#2846706b,#4d326573);box-shadow:0 25px 50px #0002}
html[data-theme=dark] .about-photo img{border-color:#bcd4fa2e;box-shadow:0 25px 70px #0004}
html[data-theme=dark] .faq-list details{border-bottom-color:#c4d9fa1c}
html[data-theme=dark] .faq-list summary>span{color:#a1c0ec}
html[data-theme=dark] .community-banner{background:radial-gradient(ellipse at 50% 100%,#22477e73,transparent 70%)}
html[data-theme=dark] .community-banner .eyebrow{color:#9eb9de}
html[data-theme=dark] .community-banner h2 em{color:#99caff}
html[data-theme=dark] .community-banner svg{stroke:#a0c9ff;opacity:.1}
html[data-theme=dark] .footer{background:#080d19;border-top-color:#c7ddff16}
html[data-theme=dark] .footer-main p{color:#91a7c8}
html[data-theme=dark] .footer-links,html[data-theme=dark] .socials{color:#a4b9d8}
html[data-theme=dark] .footer-bottom{border-top-color:#bfd6ff1c;color:#91a6c8}
html[data-theme=dark] dialog{background:#111d31f5;border-color:#d7e7ff30;color:#edf3ff;box-shadow:0 40px 120px #0006,inset 0 1px 2px #ffffff12}
html[data-theme=dark] dialog::backdrop{background:#020612a6}
html[data-theme=dark] .dialog-head{background:#17243bdc;border-bottom-color:#cadaf21c}
html[data-theme=dark] .dialog-head button{background:#a8c8ff12;border-color:#ddeaff24;color:#bad5ff}
html[data-theme=dark] .dialog-head button:hover{background:#c8dfff20;color:#e3efff}
html[data-theme=dark] .broker-dialog>.analysis-note{color:#9bafd0}
html[data-theme=dark] [data-glass-tilt]:after{background:radial-gradient(circle at var(--glint-x,30%) var(--glint-y,15%),#bed8ff1c,transparent 55%)}
@media(max-width:700px){html[data-theme=dark] .header nav{background:#14223af5;border-color:#dbe8ff26;box-shadow:0 20px 50px #0005}html[data-theme=dark] .header nav a.current{background:#bbd4ff13}}
@supports not (backdrop-filter:blur(10px)){html[data-theme=dark] .header-inner{background:#18243bf5}html[data-theme=dark] .floating-wave,html[data-theme=dark] .insight-pill,html[data-theme=dark] .wave-study,html[data-theme=dark] .social-grid article{background:#1b2b46f5}html[data-theme=dark] .secondary{background:#243550}}
html[data-theme=dark] .topfx-logo-light{display:none}html[data-theme=dark] .topfx-logo-dark{display:block}html[data-theme=dark] .broker-card .broker-brand>.label{color:#9aafd1}html[data-theme=dark] .site-credit{color:#91a6c8}
html[data-theme=dark] .broker-offer{border-top-color:#cfe1ff20}html[data-theme=dark] .broker-dialog .offer-summary{color:#9fcaff}html[data-theme=dark] .offer-markets li{background:#a8cdff0b;border-color:#d4e4ff20;color:#b4cae8}html[data-theme=dark] .offer-benefits li::before{color:#86c5c7}html[data-theme=dark] .partner-code{background:linear-gradient(140deg,#2b416366,#1e31544d);border-color:#d6e7ff26;box-shadow:inset 0 1px 1px #ffffff0e,0 5px 20px #0001}html[data-theme=dark] .copy-partner-code{background:#c3dcff0d;border-color:#d5e5ff25;color:#b1d4ff}html[data-theme=dark] .copy-partner-code:hover{background:#c3dcff1c}html[data-theme=dark] .broker-dialog>.affiliate-disclosure{color:#99afcf}html[data-theme=dark] .affiliate-ready{color:#91bfc5}html[data-theme=dark] .community-markets>span{background:#b3d3ff0b;border-color:#dbeaff26;color:#a9c4eb}html[data-theme=dark] .community-benefits li>span{color:#8cc7ca}html[data-theme=dark] .community-free{color:#a1cae5}
html[data-theme=dark] .vip-hero h1 em{background-image:linear-gradient(105deg,#7bdcec,#92befe,#c3a3f3)}html[data-theme=dark] .vip-hero>.plain-link{color:#a1b9db}html[data-theme=dark] .vip-hero-tags>span{border-color:#d5e7ff23;background:#b7d0ff0c;color:#b3c7e7}html[data-theme=dark] .vip-plan{border-color:#d7e7ff2a;background:linear-gradient(140deg,#273b5bc9,#16243d91);box-shadow:0 30px 70px #0003,inset 0 1px 2px #ffffff10}html[data-theme=dark] .vip-plan-plus{background:linear-gradient(140deg,#363658c9,#19334c99);box-shadow:0 30px 80px #0004,inset 0 1px 2px #ffffff13}html[data-theme=dark] .vip-platform-icon{border-color:#dae8ff29;background:linear-gradient(140deg,#b8d5ff1c,#b8d5ff08);color:#a4d8f9;box-shadow:0 7px 20px #0001}html[data-theme=dark] .whatsapp-icon{color:#a5decd}html[data-theme=dark] .vip-plan>h2 em{color:#a1c7ff}html[data-theme=dark] .vip-deposit{border-block-color:#bed8ff20}html[data-theme=dark] .vip-deposit strong{color:#d9e7fc}html[data-theme=dark] .vip-deposit strong>span,html[data-theme=dark] .vip-deposit>small{color:#9fb2cf}html[data-theme=dark] .vip-features li::before{color:#9bced2}html[data-theme=dark] .vip-eligibility{color:#9fb3d2}html[data-theme=dark] .vip-market-line>span{color:#b2c6e1}html[data-theme=dark] .vip-market-line b{color:#9fc5f7}html[data-theme=dark] .vip-join-wrap{background:radial-gradient(ellipse at 15% 75%,#243f704d,transparent 60%),radial-gradient(ellipse at 90% 50%,#40305e4d,transparent 65%)}html[data-theme=dark] .vip-request{border-color:#dae8ff24;background:linear-gradient(140deg,#273d5cb0,#1b274369);box-shadow:0 20px 50px #0003}html[data-theme=dark] .vip-request>label{color:#b4cbed}html[data-theme=dark] .vip-request>select{border-color:#cee3ff26;background:#accdff0a}html[data-theme=dark] .vip-request>select option{background:#17253d;color:#e1edff}html[data-theme=dark] .vip-request>.vip-contact-note{color:#9cb1d0}html[data-theme=dark] .vip-message-fallback summary{color:#a2c4f4}html[data-theme=dark] .vip-message-fallback textarea{border-color:#dceaff23;background:#b8d4ff0a}
html[data-theme=dark] .broker-promotions{border-top-color:#cfe1ff20}html[data-theme=dark] .broker-promotions>.promotion-note{color:#99afcf}html[data-theme=dark] .broker-service-details{background:#c4dfff08;border-color:#dceaff23}html[data-theme=dark] .broker-service-details>summary{color:#b0ccf2}
