@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
/* ZERO FLOWSTATE Dark theme — pure black. Applied when <html data-theme="dark">
 * The design keeps the exact light layout; only white surfaces turn black and
 * text turns white (like a light→dark inversion), with the brand green accent. */
html[data-theme="dark"]{
  --bg:#000;--bg2:#050505;--panel:#0a0a0a;--panel2:#111;--line:#262626;--text:#f2f2f2;--muted:#9a9a9a;--muted2:#c9c9c9;--green:#43e6a4;--green2:#b5ffd9;--red:#ff6f7d;--amber:#f6c76d;--blue:#62a9ff;--shadow:0 20px 50px rgba(0,0,0,.6);--surface:#0d0d0d;--ink:#e0e0e0;--border:#262626;--card:#0a0a0a;--input:#111;
}
html[data-theme="dark"] body,html[data-theme="dark"] html{
  background:radial-gradient(circle at 60% -10%,#0b1512 0,transparent 34%),#000!important;
}
html[data-theme="dark"] .sidebar{
  background:#000!important;
  border:1px solid #1f1f1f!important;
  box-shadow:18px 0 40px rgba(0,0,0,.55)!important;
}
html[data-theme="dark"] .brand-mark{
  background:linear-gradient(145deg,#43e6a4,#0b7b55)!important;
  color:#05120d!important;
  box-shadow:0 10px 28px rgba(67,230,164,.14)!important;
}
html[data-theme="dark"] .brand-name{color:#f5f5f5!important}
html[data-theme="dark"] .brand-sub,
html[data-theme="dark"] .sidebar-foot,
html[data-theme="dark"] .account-card small{color:#8a8a8a!important}
html[data-theme="dark"] .account-card{background:#0a0a0a!important;border:1px solid #222!important;box-shadow:0 12px 30px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .account-card strong{color:#eee!important}
html[data-theme="dark"] .nav-item{color:#b5b5b5!important}
html[data-theme="dark"] .nav-item span{color:#777!important}
html[data-theme="dark"] .nav-item:hover{background:#131313!important;color:#fff!important}
html[data-theme="dark"] .nav-item.active{background:linear-gradient(90deg,rgba(67,230,164,.12),rgba(67,230,164,.03))!important;color:#7df0bc!important;border:1px solid #1d4032!important;box-shadow:inset 2px 0 #43e6a4!important}
html[data-theme="dark"] .nav-item.active span{color:#43e6a4!important}
html[data-theme="dark"] .topbar{
  background:rgba(0,0,0,.9)!important;
  border-bottom:1px solid #1f1f1f!important;
  box-shadow:0 12px 30px rgba(0,0,0,.4)!important;
}
html[data-theme="dark"] .topbar h1,
html[data-theme="dark"] .hero-row h2,
html[data-theme="dark"] .section-intro h2,
html[data-theme="dark"] .panel-head h3,
html[data-theme="dark"] .ai-hero h2{color:#f5f5f5!important}
html[data-theme="dark"] .hero-row p,
html[data-theme="dark"] .section-intro p,
html[data-theme="dark"] .insight-sub,
html[data-theme="dark"] .ai-empty p,
html[data-theme="dark"] .ai-hero p{color:#9a9a9a!important}
html[data-theme="dark"] .period-switch,
html[data-theme="dark"] .calendar-nav button,
html[data-theme="dark"] .icon-btn{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#cfcfcf!important}
html[data-theme="dark"] .period-switch button{color:#8a8a8a!important}
html[data-theme="dark"] .period-switch button.active{background:#123324!important;color:#7df0bc!important}
html[data-theme="dark"] .btn{border-color:#2a2a2a!important}
html[data-theme="dark"] .btn-primary{
  background:linear-gradient(180deg,#37c08f,#22a879)!important;
  border-color:#22a879!important;color:#fff!important;
  box-shadow:0 10px 22px rgba(39,180,131,.22)!important;
}
html[data-theme="dark"] .btn-ghost{background:#111!important;color:#cfcfcf!important}
html[data-theme="dark"] .btn.danger{background:rgba(255,111,125,.1)!important;border-color:rgba(255,111,125,.32)!important;color:#ff9da6!important}
html[data-theme="dark"] .status-pill{border-color:rgba(67,230,164,.2)!important;background:rgba(67,230,164,.06)!important;color:#a6cbbd!important}
html[data-theme="dark"] .status-pill span{background:#43e6a4!important}
html[data-theme="dark"] .hero-stat small,
html[data-theme="dark"] .kpi-label,
html[data-theme="dark"] .panel-kicker,
html[data-theme="dark"] .legend,
html[data-theme="dark"] .insight-sub,
html[data-theme="dark"] .kpi-meta,
html[data-theme="dark"] th,
html[data-theme="dark"] .day-number,
html[data-theme="dark"] .day-sub,
html[data-theme="dark"] .toggle-row small,
html[data-theme="dark"] .connector-list small,
html[data-theme="dark"] .metric-row .right small,
html[data-theme="dark"] .donut-center small,
html[data-theme="dark"] .rank-title span,
html[data-theme="dark"] .rank-score small{color:#8a8a8a!important}
html[data-theme="dark"] .hero-stat strong,
html[data-theme="dark"] .insight-main,
html[data-theme="dark"] .kpi-value,
html[data-theme="dark"] .setup-big,
html[data-theme="dark"] .rank-score strong,
html[data-theme="dark"] .pos{color:#43e6a4!important}
html[data-theme="dark"] .kpi-card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .setup-card,
html[data-theme="dark"] .ai-card{
  background:linear-gradient(150deg,#0f0f0f,#090909)!important;
  border:1px solid #262626!important;
  box-shadow:0 20px 50px rgba(0,0,0,.55)!important;
}
html[data-theme="dark"] .kpi-card.accent:after{background:#43e6a4!important;opacity:.1!important}
html[data-theme="dark"] .bar,
html[data-theme="dark"] .mini-track,
html[data-theme="dark"] .setup-stats,
html[data-theme="dark"] .calc-strip{background:#161616!important;border-color:#161616!important}
html[data-theme="dark"] .bar i,
html[data-theme="dark"] .mini-track i{background:linear-gradient(90deg,#5bcda4,#25b283)!important}
html[data-theme="dark"] td{color:#c9c9c9!important;border-bottom:1px solid #1c1c1c!important}
html[data-theme="dark"] tbody tr:hover{background:rgba(255,255,255,.03)!important}
html[data-theme="dark"] .side-pill.buy,
html[data-theme="dark"] .result-pill.win{background:rgba(67,230,164,.09)!important}
html[data-theme="dark"] .side-pill.sell,
html[data-theme="dark"] .result-pill.loss{background:rgba(255,111,125,.1)!important;color:#ff9da6!important}
html[data-theme="dark"] .result-pill.be{background:rgba(246,199,109,.09)!important;color:#f6c76d!important}
html[data-theme="dark"] .tag-mini,
html[data-theme="dark"] .tag-chip{border:1px solid #20342c!important;background:#0e1a15!important;color:#9bc8b9!important}
html[data-theme="dark"] .tag-chip.selected{border-color:#329b75!important;background:rgba(67,230,164,.09)!important;color:#7df0bc!important}
html[data-theme="dark"] label{color:#9a9a9a!important}
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea{
  background:#0d0d0d!important;color:#eee!important;
  border:1px solid #2a2a2a!important;
  box-shadow:none!important;
}
html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus{border-color:#2d745c!important;box-shadow:0 0 0 4px rgba(67,230,164,.07)!important}
html[data-theme="dark"] .calc-strip div,
html[data-theme="dark"] .setup-stats div,
html[data-theme="dark"] .connector-list>div,
html[data-theme="dark"] .heat-cell,
html[data-theme="dark"] .csv-example pre,
html[data-theme="dark"] .calendar-nav button,
html[data-theme="dark"] .toggle-row,
html[data-theme="dark"] .upload-box,
html[data-theme="dark"] .tag-picker,
html[data-theme="dark"] .account-card,
html[data-theme="dark"] .import-drop,
html[data-theme="dark"] .ai-empty,
html[data-theme="dark"] .ai-card,
html[data-theme="dark"] .trade-form,
html[data-theme="dark"] .settings-form,
html[data-theme="dark"] .setup-card{background:#0a0a0a!important}
html[data-theme="dark"] .calc-strip strong,
html[data-theme="dark"] .toggle-row strong,
html[data-theme="dark"] .connector-list strong,
html[data-theme="dark"] .metric-row .right strong,
html[data-theme="dark"] .donut-center strong,
html[data-theme="dark"] .rank-title strong,
html[data-theme="dark"] .setup-stats strong,
html[data-theme="dark"] .setup-card h3,
html[data-theme="dark"] .ai-card h3{color:#f5f5f5!important}
html[data-theme="dark"] .upload-box{border:1px dashed #333!important;color:#9a9a9a!important}
html[data-theme="dark"] .upload-box span,
html[data-theme="dark"] .upload-box small,
html[data-theme="dark"] .import-drop p,
html[data-theme="dark"] .import-drop small{color:#9a9a9a!important}
html[data-theme="dark"] .heat-cell.win2{background:rgba(67,230,164,.12)!important;border-color:rgba(67,230,164,.2)!important}
html[data-theme="dark"] .heat-cell.win1{background:rgba(67,230,164,.05)!important}
html[data-theme="dark"] .heat-cell.loss1{background:rgba(255,111,125,.06)!important}
html[data-theme="dark"] .heat-cell.loss2{background:rgba(255,111,125,.12)!important;border-color:rgba(255,111,125,.18)!important}
html[data-theme="dark"] .donut:after{background:#0a0a0a!important}
html[data-theme="dark"] .day-cell{border-right:1px solid #1c1c1c!important;border-bottom:1px solid #1c1c1c!important}
html[data-theme="dark"] .day-cell.green{background:linear-gradient(150deg,rgba(67,230,164,.07),transparent 60%)!important}
html[data-theme="dark"] .day-cell.red{background:linear-gradient(150deg,rgba(255,111,125,.07),transparent 60%)!important}
html[data-theme="dark"] .csv-example pre{border-color:#2a2a2a!important;color:#9a9a9a!important}
html[data-theme="dark"] .connector-icon{background:#161616!important;color:#43e6a4!important}
html[data-theme="dark"] .ai-icon{background:radial-gradient(circle at 30% 20%,#17331f,#0c1c12)!important;color:#7df0bc!important;box-shadow:0 10px 30px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .ai-orbit{color:#43e6a4!important}
html[data-theme="dark"] .toast{background:#10241c!important;border-color:#275c4b!important;color:#caffea!important}
html[data-theme="dark"] .delete-btn{color:#9a9a9a!important}
html[data-theme="dark"] .delete-btn:hover{color:#ff9da6!important}

/* Dashboard hero + bot showcase */
html[data-theme="dark"] .bot-performance-hero{border-color:#262626!important;background:radial-gradient(circle at 82% 20%,rgba(55,128,239,.14),transparent 30%),linear-gradient(135deg,#0f0f0f,#0a0a0a)!important;box-shadow:0 20px 60px rgba(0,0,0,.5)!important}
html[data-theme="dark"] .bot-performance-copy h2{color:#f5f5f5!important}
html[data-theme="dark"] .bot-performance-copy p{color:#9a9a9a!important}
html[data-theme="dark"] .bot-performance-points{color:#9a9a9a!important}
html[data-theme="dark"] .bot-performance-note{border-color:#262626!important;background:#0a0a0a!important;color:#9a9a9a!important}

/* Member scope bar + subnav */
html[data-theme="dark"] .member-scope-bar{background:#0a0a0a!important;border-color:#262626!important}
html[data-theme="dark"] .member-scope-bar span,
html[data-theme="dark"] .member-scope-bar small{color:#8a8a8a!important}
html[data-theme="dark"] .member-scope-bar b{color:#eee!important}
html[data-theme="dark"] .member-journal-subnav{background:#0a0a0a!important;border-color:#262626!important}
html[data-theme="dark"] .member-journal-subnav button{color:#9a9a9a!important}
html[data-theme="dark"] .member-journal-subnav button.active{background:#123324!important;color:#7df0bc!important}

/* AI Analysis + My Journal expandable hubs — match the black theme */
html[data-theme="dark"] .analysis-nav-group.open{background:linear-gradient(180deg,#0e0d14,#0a0a0c)!important;border-color:#26222e!important;outline:1px solid #26222e!important;box-shadow:0 10px 26px rgba(0,0,0,.5)!important}
html[data-theme="dark"] .analysis-nav-group.open>.analysis-hub{background:#211c38!important;border-color:#3a3158!important;color:#c4b0f2!important}
html[data-theme="dark"] .analysis-nav-group.open>.analysis-hub>span:first-child{color:#a98ce4!important}
html[data-theme="dark"] .analysis-nav-group.open .analysis-hub-copy small,html[data-theme="dark"] .analysis-nav-group.open .analysis-chevron{color:#8f86a8!important}
html[data-theme="dark"] .analysis-subnav button{color:#9a9a9a!important}
html[data-theme="dark"] .analysis-subnav button:hover{background:#16141f!important;color:#e8e2f5!important}
html[data-theme="dark"] .analysis-subnav button.active{background:#2a2347!important;color:#c4b0f2!important;box-shadow:0 4px 14px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .analysis-subnav button small{color:#8a8a8a!important}
html[data-theme="dark"] .analysis-dot{box-shadow:0 0 0 3px rgba(169,140,228,.16)!important}
html[data-theme="dark"] .analysis-dot.analytics{box-shadow:0 0 0 3px rgba(67,191,177,.16)!important}
html[data-theme="dark"] .analysis-dot.history{box-shadow:0 0 0 3px rgba(114,152,216,.16)!important}
html[data-theme="dark"] .analysis-dot.setups{box-shadow:0 0 0 3px rgba(89,185,125,.16)!important}
html[data-theme="dark"] .analysis-dot.calendar{box-shadow:0 0 0 3px rgba(238,140,161,.16)!important}
html[data-theme="dark"] .journal-nav-group.open{background:linear-gradient(180deg,#0d0f0d,#0a0a0a)!important;border-color:#262626!important;outline:1px solid #262626!important;box-shadow:0 10px 26px rgba(0,0,0,.5)!important}
html[data-theme="dark"] .journal-nav-group.open>.journal-hub{background:#123324!important;border-color:#1d4032!important;color:#7df0bc!important}
html[data-theme="dark"] .journal-nav-group.open .journal-hub-copy small,html[data-theme="dark"] .journal-nav-group.open .journal-chevron{color:#8a8a8a!important}
html[data-theme="dark"] .member-journal-subnav button:hover{background:#161616!important;color:#e6e6e6!important}
html[data-theme="dark"] .member-journal-subnav button small{color:#8a8a8a!important}
html[data-theme="dark"] .member-journal-subnav .journal-dot{box-shadow:0 0 0 3px rgba(93,145,231,.16)!important}
html[data-theme="dark"] .member-journal-subnav .journal-dot.add{box-shadow:0 0 0 3px rgba(50,180,145,.16)!important}
html[data-theme="dark"] .member-journal-subnav .journal-dot.history{box-shadow:0 0 0 3px rgba(114,152,216,.16)!important}
html[data-theme="dark"] .member-journal-subnav .journal-dot.analytics{box-shadow:0 0 0 3px rgba(67,191,177,.16)!important}
html[data-theme="dark"] .member-journal-subnav .journal-dot.calendar{box-shadow:0 0 0 3px rgba(238,140,161,.16)!important}
html[data-theme="dark"] .member-journal-subnav .journal-dot.setups{box-shadow:0 0 0 3px rgba(89,185,125,.16)!important}
html[data-theme="dark"] .member-journal-subnav .journal-dot.ai{box-shadow:0 0 0 3px rgba(169,140,228,.16)!important}

/* News Intelligence page (main app shell) */
html[data-theme="dark"] .news-suite-head h2{color:#f5f5f5!important}
html[data-theme="dark"] .news-suite-head p{color:#9a9a9a!important}
html[data-theme="dark"] .news-live-pill{border-color:rgba(45,125,244,.3)!important;background:rgba(45,125,244,.08)!important;color:#7db0ff!important}
html[data-theme="dark"] .news-frame-shell{border-color:#262626!important;background:#050505!important;box-shadow:0 24px 70px rgba(0,0,0,.6)!important}
html[data-theme="dark"] .news-frame-top{border-bottom:1px solid #262626!important;background:linear-gradient(180deg,#0d0d0d,#050505)!important}
html[data-theme="dark"] .news-frame-top b{color:#8a8a8a!important}
html[data-theme="dark"] .news-frame-shell iframe{background:#000!important}
html[data-theme="dark"] .nav-item[data-page="news"] span{color:#347df0!important}
html[data-theme="dark"] .nav-item[data-page="news"].active{background:rgba(45,125,244,.12)!important;border-color:rgba(45,125,244,.3)!important;color:#7db0ff!important}
html[data-theme="dark"] .nav-item[data-page="news"].active span{color:#7db0ff!important}

/* Leaderboard */
html[data-theme="dark"] .leaderboard-page,
html[data-theme="dark"] .leaderboard-list-card,
html[data-theme="dark"] .leaderboard-podium,
html[data-theme="dark"] .leaderboard-toolbar{background:#0a0a0a!important;border-color:#262626!important}
html[data-theme="dark"] .leaderboard-list-card h3,
html[data-theme="dark"] .leaderboard-podium h3{color:#f5f5f5!important}
html[data-theme="dark"] .leaderboard-list-card span,
html[data-theme="dark"] .leaderboard-podium span{color:#9a9a9a!important}
html[data-theme="dark"] .public-performance-toggle{background:#0d0d0d!important;border-color:#2a2a2a!important;box-shadow:none!important;color:#eee!important}
html[data-theme="dark"] .public-performance-toggle b{color:#f5f5f5!important}
html[data-theme="dark"] .public-performance-toggle small,html[data-theme="dark"] .public-performance-toggle span{color:#9a9a9a!important}
html[data-theme="dark"] .leaderboard-periods{background:#161616!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .leaderboard-periods button{color:#9a9a9a!important}
html[data-theme="dark"] .leaderboard-periods button.active{background:#123324!important;color:#7df0bc!important}
html[data-theme="dark"] .leaderboard-search{background:#0d0d0d!important;border-color:#222!important}
html[data-theme="dark"] .leaderboard-search input{background:transparent!important;border:0!important;color:#eee!important}
html[data-theme="dark"] .my-rank-card{background:#0d0d0d!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .my-rank-card b{color:#f5f5f5!important}
html[data-theme="dark"] .my-rank-card span,html[data-theme="dark"] .my-rank-card small{color:#9a9a9a!important}
html[data-theme="dark"] .podium-card{background:linear-gradient(180deg,#0f0f0f,#0a0a0a)!important;border-color:#2a2a2a!important;box-shadow:0 17px 40px rgba(0,0,0,.45)!important}
html[data-theme="dark"] .podium-card.place-1{background:linear-gradient(180deg,#141210,#0a0a0a)!important}
html[data-theme="dark"] .podium-card h3{color:#f5f5f5!important}
html[data-theme="dark"] .podium-card p,html[data-theme="dark"] .podium-card small{color:#9a9a9a!important}
html[data-theme="dark"] .leaderboard-row:hover,html[data-theme="dark"] .leaderboard-row[data-leaderboard-profile]:hover{background:#141414!important}
html[data-theme="dark"] .leaderboard-row:nth-child(-n+3){background:linear-gradient(90deg,#121110,#0d0d0d)!important}
html[data-theme="dark"] .leaderboard-row{border-color:#1c1c1c!important}
html[data-theme="dark"] .leaderboard-row>span,html[data-theme="dark"] .leaderboard-row small{color:#9a9a9a!important}
html[data-theme="dark"] .leaderboard-row b,html[data-theme="dark"] .leaderboard-row strong{color:#eee!important}

/* Community / social / messenger / groups */
html[data-theme="dark"] .community-page{background:transparent!important}
html[data-theme="dark"] .social-card,
html[data-theme="dark"] .social-people-list,
html[data-theme="dark"] .social-feature-empty,
html[data-theme="dark"] .post-card,
html[data-theme="dark"] .community-post,
html[data-theme="dark"] .messenger-panel,
html[data-theme="dark"] .conversation-list,
html[data-theme="dark"] .conversation-item,
html[data-theme="dark"] .message-bubble,
html[data-theme="dark"] .chat-window,
html[data-theme="dark"] .social-profile-card,
html[data-theme="dark"] .group-card,
html[data-theme="dark"] .group-member-card{background:#0a0a0a!important;border-color:#262626!important}
html[data-theme="dark"] .social-card h3,
html[data-theme="dark"] .post-card h3,
html[data-theme="dark"] .conversation-item b,
html[data-theme="dark"] .message-bubble p,
html[data-theme="dark"] .social-profile-card h2{color:#eee!important}
html[data-theme="dark"] .social-card p,
html[data-theme="dark"] .post-card p,
html[data-theme="dark"] .message-bubble,
html[data-theme="dark"] .conversation-item span,
html[data-theme="dark"] .social-card small{color:#9a9a9a!important}

html[data-theme="dark"] .homework-hero{border-color:#262626!important;background:radial-gradient(circle at 80% 20%,rgba(103,83,221,.14),transparent 28%),linear-gradient(135deg,#0f0f0f,#0a0a0a)!important;box-shadow:0 20px 55px rgba(0,0,0,.5)!important}
html[data-theme="dark"] .story-rail{background:#0a0a0a!important;border-color:#262626!important;box-shadow:0 12px 35px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .story-ring{background:linear-gradient(#0a0a0a,#0a0a0a) padding-box,linear-gradient(145deg,#1d5f9e,#2d7df4,#7a5c2a) border-box!important}
html[data-theme="dark"] .story-add span{background:#12203a!important;border-color:#2a4a6e!important;color:#7db0ff!important}
html[data-theme="dark"] .story-add b,html[data-theme="dark"] .story-item b{color:#b5b5b5!important}
html[data-theme="dark"] .community-btn.ghost{background:#0d0d0d!important;color:#b5b5b5!important;border-color:#2a2a2a!important;box-shadow:none!important}
html[data-theme="dark"] .zf-send-button:hover,html[data-theme="dark"] .zf-send-button:focus-visible{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .zf-send-button:active{background:#0d1a30!important}
html[data-theme="dark"] .comment-form>.zf-send-button{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .comment-form>.zf-send-button:hover{background:#16283f!important;color:#8fc0ff!important}
html[data-theme="dark"] .community-close{background:#161616!important;color:#9a9a9a!important}
html[data-theme="dark"] .community-upload{background:#0d0d0d!important;border-color:#2a3a52!important}
html[data-theme="dark"] .community-upload b{color:#cfcfcf!important}
html[data-theme="dark"] .community-upload small{color:#8a8a8a!important}
html[data-theme="dark"] .dm-bubble{background:#161616!important;color:#c9c9c9!important}
html[data-theme="dark"] .dm-bubble.mine{background:#123c63!important;color:#fff!important}
html[data-theme="dark"] .dm-head,html[data-theme="dark"] .dm-thread-head,html[data-theme="dark"] .dm-thread form{border-color:#262626!important}
html[data-theme="dark"] .comment-form button{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .community-profile-mini,html[data-theme="dark"] .community-suggest,html[data-theme="dark"] .community-rules,html[data-theme="dark"] .community-dm{background:#0a0a0a!important;border-color:#262626!important;box-shadow:0 16px 45px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .community-side-title span,html[data-theme="dark"] .community-rules p,html[data-theme="dark"] .community-loading,html[data-theme="dark"] .community-empty{color:#9a9a9a!important}
html[data-theme="dark"] .community-loading-card{background:#0a0a0a!important;border-color:#262626!important;color:#9a9a9a!important}
html[data-theme="dark"] .person-meta b{color:#eee!important}
html[data-theme="dark"] .person-meta span{color:#8a8a8a!important}
html[data-theme="dark"] .person-row:hover{background:#141414!important}
html[data-theme="dark"] .dm-people,html[data-theme="dark"] .dm-body,html[data-theme="dark"] .dm-head,html[data-theme="dark"] .dm-thread-head,html[data-theme="dark"] .dm-thread form{border-color:#262626!important}
html[data-theme="dark"] .post-user button{color:#eee!important}
html[data-theme="dark"] .post-user span{color:#8a8a8a!important}
html[data-theme="dark"] .post-body p{color:#b5b5b5!important}
html[data-theme="dark"] .post-actions button{color:#9a9a9a!important}
html[data-theme="dark"] .post-counts{color:#8a8a8a!important}
html[data-theme="dark"] .comment-item{color:#9a9a9a!important}
html[data-theme="dark"] .community-head h2{color:#f5f5f5!important}
html[data-theme="dark"] .community-head p{color:#9a9a9a!important}
html[data-theme="dark"] .community-toast{background:rgba(13,13,13,.96)!important;border-color:#2a3a52!important;box-shadow:0 16px 48px rgba(0,0,0,.55)!important;color:#cfcfcf!important}
html[data-theme="dark"] #toast.toast{background:rgba(13,13,13,.96)!important;color:#caffea!important}

/* Auth gate (login / signup) — first screen on mobile too */
html[data-theme="dark"] .auth-gate{background:#000!important;color:#e5e5e5!important}
html[data-theme="dark"] .auth-panel{background:radial-gradient(circle at 50% 10%,#0d0d0d,transparent 48%)!important}
html[data-theme="dark"] .auth-card{background:rgba(13,13,13,.96)!important;border-color:#262626!important;box-shadow:0 28px 80px rgba(0,0,0,.6)!important}
html[data-theme="dark"] .auth-tabs{background:#0d0d0d!important}
html[data-theme="dark"] .auth-tabs button{color:#9a9a9a!important}
html[data-theme="dark"] .auth-tabs button.active{background:#123324!important;color:#7df0bc!important;box-shadow:0 4px 14px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .auth-title h2{color:#f5f5f5!important}
html[data-theme="dark"] .auth-title p{color:#9a9a9a!important}
html[data-theme="dark"] .auth-form>label{color:#8a8a8a!important}
html[data-theme="dark"] .auth-form input{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#eee!important}
html[data-theme="dark"] .auth-terms{color:#8a8a8a!important}

/* Dialogs + sheets + post viewer (in-app confirm / alert / prompt) */
html[data-theme="dark"] .zf-dialog-card{background:#0d0d0d!important;border:1px solid #2a2a2a!important;box-shadow:0 30px 90px rgba(0,0,0,.65)!important}
html[data-theme="dark"] .zf-dialog-card h3{color:#f5f5f5!important}
html[data-theme="dark"] .zf-dialog-card p{color:#9a9a9a!important}
html[data-theme="dark"] .zf-dialog-mark.info{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .zf-dialog-mark.danger{background:#2a1518!important;color:#ff9da6!important}
html[data-theme="dark"] .zf-dialog-cancel{border-color:#2a2a2a!important;background:#0d0d0d!important;color:#b5b5b5!important}
html[data-theme="dark"] .zf-dialog-input{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#eee!important}
html[data-theme="dark"] .zf-action-sheet{background:#0d0d0d!important;border-color:#262626!important;box-shadow:0 30px 90px rgba(0,0,0,.6)!important}
html[data-theme="dark"] .zf-action-sheet h3{color:#f5f5f5!important}
html[data-theme="dark"] .zf-action-sheet>header button{background:#161616!important;color:#9a9a9a!important}
html[data-theme="dark"] .zf-sheet-option{background:#111!important;border-color:#262626!important;color:#7db0ff!important}
html[data-theme="dark"] .zf-sheet-option b{color:#eee!important}
html[data-theme="dark"] .zf-sheet-option small{color:#8a8a8a!important}
html[data-theme="dark"] .zf-sheet-option.danger{background:#2a1518!important;color:#ff9da6!important;border-color:#5a2a30!important}
html[data-theme="dark"] .zf-post-view-side{background:#0d0d0d!important}
html[data-theme="dark"] .zf-post-view-side>header,html[data-theme="dark"] .zf-view-caption,html[data-theme="dark"] .zf-view-actions,html[data-theme="dark"] .zf-view-comment-form{border-color:#262626!important}
html[data-theme="dark"] .zf-post-view-side>header b,html[data-theme="dark"] .zf-view-caption b{color:#eee!important}
html[data-theme="dark"] .zf-view-caption p,html[data-theme="dark"] .zf-view-comment p{color:#b5b5b5!important}
html[data-theme="dark"] .zf-view-comment p button{color:#eee!important}
html[data-theme="dark"] .zf-view-comment-form input{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#eee!important}
html[data-theme="dark"] .zf-edit-preview{background:#0d0d0d!important;border-color:#2a3a52!important}
html[data-theme="dark"] .zf-post-edit-form textarea,html[data-theme="dark"] .zf-comment-edit textarea{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#eee!important}
html[data-theme="dark"] .zf-delete-button{background:#2a1518!important;color:#ff9da6!important}
html[data-theme="dark"] .zf-row-menu:hover{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .community-modal-card{background:#0d0d0d!important;border-color:#262626!important;box-shadow:0 30px 90px rgba(0,0,0,.6)!important}
html[data-theme="dark"] .community-modal-card h3{color:#f5f5f5!important}
html[data-theme="dark"] .story-view-info button{background:#0d0d0d!important;color:#7db0ff!important}
html[data-theme="dark"] .homework-hero h2{color:#f5f5f5!important}
html[data-theme="dark"] .homework-hero p{color:#9a9a9a!important}
html[data-theme="dark"] .homework-hero b{background:rgba(255,255,255,.08)!important;color:#eee!important}
html[data-theme="dark"] .community-btn b{background:rgba(59,130,246,.16)!important;color:#7db0ff!important}

/* Courses + learning + homework */
html[data-theme="dark"] .courses-page,
html[data-theme="dark"] .course-card,
html[data-theme="dark"] .courses-hero,
html[data-theme="dark"] .academy-admin,
html[data-theme="dark"] .homework-card,
html[data-theme="dark"] .learning-player,
html[data-theme="dark"] .curriculum,
html[data-theme="dark"] .lesson-copy{background:#0a0a0a!important;border-color:#262626!important}
html[data-theme="dark"] .course-card h3,
html[data-theme="dark"] .courses-hero h2,
html[data-theme="dark"] .academy-admin h2,
html[data-theme="dark"] .homework-card h3,
html[data-theme="dark"] .lesson-copy h1,
html[data-theme="dark"] .curriculum b{color:#f5f5f5!important}
html[data-theme="dark"] .course-card p,
html[data-theme="dark"] .course-card small,
html[data-theme="dark"] .lesson-copy p,
html[data-theme="dark"] .curriculum span{color:#9a9a9a!important}
html[data-theme="dark"] .lesson-row{border-color:#262626!important}
html[data-theme="dark"] .lesson-row b{color:#eee!important}
html[data-theme="dark"] .courses-badge{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .courses-tabs{background:#0d0d0d!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .courses-tabs button{color:#9a9a9a!important}
html[data-theme="dark"] .courses-tabs button.active{background:#123324!important;color:#7df0bc!important}
html[data-theme="dark"] .academy-admin>header{background:linear-gradient(135deg,#0d0d0d,#0a0a0a)!important;border-color:#262626!important}
html[data-theme="dark"] .academy-admin>header h3{color:#eee!important}
html[data-theme="dark"] .academy-admin>header p{color:#888!important}
html[data-theme="dark"] .academy-mode{background:#0d0d0d!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .academy-mode button{color:#999!important}
html[data-theme="dark"] .academy-mode button.active{background:#1a3d2e!important;color:#7df0bc!important}
html[data-theme="dark"] .academy-overview{padding:16px 24px}
html[data-theme="dark"] .academy-overview button{background:#111!important;border-color:#2a2a2a!important;color:#ccc!important}
html[data-theme="dark"] .academy-overview button:hover{border-color:#3a3a3a!important}
html[data-theme="dark"] .academy-overview span{background:#0d1a14!important;color:#43e6a4!important}
html[data-theme="dark"] .academy-overview b{color:#eee!important}
html[data-theme="dark"] .academy-overview small{color:#888!important}
html[data-theme="dark"] .academy-tabs{background:#0a0a0a!important;border-color:#262626!important}
html[data-theme="dark"] .academy-tabs button{color:#999!important}
html[data-theme="dark"] .academy-tabs button i{background:#1a1a1a!important;color:#999!important}
html[data-theme="dark"] .academy-tabs button.active{background:#0d1a14!important;color:#43e6a4!important;border-color:#1a3d2e!important}
html[data-theme="dark"] .academy-tabs button.active i{background:#43e6a4!important;color:#000!important}
html[data-theme="dark"] .academy-form{border-color:#262626!important}
html[data-theme="dark"] .academy-form>label{color:#999!important}
html[data-theme="dark"] .academy-form input,html[data-theme="dark"] .academy-form select,html[data-theme="dark"] .academy-form textarea,html[data-theme="dark"] .question-form input,html[data-theme="dark"] .question-form select,html[data-theme="dark"] .question-form textarea{background:#111!important;border-color:#2a2a2a!important;color:#eee!important}
html[data-theme="dark"] .academy-form input:focus,html[data-theme="dark"] .academy-form textarea:focus{border-color:#43e6a4!important;box-shadow:0 0 0 3px rgba(67,230,164,.15)!important}
html[data-theme="dark"] .form-title b{color:#eee!important}
html[data-theme="dark"] .form-title span{color:#888!important}
html[data-theme="dark"] .academy-items>button{background:#0d0d0d!important;border-color:#262626!important}
html[data-theme="dark"] .academy-items b{color:#eee!important}
html[data-theme="dark"] .academy-items small{color:#888!important}
html[data-theme="dark"] .academy-mini-cover{background:#1a1a1a!important}
html[data-theme="dark"] .lesson-actions button{background:#111!important;border-color:#2a2a2a!important;color:#ccc!important}
html[data-theme="dark"] .lesson-actions button.complete{background:#0d1a14!important;border-color:#1a3d2e!important;color:#43e6a4!important}
html[data-theme="dark"] .course-complete>div{background:#0d0d0d!important}
html[data-theme="dark"] .course-complete>div>span{background:#0d1a14!important;color:#43e6a4!important}
html[data-theme="dark"] .course-complete h2{color:#eee!important}
html[data-theme="dark"] .course-complete p{color:#999!important}
html[data-theme="dark"] .homework-result>div{background:#0d0d0d!important}
html[data-theme="dark"] .curriculum{background:#0a0a0a!important;border-color:#262626!important}
html[data-theme="dark"] .curriculum button:hover{background:#111!important}
html[data-theme="dark"] .curriculum button.current{background:#0d1a14!important;border-color:#1a3d2e!important}
html[data-theme="dark"] .curriculum button>i{background:#1a1a1a!important;color:#999!important}
html[data-theme="dark"] .curriculum button.current>i{background:#43e6a4!important;color:#000!important}
html[data-theme="dark"] .curriculum button.done>i{background:#0d1a14!important;color:#43e6a4!important}
html[data-theme="dark"] .curriculum button span b{color:#eee!important}
html[data-theme="dark"] .curriculum button span small{color:#888!important}
html[data-theme="dark"] .curriculum-head span{color:#888!important}
html[data-theme="dark"] .curriculum-head b{color:#62a9ff!important}
html[data-theme="dark"] .learning-player>header{background:rgba(0,0,0,.95)!important;border-color:#262626!important}
html[data-theme="dark"] .learning-player>header button{color:#ccc!important}
html[data-theme="dark"] .learning-player>header small{color:#62a9ff!important}
html[data-theme="dark"] .learning-player>header b{color:#eee!important}
html[data-theme="dark"] .reading-lesson{background:linear-gradient(145deg,#0d0d0d,#0a0a0a)!important;color:#ccc!important}
html[data-theme="dark"] .courses-toolbar h3{color:#f5f5f5!important}
html[data-theme="dark"] .course-viewer-card{background:#0d0d0d!important;border:1px solid #262626!important;box-shadow:0 35px 110px rgba(0,0,0,.6)!important}
html[data-theme="dark"] .course-viewer-close{background:rgba(20,20,20,.92)!important;color:#cfcfcf!important}
html[data-theme="dark"] .course-detail-main h2{color:#f5f5f5!important}
html[data-theme="dark"] .course-detail-main p{color:#9a9a9a!important}
html[data-theme="dark"] .course-detail-side{background:#0d0d0d!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .course-detail-side button.enrolled{background:#12241d!important;color:#7df0bc!important}
html[data-theme="dark"] .course-instructor span{color:#9a9a9a!important}
html[data-theme="dark"] .course-foot{border-color:#262626!important}
html[data-theme="dark"] .course-foot small{color:#8a8a8a!important}
html[data-theme="dark"] .courses-loading{color:#9a9a9a!important}
html[data-theme="dark"] .admin-course-form{border-color:#262626!important}
html[data-theme="dark"] .admin-course-cover{background:#0d0d0d!important;border-color:#2a3a52!important}
html[data-theme="dark"] .admin-course-item{border-color:#1c1c1c!important}
html[data-theme="dark"] .admin-course-item b{color:#eee!important}
html[data-theme="dark"] .admin-course-item small{color:#8a8a8a!important}
html[data-theme="dark"] .admin-course-actions button{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .admin-course-actions button.danger{background:#2a1518!important;color:#ff9da6!important}
html[data-theme="dark"] .admin-enrollee{background:#161616!important;color:#9a9a9a!important}
html[data-theme="dark"] .course-instructor-avatar,html[data-theme="dark"] .enrollee-avatar{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .course-facts span{background:#111!important;color:#999!important}
html[data-theme="dark"] .course-facts b{color:#eee!important}
html[data-theme="dark"] .lesson-row{background:#0d0d0d!important;border-color:#262626!important}
html[data-theme="dark"] .lesson-row i{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .lesson-row small{color:#888!important}
html[data-theme="dark"] .lesson-row>span{color:#43e6a4!important}
html[data-theme="dark"] .course-cover-fallback{background:linear-gradient(145deg,#0a0a0a,#111)!important}
html[data-theme="dark"] .course-cover{background:linear-gradient(145deg,#0a0a0a,#111)!important}
html[data-theme="dark"] .course-body{background:#0d0d0d!important}
html[data-theme="dark"] .course-body h3{color:#eee!important}
html[data-theme="dark"] .course-body p{color:#999!important}
html[data-theme="dark"] .course-type{background:rgba(10,10,10,.85)!important;color:#7db0ff!important}
html[data-theme="dark"] .course-card{background:#0d0d0d!important;border-color:#262626!important}
html[data-theme="dark"] .course-card:hover{box-shadow:0 23px 55px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .courses-empty{background:#0d0d0d!important;border-color:#262626!important;color:#999!important}
html[data-theme="dark"] .courses-empty b{color:#eee!important}
html[data-theme="dark"] .detail-progress b{color:#43e6a4!important}
html[data-theme="dark"] .detail-progress span{color:#999!important}
html[data-theme="dark"] .admin-course-form>label{color:#ccc!important}
html[data-theme="dark"] .admin-course-cover span{color:#7db0ff!important}
html[data-theme="dark"] .admin-course-thumb{background:#12203a!important}
html[data-theme="dark"] .admin-course-list{border-color:#262626!important}
html[data-theme="dark"] .course-card-meta span{background:#161616!important;color:#999!important}
html[data-theme="dark"] .course-card-progress span{color:#999!important}
html[data-theme="dark"] .course-card-progress:before{background:#262626!important}

/* News frame shell + toolbar */
html[data-theme="dark"] .news-frame-shell{background:#000!important;border-color:#262626!important;box-shadow:0 24px 70px rgba(0,0,0,.5)!important}
html[data-theme="dark"] .news-frame-top{background:#0a0a0a!important;border-bottom-color:#262626!important}
html[data-theme="dark"] .news-frame-top span{background:#333!important}
html[data-theme="dark"] .news-frame-top span:first-child{background:#4a6fa5!important}
html[data-theme="dark"] .news-frame-top b{color:#999!important}
html[data-theme="dark"] .news-suite-head h2{color:#f5f5f5!important}
html[data-theme="dark"] .news-suite-head p{color:#999!important}
html[data-theme="dark"] .news-live-pill{background:#0a0a0a!important;border-color:#262626!important;color:#7db0ff!important}
html[data-theme="dark"] .news-live-pill i{background:#3b82f6!important;box-shadow:0 0 0 5px rgba(59,130,246,.15)!important}

/* Reels + Live */
html[data-theme="dark"] .reel-card,
html[data-theme="dark"] .live-room-card,
html[data-theme="dark"] .reel-comments-panel,
html[data-theme="dark"] .reel-comment-row,
html[data-theme="dark"] .live-stage,
html[data-theme="dark"] .social-feature-head{background:#0a0a0a!important;border-color:#262626!important}
html[data-theme="dark"] .reel-card h3,
html[data-theme="dark"] .live-room-card h3,
html[data-theme="dark"] .social-feature-head h2{color:#f5f5f5!important}
html[data-theme="dark"] .reel-card p,
html[data-theme="dark"] .live-room-card p,
html[data-theme="dark"] .reel-meta,
html[data-theme="dark"] .social-feature-head p{color:#9a9a9a!important}
html[data-theme="dark"] .reel-comment-body{color:#c9c9c9!important}
html[data-theme="dark"] .reel-comment-form{background:#0a0a0a!important;border-color:#262626!important}
html[data-theme="dark"] .reel-comment-form input{background:#111!important;border-color:#2a2a2a!important;color:#eee!important}
html[data-theme="dark"] .reel-comment-form input::placeholder{color:#666!important}
html[data-theme="dark"] .reel-comment-form input:focus{border-color:#43e6a4!important}
html[data-theme="dark"] .upload-icon{background:#111!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .premium-upload{background:linear-gradient(180deg,#0a0a0a,#0d0d0d)!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .premium-upload.has-image .upload-copy{background:rgba(0,0,0,.8)!important}

html[data-theme="dark"] .admin-stats article,html[data-theme="dark"] .admin-live-summary article,html[data-theme="dark"] .admin-security-kpis article{background:linear-gradient(145deg,#0f0f0f,#0a0a0a)!important;border-color:#262626!important;box-shadow:0 12px 34px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .admin-live-summary article b,html[data-theme="dark"] .admin-live-summary article strong,html[data-theme="dark"] .admin-security-kpis article b,html[data-theme="dark"] .admin-security-kpis article strong{color:#f5f5f5!important}
html[data-theme="dark"] .admin-live-summary article span,html[data-theme="dark"] .admin-live-summary article small,html[data-theme="dark"] .admin-security-kpis article span,html[data-theme="dark"] .admin-security-kpis article small{color:#9a9a9a!important}
html[data-theme="dark"] .admin-stats strong{color:#f5f5f5!important}
html[data-theme="dark"] .admin-stats span,html[data-theme="dark"] .admin-stats small{color:#9a9a9a!important}
html[data-theme="dark"] .health-service{background:#0d0d0d!important;border-color:#262626!important}
html[data-theme="dark"] .health-service b,html[data-theme="dark"] .health-service strong{color:#f5f5f5!important}
html[data-theme="dark"] .health-service span,html[data-theme="dark"] .health-service small,html[data-theme="dark"] .health-service p{color:#9a9a9a!important}
html[data-theme="dark"] .admin-health-grid span{background:#161616!important;color:#b5b5b5!important}
html[data-theme="dark"] .admin-card-head{border-color:#222!important}
html[data-theme="dark"] .admin-card-head h3,html[data-theme="dark"] .admin-settings-card h3{color:#f5f5f5!important}
html[data-theme="dark"] .admin-card-head p{color:#9a9a9a!important}

/* Admin Backend / operations */
html[data-theme="dark"] .admin-owner-chip{background:#0d0d0d!important;border-color:#2a2a2a!important;box-shadow:none!important}
html[data-theme="dark"] .admin-owner-chip b,html[data-theme="dark"] .admin-owner-chip strong{color:#f5f5f5!important}
html[data-theme="dark"] .admin-owner-chip small,html[data-theme="dark"] .admin-owner-chip span{color:#9a9a9a!important}
html[data-theme="dark"] .admin-ops-tabs{background:rgba(10,10,10,.95)!important;border-color:#262626!important;box-shadow:0 12px 35px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .admin-ops-tabs button{color:#9a9a9a!important;background:transparent!important}
html[data-theme="dark"] .admin-ops-tabs button.active{background:#123324!important;color:#7df0bc!important}
html[data-theme="dark"] .admin-live-table{background:#0d0d0d!important;border-color:#262626!important}
html[data-theme="dark"] .admin-live-head{background:#161616!important;color:#9a9a9a!important}
html[data-theme="dark"] .admin-live-table td{color:#c9c9c9!important;border-color:#1c1c1c!important}
html[data-theme="dark"] .admin-live-row{color:#c9c9c9!important;border-top-color:#1c1c1c!important}
html[data-theme="dark"] .admin-live-row b{color:#e8e8e8!important}
html[data-theme="dark"] .admin-live-row small{color:#8a8a8a!important}
html[data-theme="dark"] .admin-live-row code{color:#9db0aa!important}
html[data-theme="dark"] .admin-live-search{background:#0d0d0d!important;border-color:#2a2a2a!important;box-shadow:none!important}
html[data-theme="dark"] .admin-live-search span{color:#9a9a9a!important}
html[data-theme="dark"] .admin-live-search input#adminUserFilter{color:#eee!important;border:0!important;background:transparent!important;box-shadow:none!important}
html[data-theme="dark"] .admin-live-status{background:#161616!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .admin-live-status button{color:#9a9a9a!important}
html[data-theme="dark"] .admin-live-status button.active{background:#123324!important;color:#7df0bc!important;box-shadow:none!important}
html[data-theme="dark"] .admin-live-count,html[data-theme="dark"] .admin-live-pager>span{color:#9a9a9a!important}
html[data-theme="dark"] .admin-live-clear{background:#1a1a1a!important;color:#9a9a9a!important}
html[data-theme="dark"] .admin-live-clear:hover{background:#222!important;color:#fff!important}
html[data-theme="dark"] select#adminAccountFilter{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#cfcfcf!important}
html[data-theme="dark"] .acc-pill{background:rgba(67,230,164,.12)!important;color:#7df0bc!important}
html[data-theme="dark"] .acc-pill.pending{background:rgba(246,199,109,.14)!important;color:#f6c76d!important}
html[data-theme="dark"] .acc-pill.suspended{background:rgba(255,111,125,.14)!important;color:#ff9da6!important}
html[data-theme="dark"] .admin-live-pager-btns button{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#cfcfcf!important}
html[data-theme="dark"] .admin-live-pager-btns button:hover:not(:disabled){background:#1a1a1a!important;color:#7df0bc!important}
html[data-theme="dark"] .admin-live-pager-btns b{color:#cfcfcf!important}
html[data-theme="dark"] .admin-live-head .sortable:hover,html[data-theme="dark"] .admin-live-head .sortable.sorted{color:#7db0ff!important}
html[data-theme="dark"] .admin-live-empty{color:#8a8a8a!important}
html[data-theme="dark"] .admin-search{background:#0d0d0d!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .admin-search input{background:transparent!important;border:0!important;color:#eee!important}
html[data-theme="dark"] .role-pill{background:#1a1a1a!important;color:#b5b5b5!important}
html[data-theme="dark"] .role-pill.admin,html[data-theme="dark"] .role-pill.super-admin{background:rgba(59,130,246,.14)!important;color:#7db0ff!important}
html[data-theme="dark"] .role-pill.user{background:#161616!important;color:#9a9a9a!important}
html[data-theme="dark"] .admin-verify-btn{background:#111!important;border-color:#2a2a2a!important;color:#7db0ff!important}
html[data-theme="dark"] .admin-role-trigger{background:linear-gradient(180deg,#0f0f0f,#0a0a0a)!important;border-color:#2a2a2a!important;color:#cfcfcf!important;box-shadow:none!important}
html[data-theme="dark"] .admin-role-trigger i{color:#9a9a9a!important}
html[data-theme="dark"] .admin-role-popover{background:rgba(13,13,13,.98)!important;border-color:#2a2a2a!important;box-shadow:0 18px 45px rgba(0,0,0,.55)!important}
html[data-theme="dark"] .admin-role-popover button{color:#cfcfcf!important}
html[data-theme="dark"] .admin-role-popover button:hover,html[data-theme="dark"] .admin-role-popover button.selected{background:#1a1a1a!important}
html[data-theme="dark"] .admin-role-popover b{color:#eee!important}
html[data-theme="dark"] .admin-role-popover small{color:#9a9a9a!important}
html[data-theme="dark"] .admin-role-popover button>i{background:#1f1f1f!important;color:#b5b5b5!important}
html[data-theme="dark"] .admin-account-btn{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#cfcfcf!important}
html[data-theme="dark"] .admin-account-btn:hover{box-shadow:none!important;border-color:#3a3a3a!important;color:#fff!important}
html[data-theme="dark"] .admin-account-dialog{background:#0d0d0d!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .admin-account-dialog h2,html[data-theme="dark"] .admin-account-dialog label{color:#eee!important}
html[data-theme="dark"] .admin-account-dialog small{color:#9a9a9a!important}

/* Trade Journal / Add Trade form */
html[data-theme="dark"] .journal-composer-bar{border-color:#262626!important;background:rgba(10,10,10,.94)!important;box-shadow:0 12px 34px rgba(0,0,0,.45)!important}
html[data-theme="dark"] .journal-mode-copy b,html[data-theme="dark"] .journal-mode-copy small{color:#cfcfcf!important}
html[data-theme="dark"] .journal-mode-copy>span{background:rgba(59,130,246,.16)!important;color:#7db0ff!important}
html[data-theme="dark"] .summary-state{background:rgba(59,130,246,.14)!important;color:#7db0ff!important}
html[data-theme="dark"] .summary-hero b,html[data-theme="dark"] .summary-points b{color:#f5f5f5!important}
html[data-theme="dark"] .summary-hero small,html[data-theme="dark"] .summary-points small{color:#9a9a9a!important}
html[data-theme="dark"] .journal-mode-switch{background:#161616!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .journal-mode-switch button{color:#9a9a9a!important}
html[data-theme="dark"] .journal-mode-switch button.active{background:#1f1f1f!important;color:#7db0ff!important;box-shadow:none!important}
html[data-theme="dark"] .journal-progress{background:#161616!important}
html[data-theme="dark"] .auto-calc-pill,html[data-theme="dark"] .add-overview-card{background:rgba(10,10,10,.96)!important;border-color:#262626!important;box-shadow:0 12px 30px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .add-overview-card strong,html[data-theme="dark"] .auto-calc-pill strong,html[data-theme="dark"] .add-overview-card b{color:#f5f5f5!important}
html[data-theme="dark"] .add-overview-card small,html[data-theme="dark"] .add-overview-card span,html[data-theme="dark"] .auto-calc-pill small{color:#9a9a9a!important}
html[data-theme="dark"] .form-section-card{background:#0d0d0d!important;border-color:#262626!important;box-shadow:0 13px 36px rgba(0,0,0,.45)!important}
html[data-theme="dark"] .form-section-head h3,html[data-theme="dark"] .form-section-head b{color:#f5f5f5!important}
html[data-theme="dark"] .form-section-head p,html[data-theme="dark"] .form-section-head small{color:#9a9a9a!important}
html[data-theme="dark"] .segmented-control{background:#0d0d0d!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .segmented-control button{color:#9a9a9a!important}
html[data-theme="dark"] .segmented-control button.active{background:#123324!important;color:#7df0bc!important}
html[data-theme="dark"] .calc-session-select{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#cfcfcf!important}
html[data-theme="dark"] .premium-form-actions{border-color:#262626!important;background:rgba(10,10,10,.95)!important;box-shadow:0 10px 30px rgba(0,0,0,.45)!important}
html[data-theme="dark"] .trade-summary-card{background:#0d0d0d!important;border-color:#262626!important;box-shadow:0 18px 50px rgba(0,0,0,.5)!important}
html[data-theme="dark"] .trade-summary-card h3,html[data-theme="dark"] .trade-summary-card b,html[data-theme="dark"] .summary-recent-head b{color:#f5f5f5!important}
html[data-theme="dark"] .trade-summary-card p,html[data-theme="dark"] .trade-summary-card small,html[data-theme="dark"] .trade-summary-card span{color:#9a9a9a!important}
html[data-theme="dark"] .summary-quality{background:linear-gradient(135deg,#16202e,#10181f)!important}
html[data-theme="dark"] .summary-tip{border-color:#2a2a2a!important;background:#111!important}
html[data-theme="dark"] .featured{background:rgba(59,130,246,.12)!important}
html[data-theme="dark"] .zf-date-trigger{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#eee!important}
html[data-theme="dark"] .zf-date-popover{background:rgba(13,13,13,.98)!important;border-color:#2a2a2a!important;box-shadow:0 22px 60px rgba(0,0,0,.55)!important}
html[data-theme="dark"] .zf-time-panel{background:#111!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .zf-day{color:#cfcfcf!important}
html[data-theme="dark"] .zf-day:hover{background:#1a1a1a!important;color:#7df0bc!important}
html[data-theme="dark"] .zf-date-nav,html[data-theme="dark"] .zf-month-label{background:#1a1a1a!important;color:#cfcfcf!important}
html[data-theme="dark"] .zf-date-cancel{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#cfcfcf!important}
html[data-theme="dark"] .zf-date-today{background:#123324!important;color:#7df0bc!important}

/* Profile page — full dark */
html[data-theme="dark"] .social-profile-head{border-color:#262626!important;background:linear-gradient(145deg,#0f0f0f,#0a0a0a)!important;box-shadow:0 18px 55px rgba(0,0,0,.5)!important}
html[data-theme="dark"] .social-profile-head h2,html[data-theme="dark"] .social-profile-head h3{color:#f5f5f5!important}
html[data-theme="dark"] .social-profile-avatar{box-shadow:0 0 0 7px #0a0a0a,0 0 0 9px #262626!important}
html[data-theme="dark"] .social-secondary{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#cfcfcf!important}
html[data-theme="dark"] .social-danger{background:#1a0d0d!important;color:#e87070!important}
html[data-theme="dark"] .social-grid-post{background:#161616!important;border-color:#222!important}
html[data-theme="dark"] .social-profile-stats button{background:#111!important;border-color:#2a2a2a!important;color:#999!important}
html[data-theme="dark"] .social-profile-stats b{color:#eee!important}
html[data-theme="dark"] .social-profile-stats span,html[data-theme="dark"] .social-profile-bio,html[data-theme="dark"] .social-profile-username{color:#9a9a9a!important}
html[data-theme="dark"] .social-profile-tabs{border-color:#262626!important}
html[data-theme="dark"] .social-profile-tabs button{color:#777!important}
html[data-theme="dark"] .social-profile-tabs button.active{color:#2d73e2!important;box-shadow:inset 0 -2px #2d73e2!important}
html[data-theme="dark"] .social-highlight>img,html[data-theme="dark"] .social-highlight>span{background:#161616!important;border-color:#0a0a0a!important;box-shadow:0 0 0 2px #262626!important}
html[data-theme="dark"] .social-highlight b{color:#aaa!important}
html[data-theme="dark"] .social-skeleton{color:#888!important;background:transparent!important}
html[data-theme="dark"] .social-skeleton b{color:#eee!important}
html[data-theme="dark"] .social-skeleton span{color:#666!important}
html[data-theme="dark"] .social-profile-empty div{background:#161616!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .social-profile-empty h3{color:#ddd!important}
html[data-theme="dark"] .social-profile-empty p{color:#888!important}
html[data-theme="dark"] .social-profile-editor form{background:#0d0d0d!important}
html[data-theme="dark"] .social-profile-editor label{color:#999!important}
html[data-theme="dark"] .social-profile-editor input,html[data-theme="dark"] .social-profile-editor textarea,html[data-theme="dark"] .social-dialog-card input{background:#111!important;border-color:#2a2a2a!important;color:#eee!important}
html[data-theme="dark"] .social-profile-editor header button,html[data-theme="dark"] .social-dialog-close{background:#1a1a1a!important;color:#aaa!important}
html[data-theme="dark"] .social-prefix{background:#111!important;border-color:#2a2a2a!important;color:#888!important}

/* Reels action buttons */
html[data-theme="dark"] .reel-action-icon{background:#161616!important;border-color:#2a2a2a!important;box-shadow:0 6px 16px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .reel-action-icon:hover{background:#1f1f1f!important;border-color:#3a3a3a!important}
html[data-theme="dark"] .reel-action{color:#cfcfcf!important}
html[data-theme="dark"] .reel-action span{color:#9a9a9a!important}
html[data-theme="dark"] .reel-author b{color:#f5f5f5!important}
html[data-theme="dark"] .reel-author span{color:#9a9a9a!important}

/* Messenger + FAB + dialogs */
html[data-theme="dark"] .sidebar-bottom .account-actions button{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#cfcfcf!important;box-shadow:none!important}
html[data-theme="dark"] .sidebar-bottom .account-actions button:hover{background:#161616!important;border-color:#3a3a3a!important;color:#fff!important}
html[data-theme="dark"] .sidebar-bottom .account-actions button span{background:#1a1a1a!important;color:#b5b5b5!important}
/* === Messenger full dark === */
html[data-theme="dark"] .social-messenger{background:#0a0a0a!important;border-color:#262626!important;box-shadow:0 30px 100px rgba(0,0,0,.6)!important}
html[data-theme="dark"] .social-messenger header{background:#0a0a0a!important;border-color:#222!important}
html[data-theme="dark"] .social-messenger header h3{color:#eee!important}
html[data-theme="dark"] .social-messenger header small{color:#43e6a4!important}
html[data-theme="dark"] .social-messenger header button{background:#161616!important;color:#aaa!important}
html[data-theme="dark"] .social-messenger header button:hover{background:#222!important;color:#fff!important}
html[data-theme="dark"] .social-messenger-list{background:#0a0a0a!important;border-color:#222!important}
html[data-theme="dark"] .social-chat-pane{border-color:#222!important}
html[data-theme="dark"] .social-chat-pane>header{background:#0a0a0a!important;border-color:#222!important}
html[data-theme="dark"] .social-chat-pane .chat-title button,.social-chat-pane .chat-title b{color:#eee!important}
html[data-theme="dark"] .social-chat-pane .chat-title span{color:#888!important}
html[data-theme="dark"] .social-search{background:#161616!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .social-search input{background:transparent!important;border:0!important;color:#eee!important}
html[data-theme="dark"] .social-conversation-list{background:#0a0a0a!important}
html[data-theme="dark"] .social-conversation-row{background:transparent!important}
html[data-theme="dark"] .social-conversation-row:hover,.social-conversation-row.active{background:#161616!important}
html[data-theme="dark"] .social-conversation-avatar,html[data-theme="dark"] .social-conversation-avatar.fallback{background:#1a1a1a!important;border-color:#2a2a2a!important;color:#b5b5b5!important}
html[data-theme="dark"] .social-conversation-avatar.group{background:linear-gradient(145deg,#1a2a40,#0d1520)!important}
html[data-theme="dark"] .social-conversation-row b{color:#eee!important}
html[data-theme="dark"] .social-conversation-row small,html[data-theme="dark"] .social-conversation-row time{color:#888!important}
html[data-theme="dark"] .social-conversation-row>i{background:#43e6a4!important}
html[data-theme="dark"] .social-online-dot{border-color:#0a0a0a!important}
html[data-theme="dark"] .social-group-online{background:#1a1a1a!important;border-color:#0a0a0a!important}
html[data-theme="dark"] .social-group-online b{background:#1a1a1a!important;border-color:#2a2a2a!important;color:#aaa!important}
html[data-theme="dark"] .social-group-online img{border-color:#2a2a2a!important}
html[data-theme="dark"] .social-loading{color:#666!important}
html[data-theme="dark"] .social-chat-empty>div{background:#161616!important;color:#62a9ff!important}
html[data-theme="dark"] .social-chat-empty h3{color:#eee!important}
html[data-theme="dark"] .social-chat-empty p{color:#888!important}
html[data-theme="dark"] .social-message-history{background:#0a0a0a!important}
html[data-theme="dark"] .social-message p{background:#1a1a1a!important;color:#ddd!important}
html[data-theme="dark"] .social-message.mine p{background:linear-gradient(145deg,#1a4a8a,#12306a)!important;color:#fff!important}
html[data-theme="dark"] .social-message-avatar{background:#161616!important;color:#aaa!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .social-message time{color:#666!important}
html[data-theme="dark"] .social-message.mine time{color:#555!important}
html[data-theme="dark"] .social-load-older{background:#161616!important;color:#aaa!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .social-message-form{background:#0a0a0a!important;border-top-color:#222!important}
html[data-theme="dark"] .social-message-form>label{background:#161616!important;color:#62a9ff!important}
html[data-theme="dark"] .social-message-form>input{background:#111!important;border-color:#2a2a2a!important;color:#eee!important}
html[data-theme="dark"] .social-message-form>input::placeholder{color:#555!important}
html[data-theme="dark"] .social-message-form>input:focus{border-color:#43e6a4!important}
html[data-theme="dark"] .social-message.unsent p{background:transparent!important;border-color:#2a2a2a!important;color:#666!important}
html[data-theme="dark"] .social-messages-fab{background:rgba(10,10,10,.96)!important;border-color:#262626!important;color:#eee!important;box-shadow:0 15px 45px rgba(0,0,0,.55)!important}
html[data-theme="dark"] .social-fab-avatar{border-color:#0a0a0a!important;background:#1a1a1a!important}
html[data-theme="dark"] .social-messages-fab>i{border-color:#0a0a0a!important}
html[data-theme="dark"] .social-dialog-card{background:#0d0d0d!important;border:1px solid #2a2a2a!important;box-shadow:0 30px 90px rgba(0,0,0,.6)!important}
html[data-theme="dark"] .social-dialog-card h3,html[data-theme="dark"] .social-dialog-card b{color:#f5f5f5!important}
html[data-theme="dark"] .social-dialog-card label{color:#999!important}
html[data-theme="dark"] .social-dialog-close{background:#1a1a1a!important;color:#aaa!important}
html[data-theme="dark"] .social-people-list button{background:#111!important}
html[data-theme="dark"] .social-people-list b{color:#eee!important}
html[data-theme="dark"] .social-people-list small{color:#888!important}
html[data-theme="dark"] .social-select-people label{background:#111!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .social-select-people b{color:#eee!important}
html[data-theme="dark"] .social-select-people small{color:#888!important}

/* Chat voice sheet + modals */
html[data-theme="dark"] .chat-voice-sheet,
html[data-theme="dark"] .voice-presence-panel,
html[data-theme="dark"] .zf-modal-lock,
html[data-theme="dark"] .social-feature-dialog,
html[data-theme="dark"] dialog{background:#0a0a0a!important;border-color:#262626!important;color:#eee!important}
html[data-theme="dark"] .social-feature-dialog h3,
html[data-theme="dark"] dialog h3{color:#f5f5f5!important}
html[data-theme="dark"] .social-feature-dialog span,
html[data-theme="dark"] dialog span{color:#8a8a8a!important}

/* Sidebar bottom area — override white from sidebar-nav-v2.css */
html[data-theme="dark"] .sidebar .sidebar-bottom{background:#000!important;border-top-color:#1f1f1f!important}

/* Appearance quick toggles (sidebar bottom) */
.settings-appearance-head{margin:18px 0 0;display:flex;align-items:baseline;gap:10px}
.settings-appearance-head span{font-size:9px;letter-spacing:.18em;font-weight:900;color:var(--green,#1fa374)}
.settings-appearance-head small{font-size:9px;color:var(--muted,#7f9891)}
.appearance-quick{display:flex;gap:6px;margin:10px 4px 0}
.appearance-quick button{
  flex:1;border:1px solid var(--line);background:var(--panel2,#10201d);color:var(--muted2,#a7b8b2);
  border-radius:9px;padding:7px 8px;font-size:10px;font-weight:800;cursor:pointer;transition:.18s;
}
.appearance-quick button:hover{transform:translateY(-1px);border-color:rgba(67,230,164,.35)}
.appearance-quick button.active{background:rgba(67,230,164,.12);color:var(--green2,#b5ffd9);border-color:rgba(67,230,164,.3)}
.appearance-quick button svg{width:15px;height:15px;display:block;margin:auto}
html[data-theme="dark"] .appearance-quick button{background:#0d0d0d!important;color:#8a8a8a!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .appearance-quick button:hover{border-color:#3a5a4d!important;background:#161616!important;color:#cfcfcf!important}
html[data-theme="dark"] .appearance-quick button.active{background:#0d0d0d!important;color:#43e6a4!important;border-color:#2a2a2a!important;box-shadow:none!important}

/* Checkout + classroom (courses premium) */
.course-checkout-overlay{position:fixed;z-index:2147483001;inset:0;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.6);backdrop-filter:blur(7px);animation:zfFade .18s ease}
.course-checkout-card{width:min(440px,100%);padding:26px 24px;border-radius:20px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.4);animation:zfPop .2s cubic-bezier(.2,.9,.3,1.2)}
html[data-theme="dark"] .course-checkout-card{background:#0d0d0d!important;border:1px solid #2a2a2a!important}
.course-checkout-card .cc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.course-checkout-card .cc-head b{font-size:17px;color:#1e2d3d;display:block;line-height:1.45}
html[data-theme="dark"] .course-checkout-card .cc-head b{color:#f5f5f5}
.course-checkout-card .cc-head small{color:#71818f;font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:800}
html[data-theme="dark"] .course-checkout-card .cc-head small{color:#8a8a8a}
.course-checkout-card .cc-price{display:flex;align-items:baseline;gap:10px;padding:14px 16px;border-radius:14px;background:#f4f8ff;border:1px solid #d9e8ff;margin-bottom:14px}
html[data-theme="dark"] .course-checkout-card .cc-price{background:#111;border-color:#2a2a2a}
.course-checkout-card .cc-price b{font-size:26px;color:#1e2d3d}
html[data-theme="dark"] .course-checkout-card .cc-price b{color:#f5f5f5}
.course-checkout-card .cc-price s{color:#93a7c4;font-size:14px}
.course-checkout-card .cc-price span{color:#1fa374;font-weight:800;font-size:11px}
.course-checkout-card .cc-row{display:flex;justify-content:space-between;font-size:11px;color:#5b7085;padding:7px 0;border-bottom:1px dashed #e4ece8}
html[data-theme="dark"] .course-checkout-card .cc-row{color:#9a9a9a;border-color:#262626}
.course-checkout-card .cc-row b{color:#1e2d3d}
html[data-theme="dark"] .course-checkout-card .cc-row b{color:#eee}
.course-checkout-card .cc-note{font-size:10px;color:#93a7c4;line-height:1.7;margin:12px 0 16px;background:#f6f9f8;border-radius:10px;padding:10px 12px}
html[data-theme="dark"] .course-checkout-card .cc-note{background:#111;color:#9a9a9a}
.course-checkout-card .cc-actions{display:flex;gap:9px;justify-content:flex-end}
.course-checkout-card .cc-actions button{border:0;border-radius:11px;padding:11px 16px;font:800 10px Prompt,sans-serif;cursor:pointer}
.course-checkout-card .cc-cancel{border:1px solid #dce5ef!important;background:#fff!important;color:#526579!important}
html[data-theme="dark"] .course-checkout-card .cc-cancel{border-color:#2a2a2a!important;background:#0d0d0d!important;color:#b5b5b5!important}
.course-checkout-card .cc-buy{background:linear-gradient(145deg,#22a879,#0b7b55);color:#fff;box-shadow:0 9px 24px rgba(11,123,85,.25)}
.course-checkout-card .cc-buy:disabled{opacity:.6;cursor:default}

.course-classroom{border:1px solid #d9e8ff;background:linear-gradient(150deg,#f7faff,#eef5ff);border-radius:16px;padding:16px;margin-top:14px}
html[data-theme="dark"] .course-classroom{border-color:#2a2a2a;background:linear-gradient(150deg,#111,#0a0a0a)}
.course-classroom h4{margin:0 0 4px;font-size:13px;color:#1e2d3d;display:flex;align-items:center;gap:8px}
html[data-theme="dark"] .course-classroom h4{color:#f5f5f5}
.course-classroom h4 i{width:8px;height:8px;border-radius:50%;background:#43e6a4;box-shadow:0 0 0 4px rgba(67,230,164,.15)}
.course-classroom p{margin:0 0 12px;color:#71818f;font-size:10px;line-height:1.7}
html[data-theme="dark"] .course-classroom p{color:#9a9a9a}
.course-classroom .cc-room{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid #dce5f2;border-radius:12px;padding:11px 13px;margin-bottom:9px}
html[data-theme="dark"] .course-classroom .cc-room{background:#0d0d0d;border-color:#2a2a2a}
.course-classroom .cc-room b{font-size:12px;color:#1e2d3d;display:block}
html[data-theme="dark"] .course-classroom .cc-room b{color:#eee}
.course-classroom .cc-room small{color:#71818f;font-size:9px}
html[data-theme="dark"] .course-classroom .cc-room small{color:#9a9a9a}
.course-classroom .cc-join{border:0;border-radius:9px;padding:8px 13px;background:linear-gradient(145deg,#438cf5,#226bdc);color:#fff;font:800 10px Prompt,sans-serif;cursor:pointer;white-space:nowrap}
.course-classroom .cc-discord{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:11px;padding:10px 15px;background:#5865F2;color:#fff;font:800 10px Prompt,sans-serif;cursor:pointer;box-shadow:0 9px 22px rgba(88,101,242,.28)}
.course-classroom .cc-discord:hover{background:#4752c4}
.course-classroom .cc-discord small{display:block;color:rgba(255,255,255,.85);font-size:9px;font-weight:600}

/* Paid watermark */
.lesson-media{position:relative;overflow:hidden}
.zf-protected-mark{position:absolute;top:14px;right:14px;z-index:5;background:rgba(0,0,0,.75);color:#f2f2f2;font:800 9px Prompt,sans-serif;letter-spacing:.06em;padding:6px 10px;border-radius:8px;border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(6px);pointer-events:none}
.zf-watermark{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden}
.zf-watermark span{position:absolute;font:600 11px/1.5 Prompt,sans-serif;color:rgba(255,255,255,.18);white-space:nowrap;letter-spacing:.04em;user-select:none;-webkit-user-select:none;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.zf-watermark span:nth-child(1){top:8%;left:4%;animation:zfWm 26s linear infinite}
.zf-watermark span:nth-child(2){top:34%;right:6%;animation:zfWm 31s linear infinite reverse}
.zf-watermark span:nth-child(3){bottom:16%;left:10%;animation:zfWm 24s linear infinite}
.zf-watermark span:nth-child(4){top:58%;left:38%;animation:zfWm 34s linear infinite reverse}
.zf-watermark span:nth-child(5){bottom:6%;right:16%;animation:zfWm 29s linear infinite}
@keyframes zfWm{0%{transform:translate(0,0) rotate(-18deg)}25%{transform:translate(9%,5%) rotate(-14deg)}50%{transform:translate(-6%,10%) rotate(-20deg)}75%{transform:translate(7%,-6%) rotate(-16deg)}100%{transform:translate(0,0) rotate(-18deg)}}
.zf-record-warn{position:absolute;inset:0;z-index:6;display:grid;place-items:center;background:rgba(0,0,0,.88);backdrop-filter:blur(8px);text-align:center;padding:20px}
.zf-record-warn b{font-size:15px;color:#ff9da6;display:block;margin-bottom:8px}
.zf-record-warn span{color:#cfcfcf;font-size:11px;line-height:1.8;max-width:340px}
.lesson-media video{-webkit-user-select:none;user-select:none}

/* Live composer course picker */
.live-course-pick{margin-top:10px;text-transform:none;letter-spacing:0}
.live-course-pick span{font-size:9px;color:#8fa49e;font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:2px}
html[data-theme="dark"] .live-course-pick span{color:#9a9a9a}

/* Market Room (chart + community chat) — pure black */
html[data-theme="dark"] .market-chart-card{background:#0a0a0a!important;border-color:#262626!important;box-shadow:0 24px 70px rgba(0,0,0,.55)!important}
html[data-theme="dark"] .market-chart-head,
html[data-theme="dark"] body[data-view="add"] .market-chart-head{background:linear-gradient(180deg,#0d0d0d,#0a0a0a)!important;border-color:#262626!important}
html[data-theme="dark"] .market-chart-title h3{color:#f5f5f5!important}
html[data-theme="dark"] .market-chart-title span,html[data-theme="dark"] .market-chart-title p{color:#9a9a9a!important}
html[data-theme="dark"] .market-chart-title p b{color:#7fb7a3!important}
html[data-theme="dark"] .market-source-icon{background:linear-gradient(145deg,#14261f,#0e1a15)!important;border-color:#20372e!important;color:#7df0bc!important}
html[data-theme="dark"] .live-market-pill{background:#0d1a15!important;border-color:#20372e!important;color:#7fb7a3!important}
html[data-theme="dark"] .open-tv-btn{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#b5b5b5!important}
html[data-theme="dark"] .open-tv-btn:hover{border-color:#3a5a4d!important;background:#141414!important;color:#7df0bc!important}
html[data-theme="dark"] .candle-countdown{background:linear-gradient(180deg,#0d0d0d,#0a0a0a)!important;border-color:#2a3a52!important;box-shadow:0 4px 12px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .candle-countdown span{color:#9a9a9a!important}
html[data-theme="dark"] .candle-countdown strong{color:#7db0ff!important}
html[data-theme="dark"] .candle-countdown:before{background:#62a9ff!important;box-shadow:0 0 0 4px rgba(98,169,255,.12)!important}
html[data-theme="dark"] .tv-chart-frame{background:#0a0a0a!important}
html[data-theme="dark"] .tv-chart-frame>.tradingview-widget-container,
html[data-theme="dark"] .tradingview-widget-container,
html[data-theme="dark"] .tradingview-widget-copyright{background:#0a0a0a!important}
html[data-theme="dark"] .tradingview-widget-copyright a{color:#4d9d80!important}
html[data-theme="dark"] .tv-chart-fallback{background:linear-gradient(180deg,#0d0d0d,#0a0a0a)!important;color:#9a9a9a!important}
html[data-theme="dark"] .tv-chart-fallback:before{background-image:linear-gradient(#1a1a1a 1px,transparent 1px),linear-gradient(90deg,#1a1a1a 1px,transparent 1px)!important;opacity:.5!important}
html[data-theme="dark"] .tv-fallback-mark{background:#12241d!important;border-color:#20372e!important;color:#43e6a4!important}
html[data-theme="dark"] .tv-chart-fallback strong{color:#c9c9c9!important}
html[data-theme="dark"] .tv-chart-fallback span{color:#9a9a9a!important}
html[data-theme="dark"] .market-chart-foot{background:#0a0a0a!important;border-color:#262626!important;color:#9a9a9a!important}
html[data-theme="dark"] .community-chat{background:#0a0a0a!important;border-color:#262626!important}
html[data-theme="dark"] body[data-view="add"] .community-chat{background:linear-gradient(180deg,#0d0d0d,#0a0a0a)!important}
html[data-theme="dark"] .chat-head span{color:#7df0bc!important}
html[data-theme="dark"] .chat-head h3{color:#f5f5f5!important}
html[data-theme="dark"] .chat-head i{background:#43e6a4!important;box-shadow:0 0 0 5px rgba(67,230,164,.1)!important}
html[data-theme="dark"] .chat-notice{background:#111!important;color:#9a9a9a!important}
html[data-theme="dark"] .chat-avatar{background:#14281f!important;color:#7df0bc!important}
html[data-theme="dark"] .chat-meta strong{color:#cfcfcf!important}
html[data-theme="dark"] .chat-meta time{color:#8a8a8a!important}
html[data-theme="dark"] .chat-content p{color:#b5b5b5!important}
html[data-theme="dark"] .chat-empty{color:#8a8a8a!important}
html[data-theme="dark"] .chat-form{border-top-color:#262626!important}
html[data-theme="dark"] .chat-form input{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#eee!important}
html[data-theme="dark"] .market-media-picker{background:#0d0d0d!important;border-color:#2a3a52!important;color:#62a9ff!important}
html[data-theme="dark"] .market-media-picker:hover{background:#141414!important}
html[data-theme="dark"] .stx-market-tools{background:linear-gradient(180deg,#0d0d0d,#0a0a0a)!important;border-color:#262626!important}
html[data-theme="dark"] body[data-view="add"] .stx-market-tools{background:#0d0d0d!important}
html[data-theme="dark"] .stx-signal-topline,html[data-theme="dark"] .stx-signal-latest,html[data-theme="dark"] .stx-signal-history-toggle{background:rgba(13,13,13,.94)!important;border-color:#2a3a52!important}
html[data-theme="dark"] .stx-signal-topline span{color:#62a9ff!important}
html[data-theme="dark"] .stx-signal-topline i{background:#43e6a4!important;box-shadow:0 0 0 4px rgba(67,230,164,.12)!important}
html[data-theme="dark"] .stx-signal-topline em{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .stx-signal-topline b{color:#9a9a9a!important}
html[data-theme="dark"] .stx-signal-topline b.live{color:#43e6a4!important}
html[data-theme="dark"] .stx-indicator-card{background:linear-gradient(135deg,#111 0%,#0d0d0d 60%,#0a0a0a 100%)!important;border-color:#262626!important;box-shadow:0 9px 25px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .stx-indicator-copy span{color:#7df0bc!important}
html[data-theme="dark"] .stx-indicator-copy h3{color:#f5f5f5!important}
html[data-theme="dark"] .stx-indicator-copy p,html[data-theme="dark"] .stx-indicator-copy small{color:#9a9a9a!important}
html[data-theme="dark"] .stx-indicator-open{background:#12241d!important;border-color:#20372e!important;color:#7df0bc!important}
html[data-theme="dark"] .voice-room{background:linear-gradient(145deg,#0d1220,#0a0e18)!important;border-color:#26344e!important}
html[data-theme="dark"] .voice-room-copy b{color:#eee!important}
html[data-theme="dark"] .voice-room-copy small{color:#8a8a8a!important}
html[data-theme="dark"] .voice-actions button{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#b5b5b5!important}
html[data-theme="dark"] .voice-actions button:first-child{background:#1a3a5c!important;border-color:#2d5f8f!important;color:#7db0ff!important}
html[data-theme="dark"] .voice-actions button.active{background:#12241d!important;border-color:#2a5a44!important;color:#7df0bc!important}
html[data-theme="dark"] .voice-actions button.muted{background:#2a1518!important;border-color:#5a2a30!important;color:#ff9da6!important}
html[data-theme="dark"] .chat-voice-sheet{background:rgba(13,13,13,.97)!important;border-color:#262626!important;box-shadow:0 12px 30px rgba(0,0,0,.5)!important}
html[data-theme="dark"] .chat-voice-head b{color:#eee!important}
html[data-theme="dark"] .chat-voice-head small{color:#8a8a8a!important}
html[data-theme="dark"] .chat-voice-head>button{background:#0d0d0d!important;color:#9a9a9a!important}
html[data-theme="dark"] .chat-voice-actions button{background:#0d0d0d!important;border-color:#2a2a2a!important;color:#b5b5b5!important}
html[data-theme="dark"] .chat-voice-actions button.primary{background:#1a3a5c!important;border-color:#2d5f8f!important;color:#fff!important}
html[data-theme="dark"] .chat-voice-actions button.active{background:#12241d!important;color:#7df0bc!important}
html[data-theme="dark"] .chat-voice-actions button.muted{background:#2a1518!important;color:#ff9da6!important}

/* Price & risk smart calc strip (Risk / Reward / R:R / Session) */
html[data-theme="dark"] .smart-calc-strip{background:#262626!important;border-color:#262626!important}
html[data-theme="dark"] .smart-calc-strip>div{background:#0d0d0d!important}
html[data-theme="dark"] .smart-calc-strip>div+div{border-left-color:#262626!important}
html[data-theme="dark"] .smart-calc-strip .featured{background:linear-gradient(135deg,#12241d,#0d0d0d)!important}
html[data-theme="dark"] .smart-calc-strip span,html[data-theme="dark"] .smart-calc-strip small{color:#9a9a9a!important}
html[data-theme="dark"] .smart-calc-strip strong{color:#f5f5f5!important}
html[data-theme="dark"] .smart-calc-strip .featured strong{color:#7df0bc!important}
html[data-theme="dark"] .calc-session-select select{background-color:#0d0d0d!important;border-color:#2a2a2a!important;color:#cfcfcf!important}
html[data-theme="dark"] .section-index{background:#12241d!important;border-color:#20372e!important;color:#7df0bc!important;box-shadow:0 5px 13px rgba(0,0,0,.3)!important}
html[data-theme="dark"] .quality-ring:after{background:#0d0d0d!important}
html[data-theme="dark"] .quality-ring{background:conic-gradient(#43e6a4 calc(var(--score)*1%),#1a2a24 0)!important}

/* Admin user table + owners */
html[data-theme="dark"] .admin-table th{background:#141414!important;color:#9a9a9a!important}
html[data-theme="dark"] .admin-table td{border-top-color:#1c1c1c!important;color:#b5b5b5!important}
html[data-theme="dark"] .admin-avatar{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .admin-user b{color:#eee!important}
html[data-theme="dark"] .admin-user small{color:#8a8a8a!important}
html[data-theme="dark"] .admin-hero h2{color:#f5f5f5!important}
html[data-theme="dark"] .admin-hero p{color:#9a9a9a!important}
html[data-theme="dark"] .admin-setting-row{border-bottom-color:#1c1c1c!important}
html[data-theme="dark"] .admin-setting-row b{color:#eee!important}
html[data-theme="dark"] .admin-setting-row small{color:#8a8a8a!important}
html[data-theme="dark"] .admin-security-note>div{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .admin-security-note h3{color:#f5f5f5!important}
html[data-theme="dark"] .admin-security-note p{color:#9a9a9a!important}
html[data-theme="dark"] .admin-number{color:#9a9a9a!important}
html[data-theme="dark"] .admin-role-badge{background:linear-gradient(135deg,#12203a,#1b3a66)!important;color:#7db0ff!important}

/* Live classroom watermark (viewer identity on their own view) */
.live-stage{position:relative}
.live-classroom-mark{position:absolute;top:12px;left:12px;z-index:12;background:rgba(0,0,0,.78);color:#f2f2f2;font:800 9px Prompt,sans-serif;letter-spacing:.06em;padding:6px 10px;border-radius:8px;border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(6px);pointer-events:none}
.live-classroom-watermark{position:absolute;inset:0;z-index:11;pointer-events:none;overflow:hidden}
.live-classroom-watermark span{position:absolute;font:600 11px/1.5 Prompt,sans-serif;color:rgba(255,255,255,.15);white-space:nowrap;letter-spacing:.04em;user-select:none;-webkit-user-select:none;text-shadow:0 1px 3px rgba(0,0,0,.5);animation:zfWm 28s linear infinite}
.live-classroom-watermark span:nth-child(1){top:10%;left:5%}
.live-classroom-watermark span:nth-child(2){top:40%;right:7%;animation-direction:reverse}
.live-classroom-watermark span:nth-child(3){bottom:14%;left:12%}
.live-classroom-watermark span:nth-child(4){bottom:5%;right:18%;animation-direction:reverse}
.live-classroom-watermark span:nth-child(5){top:62%;left:40%}

.live-classroom-mark span{display:block;color:#b8b8b8;font-size:8px;margin-top:3px;letter-spacing:.02em;font-weight:600}

/* Reels feed background */
html[data-theme="dark"] .reels-feed{background:linear-gradient(180deg,#0a0a0a,#050505)!important;border-color:#262626!important;box-shadow:0 18px 50px rgba(0,0,0,.5)!important}
html[data-theme="dark"] .reel-comments-list{scrollbar-color:#333 transparent}
html[data-theme="dark"] .reel-comments-list::-webkit-scrollbar-thumb{background:#333}
html[data-theme="dark"] .reel-comments-head{background:#0a0a0a!important;border-color:#262626!important}
html[data-theme="dark"] .reel-comments-head h3{color:#eee!important}
html[data-theme="dark"] .reel-comments-reel{background:#0d0d0d!important;border-color:#262626!important}
html[data-theme="dark"] .reel-comments-empty{color:#666!important}

/* ========== PREMIUM SCROLLBAR — ZERO FLOWSTATE signature ========== */
/* Dark mode: sleek obsidian track + graphite thumb with soft green accent glow */
html[data-theme="dark"],html[data-theme="dark"] body{scrollbar-color:#2e2e2e #0a0a0a!important;scrollbar-width:thin}
html[data-theme="dark"] *{scrollbar-color:#2e2e2e #0a0a0a!important}
html[data-theme="dark"]::-webkit-scrollbar,html[data-theme="dark"] body::-webkit-scrollbar,html[data-theme="dark"] ::-webkit-scrollbar{width:10px;height:10px}
html[data-theme="dark"]::-webkit-scrollbar-track,html[data-theme="dark"] body::-webkit-scrollbar-track,html[data-theme="dark"] ::-webkit-scrollbar-track{background:linear-gradient(180deg,#0d0d0d,#090909)!important;border-radius:999px}
html[data-theme="dark"]::-webkit-scrollbar-thumb,html[data-theme="dark"] body::-webkit-scrollbar-thumb,html[data-theme="dark"] ::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#3a3a3a,#262626 55%,#1f1f1f)!important;border-radius:999px;border:2px solid rgba(10,10,10,.9);box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),0 2px 8px rgba(0,0,0,.55);min-height:44px}
html[data-theme="dark"]::-webkit-scrollbar-thumb:hover,html[data-theme="dark"] body::-webkit-scrollbar-thumb:hover,html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#474747,#333 55%,#2a2a2a)!important;box-shadow:inset 0 0 0 1px rgba(67,230,164,.18),0 2px 10px rgba(0,0,0,.6),0 0 10px rgba(67,230,164,.12)!important}
html[data-theme="dark"]::-webkit-scrollbar-corner,html[data-theme="dark"] body::-webkit-scrollbar-corner,html[data-theme="dark"] ::-webkit-scrollbar-corner{background:#0a0a0a!important}

/* Light mode: pearl track + soft slate thumb with subtle blue accent */
html:not([data-theme="dark"]),html:not([data-theme="dark"]) body{scrollbar-color:#b8c2ce #f2f5f9!important;scrollbar-width:thin}
html:not([data-theme="dark"]) *{scrollbar-color:#b8c2ce #f2f5f9!important}
html:not([data-theme="dark"])::-webkit-scrollbar,html:not([data-theme="dark"]) body::-webkit-scrollbar,html:not([data-theme="dark"]) ::-webkit-scrollbar{width:10px;height:10px}
html:not([data-theme="dark"])::-webkit-scrollbar-track,html:not([data-theme="dark"]) body::-webkit-scrollbar-track,html:not([data-theme="dark"]) ::-webkit-scrollbar-track{background:linear-gradient(180deg,#f6f9fc,#eef2f7)!important;border-radius:999px}
html:not([data-theme="dark"])::-webkit-scrollbar-thumb,html:not([data-theme="dark"]) body::-webkit-scrollbar-thumb,html:not([data-theme="dark"]) ::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#c6d0db,#a9b6c4 55%,#9aa9b8)!important;border-radius:999px;border:2px solid rgba(246,249,252,.9);box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 2px 6px rgba(23,45,70,.14);min-height:44px}
html:not([data-theme="dark"])::-webkit-scrollbar-thumb:hover,html:not([data-theme="dark"]) body::-webkit-scrollbar-thumb:hover,html:not([data-theme="dark"]) ::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#d3dce5,#b8c4d1 55%,#aab8c6)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.8),0 2px 8px rgba(23,45,70,.2)!important}
html:not([data-theme="dark"])::-webkit-scrollbar-corner,html:not([data-theme="dark"]) body::-webkit-scrollbar-corner,html:not([data-theme="dark"]) ::-webkit-scrollbar-corner{background:#f2f5f9!important}

/* Reels feed — ซ่อน scrollbar ให้ลื่นไหลเต็มจอ (ทุกโหมด) — แยกจากตัว feed เอง! */
.reels-feed{scrollbar-width:none!important}
.reels-feed::-webkit-scrollbar,.reels-feed *::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.reel-comments-list{scrollbar-width:none!important}
.reel-comments-list::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
/* ===== Admin Operations Panel — dark theme ===== */
html[data-theme="dark"] .admin-ops-shell{margin-top:18px}
html[data-theme="dark"] .admin-ops-tabs{background:rgba(10,10,10,.94)!important;border-color:#262626!important;box-shadow:0 12px 35px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .admin-ops-tabs button{color:#888!important}
html[data-theme="dark"] .admin-ops-tabs button.active{background:linear-gradient(145deg,#0d1a14,#0a1510)!important;color:#43e6a4!important;box-shadow:inset 0 0 0 1px #1a3d2e!important}
html[data-theme="dark"] .admin-ops-pane.active{animation:none}
html[data-theme="dark"] .admin-live-summary article{background:#0d0d0d!important;border-color:#262626!important}
html[data-theme="dark"] .admin-live-summary small{color:#888!important}
html[data-theme="dark"] .admin-live-summary strong{color:#eee!important}
html[data-theme="dark"] .admin-live-table{background:#0d0d0d!important;border-color:#262626!important}
html[data-theme="dark"] .admin-live-head{background:#111!important;color:#666!important;border-color:#262626!important}
html[data-theme="dark"] .admin-live-row{border-color:#1c1c1c!important;color:#aaa!important}
html[data-theme="dark"] .admin-live-row b{color:#eee!important}
html[data-theme="dark"] .admin-live-row small{color:#888!important}
html[data-theme="dark"] .admin-live-row code{color:#7db0ff!important}
html[data-theme="dark"] .admin-live-toolbar{background:transparent}
html[data-theme="dark"] .admin-live-search{background:#0d0d0d!important;border-color:#262626!important;box-shadow:0 4px 14px rgba(0,0,0,.2)!important}
html[data-theme="dark"] .admin-live-search input{color:#eee!important}
html[data-theme="dark"] .admin-live-search span{color:#666!important}
html[data-theme="dark"] .admin-live-status{background:#0d0d0d!important;border-color:#262626!important}
html[data-theme="dark"] .admin-live-status button{color:#888!important}
html[data-theme="dark"] .admin-live-status button.active{background:#0d1a14!important;color:#43e6a4!important;box-shadow:0 3px 10px rgba(0,0,0,.2)!important}
html[data-theme="dark"] .admin-live-select{background:#0d0d0d!important;border-color:#262626!important;color:#ccc!important}
html[data-theme="dark"] .admin-live-count{color:#888!important}
html[data-theme="dark"] .admin-live-clear{background:#1a1a1a!important;color:#888!important}
html[data-theme="dark"] .admin-live-clear:hover{background:#262626!important;color:#eee!important}
html[data-theme="dark"] .admin-live-pager-btns button{background:#0d0d0d!important;border-color:#262626!important;color:#ccc!important}
html[data-theme="dark"] .admin-live-pager-btns button:hover:not(:disabled){background:#0d1a14!important;color:#43e6a4!important;border-color:#1a3d2e!important}
html[data-theme="dark"] .admin-live-pager>span{color:#888!important}
html[data-theme="dark"] .admin-live-pager-btns b{color:#ccc!important}
html[data-theme="dark"] .admin-config-intro span{color:#43e6a4!important}
html[data-theme="dark"] .admin-config-intro h3{color:#eee!important}
html[data-theme="dark"] .admin-config-intro p{color:#888!important}
html[data-theme="dark"] .admin-config-dashboard>.config-card{background:#0d0d0d!important;border-color:#262626!important;box-shadow:0 12px 34px rgba(0,0,0,.3)!important}
html[data-theme="dark"] .admin-config-dashboard .admin-number{color:#ccc!important}
html[data-theme="dark"] .admin-config-dashboard input,html[data-theme="dark"] .admin-config-dashboard select,html[data-theme="dark"] .admin-config-dashboard textarea{background:#111!important;border-color:#2a2a2a!important;color:#eee!important}
html[data-theme="dark"] .admin-config-dashboard input:focus,html[data-theme="dark"] .admin-config-dashboard select:focus,html[data-theme="dark"] .admin-config-dashboard textarea:focus{border-color:#43e6a4!important;background:#0d0d0d!important;box-shadow:0 0 0 3px rgba(67,230,164,.12)!important}
html[data-theme="dark"] .config-toggle-card{background:#111!important;border-color:#262626!important}
html[data-theme="dark"] .config-toggle-card b{color:#eee!important}
html[data-theme="dark"] .config-toggle-card small{color:#888!important}
html[data-theme="dark"] .config-system>#adminSaveSettings{background:#43e6a4!important;color:#000!important;box-shadow:0 12px 28px rgba(67,230,164,.2)!important}
html[data-theme="dark"] .admin-config-status>span{background:#111!important;border-color:#262626!important}
html[data-theme="dark"] .admin-config-status b{color:#ccc!important}
html[data-theme="dark"] .admin-config-status small{color:#43e6a4!important}
html[data-theme="dark"] .admin-config-status .off small{color:#888!important}
html[data-theme="dark"] .admin-security-kpis article{background:#0d0d0d!important;border-color:#262626!important}
html[data-theme="dark"] .admin-security-kpis small{color:#888!important}
html[data-theme="dark"] .admin-security-kpis strong{color:#eee!important}
html[data-theme="dark"] .admin-split>.panel{background:#0d0d0d!important;border-color:#262626!important}
html[data-theme="dark"] .admin-split h3{color:#eee!important}
html[data-theme="dark"] .security-event{border-color:#1c1c1c!important}
html[data-theme="dark"] .security-event b{color:#eee!important}
html[data-theme="dark"] .security-event small{color:#888!important}
html[data-theme="dark"] .security-event button{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .blocked-row{border-color:#1c1c1c!important}
html[data-theme="dark"] .blocked-row code{color:#7db0ff!important}
html[data-theme="dark"] .blocked-row small{color:#888!important}
html[data-theme="dark"] .blocked-row button{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .admin-empty{color:#666!important}
html[data-theme="dark"] .health-service{background:#0d0d0d!important;border-color:#262626!important}
html[data-theme="dark"] .health-service b{color:#eee!important}
html[data-theme="dark"] .health-service small{color:#888!important}
html[data-theme="dark"] .admin-capacity{background:#0d0d0d!important;border-color:#262626!important}
html[data-theme="dark"] .admin-capacity h3{color:#eee!important}
html[data-theme="dark"] .admin-capacity>div{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .admin-capacity p{color:#888!important}
html[data-theme="dark"] .admin-health-live{gap:10px}
html[data-theme="dark"] .health-service.down{background:#1a0d0d!important;border-color:#4a1e20!important}
html[data-theme="dark"] .acc-pill{background:#12203a!important;color:#7db0ff!important}
html[data-theme="dark"] .acc-pill.pending{background:#2a1f00!important;color:#fbbf24!important}
html[data-theme="dark"] .acc-pill.suspended{background:#2a0d10!important;color:#ff7a7e!important}
html[data-theme="dark"] .admin-section-head>div>span{color:#43e6a4!important}
html[data-theme="dark"] .admin-section-head h3{color:#eee!important}
html[data-theme="dark"] .admin-section-head p{color:#888!important}
html[data-theme="dark"] .network-blocked{background:#0a0a0a!important}
/* Sidebar nav — ซ่อน scrollbar ให้ดูสะอาด (ทุกโหมด) */
.sidebar .nav{scrollbar-width:none!important}
.sidebar .nav::-webkit-scrollbar,.sidebar .nav *::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
