/* ============================================================
   智算云核 · 全站三套主题覆盖层（不改原 style.css，仅追加覆盖）
   默认(无 data-theme / dark) = 现有深色，完全不动
   html[data-theme="light"] = 白色背景
   html[data-theme="mint"]  = 护眼薄荷绿（互联网APP常用柔和配色）
   ============================================================ */

/* ---------- 亮色 · 白底 ---------- */
html[data-theme="light"] body{background:#f4f6fb!important;color:#1f2937!important}
html[data-theme="light"] .container{color:#1f2937}
html[data-theme="light"] .topbar{background:linear-gradient(135deg,#ffffff,#eef2f9)!important;border-bottom:1px solid #e2e8f0}
html[data-theme="light"] .topbar h1{color:#2563eb!important}
html[data-theme="light"] .topbar .user-info{color:#475569!important}
html[data-theme="light"] .card{background:#ffffff!important;border:1px solid #e5e7eb!important;box-shadow:0 1px 3px rgba(15,23,42,.06)}
html[data-theme="light"] .card h2{color:#2563eb!important;border-bottom:1px solid #eef2f7!important}
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea{background:#ffffff!important;border:1px solid #d1d9e6!important;color:#1f2937!important}
html[data-theme="light"] select option{background:#ffffff;color:#1f2937}
html[data-theme="light"] .label{color:#64748b!important}
html[data-theme="light"] .muted{color:#64748b!important}
html[data-theme="light"] .report{color:#334155!important}
html[data-theme="light"] .match-item{border-bottom:1px solid #eef2f7!important}
html[data-theme="light"] .match-item:hover{background:#f1f5fd!important}
html[data-theme="light"] .match-teams{color:#0f172a!important}
html[data-theme="light"] .match-time{color:#64748b!important}
html[data-theme="light"] .match-meta{color:#94a3b8!important}
html[data-theme="light"] .date-group-head{background:linear-gradient(90deg,#ffffff,#f1f5fd)!important;border:1px solid #e5e7eb!important;color:#1f2937!important}
html[data-theme="light"] .date-group-label{color:#2563eb!important}
html[data-theme="light"] .date-group-count{color:#64748b!important}
html[data-theme="light"] .tabbar{background:#ffffff!important;border-top:1px solid #e2e8f0!important}
html[data-theme="light"] .tabbar div{color:#64748b!important}
html[data-theme="light"] .tabbar div.active{color:#2563eb!important;border-top:2px solid #2563eb!important}
html[data-theme="light"] .btn-outline{background:#ffffff!important;border:1px solid #cbd5e1!important;color:#475569!important}
html[data-theme="light"] .btn-outline:hover{border-color:#2563eb!important;color:#2563eb!important}
html[data-theme="light"] .tag-unbought{background:#f1f5fd!important;color:#64748b!important;border:1px solid #e2e8f0!important}
html[data-theme="light"] .schedule-tip{background:linear-gradient(135deg,rgba(37,99,235,.08),rgba(16,185,129,.08))!important;border:1px solid rgba(37,99,235,.2)!important;color:#334155!important}
html[data-theme="light"] .loading{color:#64748b!important}
html[data-theme="light"] .spinner{border-color:#e2e8f0!important;border-top-color:#2563eb!important}

/* ---------- 护眼 · 薄荷绿 ---------- */
html[data-theme="mint"] body{background:#eaf4ee!important;color:#1f3a2e!important}
html[data-theme="mint"] .container{color:#1f3a2e}
html[data-theme="mint"] .topbar{background:linear-gradient(135deg,#ffffff,#dcefe4)!important;border-bottom:1px solid #cfe3d8}
html[data-theme="mint"] .topbar h1{color:#047857!important}
html[data-theme="mint"] .topbar .user-info{color:#3f6b57!important}
html[data-theme="mint"] .card{background:#ffffff!important;border:1px solid #cfe3d8!important;box-shadow:0 1px 3px rgba(4,120,87,.07)}
html[data-theme="mint"] .card h2{color:#047857!important;border-bottom:1px solid #e2efe8!important}
html[data-theme="mint"] input,
html[data-theme="mint"] select,
html[data-theme="mint"] textarea{background:#fbfffc!important;border:1px solid #b9dcc8!important;color:#1f3a2e!important}
html[data-theme="mint"] select option{background:#ffffff;color:#1f3a2e}
html[data-theme="mint"] .label{color:#4a7a63!important}
html[data-theme="mint"] .muted{color:#5b8a73!important}
html[data-theme="mint"] .report{color:#234536!important}
html[data-theme="mint"] .match-item{border-bottom:1px solid #e2efe8!important}
html[data-theme="mint"] .match-item:hover{background:#e3f2e9!important}
html[data-theme="mint"] .match-teams{color:#10281e!important}
html[data-theme="mint"] .match-time{color:#5b8a73!important}
html[data-theme="mint"] .match-meta{color:#84ab96!important}
html[data-theme="mint"] .date-group-head{background:linear-gradient(90deg,#ffffff,#e3f2e9)!important;border:1px solid #cfe3d8!important;color:#1f3a2e!important}
html[data-theme="mint"] .date-group-label{color:#047857!important}
html[data-theme="mint"] .date-group-count{color:#5b8a73!important}
html[data-theme="mint"] .tabbar{background:#ffffff!important;border-top:1px solid #cfe3d8!important}
html[data-theme="mint"] .tabbar div{color:#5b8a73!important}
html[data-theme="mint"] .tabbar div.active{color:#047857!important;border-top:2px solid #047857!important}
html[data-theme="mint"] .btn-outline{background:#ffffff!important;border:1px solid #b9dcc8!important;color:#3f6b57!important}
html[data-theme="mint"] .btn-outline:hover{border-color:#047857!important;color:#047857!important}
html[data-theme="mint"] .tag-unbought{background:#e3f2e9!important;color:#4a7a63!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .schedule-tip{background:linear-gradient(135deg,rgba(16,185,129,.10),rgba(59,130,246,.06))!important;border:1px solid rgba(16,185,129,.25)!important;color:#234536!important}
html[data-theme="mint"] .loading{color:#5b8a73!important}
html[data-theme="mint"] .spinner{border-color:#cfe3d8!important;border-top-color:#047857!important}

/* ---------- 悬浮主题切换按钮组 ---------- */
#jcaiThemeSwitch{position:fixed;top:10px;right:130px;left:auto;bottom:auto;z-index:99999;display:flex;flex-direction:row;gap:4px;
  padding:4px 5px;background:rgba(15,23,42,.82);border-radius:14px;box-shadow:0 2px 8px rgba(0,0,0,.18)}
html[data-theme="light"] #jcaiThemeSwitch{background:rgba(255,255,255,.92);border:1px solid #e2e8f0}
html[data-theme="mint"] #jcaiThemeSwitch{background:rgba(255,255,255,.92);border:1px solid #cfe3d8}
#jcaiThemeSwitch button{width:16px;height:16px;border-radius:50%;border:2px solid transparent;cursor:pointer;padding:0;outline:none;transition:transform .15s}
#jcaiThemeSwitch button:hover{transform:scale(1.2)}
#jcaiThemeSwitch button.active{border-color:#fff;box-shadow:0 0 0 2px #3b82f6}
#jcaiThemeSwitch .th-dark{background:#0f172a}
#jcaiThemeSwitch .th-light{background:#f4f6fb}
#jcaiThemeSwitch .th-mint{background:#10b981}

/* ---------- 智选/等使用 CSS 变量(--card等)的页面：按主题重定义整组变量 ---------- */
html[data-theme="light"]{
  --bg:#f4f6fb; --bg2:#eef2f9; --card:#ffffff; --card2:#f1f5fd; --line:#e2e8f0;
  --gold:#d97706; --gold2:#b45309; --txt:#1f2937; --txt2:#475569; --txt3:#94a3b8;
  --green:#059669; --blue:#2563eb; --red:#dc2626; --yellow:#ca8a04; --orange:#ea580c; --purple:#7c3aed;
}
html[data-theme="light"] .top{background:linear-gradient(180deg,#ffffff,#eef2f9)!important;border:1px solid #e2e8f0!important}
html[data-theme="light"] .top h1{color:#2563eb!important}
html[data-theme="light"] .disclaimer{color:#92400e!important;background:linear-gradient(90deg,rgba(217,119,6,.10),rgba(220,38,38,.06))!important;border:1px solid rgba(217,119,6,.35)!important}
html[data-theme="light"] .disclaimer b{color:#b91c1c!important}

html[data-theme="mint"]{
  --bg:#eaf4ee; --bg2:#dcefe4; --card:#ffffff; --card2:#e3f2e9; --line:#cfe3d8;
  --gold:#b45309; --gold2:#92400e; --txt:#1f3a2e; --txt2:#3f6b57; --txt3:#5b8a73;
  --green:#047857; --blue:#0e7490; --red:#dc2626; --yellow:#a16207; --orange:#c2410c; --purple:#6d28d9;
}
html[data-theme="mint"] .top{background:linear-gradient(180deg,#ffffff,#dcefe4)!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .top h1{color:#047857!important}
html[data-theme="mint"] .disclaimer{color:#7c4a03!important;background:linear-gradient(90deg,rgba(180,131,0,.10),rgba(220,38,38,.05))!important;border:1px solid rgba(180,131,0,.35)!important}
html[data-theme="mint"] .disclaimer b{color:#b91c1c!important}

/* ============================================================
   v4 精致化补丁（顶级浅色UI：层次/对比/标签质感）
   ============================================================ */
/* --- 浅色：页面与卡片层次 --- */
html[data-theme="light"] body{background:#eef1f6!important}
html[data-theme="light"] .card{background:#ffffff!important;border:1px solid #e8ecf2!important;
  box-shadow:0 1px 2px rgba(16,24,40,.04),0 4px 12px rgba(16,24,40,.05)!important}
html[data-theme="light"] .match-card{background:#ffffff!important;border:1px solid #e8ecf2!important;
  box-shadow:0 1px 2px rgba(16,24,40,.05),0 4px 14px rgba(16,24,40,.06)!important}
html[data-theme="light"] .match-card:hover{box-shadow:0 2px 4px rgba(16,24,40,.06),0 8px 20px rgba(37,99,235,.10)!important}

/* --- 浅色：顶部玩法大tab（ls-lottery-tab）反色 --- */
html[data-theme="light"] .ls-lottery-tab{background:#eef2f8!important;color:#64748b!important;
  border:1px solid #e2e8f0!important;font-weight:500!important}
html[data-theme="light"] .ls-lottery-tab.active{background:linear-gradient(135deg,#2563eb,#3b82f6)!important;
  color:#ffffff!important;border-color:transparent!important;box-shadow:0 4px 12px rgba(37,99,235,.28)}

/* --- 浅色：AI裁决/双引擎 chip 改现代浅底深字 --- */
html[data-theme="light"] .btn-ai-verdict{background:#ecfdf5!important;color:#047857!important;
  border:1px solid #a7f3d0!important;font-weight:600!important;box-shadow:none!important}
html[data-theme="light"] .btn-open-report{background:#f5f3ff!important;color:#6d28d9!important;
  border:1px solid #ddd6fe!important;font-weight:600!important;box-shadow:none!important}

/* --- 浅色：比赛编号 b 深琥珀（白底上金黄太淡）--- */
html[data-theme="light"] .match-time b{color:#b45309!important;font-weight:700}
html[data-theme="light"] .match-teams{color:#0f172a!important;font-weight:600}
html[data-theme="light"] .match-teams .vs,
html[data-theme="light"] .match-teams span[style*="125"]{color:#94a3b8!important}

/* --- 浅色：玩法导航 ln-item / stat-tab 反色 --- */
html[data-theme="light"] .ln-item{background:#eef2f8!important;color:#64748b!important;border:1px solid #e2e8f0!important}
html[data-theme="light"] .ln-item.active,html[data-theme="light"] .ln-item.on{background:linear-gradient(135deg,#2563eb,#3b82f6)!important;color:#fff!important;border-color:transparent!important}
html[data-theme="light"] .stat-tab{background:#eef2f8!important;color:#64748b!important;border:1px solid #e2e8f0!important}
html[data-theme="light"] .stat-tab.active{background:linear-gradient(135deg,#2563eb,#3b82f6)!important;color:#fff!important;border-color:transparent!important}
html[data-theme="mint"] .ln-item{background:#e3f2e9!important;color:#3f6b57!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .ln-item.active,html[data-theme="mint"] .stat-tab.active{background:linear-gradient(135deg,#047857,#10b981)!important;color:#fff!important;border-color:transparent!important}

/* ============================================================
   v6 统计页 #statsWrap 专属：修石板/明细展开区/列表队名对比度
   ============================================================ */
/* 明细展开区 #avDetailsBody：写死的浅色文字全部压深 */
html[data-theme="light"] #avDetailsBody{background:#ffffff!important;border:1px solid #e8ecf2!important;border-radius:12px;padding:12px}
html[data-theme="light"] #avDetailsBody,
html[data-theme="light"] #avDetailsBody span,
html[data-theme="light"] #avDetailsBody div,
html[data-theme="light"] #avDetailsBody p,
html[data-theme="light"] #avDetailsBody li,
html[data-theme="light"] #avDetailsBody td,
html[data-theme="light"] #avDetailsBody label{color:#1f2937!important}
/* 保留语义色：绿=命中/红=未中/橙=强调 */
html[data-theme="light"] #avDetailsBody .ok,html[data-theme="light"] #avDetailsBody .hit,html[data-theme="light"] #avDetailsBody .green{color:#059669!important}
html[data-theme="light"] #avDetailsBody .bad,html[data-theme="light"] #avDetailsBody .miss,html[data-theme="light"] #avDetailsBody .red{color:#dc2626!important}

/* 石板容器（#avDetailsBody 的父级，半透明深灰）改浅 */
html[data-theme="light"] #statsSummary > div,
html[data-theme="light"] #statsSummary > div > div,
html[data-theme="light"] #statsSummary .slab,
html[data-theme="light"] .stats-slab{background:#f8fafc!important;border:1px solid #e8ecf2!important}
/* 石板内表头行（rgba(51,65,85,.5)）改浅灰条 */
html[data-theme="light"] #statsSummary > div > div:first-child,
html[data-theme="light"] #statsSummary .slab-head{background:#eef2f8!important;border-radius:8px!important}
/* 石板内所有文字保底深 */
html[data-theme="light"] #statsSummary,
html[data-theme="light"] #statsSummary div,
html[data-theme="light"] #statsSummary span,
html[data-theme="light"] #statsSummary td,
html[data-theme="light"] #statsSummary th{color:#1f2937!important}
/* 统计数字卡浅底 */
html[data-theme="light"] #statsSummary .stats-card{background:#f1f5fd!important;border:1px solid #e5e7eb!important;border-radius:10px}

/* 统计页比赛列表：无 class 的队名 span 保底压深 */
html[data-theme="light"] #statsWrap .match-row,
html[data-theme="light"] #statsWrap .match-item,
html[data-theme="light"] #statsWrap li{color:#1f2937!important}

/* 版本切换 tab（全部/DBAO/DEEPSEK）黑块反色 */
html[data-theme="light"] .ver-tab,html[data-theme="light"] .report-tab,
html[data-theme="light"] .filter-tab,html[data-theme="light"] .engine-tab{background:#eef2f8!important;color:#64748b!important;border:1px solid #e2e8f0!important}
html[data-theme="light"] .ver-tab.active,html[data-theme="light"] .report-tab.active,
html[data-theme="light"] .filter-tab.active,html[data-theme="light"] .engine-tab.active{background:linear-gradient(135deg,#7c3aed,#8b5cf6)!important;color:#fff!important;border-color:transparent!important}

/* 底部合规提示条深蓝黑反色 */
html[data-theme="light"] #complianceBar{background:#eef2f8!important;color:#64748b!important;border-top:1px solid #e2e8f0!important}
html[data-theme="mint"] #complianceBar{background:#e3f2e9!important;color:#4a7a63!important;border-top:1px solid #cfe3d8!important}

/* 统计列表队名 .ss-teams 写死近白，压深近黑 */
html[data-theme="light"] .ss-teams{color:#0f172a!important}
html[data-theme="light"] .ss-teams span{color:#0f172a!important}
html[data-theme="light"] .ss-teams .muted{color:#64748b!important}
html[data-theme="mint"] .ss-teams{color:#10281e!important}
html[data-theme="mint"] .ss-teams span{color:#10281e!important}

/* 赛果回看值 .ss-val 写死浅色，压深 */
html[data-theme="light"] .ss-val{color:#334155!important}

/* 统计列表队名保底：所有非chip非编号文字压深 */
html[data-theme="light"] #statsWrap .match-row span,
html[data-theme="light"] #statsWrap .match-item span,
html[data-theme="light"] #statsWrap li span{color:#1f2937!important}

/* 分歧/共振 chip：浅底深字 */
html[data-theme="light"] .tag-fenqi,html[data-theme="light"] .chip-fenqi{background:#fff7ed!important;color:#c2410c!important;border:1px solid #fed7aa!important}

/* mint 同步 */
html[data-theme="mint"] #avDetailsBody{background:#fff!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] #avDetailsBody,html[data-theme="mint"] #avDetailsBody span,html[data-theme="mint"] #avDetailsBody div{color:#1f3a2e!important}

/* --- 浅色：通用 chip / badge / tag 统一浅底深字（防白底白字）--- */
html[data-theme="light"] .tag,html[data-theme="light"] .badge,html[data-theme="light"] .chip,
html[data-theme="light"] .label-tag,html[data-theme="light"] .pill{font-weight:600}

/* --- 浅色：日期分组头更干净 --- */
html[data-theme="light"] .date-group-head{background:#ffffff!important;border:1px solid #e8ecf2!important;
  box-shadow:0 1px 2px rgba(16,24,40,.04)!important;color:#0f172a!important}
html[data-theme="light"] .date-group-label{color:#2563eb!important;font-weight:700}

/* ============================================================
   v4 薄荷绿同步精致化
   ============================================================ */
html[data-theme="mint"] .match-card{background:#ffffff!important;border:1px solid #cfe3d8!important;
  box-shadow:0 1px 2px rgba(4,120,87,.05),0 4px 12px rgba(4,120,87,.07)!important}
html[data-theme="mint"] .ls-lottery-tab{background:#e3f2e9!important;color:#3f6b57!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .ls-lottery-tab.active{background:linear-gradient(135deg,#047857,#10b981)!important;color:#fff!important;border-color:transparent!important}
html[data-theme="mint"] .btn-ai-verdict{background:#ecfdf5!important;color:#047857!important;border:1px solid #a7f3d0!important;font-weight:600!important}
html[data-theme="mint"] .btn-open-report{background:#f0fdfa!important;color:#0f766e!important;border:1px solid #99f6e4!important;font-weight:600!important}
html[data-theme="mint"] .match-time b{color:#92400e!important;font-weight:700}
html[data-theme="mint"] .match-teams{color:#10281e!important;font-weight:600}

/* ============================================================
   v12 mint 统计石板/大tab 同步反色
   ============================================================ */
html[data-theme="mint"] #statsSummary > div,
html[data-theme="mint"] #statsSummary > div > div{background:#f0faf4!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] #statsSummary > div > div:first-child{background:#dcefe4!important;border-radius:8px!important}
html[data-theme="mint"] #statsSummary,html[data-theme="mint"] #statsSummary div,
html[data-theme="mint"] #statsSummary span,html[data-theme="mint"] #statsSummary td,
html[data-theme="mint"] #statsSummary th{color:#1f3a2e!important}
html[data-theme="mint"] #statsSummary .stats-card{background:#e3f2e9!important;border:1px solid #cfe3d8!important;border-radius:10px}
/* 统计页大tab（竞彩足球/传统足彩/北京单场）mint反色 */
html[data-theme="mint"] .stat-tab{background:#e3f2e9!important;color:#3f6b57!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .stat-tab.active{background:linear-gradient(135deg,#047857,#10b981)!important;color:#fff!important;border-color:transparent!important}
html[data-theme="mint"] .engine-tab{background:#e3f2e9!important;color:#3f6b57!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .engine-tab.active{background:linear-gradient(135deg,#047857,#10b981)!important;color:#fff!important;border-color:transparent!important}

/* ============================================================
   v12 比分直播页（liveScoreWrap）light/mint 同步反色
   ============================================================ */
html[data-theme="light"] .live-score-module,
html[data-theme="light"] #liveScoreWrap,
html[data-theme="light"] .lsContent{background:#ffffff!important;color:#1f2937!important}
html[data-theme="light"] .ls-match-card{background:#f8fafc!important;border:1px solid #e8ecf2!important;border-radius:10px!important}
html[data-theme="light"] .ls-match-card,
html[data-theme="light"] .ls-match-card *{color:#1f2937!important}
html[data-theme="light"] .ls-match-card .ls-league,
html[data-theme="light"] .ls-match-card .ls-num{color:#64748b!important}
html[data-theme="light"] .ls-date-group{color:#2563eb!important}
html[data-theme="light"] .ls-lottery-tab,
html[data-theme="light"] .ls-tab{background:#eef2f8!important;color:#64748b!important;border:1px solid #e2e8f0!important}
html[data-theme="light"] .ls-lottery-tab.active,
html[data-theme="light"] .ls-tab.active{background:linear-gradient(135deg,#2563eb,#3b82f6)!important;color:#fff!important}

html[data-theme="mint"] .live-score-module,
html[data-theme="mint"] #liveScoreWrap,
html[data-theme="mint"] .lsContent{background:#ffffff!important;color:#1f3a2e!important}
html[data-theme="mint"] .ls-match-card{background:#f0faf4!important;border:1px solid #cfe3d8!important;border-radius:10px!important}
html[data-theme="mint"] .ls-match-card,
html[data-theme="mint"] .ls-match-card *{color:#1f3a2e!important}
html[data-theme="mint"] .ls-date-group{color:#047857!important}
html[data-theme="mint"] .ls-lottery-tab,
html[data-theme="mint"] .ls-tab{background:#e3f2e9!important;color:#3f6b57!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .ls-lottery-tab.active,
html[data-theme="mint"] .ls-tab.active{background:linear-gradient(135deg,#047857,#10b981)!important;color:#fff!important}

/* ============================================================
   v14 比赛详情页 match_detail.html 整页反色
   ============================================================ */
html[data-theme="light"] body.md-page, html[data-theme="light"] .detail-body,
html[data-theme="light"] .match-detail-body{background:#f1f5f9!important}
html[data-theme="light"] .top-bar{background:#ffffff!important;color:#0f172a!important;border-bottom:1px solid #e2e8f0!important}
html[data-theme="light"] .match-header{background:#ffffff!important;color:#0f172a!important;border:1px solid #e8ecf2!important}
html[data-theme="light"] .match-header,html[data-theme="light"] .match-header *{color:#0f172a!important}
html[data-theme="light"] .main-tabs{background:#f8fafc!important;border-bottom:1px solid #e2e8f0!important}
html[data-theme="light"] .main-tabs .main-tab,html[data-theme="light"] .main-tabs div{color:#64748b!important}
html[data-theme="light"] .sub-tabs{background:#f8fafc!important;border-bottom:1px solid #e2e8f0!important}
html[data-theme="light"] .sub-tab{background:#eef2f8!important;color:#475569!important;border:1px solid #e2e8f0!important}
html[data-theme="light"] .sub-tab.active{background:linear-gradient(135deg,#2563eb,#3b82f6)!important;color:#fff!important}
html[data-theme="light"] .record-table th,html[data-theme="light"] .match-list-table th,
html[data-theme="light"] .rank-table th,html[data-theme="light"] .odds-table th,
html[data-theme="light"] .ah-table th{background:#f1f5f9!important;color:#0f172a!important;border:1px solid #e2e8f0!important}
html[data-theme="light"] .record-table td,html[data-theme="light"] .match-list-table td,
html[data-theme="light"] .rank-table td,html[data-theme="light"] .odds-table td,
html[data-theme="light"] .ah-table td{background:#ffffff!important;color:#1f2937!important;border:1px solid #eef2f7!important}
html[data-theme="light"] .status-card,html[data-theme="light"] .injured-list,
html[data-theme="light"] .schedule-item{background:#f8fafc!important;color:#1f2937!important;border:1px solid #e8ecf2!important}
html[data-theme="light"] .bottom-bar{background:#ffffff!important;border-top:1px solid #e2e8f0!important}
html[data-theme="light"] .bottom-bar button{background:#f1f5f9!important;color:#0f172a!important}

html[data-theme="mint"] .top-bar{background:#ffffff!important;color:#10281e!important;border-bottom:1px solid #cfe3d8!important}
html[data-theme="mint"] .match-header{background:#ffffff!important;color:#10281e!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .match-header,html[data-theme="mint"] .match-header *{color:#10281e!important}
html[data-theme="mint"] .main-tabs,html[data-theme="mint"] .sub-tabs{background:#f0faf4!important;border-bottom:1px solid #cfe3d8!important}
html[data-theme="mint"] .sub-tab{background:#e3f2e9!important;color:#3f6b57!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .sub-tab.active{background:linear-gradient(135deg,#047857,#10b981)!important;color:#fff!important}
html[data-theme="mint"] .record-table th,html[data-theme="mint"] .match-list-table th,
html[data-theme="mint"] .rank-table th,html[data-theme="mint"] .odds-table th,
html[data-theme="mint"] .ah-table th{background:#dcefe4!important;color:#10281e!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .record-table td,html[data-theme="mint"] .match-list-table td,
html[data-theme="mint"] .rank-table td,html[data-theme="mint"] .odds-table td,
html[data-theme="mint"] .ah-table td{background:#ffffff!important;color:#1f3a2e!important;border:1px solid #e3f2e9!important}
html[data-theme="mint"] .status-card,html[data-theme="mint"] .injured-list,
html[data-theme="mint"] .schedule-item{background:#f0faf4!important;color:#1f3a2e!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .bottom-bar{background:#ffffff!important;border-top:1px solid #cfe3d8!important}
html[data-theme="mint"] .bottom-bar button{background:#e3f2e9!important;color:#10281e!important}

/* ============================================================
   v14 报告页 ai_verdict_report.html 反色
   ============================================================ */
html[data-theme="light"] body{background:#f1f5f9!important}
html[data-theme="light"] .login-required-box{background:#ffffff!important;border:1px solid #e2e8f0!important}
html[data-theme="light"] .login-required-box h3{color:#0f172a!important}
html[data-theme="light"] .login-required-box p{color:#64748b!important}
html[data-theme="mint"] body{background:#eaf4ee!important}
html[data-theme="mint"] .login-required-box{background:#ffffff!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .login-required-box h3{color:#10281e!important}
html[data-theme="mint"] .login-required-box p{color:#3f6b57!important}

/* ============================================================
   v15 AI裁决报告/双引擎报告/传足报告 内容卡片反色
   ============================================================ */
html[data-theme="light"] .aiVerdictContent,html[data-theme="light"] .matchDetailWrap{background:#f1f5f9!important}
html[data-theme="light"] .report-header{background:#ffffff!important;border:1px solid #e8ecf2!important;color:#0f172a!important}
html[data-theme="light"] .report-header *{color:#0f172a!important}
html[data-theme="light"] .report-title{color:#b45309!important}
html[data-theme="light"] .vpm-btn{background:#f1f5f9!important;color:#1f2937!important;border:1px solid #e2e8f0!important}
html[data-theme="light"] .section{background:#ffffff!important;border:1px solid #e8ecf2!important}
html[data-theme="light"] .section-title{color:#0f172a!important}
html[data-theme="light"] .compare-table th{background:#f1f5f9!important;color:#0f172a!important;border:1px solid #e2e8f0!important}
html[data-theme="light"] .compare-table td{background:#ffffff!important;color:#1f2937!important;border:1px solid #eef2f7!important}

html[data-theme="mint"] .aiVerdictContent,html[data-theme="mint"] .matchDetailWrap{background:#eaf4ee!important}
html[data-theme="mint"] .report-header{background:#ffffff!important;border:1px solid #cfe3d8!important;color:#10281e!important}
html[data-theme="mint"] .report-header *{color:#10281e!important}
html[data-theme="mint"] .report-title{color:#047857!important}
html[data-theme="mint"] .vpm-btn{background:#f0faf4!important;color:#1f3a2e!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .section{background:#ffffff!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .section-title{color:#10281e!important}
html[data-theme="mint"] .compare-table th{background:#dcefe4!important;color:#10281e!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .compare-table td{background:#ffffff!important;color:#1f3a2e!important;border:1px solid #e3f2e9!important}

/* v16 AI裁决三步逻辑正文浅灰字压深（原写死 rgb(221,221,221)） */
html[data-theme="light"] .verdict-step,html[data-theme="light"] .verdict-content{color:#1f2937!important}
html[data-theme="light"] .verdict-step-title{color:#0369a1!important}
html[data-theme="mint"] .verdict-step,html[data-theme="mint"] .verdict-content{color:#1f3a2e!important}
html[data-theme="mint"] .verdict-step-title{color:#047857!important}

/* v17 最终建议盒 v35-final-box + 6维度评分卡 + 双引擎完整报告 */
html[data-theme="light"] .v35-final-box{background:#ffffff!important;border:1px solid #e8ecf2!important}
html[data-theme="light"] .v35-item{color:#1f2937!important}
html[data-theme="light"] .score-grid,html[data-theme="light"] .dimension-list,html[data-theme="light"] .dimension-item{background:#ffffff!important;border:1px solid #e8ecf2!important;color:#1f2937!important}
html[data-theme="light"] .score-value,html[data-theme="light"] .dimension-score-row{color:#0f172a!important}
html[data-theme="mint"] .v35-final-box{background:#ffffff!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .v35-item{color:#1f3a2e!important}
html[data-theme="mint"] .score-grid,html[data-theme="mint"] .dimension-list,html[data-theme="mint"] .dimension-item{background:#ffffff!important;border:1px solid #cfe3d8!important;color:#1f3a2e!important}
html[data-theme="mint"] .score-value,html[data-theme="mint"] .dimension-score-row{color:#10281e!important}

/* v17b 支撑风险卡 factor-list + v35报告头 + 双引擎完整报告横条 */
html[data-theme="light"] .factor-list,html[data-theme="light"] .factor-desc,html[data-theme="light"] .v35-header,html[data-theme="light"] .v35-title,html[data-theme="light"] .v35-score-row{background:#ffffff!important;color:#1f2937!important;border:1px solid #e8ecf2!important}
html[data-theme="light"] .v35-final-box + div{background:#ffffff!important;border:1px solid #e8ecf2!important;color:#0f172a!important}
html[data-theme="mint"] .factor-list,html[data-theme="mint"] .factor-desc,html[data-theme="mint"] .v35-header,html[data-theme="mint"] .v35-title,html[data-theme="mint"] .v35-score-row{background:#ffffff!important;color:#1f3a2e!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .v35-final-box + div{background:#ffffff!important;border:1px solid #cfe3d8!important;color:#10281e!important}

/* v18 LLM完整报告大卡 report-full.llm-report + 正文report-p */
html[data-theme="light"] .report-full.llm-report{background:#ffffff!important;border:1px solid #e8ecf2!important}
html[data-theme="light"] .report-full.llm-report .report-p{color:#1f2937!important}
html[data-theme="light"] .report-full.llm-report .report-declare{color:#475569!important;background:#f1f5f9!important}
html[data-theme="mint"] .report-full.llm-report{background:#ffffff!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .report-full.llm-report .report-p{color:#1f3a2e!important}
html[data-theme="mint"] .report-full.llm-report .report-declare{color:#35544a!important;background:#eef6f1!important}

/* ============================================================
   v19 系统性统一：双引擎子报告 .report-full(DBAO/DEPSEK) + 终审校验卡
       + 报告区所有表格 + 双引擎横条 + 最终建议盒浅灰值
   统一调色板：白底 #fff / 边 / 正文深字；同等权重模块同一套色
   ============================================================ */
/* light —— 所有子报告大卡（含 DBAO/DEPSEK，不限定 .llm-report） */
html[data-theme="light"] .report-full{background:#ffffff!important;border:1px solid #e8ecf2!important;color:#1f2937!important}
html[data-theme="light"] .report-full .report-p,
html[data-theme="light"] .report-full .report-section,
html[data-theme="light"] .report-full p,
html[data-theme="light"] .report-full div,
html[data-theme="light"] .report-full span,
html[data-theme="light"] .report-full li{color:#1f2937!important}
html[data-theme="light"] .report-full .section-title{color:#0f172a!important;background:linear-gradient(90deg,rgba(37,99,235,.10),rgba(37,99,235,0))!important}
/* 报告区内所有表格统一（紫表头/深蓝行 → 浅表头深字） */
html[data-theme="light"] .report-full table{background:#ffffff!important}
html[data-theme="light"] .report-full table th{background:#eef2f8!important;color:#0f172a!important;border:1px solid #e2e8f0!important}
html[data-theme="light"] .report-full table td{background:#ffffff!important;color:#1f2937!important;border:1px solid #eef2f7!important}
html[data-theme="light"] .report-full table tr{background:transparent!important}
/* 终审校验卡 final-check */
html[data-theme="light"] .final-check{background:#f8fafc!important;border:1px solid #e2e8f0!important;color:#1f2937!important}
html[data-theme="light"] .final-check-title{color:#0369a1!important}
html[data-theme="light"] .final-check-body,html[data-theme="light"] .final-check div{color:#475569!important}
/* 双引擎完整报告横条（裸div深蓝渐变）→ 浅条 */
html[data-theme="light"] .v35-final-box + div > div:first-child{background:linear-gradient(90deg,#f1f5fd,#eef2f8)!important;color:#0f172a!important;border-radius:8px!important}
/* 最终建议盒内浅灰值/玩法名压深（图1看不清项） */
html[data-theme="light"] .v35-final-box .v35-item span,
html[data-theme="light"] .v35-final-box .v35-val,
html[data-theme="light"] .v35-final-box .v35-pick{color:#1f2937!important;font-weight:600!important}

/* mint —— 同套 */
html[data-theme="mint"] .report-full{background:#ffffff!important;border:1px solid #cfe3d8!important;color:#1f3a2e!important}
html[data-theme="mint"] .report-full .report-p,
html[data-theme="mint"] .report-full .report-section,
html[data-theme="mint"] .report-full p,
html[data-theme="mint"] .report-full div,
html[data-theme="mint"] .report-full span,
html[data-theme="mint"] .report-full li{color:#1f3a2e!important}
html[data-theme="mint"] .report-full .section-title{color:#10281e!important;background:linear-gradient(90deg,rgba(4,120,87,.10),rgba(4,120,87,0))!important}
html[data-theme="mint"] .report-full table{background:#ffffff!important}
html[data-theme="mint"] .report-full table th{background:#dcefe4!important;color:#10281e!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .report-full table td{background:#ffffff!important;color:#1f3a2e!important;border:1px solid #e3f2e9!important}
html[data-theme="mint"] .report-full table tr{background:transparent!important}
html[data-theme="mint"] .final-check{background:#f0faf4!important;border:1px solid #cfe3d8!important;color:#1f3a2e!important}
html[data-theme="mint"] .final-check-title{color:#047857!important}
html[data-theme="mint"] .final-check-body,html[data-theme="mint"] .final-check div{color:#3f6b57!important}
html[data-theme="mint"] .v35-final-box + div > div:first-child{background:linear-gradient(90deg,#e3f2e9,#dcefe4)!important;color:#10281e!important;border-radius:8px!important}
html[data-theme="mint"] .v35-final-box .v35-item span,
html[data-theme="mint"] .v35-final-box .v35-val,
html[data-theme="mint"] .v35-final-box .v35-pick{color:#1f3a2e!important;font-weight:600!important}

/* v19b 报告底部免责条 .final-notice（深蓝 rgb(26,26,46)）反色 */
html[data-theme="light"] .final-notice{background:#f1f5fd!important;color:#475569!important;border:1px solid #e2e8f0!important;border-radius:8px}
html[data-theme="light"] .final-notice,html[data-theme="light"] .final-notice *{color:#475569!important}
html[data-theme="mint"] .final-notice{background:#eef6f1!important;color:#3f6b57!important;border:1px solid #cfe3d8!important;border-radius:8px}
html[data-theme="mint"] .final-notice,html[data-theme="mint"] .final-notice *{color:#3f6b57!important}

/* ============================================================
   v21：图1 SP让球黑块 / 图2最终建议值字 / 图3 DEPSEK深色子卡
   ============================================================ */
/* light */
/* A. 图1 SP投注区让球数小方块 .vpm-tag / .vpm-side.vpm-data（黑底rgb30,41,59） */
html[data-theme="light"] .vpm-tag,
html[data-theme="light"] .vpm-side,
html[data-theme="light"] .vpm-data{background:#eef2f8!important;color:#0f172a!important}
/* tab按钮 DBAO/DEPSEK */
html[data-theme="light"] .dbao_tab_btn{background:#f1f5fd!important;color:#1f2937!important;border:1px solid #e2e8f0!important}
/* C. 首选比分卡 .predict-card 深蓝渐变 → 浅卡 */
html[data-theme="light"] .report-full .predict-card{background:#f8fafc!important!important;background-image:none!important;border:1px solid #e2e8f0!important;border-radius:8px}
html[data-theme="light"] .report-full .predict-card *{color:#1f2937!important}
/* D. 风险提示警告条 .factor-item（深棕底）→ 浅橙底深棕字 */
html[data-theme="light"] .report-full .factor-item,
html[data-theme="light"] .report-full .factor-card{background:#fef6ec!important;border-left:3px solid #d97706!important;border-radius:6px}
html[data-theme="light"] .report-full .factor-item *,
html[data-theme="light"] .report-full .factor-card *{color:#7c2d12!important}
/* B. 图2 最终建议盒值字压深加粗（建议回避/主负/总进球/比分） */
html[data-theme="light"] .v35-final-box .v35-item span,
html[data-theme="light"] .v35-final-box .v35-val,
html[data-theme="light"] .v35-final-box .v35-pick,
html[data-theme="light"] .v35-final-box .v35-tip{color:#1f2937!important;font-weight:700!important}

/* mint 同套 */
html[data-theme="mint"] .vpm-tag,
html[data-theme="mint"] .vpm-side,
html[data-theme="mint"] .vpm-data{background:#dcefe4!important;color:#10281e!important}
html[data-theme="mint"] .dbao_tab_btn{background:#e3f2e9!important;color:#1f3a2e!important;border:1px solid #cfe3d8!important}
html[data-theme="mint"] .report-full .predict-card{background:#f0faf4!important!important;background-image:none!important;border:1px solid #cfe3d8!important;border-radius:8px}
html[data-theme="mint"] .report-full .predict-card *{color:#1f3a2e!important}
html[data-theme="mint"] .report-full .factor-item,
html[data-theme="mint"] .report-full .factor-card{background:#fef6ec!important;border-left:3px solid #d97706!important;border-radius:6px}
html[data-theme="mint"] .report-full .factor-item *,
html[data-theme="mint"] .report-full .factor-card *{color:#7c2d12!important}
html[data-theme="mint"] .v35-final-box .v35-item span,
html[data-theme="mint"] .v35-final-box .v35-val,
html[data-theme="mint"] .v35-final-box .v35-pick,
html[data-theme="mint"] .v35-final-box .v35-tip{color:#1f3a2e!important;font-weight:700!important}

/* ============================================================
   v22：DEPSEK 校验卡 .detail-box（深蓝rgb22,32,50）翻浅
   ============================================================ */
html[data-theme="light"] .report-full .detail-box{background:#f1f5fd!important;border:1px solid #e2e8f0!important;border-radius:8px}
html[data-theme="light"] .report-full .detail-box,
html[data-theme="light"] .report-full .detail-box *{color:#1f2937!important}
html[data-theme="light"] .report-full .detail-box .detail-title{color:#0369a1!important;font-weight:700}

html[data-theme="mint"] .report-full .detail-box{background:#eef6f1!important;border:1px solid #cfe3d8!important;border-radius:8px}
html[data-theme="mint"] .report-full .detail-box,
html[data-theme="mint"] .report-full .detail-box *{color:#1f3a2e!important}
html[data-theme="mint"] .report-full .detail-box .detail-title{color:#047857!important;font-weight:700}

/* ============================================================
   v23：双引擎方向对比卡 .compare-card（深蓝rgb22,33,58）翻浅
   ============================================================ */
html[data-theme="light"] .compare-card{background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:10px}
html[data-theme="light"] .compare-card,html[data-theme="light"] .compare-card *{color:#1f2937!important}
html[data-theme="light"] .compare-card td,html[data-theme="light"] .compare-card th,
html[data-theme="light"] .compare-card .compare-row,html[data-theme="light"] .compare-card [class*=cell]{background:#eef2f8!important!important;color:#1f2937!important}
html[data-theme="light"] .compare-card .compare-title{color:#0369a1!important;font-weight:700}

html[data-theme="mint"] .compare-card{background:#f0faf4!important;border:1px solid #cfe3d8!important;border-radius:10px}
html[data-theme="mint"] .compare-card,html[data-theme="mint"] .compare-card *{color:#1f3a2e!important}
html[data-theme="mint"] .compare-card td,html[data-theme="mint"] .compare-card th,
html[data-theme="mint"] .compare-card .compare-row,html[data-theme="mint"] .compare-card [class*=cell]{background:#e3f2e9!important!important;color:#1f3a2e!important}
html[data-theme="mint"] .compare-card .compare-title{color:#047857!important;font-weight:700}

/* ============================================================
   v24：DEPSEK 结论深蓝横条 + 风险警告条宽兜底
   ============================================================ */
html[data-theme="light"] .report-full .report-declare,
html[data-theme="light"] .report-full .conclusion-bar,
html[data-theme="light"] .report-full .report-conclusion,
html[data-theme="light"] .report-full .sub-section > div[style*="background"],
html[data-theme="light"] .report-full .sec-warn ~ div,
html[data-theme="light"] .report-full .sec-warn + div{background:#f1f5fd!important;color:#1f2937!important;border:1px solid #e2e8f0!important;border-radius:8px}
html[data-theme="light"] .report-full .sec-warn ~ div *,
html[data-theme="light"] .report-full .sec-warn + div *{color:#7c2d12!important}

html[data-theme="mint"] .report-full .report-declare,
html[data-theme="mint"] .report-full .conclusion-bar,
html[data-theme="mint"] .report-full .report-conclusion,
html[data-theme="mint"] .report-full .sub-section > div[style*="background"],
html[data-theme="mint"] .report-full .sec-warn ~ div,
html[data-theme="mint"] .report-full .sec-warn + div{background:#fef6ec!important;color:#7c2d12!important;border:1px solid #f3d9b8!important;border-radius:8px}
html[data-theme="mint"] .report-full .sec-warn ~ div *,
html[data-theme="mint"] .report-full .sec-warn + div *{color:#7c2d12!important}

/* ============================================================
   v25：双引擎对比表深蓝格子(无class div) + .res-summary 分歧条翻浅
   ============================================================ */
html[data-theme="light"] .compare-card div,
html[data-theme="light"] .compare-card div *{background:#f8fafc!important;color:#1f2937!important}
html[data-theme="light"] .compare-card div[class]{background:#f1f5fd!important}
html[data-theme="light"] .res-summary{background:#fef6ec!important;color:#7c2d12!important!important}
html[data-theme="light"] .res-summary *{color:#7c2d12!important}

html[data-theme="mint"] .compare-card div,
html[data-theme="mint"] .compare-card div *{background:#f0faf4!important;color:#1f3a2e!important}
html[data-theme="mint"] .compare-card div[class]{background:#e3f2ea!important}
html[data-theme="mint"] .res-summary{background:#fef6ec!important!important;color:#7c2d12!important}
html[data-theme="mint"] .res-summary *{color:#7c2d12!important}
/* ============================================================
   v26：修res-summary笔误 + .hide tab按钮 + report-full内深色div全翻浅
   ============================================================ */
html[data-theme="light"] .res-summary{background:#fef6ec!important;color:#7c2d12!important}
html[data-theme="light"] .res-summary *{color:#7c2d12!important}
html[data-theme="light"] .report-full .hide div,
html[data-theme="light"] .report-full div{background:#f8fafc!important;color:#1f2937!important}
html[data-theme="light"] .report-full .section-title,
html[data-theme="light"] .report-full .section-title *{background:transparent!important}

html[data-theme="mint"] .res-summary{background:#fef6ec!important;color:#7c2d12!important}
html[data-theme="mint"] .res-summary *{color:#7c2d12!important}
html[data-theme="mint"] .report-full .hide div,
html[data-theme="mint"] .report-full div{background:#f0faf4!important;color:#1f3a2e!important}
html[data-theme="mint"] .report-full .section-title,
html[data-theme="mint"] .report-full .section-title *{background:transparent!important}
/* ============================================================
   v27：6维度小标题 + 最终建议盒值字加深对比度
   ============================================================ */
html[data-theme="light"] .dimension-name{color:#0f172a!important;font-weight:700}
html[data-theme="light"] .v35-value{color:#0f172a!important!important;font-weight:700}
html[data-theme="light"] .v35-body,html[data-theme="light"] .v35-desc{color:#334155!important}
html[data-theme="light"] .report-full span{color:#334155!important}

html[data-theme="mint"] .dimension-name{color:#064e3b!important;font-weight:700}
html[data-theme="mint"] .v35-value{color:#064e3b!important!important;font-weight:700}
html[data-theme="mint"] .v35-body,html[data-theme="mint"] .v35-desc{color:#1f3a2e!important}
html[data-theme="mint"] .report-full span{color:#1f3a2e!important}
/* ============================================================
   v28：修双!important笔误 + 最终建议盒所有值字/状态字压深
   ============================================================ */
html[data-theme="mint"] .v35-value,
html[data-theme="mint"] .v35-sp,
html[data-theme="mint"] .v35-label,
html[data-theme="mint"] .v35-rec,
html[data-theme="mint"] .v35-row > span{color:#064e3b!important;font-weight:700!important}
html[data-theme="mint"] .v35-status,
html[data-theme="mint"] .v35-tag{color:#b45309!important;font-weight:700!important}

html[data-theme="light"] .v35-value,
html[data-theme="light"] .v35-sp,
html[data-theme="light"] .v35-label,
html[data-theme="light"] .v35-rec,
html[data-theme="light"] .v35-row > span{color:#0f172a!important;font-weight:700!important}
html[data-theme="light"] .v35-status,
html[data-theme="light"] .v35-tag{color:#92400e!important;font-weight:700!important}
/* ============================================================
   v29：模拟试玩页 simulate_bet 投注格/按钮翻浅
   ============================================================ */
html[data-theme="light"] .sp-btn,
html[data-theme="light"] .sp-btn.disabled,
html[data-theme="light"] .other-btn,
html[data-theme="light"] .handicap-col,
html[data-theme="light"] .pass-btn{background:#f1f5fd!important;color:#1f2937!important;border:1px solid #d8e0ec!important}
html[data-theme="light"] .clear-btn{background:#e2e8f0!important;color:#334155!important}
html[data-theme="light"] .save-btn{background:#2563eb!important;color:#fff!important}

html[data-theme="mint"] .sp-btn,
html[data-theme="mint"] .sp-btn.disabled,
html[data-theme="mint"] .other-btn,
html[data-theme="mint"] .handicap-col,
html[data-theme="mint"] .pass-btn{background:#e3f2ea!important;color:#1f3a2e!important;border:1px solid #bfe0cf!important}
html[data-theme="mint"] .clear-btn{background:#d6e9dd!important;color:#1f3a2e!important}
html[data-theme="mint"] .save-btn{background:#059669!important;color:#fff!important}
/* ============================================================
   v30：模拟试玩弹出投注modal/串关弹窗/优化弹窗翻浅
   ============================================================ */
html[data-theme="light"] .modal,
html[data-theme="light"] .pass-modal-box,
html[data-theme="light"] .opt-modal-box,
html[data-theme="light"] .pass-bet-summary,
html[data-theme="light"] .opt-list,
html[data-theme="light"] .opt-amount-row{background:#f8fafc!important;color:#1f2937!important}
html[data-theme="light"] .modal-cancel,
html[data-theme="light"] .opt-cancel{background:#e2e8f0!important;color:#334155!important}
html[data-theme="light"] .modal *,html[data-theme="light"] .pass-modal-box *,html[data-theme="light"] .opt-modal-box *{color:#1f2937!important}

html[data-theme="mint"] .modal,
html[data-theme="mint"] .pass-modal-box,
html[data-theme="mint"] .opt-modal-box,
html[data-theme="mint"] .pass-bet-summary,
html[data-theme="mint"] .opt-list,
html[data-theme="mint"] .opt-amount-row{background:#f0faf4!important;color:#1f3a2e!important}
html[data-theme="mint"] .modal-cancel,
html[data-theme="mint"] .opt-cancel{background:#d6e9dd!important;color:#1f3a2e!important}
html[data-theme="mint"] .modal *,html[data-theme="mint"] .pass-modal-box *,html[data-theme="mint"] .opt-modal-box *{color:#1f3a2e!important}
/* ============ v31: 隐藏版本号 + 仅移动端调色板挪右上角 ============ */
#verTag{visibility:hidden !important; width:0 !important; padding:0 !important; overflow:hidden !important; font-size:0 !important;}
@media (max-width:768px){
  #jcaiThemeSwitch{right:12px !important; top:10px !important;}
}
/* ============ v34: 传统足彩复盘页 sfc_p3_review 全模块翻浅 ============ */
html[data-theme="light"] body, html[data-theme="mint"] body{background:#f0faf4 !important; color:#1f3a2e !important;}
html[data-theme="light"] .header, html[data-theme="mint"] .header{background:#ffffff !important; border-bottom:1px solid #cfe3d8 !important;}
html[data-theme="light"] .header h1, html[data-theme="mint"] .header h1,
html[data-theme="light"] .header span, html[data-theme="mint"] .header span{color:#1f3a2e !important;}
html[data-theme="light"] .controls, html[data-theme="mint"] .controls{background:transparent !important;}
html[data-theme="light"] select, html[data-theme="mint"] select{background:#ffffff !important; color:#1f3a2e !important; border:1px solid #cfe3d8 !important; border-radius:8px !important; padding:6px 10px !important;}
html[data-theme="light"] .container, html[data-theme="mint"] .container{background:transparent !important;}
html[data-theme="light"] .tabs, html[data-theme="mint"] .tabs{background:#e2efe6 !important; border-radius:10px !important; padding:4px !important;}
html[data-theme="light"] .tab, html[data-theme="mint"] .tab{color:#4b6658 !important; border-radius:8px !important;}
html[data-theme="light"] .tab.active, html[data-theme="mint"] .tab.active{background:#ffffff !important; color:#047857 !important; box-shadow:0 1px 3px rgba(0,0,0,.08) !important;}
html[data-theme="light"] .stat-box, html[data-theme="mint"] .stat-box{background:#ffffff !important; border:1px solid #cfe3d8 !important; border-radius:10px !important;}
html[data-theme="light"] .stat-label, html[data-theme="mint"] .stat-label{color:#4b6658 !important;}
html[data-theme="light"] .card, html[data-theme="mint"] .card{background:#ffffff !important; border:1px solid #cfe3d8 !important; border-radius:10px !important;}
html[data-theme="light"] .card-title, html[data-theme="mint"] .card-title{color:#047857 !important;}
html[data-theme="light"] table, html[data-theme="mint"] table{background:transparent !important;}
html[data-theme="light"] th, html[data-theme="mint"] th{background:#e8f5ee !important; color:#1f3a2e !important; border-bottom:1px solid #cfe3d8 !important;}
html[data-theme="light"] td, html[data-theme="mint"] td{border-bottom:1px solid #e8efeb !important; color:#1f3a2e !important;}
html[data-theme="light"] .upset-item, html[data-theme="mint"] .upset-item{background:#ffffff !important; border:1px solid #cfe3d8 !important; border-radius:10px !important;}
html[data-theme="light"] .empty, html[data-theme="mint"] .empty{color:#6b8277 !important;}
html[data-theme="light"] .match, html[data-theme="mint"] .match,
html[data-theme="light"] .detail, html[data-theme="mint"] .detail{color:#1f3a2e !important;}
html[data-theme="light"] .upset-item strong, html[data-theme="mint"] .upset-item strong{color:#047857 !important;}
/* ============ v35: 传统足彩单场报告 sfc_p3_closed_loop_*.html 翻浅 ============ */
html[data-theme="light"] body, html[data-theme="mint"] body{background:#f0faf4 !important; color:#1f3a2e !important;}
html[data-theme="light"] .header, html[data-theme="mint"] .header{border-bottom:1px solid #cfe3d8 !important;}
html[data-theme="light"] .header h1, html[data-theme="mint"] .header h1{color:#1f3a2e !important;}
html[data-theme="light"] .header .subtitle, html[data-theme="mint"] .header .subtitle{color:#6b8277 !important;}
html[data-theme="light"] .card, html[data-theme="mint"] .card{background:#ffffff !important; border:1px solid #cfe3d8 !important;}
html[data-theme="light"] .card-title, html[data-theme="mint"] .card-title{color:#1f3a2e !important;}
html[data-theme="light"] th, html[data-theme="mint"] th{background:#e8f5ee !important; color:#047857 !important;}
html[data-theme="light"] td, html[data-theme="mint"] td{color:#1f3a2e !important; border-bottom:1px solid #e8efeb !important;}
html[data-theme="light"] .strategy-box, html[data-theme="mint"] .strategy-box{background:#f0faf4 !important; border:1px solid #cfe3d8 !important;}
html[data-theme="light"] .strategy-box .title, html[data-theme="mint"] .strategy-box .title{color:#047857 !important;}
html[data-theme="light"] .strategy-box .content, html[data-theme="mint"] .strategy-box .content{color:#1f3a2e !important;}
/* v35补: closed_loop 卡片内小统计格翻浅 */
html[data-theme="light"] .card > div, html[data-theme="mint"] .card > div{background:#f0faf4 !important; border:1px solid #cfe3d8 !important;}
html[data-theme="light"] .card > div > div, html[data-theme="mint"] .card > div > div{background:#ffffff !important;}
/* v41: 三圆调色板移到右上角topbar右边 */
#jcaiThemeSwitch{position:fixed !important; top:10px !important; bottom:auto !important; right:12px !important; z-index:99999 !important;}
@media(max-width:768px){#jcaiThemeSwitch{top:10px !important; bottom:auto !important; right:12px !important;}}
/* v40: 传统足彩双引擎报告动态卡片翻浅 */
html[data-theme="light"] .sfc-pro-card,
html[data-theme="mint"] .sfc-pro-card{
  background:#ffffff !important;
  border:1px solid #e2e8f0 !important;
  color:#1e293b !important;
}
html[data-theme="light"] .sfc-section,
html[data-theme="mint"] .sfc-section{
  background:#f8fafc !important;
  border:1px solid #e2e8f0 !important;
  color:#1e293b !important;
}
html[data-theme="light"] .sfc-pro-card *,
html[data-theme="mint"] .sfc-pro-card *,
html[data-theme="light"] .sfc-section *,
html[data-theme="mint"] .sfc-section *{color:inherit !important;}
html[data-theme="light"] .sfc-pro-card h1,html[data-theme="light"] .sfc-pro-card h2,html[data-theme="light"] .sfc-pro-card h3,
html[data-theme="mint"] .sfc-pro-card h1,html[data-theme="mint"] .sfc-pro-card h2,html[data-theme="mint"] .sfc-pro-card h3{color:#0f172a !important;}

/* v42: mint/light主题下AI裁决报告双引擎头部对比度修复 */
html[data-theme="mint"] div[onclick*="dbao_full_report"],
html[data-theme="light"] div[onclick*="dbao_full_report"]{
  background:linear-gradient(135deg,#e8f5e9,#c8e6c9)!important;
  border-bottom:1px solid #a5d6a7;
}
html[data-theme="mint"] div[onclick*="dbao_full_report"] span,
html[data-theme="light"] div[onclick*="dbao_full_report"] span{
  color:#c62828!important;
}
html[data-theme="mint"] #dbao_full_report > div:first-child,
html[data-theme="light"] #dbao_full_report > div:first-child{
  background:rgba(16,185,129,.15)!important;
  color:#047857!important;
  font-weight:600!important;
}

/* v44: mint/light主题下统计页日期tab未选中态对比度修复
   注意: 选择器由 :not(:first-child) 改为 :not(.active)——
   switchStatsDateTab 切换后选中tab会带 .active，位置选择器会误覆盖选中高亮 */
html[data-theme="mint"] .stats-date-tab:not(.active),
html[data-theme="light"] .stats-date-tab:not(.active){
  background:#e2e8f0!important;
  color:#475569!important;
  border-color:#cbd5e1!important;
}

/* v54: mint/light主题下统计页日期tab选中态(当前期)对比度修复
   根因: mine_stats.js 内联 #10b981 底+白字，12px 小字对比度仅2.54:1
   （WCAG AA 小字需4.5:1），白色/薄荷绿主题下"当前期 11/05 周四"标签发虚。
   修复: 选中态背景加深为 #0f766e(teal-700)，白字对比度5.5:1达标；
   不影响深色主题（保持内联 #10b981）。 */
html[data-theme="mint"] .stats-date-tab.active,
html[data-theme="light"] .stats-date-tab.active{
  background:#0f766e !important;
  border-color:#0f766e !important;
  color:#ffffff !important;
}

/* v45: mint/light主题下传统足彩统计页球队名字对比度修复 */
html[data-theme="mint"] .sfc-cmp-table .team,
html[data-theme="light"] .sfc-cmp-table .team{
  color:#1e293b!important;
}
html[data-theme="mint"] .sfc-cmp-table .vs,
html[data-theme="light"] .sfc-cmp-table .vs{
  color:#64748b!important;
}

/* v46: mint/light主题下传统足彩表格比分/赛果/期号对比度修复 */
html[data-theme="mint"] .sfc-cmp-table .res,
html[data-theme="light"] .sfc-cmp-table .res{
  color:#1e293b!important;
}
html[data-theme="mint"] .sfc-cmp-table td:nth-child(6),
html[data-theme="light"] .sfc-cmp-table td:nth-child(6){
  color:#1e293b!important;
}
html[data-theme="mint"] .sfc-cmp-table td:nth-child(7),
html[data-theme="light"] .sfc-cmp-table td:nth-child(7){
  color:#1e293b!important;
}
html[data-theme="mint"] select,
html[data-theme="light"] select{
  background:#ffffff!important;
  color:#1e293b!important;
}
html[data-theme="mint"] select option,
html[data-theme="light"] select option{
  background:#ffffff!important;
  color:#1e293b!important;
}
/* ============================================================
   v47 统计页比赛卡片子元素背景兜底（修复透明漏全局底色问题）
   ============================================================ */
/* light 主题：卡片内所有子元素默认白底，保留命中态语义色 */
html[data-theme="light"] .stats-match,
html[data-theme="light"] .stats-match * {
  background-color: #ffffff !important;
}
/* 命中态保留原有语义背景色，不覆盖 */
html[data-theme="light"] .stats-match .ss-hit {
  background-color: #f0fdf4 !important;
}
/* 按钮、可点击区域保留原有浅灰/浅蓝背景 */
html[data-theme="light"] .stats-match [onclick] {
  background-color: #f8fafc !important;
}
/* 赛果行、格子统一白底 */
html[data-theme="light"] .ss-result-row,
html[data-theme="light"] .ss-cell,
html[data-theme="light"] .ss-head,
html[data-theme="light"] .ss-mid {
  background-color: #ffffff !important;
}

/* mint 主题同步兜底 */
html[data-theme="mint"] .stats-match,
html[data-theme="mint"] .stats-match * {
  background-color: #ffffff !important;
}
html[data-theme="mint"] .stats-match .ss-hit {
  background-color: #ecfdf5 !important;
}
html[data-theme="mint"] .stats-match [onclick] {
  background-color: #f0faf4 !important;
}
html[data-theme="mint"] .ss-result-row,
html[data-theme="mint"] .ss-cell,
html[data-theme="mint"] .ss-head,
html[data-theme="mint"] .ss-mid {
  background-color: #ffffff !important;
}

/* ============================================================
   v48补: 统计页场次卡片(stats-match)直接子容器露底修复
   根因: v35补 全局 .card > div 把 .stats-match 的直接子容器
   (ss-head/ss-result-row/按钮行)染成页面底色#f0faf4+边框，
   与卡片白底不协调（用户反馈"留白露底色"）。
   本规则针对统计场次卡片恢复白色无边框；不影响 closed_loop 等其他卡片。
   ============================================================ */
html[data-theme="light"] .stats-match > div,
html[data-theme="mint"] .stats-match > div{
  background:#ffffff !important;
  border:none !important;
}


/* ============================================================
   v49补: 统计页场次卡片格子文字浅色主题对比度修复
   根因: .ss-val 默认 color:#e2e8f0(深色主题适配的浅灰)，
   在浅色(light/mint)主题白底上对比度仅1.23，比分等未命中
   格基本看不清（用户反馈"比分项目对比度太低"）。
   修复: 浅色主题下格子文字加深为#1e293b(白底对比度14.6)；
   命中格绿字加深为#059669(绿底对比度3.6)提升可读性。
   不影响深色主题（保持#e2e8f0）。
   ============================================================ */
html[data-theme="light"] .stats-match .ss-val,
html[data-theme="mint"] .stats-match .ss-val{
  color:#1e293b !important;
}
html[data-theme="light"] .stats-match .ss-cell.ss-hit .ss-val,
html[data-theme="mint"] .stats-match .ss-cell.ss-hit .ss-val{
  color:#059669 !important;
}


/* ============================================================
   v50: 移动端(<=520px)统计页场次卡片五格一排紧凑显示
   根因: style.css @media(max-width:520px) 将五格改为3列，
   移动端呈 3+2 两行，浪费空间。
   修复: 移动端改回5列一排，压缩格内字号/padding，窄格排版已验证无溢出。
   不影响桌面端(>520px)与深色主题。
   ============================================================ */
@media (max-width:520px){
  .ss-result-row{grid-template-columns:repeat(5,1fr)!important;gap:4px!important;margin-top:8px!important;padding-top:8px!important}
  .ss-result-row .ss-cell{padding:4px 2px!important}
  .ss-result-row .ss-label{font-size:9px!important}
  .ss-result-row .ss-val{font-size:11px!important;margin-top:1px!important}
  .ss-result-row .ss-val div{font-size:9px!important;margin-top:1px!important}
}

/* ===== 首页间距收紧 v51 (2026-11-03) ===== */
.topbar{margin-bottom:0!important}
.container{padding-top:8px!important}
.card.match-card{margin-bottom:6px!important}

/* ===== 首页场次卡子容器透底修复 v52 (2026-11-03) ===== */
/* 统计页兜底规则 html[data-theme=light|mint] .card > div{background:#f0faf4!important} 波及首页 .match-main，
   导致白色卡片内部露出浅绿底缝。追加更高具体性后加载规则覆盖为白底无边框。 */
html[data-theme="light"] .card .match-main,
html[data-theme="mint"] .card .match-main{background:#ffffff!important;border:none!important}
/* ===== 管理后台 用户管理表格 浅色/薄荷绿主题适配 v53 (2026-11-05) ===== */
/* style.css 的 .admin-user-table 硬编码深色文字，mint/light 主题下卡片变白导致用户名白字白底看不清。
   按主题追加深色文字覆盖，保证对比度；客户站额外覆盖 .admin-user-name（style.css 第401行硬编码 #e2e8f0）。 */
html[data-theme="mint"] .admin-user-table th{background:#dcefe4!important;color:#1f3a2e!important;border-bottom:1px solid #b9dcc8!important}
html[data-theme="mint"] .admin-user-table td{color:#1f3a2e!important;border-bottom:1px solid #e2efe8!important}
html[data-theme="mint"] .admin-user-table tr:hover{background:#e3f2e9!important}
html[data-theme="mint"] .admin-user-table .user-name{color:#10281e!important}
html[data-theme="mint"] .admin-user-table .credit-val{color:#047857!important}
html[data-theme="mint"] .admin-user-table td span[style*="64748b"]{color:#3f6b57!important}
html[data-theme="mint"] .admin-user-name{color:#10281e!important}

html[data-theme="light"] .admin-user-table th{background:#eef2f8!important;color:#1f2937!important;border-bottom:1px solid #e2e8f0!important}
html[data-theme="light"] .admin-user-table td{color:#1f2937!important;border-bottom:1px solid #eef2f7!important}
html[data-theme="light"] .admin-user-table tr:hover{background:#f1f5fd!important}
html[data-theme="light"] .admin-user-table .user-name{color:#0f172a!important}
html[data-theme="light"] .admin-user-table .credit-val{color:#059669!important}
html[data-theme="light"] .admin-user-table td span[style*="64748b"]{color:#475569!important}
html[data-theme="light"] .admin-user-name{color:#0f172a!important}

/* ===== 传统足彩报告页头部标题 浅色/薄荷绿主题适配 navfix9 (2026-11-05) ===== */
/* lottery.js openExtraMatch/chargeAndViewExtra 头部标题原硬编码 #e2e8f0(近白)/#7d92b2，浅色主题下白底白字对比度极低。
   改为 class（.report-head-title/.report-head-sub），按主题追加深色文字保证对比度（标题≥12:1，期号≥7:1）。 */
html[data-theme="mint"] .report-head-title{color:#10281e!important}
html[data-theme="mint"] .report-head-sub{color:#5b8a73!important}
html[data-theme="light"] .report-head-title{color:#0f172a!important}
html[data-theme="light"] .report-head-sub{color:#64748b!important}

/* ===== 报告页头部 .card 内部子容器恢复白底 navfix9b (2026-11-05) ===== */
/* 统计页兜底规则 html[data-theme=light|mint] .card > div{background:#f0faf4!important}
   波及传统足彩报告页头部 .card 的直接子容器（返回行/标题行），被染成页面底色浅绿露底。
   追加更高具体性覆盖为白底无边框（extra-report-head 为 lottery.js 报告头专属类）。 */
html[data-theme="light"] .card.extra-report-head > div,
html[data-theme="mint"] .card.extra-report-head > div{background:#ffffff!important;border:none!important}

/* ===== 传统足彩报告内容 sfc-title 深蓝渐变条 浅色主题适配 navfix9c (2026-11-05) ===== */
/* r.html 内联 .sfc-title 为深蓝渐变背景(#1e3a5f→#0f2744)+金色字；v40 适配把文字色改 inherit 深色
   但未改背景 → light/mint 下深色字叠深蓝底几乎不可见。按主题覆盖为浅色渐变底+深色字+主题色左边条。 */
html[data-theme="light"] .sfc-title{
  background:linear-gradient(135deg,#ffffff,#eef2f8)!important;
  color:#0f172a!important;
  border-left:4px solid #2563eb!important;
}
html[data-theme="mint"] .sfc-title{
  background:linear-gradient(135deg,#ffffff,#dcefe4)!important;
  color:#10281e!important;
  border-left:4px solid #047857!important;
}
