/* ============================================================
   球局先知 · 视觉优化版
   设计理念：舒适 / 清晰 / 克制 / 层次分明
   ============================================================ */

/* ---- 设计令牌（2026-10-08 白底主题：纯白底 + 加深主色） ---- */
:root {
  /* 背景层级 */
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --card: #ffffff;
  --card-hi: #f3f4f6;
  --surface: #f7f8fa;

  /* 边框 */
  --line: rgba(0,0,0,.09);
  --line-strong: rgba(0,0,0,.16);

  /* 文字层级 */
  --text: #111827;
  --sub: #4b5563;
  --muted: #6b7280;

  /* 品牌色系 */
  --brand: #2563eb;
  --brand-2: #2563eb;
  --brand-grad: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #0369a1);

  /* 语义色
     🔴 2026-11-12 重要区分：--win/--lose 是**成功/失败语义**（命中绿、失误红），
        🚫 不是「胜/负方向」！两者混用会把「命中」染成红色。
        方向三色另设 --dir-w/--dir-d/--dir-l（竞彩惯例：胜红/平琥珀/负绿），见下。 */
  --win: #047857;
  --draw: #b45309;
  --lose: #dc2626;
  /* 🎯 方向三色（竞彩惯例，2026-11-12 用户定稿）：胜红 / 平琥珀 / 负绿 */
  --dir-w: #dc2626;
  --dir-d: #b45309;
  --dir-l: #047857;
  --gold: #92400e;
  --purple: #7c3aed;

  /* 🎨 海报结论色（与 tools/poster_daily.py 的「结论橙/结论绿」同源，2026-10-30）
     海报口径：让球盘＝深橙、胜平负＝深绿；两色对白字对比度 4.7:1 / 5.3:1 均 ≥AA
     🔴 全站「海报口径结论」只准用这两个色，🚫 不要再自造紫/蓝 */
  --poster-rq: #bf4a06;
  --poster-rq-1: #c44f08;
  --poster-rq-2: #a83c03;
  --poster-wdl: #187048;
  --poster-wdl-1: #157a50;
  --poster-wdl-2: #0d5c3a;
  --poster-sub: #7e6a55;

  /* 圆角 */
  --r-lg: 18px;
  --r-md: 13px;
  --r-sm: 10px;
  --r-xs: 7px;

  /* 投影（白底用柔和阴影） */
  --shadow-lg: 0 8px 32px rgba(15,23,42,.10);
  --shadow-md: 0 4px 20px rgba(15,23,42,.08);
  --shadow-sm: 0 2px 10px rgba(15,23,42,.05);

  /* 安全区 */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);

  /* 字体层级 */
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-md: 15px;
  --fs-lg: 17px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 36px;

  /* 间距体系 */
  --sp-1: 6px;
  --sp-2: 10px;
  --sp-3: 16px;
  --sp-4: 22px;
  --sp-5: 30px;
}

/* ---- 重置 ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1000px 400px at 50% -160px, rgba(37,99,235,.05), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
  font-size: var(--fs-base);
  line-height: 1.65;
  letter-spacing: .01em;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

button:active {
  transform: scale(.97);
}

/* ---- 顶部导航栏 ---- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--safe-top) + 12px) 16px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.88));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.h-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.h-back {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  color: var(--sub);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.h-name {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--sub);
  white-space: nowrap;
}

.h-tag {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.h-match {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-xs);
  color: var(--sub);
  white-space: nowrap;
  overflow: hidden;
  padding-top: 2px;
}
.h-match .tlogo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  font-size: 10px;
  flex-shrink: 0;
}
.h-match .tlogo-img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}
.h-match .hm-mid {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.h-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sync-badge {
  font-size: var(--fs-xs);
  color: var(--win);
  background: rgba(4,120,87,.10);
  border: 1px solid rgba(4,120,87,.22);
  padding: 3px 10px;
  border-radius: 99px;
  opacity: .4;
  transition: opacity .35s;
  font-weight: 600;
}

.sync-badge.show {
  opacity: 1;
}

.refresh-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--sub);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .45s ease, background .2s;
}

.refresh-btn:active {
  transform: rotate(360deg);
  background: var(--card-hi);
}

/* ---- 内容区 ---- */
.content {
  padding: 12px 14px calc(90px + var(--safe-bot));
  min-height: 60vh;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
  font-size: var(--fs-md);
  opacity: .7;
}

/* ---- 区块标题 ---- */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: var(--sp-4) 4px var(--sp-2);
}

.sec-head:first-child {
  margin-top: 0;
}

.sec-title {
  font-size: var(--fs-md);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.sec-title .bar {
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--brand-grad);
  flex-shrink: 0;
}

.sec-more {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 500;
}

/* ---- 数据概览仪表盘 ---- */
.dash {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.dash-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .15s;
}

.dash-item:active {
  transform: scale(.98);
}

.dash-item::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  opacity: .85;
}

.dash-item.d-dir::after {
  background: linear-gradient(90deg, transparent, var(--brand-2), transparent);
}

.dash-item.d-score::after {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.dash-item.d-size::after {
  background: linear-gradient(90deg, transparent, var(--win), transparent);
}

.dash-v {
  font-size: var(--fs-2xl);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.dash-v small {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
  margin-left: 2px;
}

.dash-k {
  font-size: var(--fs-xs);
  color: var(--sub);
  margin-top: 4px;
  font-weight: 500;
}

.dash-item.d-dir .dash-v { color: var(--brand-2); }
.dash-item.d-score .dash-v { color: var(--gold); }
.dash-item.d-size .dash-v { color: var(--win); }

/* ---- 2026-10-30：复盘命中统计改为四格（方向/比分/半全场/进球数），全部海报口径 ---- */
.dash.dash-4 { grid-template-columns: repeat(4, 1fr); }

.dash-item.d-hf::after {
  background: linear-gradient(90deg, transparent, var(--win), transparent);
}

.dash-item.d-goal::after {
  background: linear-gradient(90deg, transparent, #7c3aed, transparent);
}

.dash-item.d-hf .dash-v { color: var(--win); }
.dash-item.d-goal .dash-v { color: #7c3aed; }

@media (max-width: 560px) {
  .dash.dash-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 数据概览：三小圆环并入标题行（放在"近X天·N场复盘"前面） ---- */
.overview-head {
  flex-wrap: wrap;
  gap: 8px 12px;
}
.overview-head .sec-title {
  flex-shrink: 0;
}
.ring-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.ring-inline-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ring-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: conic-gradient(var(--c) var(--p), rgba(0,0,0,.10) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.ring-sm::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--card);
}
.ring-sm i {
  position: relative;
  z-index: 1;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  color: var(--c);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ring-inline-item em {
  font-style: normal;
  font-size: 11px;
  color: var(--sub);
  font-weight: 500;
}
.overview-head .sec-more {
  flex-shrink: 0;
}

/* ---- 未来比赛：紧凑导航行 ---- */
.fnav-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 9px 12px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background .12s;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
}
.fnav-card:active { background: rgba(0,0,0,.04); }

/* ---- 重点关注 / 值得关注 徽章（2026-10-13）
   原为渲染时的内联样式，手机端 4 个元素（联赛/关注/时间/赔率）挤在 nowrap 一行时
   徽章盒子被 flex 压缩，而徽章文字是 nowrap 无法收缩 → 文字溢出盒子，
   边框与底色看起来就"变形"了。改为类样式并显式 flex-shrink:0，杜绝被压。 ---- */
.fnav-focus {
  flex: 0 0 auto;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}
.fnav-focus.sweet {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fcd34d;
}
.fnav-focus.good {
  background: #eef2f7;
  color: #64748b;
  border: 1px solid #dde3ea;
}

/* 速览头部：联赛标签 + 关注徽章 + 比赛时间 同行（第一行）
   2026-10-13：允许换行（避免窄视口下把元素压变形 / 溢出卡片）；关注徽章 flex-shrink:0 */
.fnav-head {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 4px;
  justify-content: flex-start;
  text-align: left;
  gap: 6px;
  margin-bottom: 2px;
}

.fnav-league {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--muted);
  padding: 1px 6px;
  background: var(--bg-soft);
  border-radius: 4px;
}

.fnav-time {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  padding: 1px 6px;
  background: rgba(180,83,9,.08);
  border: 1px solid rgba(180,83,9,.2);
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}

.fnav-row {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 8px;
  min-width: 0;
  flex-wrap: nowrap;
}

.fnav-teams {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

/* 队名：2026-10-30 v426 回归页面基线字重
   v425 为了配 20px/900 的结论字把队名提到 14px/800+描边 → 结果队名和结论两头都重、
   中间的联赛/时间反而更弱，整体更花。v426 结论字降到 18px 后，
   队名回到 13.5px/700、**不加描边**，与卡片正文（14px/400）同层、靠色相区分主客。 */
.fnav-home {
  font-size: 13.5px;
  font-weight: 700;
  color: #2563eb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fnav-away {
  font-size: 13.5px;
  font-weight: 700;
  color: #dc2626;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fnav-vs {
  font-size: var(--fs-xs);
  color: var(--muted);
  flex-shrink: 0;
  font-weight: 600;
}

/* ══ 结果行：方向 / 进球数 / 比分 三卡（2026-10-30 v426 定稿）════════════
   结构：方向（最窄，最强调）→ 进球数两选 → 比分。
   🔴 v426 修「与整体不适配」三处偏差（对照全站实测）：
     ① **配色回中性冷灰**：v425 的胶囊用了海报暖棕 `#f7f1e7/#ece0cf/#5c4733`，
        而全站其余元素全是 `#f7f8fa` / `rgba(0,0,0,.09)` / `#111827` 冷灰系 →
        本改回 `--bg-soft`+`--line` 家族；**结论橙/绿只留给「方向字」与「优选胶囊」**。
     ② **字号回归层级**：v425 方向 20px 比区块标题（15px）还大两档，头重脚轻 →
        降到 18px（仍是最强调，但不越级）；比分 16px；胶囊 13px；队名回 13.5px 不抢戏。
     ③ **描边降到不"发毛"的阈值**：全页其余元素 `text-stroke` 均为 0，
        只有这三卡带描边会显得糊 → 方向 0.35px、比分 0.25px，胶囊/队名**不加描边**。
        实测（3x 截图，方向格）：18px+0.35 → 实心 10.05% / 毛边 1.32%，
        对比 20px+0.5 的 12.80%/1.71% —— 稍轻但更锐利，且与页面清晰度一致。
   海报 DNA（保留的部分）：结论色 .pk 让球 #bf4a06 / 胜平负 #187048；优选胶囊实心+白内环。 */
/* 底部行（2026-11-13 用户）：左「竞彩编号」+ 右「方向/进球数/比分」三卡。
   🔴 手机端曾经让三卡 grid 按比例铺满整行（52fr/80fr/62fr），用户反馈「之前是紧凑且靠右的，
      现在怎么铺满了，改回去」→ 改为**内容自适应 + 靠右**，整行宽度不再撑满。
   编号固定在左侧，三卡 margin-left:auto 贴右。 */
.fnav-foot {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  min-width: 0;
}

/* 竞彩编号（周二001 这种 5 字）：等宽数字 + 浅底，不与结论抢色 */
.fnav-no {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .01em;
  color: #475569;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fnav-cells {
  flex: 0 0 auto;
  width: fit-content;
  margin-left: auto;
  display: grid;
  /* 紧凑固定列宽（方向/进球数/比分），不再按比例铺满 */
  grid-template-columns: 46px 78px 60px;
  /* gap 归 0：改成一整条淡底带后，格间空隙会把竖分割线推到格子边缘（看着偏），
     改为靠 .fnav-cell 自身 padding 留白 + 左边界 1px 竖线，分割线自然居中。 */
  gap: 0;
  /* 🔴 2026-11-12 用户「底部色块搭配调整」：原来三格各带淡底+细边＝「三块膏药」，
     与整页「纯文字分区」的语言不搭。改为**一整条结论带上给一次极淡底色**，
     格子自身透明、靠 1px 竖线分栏，块感消失且仍有分区。 */
  background: rgba(0, 0, 0, .022);
  border-radius: 7px;
  padding: 3px 2px;
}

/* 平板/桌面：列宽略放大（结论字更大），仍靠右 */
@media (min-width: 768px) {
  .fnav-cells {
    grid-template-columns: 76px 112px 84px;
  }
}

.fnav-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  box-sizing: border-box;
  padding: 5px 7px;
  border-radius: 6px;
  /* 🚫 不要再给 .fnav-cell 单独加 background/border —— 会立刻退回「三块膏药」，
     底色统一由上面的 .fnav-cells 提供，分栏靠下面这条竖线。 */
  background: transparent;
  border: 0;
  /* 恢复次像素渲染（全局 antialiased 在 Windows 会把中文削细一档） */
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
.fnav-cell + .fnav-cell { border-left: 1px solid rgba(0, 0, 0, .065); }

.fnav-cell .cv {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.1px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3px;
  -webkit-text-stroke: .18px currentColor;
  paint-order: stroke fill;
}

.fnav-cell .cv.sm { font-size: 13px; -webkit-text-stroke: .1px currentColor; }

/* ① 方向：三卡里最窄，字号最大（结论是列表第一眼要看的），用海报结论色 */
.fnav-cell.c-dir .cv {
  font-size: 18px;
  letter-spacing: 0;
  -webkit-text-stroke: .28px currentColor;
}
/* 🎨 首页方向列（2026-11-12 用户定稿）：按**方向本身**上色，与详情页/概率条同一套竞彩色。
   🔴 旧规则按「玩法类型」上色（让球深橙 / 胜平负深绿）→ 「胜」和「负」同色，
      与详情页方向色矛盾。现已改为方向色优先；「让」字前缀已足够区分玩法。
   下面两条 rq/wdl 规则降级为**老数据兜底**（无 posterPick、无方向类时仍按玩法着色）。 */
.fnav-cells.rq .fnav-cell.c-dir .cv { color: var(--poster-rq); }
.fnav-cells.wdl .fnav-cell.c-dir .cv { color: var(--poster-wdl); }
/* 方向色：与上面两条**同特异性**（都是 5 个类），靠「写在后面」胜出。
   🚫 不要把这三条挪到 rq/wdl 规则之前，否则方向色失效、又变回按玩法着色。 */
.fnav-cells .fnav-cell.c-dir .cv.dir-w { color: #dc2626; }   /* 胜 · 红 */
.fnav-cells .fnav-cell.c-dir .cv.dir-d { color: #b45309; }   /* 平 · 琥珀 */
.fnav-cells .fnav-cell.c-dir .cv.dir-l { color: #047857; }   /* 负 · 绿 */

/* ② 进球数：两选胶囊（2026-11-12 重做）
   🔴 旧版：优选＝**实心橙/绿渐变 + 白内环**（--poster-rq/--poster-wdl）。
      问题有三：① 深色实心块压在 2.5% 淡灰格子里，块感很重，和整页「轻声分区」不搭；
      ② 橙/绿是「玩法色」，方向列改竞彩三色后并排出现第三第四种强色，视觉打架；
      ③ 白内环在小尺寸下糊成一圈毛边。
   ✅ 新版：统一走**品牌蓝淡底 + 同色描边 + 同色文字**（优选），次要项白底细灰边。
      层级靠「底/边/字同色系」建立，不靠深色块；蓝色与方向的红/绿、平赔的琥珀都不冲突。 */
.fnav-cell .cv-pills { display: flex; align-items: center; gap: 4px; }
.fnav-cell .gp {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .1px;
  color: #4b5563;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 5px;
  padding: 1px 6px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fnav-cell .gp i { font-style: normal; font-size: 9.5px; font-weight: 700; opacity: .6; margin-left: 1px; }
/* 优选（＝round(λ)，已排在首位）：淡蓝底 + 蓝边 + 蓝字，柔和不抢戏 */
.fnav-cell .gp.top {
  color: #1d4ed8;
  background: rgba(37, 99, 235, .090);
  border-color: rgba(37, 99, 235, .32);
  box-shadow: none;
}
.fnav-cell .gp.top i { opacity: .78; color: inherit; }
/* 老数据的橙/绿玩法底色规则已下线：优选统一按方向无关的品牌蓝，🚫 不再按 rq/wdl 分色 */

/* ③ 比分：等宽居中 */
.fnav-cell.c-score .cv { letter-spacing: .6px; }

/* 赔率重大变动：三卡统一红环 + 右上红点（不换底色，否则读不出结论橙绿） */
.fnav-cell.changed { position: relative; box-shadow: 0 0 0 2px rgba(220, 38, 38, .45); }
.fnav-cell.changed::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, .3);
}

.fnav-change {
  flex-shrink: 0;
  margin-left: auto;
  max-width: 40%;
  font-size: 11px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fnav-change.has {
  color: #dc2626;
}
.fnav-change.none {
  color: var(--muted);
}
.fnav-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dc2626;
  flex-shrink: 0;
}

/* 结果行旧结构（比分/方向/大小球）已于 2026-10-30 被 .fnav-cells 取代，仅保留 .fnav-sig 供方向副标签复用 */
.fnav-sig {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.sig-real { color: #047857; }
.sig-lure { color: #dc2626; }
.sig-neutral { color: #b45309; }

/* ---- 无明显波动占位符（详情页） ---- */
.alert-banner.al-none {
  border-left-color: rgba(0,0,0,.15);
}
.alert-banner.al-none .ab-body b {
  color: var(--muted);
}
.alert-banner.al-none .ab-body p {
  color: var(--muted);
}

/* ---- 复盘笔记 ---- */
.review-note {
  display: flex;
  gap: var(--sp-2);
  margin: var(--sp-2) 0 2px;
  background: linear-gradient(150deg, rgba(180,83,9,.09), rgba(180,83,9,.02));
  border: 1px solid rgba(180,83,9,.19);
  border-radius: var(--r-md);
  padding: 12px;
}

.review-note .rn-i {
  font-size: 18px;
  line-height: 1.3;
  flex-shrink: 0;
}

.review-note b {
  font-size: var(--fs-base);
  color: var(--gold);
}

.review-note p {
  margin: 5px 0 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: #92400e;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: .2s;
}

.review-note.open p {
  -webkit-line-clamp: unset;
}

.rn-toggle {
  margin-top: 6px;
  font-size: var(--fs-xs);
  color: var(--gold);
  background: none;
  border: none;
  padding: 0;
  font-weight: 700;
  cursor: pointer;
}

.rn-asof {
  margin-top: 4px;
  font-size: var(--fs-xs);
  color: rgba(227,211,166,.65);
  line-height: 1.6;
}

/* ---- 通用卡片 ---- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-md);
  transition: transform .15s, box-shadow .15s;
}

.card:active {
  transform: scale(.985);
  box-shadow: var(--shadow-sm);
}

/* ---- 比赛卡片头部 ---- */
.mc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.mc-code {
  font-size: var(--fs-xs);
  font-weight: 800;
  color: #fff;
  background: var(--brand-grad);
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: .3px;
  flex-shrink: 0;
}

.mc-league {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand-2);
  background: rgba(37,99,235,.10);
  padding: 3px 10px;
  border-radius: 99px;
  flex-shrink: 0;
}

.mc-time {
  margin-left: auto;
  font-size: var(--fs-xs);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

/* ---- 球队展示 ---- */
.mc-teams {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 14px;
}

.tm {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tm.home {
  flex-direction: row;
  justify-content: flex-end;
}

.tm.away {
  flex-direction: row;
  justify-content: flex-start;
}

.tinfo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.tname {
  font-size: var(--fs-lg);
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tm.home .tname {
  text-align: right;
}

.tm.away .tname {
  text-align: left;
}

.tm i {
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-soft);
  padding: 2px 8px;
  border-radius: 6px;
  width: fit-content;
}

.tm.home i {
  margin-left: auto;
}

.vs {
  flex: 0 0 auto;
  min-width: 44px;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--sub);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 7px 8px;
  letter-spacing: .3px;
}

.vs.score {
  color: var(--brand-2);
  font-size: var(--fs-lg);
  letter-spacing: 1px;
}

/* ---- 队徽 ---- */
.tlogo {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--fs-md);
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(15,23,42,.12);
  overflow: hidden;
  position: relative;
  background: var(--brand);
}

.tlogo.has-img {
  background: var(--brand);
}

.tlogo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.tlogo-fb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* ---- 首回合/备注 ---- */
.mc-firstleg {
  font-size: var(--fs-xs);
  color: var(--muted);
  text-align: center;
  margin: -6px 0 12px;
  font-weight: 500;
}

/* ---- 三栏迷你指标 ---- */
.mc-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mini {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 10px;
  transition: background .15s;
}

.mini .k {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 500;
}

.mini .v {
  font-size: var(--fs-md);
  font-weight: 800;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini .v.small { color: var(--win); }
.mini .v.big { color: var(--brand-2); }
.mini .v.caution { color: var(--gold); }

/* ---- 卡片底部 ---- */
.mc-foot {
  display: flex;
  align-items: center;
  gap: 8px;
}

.up-badge {
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
}

.up-low {
  background: rgba(4,120,87,.12);
  color: var(--win);
}

.up-mid {
  background: rgba(180,83,9,.12);
  color: var(--gold);
}

.up-high {
  background: rgba(220,38,38,.14);
  color: var(--lose);
}

.arrow {
  margin-left: auto;
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: 600;
}

/* ---- 命中/状态标签 ---- */
.mc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -2px 0 12px;
}

.hchip {
  font-size: var(--fs-xs);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: .2px;
}

.hchip.y {
  background: rgba(4,120,87,.14);
  color: var(--win);
}

.hchip.n {
  background: rgba(220,38,38,.14);
  color: var(--lose);
}

.hchip.hf {
  background: rgba(37,99,235,.12);
  color: var(--brand-2);
}

/* ---- 优化建议条 ---- */
.mc-imp {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: #4338ca;
  background: rgba(79,70,229,.07);
  border-left: 3px solid rgba(79,70,229,.45);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
  padding: 8px 10px;
  margin: 0 0 12px;
}

.mc-imp b {
  color: #3730a3;
  margin-right: 6px;
}

.mc-imp b::after {
  content: '·';
  margin-left: 6px;
  color: rgba(55,48,163,.5);
}

/* ---- 命中计数徽章 ---- */
.hit-badge {
  font-size: var(--fs-xs);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
}

.hit-0 { background: rgba(220,38,38,.12); color: #b91c1c; }
.hit-1 { background: rgba(234,88,12,.13); color: #c2410c; }
.hit-2 { background: rgba(37,99,235,.12); color: #1d4ed8; }
.hit-3 { background: rgba(4,120,87,.12); color: #047857; }
.hit-4 {
  background: linear-gradient(135deg, #b45309, #d97706);
  color: #fff;
  box-shadow: 0 1px 5px rgba(217,119,6,.35);
}

/* ============================================================
   策略台
   ============================================================ */

/* ---- 维度图例 ---- */
.dim-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 2px var(--sp-2);
  flex-wrap: wrap;
}

.dl {
  font-size: var(--fs-xs);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
  color: #fff;
}

.dl.wd { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
.dl.hc { background: linear-gradient(135deg, #0e7490, #0891b2); }
.dl.hf { background: linear-gradient(135deg, #6d28d9, #7c3aed); }
.dl.sc { background: linear-gradient(135deg, #b45309, #d97706); }
.dl.gl, .dim-gl { background: linear-gradient(135deg, #047857, #059669); }
.dl-core {
  margin-left: auto;
  font-size: var(--fs-xs);
  color: var(--gold);
  font-weight: 700;
}

/* ---- BEST 标签 ---- */
.combo-card {
  position: relative;
}

.combo-card.best {
  border: 1px solid rgba(37,99,235,.40);
  background: linear-gradient(155deg, rgba(37,99,235,.15), var(--card) 55%);
  box-shadow: 0 0 0 1px rgba(37,99,235,.15), 0 10px 30px rgba(37,99,235,.25);
}

.combo-card.best::before {
  content: "BEST";
  position: absolute;
  top: 0;
  right: 14px;
  transform: translateY(-50%);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  background: var(--brand-grad);
  padding: 3px 10px;
  border-radius: 99px;
}

.combo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
  gap: 8px;
}

.combo-tier {
  font-size: var(--fs-lg);
  font-weight: 800;
  flex: 1;
}

.way-tag {
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(37,99,235,.14);
  color: var(--brand-2);
  white-space: nowrap;
}

.combo-card.best .combo-tier { color: #1d4ed8; }

.conf {
  font-size: var(--fs-xs);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
}

.conf-high { background: rgba(4,120,87,.14); color: var(--win); }
.conf-mid { background: rgba(180,83,9,.12); color: var(--gold); }
.conf-low { background: rgba(220,38,38,.14); color: var(--lose); }

.combo-reason {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--sub);
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin: 0 0 var(--sp-2);
}

.picks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.pick {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

.dim {
  flex: 0 0 auto;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: #fff;
  padding: 3px 8px;
  border-radius: 7px;
}

.dim-wd { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
.dim-hc { background: linear-gradient(135deg, #0e7490, #0891b2); }
.dim-hf { background: linear-gradient(135deg, #6d28d9, #7c3aed); }
.dim-sc { background: linear-gradient(135deg, #b45309, #d97706); }

.pm {
  flex: 1;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--sub);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.core-dot {
  color: var(--gold);
  font-size: 9px;
  margin-right: 5px;
  vertical-align: middle;
}

.pp {
  font-size: var(--fs-md);
  color: var(--brand-2);
  font-weight: 800;
  white-space: nowrap;
}

.po {
  font-style: normal;
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.combo-foot {
  border-top: 1px dashed var(--line-strong);
  padding-top: 10px;
}

.combo-foot .odds {
  font-size: var(--fs-sm);
  color: var(--sub);
}

.combo-foot .odds b {
  font-size: var(--fs-2xl);
  color: #fff;
  margin-left: 4px;
  font-variant-numeric: tabular-nums;
}

.combo-foot .sug {
  display: block;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--sub);
  margin-top: 8px;
}

/* ---- 策略牌面分级 ---- */
.combo-card.pk-high { border-left: 3px solid var(--win); }
.combo-card.pk-mid { border-left: 3px solid var(--gold); }
.combo-card.pk-low { border-left: 3px solid var(--lose); }

/* ---- 单关推荐卡片 ---- */
.pick-card {
  border-left: 3px solid transparent;
}

.pick-card.pk-high { border-left-color: var(--win); }
.pick-card.pk-mid { border-left-color: var(--gold); }
.pick-card.pk-low { border-left-color: var(--lose); }

.pk-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.pk-type {
  font-size: var(--fs-xs);
  font-weight: 800;
  color: #fff;
  background: var(--brand-grad);
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: .3px;
}

.pk-pending {
  margin-left: auto;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--gold);
  background: rgba(180,83,9,.12);
  border: 1px dashed rgba(180,83,9,.35);
  padding: 3px 9px;
  border-radius: 99px;
}

.pk-match {
  font-size: var(--fs-md);
  font-weight: 800;
  margin-bottom: 7px;
}

.pk-pick {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 9px;
}

.pk-pick b {
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--brand-2);
  letter-spacing: .5px;
}

.pk-reason {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--sub);
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin: 0 0 var(--sp-2);
}

.pk-plan {
  background: rgba(37,99,235,.05);
  border: 1px solid rgba(37,99,235,.16);
  border-radius: var(--r-md);
  padding: 12px;
  margin-bottom: var(--sp-2);
}

.pk-plan-tag,
.pk-logic-tag {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  background: var(--brand-grad);
  padding: 2px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.pk-logic-tag {
  background: linear-gradient(135deg, #475569, #64748b);
}

.pk-plan .pk-pick { margin-bottom: 8px; }
.pk-plan .pk-s { margin-top: 8px; }
.pk-plan .picks { margin-bottom: 8px; }
.pk-plan .combo-foot { border-top: none; padding-top: 0; margin-bottom: 2px; }
.pk-logic .pk-reason { margin-bottom: 0; }

.legs-n {
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--brand-2);
  background: rgba(37,99,235,.11);
  border: 1px solid rgba(37,99,235,.28);
  padding: 2px 9px;
  border-radius: 99px;
}

.pk-s {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  border-radius: var(--r-sm);
  padding: 9px 11px;
}

.pk-s.s-single {
  background: rgba(4,120,87,.06);
  border: 1px solid rgba(4,120,87,.16);
}

.pk-s.s-parlay {
  background: rgba(167,139,250,.06);
  border: 1px solid rgba(167,139,250,.18);
}

.pk-tag {
  flex: 0 0 auto;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: #fff;
  padding: 3px 9px;
  border-radius: 7px;
  background: linear-gradient(135deg, #047857, #059669);
}

.pk-tag.tag-p {
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
}

.pk-txt {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--sub);
}

.pk-link {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--brand-2);
  font-weight: 700;
  text-align: right;
  cursor: pointer;
}

.strat-legend {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
  padding: 6px 14px 0;
  margin-bottom: 4px;
}

/* ---- 策略台说明 ---- */
.strat-note {
  display: flex;
  gap: var(--sp-2);
  margin: 0 0 12px;
  background: linear-gradient(150deg, rgba(37,99,235,.09), rgba(37,99,235,.02));
  border: 1px solid rgba(37,99,235,.19);
  border-radius: var(--r-md);
  padding: 12px;
}

.strat-note .rn-i { font-size: 18px; line-height: 1.3; flex-shrink: 0; }

.strat-note b {
  font-size: var(--fs-base);
  color: var(--brand-2);
}

.strat-note p {
  margin: 5px 0 0;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--sub);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.strat-note.open p { -webkit-line-clamp: unset; }

.strat-note .rn-toggle {
  margin-top: 6px;
  font-size: var(--fs-xs);
  color: var(--brand-2);
  background: none;
  border: none;
  padding: 0;
  font-weight: 700;
  cursor: pointer;
}

/* ---- 一级菜单：分类按钮 ---- */
.strat-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 2px 0 var(--sp-2);
}

.strat-cats.cols5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.strat-cats.cols5 .scat {
  font-size: var(--fs-xs);
  padding: 10px 0 8px;
}

.strat-cats.cols5 .scat .sci {
  font-size: 18px;
}

.scat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--sub);
  padding: 12px 0 10px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: all .18s ease;
}

.scat .sci {
  font-size: 20px;
  line-height: 1;
}

.scat.active {
  background: var(--brand-grad);
  border-color: transparent;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(37,99,235,.38);
  transform: translateY(-1px);
}

/* ---- 二级菜单：信心级别 ---- */
.strat-confs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 14px;
}

.sconf {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--sub);
  padding: 10px 0;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: all .18s ease;
}

.sconf i {
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  background: rgba(0,0,0,.06);
  color: var(--muted);
}

.sconf.active {
  color: #fff;
  border-color: transparent;
}

.sconf-high.active {
  background: linear-gradient(135deg, #047857, #059669);
  box-shadow: 0 5px 16px rgba(4,120,87,.32);
}

.sconf-mid.active {
  background: linear-gradient(135deg, #b45309, #d97706);
  box-shadow: 0 5px 16px rgba(180,83,9,.28);
}

.sconf-low.active {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  box-shadow: 0 5px 16px rgba(220,38,38,.28);
}

.sconf.active i {
  background: rgba(255,255,255,.20);
  color: #fff;
}

/* ---- 三级菜单：单关/串关 ---- */
.strat-modes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.smode {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--sub);
  padding: 10px 0 9px;
  border-radius: var(--r-md);
  transition: all .18s ease;
}

.smode .sm-l {
  font-size: var(--fs-base);
  font-weight: 800;
  letter-spacing: .4px;
}

.smode .sm-s {
  font-size: var(--fs-xs);
  color: var(--muted);
}

.smode.active {
  background: linear-gradient(135deg, #4338ca, #6366f1 55%, #818cf8);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(99,102,241,.38);
  transform: translateY(-1px);
}

.smode.active .sm-s {
  color: rgba(255,255,255,.72);
}

.smode.full {
  flex-basis: 100%;
}

.smode-hint {
  flex-basis: 100%;
  font-size: var(--fs-xs);
  color: var(--muted);
  text-align: center;
  background: rgba(79,70,229,.07);
  border: 1px dashed rgba(79,70,229,.28);
  border-radius: var(--r-sm);
  padding: 6px 10px;
}

/* ============================================================
   变动横幅
   ============================================================ */

.alert-banner {
  display: flex;
  gap: var(--sp-2);
  margin: 0 0 12px;
  border-radius: var(--r-md);
  padding: 13px 14px;
  animation: abIn .35s ease;
}

@keyframes abIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.alert-banner .ab-i {
  font-size: 19px;
  line-height: 1.35;
  flex-shrink: 0;
}

.alert-banner b {
  font-size: var(--fs-base);
  letter-spacing: .3px;
}

.alert-banner p {
  margin: 5px 0 0;
  font-size: var(--fs-base);
  line-height: 1.75;
}

.al-major {
  background: linear-gradient(150deg, rgba(220,38,38,.14), rgba(220,38,38,.04));
  border: 1px solid rgba(220,38,38,.35);
  box-shadow: 0 6px 20px rgba(220,38,38,.10);
}

.al-major b { color: #b91c1c; }
.al-major p { color: #dc2626; }

.al-minor {
  background: rgba(37,99,235,.07);
  border: 1px solid rgba(37,99,235,.22);
}

.al-minor b { color: var(--brand-2); }
.al-minor p { color: var(--sub); }

.al-info {
  background: rgba(180,83,9,.06);
  border: 1px solid rgba(180,83,9,.19);
}

.al-info b { color: var(--gold); }
.al-info p { color: #92400e; }

/* ---- 卡片内嵌变动提示 ---- */
.mc-alert {
  font-size: var(--fs-sm);
  line-height: 1.65;
  border-radius: var(--r-sm);
  padding: 8px 11px;
  margin: -4px 0 11px;
}

.mca-major {
  background: rgba(220,38,38,.10);
  border: 1px solid rgba(220,38,38,.28);
  color: #dc2626;
  font-weight: 600;
}

.mca-minor,
.mca-info {
  background: rgba(37,99,235,.07);
  border: 1px solid rgba(37,99,235,.18);
  color: var(--sub);
}

.mca-none {
  background: rgba(0,0,0,.03);
  border: 1px solid var(--line);
  color: var(--muted);
}

/* ============================================================
   详情页
   ============================================================ */

/* ---- 返回按钮 ---- */
.dh-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  align-self: flex-start;
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--brand-2);
  background: rgba(37,99,235,.13);
  border: 1px solid rgba(37,99,235,.30);
  border-radius: 99px;
  padding: 6px 16px 6px 10px;
  margin: 0 0 12px;
  transition: transform .12s, filter .12s;
}

.dh-back:active {
  transform: scale(.93);
  filter: brightness(1.25);
}

/* ---- 吸顶对手模块 ---- */
.detail-head {
  position: sticky;
  top: calc(var(--safe-top) + 72px);
  z-index: 25;
  background: linear-gradient(160deg, #eff6ff, var(--card) 72%);
  border: 1px solid rgba(37,99,235,.26);
  border-radius: var(--r-lg);
  padding: 14px 15px;
  margin-bottom: 16px;
  box-shadow: 0 10px 28px rgba(15,23,42,.10), var(--shadow-md);
}

.dh-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.dh-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: var(--fs-lg);
  font-weight: 800;
  text-align: center;
}

.dh-teams .dhn {
  font-size: var(--fs-lg);
}

.dh-teams .vs {
  font-size: var(--fs-md);
  min-width: auto;
  padding: 5px 9px;
}

.dh-teams .tlogo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.dh-sub {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--sub);
  margin-top: 10px;
  background: rgba(0,0,0,.05);
  border-radius: 8px;
  padding: 6px;
}

/* ---- 面板通用 ---- */
.board {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}

.board-title {
  font-size: var(--fs-md);
  font-weight: 800;
  margin: -18px -18px 14px;
  display: flex;
  align-items: center;
  padding: 12px 14px 11px 18px;
  position: relative;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--bg-soft);
}

.board-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: var(--r-lg) 0 0 0;
}

.b-process .board-title::before { background: var(--purple); }
.b-wd .board-title::before { background: var(--brand-2); }
.b-size .board-title::before { background: var(--win); }
.b-score .board-title::before { background: var(--gold); }
.b-similar .board-title::before { background: #db2777; }
.b-trend .board-title::before { background: #db2777; }
.b-result .board-title::before { background: var(--gold); }
.b-review .board-title::before { background: var(--brand-2); }
.b-fund .board-title::before { background: #2563eb; }
.b-h2h .board-title::before { background: var(--purple); }
.b-contra .board-title::before { background: var(--win); }
.b-rules .board-title::before { background: #0369a1; }

/* 标题栏按板块类型着色（浅色调，白底上的板块识别） */
.b-process .board-title { background: rgba(124,58,237,.06); }
.b-wd .board-title { background: rgba(37,99,235,.06); }
.b-size .board-title { background: rgba(4,120,87,.06); }
.b-score .board-title { background: rgba(180,83,9,.07); }
.b-similar .board-title { background: rgba(219,39,119,.05); }
.b-trend .board-title { background: rgba(219,39,119,.05); }
.b-result .board-title { background: rgba(180,83,9,.07); }
.b-review .board-title { background: rgba(37,99,235,.06); }
.b-fund .board-title { background: rgba(37,99,235,.07); }
.b-h2h .board-title { background: rgba(124,58,237,.06); }
.b-contra .board-title { background: rgba(4,120,87,.06); }
.b-rules .board-title { background: rgba(3,105,161,.06); }

/* ---- 分析步骤（v443 压缩） ---- */
.proc-list { display: flex; flex-direction: column; gap: 6px; }
.proc {
  display: flex;
  gap: var(--sp-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  margin-bottom: 0;
}

.proc:last-child { margin-bottom: 0; }

.proc-i {
  font-size: 15px;
  line-height: 1.35;
  flex-shrink: 0;
}

.proc b {
  font-size: var(--fs-sm);
}

.proc p {
  margin: 2px 0 0;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--sub);
}

/* ---- 赛后复盘五维度固定占位符网格（v443） ---- */
.pm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.pm-cell {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 7px 9px;
  min-height: 40px;
}
.pm-ic { font-size: 14px; line-height: 1.3; flex-shrink: 0; }
.pm-body { flex: 1; min-width: 0; }
.pm-body b { font-size: var(--fs-xs); display: block; color: var(--text); }
.pm-body p { margin: 2px 0 0; font-size: var(--fs-xs); line-height: 1.45; color: var(--sub); word-break: break-word; }
@media (max-width: 480px) {
  .pm-grid { grid-template-columns: 1fr; }
}

/* ---- 概率进度条 ---- */
.pbar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: 9px;
}

.pl {
  width: 24px;
  font-size: var(--fs-md);
  font-weight: 800;
  text-align: center;
  flex-shrink: 0;
}

.ptrack {
  flex: 1;
  height: 22px;
  background: var(--bg-soft);
  border-radius: 99px;
  overflow: hidden;
}

.pfill {
  display: block;
  height: 100%;
  border-radius: 99px;
  min-width: 2px;
  transition: width .7s cubic-bezier(.22, 1, .36, 1);
}

/* 🎨 竞彩方向三色（2026-11-12 用户定稿）：胜红 #dc2626 / 平琥珀 #b45309 / 负绿 #047857
   🔴 旧值正好相反（win 绿 / lose 红）→ 已对调。
   ⚠️ 徽标背景由 JS inline 补（dirHex），这里只管进度条填充色。 */
.pfill.win { background: linear-gradient(90deg, #dc2626, #ef4444); }
.pfill.draw { background: linear-gradient(90deg, #b45309, #d97706); }
.pfill.lose { background: linear-gradient(90deg, #047857, #059669); }

.pv {
  width: 42px;
  text-align: right;
  font-size: var(--fs-md);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* ---- 赔率盘口深度解读 ---- */
.sec-subtitle {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text);
  margin: 10px 0 6px;
  padding-left: 8px;
  border-left: 3px solid var(--brand-2);
}

.odds-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  margin: var(--sp-2) 0;
  box-shadow: var(--shadow-sm);
}

.odds-card .pbar {
  margin-bottom: var(--sp-2);
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
}

.odds-card .pbar:last-child { margin-bottom: 0; }

.odds-card .pbar .pl {
  font-size: 17px;
  font-weight: 900;
}

.odds-card .pbar .ptrack {
  height: 26px;
}

.odds-card .pv {
  font-size: 17px;
  font-weight: 900;
}

.odds-card .sec-subtitle {
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--text);
  margin: 14px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--brand-2);
}

.odds-card .sb-line {
  font-size: var(--fs-sm);
  color: var(--sub);
  margin: 8px 0 12px;
  padding: 8px 12px;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--brand-2);
}

.odds-card .sb-line b {
  color: var(--text);
  font-size: var(--fs-md);
}

.odds-card .wd-note {
  margin-top: var(--sp-2);
  padding: 10px 12px;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--sub);
  background: var(--bg-soft);
  border-radius: var(--r-sm);
}

/* ---- 盘口解读三栏卡 ---- */
.odds-trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-2);
  margin: var(--sp-2) 0;
}

.odds-trio-item {
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 14px 12px;
  text-align: center;
  border: 1px solid var(--line);
  transition: background .15s;
}

.odds-trio-item .oti-icon { font-size: 22px; margin-bottom: 4px; }
.odds-trio-item .oti-val { font-size: var(--fs-lg); font-weight: 900; color: var(--text); }
.odds-trio-item .oti-label { font-size: var(--fs-xs); color: var(--sub); margin-top: 3px; }

/* ---- 让球盘口高亮 ---- */
.ah-highlight {
  margin: 8px 0;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(4,120,87,.08), rgba(37,99,235,.08));
  border: 1px solid rgba(4,120,87,.18);
  border-radius: var(--r-sm);
}

.ah-highlight .ah-label {
  font-size: var(--fs-xs);
  color: var(--sub);
  margin-bottom: 2px;
}

.ah-highlight .ah-val {
  font-size: var(--fs-md);
  font-weight: 900;
  color: var(--text);
}

.ah-highlight .ah-val b { color: var(--brand-2); }

/* ---- 大小球 ---- */
.sb-line {
  font-size: var(--fs-sm);
  color: var(--sub);
  margin-bottom: var(--sp-2);
}

.sb-line b {
  color: var(--text);
  font-size: var(--fs-md);
}

.sb-verdict {
  display: inline-block;
  font-size: var(--fs-base);
  font-weight: 800;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-2);
}

.v-small {
  background: rgba(4,120,87,.12);
  color: var(--win);
  border: 1px solid rgba(4,120,87,.25);
}

.v-big {
  background: rgba(37,99,235,.12);
  color: var(--brand-2);
  border: 1px solid rgba(37,99,235,.25);
}

.v-bigc {
  background: rgba(180,83,9,.11);
  color: var(--gold);
  border: 1px solid rgba(180,83,9,.25);
}

.sb-points {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sb-p {
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--sub);
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 9px 12px;
}

/* ---- 大小球圆形图 ---- */
.ou-donut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 16px 0;
  padding: 22px 18px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
}

.ou-donut-chart {
  width: 200px;
  height: 200px;
}

.ou-donut-chart svg {
  width: 200px;
  height: 200px;
}

.ou-donut-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  width: 100%;
  padding: 4px 0;
}

.ou-dist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
}
.ou-dist-row .od-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.od-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--sub);
  white-space: nowrap;
  font-weight: 600;
}

.od-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- 比分 ---- */
.score-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
}

.sc {
  font-size: var(--fs-xl);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.so {
  margin-left: auto;
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* ---- 爆冷条 ---- */
.upset-bar {
  font-size: var(--fs-sm);
  padding: 8px 10px;
  margin-top: 8px;
  border-radius: var(--r-sm);
  font-weight: 600;
}

.upset-bar.high {
  background: rgba(220,38,38,.10);
  color: var(--lose);
  border: 1px solid rgba(220,38,38,.22);
}

.upset-bar.mid {
  background: rgba(180,83,9,.09);
  color: var(--gold);
  border: 1px solid rgba(180,83,9,.20);
}

.upset-bar.low {
  background: rgba(4,120,87,.08);
  color: var(--win);
  border: 1px solid rgba(4,120,87,.18);
}

/* ---- 同类赔率 ---- */
.sim-basis {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-2);
  background: rgba(37,99,235,.09);
  border: 1px solid rgba(37,99,235,.18);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  margin-bottom: 11px;
  line-height: 1.6;
}

.sim-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.sim-score {
  width: 44px;
  font-size: var(--fs-md);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: .5px;
  flex-shrink: 0;
}

.sim-w {
  flex: 0 0 auto;
  font-size: var(--fs-xs);
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
}

.w-gao {
  background: rgba(4,120,87,.14);
  color: var(--win);
}

.w-zhong {
  background: rgba(37,99,235,.13);
  color: var(--brand-2);
}

.w-di {
  background: rgba(148,163,184,.13);
  color: #475569;
}

.sim-track {
  flex: 1;
  height: 8px;
  background: var(--bg-soft);
  border-radius: 99px;
  overflow: hidden;
}

.sim-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #2563eb, #0369a1);
  min-width: 2px;
}

.sim-n {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  width: 34px;
  text-align: right;
  flex-shrink: 0;
}

.sim-note {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--sub);
  margin-top: 11px;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 9px 12px;
}

/* ---- 趋势走势 ---- */
.trend-sum {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--sub);
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin-bottom: var(--sp-2);
}

.trend-points {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: var(--sp-2);
}

.tp {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--sub);
  padding-left: 4px;
}

.trend-verdict {
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.7;
  color: #9d174d;
  background: rgba(244,114,182,.07);
  border: 1px solid rgba(244,114,182,.20);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

/* ---- 赛果展示 ---- */
.result-score {
  font-size: var(--fs-3xl);
  font-weight: 900;
  text-align: center;
  letter-spacing: 4px;
  color: var(--brand-2);
  margin: 4px 0 var(--sp-2);
  font-variant-numeric: tabular-nums;
}

.result-meta {
  text-align: center;
  font-size: var(--fs-base);
  color: var(--sub);
  margin-bottom: var(--sp-2);
}

.result-meta b { color: var(--text); }

.result-note {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--sub);
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

/* ---- 复盘命中标签 ---- */
.review-hits {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--sp-2);
}

.hit {
  font-size: var(--fs-sm);
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 99px;
}

.hit.y { background: rgba(4,120,87,.13); color: var(--win); }
.hit.n { background: rgba(220,38,38,.13); color: var(--lose); }

.review-note-t {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--sub);
  margin: 0 0 var(--sp-2);
}

.review-imp {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: #4338ca;
  margin: 0;
  background: rgba(79,70,229,.07);
  border: 1px solid rgba(79,70,229,.22);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

/* ---- 半全场分组 ---- */
.hf-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--sub);
  margin: 14px 0 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}

.hf-item {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin-bottom: 7px;
}

.hf-combo {
  font-size: var(--fs-md);
  font-weight: 800;
}

.hf-odds,
.hf-prob {
  margin-left: auto;
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* ---- 矛盾点 ---- */
.contra-item {
  font-size: var(--fs-sm);
  padding: 8px 10px;
  margin: 4px 0;
  border-radius: var(--r-xs);
  line-height: 1.55;
}

.contra-item.ok {
  background: rgba(4,120,87,.08);
  color: var(--win);
  border: 1px solid rgba(4,120,87,.18);
}

.contra-item.warn {
  background: rgba(180,83,9,.08);
  color: var(--gold);
  border: 1px solid rgba(180,83,9,.20);
}

.contra-item.info {
  background: rgba(37,99,235,.07);
  color: var(--brand-2);
  border: 1px solid rgba(37,99,235,.16);
}

/* ---- 本场引用规则 ---- */
.ra-tip {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: 9px;
  line-height: 1.6;
}

.ra-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ra-none {
  font-size: var(--fs-sm);
  color: var(--muted);
  padding: 8px 12px;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  margin-bottom: 8px;
}

.ra-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

.ra-head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.ra-n {
  flex: 1;
  font-size: var(--fs-sm);
  color: var(--text);
  font-weight: 700;
}

.ra-note {
  font-size: var(--fs-sm);
  color: var(--sub);
  line-height: 1.6;
  border-left: 3px solid rgba(37,99,235,.25);
  padding-left: 8px;
}

/* ---- 诱盘三要素 ---- */

/* 首页卡片诱盘 */
.mc-lure {
  margin-top: 8px;
  padding: 10px;
  border-radius: var(--r-sm);
  background: rgba(180,83,9,.05);
  border: 1px solid rgba(180,83,9,.18);
}

.mc-lure .lure-hd {
  font-size: var(--fs-xs);
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 6px;
}

.lure-cards {
  display: flex;
  gap: 6px;
}

.lure-card {
  flex: 1;
  border-radius: var(--r-xs);
  padding: 8px 6px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--card);
}

.lure-card .lc-num {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: 2px;
}

.lure-card .lc-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.lure-card .lc-val {
  display: block;
  font-size: var(--fs-sm);
  color: var(--sub);
  line-height: 1.4;
}

.lure-card.heat-card {
  background: rgba(180,83,9,.07);
  border-color: rgba(180,83,9,.35);
}

.lure-card.heat-card .lc-val {
  color: #b45309;
  font-weight: 700;
}

.lure-card.lr-red {
  background: rgba(239,68,68,.08);
  border-color: rgba(239,68,68,.35);
}

.lure-card.lr-red .lc-val {
  color: var(--lose);
  font-weight: 700;
  font-size: var(--fs-base);
}

.lure-card.lr-green {
  background: rgba(34,197,94,.07);
  border-color: rgba(34,197,94,.30);
}

.lure-card.lr-green .lc-val {
  color: var(--win);
  font-weight: 700;
  font-size: var(--fs-base);
}

.lure-card.lr-gray {
  background: var(--card);
  border-color: var(--line);
}

/* 旧版诱盘节点(保留兼容) */
.lure-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  font-size: var(--fs-xs);
}

.lure-node {
  background: rgba(148,163,184,.10);
  color: var(--sub);
  padding: 1px 5px;
  border-radius: 3px;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lure-node.heat { background: rgba(180,83,9,.13); color: #b45309; font-weight: 700; }
.lure-node.move { background: rgba(37,99,235,.10); color: var(--brand-2); }

.lure-arrow {
  color: var(--muted);
  font-weight: 900;
  font-size: var(--fs-xs);
}

.lure-result {
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: var(--fs-xs);
}

.lr-lure_suspect { background: rgba(220,38,38,.13); color: var(--lose); }
.lr-real_signal { background: rgba(4,120,87,.11); color: var(--win); }
.lr-neutral { background: rgba(148,163,184,.09); color: var(--sub); }

/* 详情页诱盘面板 */
.lure-panel {
  margin: 12px 0;
  padding: 14px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}

.lure-suspect { border-color: rgba(220,38,38,.28); }
.lure-real { border-color: rgba(4,120,87,.23); }
.lure-neutral { border-color: rgba(148,163,184,.18); }

.lure-panel-hd {
  font-size: var(--fs-sm);
  font-weight: 900;
  margin-bottom: var(--sp-2);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.lure-suspect .lure-panel-hd { color: var(--lose); }
.lure-real .lure-panel-hd { color: var(--win); }
.lure-neutral .lure-panel-hd { color: var(--sub); }

.lure-steps { display: flex; flex-direction: column; gap: 0; }

.lure-step { padding: 8px 0; }

.ls-num { font-size: var(--fs-md); margin-right: 6px; }

.ls-label {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--text);
}

.ls-text {
  font-size: var(--fs-sm);
  color: var(--sub);
  line-height: 1.6;
  margin: 4px 0 0;
}

.ls-detail {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.55;
  margin-top: 4px;
}

/* ---- 基本面五维 ---- */
.fund-summary-box {
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  margin: 6px 0;
  border-left: 3px solid #2563eb;
}

.fs-label {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: #2563eb;
  display: block;
  margin-bottom: 4px;
}

.fs-text {
  font-size: var(--fs-sm);
  color: var(--sub);
  line-height: 1.65;
  margin: 0;
}

.fund-dim {
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin: 6px 0;
  border: 1px solid var(--line);
}

.fd-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-2);
  margin-bottom: 3px;
}

.fd-text {
  font-size: var(--fs-sm);
  color: var(--sub);
  line-height: 1.6;
  word-break: break-word;
}

/* ══ 🏟 球场与天气卡（2026-11-13 新增，基本面 tab 内） ═════════════════════
   设计口径：沿用 .fund-dim 的「淡底 + 细边」语言，不引入新色系；
   风险等级只用一个徽标上色，其余全走 --text/--sub/--muted。 */
.wx-hd {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 4px 0 8px;
}
.wx-place {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--text);
  min-width: 0;
  word-break: break-word;
}
.wx-sub {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 600;
}
.wx-risk {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 5px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.wx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.wx-cell {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 7px 6px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.wx-k {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -.1px;
}
.wx-v {
  font-size: 15px;
  font-weight: 900;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
}
.wx-v i { font-style: normal; font-size: 10px; font-weight: 700; color: var(--muted); margin-left: 1px; }
.wx-win {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 7px;
}
.wx-wi {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 5px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 0;
}
.wx-wt { font-size: 10px; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.wx-wtp { font-size: 13px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.wx-ws { font-size: 10px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.wx-note {
  display: flex;
  gap: 7px;
  margin-top: 8px;
  padding: 9px 10px;
  background: rgba(37, 99, 235, .045);
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 9px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--sub);
  word-break: break-word;
}
.wx-ni { flex: 0 0 auto; line-height: 1.5; }
.wx-caveat { font-style: normal; color: var(--muted); font-size: 11px; }
.wx-foot {
  margin-top: 6px;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ══ 📰 竞彩情报卡（2026-11-13 新增，基本面 tab 内） ═════════════════════ */
.nw-hd {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 4px 0 6px;
}
.nw-tag {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 800;
  color: #7c2d12;
  background: rgba(194, 65, 12, .09);
  border: 1px solid rgba(194, 65, 12, .22);
  border-radius: 5px;
  padding: 1px 6px;
  white-space: nowrap;
}
.nw-date {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.nw-link {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-2);
  text-decoration: none;
  white-space: nowrap;
}
.nw-link:hover { text-decoration: underline; }
.nw-title {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 4px;
  word-break: break-word;
}
.nw-text {
  font-size: var(--fs-sm);
  color: var(--sub);
  line-height: 1.7;
  word-break: break-word;
}
.nw-foot {
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 400px) {
  .wx-k { font-size: 10px; }
  .wx-v { font-size: 14px; }
  .wx-cell { padding: 6px 4px 5px; }
}

/* ---- 历史交锋 ---- */
.h2h-table {
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin: 6px 0;
}

.h2h-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-xs);
}

.h2h-row:last-child { border-bottom: none; }

.h2h-date {
  width: 60px;
  color: var(--muted);
  flex-shrink: 0;
}

.h2h-home {
  min-width: 50px;
  text-align: right;
  font-weight: 600;
  color: var(--brand-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.h2h-away {
  min-width: 50px;
  text-align: left;
  font-weight: 600;
  color: var(--lose);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.h2h-score {
  font-size: var(--fs-sm);
  font-weight: 900;
  color: var(--gold);
  flex-shrink: 0;
  text-align: center;
  min-width: 32px;
}

.h2h-league {
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
}

.h2h-home.bold { font-weight: 800; color: var(--win); }
.h2h-away.bold { font-weight: 800; color: var(--win); }

/* v211 历史交锋空数据占位 */
.h2h-empty {
  padding: 12px 14px;
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: 6px;
  border: 1px dashed var(--line);
  text-align: center;
  margin: 6px 0;
}

/* v211 赔率明细行（无波动时也展示竞彩SPF+亚盘初/最新） */
.od-detail-parallel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}
.od-detail-parallel .od-detail-row {
  flex: 1 1 0;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.od-detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
  flex-wrap: wrap;
}
.od-label {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--muted);
  min-width: 52px;
}
.od-cell {
  flex-shrink: 0;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.od-cell i {
  font-style: normal;
  color: var(--muted);
  font-size: 10px;
  margin-left: 3px;
}
.od-cell.same { color: var(--text); }
.od-cell.up { color: #dc2626; border-color: rgba(220,38,38,.3); background: rgba(220,38,38,.08); }
.od-cell.down { color: #059669; border-color: rgba(4,120,87,.3); background: rgba(4,120,87,.08); }

/* v213 胜平负诱盘标注 */
.wd-lure-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.wd-lure-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid;
}
.wd-lure-tag.real { color: #059669; border-color: rgba(4,120,87,.4); background: rgba(4,120,87,.1); }
.wd-lure-tag.lure { color: #dc2626; border-color: rgba(220,38,38,.4); background: rgba(220,38,38,.1); }
.wd-lure-tag.draw { color: #b45309; border-color: rgba(180,83,9,.4); background: rgba(180,83,9,.1); }
.wd-lure-tag.neutral { color: var(--muted); border-color: var(--line); background: var(--bg-soft); }

/* 胜平负概率方向标注（🚫被诱导/⭐首选/可考虑）+ 诱盘警示框 */
.wd-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.wd-tag.lure { color: #dc2626; background: rgba(220,38,38,.12); border: 1px solid rgba(220,38,38,.4); }
.wd-tag.pref { color: #b45309; background: rgba(180,83,9,.12); border: 1px solid rgba(180,83,9,.4); }
.wd-tag.consider { color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); }
.lure-alert {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 7px;
  border: 1px solid rgba(220,38,38,.5);
  background: rgba(220,38,38,.08);
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.lure-alert .lure-alert-desc { color: var(--sub); font-weight: 500; font-size: 11px; }

/* 大热必死标注 */
.hot-death {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid;
  font-size: 12px;
  line-height: 1.5;
}
.hot-death .hot-label { font-weight: 800; white-space: nowrap; }
.hot-death .hot-desc { color: var(--sub); }
.hot-death .hot-fuse { width: 100%; color: var(--muted); font-size: 11px; }
.hot-death.hot-extreme { color: #dc2626; border-color: rgba(220,38,38,.45); background: rgba(220,38,38,.1); }
.hot-death.hot-danger { color: #dc2626; border-color: rgba(220,38,38,.4); background: rgba(220,38,38,.1); }
.hot-death.hot-warn { color: #b45309; border-color: rgba(180,83,9,.4); background: rgba(180,83,9,.1); }
.hot-death.hot-ok { color: var(--muted); border-color: var(--line); background: var(--bg-soft); }
.hot-death.hot-exempt { color: #2563eb; border-color: rgba(37,99,235,.4); background: rgba(37,99,235,.1); }

/* v211 欧赔均值方向判定 */
.ev-home { color: #2563eb; }
.ev-draw { color: #b45309; }
.ev-away { color: #dc2626; }

/* 交锋行：阶段标注（常规/加时/点球） */
.h2h-stage {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  white-space: nowrap;
}

/* ---- 近况明细表（主/客队各5场） ---- */
.form-block {
  margin: 6px 0;
  /* 🔴 2026-11-11 用户标注「背景样式与上一致」：
     近况块原来铺 var(--bg-soft)（实测 #f7f8fa）底色，而上方的历史交锋列表是透明的 →
     同一张卡里两块背景不一致，看着像两个卡片拼的。改为透明，与交锋列表统一。 */
  background: transparent;
  border-radius: var(--r-sm);
  overflow: hidden;
}
.form-head {
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--text);
  padding: 6px 10px;
  background: rgba(0,0,0,.02);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.form-head-sub {
  font-weight: 500;
  color: var(--muted);
  font-size: 11px;
}
.form-home .form-head { border-left: 3px solid var(--brand-2); }
.form-away .form-head { border-left: 3px solid var(--lose); }
.form-table { display: flex; flex-direction: column; }
.form-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-xs);
  line-height: 1.45;
}
.form-row:last-child { border-bottom: none; }
.form-row.form-raw { color: var(--sub); font-size: 11px; }
.form-round {
  flex-shrink: 0;
  min-width: 44px;
  color: var(--muted);
  font-size: 11px;
}
.form-venue {
  flex-shrink: 0;
  min-width: 32px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
}
.form-venue.venue-home { color: var(--win); background: rgba(4,120,87,.12); border: 1px solid rgba(4,120,87,.25); }
.form-venue.venue-away { color: #b45309; background: rgba(180,83,9,.1); border: 1px solid rgba(180,83,9,.25); }
.form-score {
  flex-shrink: 0;
  min-width: 36px;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.form-opp {
  flex: 1 1 auto;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.form-note {
  font-style: normal;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}
.form-ext {
  flex-shrink: 0;
  font-size: 10px;
  color: var(--muted);
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.h2h-text {
  font-size: var(--fs-xs);
  color: var(--sub);
  line-height: 1.55;
  padding: 4px 8px;
  margin: 3px 0;
  background: var(--bg-soft);
  border-radius: 4px;
}

/* ---- 首页基本面卡片 ---- */
.mc-fund-box {
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 9px 11px;
  margin: 6px 0;
  border-left: 3px solid #2563eb;
}

.mfb-label {
  font-size: var(--fs-xs);
  font-weight: 800;
  color: #2563eb;
  display: block;
  margin-bottom: 3px;
}

.mfb-text {
  font-size: var(--fs-sm);
  color: var(--sub);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mc-fund-core {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.45;
  padding: 4px 8px;
  margin: 2px 0 0;
  background: var(--bg-soft);
  border-radius: 4px;
}

.sb-sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 1px;
}

/* ============================================================
   回溯页
   ============================================================ */

/* ---- 命中情况分组 ---- */
.hit-date-group {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-md);
}

.hdg-date {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hdg-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 9px 2px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: background .12s;
}

.hdg-row:first-of-type { border-top: none; }

.hdg-row:active { background: rgba(0,0,0,.04); }

.hdg-teams {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.hdg-home {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #2563eb;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hdg-away {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #dc2626;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hdg-vs {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .5px;
}

.hdg-score {
  flex: 0 0 auto;
  font-size: var(--fs-sm);
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  border: none;
  border-radius: 7px;
  padding: 3px 9px;
  min-width: 44px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(37,99,235,.28);
}

.hdg-score-tail {
  margin-left: 4px;
}

.hdg-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hdg-chips .hchip {
  padding: 2px 7px;
  font-size: 11px;
}

.hdg-league {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 3px;
  padding: 1px 6px;
  background: var(--bg-soft);
  border-radius: 4px;
  display: inline-block;
}

.hit-date-group .hdg-row { padding: 8px 0; }
.hit-date-group .hdg-row + .hdg-row { border-top: 1px solid var(--line); }

/* ---- 复盘经验库 ---- */
.ri-panel {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: 16px;
}

.ri-item {
  background: var(--card);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.ri-item.ri-high { border-left: 3px solid var(--lose); }
.ri-item.ri-mid { border-left: 3px solid #d97706; }
.ri-item.ri-low { border-left: 3px solid var(--win); }

.ri-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.ri-id {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-family: monospace;
  background: var(--bg);
  padding: 1px 6px;
  border-radius: 4px;
}

.ri-name {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--text);
}

.ri-conf {
  font-size: var(--fs-xs);
  color: var(--sub);
  margin-left: auto;
}

.ri-evidence {
  font-size: var(--fs-sm);
  color: var(--sub);
  line-height: 1.55;
  margin-bottom: 4px;
}

.ri-rule {
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 3px;
}

.ri-apply {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* ---- 爆冷率面板 ---- */
.upset-panel {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 16px;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.upset-panel .upset-row {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: 12px;
}

.upset-card {
  flex: 1;
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 13px 10px;
  text-align: center;
  border: 1px solid var(--line);
  transition: all .2s;
}

.upset-card.severe {
  border-color: var(--lose);
  background: rgba(239,68,68,.07);
}

.upset-card.warn {
  border-color: #b45309;
  background: rgba(180,83,9,.05);
}

.upset-card.ok { border-color: var(--win); }

.upset-card .up-label {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.upset-card .up-rate {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
}

.upset-card.severe .up-rate { color: var(--lose); }
.upset-card.warn .up-rate { color: #b45309; }
.upset-card.ok .up-rate { color: var(--win); }

.upset-card .up-rate small {
  font-size: .9rem;
  font-weight: 600;
}

.upset-card .up-sub {
  font-size: var(--fs-sm);
  color: var(--sub);
  margin: 2px 0;
}

.upset-card .up-desc {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: 4px;
}

.upset-summary {
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 12px 14px;
}

.us-line {
  font-size: var(--fs-sm);
  color: var(--sub);
  margin-bottom: 6px;
}

.us-advice {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.65;
}

/* ---- 定格标记 ---- */
.lock-badge {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
  background: rgba(148,163,184,.09);
  border: 1px solid rgba(148,163,184,.20);
  padding: 3px 9px;
  border-radius: 99px;
}

.lock-note {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--muted);
  background: rgba(148,163,184,.06);
  border: 1px dashed rgba(148,163,184,.25);
  border-radius: var(--r-md);
  padding: 10px 13px;
  margin-bottom: 14px;
}

/* ============================================================
   规则记分卡
   ============================================================ */

.rb-base {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font-size: var(--fs-sm);
  color: var(--sub);
  margin: var(--sp-2) 0;
}

.rb-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 6px;
  margin: 6px 0 2px;
  -webkit-overflow-scrolling: touch;
}

.rb-tabs::-webkit-scrollbar { display: none; }

.rb-tab {
  flex: 0 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--sub);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: var(--fs-sm);
  white-space: nowrap;
  transition: all .15s;
}

.rb-tab.active {
  background: var(--brand-grad);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}

.rb-card {
  padding: 14px 15px;
}

.rb-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rb-id {
  flex: 0 0 auto;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .5px;
  background: rgba(37,99,235,.14);
  color: var(--brand-2);
  border-radius: 6px;
  padding: 3px 7px;
  font-variant-numeric: tabular-nums;
}

.rb-name {
  flex: 1;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text);
}

.rb-badge {
  flex: 0 0 auto;
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 9px;
}

.rb-ok { background: rgba(4,120,87,.14); color: var(--win); }
.rb-bad { background: rgba(220,38,38,.16); color: var(--lose); }
.rb-mid { background: rgba(180,83,9,.14); color: var(--draw); }
.rb-watch { background: rgba(37,99,235,.14); color: var(--brand-2); }
.rb-unk { background: rgba(0,0,0,.06); color: var(--muted); }

.rb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.rb-tag {
  font-size: var(--fs-xs);
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
}

.rb-desc {
  font-size: var(--fs-sm);
  color: var(--sub);
  line-height: 1.65;
  margin-bottom: 9px;
}

.rb-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.rb-m {
  font-size: var(--fs-xs);
  border-radius: 7px;
  padding: 5px 9px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--sub);
  font-variant-numeric: tabular-nums;
}

.rb-m i {
  font-style: normal;
  color: var(--muted);
  font-size: var(--fs-xs);
  margin: 0 3px;
}

.rb-m b { font-weight: 800; }
.rb-m.up { border-color: rgba(4,120,87,.30); }
.rb-m.up b { color: var(--win); }
.rb-m.down { border-color: rgba(220,38,38,.30); }
.rb-m.down b { color: var(--lose); }
.rb-m.flat b { color: var(--draw); }
.rb-m.none { color: var(--muted); }

.rb-status {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: 8px;
}

.rb-act {
  font-size: var(--fs-sm);
  line-height: 1.6;
  border-radius: var(--r-sm);
  padding: 8px 10px;
  background: var(--bg-soft);
  border-left: 3px solid var(--line-strong);
  color: var(--sub);
}

.rb-act-bad { border-left-color: var(--lose); background: rgba(220,38,38,.07); color: #dc2626; }
.rb-act-ok { border-left-color: var(--win); }
.rb-act-watch { border-left-color: var(--brand-2); }

.rb-caveat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 14px;
  margin: 12px 0 4px;
  font-size: var(--fs-sm);
  color: var(--sub);
}

.rb-caveat b {
  display: block;
  margin-bottom: 7px;
  color: var(--draw);
  font-size: var(--fs-sm);
}

.rb-caveat ul {
  margin: 0;
  padding-left: 18px;
}

.rb-caveat li {
  margin-bottom: 5px;
  line-height: 1.6;
}

/* ---- 进球分布 ---- */
.gdist {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.gd-h {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: var(--sp-2);
  line-height: 1.45;
}

.gd-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.gd-n {
  flex: 0 0 80px;
  font-size: var(--fs-sm);
  color: var(--sub);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gd-bar {
  flex: 1;
  display: flex;
  height: 20px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(0,0,0,.05);
}

.gd-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  transition: width .4s ease;
}

.gd-seg em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,.90);
  font-variant-numeric: tabular-nums;
}

.gd-c0 { background: #475569; }
.gd-c1 { background: #2563eb; }
.gd-c2 { background: #d97706; }
.gd-c3 { background: #dc2626; }

.gd-lg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.gd-lg span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gd-lg i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  display: inline-block;
}

.gd-lam {
  margin-left: auto;
  color: var(--sub);
  font-weight: 700;
}

.gd-note {
  margin: 9px 0 0;
  font-size: var(--fs-sm);
  color: var(--sub);
  line-height: 1.65;
}

/* ---- 半全场/比分可视化条(兼容旧) ---- */
.hf-bar, .score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
}

.hf-rank, .sr-rank {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.sr-score {
  width: 38px;
  text-align: center;
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.sr-bar, .hf-track {
  flex: 1;
  height: 8px;
  background: var(--bg-soft);
  border-radius: 4px;
  overflow: hidden;
}

.sr-fill, .hf-fill {
  height: 100%;
  border-radius: 4px;
  min-width: 4px;
  transition: width .4s ease;
}

.sr-pct, .hf-pct {
  width: 38px;
  text-align: right;
  font-size: var(--fs-xs);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   半全场专用样式
   ============================================================ */

.hf-group {
  margin: 4px 0 8px;
}

.hf-gname {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
  display: block;
  margin-bottom: 3px;
  padding-left: 2px;
}

.hf-reason {
  font-size: var(--fs-xs);
  color: var(--muted);
  padding: 2px 0 6px 32px;
  line-height: 1.4;
}

.hf-odd {
  width: 42px;
  text-align: right;
  font-size: var(--fs-xs);
  color: var(--gold);
  font-weight: 700;
}

/* ---- 爆冷概率三维分析(详情) ---- */
.upset-prob {
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}

.upset-prob.up-high { border-color: var(--lose); border-width: 2px; }
.upset-prob.up-mid { border-color: #b45309; }
.upset-prob.up-low { border-color: var(--win); }

.up-head {
  font-size: var(--fs-sm);
  color: var(--text);
  margin-bottom: 6px;
}

.up-head b { font-size: var(--fs-base); }
.up-high .up-head b { color: var(--lose); }
.up-mid .up-head b { color: #b45309; }
.up-low .up-head b { color: var(--win); }

.up-overall {
  font-size: var(--fs-sm);
  color: var(--sub);
  margin-bottom: var(--sp-2);
  line-height: 1.5;
}

.up-3d {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.up3d-item {
  flex: 1;
  min-width: 100px;
  border-radius: 8px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  background: var(--card);
}

.up3d-item.severe { border-color: var(--lose); border-width: 2px; }
.up3d-item.warn { border-color: #b45309; }
.up3d-item.safe { border-color: var(--win); }

.up3d-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.up3d-lvl { font-size: var(--fs-base); font-weight: 900; margin-bottom: 4px; }
.up3d-item.severe .up3d-lvl { color: var(--lose); }
.up3d-item.warn .up3d-lvl { color: #b45309; }
.up3d-item.safe .up3d-lvl { color: var(--win); }

.up3d-text { font-size: var(--fs-xs); color: var(--sub); line-height: 1.5; margin-bottom: 4px; }
.up3d-risk { font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }

/* ---- 七维基本面(保留兼容) ---- */
.proc-fund .sd-summary {
  font-size: var(--fs-xs);
  color: var(--text);
  line-height: 1.5;
  padding: 4px 8px;
  background: var(--bg-soft);
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  margin-top: 3px;
}

.proc-fund .sd-summary:hover { opacity: .85; }
.proc-fund .sd-toggle { font-size: var(--fs-xs); color: var(--brand-2); font-weight: 700; }
.proc-fund .seven-dims { display: none; margin-top: 4px; }
.proc-fund .seven-dims.sd-show, .seven-dims { display: block; margin-top: 4px; }

.sd-item {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.sd-item:last-child { border-bottom: none; }

.sd-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand-2);
  margin-bottom: 2px;
}

.sd-text {
  font-size: var(--fs-xs);
  color: var(--sub);
  line-height: 1.5;
  word-break: break-word;
}

/* ---- 队伍名间距 ---- */
.tname-spacer { display: inline-block; width: 4px; }

/* ============================================================
   底部导航
   ============================================================ */

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  padding: 7px 8px calc(7px + var(--safe-bot));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}

.navitem {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: var(--fs-xs);
  padding: 5px 0;
  transition: color .2s, transform .15s;
}

.navitem .ni {
  font-size: 22px;
  line-height: 1;
  transition: transform .2s;
}

.navitem.active {
  color: var(--brand-2);
}

.navitem.active .ni {
  transform: translateY(-2px) scale(1.08);
}

.navitem.active .nl {
  font-weight: 800;
}

/* ============================================================
   响应式：移动端 (max-width: 640px)
   ============================================================ */

@media (max-width: 640px) {
  .content {
    padding: 10px 10px calc(86px + var(--safe-bot));
  }

  /* 卡片紧凑 */
  .card {
    padding: 14px;
    margin-bottom: 12px;
  }

  /* 三栏改单栏堆叠 */
  .mc-mini {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .mini {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mini .k {
    font-size: var(--fs-sm);
    margin-bottom: 0;
  }

  .mini .v {
    font-size: var(--fs-md);
    margin-top: 0;
  }

  /* 诱盘三列改单列堆叠 */
  .lure-cards {
    flex-direction: column !important;
    gap: 6px !important;
  }

  .lure-card {
    padding: 8px 10px !important;
  }

  .mc-lure {
    padding: 8px 10px !important;
  }

  /* 盘口解读三栏改单栏 */
  .odds-trio {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .odds-trio-item {
    padding: 10px;
  }

  /* 半全场进度条紧凑 */
  .pbar {
    gap: 6px;
    margin-bottom: 8px;
  }

  /* 基本面卡片紧凑 */
  .mc-fund-box {
    padding: 6px 8px;
  }

  .mc-fund-core {
    padding: 3px 6px;
  }

  /* 详情页面板紧凑 */
  .board {
    padding: 14px;
  }

  .odds-card {
    padding: 10px 12px;
    margin: 8px 0;
  }

  .ah-highlight {
    padding: 8px 12px;
  }

  /* 矛盾点项紧凑 */
  .contra-item {
    font-size: var(--fs-sm);
    padding: 8px 10px;
  }

  /* 爆冷率面板三列横排（手机端也保持水平） */
  .upset-panel .upset-row {
    flex-direction: row;
    gap: 6px;
  }
  .upset-card {
    padding: 10px 8px;
  }
  .upset-card .up-label { font-size: 10px; }
  .upset-card .up-rate { font-size: 20px; }
  .upset-card .up-rate small { font-size: 10px; }
  .upset-card .up-sub { font-size: 10px; }
  .upset-card .up-desc { font-size: 9px; line-height: 1.3; }

  /* 球队名缩小 */
  .tname {
    font-size: var(--fs-base);
  }

  .tlogo {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  /* 数据概览：手机端标题+圆环一行，副标题换行靠右 */
  .overview-head .sec-more {
    margin-left: 0;
    width: 100%;
    text-align: right;
  }

  /* 未来比赛速览头部（2026-10-13 重排）
     ① 头部允许换行 —— 挤不下时换行，而不是把元素压变形/溢出；
     ② 联赛标签**保留徽章底色**（旧版手机端 background:none 会把「欧冠」变成灰字，
        与新增的黄色「重点关注」徽章风格割裂，用户反馈"欧冠样式变了"）；
     ③ 关注徽章 flex-shrink:0，任何宽度下都不被压缩。
     ⚠️ 不要给头部元素加 order 调整顺序：`.fnav-odds` 带 `margin-left:auto`，
        一旦把徽章 order 排到最后，徽章会被挤成孤立单行（实测 360px 下
        「欧冠 / 时间 / 赔率」占满第一行，徽章落单）→ 还不如贴着联赛成组好看。
     实测（真机视口 + 真实数据，12 张卡）：
        390px → 全部单行、卡片 115px
        360/320px → 带徽章的卡换行到第二行（联赛+徽章+时间 一行、赔率右对齐一行），
                    113~139px，零横向溢出（docOv=0）。 */
  .fnav-head {
    flex-wrap: wrap;
    column-gap: 5px;
    row-gap: 4px;
  }
  .fnav-league {
    flex: 0 0 auto;
    width: auto;
    text-align: left;
    white-space: nowrap;
    padding: 1px 6px;
  }
  .fnav-focus {
    font-size: 10.5px;
    padding: 1px 5px;
  }
  /* 手机端队名紧凑靠左（不弹性拉伸，避免主队靠左客队靠右的分散） */
  .fnav-home,
  .fnav-away {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    text-align: left;
  }
  .fnav-change {
    flex: 0 1 auto;
    max-width: 55%;
  }
}

/* ============================================================
   平板端 (min-width: 768px) — 适度加宽
   ============================================================ */

@media (min-width: 768px) {
  .content {
    width: 100%;
    margin: 0;
    padding: 20px 24px calc(100px + var(--safe-bot));
  }

  /* 平板：两列（1100px 起改三列，见下方桌面断点） */
  #content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
  }

  .app-header {
    padding: calc(var(--safe-top) + 16px) 28px 14px;
  }

  .bottom-nav {
    padding: 8px 28px calc(8px + var(--safe-bot));
  }

  /* 三栏仪表盘保持 */
  .odds-trio {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 策略台分类横排 */
  .strat-cats {
    grid-template-columns: repeat(5, 1fr);
  }

  /* 单列诱盘恢复三列 */
  .lure-cards {
    flex-direction: row !important;
  }

  /* 爆冷率面板恢复三列 */
  .upset-panel .upset-row {
    flex-direction: row;
  }

  /* 迷你指标也恢复三列 */
  .mc-mini {
    grid-template-columns: repeat(3, 1fr);
  }

  .board {
    padding: 20px 22px;
  }
}

/* ============================================================
   桌面端 (min-width: 1100px) — 全宽 Grid 网格
   ============================================================ */

@media (min-width: 1100px) {
  .content {
    width: 100%;
    max-width: none;
    padding: 24px 36px calc(104px + var(--safe-bot));
  }

  .app-header {
    padding: calc(var(--safe-top) + 18px) 40px 14px;
  }

  .app-header .h-name {
    font-size: var(--fs-2xl);
  }

  .bottom-nav {
    padding: 10px 40px calc(10px + var(--safe-bot));
  }

  /* ---- 前瞻/回溯页：CSS Grid 网格 ----
     auto-fill + minmax 自动算列数，卡片同行等高、等宽 */
  #content {
    display: grid;
    /* 🔴 2026-11-11 修「回溯页 PC 端变成一张巨宽卡片」：
       原 `repeat(auto-fill, minmax(0,1fr))` 的**最小轨道是 0**，浏览器算不出上限 →
       直接铺出 66 条 1.15px 的轨道（1440px 实测），120 张卡片全挤在一行里、
       每张 34px 宽 × 1015px 高，看上去就是一整块巨宽卡片。
       ✅ 改**显式列数**：轨道用 minmax(0,1fr)（min=0 不会撑破容器），列数由断点决定，
          行为与 2026-11-05 之前 minmax(400px,1fr) 算出 3 列时一致。 */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    min-width: 0;
  }

  /* 全宽元素：统一规则见文件后部「#content 网格 · 全宽元素」（各断点共用一份） */

  /* 卡片交给 Grid 控制间距，去掉自身 margin */
  #content .card {
    margin-bottom: 0;
  }

  /* 仪表盘铺满 */
  .dash {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 盘口三栏宽屏 */
  .odds-trio {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

/* ============================================================
   超大桌面 (min-width: 1600px) — 更宽边距、更大字号
   ============================================================ */

@media (min-width: 1600px) {
  .content {
    padding: 28px 56px calc(108px + var(--safe-bot));
  }

  .app-header {
    padding: calc(var(--safe-top) + 20px) 56px 16px;
  }

  .bottom-nav {
    padding: 12px 56px calc(12px + var(--safe-bot));
  }

  /* 列最小宽度增大，屏幕更宽时列更多
     🔴 2026-11-05 同因修正：minmax(440px,1fr) 同样会撑破容器 → 改 minmax(0,1fr)
     🔴 2026-11-11：auto-fill + min=0 会铺出上百条 1px 轨道（回溯页巨宽卡片根因），
        改显式列数。超宽屏给 4 列，避免卡片被拉成 500px+ 的扁条。 */
  #content {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
  }

  /* 面板内边距加宽 */
  .board {
    padding: 24px 28px;
  }
}

/* ---- 通用辅助类 ---- */
.mt-6 { margin-top: 6px; }
.wd-note {
  font-size: var(--fs-sm);
  color: var(--sub);
  line-height: 1.7;
  padding: 6px 0;
}

/* ═══════════════════════════════════════════════════════════════
   v120 详情页视觉层级重构 — 层级感清晰 · 边界分明 · 对齐统一
   ═══════════════════════════════════════════════════════════════ */

/* ---- 一级标题：板块大标题（更大更醒目） ---- */
.board-title {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  padding-left: 14px;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text);
}

.board-title::before {
  content: "";
  position: absolute;
  left: 0;
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 8px rgba(37,99,235,.15);
}

/* ---- 二级标题：子节标题（更小更内敛，明确层级差） ---- */
.sec-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--sub);
  margin: 18px 0 10px;
  padding: 7px 0 7px 14px;
  border-left: 3px solid rgba(37,99,235,.3);
  background: linear-gradient(90deg, rgba(37,99,235,.04), transparent);
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
}

.sec-subtitle:first-of-type { margin-top: 0; }

/* ---- 板块容器：更清晰的边界和间距 ---- */
.board {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
  margin-bottom: 22px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  position: relative;
}

.board:last-child { margin-bottom: 0; }

/* 板块内卡片：与board形成视觉层次差 */
.odds-card {
  background: rgba(37,99,235,.03);
  border: 1px solid rgba(37,99,235,.08);
  border-radius: 14px;
  padding: 18px 16px;
  margin: 14px 0;
  box-shadow: 0 1px 6px rgba(0,0,0,.03);
}

.odds-card:first-of-type { margin-top: 0; }
.odds-card:last-of-type { margin-bottom: 0; }

.odds-card .sec-subtitle {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
  padding: 0 0 0 10px;
  border-left: 3px solid var(--brand-2);
  background: none;
  border-radius: 0;
}

/* ---- 比分/概率行：统一对齐框架 ---- */
.pbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px 14px;
  background: rgba(0,0,0,.02);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.04);
  transition: background .15s;
}

.pbar:last-child { margin-bottom: 0; }

.pbar:hover { background: rgba(0,0,0,.04); }

/* 排行圆圈 */
.pbar .pl {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
  color: #fff;
}

/* 进度轨道 */
.pbar .ptrack {
  flex: 1;
  height: 8px;
  background: rgba(0,0,0,.05);
  border-radius: 99px;
  overflow: hidden;
}

.pbar .pfill {
  display: block;
  height: 100%;
  border-radius: 99px;
  min-width: 2px;
  transition: width .6s cubic-bezier(.22,1,.36,1);
}

/* 百分比数字 */
.pbar .pv {
  width: 46px;
  text-align: right;
  font-size: 15px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* 比分预测行内的比分文字（与半全场区分） */
.pbar-score {
  flex: 0 0 48px;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
  color: var(--text);
}

/* 半全场行内的类型文字 */
.pbar-type {
  flex: 0 0 56px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  color: var(--text);
}

/* 赔率文字（半全场行） */
.pbar-odd {
  flex: 0 0 44px;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}

/* 理由文字：与排行圆圈对齐 */
.pbar-reason {
  font-size: 12px;
  color: var(--muted);
  padding: 2px 0 8px 36px;
  line-height: 1.6;
}

/* ---- 盘口三栏卡片：更清晰 ---- */
.odds-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.odds-trio-item {
  background: linear-gradient(135deg, rgba(37,99,235,.05), rgba(4,120,87,.05));
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  border: 1px solid rgba(37,99,235,.08);
  transition: transform .15s, box-shadow .15s;
}

.odds-trio-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.odds-trio-item .oti-icon { font-size: 26px; margin-bottom: 8px; }
.odds-trio-item .oti-val { font-size: 19px; font-weight: 900; color: var(--text); }
.odds-trio-item .oti-label { font-size: 12px; color: var(--sub); margin-top: 5px; }

/* ---- 让球盘口高亮 ---- */
.ah-highlight {
  margin: 12px 0;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(4,120,87,.06), rgba(37,99,235,.06));
  border: 1px solid rgba(4,120,87,.15);
  border-radius: 12px;
}

.ah-highlight .ah-label { font-size: 12px; color: var(--sub); margin-bottom: 3px; }
.ah-highlight .ah-val { font-size: 16px; font-weight: 800; color: var(--text); }

/* ---- 爆冷条 ---- */
.upset-bar {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.upset-bar.low { background: rgba(4,120,87,.08); border: 1px solid rgba(4,120,87,.15); color: #059669; }
.upset-bar.mid { background: rgba(180,83,9,.08); border: 1px solid rgba(180,83,9,.15); color: #b45309; }
.upset-bar.high { background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.15); color: #dc2626; }

/* ---- 结论注释 ---- */
.wd-note {
  margin-top: 14px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sub);
  background: rgba(0,0,0,.02);
  border-radius: 12px;
  border-left: 3px solid rgba(37,99,235,.25);
}
/* v136: 赔率盘口深度解读底部综合判断 — 醒目强化 */
.b-wd > .wd-note,
.odds-card .wd-note,
.b-wd .wd-note {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--text, #111) !important;
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(37,99,235,.04)) !important;
  border-left: 4px solid var(--brand-2, #2563eb) !important;
  padding: 16px 20px !important;
  line-height: 1.7 !important;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(37,99,235,.08);
}

/* ---- 大小球判定 ---- */
.sb-verdict {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.sb-verdict.v-small { background: rgba(4,120,87,.08); border: 1px solid rgba(4,120,87,.2); color: #059669; }
.sb-verdict.v-big { background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.2); color: #2563eb; }
.sb-verdict.v-bigc { background: rgba(180,83,9,.08); border: 1px solid rgba(180,83,9,.2); color: #b45309; }

/* ---- 大小球圆形图 ---- */
.ou-donut {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 14px 0;
  padding: 16px;
  background: rgba(0,0,0,.02);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.04);
}

.ou-donut-chart { flex-shrink: 0; width: 110px; height: 110px; }
.ou-donut-legend { flex: 1; }

.od-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,.02);
}

.od-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ---- 诱盘面板 ---- */
.lure-panel {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
}

.lure-panel.lure-suspect { background: rgba(220,38,38,.06); border-color: rgba(220,38,38,.15); }
.lure-panel.lure-real { background: rgba(4,120,87,.06); border-color: rgba(4,120,87,.15); }
.lure-panel.lure-neutral { background: rgba(0,0,0,.03); }

.lure-panel-hd {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.lure-steps { display: flex; flex-direction: column; gap: 4px; }

.lure-step {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(0,0,0,.02);
  border-radius: 10px;
}

.ls-title { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ls-num { flex-shrink: 0; width: 20px; text-align: center; font-size: 14px; }
.ls-label { flex-shrink: 0; font-size: 13px; font-weight: 700; min-width: 72px; }
.ls-text { font-size: 13px; line-height: 1.7; color: var(--sub); margin: 0; flex: 1; }
.ls-text b { display: inline-block; white-space: nowrap; }
/* 需求①：交叉验证内容另起一行，与判定文字左对齐（对齐=序号20+gap10+标签72+gap10），字体字号不变，超长自动换行 */
.ls-detail {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  flex-basis: 100%;
  margin-left: 112px;
  line-height: 1.7;
  word-break: break-word;
}

/* ---- 矛盾点 ---- */
.contra-item {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.contra-item:last-child { margin-bottom: 0; }

/* v132: 矛盾点白话详细分析 */
.contra-detail-box {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
}
.contra-detail {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--text);
  padding: 6px 10px;
  margin-bottom: 6px;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  border-left: 3px solid rgba(37,99,235,.3);
}
.contra-detail:last-child { margin-bottom: 0; }
.contra-item.ok { background: rgba(4,120,87,.06); border-left: 3px solid #059669; }
.contra-item.warn { background: rgba(220,38,38,.06); border-left: 3px solid #dc2626; }
.contra-item.info { background: rgba(37,99,235,.06); border-left: 3px solid #2563eb; }

/* ---- 分析过程 ---- */
.proc {
  display: flex;
  gap: 12px;
  background: rgba(0,0,0,.02);
  border: 1px solid rgba(0,0,0,.04);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.proc:last-child { margin-bottom: 0; }
.proc-i { font-size: 18px; line-height: 1.4; flex-shrink: 0; }
.proc b { font-size: 14px; font-weight: 800; display: block; margin-bottom: 2px; }
.proc p { margin: 4px 0 0; font-size: 13px; line-height: 1.75; color: var(--sub); }

/* ---- 同类赔率 ---- */
.sim-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: rgba(0,0,0,.02);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.04);
}

.sim-score { flex: 0 0 44px; font-size: 15px; font-weight: 900; text-align: center; }
.sim-w { flex: 0 0 40px; font-size: 12px; color: var(--sub); }
.sim-track { flex: 1; height: 6px; background: rgba(0,0,0,.05); border-radius: 99px; overflow: hidden; }
.sim-fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #2563eb, #059669); }
.sim-n { flex: 0 0 36px; text-align: right; font-size: 12px; font-weight: 700; color: var(--sub); }

/* ---- 趋势走势 ---- */
.tp {
  font-size: 13px;
  line-height: 1.8;
  color: var(--sub);
  padding: 6px 0 6px 12px;
  border-left: 2px solid rgba(37,99,235,.15);
  margin-bottom: 4px;
}

.trend-verdict {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(180,83,9,.06);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #b45309;
  border: 1px solid rgba(180,83,9,.15);
}

/* ---- 规则 ---- */
.ra-item {
  padding: 10px 14px;
  margin-bottom: 6px;
  background: rgba(0,0,0,.02);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.04);
}

.rb-id {
  font-size: 12px;
  font-weight: 800;
  color: #0369a1;
  background: rgba(56,189,248,.1);
  padding: 2px 8px;
  border-radius: 6px;
  margin-right: 6px;
}

.ra-n { font-size: 13px; font-weight: 700; color: var(--text); }
.ra-note { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.6; }

/* ---- 基本面五维 ---- */
.fund-summary-box {
  padding: 16px;
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(4,120,87,.06));
  border-radius: 12px;
  border: 1px solid rgba(37,99,235,.1);
  margin-bottom: 14px;
}

.fs-label { font-size: 13px; font-weight: 800; color: var(--brand-2); }
.fs-text { font-size: 13px; line-height: 1.8; color: var(--sub); margin: 6px 0 0; }

.fund-dim {
  padding: 12px 14px;
  margin-bottom: 8px;
  background: rgba(0,0,0,.02);
  border-radius: 10px;
  border-left: 3px solid rgba(37,99,235,.2);
}

.fd-title { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.fd-text { font-size: 13px; line-height: 1.75; color: var(--sub); }

/* ---- H2H ---- */
.h2h-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: rgba(0,0,0,.02);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.04);
}

.h2h-league { flex: 0 0 10em; max-width: 10em; font-size: 11px; color: var(--muted); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h2h-date { flex: 0 0 11em; max-width: 11em; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h2h-home { flex: 0 0 10em; max-width: 10em; font-size: 13px; font-weight: 700; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h2h-home.bold { color: var(--brand-2); }
.h2h-score { flex: 0 0 2em; max-width: 2em; font-size: 14px; font-weight: 900; text-align: center; color: var(--gold); white-space: nowrap; }
.h2h-away { flex: 0 0 10em; max-width: 10em; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h2h-away.bold { color: #dc2626; }
.h2h-home.lose, .h2h-away.lose { color: #dc2626; font-weight: 800; }

/* 表头行 */
.h2h-head {
  background: rgba(0,0,0,.03);
  border-radius: 8px 8px 0 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}
.h2h-head .h2h-league,
.h2h-head .h2h-date,
.h2h-head .h2h-home,
.h2h-head .h2h-score,
.h2h-head .h2h-away {
  color: var(--muted);
  font-weight: 800;
}

.h2h-text {
  font-size: 13px;
  line-height: 1.75;
  color: var(--sub);
  padding: 8px 12px;
  margin: 8px 0;
  background: rgba(0,0,0,.02);
  border-radius: 10px;
}

/* ---- 历史详情：锁定提示 ---- */
.lock-note {
  padding: 12px 16px;
  margin-bottom: 16px;
  background: rgba(180,83,9,.08);
  border: 1px solid rgba(180,83,9,.2);
  border-radius: 12px;
  font-size: 13px;
  color: #b45309;
  line-height: 1.6;
}

/* ---- 历史详情：实际赛果 ---- */
.result-score {
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  padding: 16px 0;
  letter-spacing: 2px;
  color: var(--text);
}

.result-meta {
  text-align: center;
  font-size: 13px;
  color: var(--sub);
  padding-bottom: 12px;
}

.result-note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--sub);
  padding: 12px;
  background: rgba(0,0,0,.02);
  border-radius: 10px;
  margin-top: 8px;
}

/* ---- 历史详情：复盘命中 ---- */
.review-hits {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hit {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
}

.hit.y { background: rgba(4,120,87,.1); color: #059669; }
.hit.n { background: rgba(220,38,38,.1); color: #dc2626; }

.review-note-t { font-size: 13px; line-height: 1.8; color: var(--sub); }
.review-imp { font-size: 13px; line-height: 1.8; color: var(--sub); margin-top: 8px; }

/* ---- 响应式：手机端 ---- */
@media (max-width: 640px) {
  .board { padding: 16px 14px; border-radius: 14px; }
  .board-title { font-size: 15px; margin-bottom: 14px; }
  .odds-trio { grid-template-columns: 1fr; gap: 8px; }
  .ou-donut { flex-direction: column; gap: 12px; }
  .ou-donut-chart { width: 90px; height: 90px; }
  .pbar { padding: 8px 10px; gap: 8px; }
  .pbar .pl { width: 22px; height: 22px; font-size: 11px; }
  /* 🔴 2026-11-12：胜平负概率徽标已由数字 1/2/3 改为「胜/平/负」汉字，
     而 .odds-card .pbar .pl 的 17px 优先级更高 → 22px 圆里放 17px 汉字会溢出，必须同步压小。 */
  .odds-card .pbar .pl { font-size: 12px; }
  .pbar .pv { width: 40px; font-size: 13px; }
  .pbar-score { flex: 0 0 40px; font-size: 15px; }
  .pbar-type { flex: 0 0 48px; font-size: 12px; }
  .pbar-odd { flex: 0 0 36px; font-size: 12px; }
  .pbar-reason { padding-left: 30px; font-size: 11px; }
  .h2h-date { flex: 0 0 7.5em; max-width: 7.5em; font-size: 10.5px; }
  /* 🔴 2026-11-11：小屏原本 `.h2h-league{display:none}` 把「比赛类型」整列隐藏 →
     手机端完全看不到是联赛第几轮还是杯赛（用户反馈「每次交锋是什么比赛你都没写」，
     一半原因就在这里）。改为缩窄 + 允许折两行显示，绝不隐藏。 */
  .h2h-league { display: block; flex: 0 0 5.6em; max-width: 5.6em; font-size: 10px;
    white-space: normal; line-height: 1.15; word-break: break-word; }
  /* v135: 圆形图并排改上下 */
  .ou-side-by-side { flex-direction: column !important; gap: 14px !important; }
  .ou-donut-compact { flex-direction: column !important; align-items: center !important; }
  .ou-donut-compact .ou-donut-chart { width: 180px !important; height: 180px !important; }
  .trio-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .score-big-row { grid-template-columns: 1fr !important; }
  .fund-side-by-side { flex-direction: column !important; }
  .fund-side-card, .fund-main-card { width: 100% !important; flex: 1 1 100% !important; }
}

/* ---- 响应式：平板端 (641-1099px) v135新增 ---- */
@media (min-width: 641px) and (max-width: 1099px) {
  .ou-side-by-side { flex-direction: column !important; gap: 18px !important; }
  .ou-donut-compact { flex-direction: row !important; align-items: center !important; justify-content: center !important; gap: 24px !important; }
  .ou-donut-compact .ou-donut-chart { width: 220px !important; height: 220px !important; }
  /* 2026-10-29 修复：只收窄外层 .ou-donut-chart 而漏了内部 svg，
     导致 641~1099 视口（如 iPad 竖屏 768）里 svg 仍按 342px 渲染 → 全页横向溢出 79px。 */
  .ou-donut-compact .ou-donut-chart svg { width: 220px !important; height: 220px !important; }
  .trio-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; }
  .score-big-row { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }
  .fund-side-by-side { flex-direction: column !important; }
  .fund-side-card, .fund-main-card { width: 100% !important; flex: 1 1 100% !important; }
  .board { padding: 20px 18px; }
}

/* v135: 基本面+欧赔亚盘 并排布局 */
.fund-side-by-side { display: flex; gap: 14px; align-items: stretch; }
.fund-side-card {
  flex: 0 0 320px;
  background: var(--bg-soft, #fafbfc);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
}
.fund-side-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text, #111);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-2, #2563eb);
}
.fs-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; gap: 8px; }
.fs-row .fs-k { color: var(--muted, #6b7280); flex: 0 0 auto; font-size: 12px; }
.fs-row .fs-v { color: var(--text, #111); font-weight: 600; text-align: right; flex: 1 1 auto; font-size: 12px; }
.fs-row.fs-inst .fs-v { font-weight: 500; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.fs-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-2, #2563eb);
  margin-top: 10px;
  margin-bottom: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--border, #e5e7eb);
}
.fs-note {
  margin-top: 10px;
  padding: 8px 10px;
  background: rgba(59, 130, 246, .06);
  border-left: 3px solid var(--brand-2, #2563eb);
  border-radius: 6px;
  font-size: 12px;
  color: var(--sub, #374151);
  line-height: 1.6;
}
.fund-main-card { flex: 1 1 auto; min-width: 0; }

/* v136: 矛盾点板块内的欧赔亚盘数据盒 */
.contra-odds-box {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--bg-soft, #fafbfc);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  font-size: 13px;
}
.contra-odds-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text, #111);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-2, #2563eb);
}

/* v138: 欧赔/亚盘走势分析块 */
.trend-block {
  margin-top: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(37,99,235,.05), rgba(37,99,235,.02));
  border-left: 3px solid var(--brand-2, #2563eb);
  border-radius: 8px;
}
.trend-block-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--brand-2, #2563eb);
  margin-bottom: 8px;
}
.trend-line {
  font-size: 12.5px;
  color: var(--text, #111);
  line-height: 1.8;
  padding: 2px 0;
}
.trend-line b { color: var(--text, #111); font-weight: 700; }
.trend-summary {
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(0,0,0,.04);
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text, #111);
  line-height: 1.6;
}

/* ---- 桌面端：双列优化 ---- */
@media (min-width: 1100px) {
  .board { padding: 26px 24px; }
  .board-title { font-size: 18px; margin-bottom: 20px; }
  .odds-trio { gap: 16px; }
  .odds-trio-item { padding: 22px 16px; }
  .pbar { padding: 12px 16px; }
  .pbar .pl { width: 28px; height: 28px; font-size: 14px; }
  .pbar .pv { width: 50px; font-size: 16px; }
  .pbar-score { flex: 0 0 52px; font-size: 18px; }
  .proc { padding: 16px; gap: 14px; }
  .proc-i { font-size: 20px; }
  .ou-donut { padding: 20px; gap: 24px; }
  .ou-donut-chart { width: 130px; height: 130px; }
}

/* ═══════════════════════════════════════════════════════════════
   v122b PC端详情页布局重构 — 全宽铺开 · 双列网格 · 消除留白
   ═══════════════════════════════════════════════════════════════ */

@media (min-width: 1100px) {
  /* 内容区全宽 */
  .content {
    padding: 16px 32px calc(90px + var(--safe-bot));
    margin: 0 auto;
    max-width: none;
  }

  /* 详情页头部全宽 */
  #content.detail-view .detail-head {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  /* 详情页板块不限制宽度 */
  #content.detail-view .board {
    grid-column: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  /* 详情页三指标全宽 */
  #content.detail-view .odds-trio {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  /* 详情页内容区双列网格
   * 🔴 2026-10-28：grid 子项默认 min-width:auto，任何长文本（如首发 11 人名单）
   *    的 min-content 都会把列撑宽 → 整页横向溢出。故统一给子项 min-width:0，
   *    让列可收缩；注意保持 grid-template-columns 为 1fr（改 minmax 会让环形图溢出）。 */
  #content.detail-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    align-items: stretch;
  }
  /* 子板块自动等高 */
  #content.detail-view .board {
    height: auto;
    display: flex;
    flex-direction: column;
    /* 🔴 2026-11-05：grid 子项默认 min-width:auto，内部长内容（EV 口径长文案 / 首发名单）
       的 min-content 会把 1fr 列撑到 654px+766px=1420px > 容器 1200 → 横向溢出 32/272px。
       必须显式 min-width:0 才允许收缩。 */
    min-width: 0;
  }

  /* 头部和三指标占满两列 */
  #content.detail-view .alert-banner,
  #content.detail-view .board:first-of-type,
  #content.detail-view .trio-grid {
    grid-column: 1 / -1;
  }

  /* 🔴 2026-11-11 修正：`.b-rules` 与 `.b-h2h` 保持**各占半屏并排**（原双列）。
   *    🚫 不要再给它们 grid-column:1/-1 —— 那会把两块都拉成整屏宽，与「两卡各半」矛盾。
   *    用户要的「居中」是**卡片内部内容**居中，见下方 .b-h2h / .b-rules 内层规则。 */

  /* 回溯页"分析过程"回归单列宽度（与其它卡片等宽，不占满两列） */
  #content.detail-view .board.hist-proc {
    grid-column: auto !important;
  }

  /* 板块间距 */
  #content.detail-view .board {
    margin-bottom: 20px;
  }

  /* 详情页标题 */
  .board-title {
    font-size: 17px;
    padding: 14px 20px;
    margin: -26px -24px 20px;
  }

  /* 二级标题 */
  .sec-subtitle {
    font-size: 14px;
    font-weight: 700;
    margin: 20px 0 12px;
    padding: 8px 0 8px 16px;
    border-left: 3px solid rgba(37,99,235,.4);
  }

  /* 比分/半全场行 */
  .pbar {
    padding: 12px 16px;
    gap: 12px;
    margin-bottom: 12px;
  }

  .pbar .pl { width: 28px; height: 28px; font-size: 14px; }
  .pbar .pv { width: 50px; font-size: 16px; }
  .pbar-score { flex: 0 0 52px; font-size: 18px; }
  .pbar-type { flex: 0 0 60px; font-size: 14px; }
  .pbar-odd { flex: 0 0 48px; font-size: 14px; }
  .pbar-reason { padding-left: 40px; font-size: 13px; }

  /* 分析过程 */
  .proc { padding: 16px; gap: 14px; }
  .proc-i { font-size: 20px; }

  /* 大小球圆形图 */
  .ou-side-by-side { gap: 18px; }
  /* 2026-10-29 修复：写死 378px 在断点下沿（1100~1279）会把左列挤出去 → 全页横向溢出 52px。
     改为按视口自适应：1100→286px、1440→374px、≥1460→378px，桌面视觉与原先一致。 */
  .ou-donut-compact .ou-donut-chart { width: clamp(240px, 26vw, 378px); height: clamp(240px, 26vw, 378px); }
  .ou-donut-compact .ou-donut-chart svg { width: clamp(240px, 26vw, 378px); height: clamp(240px, 26vw, 378px); }

  /* 诱盘面板步骤 */
  .lure-step { padding: 12px 14px; gap: 12px; }
  .ls-label { min-width: 80px; font-size: 14px; }
  .ls-text { font-size: 14px; }
  /* 需求①手机端：交叉验证换行对齐（序号20+gap12+标签80+gap12） */
  .ls-detail { margin-left: 124px; }

  /* 矛盾点 */
  .contra-item { padding: 14px 16px; font-size: 14px; }

  /* H2H行（固定占位符：比赛类型10/比赛时间11/主队10/比分2/客队10） */
  .h2h-row { padding: 12px 14px; gap: 10px; }
  .h2h-date { flex: 0 0 11em; max-width: 11em; }
  .h2h-score { flex: 0 0 2em; max-width: 2em; font-size: 15px; }
  .h2h-league { flex: 0 0 10em; max-width: 10em; }

  /* 基本面维度 */
  .fund-dim { padding: 14px 16px; }
  .fd-title { font-size: 14px; margin-bottom: 6px; }
  .fd-text { font-size: 14px; }

  /* 同类赔率 */
  .sim-item { padding: 12px 14px; }

  /* 复盘面板 */
  .review-panel { padding: 16px; }
  .review-imp { font-size: 14px; }

  /* 三指标平行 */
  .trio-grid { gap: 16px; }
  .trio-item { padding: 18px 14px; }
  .trio-item .ti-icon { font-size: 24px; }
  .trio-item .ti-val { font-size: 19px; }

  /* 比分Top3 */
  .score-big .sb-num { font-size: 28px; }
}

/* 超大屏 */
@media (min-width: 1600px) {
  .content { padding-left: 48px; padding-right: 48px; max-width: none; }
}

/* ═══ v122 前端优化 ═══ */

/* 1. 爆冷概率颜色区分 */
.up-badge { font-weight: 800; }
.upset-bar b { font-weight: 900; }

/* 2. 比分Top3大卡片 */
.score-big-row {
  display: flex;
  gap: 10px;
  margin: 8px 0 12px;
}
.score-big {
  flex: 1;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .15s;
}
.score-big:active { transform: scale(.97); }
.score-big .sb-rank {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 0 0 var(--r-sm) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
}
.score-big .sb-num {
  font-size: 28px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
  margin-top: 6px;
  line-height: 1.3;
}
.score-big .sb-prob {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--muted);
  margin-top: 4px;
}
.score-big .sb-bar {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.score-big .sb-fill {
  height: 100%;
  border-radius: 2px;
}
.score-big.score-first {
  border-color: rgba(37,99,235,.35);
  background: linear-gradient(180deg, rgba(37,99,235,.08), var(--bg-soft));
}
.score-big.score-first .sb-num { color: #2563eb; }
.score-big.score-second {
  border-color: rgba(4,120,87,.25);
  background: linear-gradient(180deg, rgba(4,120,87,.06), var(--bg-soft));
}
.score-big.score-second .sb-num { color: #047857; }
.score-big.score-third {
  border-color: rgba(180,83,9,.25);
  background: linear-gradient(180deg, rgba(180,83,9,.06), var(--bg-soft));
}
.score-big.score-third .sb-num { color: #b45309; }

/* 历史详情页稍小 */
.score-big-row.score-sm .score-big { padding: 12px 10px; }
.score-big-row.score-sm .sb-num { font-size: 22px; }

/* 4. 一级标题横幅化 */
.board-title {
  font-size: var(--fs-md);
  font-weight: 800;
  margin: -18px -18px 14px;
  padding: 12px 18px;
  background: var(--bg-soft);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.board-title::before {
  content: "";
  width: 5px;
  height: 20px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* 每个模块独特的标题颜色 */
.b-score .board-title { border-bottom-color: rgba(180,83,9,.2); }
.b-score .board-title::before { background: linear-gradient(180deg, #b45309, #d97706); }
.b-wd .board-title { border-bottom-color: rgba(37,99,235,.2); }
.b-wd .board-title::before { background: linear-gradient(180deg, #1d4ed8, #2563eb); }
.b-size .board-title { border-bottom-color: rgba(4,120,87,.2); }
.b-size .board-title::before { background: linear-gradient(180deg, #059669, #10b981); }
.b-process .board-title { border-bottom-color: rgba(167,139,250,.2); }
.b-process .board-title::before { background: linear-gradient(180deg, #7c3aed, #6d28d9); }
.b-contra .board-title { border-bottom-color: rgba(4,120,87,.2); }
.b-contra .board-title::before { background: linear-gradient(180deg, #047857, #059669); }
.b-similar .board-title { border-bottom-color: rgba(244,114,182,.2); }
.b-similar .board-title::before { background: linear-gradient(180deg, #db2777, #be185d); }
.b-trend .board-title { border-bottom-color: rgba(244,114,182,.2); }
.b-trend .board-title::before { background: linear-gradient(180deg, #db2777, #be185d); }
.b-result .board-title { border-bottom-color: rgba(180,83,9,.2); }
.b-result .board-title::before { background: linear-gradient(180deg, #b45309, #d97706); }
.b-review .board-title { border-bottom-color: rgba(37,99,235,.2); }
.b-review .board-title::before { background: linear-gradient(180deg, #1d4ed8, #2563eb); }
.b-fund .board-title { border-bottom-color: rgba(37,99,235,.2); }
.b-fund .board-title::before { background: linear-gradient(180deg, #1d4ed8, #2563eb); }
.b-h2h .board-title { border-bottom-color: rgba(167,139,250,.2); }
.b-h2h .board-title::before { background: linear-gradient(180deg, #6d28d9, #7c3aed); }
.b-rules .board-title { border-bottom-color: rgba(56,189,248,.2); }
.b-rules .board-title::before { background: linear-gradient(180deg, #0369a1, #0ea5e9); }

/* 5. 半全场简写样式 */
.hf-pbar .hf-short {
  flex: 0 0 44px;
  font-size: var(--fs-md);
  font-weight: 900;
  color: var(--text);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* 6. 三指标平行布局 */
.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 12px;
}
.trio-item {
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 14px 10px;
  text-align: center;
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  transition: transform .15s;
}
.trio-item:active { transform: scale(.97); }
.trio-item .ti-icon { font-size: 20px; margin-bottom: 4px; }
.trio-item .ti-val { font-size: var(--fs-lg); font-weight: 900; }
.trio-item .ti-label { font-size: var(--fs-xs); color: var(--sub); margin-top: 3px; }

/* 7. 大小球圆形图与判定平行等高 */
.ou-side-by-side {
  display: flex;
  gap: 14px;
  align-items: stretch;
  margin: 12px 0;
  /* 🔴 2026-11-05：flex 子项默认 min-width:auto，环图+左列在双列布局（558px 列宽）下
     会撑破 → 允许收缩，必要时由 .ou-left-col 内部自行折行 */
  flex-wrap: wrap;
  min-width: 0;
}
/* v136: 判定底框宽度扩大2倍（用户反馈） */
.ou-left-col {
  flex: 1 1 520px;
  /* 🔴 2026-11-05：原 min-width:320px 在详情页双列（列宽 558）时与环图 312px 相加溢出；
     改为 0 允许收缩（内容仍按 flex-basis 520px 优先占位） */
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ou-left-col .sb-verdict {
  margin-top: 0;
  flex-shrink: 0;
  font-size: 16px;
  padding: 16px 22px;
  line-height: 1.7;
  text-align: left;
  word-break: break-word;
  white-space: normal;
}
.ou-left-col .ou-donut-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  padding: 4px 0;
}
.ou-left-col .sb-analysis {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--sub);
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}
/* v132: 右侧圆图，固定小尺寸与左侧等高 */
.ou-donut-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-left: auto;
  margin-top: -14px;
}
.ou-donut-compact .ou-donut-chart {
  width: 342px;
  height: 342px;
}
.ou-donut-compact .ou-donut-chart svg {
  width: 342px;
  height: 342px;
}

/* v132: 欧赔/亚盘数据卡 */
.odds-euro {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: var(--fs-sm);
}
.odds-euro:last-child { border-bottom: none; }
.oe-label {
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  min-width: 70px;
}
.oe-val {
  color: var(--text);
  font-weight: 600;
}
.oe-val b {
  color: var(--brand-2);
  font-variant-numeric: tabular-nums;
}
.oe-ah b {
  color: #e65100;
  font-size: var(--fs-md);
}
.odds-source {
  font-size: var(--fs-xs);
  color: var(--muted);
  padding: 2px 0 4px 84px;
}
.odds-signal {
  font-size: var(--fs-sm);
  padding: 8px 10px;
  margin-top: 6px;
  background: rgba(37,99,235,.06);
  border-left: 3px solid #2563eb;
  border-radius: var(--r-sm);
}

/* 8. H2H分组样式 */
.h2h-groups {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.h2h-group-title {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.h2h-cnt {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 600;
  background: var(--bg-soft);
  padding: 2px 8px;
  border-radius: 99px;
}
.h2h-more {
  font-size: var(--fs-xs);
  color: var(--muted);
  text-align: center;
  padding: 4px;
  font-style: italic;
}

/* ══ 交锋列表·两行结构（2026-11-11，按用户参考图重构）══════════════════════
   每条 = ① 居中灰字「赛事 第N轮」 ② 日期 | 主队(蓝) | 比分 | 客队(红)
   配色按主客角色：主队恒蓝、客队恒红，胜方加粗。
   🚫 不要再退回「5 列表格 + 小屏 display:none 隐藏赛事列」的老方案。 */
.h2h-sum { font-size: 11.5px; color: #8a7358; padding: 2px 2px 9px; letter-spacing: .2px;
  text-align: center; }
/* 交锋「赛事分布」小字（体彩统计条下方的一行灰字） */
.h2h-sub { font-size: 11px; color: #a08a70; text-align: center; padding: 0 2px 8px;
  letter-spacing: .2px; line-height: 1.5; }
.h2h-sum b { color: #c2410c; font-size: 12.5px; }
.h2h-list { display: flex; flex-direction: column; width: 100%; }
/* ══ 交锋 / 近况 · 五列表格（2026-11-11 用户提供参考图，最终口径）═══════════════
   列序冻结：赛事·日期 ｜ 主队 ｜ 比分 ｜ 客队 ｜ 总进球
   ① width:100% + grid 等比列宽 → PC 半屏卡不再两侧各空 200px（旧「固定 em 宽居中」的通病，
      用户明确反馈「PC 端历史交锋与近况空白很多」）；
   ② 手机端只收窄「赛事·日期」列与字号，五列全部保留、绝不隐藏（用户要求手机上完整展示）；
   ③ 配色沿用用户口径：默认黑、胜方红、平局该场主队绿。
   🚫 不要退回固定 em 宽度居中方案；🚫 不要在小屏用 display:none 隐藏赛事列。 */
.h2h-row { display: grid; width: 100%;
  grid-template-columns: minmax(0, 2.15fr) minmax(0, 1.25fr) 3.6em minmax(0, 1.25fr) 3.2em;
  align-items: center; column-gap: 6px; row-gap: 0;
  padding: 7px 6px; border-bottom: 1px dashed #f0e4d2;
  font-size: 12.5px; line-height: 1.4;
  /* 🔴 必须显式重置：文件上方还留着两处**旧版 flex 行**的 .h2h-row 规则
     （padding / 半透明底色 / 圆角 / 外边框 / margin-bottom），不重置会让每行变成
     一块带背景的圆角砖，把表格外观彻底打散。 */
  background: none; border-radius: 0; border: 0; border-bottom: 1px dashed #f0e4d2;
  margin-bottom: 0; }
.h2h-row:last-child { border-bottom: none; }
.h2h-thead { padding: 5px 6px; border-bottom: 1px solid #ecdbc6; background: #fdf8f1;
  border-radius: 7px 7px 0 0; font-size: 11px; color: #a08a70; font-weight: 800;
  letter-spacing: .3px; }
.h2h-row .c-comp { display: flex; flex-direction: column; min-width: 0; align-items: flex-start; }
.h2h-row .c-comp b { max-width: 100%; font-size: 11.5px; color: #8a7358; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2h-row .c-comp i { font-style: normal; font-size: 10.5px; color: #b3a48f;
  font-variant-numeric: tabular-nums; }
.h2h-row .c-comp .d-short { display: none; }
.h2h-row .c-comp .d-long { display: inline; }
.h2h-row .c-home { text-align: right; color: #241a10; font-weight: 650; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2h-row .c-away { text-align: left; color: #241a10; font-weight: 650; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2h-row .c-score { text-align: center; font-weight: 900; color: #1f1408;
  font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.h2h-row .c-goal { text-align: center; color: #6b5442; font-weight: 800;
  font-variant-numeric: tabular-nums; }
/* 两队近况容器：PC 并排两列（消掉纵向大片空白），窄屏堆叠 */
.form-pair { display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 1100px) {
  .form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px;
    align-items: start; }
  /* 并排时给左列一条细竖线做分隔，避免两块表格糊在一起 */
  .form-pair > .form-block + .form-block { border-left: 1px solid #f0e4d2; padding-left: 14px; }
  .form-pair > .form-block { min-width: 0; }
}
/* 🎨 战绩行里的球队胜平负（2026-11-12 用户定稿）：
   与上方胜平负概率条**同一套竞彩色**（胜红 / 平琥珀 / 负绿）。
   🔴 语义是「该队这场自己的结果」，不是「胜者才算」——
      本场球队输球也要标绿（旧实现只给胜者上色，输球反而全黑）。
   🚫 非本场对手不加任何类 → 继承 .c-home/.c-away 的墨色 #241a10。 */
.h2h-row .won  { color: #dc2626; font-weight: 900; }
.h2h-row .dr   { color: #b45309; font-weight: 900; }
.h2h-row .lost { color: #047857; font-weight: 900; }
/* 表头统一浅棕灰（数据行有各自的队名/比分色，必须在表头里覆盖回来） */
.h2h-thead .c-home, .h2h-thead .c-away, .h2h-thead .c-score, .h2h-thead .c-goal,
.h2h-thead .c-comp b { color: #a08a70; font-weight: 800; }
/* PC（≥1100px）：卡片半屏宽约 660~760px，12.5px 偏小且行距偏挤 → 放一档，肉眼更"成表" */
@media (min-width: 1100px) {
  .h2h-row { font-size: 13.5px; padding: 8px 10px; column-gap: 8px;
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1.3fr) 4.5em minmax(0, 1.3fr) 4em; }
  .h2h-thead { font-size: 11.5px; padding: 6px 10px; }
  .h2h-row .c-comp b { font-size: 12px; }
  .h2h-row .c-comp i { font-size: 11px; }
}


/* ── 筛选项（仿体彩样式，2026-11-11）───────────────────────────────── */
/* 🔴 2026-11-11 用户标注「间距适配这个卡片」：
 *    之前 gap 固定 6px + 胶囊 padding 3px 10px，在 548px 的半屏卡里 5 个按钮 + 标签要占 420px+，
 *    换行后左右参差。改为按卡片宽度自适应：gap 用 clamp，胶囊 padding 收窄，
 *    标签与按钮同排居中、换行时也保持居中（不再左对齐堆叠）。 */
.h2h-filters { display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 4px clamp(4px, .6vw, 7px); padding: 1px 0 9px; }
.h2h-filters.formf { margin-top: 4px; padding-top: 9px; border-top: 1px solid #f4ead9; }
.hfl { font-size: 10.5px; color: #a08a70; font-weight: 800; letter-spacing: .3px;
  margin-right: 1px; flex: 0 0 auto; }
.hf { font: inherit; font-size: 11.5px; font-weight: 700; color: #7a6952; background: #faf5ee;
  border: 1px solid #ecdbc6; border-radius: 999px; padding: 3px 9px; line-height: 1.55;
  cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none;
  white-space: nowrap; flex: 0 0 auto; }
.hf:active { transform: scale(.96); }
.hf.on { background: #c2410c; border-color: #c2410c; color: #fff; }
.hfsep { width: 1px; height: 13px; background: #e6d7c2; margin: 0 1px; }

/* ══ 近况表头 · 体彩同款（2026-11-11 用户提供截图，永久口径）══════════════
   「近N场 队名 1胜(x%) ｜ 1平(y%) ｜ 1负(z%)」
   配色取自体彩官网实测：近N场=黑 #181818 / 队名=深蓝 #274b7e
   胜=红 #e01212 / 平=绿 #008f4a / 负=蓝 #2372d9 / 分隔线=浅灰 #d8d8da
   🚫 不要改回「图标 + 主队近况」的旧表头。 */
.fh2 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: 4px 6px; padding: 9px 2px 6px; line-height: 1.2; }
.fh2 .fh2-n { font-size: 11.5px; color: #181818; font-weight: 600; letter-spacing: .2px; }
.fh2 .fh2-team { font-size: 16px; font-weight: 900; color: #274b7e; letter-spacing: .3px;
  margin-right: 2px; }
.fh2 .fh2-bar { width: 1px; height: 12px; background: #d8d8da; align-self: center; flex: 0 0 1px; }
/* 🔴 2026-11-11（用户反馈「近30次交锋 横滨水手 10胜(33%) 3平(10%) 17负(57%) 在手机端换行」）：
   把「胜/平/负」三格包成一个 .fh2-stats 整体：
     · 宽屏 → 与「近N次交锋 + 队名」同排（inline-flex，内部不拆行）；
     · 窄屏放不下 → 整组下移一行居中，而不是「胜」留在上一行、「平/负」掉下一行那种参差换行。
   🚫 不要退回把 bar 和 三格平铺成 .fh2 直接子元素（那就是会参差换行的老结构）。 */
.fh2 .fh2-stats { display: inline-flex; align-items: baseline; flex-wrap: nowrap;
  gap: 4px 6px; white-space: nowrap; }
.fh2 .fh2-w, .fh2 .fh2-d, .fh2 .fh2-l { font-size: 13px; font-weight: 800;
  font-variant-numeric: tabular-nums; letter-spacing: .2px; }
/* 2026-11-12 统一为竞彩三色（旧值 胜红/平绿/负蓝 #e01212/#008f4a/#2372d9 与概率条不一致） */
.fh2 .fh2-w { color: #dc2626; }
.fh2 .fh2-d { color: #b45309; }
.fh2 .fh2-l { color: #047857; }

/* 手机端：只缩字号，四项全部保留；放不下时「胜/平/负」整组换行居中（不再参差断行） */
@media (max-width: 640px) {
  .fh2 { gap: 3px 5px; padding: 8px 0 5px; }
  .fh2 .fh2-team { font-size: 14.5px; }
  .fh2 .fh2-n { font-size: 11px; }
  .fh2 .fh2-w, .fh2 .fh2-d, .fh2 .fh2-l { font-size: 12px; }
  .fh2 .fh2-bar { height: 11px; }
  /* 390px 实测：六字队名 + 三格全宽 ≈ 340px（临界）。here 用自然 wrap：
     放得下就与队名同排；放不下整组下沉居中，绝不出现「胜在上行、平负掉下行」的参差断行。 */
  .fh2 .fh2-stats { flex: 0 1 auto; justify-content: center; gap: 3px 5px; }
}
.h2h-morebox { margin-top: 4px; }
.h2h-morebox > summary { cursor: pointer; list-style: none; text-align: center;
  font-size: 11.5px; color: #b45309; font-weight: 700; padding: 9px 0 7px;
  background: #fdf6ec; border-radius: 9px; }
.h2h-morebox > summary::-webkit-details-marker { display: none; }
.h2h-morebox > summary:after { content: " ▾"; font-size: 10px; }
.h2h-morebox[open] > summary:after { content: " ▴"; }
.h2h-morebox[open] > summary { margin-bottom: 2px; }

/* 手机端（≤640px）：只缩字号与间距，5 列全部保留、绝不隐藏
   日期改 YY-MM-DD（26-08-07）：实测 390px 下 2026-08-07 宽 58px 会挤到截断，YY 版仅 44px。 */
@media (max-width: 640px) {
  .h2h-row { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.15fr) 2.9em minmax(0, 1.15fr) 2.6em;
    column-gap: 4px; padding: 6px 3px; font-size: 11.5px; }
  .h2h-thead { font-size: 10px; padding: 4px 3px; letter-spacing: 0; }
  .h2h-row .c-comp b { font-size: 10.5px; }
  .h2h-row .c-comp i { font-size: 9.5px; }
  .h2h-row .c-comp .d-long { display: none; }
  .h2h-row .c-comp .d-short { display: inline; }
  .h2h-row .c-score { font-size: 12px; }
  .h2h-row .c-goal { font-size: 11.5px; }
}

/* 极窄屏（≤360px）：队名列总宽只剩 ~80px，7 字队名（谢菲尔德星期三）会出省略号 →
   降到 11px×7≈77 才能完整显示；赛事列同步再收一档。 */
@media (max-width: 360px) {
  .h2h-row { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.15fr) 2.6em minmax(0, 1.15fr) 2.3em;
    column-gap: 3px; padding: 5px 2px; font-size: 11px; }
  .h2h-row .c-comp b { font-size: 10px; }
  .h2h-row .c-comp i { font-size: 9px; }
  .h2h-row .c-home, .h2h-row .c-away { font-weight: 600; }
  .h2h-row .c-score { font-size: 11.5px; }
}


/* 隐藏旧odds-trio（被trio-grid替代） */
.odds-trio { display: none !important; }

/* 手机端适配 */
@media (max-width: 640px) {
  .score-big-row { gap: 6px; }
  .score-big { padding: 10px 8px; }
  .score-big .sb-num { font-size: var(--fs-xl); }
  /* v214: 三模块强制平行，所有端保持3列 */
  .trio-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .trio-item { padding: 10px; }
  .ou-side-by-side { flex-direction: column; gap: 12px; }
  /* 需求②：column 布局下 .ou-left-col 的 flex-basis 520px 会撑成高度，导致判定/分析与圆图间大段空白 */
  .ou-left-col { flex: 0 0 auto; min-width: 0; }
  .ou-donut-compact { margin-left: 0; margin-top: 0; align-items: center; width: 100%; }
  .ou-donut-compact .ou-donut-chart { width: 220px; height: 220px; margin: 0 auto; }
  .ou-donut-compact .ou-donut-chart svg { width: 220px; height: 220px; }
  .ou-left-col .ou-donut-legend { font-size: 11px; justify-content: center; }
  /* 需求②：诱盘三要素移动端改纵向——标题(序号+标签)居中、描述左对齐在下方 */
  .lure-step { flex-direction: column; align-items: center; gap: 4px; padding: 10px 12px; }
  .lure-step .ls-title { justify-content: center; }
  .lure-step .ls-label { min-width: 0; }
  .lure-step .ls-text { flex: none; width: 100%; text-align: left; margin: 0; }
  .lure-step .ls-detail { margin-left: 0; width: 100%; text-align: left; }
  .board-title { font-size: 14px; padding: 10px 14px; margin: -16px -14px 12px; }
  .hf-pbar .hf-short { flex: 0 0 36px; font-size: 13px; }
}

/* 平板端适配 */
@media (min-width: 641px) and (max-width: 1099px) {
  .trio-grid { gap: 10px; }
  .trio-item { padding: 12px; }
  .ou-side-by-side { gap: 12px; }
  .score-big-row { gap: 8px; }
}

/* PC端适配 */
@media (min-width: 1100px) {
  .trio-grid { gap: 16px; }
  .trio-item { padding: 18px 14px; }
  .trio-item .ti-icon { font-size: 24px; }
  .trio-item .ti-val { font-size: 19px; }
  .board-title { font-size: 17px; padding: 14px 24px; margin: -26px -24px 20px; }
  .score-big .sb-num { font-size: 32px; }
  .ou-side-by-side { gap: 18px; }
  .ou-donut-compact .ou-donut-chart { width: 378px; height: 378px; }
  .ou-donut-compact .ou-donut-chart svg { width: 378px; height: 378px; }
}

/* ═══ v126 策略单关：平行排列 + 分析逻辑独立成卡 ═══ */

/* 方案列表横向平行排列 */
.pk-parallel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.pk-item {
  flex: 1 1 160px;
  min-width: 120px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px;
  text-align: center;
  transition: transform .12s;
}
.pk-item:active { transform: scale(.97); }
.pk-item .pk-match {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--sub);
  margin-bottom: 6px;
  line-height: 1.3;
}
.pk-item .pk-pick {
  font-size: var(--fs-lg);
  font-weight: 900;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pk-item .pk-pick b {
  font-variant-numeric: tabular-nums;
  letter-spacing: .5px;
}
.pk-item .po {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold);
  font-style: normal;
}
.pk-count {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 600;
  margin-left: auto;
}

/* v132: 比分/半全场单关逐行展示 */
.pk-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.pk-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: transform .12s;
}
.pk-row:active { transform: scale(.98); }
.pk-row-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-2);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pk-row-match {
  flex: 1;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.pk-row-pick {
  flex-shrink: 0;
  font-size: var(--fs-lg);
  font-weight: 900;
  color: var(--brand-2);
  font-variant-numeric: tabular-nums;
}
.pk-row-odds {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gold);
}

/* 分析逻辑独立卡 */
.logic-card {
  margin-top: 0;
  border-left: 3px solid rgba(37,99,235,.3);
}
.logic-card .pk-logic-tag {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 8px;
}
.logic-item {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  align-items: flex-start;
}
.logic-item:last-child { margin-bottom: 0; }
.logic-item .logic-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37,99,235,.15);
  color: var(--brand-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}
.logic-item .pk-reason {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--sub);
}

/* 手机端适配 */
@media (max-width: 640px) {
  .pk-parallel { gap: 6px; }
  .pk-item { flex: 1 1 130px; padding: 10px 8px; }
  .pk-item .pk-pick { font-size: var(--fs-md); }
}

/* 比赛过程事件流（v440） */
.ev-timeline { display:flex; flex-direction:column; gap:6px; margin-top:8px; }
.ev-item { display:flex; align-items:center; gap:8px; padding:6px 10px; border-radius:8px; background:rgba(128,140,160,0.08); font-size:13px; }
.ev-t { color:#8a94a6; font-variant-numeric:tabular-nums; min-width:36px; font-weight:600; }
.ev-ic { font-size:14px; }
.ev-side { min-width:20px; font-weight:700; font-size:12px; }
.ev-side.ev-h { color:#2563eb; }
.ev-side.ev-a { color:#047857; }
.ev-txt { color:#334155; line-height:1.5; flex:1; }
.b-events .board-title::before { background:#d97706; }


/* ===== 2026-09-16 模型预期进球 + 盘口剧本（四分类） ===== */
.sb-model-panel { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.eg-box, .hs-box { background: rgba(0,0,0,.02); border: 1px solid rgba(0,0,0,.07); border-radius: 8px; padding: 8px 10px; }
.eg-hd, .hs-hd { font-size: 11px; color: #6b7280; margin-bottom: 6px; line-height: 1.5; }
.hs-hd b { color: #dc2626; }
.eg-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.eg-item { font-size: 12px; color: #111827; }
.eg-item .eg-k { color: #6b7280; margin-right: 4px; }
.eg-item b { color: #2563eb; font-size: 15px; font-weight: 800; }
.eg-item.eg-total b { color: #b45309; }
.hs-bars { display: flex; flex-direction: column; gap: 5px; }
.hs-item { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.hs-k { width: 62px; color: #6b7280; flex: none; }
.hs-bar { flex: 1; height: 6px; background: rgba(0,0,0,.05); border-radius: 3px; overflow: hidden; min-width: 60px; }
.hs-bar i { display: block; height: 100%; border-radius: 3px; transition: width .3s; }
.hs-v { width: 40px; text-align: right; color: #111827; font-weight: 700; flex: none; }
.hs-cover .hs-bar i { background: #059669; }
.hs-push .hs-bar i { background: #d97706; }
.hs-nocover .hs-bar i { background: #dc2626; }
.hs-lose .hs-bar i { background: #64748b; }
.hs-foot { font-size: 10px; color: #6b7280; margin-top: 6px; line-height: 1.5; }

/* ===== ICP 备案页脚（工信部要求：首页底部展示备案号 + 链接 beian.miit.gov.cn） =====
   margin-top 负值用于吃掉 .content 预留的 90px 底部内边距，避免多出一大块留白；
   若后续调整 .content 的 padding-bottom，此处需同步（-78px = 90px - 12px 间距）。 */
.site-footer {
  position: relative;
  /* 🔴 2026-11-11 修「底部导航点不动」：原 z-index:41 > .bottom-nav 的 40，
     而 footer 用 margin-top:-78px + 92px 下内边距正好压在固定导航上 → 透明盒子
     盖住导航条并吃掉点击（滚到页底时导航完全失效，Playwright 报
     "site-footer intercepts pointer events"）。降到 30，让导航永远在最上层；
     内边距已保证备案文字不被导航压住，所以视觉不变。 */
  z-index: 30;
  margin-top: -78px;
  /* 🔴 底部内边距必须 > 固定底部导航高度（实测 PC 72px / 移动 66px），否则备案号会被导航压住。
     92px 可保证 PC 20px、移动 26px 净空。 */
  padding: 0 14px calc(92px + var(--safe-bot));
  text-align: center;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  opacity: .8;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.site-footer a:hover,
.site-footer a:active {
  color: var(--sub);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .site-footer { padding-left: 28px; padding-right: 28px; }
}
.site-footer .icp-sub {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  opacity: .85;
}
@media (max-width: 360px) {
  .site-footer .icp-sub { display: block; margin-left: 0; }
}

/* ===== 公安备案链接（含盾形图标，垂直居中对齐） ===== */
.site-footer .ga-beian {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
}
.site-footer .ga-beian img {
  width: 14px;
  height: 16px;
  vertical-align: middle;
  opacity: .9;
}
@media (max-width: 360px) {
  .site-footer .ga-beian { margin-left: 0; }
}

/* ===== 详情页比赛 Hero 区（仿 titan007：联赛徽章+时间 / 对阵 / 场地天气） ===== */
.match-hero {
  background: linear-gradient(150deg, #e3eefc 0%, #eef4fd 55%, #f6f9fe 100%);
  border: 1px solid rgba(37,99,235,.14);
  border-radius: var(--r-lg);
  padding: 14px 16px 13px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.mh-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mh-league {
  display: inline-flex;
  align-items: center;
  background: var(--brand);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .5px;
}
.mh-code {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand);
  background: rgba(37,99,235,.10);
  padding: 3px 8px;
  border-radius: 999px;
}
.mh-time {
  font-size: var(--fs-xs);
  color: var(--sub);
  font-weight: 600;
  margin-left: auto;
}
.mh-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 16px 2px 6px;
}
.mh-side {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.mh-logo {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mh-logo .tlogo {
  width: 52px;
  height: 52px;
  font-size: var(--fs-xl);
  border-radius: 14px;
}
.mh-logo .tlogo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.mh-name {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  word-break: break-all;
}
.mh-name i {
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand);
  margin-left: 3px;
}
.mh-mid {
  flex-shrink: 0;
  min-width: 52px;
  text-align: center;
}
.mh-vs {
  font-size: var(--fs-xl);
  font-weight: 900;
  color: #64748b;
  letter-spacing: 1px;
}
.mh-score {
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 1px;
  line-height: 1.1;
}
.mh-half {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 600;
  margin-top: 3px;
}
.mh-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(37,99,235,.16);
  font-size: var(--fs-xs);
  color: var(--sub);
}
.mh-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}
/* 球场与天气（2026-11-13）：球场名过长时省略，城市用浅色小字，天气整段允许换行 */
.mh-meta .mh-venue {
  font-weight: 700;
  color: var(--text);
}
.mh-meta .mh-venue i {
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  font-size: 11px;
  margin-left: 2px;
}
.mh-meta .mh-weather {
  color: var(--sub);
  font-variant-numeric: tabular-nums;
  word-break: break-word;
  text-align: center;
}
@media (max-width: 360px) {
  .mh-name { font-size: var(--fs-md); }
  .mh-logo, .mh-logo .tlogo, .mh-logo .tlogo-img { width: 44px; height: 44px; }
  .mh-score { font-size: 26px; }
}

/* ===== 备案页脚重排：两行整齐结构，弱化但清晰 ===== */
.site-footer {
  margin-top: 0;
  padding: 12px 14px calc(92px + var(--safe-bot));
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  opacity: 1;
}
.site-footer .icp-line {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.site-footer .icp-sub {
  font-size: 10px;
  opacity: .75;
  margin-left: 0;
}
.site-footer .ga-beian {
  margin-left: 0;
}
.site-footer .ga-beian img {
  width: 13px;
  height: 15px;
  opacity: .8;
}

/* ===== 板块分区底色容器（速览/命中 白底下的板块边界） ===== */
.zone {
  border-radius: var(--r-lg);
  padding: 10px;
  margin-bottom: 18px;
  border: 1px solid transparent;
}
.zone-fnav {
  background: rgba(37,99,235,.05);
  border-color: rgba(37,99,235,.12);
}
.zone-hits {
  background: rgba(180,83,9,.05);
  border-color: rgba(180,83,9,.14);
}
.zone .fnav-card:last-child,
.zone .hit-date-group:last-child { margin-bottom: 0; }
.zone-hits .hit-date-group {
  background: var(--card);
  border: 1px solid var(--line);
}

/* 命中行：队名一行 + 命中 chips 下移一行（虚线分隔两行，chips 保持右侧原位） */
.hdg-row {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 7px 2px 6px;
}
.hdg-row .hdg-teams {
  width: 100%;
  padding-bottom: 5px;
  border-bottom: 1px dashed rgba(0,0,0,.08);
}
.hdg-row .hdg-chips-row {
  width: 100%;
  justify-content: flex-end;
  padding-top: 5px;
}

/* ===== 速览卡：欧赔并入第一行尾、亚盘并入第二行尾（行内靠右） ===== */
.fnav-odds {
  flex-shrink: 1;
  min-width: 0;
  margin-left: auto;
  max-width: 60%;
  font-size: 11px;
  line-height: 1.5;
  color: var(--sub);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.fnav-odds.has { color: #dc2626; font-weight: 600; }
.fnav-odds.none { color: var(--muted); }
/* 走势着色（中式）：升=红、降=绿 */
.fnav-odds.up { color: #dc2626; font-weight: 700; }
.fnav-odds.down { color: #059669; font-weight: 700; }

/* ===== 速览联赛标签：亮色徽章（原灰底灰字太暗） ===== */
.fnav-league {
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  padding: 2px 8px;
  border-radius: 5px;
  letter-spacing: .3px;
}

/* ===== 详情页 header：压缩 Hero 模式 ===== */
.app-header.hdr-detail {
  padding: calc(var(--safe-top) + 8px) 10px 8px;
  align-items: stretch;
}
.app-header.hdr-detail .h-name,
.app-header.hdr-detail .h-tag,
.app-header.hdr-detail .h-right { display: none; }
.app-header.hdr-detail .h-left {
  position: relative;
  flex: 1;
  display: block;
}
.app-header.hdr-detail .h-back {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(37,99,235,.18);
  box-shadow: 0 1px 6px rgba(15,23,42,.16);
  font-size: 17px;
  line-height: 1;
  color: var(--brand);
}
.app-header.hdr-detail .h-match {
  display: block;
  width: 100%;
  margin: 0;
}
/* 紧凑 Hero（header 内）：三行压缩、小 logo、低高度，手机/PC 自适应 */
.hdr-hero {
  margin: 0;
  padding: 8px 12px 7px 46px;
  border-radius: var(--r-md);
  box-shadow: none;
  width: 100%;
}
.hdr-hero .mh-top { gap: 6px; }
.hdr-hero .mh-league { font-size: 10px; padding: 2px 8px; }
.hdr-hero .mh-code { font-size: 10px; padding: 2px 7px; }
.hdr-hero .mh-time { font-size: 10px; }
.hdr-hero .mh-teams {
  margin: 7px 0 3px;
  gap: 6px;
  justify-content: space-between;
}
.hdr-hero .mh-side { flex-direction: row; gap: 7px; justify-content: center; }
.hdr-hero .mh-side:last-child { flex-direction: row-reverse; }
.hdr-hero .mh-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.hdr-hero .mh-logo,
.hdr-hero .mh-logo .tlogo,
.hdr-hero .mh-logo .tlogo-img { width: 30px; height: 30px; }
.hdr-hero .mh-logo .tlogo { font-size: 13px; border-radius: 9px; }
.hdr-hero .mh-name {
  font-size: var(--fs-sm);
  font-weight: 800;
  text-align: left;
}
.hdr-hero .mh-side:last-child .mh-name { text-align: right; }
.hdr-hero .mh-mid { min-width: 40px; }
.hdr-hero .mh-vs { font-size: var(--fs-base); }
.hdr-hero .mh-score { font-size: 20px; }
.hdr-hero .mh-half { font-size: 10px; }
.hdr-hero .mh-meta {
  margin-top: 5px;
  padding-top: 5px;
  font-size: 10px;
  gap: 3px 10px;
}
@media (min-width: 768px) {
  .app-header.hdr-detail .h-left { max-width: none; margin: 0; }
  .hdr-hero .mh-name { font-size: var(--fs-md); }
  .hdr-hero .mh-logo,
  .hdr-hero .mh-logo .tlogo,
  .hdr-hero .mh-logo .tlogo-img { width: 34px; height: 34px; }
}
@media (max-width: 360px) {
  .hdr-hero .mh-name { font-size: var(--fs-xs); }
  .hdr-hero { padding: 7px 9px 6px 42px; }
  .app-header.hdr-detail .h-back { left: 10px; }
}

/* ===== Hero 队徽去底框：直接显示原始 logo（无阴影/无圆角/无底）；仅无图兜底保留蓝底 ===== */
.mh-logo .tlogo {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.mh-logo .tlogo-img { border-radius: 0; }
.mh-logo .tlogo:not(.has-img) {
  background: var(--brand) !important;
  border-radius: 10px !important;
}
.mh-logo .tlogo-fb {
  background: var(--brand);
  border-radius: 10px;
}

/* ===== 底部导航 SVG 图标 ===== */
.ni {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ni svg {
  width: 21px;
  height: 21px;
  display: block;
}

/* ===== PC 端速览卡两列（≥1100px 利用宽度） ===== */
@media (min-width: 1100px) {
  .zone-fnav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .zone-fnav .fnav-card { margin-bottom: 0; }
}

/* ===== 复盘经验库：折叠与规则状态徽章 ===== */
.ri-collapse {
  margin: 0 2px var(--sp-3);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.ri-collapse > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.ri-collapse > summary::-webkit-details-marker { display: none; }
.ri-collapse > summary::after {
  content: '▸';
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  transition: transform .18s ease;
}
.ri-collapse[open] > summary::after { transform: rotate(90deg); }
.ri-collapse > summary:active { background: var(--bg-soft); }
.ri-collapse-all > summary { color: var(--muted); font-weight: 600; }
.ri-collapse .ri-panel { margin: 0; border-top: 1px dashed var(--line); }
.ri-collapse .ri-panel .ri-item:first-child { border-top: none; }

.ri-st {
  font-size: 10px;
  font-weight: 700;
  color: #b45309;
  background: rgba(217,119,6,.12);
  border-radius: 6px;
  padding: 1px 6px;
  white-space: nowrap;
}

/* ===== 分联赛四维命中统计（条形图） ===== */
/* 口径切换（2026-11-11 用户要求：默认展示全部归档比赛的结论） */
.lg-scope { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 0 2px 8px; }
.lg-scope .lgs { font: inherit; font-size: 12px; font-weight: 700; color: #4b5563;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 999px; padding: 5px 14px;
  cursor: pointer; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.lg-scope .lgs.on { background: #1e3a8a; border-color: #1e3a8a; color: #fff; }
.lg-scope .lgs-tip { font-size: 11.5px; color: #9ca3af; }
@media (max-width: 640px) {
  .lg-scope { gap: 6px; }
  .lg-scope .lgs { font-size: 11.5px; padding: 4px 11px; }
  .lg-scope .lgs-tip { display: none; }
}
.lg-chart {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin: 0 2px var(--sp-3);
  padding: 12px 14px 6px;
}
.lg-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.lg-leg {
  font-size: 11px;
  font-weight: 600;
  color: var(--sub);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.lg-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg-dot.d-wd { background: #2563eb; }
.lg-dot.d-sc { background: #d97706; }
.lg-dot.d-sb { background: #059669; }
.lg-dot.d-gl { background: #7c3aed; }

/* 手机端（默认）：联赛名一行 + 4 条纵向堆叠 */
.lgb-card { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.lgb-card:last-child { border-bottom: none; }
.lgb-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 5px;
}
.lgb-name { font-size: 13px; font-weight: 800; color: var(--text); }
.lgb-n { font-size: 11px; font-weight: 500; color: var(--muted); }
.lgb-bars { display: grid; grid-template-columns: 1fr; gap: 4px; }
.lgb-row { display: flex; align-items: center; gap: 7px; }
.lgb-row.empty { opacity: .4; }
.lgb-label { flex: 0 0 44px; font-size: 11px; color: var(--sub); }
.lgb-track {
  flex: 1;
  height: 9px;
  background: var(--bg-soft);
  border-radius: 99px;
  overflow: hidden;
}
.lgb-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  min-width: 2px;
  transition: width .4s ease;
}
.lgb-fill.d-wd { background: linear-gradient(90deg, #60a5fa, #2563eb); }
.lgb-fill.d-sc { background: linear-gradient(90deg, #fbbf24, #d97706); }
.lgb-fill.d-sb { background: linear-gradient(90deg, #34d399, #059669); }
.lgb-fill.d-gl { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.lgb-val {
  flex: 0 0 auto;
  min-width: 58px;
  text-align: right;
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.lgb-val i {
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  color: var(--muted);
  margin-left: 3px;
}
.lg-more { margin: 8px 0 4px; }
.lg-more .lg-chart-inner { padding: 4px 12px; }

/* 四维四图：手机纵向堆叠，PC 2×2 网格 */
.lg-svg { width: 100%; height: auto; display: block; }
.lg-quad { display: grid; grid-template-columns: 1fr; gap: 12px; }
.lg-quad-cell {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 10px 4px;
}
.lg-quad-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.lg-quad-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  margin-left: auto;
}
.lg-quad-empty { font-size: 12px; color: var(--muted); padding: 20px 0; text-align: center; }

@media (min-width: 1100px) {
  .lg-chart { padding: 14px 18px 10px; }
  .lg-quad { grid-template-columns: 1fr 1fr; gap: 14px; }
  .lg-more .lg-chart-inner .lgb-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 9px 0;
  }
  .lg-more .lg-chart-inner .lgb-head {
    flex: 0 0 120px;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    margin-bottom: 0;
  }
  .lg-more .lg-chart-inner .lgb-bars { flex: 1; grid-template-columns: 1fr 1fr; gap: 5px 22px; }
}

/* ===== 分联赛统计：小样本表格 ===== */
.lg-table-title {
  margin: 12px 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sub);
}
.lg-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  min-width: 420px;
}
.lg-table th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 5px 8px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.lg-table td {
  padding: 5px 8px;
  border-bottom: 1px dashed var(--line);
  white-space: nowrap;
}
.lg-table tbody tr:last-child td { border-bottom: none; }
.lg-t-name { font-weight: 700; color: var(--text); }
.lg-t-n { color: var(--muted); font-variant-numeric: tabular-nums; }
.lg-tc {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 1px 7px;
  border-radius: 99px;
  font-size: 11px;
}
.lg-tc i { font-style: normal; font-weight: 500; font-size: 9.5px; opacity: .7; margin-left: 2px; }
.lg-tc.ok  { background: rgba(4,120,87,.12);  color: #047857; }
.lg-tc.mid { background: rgba(217,119,6,.12); color: #b45309; }
.lg-tc.low { background: rgba(220,38,38,.12); color: #b91c1c; }
.lg-tc.na  { color: var(--muted); background: none; }

/* ===== 复盘：预期进球 vs 实际赛果（2026-10-13） =====
   设计口径：宽表 → 条形 + 小格子；手机端不使用横向滚动（项目铁律）。
   偏差条以中点为 0：向右 = 模型低估（实际进球更多），向左 = 模型高估。 */
.rx-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 14px 14px;
  margin: 0 0 16px;
  box-shadow: var(--shadow-sm);
}
.rx-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 11px;
}
.rx-kpi {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 9px 6px;
  text-align: center;
  min-width: 0;
}
.rx-kv {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.rx-kv small { font-size: 10px; font-weight: 600; color: var(--muted); margin-left: 1px; }
.rx-kv.good { color: #047857; }
.rx-kv.mid  { color: #b45309; }
.rx-kv.bad  { color: #dc2626; }
.rx-kk { font-size: 10.5px; color: var(--muted); margin-top: 3px; line-height: 1.35; }

.rx-sum {
  font-size: 11.5px;
  color: var(--sub);
  line-height: 1.75;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 9px 11px;
  margin-bottom: 11px;
  word-break: break-word;
}
.rx-pos { color: #dc2626; }
.rx-neg { color: #047857; }

.rx-grid { display: flex; flex-direction: column; gap: 11px; }
.rx-group {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.rx-gh {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--sub);
  background: var(--bg-soft);
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
}
.rx-row {
  display: grid;
  grid-template-columns: 78px 44px 62px 1fr 40px 62px;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 11px;
  border-bottom: 1px solid var(--line);
}
.rx-row:last-child { border-bottom: 0; }
.rx-k { font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-n { color: var(--muted); font-variant-numeric: tabular-nums; }
.rx-mae { color: var(--sub); font-variant-numeric: tabular-nums; }
.rx-bv { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.rx-bv.pos { color: #dc2626; }
.rx-bv.neg { color: #047857; }
.rx-dir { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.rx-dir.good { color: #047857; }
.rx-dir.mid  { color: #b45309; }
.rx-dir.bad  { color: #dc2626; }

/* 偏差条：中点 = 0 */
.rx-bias {
  position: relative;
  display: block;
  height: 8px;
  background: var(--bg-soft);
  border-radius: 4px;
  overflow: hidden;
}
.rx-bias .rx-zero {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}
.rx-bias .rx-fill {
  position: absolute;
  top: 1px;
  bottom: 1px;
  border-radius: 3px;
}
.rx-bias .rx-fill.pos { background: #dc2626; }
.rx-bias .rx-fill.neg { background: #047857; }

.rx-collapse {
  margin-top: 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.rx-collapse > summary {
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--sub);
  background: var(--bg-soft);
  padding: 7px 10px;
  list-style: none;
}
.rx-collapse > summary::-webkit-details-marker { display: none; }
.rx-collapse > summary::before { content: "▸ "; }
.rx-collapse[open] > summary::before { content: "▾ "; }

.rx-cases { margin-top: 12px; }
.rx-ch {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin: 9px 0 5px;
}
.rx-case {
  display: grid;
  grid-template-columns: 62px 62px 1fr auto auto;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  font-size: 11px;
  background: var(--bg-soft);
  border-radius: 6px;
  margin-bottom: 4px;
  cursor: pointer;
}
.rx-case:active { background: var(--card-hi); }
.rx-ct { color: var(--muted); font-variant-numeric: tabular-nums; }
.rx-cl { color: var(--brand); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-cm { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-cw { color: var(--sub); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rx-cd { font-weight: 700; white-space: nowrap; }
.rx-cd.pos { color: #dc2626; }
.rx-cd.neg { color: #047857; }

/* ── 手机端：KPI 2×2、分档行折成两段（标签行 + 数值行），彻底不横向滚动 ── */
@media (max-width: 640px) {
  .rx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rx-panel { padding: 11px 10px; }
  .rx-row {
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "k   n    dir"
      "mae bias bias"
      "bv  bias bias";
    row-gap: 4px;
    align-items: center;
  }
  .rx-row .rx-k   { grid-area: k; }
  .rx-row .rx-n   { grid-area: n; }
  .rx-row .rx-dir { grid-area: dir; }
  .rx-row .rx-mae { grid-area: mae; }
  .rx-row .rx-bv  { grid-area: bv; text-align: left; }
  .rx-row .rx-bias{ grid-area: bias; }
  .rx-case {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "ct  cd"
      "cm  cw";
    row-gap: 3px;
  }
  .rx-case .rx-ct { grid-area: ct; }
  .rx-case .rx-cd { grid-area: cd; }
  .rx-case .rx-cm { grid-area: cm; }
  .rx-case .rx-cw { grid-area: cw; text-align: right; }
  .rx-case .rx-cl { display: none; }
}
@media (max-width: 360px) {
  .rx-kv { font-size: 15px; }
  .rx-row { font-size: 10.5px; }
}

/* ═══════════════════ 机器模拟（入口卡 + 二级页） 2026-10-19 ═══════════════════ */
.sim-entry{margin:12px 0 2px;border:1px solid #dbeafe;background:linear-gradient(180deg,#f5f9ff,#ffffff);
  border-radius:12px;padding:10px 12px;cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:box-shadow .18s ease,transform .18s ease}
.sim-entry:active{transform:scale(.994);box-shadow:0 2px 10px rgba(37,99,235,.14)}
.se-hd{display:flex;align-items:center;gap:7px;font-size:13.5px;color:#1e3a8a;flex-wrap:wrap}
.se-ico{font-size:15px}
.se-badge{font-size:10.5px;font-weight:700;color:#1d4ed8;background:#e0ecff;border-radius:9px;padding:1px 7px}
.se-tag{font-size:10.5px;font-weight:700;color:#047857;background:#d1fae5;border-radius:9px;padding:1px 7px}
.se-go{margin-left:auto;font-size:11.5px;color:#2563eb;font-weight:600}
.se-body{margin-top:7px}
.se-trio{display:flex;gap:0}
.se-trio span{flex:1;text-align:center}
.se-trio b{display:block;font-size:16px;font-variant-numeric:tabular-nums;line-height:1.25}
.se-trio i{font-size:10.5px;color:#6b7280;font-style:normal}
.se-meta{margin-top:5px;font-size:11px;color:#6b7280;text-align:center}
/* 竞彩方向色：胜红 / 平琥珀 / 负绿（2026-11-12 与 JS DIR_HEX 对齐，#059669 → #047857） */
.c-w{color:#dc2626}.c-d{color:#b45309}.c-l{color:#047857}

.sim-page{padding-bottom:10px}
.smp-top{background:linear-gradient(135deg,#1e3a8a,#2563eb);border-radius:12px;padding:13px 14px;color:#fff;margin-bottom:10px}
.smp-hd{display:flex;align-items:center;gap:7px;font-size:14.5px;flex-wrap:wrap}
.smp-n,.smp-free{font-size:10.5px;font-weight:700;border-radius:9px;padding:1px 7px;background:rgba(255,255,255,.2)}
.smp-free{background:#065f46}
.smp-sub{font-size:11.5px;color:#dbeafe;margin-top:3px}
.smp-trio{display:flex;background:#fff;border-radius:12px;padding:12px 4px;margin-bottom:8px;
  box-shadow:0 1px 3px rgba(16,24,40,.06)}
.smp-trio>div{flex:1;text-align:center}
.smp-trio b{display:block;font-size:21px;font-variant-numeric:tabular-nums;line-height:1.15}
.smp-trio b i{font-size:11px;font-style:normal}
.smp-trio span{font-size:10.5px;color:#6b7280}
.smp-note{font-size:11px;color:#6b7280;line-height:1.6;margin:0 2px 10px}
.smp-grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:10px}
.smp-kv{background:#fff;border:1px solid #eef0f3;border-radius:10px;padding:8px 6px;text-align:center}
.smp-kv i{display:block;font-size:10px;color:#6b7280;font-style:normal;margin-bottom:2px}
.smp-kv b{font-size:13.5px;color:var(--text);font-variant-numeric:tabular-nums}
.smp-sec{background:#fff;border-radius:12px;padding:12px 12px 10px;margin-bottom:10px;
  box-shadow:0 1px 3px rgba(16,24,40,.05)}
.smp-st{font-size:13px;font-weight:700;color:var(--text);padding-left:8px;border-left:3px solid #2563eb;
  margin-bottom:9px;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.smp-sd{font-size:10.5px;font-weight:400;color:#9ca3af}
.smp-tw{overflow-x:auto;-webkit-overflow-scrolling:touch}
table.smp-t{width:100%;min-width:380px;border-collapse:collapse;font-size:11.5px}
table.smp-t td{word-break:break-word}
table.smp-t th{background:#f8fafc;color:#6b7280;font-weight:600;font-size:10.5px;padding:6px 4px;
  border-bottom:1px solid #eef0f3;text-align:center}
table.smp-t td{padding:6px 4px;text-align:center;border-bottom:1px solid #f5f6f8;color:#374151}
table.smp-t td.l,table.smp-t th.l{text-align:left}
.smp-td-sub{color:#6b7280;font-size:10.5px}
.smp-sc{background:#eef2ff;color:#3730a3;border-radius:5px;padding:1px 6px;font-variant-numeric:tabular-nums}
table.smp-t7{min-width:0}
table.smp-t7 td{padding:7px 2px;border:1px solid #f1f2f4}
table.smp-t7 td b{display:block;font-size:12px}
table.smp-t7 td i{display:block;font-size:9.5px;color:#9ca3af;font-style:normal;margin-top:1px}
table.smp-t7 td.hi1{background:#dbeafe}
table.smp-t7 td.hi1 b{color:#1e40af}
table.smp-t7 td.hi2{background:#eff6ff}
table.smp-t7 td.hi2 b{color:#1d4ed8}
.smp-typ{display:flex;align-items:center;gap:12px;background:#f0f7ff;border:1px solid #dbeafe;
  border-radius:10px;padding:9px 12px;margin-bottom:8px;flex-wrap:wrap}
.tp-score{font-size:24px;color:#1e40af;font-variant-numeric:tabular-nums}
.tp-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:10.5px;color:#475569}
.smp-timeline{list-style:none;margin:0;padding:0}
.smp-timeline li{display:flex;align-items:baseline;gap:6px;font-size:12px;padding:5px 4px;
  border-bottom:1px solid #f5f6f8;flex-wrap:wrap}
.smp-timeline li b{font-variant-numeric:tabular-nums;color:#374151;min-width:34px}
.smp-timeline li em{font-style:normal;font-size:10px;font-weight:700;color:#fff;border-radius:3px;padding:0 4px}
.smp-timeline li em.sd-h{background:#dc2626}
.smp-timeline li em.sd-a{background:#2563eb}
.smp-timeline li i{font-style:normal;color:#6b7280;font-size:11px;margin-left:auto}
.smp-timeline li.ev-g{background:rgba(37,99,235,.04)}
.smp-timeline li.ev-r{background:#fef2f2}
.smp-empty,.smp-empty2{padding:16px;text-align:center;color:#9ca3af;font-size:12px}
.smp-avwrap{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.smp-avbox{background:#fafbfc;border:1px solid #eef0f3;border-radius:9px;padding:8px 9px}
.smp-avhd{font-size:11.5px;font-weight:700;color:#374151;margin-bottom:5px}
.smp-avrow{display:flex;gap:6px;font-size:11px;color:#374151;padding:2px 0;align-items:flex-start;flex-wrap:wrap}
.smp-avtag{flex:0 0 auto;font-size:10px;font-weight:700;border-radius:8px;padding:0 6px}
.smp-avtag.out{background:#fee2e2;color:#991b1b}
.smp-avtag.dt{background:#fef3c7;color:#92400e}
.smp-avtag.un{background:#eef0f3;color:#6b7280}
/* 带伤限时（2026-11-10）：橙色暖调 —— 介乎「缺阵(红)」与「正常」之间，一眼看出是能出场但要打折 */
.smp-avtag.lm{background:#ffedd5;color:#b45309}
.smp-pills{list-style:none;margin:0;padding:0}
.smp-pills li{display:flex;justify-content:space-between;font-size:11.5px;padding:3px 0;border-bottom:1px dashed #eef0f3}
.smp-ok{color:#059669;font-weight:700;font-size:11px}
.smp-no{color:#dc2626;font-weight:700;font-size:11px}
.smp-na{color:#9ca3af;font-size:11px}
/* 注意：不要用裸 .up/.dn（与既有 hc-badge up/dn 冲突） */
.smp-up{color:#dc2626}.smp-dn{color:#059669}

/* ═══ 2026-10-20 进球数选择建议（大小球结论下方一行）═══
 * 结构：标题 + 单选/两选/三选（各带概率）+ 取整方向徽章 + 理由 + 口径说明
 * 用 flex-wrap 自适应：PC 一行铺开、手机自然换行，禁 overflow-x。 */
.gp-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;
  background:#f8fbff;border:1px solid #dbeafe;border-radius:9px;padding:8px 10px;line-height:1.5}
.gp-t{font-size:11.5px;font-weight:700;color:#1e40af;flex:0 0 auto}
.gp-i{font-size:12px;color:#374151;flex:0 0 auto;display:inline-flex;align-items:baseline;gap:3px}
.gp-i>b{font-size:14px;color:#0f172a;font-variant-numeric:tabular-nums;letter-spacing:.2px}
.gp-i>em{font-style:normal;font-size:11px;font-weight:700;color:#2563eb;font-variant-numeric:tabular-nums}
.gp-d{font-size:11.5px;font-weight:800;flex:0 0 auto;background:#fff;border:1px solid currentColor;
  border-radius:8px;padding:1px 7px;line-height:16px}
.gp-w{flex:1 1 100%;font-size:11px;color:#6b7280;line-height:1.55}
.gp-s{flex:1 1 100%;font-size:11px;color:#92400e;background:#fffbeb;border-radius:6px;padding:3px 7px;line-height:1.55}
.gp-n{flex:1 1 100%;font-size:10px;color:#9ca3af;line-height:1.5}
@media (min-width:1100px){
  .gp-line{padding:9px 14px;gap:6px 14px}
  .gp-i{font-size:12.5px}
  .gp-i>b{font-size:15px}
  .gp-w,.gp-s,.gp-n{flex:0 1 auto}
  .gp-w{flex:1 1 100%}
  .gp-s{flex:1 1 100%}
  .gp-n{flex:1 1 100%;font-size:10.5px}
}
@media (max-width:400px){
  .gp-line{padding:7px 8px;gap:5px 8px}
  .gp-i{font-size:11.5px}
  .gp-i>b{font-size:13px}
}

/* ═══ 2026-10-28 正式首发行（已公布 XI+替补；未公布走常规首发+轮换）═══
 * 🔴 该行放在 .content.detail-view（grid）里，长串球员名会把列的 min-content 撑开
 *    🔴 2026-10-28 实测：作为 grid 裸子元素时，11 人名单的 min-content 会把整列撑宽。
 *    正解＝包一层 .board（与其他板块同构），不要用 width/overflow 硬压。 */
.lu-board{margin-bottom:14px;grid-column:1 / -1}
.lu-body{display:flex;flex-wrap:wrap;gap:8px 18px;min-width:0}
.lu-side{flex:1 1 240px;min-width:0;overflow-wrap:anywhere;word-break:break-word}
.lu-side>b{font-size:11.5px;color:#0f172a;margin-right:6px}
.lu-fm{font-size:11px;font-weight:700;color:#185fa5;background:#e6f1fb;border-radius:5px;padding:0 5px;margin-right:5px}
.lu-n{font-size:11px;color:#64748b}
.lu-none{font-size:11px;color:#9ca3af}
.lu-list{font-size:11.5px;color:#334155;line-height:1.55;margin-top:2px;overflow-wrap:anywhere;word-break:break-word}
.lu-k{font-style:normal;font-size:10px;font-weight:700;color:#187048;background:#e8f5ee;border-radius:4px;padding:0 4px;margin-right:5px;white-space:nowrap}
.lu-sb .lu-k{color:#7e6a55;background:#f4efe8}
.lu-sb{margin-top:4px;padding-top:4px;border-top:1px dashed #e5e7eb}
.smp-bn{margin-top:5px;padding-top:5px;border-top:1px dashed #e5e7eb}
.lu-adj{font-size:11px;font-weight:700;color:#a83c03;background:#fdeee3;border-radius:6px;padding:3px 7px;margin-top:8px;display:inline-block}
.lu-w{font-size:10px;color:#9ca3af;line-height:1.5;margin-top:8px}
@media (max-width:400px){
  .lu-side{flex:1 1 100%;min-width:0}
}

/* ═══ 2026-10-28 投注期望值（EV）行：进球数建议下方 ═══
 * 结构：标题 + 对应项/赔率 + 模型vs公平 + 净边际 + EV 徽章 + 口径说明
 * 与 .gp-line 同构（flex-wrap 自适应，禁 overflow-x），主题色改米橙系。 */
.ev-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;
  width:100%;max-width:100%;box-sizing:border-box;
  background:#fdfaf5;border:1px solid #ecdfcb;border-radius:9px;padding:8px 10px;line-height:1.5}
.ev-t{font-size:11.5px;font-weight:700;color:#8a4b12;flex:0 0 auto}
.ev-i{font-size:12px;color:#3f3a33;flex:0 1 auto;min-width:0;display:inline-flex;align-items:baseline;gap:3px;
  overflow-wrap:anywhere;word-break:break-word}
.ev-i>b{font-size:13.5px;color:#231d16;font-variant-numeric:tabular-nums;letter-spacing:.2px}
.ev-b{font-size:11.5px;font-weight:700;flex:0 1 auto;min-width:0;border-radius:8px;padding:1px 8px;line-height:17px;
  white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.ev-b>b{font-size:12.5px;font-variant-numeric:tabular-nums}
.ev-w{flex:1 1 100%;min-width:0;font-size:10px;color:#9a8f80;line-height:1.55;
  overflow-wrap:anywhere;word-break:break-word}
.ev-w b{color:#6f5b45}
.ev-tier{font-size:11.5px;font-weight:700;flex:0 1 auto;min-width:0;border-radius:8px;padding:1px 8px;line-height:17px;
  white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.ev-why{font-size:11px;color:#7e6a55;flex:0 1 auto;min-width:0;
  overflow-wrap:anywhere;word-break:break-word}
/* 🔴 2026-11-05 小屏溢出 194/224px 修：新增「按70%返奖」span 后内容变长，
   flex:0 0 auto 的 .ev-i 不换行 → 撑破 .ev-line。统一改 0 1 auto + min-width:0 + 可断行。 */
@media (max-width:640px){
  .ev-line{padding:7px 8px;gap:5px 8px}
  .ev-i,.ev-b,.ev-tier{flex:1 1 100%;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:3px}
  .ev-why{flex:1 1 100%;min-width:0}
  .ev-t{flex:0 0 auto}
}
@media (min-width:1100px){
  .ev-line{padding:9px 14px;gap:6px 14px}
  .ev-i{font-size:12.5px}
  .ev-w{font-size:10.5px}
}
@media (max-width:400px){
  .ev-line{padding:7px 8px;gap:5px 8px}
  .ev-i{font-size:11.5px}
  .ev-i>b{font-size:13px}
}

/* ═══ 2026-11-04 平赔信号行（draw_signal）═══
 * 位置：投注期望值（.ev-line）下方。
 * 内容：胜负反向调判定 + 平赔静/动形态 + 该格子历史超额 + CI + 免责说明。
 * 口径：7095 场回测「平赔不动＝真防平」不成立（详见 tools/draw_signal.py 头部），
 *      所以整行用**中性灰蓝**，不用橙/绿等「结论色」，避免被误读成方向建议。
 * 与 .ev-line / .gp-line 同构（flex-wrap，禁 overflow-x）。 */
.ds-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;width:100%;max-width:100%;box-sizing:border-box;
  background:#f7f8fa;border:1px solid #dfe3e9;border-radius:9px;padding:8px 10px;line-height:1.5}
.ds-t{font-size:11.5px;font-weight:700;color:#41526b;flex:0 0 auto}
.ds-i{font-size:12px;color:#3f3a33;flex:0 1 auto;min-width:0;display:inline-flex;align-items:baseline;gap:3px;
  overflow-wrap:anywhere;word-break:break-word}
.ds-i>b{font-size:13px;color:#231d16;font-variant-numeric:tabular-nums;letter-spacing:.2px}
.ds-b{font-size:11.5px;font-weight:700;flex:0 1 auto;min-width:0;border-radius:8px;padding:1px 8px;line-height:17px;
  white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.ds-b>b{font-size:12.5px;font-variant-numeric:tabular-nums}
.ds-w{flex:1 1 100%;min-width:0;font-size:10px;color:#8b939f;line-height:1.55;
  overflow-wrap:anywhere;word-break:break-word}
.ds-w b{color:#5b6472}
@media (min-width:1100px){
  .ds-line{padding:9px 14px;gap:6px 14px}
  .ds-i{font-size:12.5px}
  .ds-w{font-size:10.5px}
}
@media (max-width:640px){
  /* 🔴 2026-11-04：`.ds-i`/`.ds-b` 是 inline-flex，最小宽度按内容算，
   * 移动端「平赔：几乎不动（Δ+0.00）· 震荡回原位（仅 22% 零变化…）」这种长串
   * 会把容器撑到 394~445px（view 390/360 实测溢出 89/119px）。
   * 小屏一律改成块级独占一行 + 允许任意断行。 */
  .ds-i,.ds-b{display:block;flex:1 1 100%;width:100%;max-width:100%;box-sizing:border-box}
  .ds-b{padding:2px 8px}
}
@media (max-width:400px){
  .ds-line{padding:7px 8px;gap:5px 8px}
  .ds-i{font-size:11.5px}
  .ds-i>b{font-size:12.5px}
}

/* ═══ 2026-10-20 模拟页：收起 / 返回（用户反馈「找不到收起按钮」）═══
 * 三层入口：顶部条（进入即见）/ 底部条（读完一键回）/ 右下悬浮按钮（滚动时常驻）
 * 注意：header 左上那个 26px 的 ‹ 太隐蔽，且很多人不知道它是收起，故页面内再给显式按钮。 */
.smp-back{display:flex;align-items:center;gap:9px;margin:0 0 9px;flex-wrap:wrap}
.smp-backb{border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:9px;
  padding:7px 14px;font-size:12.5px;font-weight:700;cursor:pointer;line-height:1.2;
  box-shadow:0 1px 2px rgba(16,24,40,.05);-webkit-tap-highlight-color:transparent}
.smp-backb:hover{background:#f8fafc;border-color:#94a3b8}
.smp-backb:active{transform:scale(.97)}
.smp-backt{font-size:11.5px;color:#94a3b8}
.smp-back-foot{justify-content:center;margin:2px 0 26px}
.smp-back-foot .smp-backb{padding:9px 22px;font-size:13px}
/* 右下悬浮「收起」：底部导航常驻，故抬高 76px 避让 */
.smp-fab{position:fixed;right:14px;bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:46;
  width:44px;height:44px;border-radius:50%;border:1px solid #cbd5e1;background:rgba(255,255,255,.96);
  color:#334155;font-size:11.5px;font-weight:700;line-height:1.15;cursor:pointer;
  box-shadow:0 4px 14px rgba(16,24,40,.16);backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);-webkit-tap-highlight-color:transparent}
.smp-fab:active{transform:scale(.94)}
@media (min-width:1100px){
  .smp-fab{width:52px;height:52px;font-size:12px;bottom:28px;right:26px}
  .smp-back{margin-bottom:12px}
}

/* ═══ 2026-10-20 模拟页改版：比分卡（Top5）/ 上限与大比分 / 中线时间轴 ═══ */
/* ① 比分卡：一行一场，概率条 + 半场分布 + 7 段时段热条 + 高发事项 */
.smp-scores{display:flex;flex-direction:column;gap:7px}
.smp-score{background:#fbfcfe;border:1px solid #eef1f6;border-radius:10px;padding:8px 10px 7px}
.smp-score.top{background:linear-gradient(180deg,#f2f7ff,#fbfcfe);border-color:#cfe0fb}
.ss-hd{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ss-r{flex:0 0 auto;width:19px;height:19px;line-height:19px;text-align:center;border-radius:50%;
  background:#94a3b8;color:#fff;font-size:11px;font-weight:700}
.smp-score.top .ss-r{background:#2563eb}
.ss-v{font-size:19px;font-variant-numeric:tabular-nums;color:#1e293b;letter-spacing:.5px}
.ss-p{font-size:14px;font-weight:800;color:#2563eb;font-variant-numeric:tabular-nums}
.ss-m{font-size:10.5px;color:#94a3b8}
.ss-bar{flex:1 1 90px;min-width:70px;height:6px;background:#eef2f7;border-radius:4px;overflow:hidden}
.ss-bar>i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#60a5fa,#2563eb)}
.ss-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px;font-size:11px;color:#475569}
.ss-meta>span>i{font-style:normal;color:#94a3b8;margin-left:2px}
.ss-k{flex:0 0 auto;font-size:10px;color:#94a3b8;background:#f1f5f9;border-radius:4px;padding:0 5px;line-height:16px}
.ss-fg{margin-left:auto;font-size:10.5px;color:#64748b}
.ss-bkrow{display:flex;align-items:center;gap:8px;margin-top:6px;flex-wrap:wrap}
.ss-bks{display:flex;gap:3px}
.smp-bk{width:16px;height:9px;border-radius:2px;background:#eef2f7;display:inline-block}
.smp-bk.l1{background:#dbeafe}
.smp-bk.l2{background:#93c5fd}
.smp-bk.l3{background:#2563eb}
.smp-ty{font-size:10px;color:#64748b;background:#f8fafc;border:1px solid #eef1f6;border-radius:4px;padding:0 5px;line-height:15px}
.ss-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}
.smp-tag{font-size:10.5px;color:#1e40af;background:#eff6ff;border:1px solid #dbeafe;border-radius:10px;padding:0 7px;line-height:17px}
.smp-tag>i{font-style:normal;color:#60a5fa;margin-left:3px}

/* ② 上限与大比分 */
.smp-ext{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:8px}
.smp-ex{background:#fbfcfe;border:1px solid #eef1f6;border-radius:9px;padding:7px 8px}
.smp-ex>i{display:block;font-style:normal;font-size:10px;color:#94a3b8}
.smp-ex>b{display:block;font-size:15px;color:#1e293b;font-variant-numeric:tabular-nums;line-height:1.3}
.smp-ex>span{display:block;font-size:9.5px;color:#9ca3af;margin-top:1px}
.smp-biglist{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:2px 0 9px}
.smp-biglb{font-size:10.5px;color:#64748b;background:#f1f5f9;border-radius:4px;padding:0 6px;line-height:18px}
.smp-big{font-size:11.5px;font-weight:700;color:#7c2d12;background:#fff7ed;border:1px solid #fed7aa;
  border-radius:6px;padding:1px 7px;font-variant-numeric:tabular-nums}
.smp-big>i{font-style:normal;font-weight:400;color:#b45309;margin-left:4px;font-size:10.5px}
table.smp-gd{margin-top:2px}
table.smp-gd td.smp-gd-nm{font-size:11px;color:#374151;max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
table.smp-gd td.smp-gd-nm.h{color:#b91c1c}
table.smp-gd td.smp-gd-nm.a{color:#1d4ed8}

/* ④ 典型比赛：三方对照 + 中线时间轴（主左客右） */
.smp-typ{display:flex;align-items:center;gap:14px;background:linear-gradient(180deg,#f2f7ff,#ffffff);
  border:1px solid #dbeafe;border-radius:10px;padding:9px 12px;margin-bottom:8px;flex-wrap:wrap}
.tp-main{display:flex;align-items:baseline;gap:8px}
.tp-score{font-size:26px;color:#1e40af;font-variant-numeric:tabular-nums;letter-spacing:1px}
.tp-share{font-size:11px;color:#2563eb;background:#e0ecff;border-radius:9px;padding:1px 7px;font-weight:700}
.tp-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:10.5px;color:#475569}
.smp-cmp{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:7px}
.smp-cmp>div{background:#f8fafc;border:1px solid #eef1f6;border-radius:8px;padding:5px 8px;text-align:center}
.smp-cmp i{display:block;font-style:normal;font-size:10px;color:#94a3b8}
.smp-cmp b{font-size:15px;color:#334155;font-variant-numeric:tabular-nums}
.smp-tl-hd{display:grid;grid-template-columns:1fr 54px 1fr;font-size:10px;color:#94a3b8;
  padding:0 2px 4px;border-bottom:1px solid #eef1f6;margin-bottom:4px}
.smp-tl-hd>span:nth-child(1){text-align:right}
.smp-tl-hd>span:nth-child(2){text-align:center}
.smp-tl-hd>span:nth-child(3){text-align:left}
.smp-tl2{display:block;column-count:1!important}
.smp-tl2 li{display:grid!important;grid-template-columns:1fr 54px 1fr;align-items:center;
  gap:0;padding:3px 0!important;border-bottom:1px dashed #f1f4f9!important;background:none!important}
.smp-tl2 li::after{content:'';display:none}
.tl-side{display:flex;align-items:center;gap:4px;font-size:11.5px;color:#374151;min-height:20px;flex-wrap:wrap}
.tl-h{justify-content:flex-end;text-align:right}
.tl-a{justify-content:flex-start}
.tl-min{text-align:center;font-size:10.5px;font-variant-numeric:tabular-nums;color:#64748b;
  background:#f1f5f9;border-radius:9px;padding:1px 0;line-height:16px}
.smp-tl2 li.ev-g .tl-min{background:#dbeafe;color:#1e40af;font-weight:700}
.smp-tl2 li.ev-r .tl-min{background:#fee2e2;color:#b91c1c;font-weight:700}
.tl-ico{font-size:11px}
.tl-lab{font-weight:600}
.smp-tl2 li.ev-g .tl-lab{color:#1d4ed8}
.tl-pl{color:#64748b;font-size:10.5px}
.tl-sc{font-size:10px;font-weight:800;color:#1e293b;background:#eef2ff;border-radius:4px;padding:0 5px;
  font-variant-numeric:tabular-nums}
/* ⑩ 赛前模拟 vs 实际 */
.smp-actual{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:9px}
.smp-actual>div{background:#fbfcfe;border:1px solid #eef1f6;border-radius:9px;padding:7px 8px;text-align:center}
.smp-actual i{display:block;font-style:normal;font-size:10px;color:#94a3b8}
.smp-actual b{display:block;font-size:16px;color:#1e293b;font-variant-numeric:tabular-nums}
.smp-actual span{display:block;font-size:9.5px;color:#9ca3af}
/* 伤停段内的「模拟首发」名单 */
.smp-xi{margin-top:6px;padding-top:5px;border-top:1px dashed #eef1f6;display:flex;flex-wrap:wrap;gap:4px}
.smp-xi>b{flex:0 0 100%;font-size:10px;color:#94a3b8;font-weight:600}
.smp-xi>span{font-size:10.5px;color:#334155;background:#f1f5f9;border-radius:5px;padding:0 5px;line-height:17px}
/* 回溯页模拟入口的「未中」徽章 */
.se-tag.se-miss{background:#fee2e2;color:#991b1b}
/* ── PC 端适配（2026-10-19）：详情页是两列 grid，模拟页需跨满两列，
      再在内部拆两列，保证每张卡与页面其它板块等宽（约 653px），视觉统一 ── */
@media (min-width: 1100px) {
  /* 详情页容器是两列 grid，这里必须跨满，否则只占左半栏（右侧大片空白） */
  #content.detail-view .sim-page {
    grid-column: 1 / -1;
    display: block;
  }
  /* 顶部条：左右两栏排布（左=标题+赛果，右=模型对照说明），把全宽用起来 */
  .smp-top { padding: 16px 22px; }
  .smp-hd { font-size: 15.5px; }
  /* 10 项关键量：5 列 × 2 行铺开（2026-10-23 新增「主/客不进球」两格，原 8 项 8 列） */
  .smp-grid4 { grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
  .smp-kv { padding: 10px 6px; }
  .smp-kv i { font-size: 10.5px; }
  .smp-kv b { font-size: 15px; }
  /* 赛果三栏放大，撑满视觉重心 */
  .smp-trio { padding: 16px 8px; }
  .smp-trio b { font-size: 30px; }
  .smp-trio span { font-size: 11.5px; }
  /* 表格全宽：取消 min-width，交给内容自适应列宽 */
  table.smp-t { min-width: 0; }
  table.smp-t th { font-size: 11px; padding: 8px 8px; }
  table.smp-t td { padding: 8px 8px; font-size: 12px; }
  /* 时段/总进球这种 7 列小表：单列 inner 会太散，收进 780px 居中 */
  table.smp-t7 { max-width: 820px; margin: 0 auto; }
  table.smp-t7 td { padding: 9px 4px; }
  table.smp-t7 td b { font-size: 13px; }
  /* 典型比赛时间线：双栏瀑布，长列表不拉太长 */
  .smp-timeline { column-count: 2; column-gap: 24px; }
  .smp-timeline li { break-inside: avoid; font-size: 12.5px; padding: 6px 6px; }
  /* 伤停 / 进球者两列面板左右铺开 */
  .smp-avwrap { gap: 16px; }
  .smp-avbox { padding: 10px 14px; }
  .smp-avrow { font-size: 11.5px; }
  .smp-pills li { font-size: 12px; }
  /* 2026-10-20：比分卡在 PC 下两列并排，5 张卡不必纵向拉很长 */
  .smp-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .smp-scores > .smp-score:first-child { grid-column: 1 / -1; }
  .smp-score { padding: 11px 14px 10px; }
  .ss-v { font-size: 22px; }
  .ss-p { font-size: 16px; }
  .smp-bk { width: 22px; height: 10px; }
  .smp-ext { gap: 10px; }
  .smp-ex { padding: 9px 12px; }
  .smp-ex > b { font-size: 17px; }
  .smp-cmp > div { padding: 7px 10px; }
  .smp-cmp b { font-size: 17px; }
  .smp-typ { padding: 12px 16px; }
  .tp-score { font-size: 30px; }
  .tl-side { font-size: 12.5px; }
  .smp-actual { gap: 10px; }
  .smp-actual b { font-size: 18px; }
  /* 段落标题与卡片留白 */
  .smp-sec { padding: 14px 18px 12px; margin-bottom: 12px; }
  .smp-st { font-size: 13.5px; margin-bottom: 10px; }

  /* ── 入口卡：PC 下 1326px 宽会让三个赛果数字各占 440px 而显得空，
        改为「左=标题行 / 右=赛果横排 + 摘要同行」的紧凑两栏 ── */
  .sim-entry { padding: 12px 16px; }
  .se-hd { font-size: 14px; }
  .se-body { display: flex; align-items: center; justify-content: space-between;
             gap: 24px; margin-top: 8px; flex-wrap: nowrap; }
  /* 赛果三栏均分左半区，把整宽用满而不散 */
  .se-trio { display: flex; flex: 1 1 auto; max-width: 58%; }
  .se-trio span { flex: 1; text-align: center; }
  .se-trio b { display: inline-block; font-size: 20px; line-height: 1.2; margin-right: 5px; }
  .se-trio i { font-size: 12px; }
  .se-meta { margin-top: 0; text-align: right; font-size: 12px; flex: 0 0 auto; max-width: 40%; }
  .se-go { font-size: 12px; }
}

@media (max-width:400px){
  .smp-grid4{grid-template-columns:repeat(2,1fr)}
  .smp-avwrap{grid-template-columns:1fr}
  .smp-trio b{font-size:18px}
  table.smp-t{min-width:330px;font-size:11px}
  .smp-st{font-size:12.5px}
  /* 2026-10-20 改版：窄屏收紧比分卡与上限区 */
  .smp-ext{grid-template-columns:repeat(2,1fr)}
  .smp-actual{grid-template-columns:repeat(2,1fr)}
  .ss-v{font-size:17px}
  .smp-bk{width:13px;height:8px}
  .smp-tl2 li{grid-template-columns:1fr 46px 1fr}
  .smp-tl-hd{grid-template-columns:1fr 46px 1fr}
  .tl-side{font-size:10.5px}
}

/* 2026-11-03 回溯列表分批渲染：加载更多按钮 */
.hist-more{display:block;width:100%;margin:14px 0 4px;padding:13px 16px;border:1px solid var(--line,#e5e7eb);
  border-radius:12px;background:#fff;color:var(--text,#111827);font-size:14px;font-weight:700;
  font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s;-webkit-tap-highlight-color:transparent}
.hist-more:hover{background:#f8fafc;border-color:#cbd5e1}
.hist-more:active{background:#f1f5f9}

/* ══════════════════════════════════════════════════════════════════════════
   详情页二级 Tab（2026-11-11 用户要求：把原有长页面拆成 7 个二级页面）
   样式参照用户提供的体彩胶囊筛选条：浅米底 + 细边，选中橙底白字。
   🚫 不要改成下划线 tab：用户明确要「类似截图中的 tab」= 胶囊按钮。
   ══════════════════════════════════════════════════════════════════════════ */
.dtabs {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* 粘顶：长页面滚到下半段也能直接切页 */
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, var(--bg, #f6f2ec) 72%, rgba(246,242,236,0));
  backdrop-filter: blur(2px);
}
.dtabs::-webkit-scrollbar { display: none; }
/* 🔴 2026-11-11 用户要求「tab 长度调整为一致」：等分铺满整行
   （仿体彩 资讯/前瞻/统计/直播/固定奖金）。flex:1 1 0 + 居中 → 每个 tab 等宽。
   🚫 不要改回 flex:0 0 auto（文字长短不一 → 宽度参差）。 */
.dtab {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #7a6952;
  background: #faf5ee;
  border: 1px solid #ecdbc6;
  border-radius: 10px;
  padding: 7px 4px;
  line-height: 1.45;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: background .14s, color .14s, border-color .14s;
}
.dtab:active { transform: scale(.97); }
.dtab.on {
  background: #c2410c;
  border-color: #c2410c;
  color: #fff;
  box-shadow: 0 2px 8px rgba(194, 65, 12, .28);
}
/* 徽标：tab 内的小计数（如「交手 30」），弱化处理不抢视线 */
.dtab > i {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  opacity: .72;
  margin-left: 4px;
}
.dtab.on > i { opacity: .92; }

/* 切页后：改成单列流式（原来桌面是两列 grid 并排，拆成二级页后单列更好读）。
   🔴 板块被包进 .dtab-panel，所以「占满整行」要靠面板宽度，而不是 board 的 grid-column。 */
#content.detail-tabbed { display: block; }
#content.detail-tabbed > .dtab-panel,
#content.detail-tabbed > .sim-panel { display: block; width: 100%; }
#content.detail-tabbed .dtab-panel > .board { width: 100%; grid-column: auto; }

/* 模拟 tab 内联容器：去掉原二级页的返回条/悬浮按钮（都用不上了） */
.sim-panel .smp-back, .sim-panel .smp-fab { display: none !important; }
.sim-panel .sim-page { padding-bottom: 0; }

/* ── 二级菜单（只有「模拟」页有：实战模拟 / 模型攻防推演）────────────────
   一级 tab = 实心胶囊；二级 = 更轻的浅槽 + 白色选中块，层级一眼能区分。 */
.dsubs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 12px;
  padding: 3px;
  background: #f7f2ea;
  border: 1px solid #f0e4d2;
  border-radius: 11px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dsubs::-webkit-scrollbar { display: none; }
.dsub {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: #8a7358;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 7px 8px;
  line-height: 1.45;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: background .14s, color .14s;
}
.dsub.on {
  background: #fff;
  color: #c2410c;
  box-shadow: 0 1px 4px rgba(120, 85, 45, .14);
}
.dsub-panel { display: block; }
.dtab-loading {
  padding: 22px 16px;
  text-align: center;
  font-size: 12.5px;
  color: #b45309;
  background: #fdf6ec;
  border-radius: 12px;
}

/* 空态：某个 tab 没有内容时给一句清楚的话 */
.dtab-empty {
  padding: 26px 16px;
  text-align: center;
  font-size: 13px;
  color: #a08a70;
  background: #fffdfa;
  border: 1px dashed #ecdbc6;
  border-radius: 14px;
}

@media (max-width: 640px) {
  .dtabs { gap: 4px; padding-bottom: 8px; }
  .dtab { font-size: 12.5px; padding: 6px 2px; border-radius: 9px; }
  .dsub { font-size: 12px; padding: 7px 4px; }
}
@media (max-width: 360px) {
  .dtab { font-size: 11.5px; letter-spacing: 0; }
  .dsub { font-size: 11.5px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   资料库（2026-11-12 第四次定稿 · 视觉与主站统一）
   结构（照 titan007 联赛资料页截图）：
     标题条（赛季 + 「{赛季}{联赛全称}赛程积分」+ 赛季下拉 + 查询球队赛程）
     → 左栏「赛事选择」（分区 → 国家 → 联赛，移动端抽屉）
     → KPI 五格 / 一级 tab / 二级 tab / 赛程表 + 视图表
   🔴 配色与形态**全部复用主站令牌**，不再自造色号：
     · 容器 = 主站 .board 语言：白卡 + var(--line) + var(--r-lg) 18px + var(--shadow-md)
     · 卡片标题 = 主站 .board-title 语言：淡蓝底 rgba(37,99,235,.06) + 1px 下边 + 15px/800
     · 一级 tab = 主站 .dtab 语言：米底 #faf5ee / 边 #ecdbc6 / 字 #7a6952 / 选中 #c2410c
     · 二级 tab = 主站 .dsubs 语言：#f7f2ea 容器 / 子项白底 + #c2410c 选中
     · 文字 = var(--text) / var(--sub) / var(--muted)
     · 盘口/结论 = --poster-rq / --poster-wdl（海报口径铁律）
   ⚠️ 不要再出现 #1f2937 深灰块、#8b95a3 冷灰、#fcfdff 冷白 —— 这些不在主站体系里。
   ══════════════════════════════════════════════════════════════════════════ */
.lib-shell { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lib-loading { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 44px 16px; text-align: center; color: var(--muted); font-size: var(--fs-sm);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  box-shadow: var(--shadow-sm); }
.lib-retry { font: inherit; font-size: var(--fs-xs); font-weight: 700; color: var(--brand-2);
  background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.20); border-radius: var(--r-xs);
  padding: 6px 16px; cursor: pointer; }

/* ── 标题条（= 主站 .board 外壳） ─────────────────────── */
.lib-hd { display: flex; align-items: center; gap: 12px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  padding: 14px 16px; min-width: 0; }
.lib-hd-t { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1 1 auto; }
.lib-hd-t::before { content: ''; width: 4px; height: 20px; border-radius: 2px;
  background: var(--brand-grad); flex: 0 0 auto; }   /* 主站 .sec-title 的同款竖条 */
.lib-hd-season { font-size: var(--fs-xs); font-weight: 800; color: var(--brand-2);
  background: rgba(37,99,235,.10); border-radius: 99px; padding: 2px 9px; flex: 0 0 auto; }
.lib-hd-name { font-size: var(--fs-lg); font-weight: 800; color: var(--text); margin: 0;
  display: flex; align-items: baseline; gap: 6px; min-width: 0; letter-spacing: .01em; }
.lib-hd-name span { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.lib-hd-r { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.lib-season { font: inherit; font-size: var(--fs-xs); font-weight: 700; color: var(--sub);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 7px 9px; cursor: pointer; }
.lib-qbtn { font: inherit; font-size: var(--fs-xs); font-weight: 800; color: #fff;
  background: var(--brand-grad); border: 0; border-radius: var(--r-sm);
  padding: 8px 14px; cursor: pointer; white-space: nowrap; box-shadow: 0 2px 8px rgba(37,99,235,.24); }
.lib-qbtn:active { transform: scale(.97); }
.lib-burger { display: none; font: inherit; font-size: var(--fs-xs); font-weight: 800;
  color: var(--sub); background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 8px 11px; cursor: pointer; gap: 5px;
  align-items: center; flex: 0 0 auto; }

/* ── 主体两栏 ───────────────────────────────────────── */
.lib-wrap { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 16px; align-items: start; min-width: 0; }
.lib-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); overflow: hidden; position: sticky; top: 8px; }
/* 侧栏标题 = 主站 .board-title：淡蓝底 + 下边 + 15px/800（🚫 不用深灰渐变） */
.lib-side-t { display: flex; align-items: center; justify-content: space-between;
  font-size: var(--fs-md); font-weight: 800; color: var(--text);
  background: rgba(37,99,235,.06); border-bottom: 1px solid var(--line); padding: 12px 13px; }
.lib-side-x { display: none; font: inherit; font-size: var(--fs-sm); color: var(--muted);
  background: none; border: 0; cursor: pointer; padding: 0 2px; }
.lib-zones { padding: 6px 0 12px; max-height: 620px; overflow-y: auto; }
.lib-zone { font-size: var(--fs-xs); font-weight: 800; color: var(--muted); letter-spacing: .4px;
  padding: 11px 13px 6px; }
.lib-ctn { padding: 0 0 2px; }
.lib-ctn-n { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--sub);
  padding: 5px 13px 3px; opacity: .82; }
.lib-lg { display: flex; align-items: center; gap: 5px; width: 100%; font: inherit;
  font-size: var(--fs-sm); font-weight: 600; color: var(--sub); background: none; border: 0;
  border-left: 3px solid transparent; padding: 7px 10px 7px 14px; cursor: pointer; text-align: left;
  transition: background .14s, color .14s; }
.lib-lg em { margin-left: auto; font-style: normal; font-size: var(--fs-xs); color: var(--muted);
  font-weight: 700; opacity: .75; }
.lib-lg:hover { background: var(--bg-soft); color: var(--text); }
.lib-lg.on { background: rgba(37,99,235,.08); border-left-color: var(--brand-2);
  color: var(--brand-2); font-weight: 800; }
.lib-lg.on em { color: var(--brand-2); opacity: .8; }
/* 「当日赛事」分组（首屏第一组，与其它分组同样式，仅加「今日」徽标） */
.lib-zone em { font-style: normal; font-weight: 800; color: var(--muted); margin-left: 5px; opacity: .55; }
.lib-lg-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-tdy .lib-lg-t { font-style: normal; font-size: 10px; font-weight: 800; color: #c2410c;
  background: rgba(194,65,12,.10); border-radius: 5px; padding: 1px 5px; flex: 0 0 auto; }
.lib-tdy.on { background: rgba(194,65,12,.08); border-left-color: #c2410c; color: #c2410c; }
.lib-tdy.on em { color: #c2410c; opacity: .8; }

/* 当日赛事面板（无赛季资料的赛事） */
.lg-today { min-width: 620px; }
.lg-today .lg-num { width: 54px; color: var(--muted); font-weight: 700; }
.lg-today .lg-t { width: 82px; color: var(--muted); }
.lg-today .lg-h { text-align: right; font-weight: 700; color: var(--text); min-width: 84px; }
.lg-today .lg-a { text-align: left; font-weight: 700; color: var(--text); min-width: 84px; }
.lg-today .lg-vs { width: 26px; color: var(--muted); font-size: 10px; font-weight: 800; opacity: .7; }
.lg-today .lg-pk { width: 92px; }
.lg-today .lg-pk b { display: inline-block; font-size: var(--fs-sm); font-weight: 800;
  margin-right: 5px; }
.lg-today .lg-pk .pk-w { color: var(--poster-wdl); }
.lg-today .lg-pk .pk-l { color: var(--poster-rq); }
.lg-today .lg-pk .pk-rq { color: var(--poster-rq); }
.lg-today .lg-pk i { font-style: normal; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.lg-today .lg-sc3 { width: 132px; }
.lg-today .lg-sc3 i { font-style: normal; display: inline-block; font-size: var(--fs-xs);
  font-weight: 700; color: var(--sub); background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--r-xs); padding: 1px 6px; margin-left: 4px; }
.lg-today .lg-hf2 { width: 96px; color: var(--sub); font-size: var(--fs-xs); font-weight: 600; }
.lg-tnote { font-size: var(--fs-xs); line-height: 1.9; color: var(--sub); }
.lg-tnote b { color: var(--text); }

.lib-lg-f { font-style: normal; font-size: 10px; font-weight: 800; color: var(--draw);
  background: rgba(180,83,9,.10); border-radius: 5px; padding: 1px 5px; }
.lib-mask { display: none; }

/* ── 右主区 ─────────────────────────────────────────── */
.lib-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lib-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.lib-kpis > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0;
  box-shadow: var(--shadow-sm); }
.lib-kpis i { font-style: normal; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.lib-kpis i u { text-decoration: none; font-size: 10.5px; color: var(--muted); opacity: .7; margin-left: 2px; }
.lib-kpis b { font-size: var(--fs-xl); font-weight: 800; color: var(--text);
  font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* 一级 tab：主站 .dtab 语言（米底 / 橙选中） */
.lib-tabs1 { display: flex; align-items: center; gap: 6px; padding: 0; overflow-x: auto;
  scrollbar-width: none; }
.lib-tabs1::-webkit-scrollbar { display: none; }
.lgt1 { flex: 1 1 0; min-width: 0; font: inherit; font-size: var(--fs-sm); font-weight: 800;
  letter-spacing: .2px; color: #7a6952; background: #faf5ee; border: 1px solid #ecdbc6;
  border-radius: var(--r-sm); padding: 8px 6px; cursor: pointer; text-align: center;
  white-space: nowrap; transition: background .14s, color .14s, border-color .14s; }
.lgt1:hover { background: #f6efe4; }
.lgt1.on { background: #c2410c; border-color: #c2410c; color: #fff;
  box-shadow: 0 2px 8px rgba(194,65,12,.26); }

/* 二级 tab：主站 .dsubs 语言（米容器 + 白底橙字选中） */
.lib-tabs2 { display: flex; align-items: center; gap: 4px; background: #f7f2ea;
  border: 1px solid #f0e4d2; border-radius: 11px; padding: 3px; overflow-x: auto;
  scrollbar-width: none; }
.lib-tabs2::-webkit-scrollbar { display: none; }
.lgt2 { flex: 0 0 auto; font: inherit; font-size: var(--fs-xs); font-weight: 800;
  color: #8a7358; background: transparent; border: 0; border-radius: var(--r-xs);
  padding: 7px 11px; cursor: pointer; white-space: nowrap;
  transition: background .14s, color .14s; }
.lgt2:hover { background: rgba(255,255,255,.6); }
.lgt2.on { background: #fff; color: #c2410c; box-shadow: 0 1px 4px rgba(120,85,45,.14); }

/* ── 卡片（= 主站 .board） + 标题条（= .board-title） ───── */
.lg-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); overflow: hidden; min-width: 0; }
.lg-card-hd { display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding: 12px 15px 11px; background: rgba(37,99,235,.06); border-bottom: 1px solid var(--line); }
.lg-card-hd b { font-size: var(--fs-md); font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 7px; }
.lg-card-hd b::before { content: ''; width: 3px; height: 15px; border-radius: 2px;
  background: var(--brand-grad); }
.lg-card-hd > span { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; }
.lg-ck { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs);
  font-weight: 700; color: var(--sub); cursor: pointer; margin-left: auto; }
.lg-ck + .lg-ck { margin-left: 0; }
.lg-ck input { accent-color: #c2410c; width: 14px; height: 14px; }
.lg-q { margin-left: auto; }
.lg-q input { font: inherit; font-size: var(--fs-xs); color: var(--text); background: var(--card);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 6px 11px;
  outline: none; width: 170px; }
.lg-q input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

.lg-rnds { display: flex; gap: 5px; overflow-x: auto; padding: 9px 14px;
  border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.ls-rnd { font: inherit; font-size: var(--fs-xs); font-weight: 700; color: var(--sub);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xs);
  padding: 5px 10px; cursor: pointer; white-space: nowrap; transition: all .14s; }
.ls-rnd:hover { border-color: var(--line-strong); color: var(--text); }
.ls-rnd.on { background: var(--brand-grad); border-color: transparent; color: #fff;
  box-shadow: 0 2px 6px rgba(37,99,235,.22); }

/* ── 表格 ───────────────────────────────────────────── */
.lg-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lg-tb { width: 100%; border-collapse: collapse; font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums; }
.lg-tb thead th { font-size: var(--fs-xs); font-weight: 700; color: var(--muted);
  letter-spacing: .01em; background: var(--bg-soft); border-bottom: 1px solid var(--line);
  padding: 9px 7px; text-align: center; white-space: nowrap; }
.lg-tb tbody td { padding: 8px 7px; text-align: center; border-bottom: 1px solid rgba(0,0,0,.05);
  color: var(--sub); white-space: nowrap; }
.lg-tb tbody tr:last-child td { border-bottom: 0; }
.lg-tb tbody tr:hover > td { background: rgba(37,99,235,.03); }
/* 竞彩习惯：胜＝红 / 平＝橙 / 负＝绿（与主站 --lose/--draw/--win 三色同源） */
.lg-tb .w { color: #dc2626; font-weight: 800; }
.lg-tb .d { color: #b45309; font-weight: 800; }
.lg-tb .l { color: #047857; font-weight: 800; }
.lg-tb .pos { color: #dc2626; font-weight: 700; }
.lg-tb .neg { color: #047857; font-weight: 700; }
.lg-tb .pct { color: var(--sub); }
.lg-tb .lg-left { text-align: left; white-space: normal; color: var(--sub); font-size: var(--fs-xs); }
.lg-empty { color: var(--muted); padding: 26px 0 !important; }

/* 赛程表列宽 */
.lg-sched { min-width: 560px; }
.lg-sched .lg-r { width: 42px; color: var(--muted); font-weight: 700; }
.lg-sched .lg-t { width: 92px; color: var(--muted); }
.lg-sched .lg-h, .lg-sched .lg-a { text-align: right; font-weight: 700; color: var(--text); min-width: 82px; }
.lg-sched .lg-a { text-align: left; }
.lg-sched .lg-s { width: 92px; font-weight: 800; font-size: var(--fs-sm); }
.lg-sched .lg-s.w { color: #dc2626; }
.lg-sched .lg-s.d { color: #b45309; }
.lg-sched .lg-s.l { color: #047857; }
.lg-sched .lg-s.vs b { color: var(--muted); font-size: var(--fs-xs); font-weight: 800; opacity: .8; }
.lg-sched .lg-hfs { width: 64px; color: var(--muted); font-weight: 600; }
.lg-sched .lg-ah { width: 80px; font-weight: 700; }
.lg-sched .lg-ou { width: 62px; color: var(--purple); font-weight: 700; }
.lg-sched .lg-x { width: 52px; }
.lg-sched .lg-h.focus, .lg-sched .lg-a.focus { color: var(--poster-rq); }
.lg-ft { display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--draw); margin-left: 5px; vertical-align: middle; }
.lg-go { display: inline-block; font-size: var(--fs-xs); font-weight: 800;
  color: var(--brand-2); text-decoration: none; background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.16); border-radius: var(--r-xs); padding: 2px 8px;
  transition: background .14s; }
.lg-go:hover { background: rgba(37,99,235,.16); }

/* 积分榜 */
.lg-subs { display: flex; gap: 4px; flex-wrap: wrap; padding: 9px 14px; background: var(--bg-soft);
  border-bottom: 1px solid var(--line); }
.lg-sub { font: inherit; font-size: var(--fs-xs); font-weight: 700; color: var(--sub);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xs);
  padding: 5px 11px; cursor: pointer; transition: all .14s; }
.lg-sub:hover { border-color: var(--line-strong); color: var(--text); }
.lg-sub.on { background: var(--brand-grad); border-color: transparent; color: #fff;
  box-shadow: 0 2px 6px rgba(37,99,235,.22); }
/* ── 积分榜分区底色（2026-11-12 用户要求）───────────────────
   色系全部取自主站语义色，低透明度铺底 + 左侧 3px 竖条，保证表格可读性不被压掉：
     争冠/升级＝品牌蓝 · 季后赛/附加＝紫 · 晋级＝绿 · 附加赛＝琥珀 · 保级附加＝橙 · 降级/淘汰＝红
   🚫 不要用高饱和实色底（会把白字行压成花板）；🚫 不要给 .lg-tb 所有行加色，只给 .lg-zrow */
.lg-tb tbody tr.lg-zrow > td:first-child { box-shadow: inset 3px 0 0 currentColor; }
.lg-zrow.z-title > td { background: rgba(37,99,235,.07); }
.lg-zrow.z-po > td { background: rgba(124,58,237,.07); }
.lg-zrow.z-adv > td { background: rgba(4,120,87,.08); }
.lg-zrow.z-cpo > td { background: rgba(180,83,9,.08); }
.lg-zrow.z-rpo > td { background: rgba(234,88,12,.09); }
.lg-zrow.z-releg > td { background: rgba(220,38,38,.07); }
.lg-zrow.z-title > td:first-child { color: #2563eb; font-weight: 800; }
.lg-zrow.z-po > td:first-child { color: #7c3aed; font-weight: 800; }
.lg-zrow.z-adv > td:first-child { color: #047857; font-weight: 800; }
.lg-zrow.z-cpo > td:first-child { color: #b45309; font-weight: 800; }
.lg-zrow.z-rpo > td:first-child { color: #ea580c; font-weight: 800; }
.lg-zrow.z-releg > td:first-child { color: #dc2626; font-weight: 800; }
/* hover 不要盖掉分区底色，只做轻微加深 */
.lg-tb tbody tr.lg-zrow:hover > td { filter: brightness(.985); background-color: inherit; }

/* 分组杯赛（欧国联）：联赛级别 tab + 小组小表 */
.lib-tiers { display: flex; gap: 4px; flex-wrap: wrap; background: var(--card);
  border: 1px solid var(--line); border-radius: 11px; padding: 4px; box-shadow: var(--shadow-sm); }
.lgtier { flex: 1 1 0; min-width: 0; font: inherit; font-size: var(--fs-xs); font-weight: 800;
  color: var(--sub); background: none; border: 0; border-radius: var(--r-xs);
  padding: 7px 8px; cursor: pointer; white-space: nowrap; transition: background .14s, color .14s; }
.lgtier:hover { background: var(--bg-soft); }
.lgtier.on { background: var(--brand-grad); color: #fff; box-shadow: 0 2px 6px rgba(37,99,235,.22); }

.lg-grps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px 14px 14px; }
.lg-grp { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; min-width: 0;
  box-shadow: var(--shadow-sm); }
.lg-grp-hd { display: flex; align-items: baseline; gap: 8px; padding: 8px 11px;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm); font-weight: 800; color: var(--text); }
.lg-grp-hd em { font-style: normal; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.lg-grp-tb { min-width: 0; }
.lg-grp-tb thead th { padding: 7px 5px; }
.lg-grp-tb tbody td { padding: 7px 5px; }
.lg-grp-tb .lg-name { min-width: 62px; }
.lg-zlg-note { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; line-height: 1.5; }

/* 分区图例 */
.lg-zlg { display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  padding: 8px 14px; border-bottom: 1px solid var(--line); background: var(--card); }
.lg-zc { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-xs);
  font-weight: 700; color: var(--sub); background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 99px; padding: 3px 9px 3px 7px; }
.lg-zc i { width: 9px; height: 9px; border-radius: 3px; flex: 0 0 auto; }
.lg-zc em { font-style: normal; font-weight: 700; color: var(--muted); opacity: .8; }
.lg-zc.z-title i { background: #2563eb; }
.lg-zc.z-po i { background: #7c3aed; }
.lg-zc.z-adv i { background: #047857; }
.lg-zc.z-cpo i { background: #b45309; }
.lg-zc.z-rpo i { background: #ea580c; }
.lg-zc.z-releg i { background: #dc2626; }
.lg-zlg-off { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; line-height: 1.6; }

.lg-stand { min-width: 740px; }
.lg-stand .lg-rank { width: 44px; color: var(--muted); font-weight: 800; }
.lg-stand .lg-name { text-align: left; font-weight: 800; color: var(--text); min-width: 96px; }
.lg-stand .lg-pts { font-weight: 800; color: var(--brand-2); }
.lg-form { white-space: nowrap; }
/* 近六轮赛果：🔴 2026-11-12 用户指定「用对应颜色的文字表示」→ 取消实心色块，改彩色字
   （实心块 6 个/行 × N 行，视觉噪音太大；文字更克制，也不影响色觉识别） */
.lf { display: inline-block; min-width: 12px; font-size: var(--fs-xs); font-style: normal;
  font-weight: 800; text-align: center; margin-left: 5px; letter-spacing: 0; line-height: 1.2; }
.lf.w { color: #dc2626; }
.lf.d { color: #b45309; }
.lf.l { color: #047857; }
.lg-bar { width: 140px; }
.lg-bar-i { display: inline-block; width: 76px; height: 7px; border-radius: 4px;
  background: var(--card-hi); overflow: hidden; vertical-align: middle; margin-right: 7px; }
.lg-bar-i i { display: block; height: 100%; background: var(--brand-grad); }
.lg-bar b { font-size: var(--fs-xs); color: var(--brand-2); font-weight: 800; }

/* 分布类视图 */
.lg-dl { padding: 12px 15px; display: flex; flex-direction: column; gap: 9px; }
.lg-drow { display: grid; grid-template-columns: 66px minmax(0, 1fr) 78px; align-items: center; gap: 9px; }
.lg-dk { font-size: var(--fs-xs); font-weight: 700; color: var(--sub); }
.lg-db { height: 9px; border-radius: 5px; background: var(--card-hi); overflow: hidden; }
.lg-db i { display: block; height: 100%; background: var(--muted); }
.lg-db i.w { background: linear-gradient(90deg, #f87171, #dc2626); }
.lg-db i.d { background: linear-gradient(90deg, #fbbf24, #b45309); }
.lg-db i.l { background: linear-gradient(90deg, #34d399, #047857); }
.lg-db i.b { background: var(--brand-grad); }
.lg-dv { font-size: var(--fs-xs); font-weight: 800; color: var(--text); text-align: right; }
.lg-dv em { font-style: normal; font-weight: 600; color: var(--muted); margin-left: 6px; }

.lg-grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
  gap: 9px; padding: 12px 15px; }
.lg-score { position: relative; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 9px 10px; display: flex; flex-direction: column; gap: 2px; background: var(--card);
  box-shadow: var(--shadow-sm); }
.lg-score b { font-size: var(--fs-lg); font-weight: 800; color: var(--text); }
.lg-score.w b { color: #dc2626; }
.lg-score.d b { color: #b45309; }
.lg-score.l b { color: #047857; }
.lg-score span { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.lg-score em { font-size: var(--fs-xs); font-style: normal; font-weight: 800; color: var(--sub); }
.lg-srank { position: absolute; top: 7px; right: 9px; font-style: normal; font-size: 10px;
  font-weight: 800; color: var(--muted); opacity: .6; }
.lg-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 12px 15px; }
.lg-hf9 { border: 1px solid var(--line); border-radius: var(--r-md); padding: 9px 10px;
  background: var(--card); display: flex; flex-direction: column; align-items: center; gap: 2px;
  box-shadow: var(--shadow-sm); }
.lg-hf9 b { font-size: var(--fs-sm); font-weight: 800; }
.lg-hf9.w b { color: #dc2626; }
.lg-hf9.d b { color: #b45309; }
.lg-hf9.l b { color: #047857; }
.lg-hf9 span { font-size: var(--fs-lg); font-weight: 800; color: var(--text); }
.lg-hf9 em { font-size: 10.5px; font-style: normal; font-weight: 700; color: var(--muted); }

/* 球队资料：展开行 */
.lg-trow { cursor: pointer; }
.lg-trow.on > td { background: rgba(37,99,235,.05); }
.lg-trow.focus > .lg-name { color: var(--poster-rq); }
.lg-caret { font-style: normal; font-size: 10px; color: var(--muted); margin-left: 5px; opacity: .7; }
.lg-schedrow > td { padding: 0 !important; background: var(--bg-soft); }
.lg-tsched { padding: 10px 14px 14px; }
.lg-tsched-hd { display: flex; align-items: baseline; gap: 8px; padding: 2px 2px 8px; }
.lg-tsched-hd b { font-size: var(--fs-sm); font-weight: 800; color: var(--text); }
.lg-tsched-hd span { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; }
.lg-tsched .lg-tb { background: var(--card); border-radius: var(--r-sm);
  border: 1px solid var(--line); overflow: hidden; }
.lg-ha { width: 34px; font-size: var(--fs-xs); font-weight: 800; }
.lg-ha.h { color: var(--draw); }
.lg-ha.a { color: var(--brand-2); }

.lib-tip { font-size: var(--fs-xs); line-height: 1.75; color: var(--muted); margin: 0; padding: 0 3px; }

/* ── 响应式 ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .lib-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .lib-wrap { grid-template-columns: minmax(0, 1fr); }
  .lib-burger { display: inline-flex; }
  .lib-hd { flex-wrap: wrap; gap: 9px; padding: 12px 13px; }
  .lib-hd-r { width: 100%; }
  .lib-hd-r .lib-qbtn { flex: 1 1 auto; }
  .lib-side { display: none; }
  .lib-side.open { display: block; position: fixed; left: 0; top: 0; bottom: 0; width: 252px;
    z-index: 61; border-radius: 0; border-left: 0; box-shadow: 8px 0 28px rgba(15,23,42,.22);
    animation: libSlide .18s ease-out; }
  .lib-side.open .lib-zones { max-height: calc(100vh - 46px); }
  .lib-side.open .lib-side-x { display: block; }
  .lib-mask.on { display: block; position: fixed; inset: 0; z-index: 60;
    background: rgba(15,23,42,.42); }
  @keyframes libSlide { from { transform: translateX(-16px); opacity: .6; } to { transform: none; opacity: 1; } }
}
@media (max-width: 640px) {
  .lib-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lib-kpis b { font-size: var(--fs-lg); }
  .lib-hd-name { font-size: var(--fs-md); }
  .lib-hd-name span { font-size: var(--fs-xs); }
  .lg-tb thead th, .lg-tb tbody td { padding: 7px 5px; }
  .lg-stand { min-width: 660px; }
  .lg-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lgt1 { font-size: var(--fs-xs); padding: 7px 4px; }
  .lgt2 { padding: 6px 9px; }
  .lg-card-hd { padding: 11px 12px 10px; }
  .lib-tip { font-size: 11px; }
}
/* ══════════════════════════════════════════════════════════════════════════
   我的（2026-11-11 新增底部菜单）· 账号 / 设置 / 关于我们
   ══════════════════════════════════════════════════════════════════════════ */
.me-shell { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; min-width: 0; }
.me-hero { display: flex; align-items: center; gap: 14px; padding: 18px 17px;
  background: linear-gradient(135deg, #fff7ed, #fef3c7); border: 1px solid #fde3c0;
  border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.me-av { width: 56px; height: 56px; flex: 0 0 56px; border-radius: var(--r-lg); background: #fff;
  border: 1px solid #f5d9b8; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center;
  font-size: 28px; line-height: 1; }
.me-hd { min-width: 0; }
.me-nick { display: flex; align-items: center; gap: 8px; }
.me-nick b { font-size: 18px; font-weight: 900; color: #7c2d12; }
.me-edit { font: inherit; font-size: 11.5px; font-weight: 700; color: #b45309; background: #fff;
  border: 1px solid #f3d0ae; border-radius: 999px; padding: 2px 10px; cursor: pointer; }
.me-sub { font-size: 11.5px; color: #a16207; margin-top: 4px; }
.me-avrow { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 4px; }
.me-avb { width: 38px; height: 38px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line);
  font-size: 19px; cursor: pointer; line-height: 1; }
.me-avb.on { border-color: #c2410c; box-shadow: 0 0 0 2px rgba(194,65,12,.18); }

.me-sec { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px 17px 10px; box-shadow: var(--shadow-md); }
.me-sec-t { font-size: var(--fs-md); font-weight: 800; color: var(--text); margin-bottom: 8px;
  display: flex; align-items: center; gap: 7px; }
.me-sec-t::before { content: ''; width: 3px; height: 15px; border-radius: 2px;
  background: var(--brand-grad); }
.me-kv { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-sm); color: var(--sub); }
.me-kv:last-of-type { border-bottom: 0; }
.me-kv > b { font-weight: 700; color: var(--text); text-align: right; min-width: 0; }
.me-kv.me-row { gap: 10px; }
.me-kv-sub { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; font-weight: 400; }
.me-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.me-small { font-size: 11.5px; font-weight: 600; max-width: 62%; }
.me-tip { font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; margin: 8px 0 2px; }
.me-seg { display: inline-flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.me-sb { font: inherit; font-size: var(--fs-xs); font-weight: 700; color: var(--sub); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; cursor: pointer; }
.me-sb.on { background: var(--brand-grad); border-color: transparent; color: #fff;
  box-shadow: 0 2px 6px rgba(37,99,235,.24); }
.me-sw { position: relative; width: 46px; height: 26px; flex: 0 0 46px; border-radius: 999px;
  background: #d1d5db; border: 0; cursor: pointer; transition: background .16s; padding: 0; }
.me-sw i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .16s; }
.me-sw.on { background: #16a34a; }
.me-sw.on i { transform: translateX(20px); }
.me-btn { font: inherit; font-size: var(--fs-xs); font-weight: 700; color: var(--brand-2);
  background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.20);
  border-radius: var(--r-xs); padding: 6px 14px; cursor: pointer; }
.me-btn.warn { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }
.me-about { font-size: var(--fs-sm); line-height: 1.85; color: var(--sub); }
.me-about p { margin: 0 0 8px; }
.me-about-warn { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px;
  padding: 9px 11px; color: #92400e; }
.me-links { display: flex; gap: 14px; flex-wrap: wrap; padding: 10px 0 4px; }
.me-links a { font-size: var(--fs-xs); color: var(--brand-2); text-decoration: none; }
.me-links a:hover { text-decoration: underline; }

/* 📥 海报下载（2026-11-12）：两列并排、各占一半、无底色、每张一个「下载原图」按钮 */
.me-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 0 2px; }
.me-dlc { border: 1px solid var(--line); border-radius: 14px; background: transparent;
  padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.me-dlc.off { border-style: dashed; }
.me-dlc-hd { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.me-dlc-hd b { font-size: var(--fs-sm); font-weight: 800; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-dlc-hd span { font-size: var(--fs-xs); color: var(--muted); font-weight: 600;
  line-height: 1.45; word-break: break-word; }
.me-dlb { display: flex; align-items: center; justify-content: center; width: 100%;
  margin-top: auto; padding: 9px 8px; border-radius: 10px; text-decoration: none;
  background: var(--brand-grad); color: #fff; font-size: var(--fs-sm); font-weight: 800;
  box-shadow: 0 2px 8px rgba(37,99,235,.22); transition: transform .12s, box-shadow .12s; }
.me-dlb:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.3); }
.me-dlb.dis { background: rgba(148,163,184,.22); color: var(--muted); box-shadow: none;
  cursor: default; pointer-events: none; }
/* button 版「下载原图」：与 a 版同观感（2026-11-13 微信不支持 a[download] → 改 button） */
button.me-dlb { border: 0; font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button.me-dlb:active { transform: translateY(0) scale(.985); }

/* ── 原图查看层（2026-11-13）：点「下载原图」直接弹图，微信里长按保存 ── */
.dlv-mask { position: fixed; inset: 0; z-index: 9999; background: rgba(8,12,20,.94);
  display: flex; flex-direction: column; animation: dlvIn .18s ease both; }
.dlv-mask.out { animation: dlvOut .18s ease both; }
@keyframes dlvIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes dlvOut { from { opacity: 1 } to { opacity: 0 } }
.dlv-bar { flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px calc(10px + env(safe-area-inset-top, 0px));
  color: #fff; font-size: 14px; }
.dlv-bar b { flex: 1 1 auto; min-width: 0; font-weight: 800; letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlv-close { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.16); color: #fff; font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dlv-close:active { background: rgba(255,255,255,.28); }
.dlv-body { flex: 1 1 auto; min-height: 0; position: relative; display: flex; align-items: center;
  justify-content: center; padding: 0 8px; overflow: auto; -webkit-overflow-scrolling: touch; }
.dlv-body img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: 6px; background: #fff; box-shadow: 0 8px 40px rgba(0,0,0,.5);
  -webkit-touch-callout: default; user-select: auto; }
.dlv-load { position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; color: rgba(255,255,255,.82); font-size: 13px; text-align: center;
  background: rgba(8,12,20,.55); pointer-events: none; }
.dlv-load.err { color: #fca5a5; }
.dlv-mask.has-img .dlv-load { display: none; }
.dlv-foot { flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px calc(14px + env(safe-area-inset-bottom, 0px)); }
.dlv-tip { flex: 1 1 auto; min-width: 0; color: rgba(255,255,255,.72); font-size: 12px;
  line-height: 1.5; }
.dlv-dl { flex: 0 0 auto; padding: 9px 18px; border-radius: 999px; text-decoration: none;
  background: #fff; color: #1d4ed8; font-size: 13px; font-weight: 800; }
.dlv-dl:active { background: #e5edff; }
@media (max-width: 640px) {
  .dlv-bar { font-size: 13px; }
  .dlv-tip { font-size: 11.5px; }
  .dlv-dl { padding: 8px 15px; font-size: 12.5px; }
  /* 手机上长海报按宽度铺满、纵向可滚动浏览（长按保存的仍是原始 4320×7744 文件） */
  .dlv-body { align-items: flex-start; }
  .dlv-body img { max-height: none; }
}

/* 底部导航 5 项：窄屏收紧，避免文字挤压 */
.bottom-nav.nav-5 { padding-left: 4px; padding-right: 4px; }
.bottom-nav.nav-5 .nl { font-size: 10.5px; letter-spacing: 0; }
@media (max-width: 360px) {
  .bottom-nav.nav-5 .nl { font-size: 10px; }
}

/* 设置项「显示队徽」关闭时：隐藏真实队徽图片，只剩首字圆形标记 */
body.no-teamlogo .tlogo.has-img .tlogo-img { display: none; }
body.no-teamlogo .tlogo.has-img .tlogo-fb { display: flex; }

/* ══════════════════════════════════════════════════════════════════════════
   #content 网格 · 全宽元素（2026-11-11 提为全局规则）
   🔴 原先把这份清单写在 `@media (min-width:1100px)` 里，平板（768~1099）也启用
      #content 两列网格时清单不生效 → 标题/仪表盘只占 1 列，卡片被挤到第 2 列，
      整页错位（768px 实测 hist-card 起点 x=392）。现在提到媒体查询外，各断点共用。
   ══════════════════════════════════════════════════════════════════════════ */
#content .sec-head,
#content .dash,
#content .ri-collapse,
#content .lg-chart,
#content .lg-scope,
#content .fnav-card,
#content .zone,
#content .review-note,
#content .upset-panel,
#content .ri-panel,
#content .lock-note,
#content .alert-banner,
#content .strat-note,
#content .strat-cats,
#content .strat-confs,
#content .strat-modes,
#content .strat-legend,
#content .dim-legend,
#content .empty,
#content .rb-tabs,
#content .rb-base,
#content .rb-caveat,
#content .detail-head,
#content .hit-date-group,
#content .smode-hint,
#content .card-grid,
#content .pick-card,
#content .combo-card,
#content .logic-card,
#content .hist-more,
#content .lib-shell,
#content .me-shell {
  grid-column: 1 / -1;
}

/* ── 移动端专项（2026-11-12 用户反馈「筛选项/卡片大小/布局不美观」）─────
   原则：一张表在 360~390px 内**不横向滚**；列做减法，而不是把字缩小。
   · 赛程：默认只留 时间/主队/比分/客队（亚让·总进球由右上角开关手动开）
   · 积分榜：隐藏 进:失 / 净 / 胜%平%负% / 均得均失（m-hide / m-hide2）
   · 头部：赛季下拉与长标题压成一行，查询按钮变图标位
   · KPI：改成一行横向滚动的紧凑条（5 格不折成 3 行） */
@media (max-width: 640px) {
  .m-hide2 { display: none !important; }
  .lib-hd { padding: 10px 12px; gap: 8px; }
  .lib-hd-t::before { display: none; }
  .lib-hd-r { width: auto; flex: 0 0 auto; }
  .lib-season { display: none; }              /* 目前只有单赛季，占宽不带信息 */
  .lib-qbtn { padding: 7px 10px; font-size: var(--fs-xs); }
  .lib-qbtn .qbtn-t { display: none; }        /* 窄屏只留图标，标题行不换行 */
  .lib-burger { padding: 7px 9px; }

  .lib-kpis { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px;
    scrollbar-width: none; }
  .lib-kpis::-webkit-scrollbar { display: none; }
  .lib-kpis > div { flex: 0 0 auto; min-width: 88px; padding: 8px 11px; gap: 1px; }
  .lib-kpis { padding-right: 2px; }
  .lib-kpis b { font-size: var(--fs-md); }

  .lib-tabs1 { gap: 5px; }
  .lgt1 { flex: 0 0 auto; padding: 7px 12px; }
  /* 二级 8 项在手机上横排要滑，改成 4×2 网格：一屏看全、点得更准 */
  .lib-tabs2 { flex-wrap: wrap; overflow: visible; }
  .lgt2 { flex: 1 1 calc(25% - 4px); min-width: 0; padding: 8px 2px; text-align: center; }
  .lib-tiers { padding: 3px; gap: 3px; }
  .lgtier { padding: 6px 2px; font-size: 12px; }

  .lg-rnds { padding: 8px 12px; }
  .lg-rnds-chips { display: none; }            /* 40 个轮次 chip 在手机上没法用 */
  .lg-rnd-sel { display: inline-flex; }

  .lg-card-hd { padding: 10px 12px 9px; gap: 6px; }
  .lg-card-hd > span { font-size: 11px; width: 100%; }
  .lg-ck { margin-left: 0; }

  .lg-tb { font-size: 13px; }
  .lg-tb thead th { padding: 8px 5px; font-size: 11.5px; }
  .lg-tb tbody td { padding: 9px 5px; }
  .lg-sched { min-width: 0; }
  .lg-sched .lg-r, .lg-sched .lg-hfs { display: none; }
  .lg-sched .lg-t { width: 74px; font-size: 11.5px; }
  .lg-sched .lg-h, .lg-sched .lg-a { min-width: 66px; font-size: 13px; }
  .lg-sched .lg-s { width: 74px; }
  .lg-stand { min-width: 0; }
  .lg-stand .lg-name { min-width: 58px; }
  .lg-stand .lg-rank { width: 30px; }
  .lg-grps { grid-template-columns: minmax(0, 1fr); padding: 10px 12px; gap: 10px; }
  .lg-zlg { padding: 8px 12px; gap: 6px; }
  .lg-zc { font-size: 11px; padding: 3px 8px 3px 6px; }
  .lg-go { padding: 3px 7px; }
  .lg-today { min-width: 0; }
  .lg-today .lg-hf2 { display: none; }
  .lg-today .lg-sc3 { width: auto; }
  .lg-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 12px; }
  .lg-score { padding: 8px 9px; }
  .lg-score b { font-size: var(--fs-md); }
  .lib-tip { font-size: 11px; }
}
@media (min-width: 641px) {
  .lg-rnd-sel { display: none; }
}
@media (min-width: 641px) {
  .lib-qbtn .qbtn-i { display: none; }        /* 宽屏用文字，不用图标 */
}
/* 轮次下拉（窄屏专用） */
.lg-rnd-sel { align-items: center; gap: 6px; width: 100%; }
.lg-rnd-sel select { flex: 1 1 auto; font: inherit; font-size: var(--fs-sm); font-weight: 700;
  color: var(--text); background: var(--card); border: 1px solid var(--line-strong);
  border-radius: var(--r-xs); padding: 7px 9px; }
