/* ============================================================
   小老虎集团江西公司 · 浅色大屏模式
   通过 <html data-theme="light"> 切换，保留同一套布局
   ============================================================ */

.theme-moon { display: none; }
html[data-theme="light"] .theme-sun { display: none; }
html[data-theme="light"] .theme-moon { display: block; }

html[data-theme="light"] {
  color-scheme: light;
  --text: #16233c;
  --muted: #6b7e9c;
  --line: rgba(31, 60, 110, 0.12);
  --line-soft: rgba(31, 60, 110, 0.07);
  --cyan: #0fa8c4;
  --gold: #a8770f;
  --silver: #64748b;
  --bronze: #a05f2c;
  --shadow-sm: 0 18px 44px -34px rgba(22, 45, 85, 0.45);
}

html[data-theme="light"] body.dashboard-body {
  color: #16233c;
  background:
    radial-gradient(1000px 600px at 8% -20%, rgba(79, 141, 255, 0.14), transparent 60%),
    radial-gradient(820px 500px at 102% 0%, rgba(120, 96, 255, 0.07), transparent 58%),
    radial-gradient(700px 500px at 50% 118%, rgba(58, 217, 242, 0.05), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, #eef3fa 48%, #e9eff8 100%);
}

html[data-theme="light"] .bg-decor::before { opacity: 0.03; mix-blend-mode: multiply; }

html[data-theme="light"] ::selection { background: rgba(79, 141, 255, 0.2); color: #10203a; }

html[data-theme="light"] *::-webkit-scrollbar-thumb { background: rgba(31, 60, 110, 0.16); }
html[data-theme="light"] *::-webkit-scrollbar-thumb:hover { background: rgba(31, 60, 110, 0.26); }

/* ---------- 顶部 ---------- */

html[data-theme="light"] .topbar {
  background: rgba(250, 252, 255, 0.82);
  border-bottom-color: rgba(31, 60, 110, 0.08);
}

html[data-theme="light"] .topbar::after {
  background: linear-gradient(90deg, transparent, rgba(79, 141, 255, 0.45), transparent);
}

html[data-theme="light"] .brand-title { color: #10203a; }
html[data-theme="light"] .brand-sub { color: #8496b0; }
html[data-theme="light"] .brand-logo {
  border-color: rgba(31, 60, 110, 0.12);
  box-shadow: 0 0 0 4px rgba(79, 141, 255, 0.08), 0 10px 24px rgba(22, 45, 85, 0.16);
}

html[data-theme="light"] .season-chip {
  color: #4d6486;
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(31, 60, 110, 0.14);
}

html[data-theme="light"] .range-tabs {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(31, 60, 110, 0.12);
}

html[data-theme="light"] .range-btn { color: #6b7e9c; }
html[data-theme="light"] .range-btn:hover { color: #14213a; }
html[data-theme="light"] .range-btn.active {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 6px 16px -8px rgba(var(--accent-rgb), 0.7);
}

html[data-theme="light"] .clock-wrap { border-left-color: rgba(31, 60, 110, 0.1); }
html[data-theme="light"] .clock-label { color: #93a3ba; }
html[data-theme="light"] .clock { color: #2a3a55; }

html[data-theme="light"] .icon-btn {
  color: #5d7190;
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(31, 60, 110, 0.13);
}
html[data-theme="light"] .icon-btn:hover {
  color: #10203a;
  background: #fff;
  border-color: rgba(var(--accent-rgb), 0.42);
}
html[data-theme="light"] .icon-btn.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- 标题条 / 赛季目标 / 滚动播报 ---------- */

html[data-theme="light"] .board-strip { border-bottom-color: rgba(31, 60, 110, 0.09); }
html[data-theme="light"] .strip-title { color: #0f1c33; }
html[data-theme="light"] .strip-meta { color: #6b7e9c; }
html[data-theme="light"] .strip-meta b { color: #213a5c; }

html[data-theme="light"] .strip-target {
  background: linear-gradient(160deg, #ffffff, #f5f9ff);
  border-color: rgba(31, 60, 110, 0.1);
  box-shadow: 0 16px 32px -28px rgba(22, 45, 85, 0.5);
}
html[data-theme="light"] .st-head { color: #6b7e9c; }
html[data-theme="light"] .st-head b { color: #10203a; }
html[data-theme="light"] .st-head b small { color: #6b7e9c; }
html[data-theme="light"] .st-bar { background: rgba(31, 60, 110, 0.09); }
html[data-theme="light"] .st-foot { color: #7a8da9; }
html[data-theme="light"] .st-foot b { color: #213a5c; }

html[data-theme="light"] .ticker-label { color: #6b7e9c; background: rgba(255, 255, 255, 0.6); }
html[data-theme="light"] .ticker-item { color: #3f5577; }
html[data-theme="light"] .ticker-item b { color: #10203a; }
html[data-theme="light"] .ticker-item .tk-meta { color: #8496ae; }
html[data-theme="light"] .ticker-item .tk-type.is-f { color: #a8770f; background: #fdf6e5; border-color: #f1dfb0; }
html[data-theme="light"] .ticker-item .tk-type.is-l { color: #0b7f96; background: #eaf9fd; border-color: #c8edf6; }

/* ---------- 指标卡 ---------- */

html[data-theme="light"] .kpi,
html[data-theme="light"] .board .panel {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.9));
  border-color: rgba(31, 60, 110, 0.1);
  box-shadow: 0 18px 40px -32px rgba(22, 45, 85, 0.45);
}

html[data-theme="light"] .kpi::before,
html[data-theme="light"] .panel::before {
  background: linear-gradient(90deg, transparent, rgba(79, 141, 255, 0.38), transparent);
}

html[data-theme="light"] .kpi:hover,
html[data-theme="light"] .board .panel:hover { border-color: rgba(var(--accent-rgb), 0.3); }

html[data-theme="light"] .kpi-label { color: #6b7e9c; }
html[data-theme="light"] .kpi-label::before { box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.45); }
html[data-theme="light"] .kpi-idx { color: #a3b2c8; }
html[data-theme="light"] .kpi-value { color: #0f1c33; }
html[data-theme="light"] .kpi-value small { color: #7a8da9; }
html[data-theme="light"] .kpi-value .num.is-muted { color: #8a9bb4; }
html[data-theme="light"] .kpi-foot { color: #6b7e9c; }
html[data-theme="light"] .kpi-progress { background: rgba(31, 60, 110, 0.08); }

/* ---------- 面板头 ---------- */

html[data-theme="light"] .panel-head h2 { color: #14213a; }
html[data-theme="light"] .panel-head p { color: #7488a4; }
html[data-theme="light"] .panel-tag {
  color: #4d6486;
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(31, 60, 110, 0.12);
}

/* ---------- 双组对决 ---------- */

html[data-theme="light"] .duel-badge {
  background: #f2f7ff;
  border-color: rgba(31, 60, 110, 0.14);
}
html[data-theme="light"] .duel-name b { color: #10203a; }
html[data-theme="light"] .duel-name small { color: #7a8da9; }
html[data-theme="light"] .duel-rank {
  color: #5d7190;
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(31, 60, 110, 0.14);
}
html[data-theme="light"] .duel-rank.is-champion {
  color: #a8770f;
  background: #fdf6e5;
  border-color: #f0d9a4;
}
html[data-theme="light"] .duel-vs { color: #94a5bd; }
html[data-theme="light"] .ds-value { color: #0f1c33; }
html[data-theme="light"] .ds-value small { color: #7a8da9; }
html[data-theme="light"] .ds-bar { background: rgba(31, 60, 110, 0.08); }
html[data-theme="light"] .ds-share,
html[data-theme="light"] .ds-mid { color: #7a8da9; }
html[data-theme="light"] .duel-row { border-top-color: rgba(31, 60, 110, 0.07); }
html[data-theme="light"] .duel-row b { color: #22395b; }
html[data-theme="light"] .duel-row span { color: #7a8da9; }

html[data-theme="light"] .group-mini {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(31, 60, 110, 0.08);
}
html[data-theme="light"] .group-mini .gm-head { color: #14213a; }
html[data-theme="light"] .group-mini .gm-nums b { color: #22395b; }
html[data-theme="light"] .group-mini .gm-nums span { color: #7a8da9; }

/* ---------- 趋势 ---------- */

html[data-theme="light"] .chart-summary { color: #6b7e9c; }
html[data-theme="light"] .chart-summary b { color: #22395b; }
html[data-theme="light"] .chart-grid-line { stroke: rgba(31, 60, 110, 0.09); }
html[data-theme="light"] .chart-axis { fill: #7185a3; }
html[data-theme="light"] .chart-value { fill: #3f587d; }
html[data-theme="light"] .chart-month { fill: #6b7e9c; }
html[data-theme="light"] .chart-line { stroke: #0fa8c4; }
html[data-theme="light"] .chart-dot { fill: #ffffff; stroke: #0fa8c4; }
html[data-theme="light"] .chart-legend { color: #6b7e9c; }

/* ---------- 个人榜 ---------- */

html[data-theme="light"] .rank-row:hover { background: rgba(79, 141, 255, 0.06); }
html[data-theme="light"] .rank-row.is-1 { background: rgba(242, 198, 109, 0.18); }
html[data-theme="light"] .rank-row.is-2 { background: rgba(100, 116, 139, 0.08); }
html[data-theme="light"] .rank-row.is-3 { background: rgba(160, 95, 44, 0.1); }
html[data-theme="light"] .rank-no { color: #8798b2; }
html[data-theme="light"] .rank-row.is-1 .rank-no { color: #a8770f; }
html[data-theme="light"] .rank-row.is-2 .rank-no { color: #5b6b80; }
html[data-theme="light"] .rank-row.is-3 .rank-no { color: #a05f2c; }
html[data-theme="light"] .rank-who b { color: #1a2c48; }
html[data-theme="light"] .rank-who span { color: #7a8da9; }
html[data-theme="light"] .rank-bar { background: rgba(31, 60, 110, 0.08); }
html[data-theme="light"] .rank-val b { color: #22395b; }
html[data-theme="light"] .rank-val span { color: #7a8da9; }
html[data-theme="light"] .rank-conv { color: #6b7e9c; }

/* ---------- 总监 ---------- */

html[data-theme="light"] .dir-row {
  background: rgba(255, 255, 255, 0.6);
  border-color: transparent;
}
html[data-theme="light"] .dir-row:hover { background: #f5f9ff; border-color: rgba(31, 60, 110, 0.1); }
html[data-theme="light"] .dir-rank { color: #6b7e9c; border-color: rgba(31, 60, 110, 0.14); }
html[data-theme="light"] .dir-row:nth-child(1) .dir-rank { color: #a8770f; background: #fdf6e5; border-color: #f0d9a4; }
html[data-theme="light"] .dir-row:nth-child(2) .dir-rank { color: #55657a; background: #f1f4f9; border-color: #dbe3ef; }
html[data-theme="light"] .dir-row:nth-child(3) .dir-rank { color: #a05f2c; background: #fbf1e9; border-color: #eed6c3; }
html[data-theme="light"] .dir-name { color: #1a2c48; }
html[data-theme="light"] .dir-name span { color: #7a8da9; }
html[data-theme="light"] .dir-bar { background: rgba(31, 60, 110, 0.08); }
html[data-theme="light"] .dir-meta { color: #7a8da9; }
html[data-theme="light"] .dir-num { color: #22395b; }
html[data-theme="light"] .dir-total { border-top-color: rgba(31, 60, 110, 0.08); color: #7a8da9; }
html[data-theme="light"] .dir-total b { color: #22395b; }

/* ---------- 转化环 ---------- */

html[data-theme="light"] .ring-track { stroke: rgba(31, 60, 110, 0.1); }
html[data-theme="light"] .ring-center b { color: #0f1c33; }
html[data-theme="light"] .ring-center b small { color: #7a8da9; }
html[data-theme="light"] .ring-center span,
html[data-theme="light"] .ring-note { color: #7a8da9; }
html[data-theme="light"] .ring-stats { border-top-color: rgba(31, 60, 110, 0.08); }
html[data-theme="light"] .ring-stats div + div { border-left-color: rgba(31, 60, 110, 0.08); }
html[data-theme="light"] .ring-stats b { color: #22395b; }
html[data-theme="light"] .ring-stats span { color: #7a8da9; }

/* ---------- 客资 ---------- */

html[data-theme="light"] .lead-group {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(31, 60, 110, 0.08);
}
html[data-theme="light"] .lg-head b { color: #1a2c48; }
html[data-theme="light"] .lg-head .lg-total { color: #22395b; }
html[data-theme="light"] .lg-head .lg-total small { color: #7a8da9; }
html[data-theme="light"] .lg-bar { background: rgba(31, 60, 110, 0.08); }
html[data-theme="light"] .lg-bar .pool { background: rgba(31, 60, 110, 0.18); }
html[data-theme="light"] .lg-foot { color: #7a8da9; }
html[data-theme="light"] .lg-foot b { color: #22395b; }
html[data-theme="light"] .mini-divider { color: #93a3ba; }
html[data-theme="light"] .source-name { color: #3f5577; }
html[data-theme="light"] .source-bar { background: rgba(31, 60, 110, 0.08); }
html[data-theme="light"] .source-val { color: #22395b; }
html[data-theme="light"] .source-val span { color: #93a3ba; }

/* ---------- 表格 ---------- */

html[data-theme="light"] .table-wrap {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(31, 60, 110, 0.1);
}
html[data-theme="light"] table.dt thead th {
  background: #f3f7fd;
  color: #6b7e9c;
  border-bottom-color: rgba(31, 60, 110, 0.1);
}
html[data-theme="light"] table.dt tbody td {
  color: #2a3a55;
  border-bottom-color: rgba(31, 60, 110, 0.06);
}
html[data-theme="light"] table.dt tbody tr:hover td { background: #f5f9ff; }
html[data-theme="light"] .cell-name { color: #10203a; }
html[data-theme="light"] .muted-cell { color: #7a8da9; }
html[data-theme="light"] .cell-rank { color: #8798b2; }
html[data-theme="light"] .cell-rank.gold { color: #a8770f; }
html[data-theme="light"] .cell-rank.silver { color: #5b6b80; }
html[data-theme="light"] .cell-rank.bronze { color: #a05f2c; }
html[data-theme="light"] .tag {
  color: #4d6486;
  background: rgba(31, 60, 110, 0.055);
  border-color: rgba(31, 60, 110, 0.08);
}
html[data-theme="light"] .tag .dot { background: var(--g, var(--accent)); }

/* ---------- 战报 ---------- */

html[data-theme="light"] .feed-row { border-bottom-color: rgba(31, 60, 110, 0.06); }
html[data-theme="light"] .feed-row:hover { background: #f6f9ff; }
html[data-theme="light"] .feed-title { color: #22395b; }
html[data-theme="light"] .feed-meta,
html[data-theme="light"] .feed-date { color: #8496ae; }
html[data-theme="light"] .feed-ico.franchise { color: #a8770f; background: #fdf6e5; border-color: #f1dfb0; }
html[data-theme="light"] .feed-ico.leads { color: #0b7f96; background: #eaf9fd; border-color: #c8edf6; }

/* ---------- 其他 ---------- */

html[data-theme="light"] .empty {
  color: #8496ae;
  border-color: rgba(31, 60, 110, 0.15);
}
html[data-theme="light"] .empty-rich b,
html[data-theme="light"] .feed-empty b { color: #22395b; }
html[data-theme="light"] .empty-rich span,
html[data-theme="light"] .feed-empty span { color: #8496ae; }
html[data-theme="light"] .error-banner {
  color: #b4232f;
  background: #fff4f5;
  border-color: #f3ccd1;
}
html[data-theme="light"] .dot-sep { background: rgba(31, 60, 110, 0.22); }

html[data-theme="light"] .chart-area { opacity: 0.9; }

/* ---------- 浅色动效适配 ---------- */

html[data-theme="light"] {
  --shine: rgba(79, 141, 255, 0.1);
}

html[data-theme="light"] .bg-decor::after {
  background:
    radial-gradient(closest-side, rgba(79, 141, 255, 0.1), transparent 70%) 12% 18% / 46% 46% no-repeat,
    radial-gradient(closest-side, rgba(58, 217, 242, 0.08), transparent 70%) 82% 28% / 42% 42% no-repeat,
    radial-gradient(closest-side, rgba(120, 96, 255, 0.06), transparent 70%) 55% 92% / 50% 50% no-repeat;
  opacity: 0.6;
}

html[data-theme="light"] .kpi::after {
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.13), transparent);
}

html[data-theme="light"] .rank-row.is-1::after {
  background: linear-gradient(110deg, transparent 32%, rgba(168, 119, 15, 0.12) 49%, transparent 64%);
}

html[data-theme="light"] .duel-vs {
  animation-name: vsPulseLight;
}

@keyframes vsPulseLight {
  0%, 100% { color: #94a5bd; text-shadow: none; }
  50% { color: var(--accent); text-shadow: 0 0 12px rgba(var(--accent-rgb), 0.35); }
}

html[data-theme="light"] .chart-line { filter: drop-shadow(0 0 3px rgba(15, 168, 196, 0.3)); }

/* ---------- 浅色性能适配 ---------- */

html[data-theme="light"] .topbar {
  background: rgba(250, 252, 255, 0.96);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-theme="light"] .bg-decor::before { opacity: 0.03 !important; }

/* ============================================================
   浅色模式可读性强化：小字号、弱文本统一加深
   ============================================================ */

html[data-theme="light"] {
  --muted: #5b7192;
  --gold: #8a6106;
  --silver: #54647a;
  --bronze: #8c5223;
}

html[data-theme="light"] .brand-sub,
html[data-theme="light"] .clock-label,
html[data-theme="light"] .ticker-label,
html[data-theme="light"] .ticker-item .tk-meta,
html[data-theme="light"] .kpi-label,
html[data-theme="light"] .kpi-foot,
html[data-theme="light"] .panel-head p,
html[data-theme="light"] .strip-meta,
html[data-theme="light"] .st-head,
html[data-theme="light"] .st-foot,
html[data-theme="light"] .range-btn,
html[data-theme="light"] .duel-vs,
html[data-theme="light"] .duel-name small,
html[data-theme="light"] .ds-share,
html[data-theme="light"] .ds-mid,
html[data-theme="light"] .duel-row span,
html[data-theme="light"] .chart-summary,
html[data-theme="light"] .chart-legend,
html[data-theme="light"] .mini-divider,
html[data-theme="light"] .rank-who span,
html[data-theme="light"] .rank-conv,
html[data-theme="light"] .rank-val span,
html[data-theme="light"] .dir-meta,
html[data-theme="light"] .dir-name span,
html[data-theme="light"] .dir-total,
html[data-theme="light"] .ring-center span,
html[data-theme="light"] .ring-stats span,
html[data-theme="light"] .ring-note,
html[data-theme="light"] .lg-foot,
html[data-theme="light"] .ticker-item .tk-meta,
html[data-theme="light"] .feed-meta,
html[data-theme="light"] .feed-date,
html[data-theme="light"] .muted-cell,
html[data-theme="light"] .empty {
  color: #4c6082;
}

html[data-theme="light"] .kpi-value small,
html[data-theme="light"] .kpi-value .num.is-muted,
html[data-theme="light"] .ds-value small,
html[data-theme="light"] .ring-center b small,
html[data-theme="light"] .dir-num small,
html[data-theme="light"] .lg-head .lg-total small,
html[data-theme="light"] .st-head b small,
html[data-theme="light"] .source-val span {
  color: #566a8c;
}

html[data-theme="light"] .kpi-idx {
  color: #8295b0;
}

html[data-theme="light"] .panel-tag,
html[data-theme="light"] .tag {
  color: #3f5577;
}

html[data-theme="light"] .duel-rank {
  color: #425878;
}

html[data-theme="light"] .source-name,
html[data-theme="light"] .feed-title,
html[data-theme="light"] .cell-name,
html[data-theme="light"] .rank-who b {
  color: #16233c;
}

html[data-theme="light"] .chart-axis,
html[data-theme="light"] .chart-month {
  fill: #52678a;
}

html[data-theme="light"] .chart-value {
  fill: #33486a;
}

/* 金银铜在浅色背景上加深 */
html[data-theme="light"] .rank-row.is-1 .rank-no,
html[data-theme="light"] .cell-rank.gold,
html[data-theme="light"] .duel-rank.is-champion,
html[data-theme="light"] .dir-row:nth-child(1) .dir-rank {
  color: #8a6106;
}

html[data-theme="light"] .rank-row.is-2 .rank-no,
html[data-theme="light"] .cell-rank.silver,
html[data-theme="light"] .dir-row:nth-child(2) .dir-rank {
  color: #4f5f75;
}

html[data-theme="light"] .rank-row.is-3 .rank-no,
html[data-theme="light"] .cell-rank.bronze,
html[data-theme="light"] .dir-row:nth-child(3) .dir-rank {
  color: #8c5223;
}

html[data-theme="light"] .rank-no {
  color: #657a99;
}

html[data-theme="light"] .cell-rank {
  color: #657a99;
}

html[data-theme="light"] table.dt thead th {
  color: #4c6082;
}

html[data-theme="light"] .ticker-item .tk-type.is-f,
html[data-theme="light"] .feed-ico.franchise {
  color: #8a6106;
}

html[data-theme="light"] .ticker-item .tk-type.is-l,
html[data-theme="light"] .feed-ico.leads {
  color: #0a7186;
}

/* 小字号增加一点字重，提升浅底辨识度 */
html[data-theme="light"] .kpi-label,
html[data-theme="light"] .panel-head p,
html[data-theme="light"] .strip-meta,
html[data-theme="light"] .st-foot,
html[data-theme="light"] .chart-summary,
html[data-theme="light"] .rank-who span,
html[data-theme="light"] .dir-meta,
html[data-theme="light"] .lg-foot,
html[data-theme="light"] .source-row,
html[data-theme="light"] .ticker-item .tk-meta {
  font-weight: 500;
}

/* ============================================================
   浅色模式字号与行距微调（仅浅色，避免影响深色版密度）
   ============================================================ */

html[data-theme="light"] .kpi {
  padding-bottom: 6px;
}

html[data-theme="light"] .kpi-label,
html[data-theme="light"] .kpi-foot {
  font-size: 10px;
}

html[data-theme="light"] .lead-group {
  padding-top: 4px;
  padding-bottom: 4px;
}

html[data-theme="light"] .dir-meta {
  font-size: 8.5px;
}

html[data-theme="light"] .lg-foot {
  font-size: 8.5px;
}

html[data-theme="light"] .source-row {
  font-size: 9px;
}

html[data-theme="light"] .mini-divider {
  font-size: 8.5px;
}

html[data-theme="light"] .rank-who span {
  font-size: 9px;
}

html[data-theme="light"] .duel-row span {
  font-size: 9.5px;
}

html[data-theme="light"] .duel-name small,
html[data-theme="light"] .ds-share,
html[data-theme="light"] .ds-mid {
  font-size: 9px;
}

html[data-theme="light"] .chart-summary,
html[data-theme="light"] .chart-legend {
  font-size: 9.5px;
}

html[data-theme="light"] .panel-tag {
  font-size: 8px;
}

html[data-theme="light"] table.dt thead th {
  font-size: 9px;
}

html[data-theme="light"] .tag {
  font-size: 8.5px;
}

html[data-theme="light"] .st-foot {
  font-size: 9.5px;
}

html[data-theme="light"] .ticker-label {
  font-size: 9px;
}

html[data-theme="light"] .ticker-item .tk-meta {
  font-size: 9.5px;
}

html[data-theme="light"] .source-val span {
  font-size: 8.5px;
}

/* 浅色字号放大后的空间补偿 */
html[data-theme="light"] .panel-director .dir-row {
  padding-top: 1px;
  padding-bottom: 1px;
}

html[data-theme="light"] .panel-director .dir-meta span:nth-child(4) {
  display: none;
}

@media (max-height: 950px) {
  html[data-theme="light"] .panel-director .dir-row {
    padding-top: 0;
    padding-bottom: 0;
  }

  html[data-theme="light"] .panel-director .dir-meta {
    font-size: 8px;
    gap: 4px;
  }

  html[data-theme="light"] .panel-leads .lead-group {
    padding-top: 3px;
    padding-bottom: 3px;
  }

  html[data-theme="light"] .panel-leads .mini-divider {
    margin-top: 4px;
    margin-bottom: 3px;
  }

  html[data-theme="light"] .panel-leads .source-list {
    gap: 1px;
  }

  html[data-theme="light"] .panel-ring .ring-wrap {
    width: 108px;
    height: 108px;
  }
}

/* 修正浅色下的高亮/白字冲突 */
html[data-theme="light"] .rank-row.is-1 .rank-who b {
  color: #10203a;
}

html[data-theme="light"] .rank-row.is-1 .rank-conv {
  color: #8a6106;
}

html[data-theme="light"] .kpi-idx {
  color: #647a98;
}

html[data-theme="light"] .dir-rank {
  color: #5b7192;
}

html[data-theme="light"] .duel-badge {
  color: #1f3556;
  background: #ffffff;
  border-color: rgba(31, 60, 110, 0.18);
  box-shadow: inset 0 -2px 0 var(--g, var(--accent));
}

html[data-theme="light"] .dir-num em {
  color: #566a8c;
}

/* ---------- 浅色总监名单 ---------- */

/* V2 店长运营看板 */
html[data-theme="light"] .v2-group {
  background: linear-gradient(160deg, #ffffff, #f6faff);
  border-color: #dce7f5;
  box-shadow: 0 3px 12px rgba(31, 74, 132, 0.05);
}
html[data-theme="light"] .v2g-head b { color: #16233c; }
html[data-theme="light"] .v2g-code { background: #fff; border-color: var(--g, var(--accent)); color: #1f3556; }
html[data-theme="light"] .v2g-rank { color: #5c708e; background: #f1f6fd; }
html[data-theme="light"] .v2g-rank.is-champion { color: #7a4d00; background: #fff4dc; border-color: #e8c57c; }
html[data-theme="light"] .v2g-main b { color: #10203a; }
html[data-theme="light"] .v2g-main span { color: #566a8c; }
html[data-theme="light"] .v2g-bar { background: #e8eff8; }
html[data-theme="light"] .v2g-stats { color: #566a8c; }
html[data-theme="light"] .v2g-stats b { color: #1a2c48; }
html[data-theme="light"] .v2-board .panel-people .rank-conv { color: #2f6fed; }
html[data-theme="light"] .progress-tag.is-ok { color: #126b43; background: #e7f8ef; border-color: #b8e6cd; }
html[data-theme="light"] .progress-tag.is-wait { color: #265b9e; background: #eaf3ff; border-color: #bfd8f8; }
html[data-theme="light"] .progress-tag.is-bad { color: #a12e2e; background: #fdecec; border-color: #f2c2c2; }

html[data-theme="light"] .dir-group-head { color: #4c6082; }
html[data-theme="light"] .dir-group-head b { color: #16233c; }
html[data-theme="light"] .dg-code {
  color: #1f3556;
  background: #ffffff;
  border-color: var(--g, var(--accent));
  box-shadow: inset 0 -2px 0 var(--g, var(--accent));
}
html[data-theme="light"] .dg-stat,
html[data-theme="light"] .dg-meta,
html[data-theme="light"] .dir-roster-note,
html[data-theme="light"] .dir-empty { color: #566a8c; }
html[data-theme="light"] .dir-chip {
  color: #1f3556;
  background: #f8fbff;
  border-color: rgba(31, 60, 110, 0.12);
}
html[data-theme="light"] .role-tag.is-dir {
  color: #7a4d00;
  background: #fff3d8;
  border-color: #e8c57c;
}
html[data-theme="light"] .role-tag.is-member {
  color: #2b5ea8;
  background: #eaf3ff;
  border-color: #bcd7fa;
}
html[data-theme="light"] .dir-chip.has-perf {
  background: linear-gradient(90deg, #fff6e2, #f8fbff);
  border-color: rgba(190, 120, 20, 0.32);
}
html[data-theme="light"] .dc-perf {
  color: #8a5a00;
  border-left-color: rgba(190, 120, 20, 0.3);
}
html[data-theme="light"] .dc-perf b { color: #6f4700; }
