/* 配色直接对齐 qiuxiaoce.com：Tailwind 标准色板（blue-600 / emerald-500 /
   amber-500 / red-600 / gray 系列），底色 #f5f7fa，卡片 8–12px 圆角。 */
:root {
  --bg: #f5f7fa; --bg2: #ffffff; --ink: #111111; --muted: #6b7280; --rule: #e5e7eb;
  --accent: #2563eb; --accent2: #10b981; --accent3: #f59e0b;
  --win: #10b981; --draw: #f59e0b; --loss: #dc2626;
  --home: #2563eb; --away: #f59e0b; --text-muted: #6b7280;
  --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb;
  --gray-500: #6b7280; --gray-700: #374151;
  --blue-50: #eff6ff;
  --hc-h: #2563eb; --hc-a: #f59e0b;
  --hc-track: #edf0f4;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink); line-height: 1.7; min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 15px;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
main.wrap { padding-bottom: 2.5rem; }
/* 只给读屏和搜索引擎的文本（视觉标题用 mc-teams 表达） */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- 提示条与筛选条：对齐 qiuxiaoce 首页 ---------- */
.site-disclaimer { background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239;
  padding: 8px 12px; font-size: 12px; line-height: 1.5; border-radius: 8px;
  margin: 1rem 0 10px; }
.v4-filter-bar { display: flex; justify-content: space-between; align-items: center;
  background: #fff; border-radius: 10px; padding: 10px 14px; gap: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06); margin-bottom: 12px; }
.v4-date { font-weight: 700; color: #111; font-size: 15px; }
/* 展开式筛选面板：对齐 qiuxiaoce 的 #filter-panel（类型/赛事两行） */
.fp-toggle { position: absolute; opacity: 0; width: 0; height: 0; }
.filter-panel { display: none; background: #fff; border: 1px solid var(--rule);
  border-radius: 8px; padding: 12px 14px; margin: 0 0 12px; }
body:has(#fp-toggle:checked) #filter-panel { display: block; }
.v4-filter-btn { display: flex; align-items: center; gap: 4px; background: #fff;
  border: 1px solid #e5e7eb; padding: 6px 12px; border-radius: 20px; font-size: 13px;
  color: #4b5563; white-space: nowrap; cursor: pointer; }
.v4-filter-btn:hover { color: var(--accent); border-color: #93c5fd; }
.fp-row { display: flex; align-items: flex-start; gap: 10px; }
.fp-row + .fp-row { margin-top: 10px; }
.fp-label { font-size: 13px; color: #6b7280; flex: none; line-height: 28px; }
.fp-options { display: flex; gap: 8px; flex-wrap: wrap; }
.fp-radio { position: absolute; opacity: 0; width: 0; height: 0; }
.fp-opt { font-size: 13px; padding: 4px 14px; border-radius: 6px; border: 1px solid #e5e7eb;
  background: #fff; color: #4b5563; cursor: pointer; transition: all 0.15s;
  display: inline-block; text-decoration: none; }
.fp-opt:hover { border-color: #93c5fd; color: var(--accent); text-decoration: none; }
a.fp-opt.active { background: var(--accent); color: #fff; border-color: var(--accent); }
/* 行内 SVG 图标与文字对齐（顶导/卡片头/筛选条统一走这条） */
.card-header svg, .v4-date svg, .v4-filter-btn svg, .feat-ico svg, .page-h1 svg,
.me-avatar svg, .fp-label svg { flex: none; }
.card-header svg { vertical-align: -3px; }
.page-h1 svg { vertical-align: -3px; margin-right: 2px; }
.v4-date svg { vertical-align: -2.5px; margin-right: 2px; }
.v4-filter-btn svg { vertical-align: -2.5px; margin-right: 2px; }
.v4-nav-icon svg { width: 20px; height: 20px; }
.fp-radio:checked + .fp-opt { background: var(--accent); color: #fff; border-color: var(--accent); }
.fp-radio:focus-visible + .fp-opt { outline: 2px solid #93c5fd; outline-offset: 2px; }
/* 时间行/赔率/投注页日期选择：原生日历控件（input[type=date]，点开即日历面板），
   日期数量无上限；无数据的日期由全局 JS 吸附到最近的有数据日期。
   筛选条上另有 ‹ › 箭头做前后翻日。 */
.date-cal { font-size: 13px; color: #111; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 8px; padding: 6px 10px;
  cursor: pointer; max-width: 260px; font-family: inherit; }
.date-cal:hover { border-color: #93c5fd; }
.date-cal:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
.date-cal::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.55; }
.v4-date-nav { display: flex; align-items: center; gap: 8px; min-width: 0; }
.v4-day-arrow { display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid #e5e7eb;
  background: #fff; color: #4b5563; line-height: 1; text-decoration: none; flex: none; }
.v4-day-arrow svg { width: 16px; height: 16px; display: block; }
.v4-day-arrow:hover { color: var(--accent); border-color: #93c5fd; text-decoration: none; }
.v4-day-arrow.off { opacity: 0.35; pointer-events: none; }
.note-line { color: #9ca3af; font-size: 12px; margin: -4px 0 10px; }

/* ---------- 独立页面：数据统计 / 功能 / 我的 ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.stats-main { grid-template-columns: repeat(3, 1fr); }
.stat-card { background: #fff; border: 1px solid var(--rule); border-radius: 10px;
  padding: 18px 12px; text-align: center; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.stat-lbl { font-size: 12px; color: #6b7280; margin-top: 4px; }
.plain-list { margin: 10px 0 0 1.2em; }
.plain-list li { margin: 6px 0; }
.feat-list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 14px 0; }
.feat-item { display: flex; align-items: flex-start; gap: 12px; background: #fff;
  border: 1px solid var(--rule); border-radius: 10px; padding: 16px;
  text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
a.feat-item:hover { border-color: #93c5fd; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  text-decoration: none; }
.feat-ico { width: 38px; height: 38px; flex: none; border-radius: 10px; background: #eff6ff;
  color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.feat-ico svg { width: 20px; height: 20px; }
.feat-txt { min-width: 0; }
.feat-name { font-weight: 700; font-size: 15px; color: #111; display: block; }
.feat-desc { font-size: 13px; color: #6b7280; margin-top: 4px; display: block; }
a.feat-item .feat-go { font-size: 13px; color: var(--accent); margin-top: 8px; display: block; }
.me-card { background: #fff; border: 1px solid var(--rule); border-radius: 12px;
  padding: 32px 20px; text-align: center; max-width: 480px; margin: 20px auto; }
.me-avatar { width: 68px; height: 68px; margin: 0 auto; border-radius: 50%;
  background: #eff6ff; color: var(--accent); display: flex; align-items: center;
  justify-content: center; }
.me-avatar svg { width: 34px; height: 34px; }
.me-card h2 { margin: 10px 0 6px; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 页头：白底 + 左 logo + 右上功能按钮，同 qiuxiaoce 的 header ---------- */
header.site {
  background: #fff; color: var(--ink); position: relative; z-index: 99;
  padding: 22px 0 18px; margin-bottom: 20px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.06);
}
header.site .wrap { position: relative; z-index: 1;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--accent);
  display: flex; align-items: center; gap: 7px; }
.brand .brand-mark { width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; letter-spacing: -0.03em; flex: none; }
.brand span { font-weight: 400; color: #6b7280; font-size: 0.75rem; margin-left: 2px; }
nav.site { margin-left: auto; display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.86rem; }
nav.site a { color: #4b5563; padding: 6px 10px; border-radius: 8px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px; }
nav.site a svg { flex: none; }
nav.site a:hover { color: var(--accent); background: #eff6ff; text-decoration: none; }
nav.site a.is-btn, nav.site a.is-icon, nav.site label.is-icon { border: none; }
nav.site label.is-icon { display: inline-flex; align-items: center; cursor: pointer; color: #4b5563; padding: 6px 9px; }
/* 回顶部：滚过一屏后出现，右下角悬浮（对方同款交互） */
.back-top { position: fixed; right: 22px; bottom: 90px; z-index: 90; width: 42px; height: 42px;
  border-radius: 50%; background: #fff; color: #4b5563; border: 1px solid var(--rule);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12); display: none; align-items: center;
  justify-content: center; cursor: pointer; text-decoration: none; }
.back-top.show { display: inline-flex; }
.back-top:hover { color: var(--accent); border-color: #93c5fd; }
@media (max-width: 768px) { .back-top { right: 14px; bottom: 76px; } }
nav.site label.is-icon:hover { color: var(--accent); background: #eff6ff; }
/* 「功能」下拉菜单：悬停/键盘聚焦展开，收纳赔率与投注（盘口 / 记录本） */
.nav-drop { position: relative; }
.nav-drop .nav-menu { display: none; position: absolute; top: 100%; right: 0;
  background: #fff; border: 1px solid #eef2f7; border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.10); padding: 6px; min-width: 128px;
  z-index: 60; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: block; }
.nav-menu a { display: flex; align-items: center; gap: 6px; padding: 8px 12px;
  border-radius: 8px; font-size: 13px; color: #374151; white-space: nowrap; }
.nav-menu a svg { width: 14px; height: 14px; flex: none; color: #94a3b8; }
.nav-menu a:hover { background: #f1f5f9; color: var(--accent); text-decoration: none; }
.nav-menu a:hover svg { color: var(--accent); }
/* 搜索滑出层：checkbox hack，零 JS（对齐 qiuxiaoce 的 .site-search） */
.ss-toggle { position: absolute; opacity: 0; width: 0; height: 0; }
.site-search { display: none; background: #fff; border-bottom: 1px solid var(--rule);
  padding: 14px 0; }
body:has(.ss-toggle:checked) .site-search { display: block; }
.site-search-form { display: flex; gap: 8px; }
.search-input { flex: 1; border: 1px solid var(--rule); border-radius: 8px;
  padding: 9px 14px; font-size: 14px; outline: none; }
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #dbeafe; }
.search-btn { border: none; background: var(--accent); color: #fff; border-radius: 8px;
  padding: 0 18px; cursor: pointer; display: inline-flex; align-items: center; }
.search-btn:hover { background: #1d4ed8; }

/* ---------- 标题层级 ---------- */
main .wrap > h1 { font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em;
  margin: 2rem 0 0.35rem; }
h2 { font-weight: 700; font-size: 1.5rem; margin: 2.5rem 0 1.25rem; padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent); display: inline-block; }
h3 { font-weight: 700; font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }
h4 { font-size: 0.85rem; font-weight: 600; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.05em; margin: 1rem 0 0.5rem; }
.sub { color: var(--muted); font-size: 0.85rem; margin: 0 0 1.25rem; }
.rank-tag { font-size: 0.55em; color: var(--text-muted); vertical-align: sub;
  margin-left: 2px; opacity: 0.7; }

/* ---------- 卡片 ---------- */
.card { background: var(--bg2); border-radius: 10px; padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem; box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  border: 1px solid var(--rule); display: block; color: inherit; }
a.card:hover { border-color: var(--accent2); text-decoration: none; }
/* 单场页顶部整块沿用列表卡片的外观：无内边距，头部/主体各自带边距 */
.card-match { padding: 0; overflow: hidden; border-radius: 12px; margin-top: 1.25rem; }
.card-match .mc-teams { margin: 0.15rem 0 0; }
.card-header { display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule); font-size: 0.8rem; color: var(--muted); }
.card-header .match-id { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 0.78rem;
  color: var(--muted); background: var(--bg); padding: 0.2rem 0.6rem; border-radius: 4px; }
.card-header .match-league { font-size: 0.78rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.05em; }
.card-header .match-time { font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.82rem; color: var(--muted); }
.match-teams { display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 0.75rem 0; font-size: 1.3rem; font-weight: 700; }
.match-teams .vs { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 0.82rem;
  color: var(--muted); background: var(--bg); padding: 0.3rem 0.8rem; border-radius: 20px;
  font-weight: 400; }
/* 队徽：Team.logo 有值才出现，没有就只剩文字，不留占位框 */
.match-teams .tm { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0;
  overflow-wrap: anywhere; }
.crest { width: 32px; height: 32px; object-fit: contain; flex: none; }
.mc-team .crest { width: 48px; height: 48px; }
/* 无队徽时的同尺寸圆形占位：取队名首字，保证卡片高度整齐 */
.crest-ph { border-radius: 50%; background: #f3f4f6; color: #9ca3af;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; line-height: 1; }
h1.match-teams .crest { width: 40px; height: 40px; }
.match-teams .home { color: var(--home); }
.match-teams .away { color: var(--away); }
h1.match-teams { justify-content: center; gap: 1rem; margin: 0.5rem 0 0.25rem; }
.card-score { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 0.85rem;
  color: var(--ink); text-align: center; }
.card-score .half { color: var(--muted); font-size: 0.92em; }

/* ---------- 面板 / 洞察 ---------- */
.panel { background: var(--bg2); border-radius: 10px; padding: 1.25rem 1.5rem; margin: 1.25rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04); border: 1px solid var(--rule); }
.panel > h3:first-child { margin-top: 0; }
.panel-hint { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0.75rem; }
.insight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem; margin: 0.75rem 0; }
.insight-card { background: var(--bg); padding: 0.75rem 1rem; border-radius: 8px;
  border-left: 3px solid var(--accent); }
.insight-card .insight-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 0.2rem; }
.insight-card .insight-value { font-size: 0.95rem; font-weight: 600; color: var(--ink); }

/* ---------- 赔率 ---------- */
.odds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0.75rem 0; }
.odds-item { text-align: center; padding: 0.75rem 0.5rem; background: var(--bg); border-radius: 8px; }
.odds-item .label { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.25rem; }
.odds-item .value { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 1.3rem; font-weight: 700; }
.odds-item .value.win { color: var(--win); }
.odds-item .value.draw { color: var(--draw); }
.odds-item .value.loss { color: var(--loss); }
/* 全玩法与赔率时序：小节标题 + 赔率药丸 */
.of-sec { margin: 1rem 0 0.25rem; }
.of-h { font-size: 0.8rem; font-weight: 700; color: var(--gray-700); margin-bottom: 0.5rem; }
.of-sec table { margin-top: 0.5rem; }

/* ---------- 表格 ---------- */
.tw { overflow-x: auto; margin: 0.75rem 0; border-radius: 8px; border: 1px solid var(--rule); }
/* 定宽布局：列宽按列数均分，避免内容挤在左侧、末列吞掉剩余宽度 */
table { width: 100%; border-collapse: collapse; font-size: 0.85rem;
  table-layout: fixed; }
table th, table td { overflow-wrap: break-word; }
thead th { background: var(--bg); font-weight: 600; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--muted); padding: 0.6rem 0.75rem; text-align: left;
  border-bottom: 2px solid var(--rule); }
tbody td { padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--rule); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(0,0,0,0.02); }
td:first-child { color: var(--muted); white-space: nowrap; }
table.duo td:not(:first-child) { font-variant-numeric: tabular-nums; }
.history-table td { padding: 0.4rem 0.6rem; }

/* ---------- 近况圆点：与 jinbet form-dot 同名同色 ---------- */
.form-row { display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; }
.form-dot { width: 22px; height: 22px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; color: #fff; }
.form-dot.w { background: var(--win); }
.form-dot.d { background: var(--draw); }
.form-dot.l { background: var(--loss); }

/* ---------- 概率与评级 ---------- */
.pct { display: inline-block; font-variant-numeric: tabular-nums; font-size: 0.82rem;
  padding: 0.1rem 0.45rem; border-radius: 4px; font-weight: 600; }
/* 正文里的百分比：保留 pct 口径，但不带胶囊内边距 */
.pct.flat { padding: 0; background: none; font-size: inherit; }
.p-hi { background: rgba(16,185,129,0.12); color: var(--win); }
.p-mid { background: rgba(245,158,11,0.14); color: #b45309; }
.p-lo { background: rgba(107,114,128,0.1); color: var(--muted); }
.badge { display: inline-block; font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 4px;
  font-weight: 600; vertical-align: middle; }
.hit { display: inline-block; font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 4px;
  font-weight: 600; margin-left: 0.35rem; vertical-align: middle; }
.hit-y { background: rgba(16,185,129,0.12); color: var(--win); }
.hit-n { background: rgba(220,38,38,0.1); color: var(--loss); }
.tag { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.75rem;
  font-weight: 600; }
.tag-green { background: rgba(16,185,129,0.12); color: var(--win); }
.tag-red { background: rgba(220,38,38,0.1); color: var(--loss); }
.tag-yellow { background: rgba(245,158,11,0.12); color: var(--draw); }
.tag-blue { background: rgba(37,99,235,0.1); color: var(--home); }
.mini { display: inline-block; font-size: 0.75rem; color: var(--muted); border: 1px solid var(--rule);
  border-radius: 4px; padding: 0.05rem 0.45rem; }

/* ---------- 主推条：对齐对方的浅蓝结论块（#eff6ff + 蓝字） ---------- */
.mainpick { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap;
  background: var(--blue-50); color: var(--ink); border: 1px solid #bfdbfe;
  border-radius: 12px; padding: 0.9rem 1.25rem; margin: 1rem 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.mainpick .mp-lab { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  border-right: 1px solid #bfdbfe; padding-right: 0.9rem; }
.mainpick .mp-txt { font-size: 1rem; font-weight: 600; line-height: 1.5; flex: 1; min-width: 200px; }
.mainpick .mp-tag { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------- 风险提示：三档色条 ---------- */
.risk-note { display: flex; align-items: flex-start; gap: 0.75rem; flex-wrap: wrap;
  border-radius: 8px; padding: 0.7rem 1rem; margin: 0.75rem 0; font-size: 0.85rem;
  border-left: 3px solid var(--rule); background: var(--bg); }
.risk-note .risk-lab { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 0.1rem 0.5rem; border-radius: 4px; white-space: nowrap; }
.risk-note .risk-txt { flex: 1; min-width: 180px; }
.risk-note .risk-factors { margin: 0.3rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.risk-note .risk-factors li { line-height: 1.6; }
.r-info { border-left-color: var(--home); }
.r-info .risk-lab { background: rgba(37,99,235,0.12); color: var(--home); }
.r-warn { border-left-color: var(--accent3); background: rgba(245,158,11,0.08); }
.r-warn .risk-lab { background: rgba(245,158,11,0.18); color: #b45309; }
.r-block { border-left-color: var(--accent); background: rgba(220,38,38,0.06); }
.r-block .risk-lab { background: rgba(220,38,38,0.12); color: var(--accent); }

/* ---------- 外部对照表 ---------- */
table.ref-table td:not(:first-child) { font-variant-numeric: tabular-nums; }
table.ref-table td:nth-child(3) { color: var(--muted); }
table.ref-table .hit { margin-left: 0.25rem; }

/* ---------- 结论四宫格 ---------- */
.prediction { background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(16,185,129,0.02));
  border: 1px solid rgba(16,185,129,0.2); border-radius: 10px; padding: 1rem 1.25rem; margin: 1rem 0; }
.prediction .pred-title { font-size: 0.8rem; font-weight: 600; color: var(--accent2);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.picks4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.75rem; }
.pick { background: var(--bg2); border: 1px solid rgba(16,185,129,0.25); border-radius: 8px;
  padding: 0.75rem 0.9rem; }
.pick .lab { font-size: 0.75rem; color: var(--muted); }
.pick .val { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 1.25rem; font-weight: 700;
  color: var(--accent); margin: 0.25rem 0; }

/* ---------- 图表 ---------- */
.legend { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted);
  margin: 0.25rem 0 0.5rem; justify-content: center; }
.legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
svg.radar, svg.mom { width: 100%; height: auto; display: block; margin-top: 0.25rem; margin-inline: auto; }
svg.radar { max-width: 460px; }
svg.mom { max-width: 100%; }
svg.trend { width: 100%; height: auto; display: block; margin-top: 0.25rem; max-width: 100%; }
.chart-narrow { display: none; }
@media (max-width: 768px) { .chart-wide { display: none; } .chart-narrow { display: block; } }

/* ---------- 深度数据：联赛筛选 + 球队六维卡 ---------- */
.depth-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; }
.depth-tools select { font: inherit; padding: 6px 10px; border: 1px solid var(--rule); border-radius: 8px;
  background: var(--bg2); color: var(--ink); }
.depth-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.dt-card { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--bg2);
  color: inherit; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.dt-card:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06); }
.dt-radar svg { width: 84px; height: 84px; display: block; }
.dt-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dt-name { font-weight: 600; font-size: 0.95rem; }
.dt-lg { font-size: 0.78rem; color: var(--muted); }
.dt-line { font-size: 0.8rem; color: var(--muted); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.dt-power { font-size: 1.15rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.dt-power small { display: block; font-size: 0.62rem; font-weight: 400; color: var(--muted); text-align: right; }

/* ---------- 比赛卡片：结构与样式照搬 qiuxiaoce .match-card ---------- */
.match-card {
  display: block; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  overflow: hidden; margin: 0 0 15px; text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02); transition: all 0.2s;
}
.match-card:hover { border-color: #10b981; box-shadow: 0 4px 12px rgba(16,185,129,0.1);
  transform: translateY(-2px); text-decoration: none; }
.mc-header { display: flex; justify-content: space-between; align-items: center;
  padding: 10px 15px; background: #fff; border-bottom: 1px solid #f3f4f6; font-size: 13px; }
.mc-meta { display: flex; gap: 10px; align-items: center; }
.mc-meta .date { font-weight: 700; color: #111; font-size: 14px; }
.mc-meta .league { background: #eff6ff; color: #2563eb; padding: 2px 6px; border-radius: 4px;
  font-weight: 700; font-size: 12px; }
.mc-meta .num { color: #4b5563; background: #f3f4f6; padding: 2px 6px; border-radius: 4px;
  font-size: 12px; font-weight: 600; }
.mc-meta .time { font-weight: 700; color: #111; }
.mc-status { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.mc-conf { padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700;
  color: #fff; background: #6b7280; white-space: nowrap; }
.mc-conf.high { background: #dc2626; }
.mc-conf.medium { background: #f59e0b; }
.mc-conf.low { background: #3b82f6; }
.mc-conf.cold { background: #7c3aed; }
.mc-body { padding: 15px; display: flex; flex-direction: column; gap: 12px; }
.mc-teams { display: flex; justify-content: center; align-items: center; gap: 16px; }
.mc-team { width: 100px; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 6px; flex-shrink: 0; }
.mc-team img { width: 48px; height: 48px; object-fit: contain; }
.mc-team span { font-size: 14px; font-weight: 600; color: #111; display: -webkit-box;
  -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.3; max-width: 100px; }
.mc-score { text-align: center; min-width: 80px; }
.mc-score .main { font-size: 28px; font-weight: 800; color: #111; line-height: 1; }
.mc-score .sub { font-size: 13px; color: #6b7280; margin-top: 4px; }
.mc-score .vs { font-size: 20px; font-weight: 700; color: #d1d5db; }
.mc-tags { display: flex; justify-content: center; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.mc-tag { font-size: 12px; padding: 4px 10px; border-radius: 6px; background: #f3f4f6;
  color: #6b7280; display: inline-flex; align-items: center; gap: 4px; transition: all 0.2s; }
.mc-tag svg { width: 13px; height: 13px; }
.mc-tag .tag-state { display: inline-flex; align-items: center; }
.mc-tag .tag-state svg { width: 12px; height: 12px; }
.mc-tag.miss { background: #f3f4f6; color: #9ca3af; }
.mc-tag.miss .tag-state { color: #ef4444; }
.mc-tag-ph { background: transparent; border: 1px dashed #d1d5db; color: #9ca3af; }
.net-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 10px; }
.net-form .nf-block { min-width: 0; }
.net-form h3 { margin: 0 0 6px; }
@media (max-width: 640px) { .net-form { grid-template-columns: 1fr; } }
.panel-empty { font-size: 13px; color: #9ca3af; margin: 4px 0; }
.mood-text { display: grid; gap: 7px; }
.mood-text p { margin: 0; line-height: 1.9; }
.mood-text p.mk { color: #374151; font-size: 0.92em; padding-left: 10px; border-left: 2px solid var(--rule); }
/* 赛前情报：与赛前军情同构的克制排版（细灰边框、单行标题、一句摘要） */
.news-intel { display: grid; gap: 8px; }
.ni-item { padding-left: 10px; border-left: 2px solid var(--rule); }
.ni-item:hover { border-left-color: var(--accent); }
.ni-title { font-size: 0.92em; font-weight: 600; line-height: 1.6; }
.ni-title a { color: var(--ink); text-decoration: none; }
.ni-title a:hover { color: var(--accent); }
.ni-src { font-size: 0.72em; font-weight: 400; color: var(--muted); margin-left: 7px; }
.ni-text { font-size: 0.85em; color: var(--muted); line-height: 1.8; margin-top: 2px; }
/* 形势分析：三种结果 × 两队，一张满宽推演表 */
.sit-t th, .sit-t td { text-align: center; }
.sit-t th.rk, .sit-t td.rk { width: 5.2em; text-align: left; }
.sit-t .sth { display: inline-flex; align-items: center; gap: 7px; }
.sit-t .sth .crest { width: 20px; height: 20px; border-radius: 50%; }
.sit-t .sth b { font-weight: 700; color: #111; font-size: 0.86rem; }
.sit-t .sth i { font-style: normal; font-size: 0.74rem; font-weight: 400; color: var(--muted); }
.sit-t tbody td { font-size: 0.84rem; font-variant-numeric: tabular-nums; }
.sit-t tbody td .sv { white-space: nowrap; }
.sit-t tbody td b { font-size: 0.95rem; color: #111; }
.sit-t tbody td i { margin-left: 6px; font-style: normal; font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.sit-t td.rk { font-weight: 700; }
.sit-t td.rk.w { color: var(--win); }
.sit-t td.rk.d { color: var(--draw); }
.sit-t td.rk.l { color: var(--loss); }
.sit-t tfoot th { background: var(--bg); font-weight: 600; font-size: 0.74rem;
  color: var(--muted); text-align: left; white-space: nowrap; }
.sit-t tfoot td { text-align: left; font-size: 0.76rem; color: #475569; }
@media (max-width: 640px) {
  .sit-t th, .sit-t td { padding: 0.34rem 0.3rem; }
  .sit-t .sth { gap: 4px; }
  .sit-t .sth .crest { width: 16px; height: 16px; }
  .sit-t .sth i { display: none; }
  .sit-t tbody td i { display: block; margin: 2px 0 0; }
}
.pick-ph { color: #9ca3af; }
.pick-ph .lab { color: #9ca3af; }
[data-goto] { cursor: pointer; }
a.lg-link:hover, .lg-link:hover, .team-link:hover span:last-child { color: var(--accent); }
.team-link { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.mc-team .team-link span:last-child { transition: color 0.15s; }

/* ---------- 历史归档三视图：交易日 / 联赛 / 球队（纯 CSS radio 切换） ---------- */
.arch-tabs .fp-opt { margin-bottom: 10px; }
.arch-view { display: none; }
#at-date:checked ~ .av-date, #at-lg:checked ~ .av-lg, #at-tm:checked ~ .av-tm { display: block; }
#at-date:checked + label[for="at-date"], #at-lg:checked + label[for="at-lg"],
#at-tm:checked + label[for="at-tm"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.arch-count > span { display: none; }
.arch-count .ac-date { display: inline; }
body:has(#at-lg:checked) .arch-count .ac-date,
body:has(#at-tm:checked) .arch-count .ac-date { display: none; }
body:has(#at-lg:checked) .arch-count .ac-lg,
body:has(#at-tm:checked) .arch-count .ac-tm { display: inline; }
.arch-months { display: grid; gap: 10px; }
.arch-month { background: #fff; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.arch-month > summary { list-style: none; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; cursor: pointer; }
.arch-month > summary::-webkit-details-marker { display: none; }
.arch-month > summary::after { content: "▾"; margin-left: auto; color: var(--muted);
  font-size: 13px; line-height: 1; transition: transform 0.18s; }
.arch-month[open] > summary::after { transform: rotate(180deg); }
.arch-m-title { font-size: 15px; font-weight: 700; color: #111; }
.arch-m-n { font-size: 12px; color: var(--muted); }
.arch-month .arch-days { padding: 0 14px 14px; }
.arch-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.arch-day { display: flex; justify-content: space-between; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px;
  font-size: 13px; color: #374151; text-decoration: none; }
.arch-day:hover { border-color: #93c5fd; text-decoration: none; }
.arch-date { font-weight: 600; }
.arch-go { color: var(--accent); font-size: 12px; }
.arch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.arch-cell { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center;
  background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px;
  text-decoration: none; }
.arch-cell:hover { border-color: #93c5fd; text-decoration: none; }
.arch-name { font-weight: 700; font-size: 14px; color: #111; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.arch-n { font-size: 12px; color: #6b7280; }
.arch-cell .rank-bar-wrap { grid-column: 1 / -1; }
.arch-cell .rank-acc, .arch-cell .mini { grid-column: 1 / -1; text-align: right; }
.arch-lg-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.arch-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.arch-crest { width: 26px; height: 26px; object-fit: contain; flex: none; }
.arch-crest-ph { border-radius: 50%; background: var(--bg); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; }
.arch-dims { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 9px;
  padding-top: 9px; border-top: 1px solid var(--rule);
  grid-template-columns: repeat(4, minmax(0, 1fr)); }
.arch-dim { display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  min-width: 0; }
.arch-dim i { font-style: normal; font-size: 11px; color: #6b7280; }
.arch-dim b { font-size: 14px; font-weight: 700; color: #111; }
.arch-dim b.na { color: #9ca3af; }
.arch-dim em { font-style: normal; font-size: 10px; color: #9ca3af; }
@media(max-width:520px) {
  .arch-lg-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .arch-dims { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 6px; }
}
.mc-tag.hit { background: #fff1f0; color: #f56c6c; border: 1px solid #ffccc7; font-weight: 600; }
.mc-footer { display: flex; justify-content: space-between; align-items: center;
  padding: 10px 15px; background: #f9fafb; border-top: 1px solid #f3f4f6;
  margin: 0 -15px -15px; font-size: 12px; color: #6b7280; }
.mc-footer-left { display: flex; align-items: center; gap: 6px; flex: 1; overflow: hidden; }
.mc-highlight-icon { font-size: 14px; }
.mc-highlight-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prediction-stamp { display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; font-size: 12px; line-height: 20px; border-width: 1px;
  border-radius: 50%; flex-shrink: 0; }
.stamp-red { color: #dc2626; border: 1px solid #dc2626; background: #fff1f2; }
.stamp-black { color: #374151; border: 1px solid #374151; background: #f3f4f6; }

/* ---------- 双栏：主列 + 右侧栏（对齐 qiuxiaoce 的 v4 布局） ---------- */
.v4-layout { display: flex; gap: 20px; align-items: flex-start; }
.v4-main-col { flex: 1; min-width: 0; }
.right-sidebar-new { width: 360px; flex: none; display: flex; flex-direction: column; }
/* 右栏垂直节奏与左栏完全一致：间距全部用 margin（bar mb 12 / 卡 mb 15），
   不用 flex gap——gap 会叠加 bar 的 margin-bottom，把 AI 卡推低 16px */
.right-sidebar-new .ranking-card { margin: 0 0 15px; }
@media (max-width: 1000px) {
  .right-sidebar-new { display: none; }
}

/* ---------- Top 卡：榜序号 / 徽章 / 名称 / 绿色进度条 / 命中率 ---------- */
.ranking-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  overflow: hidden; }
.ranking-card .card-header { font-size: 14px; font-weight: 700; color: #111;
  padding: 10px 15px; border-bottom: 1px solid #f1f5f9; }
.ranking-list { padding: 6px 0; }
.ranking-item { display: flex; align-items: center; gap: 8px; padding: 7px 14px;
  color: #374151; font-size: 13px; }
.ranking-item:hover { background: #f8fafc; text-decoration: none; }
.rank-index { width: 18px; flex: none; text-align: center; font-size: 12px;
  font-weight: 700; color: #9ca3af; }
.ranking-item:nth-child(1) .rank-index { color: #dc2626; }
.ranking-item:nth-child(2) .rank-index { color: #ea580c; }
.ranking-item:nth-child(3) .rank-index { color: #ca8a04; }
.rank-logo { width: 22px; height: 22px; flex: none; object-fit: contain;
  border-radius: 50%; background: #f8fafc; }
.rank-logo-ph { display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #64748b; }
.rank-name { flex: none; width: 76px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; }
.rank-bar-wrap { flex: 1; height: 6px; background: #f1f5f9; border-radius: 3px; overflow: hidden; }
.rank-bar { height: 100%; background: linear-gradient(90deg, #6ee7b7, #10b981); border-radius: 3px; }
.rank-acc { flex: none; width: 44px; text-align: right; font-size: 12px; font-weight: 600;
  color: #10b981; }
.ranking-empty { padding: 14px 16px; font-size: 12px; color: #9ca3af; }

/* ---------- 右栏 AI 预测卡：复用 .ranking-card 卡壳，筛选芯片与左侧同款 ---------- */
/* 卡内自带时间/赛事两行筛选（fp-opt 同款），日期横向滚动、赛事横向滚动 */
/* AI 预测卡：筛选条完全独立在卡片外（与左侧同款白条），卡内只留标题+面板+列表 */
.ai-date { color: #6b7280; font-weight: 600; font-size: 13px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ai-filter-panel { display: none; background: #fff; border-bottom: 1px solid #f1f5f9;
  padding: 12px 14px; }
#ai-filter-panel .fp-row + .fp-row { margin-top: 8px; }
.ai-body { display: none; max-height: 480px; overflow-y: auto; padding: 8px 10px 12px; }
.ai-m { display: block; padding: 8px 8px 9px; border-radius: 8px; color: inherit;
  text-decoration: none; }
.ai-m:hover { background: #f8fafc; text-decoration: none; }
.ai-m + .ai-m { border-top: 1px solid #f8fafc; }
.ai-m-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: #111; margin-bottom: 5px; }
.ai-m-code { flex: none; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 11px;
  color: #6b7280; background: #f1f5f9; padding: 1px 6px; border-radius: 4px; }
.ai-m-vs { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-m-picks { display: flex; flex-wrap: wrap; gap: 5px; }
.ai-chip { display: inline-flex; align-items: center; gap: 3px; font-size: 11px;
  color: #374151; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 6px;
  padding: 2px 6px; }
.ai-chip svg { width: 12px; height: 12px; flex: none; color: #94a3b8; }
.ai-chip .pct { font-size: 11px; }

/* ---------- 数据统计页（结构对齐球小策 /shu-ju-tong-ji/） ---------- */
.stats-note { font-size: 13px; color: #6b7280; margin: 0 0 14px; }
.stats-main .stat-card .stat-num { font-size: 30px; font-weight: 800; color: #111; }
.stats-main .stat-card .stat-lbl { font-size: 13px; color: #6b7280; margin-top: 2px; }
.stats-box { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 16px; min-width: 0; margin: 16px 0; }
.stats-box h3 { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #111; }
.stats-box .history-table { margin-top: 8px; }
.insight-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.insight-list li { font-size: 13.5px; color: #374151; background: #f8fafc; border-radius: 8px; padding: 8px 12px; }
.insight-list li b { color: #111; }
/* 洞察总结：线图 + 横条各自横向铺满，chips 整行居中 */
.insight-viz { position: relative; display: flex; flex-direction: column; gap: 18px; }
.insight-block { min-width: 0; }
/* 交互浮层：折线吸附点 / 横条悬停明细共用一个卡片 */
.iv-tip { position: absolute; z-index: 6; pointer-events: none; min-width: 148px;
  max-width: 230px; background: #fff; border: 1px solid #e2e8f0; border-radius: 9px;
  box-shadow: 0 6px 18px rgba(15,23,42,.12); padding: 8px 10px; font-size: 12px;
  color: #334155; line-height: 1.55; }
.iv-tip[hidden] { display: none; }
.iv-tip .iv-t { display: flex; flex-direction: column; gap: 1px; }
.iv-tip .iv-t.horiz { flex-direction: row; flex-wrap: wrap; gap: 2px 10px; max-width: 320px; }
.iv-tip .iv-t.horiz span { white-space: nowrap; }
.iv-tip .iv-t > b { color: #0f172a; font-size: 12.5px; }
.iv-tip .pct { color: #2563eb; }
.itrend-hit { cursor: crosshair; }
.itrend-guide { opacity: 0; pointer-events: none; }
.itrend-guide.on { opacity: 1; }
.itrend-dot.on { stroke: #fff; stroke-width: 2; }
.hbar-row.on { background: rgba(37,99,235,.06); border-radius: 6px; }
.insight-block h4 { margin: 0 0 8px; font-size: 13px; color: var(--muted); text-align: center; font-weight: 600; }
svg.itrend { width: 100%; height: auto; display: block; }
svg.itrend-mob { display: none; }
@media (max-width: 900px) {
  svg.itrend-desk { display: none; }
  svg.itrend-mob { display: block; }
}
.itrend-legend { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  margin: 0 0 6px; font-size: 11.5px; color: var(--muted); }
.itrend-legend span { display: inline-flex; align-items: center; gap: 5px; }
.itrend-legend i { width: 12px; height: 8px; border-radius: 2px; display: inline-block; flex: none; }
.itrend-legend .lg-bar { background: rgba(148,163,184,.45); }
.itrend-legend .lg-avg { height: 0; border-top: 2px dashed #10b981; border-radius: 0; }
.itrend-legend .lg-base { height: 0; border-top: 2px dashed #f59e0b; border-radius: 0; }
.hbar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; margin: 6px 0; }
.hbar-label { width: 76px; flex: none; text-align: right; color: #374151; }
.hbar-track { flex: 1; height: 14px; background: #eef2f7; border-radius: 7px; overflow: hidden; }
.hbar-fill { display: block; height: 100%; background: linear-gradient(90deg, #2563eb, #60a5fa); border-radius: 7px; }
.hbar-num { width: 58px; flex: none; font-weight: 600; color: #111; }
.hbar-n { width: 56px; flex: none; text-align: right; font-size: 12px; color: #9ca3af; }
.rank-name { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.rank-name > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-crest { width: 20px; height: 20px; object-fit: contain; flex: none; }
.rank-crest-ph { display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #eaf1ff; color: #2563eb; font-size: 11px; font-weight: 700; }
.insight-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.insight-chip { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 999px; padding: 6px 14px; font-size: 13px; color: #374151; }
.insight-chip b { color: #111; }
.stats-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start;
  margin: 16px 0; }
.stats-duo .stats-box { margin: 0; }
@media (max-width: 1000px) { .stats-duo { grid-template-columns: 1fr; } }
.dim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 640px) { .dim-grid { grid-template-columns: repeat(2, 1fr); } }
.dim-card { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 10px;
  padding: 10px 12px; text-align: center; }
.dim-name { font-size: 12px; color: #6b7280; }
.dim-acc { font-size: 20px; font-weight: 800; color: var(--accent); margin: 3px 0; }
.dim-n { font-size: 11px; color: #9ca3af; }
.trend { display: flex; gap: 8px; align-items: stretch; }
.t-col { flex: 1; min-width: 0; text-align: center; }
.t-val { font-size: 11px; font-weight: 700; color: #10b981; }
.t-area { height: 90px; display: flex; align-items: flex-end; margin: 4px 0; }
.t-bar { width: 100%; background: linear-gradient(180deg, #6ee7b7, #10b981);
  border-radius: 4px 4px 0 0; min-height: 4px; }
.t-lbl { font-size: 10px; color: #6b7280; white-space: nowrap; }
.t-sub { font-size: 10px; color: #9ca3af; }
.team-out { max-height: 340px; overflow-y: auto; }
.team-stat + .team-stat { margin-top: 10px; }
.team-stat .ts-head { display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px; font-size: 13px; margin-bottom: 4px; }
.team-stat .ts-head span { font-size: 12px; color: #6b7280; }
.team-stat .pct { color: #10b981; font-weight: 700; }

/* ---------- 赔率 / 投注页 ---------- */
/* 日期选择为全站同款日历控件（.date-cal） */
#odds-dates { margin-bottom: 12px; }
.bet-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; }
@media (max-width: 800px) { .bet-form { grid-template-columns: repeat(2, 1fr); } }
.bet-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #6b7280; }
.bet-form select, .bet-form input { padding: 7px 9px; border: 1px solid var(--rule); border-radius: 8px;
  font-size: 13px; background: #fff; }
.bet-form .search-btn { align-self: end; padding: 8px 0; }
.bet-rec { padding: 9px 10px; border-radius: 8px; border: 1px solid #f1f5f9; }
.bet-rec + .bet-rec { margin-top: 8px; }
.bet-rec .br-head { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.bet-rec .br-head b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bet-rec .br-del { font-size: 11px; color: #dc2626; text-decoration: none; }
.bet-rec .br-meta { font-size: 12px; color: #6b7280; margin-top: 4px; }
.bet-rec .br-meta b { color: #111; }
.b-win { color: #dc2626; font-weight: 700; font-size: 12px; }
.b-lose { color: #9ca3af; font-weight: 700; font-size: 12px; }
.b-push { color: #2563eb; font-weight: 700; font-size: 12px; }
.b-wait { color: #d97706; font-weight: 700; font-size: 12px; }
.pnl-pos { color: #dc2626; }
.pnl-neg { color: #16a34a; }

/* 盘口页：全玩法面板（对照原工具「赔率管理」：彩色标签 + 数值框） */
.odds-match { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 14px 16px; margin-bottom: 14px; }
.odds-m-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 14px; font-weight: 700; color: #111; margin-bottom: 4px; }
.odds-m-head a { color: inherit; text-decoration: none; }
.odds-m-head a:hover { color: var(--accent); }
.odds-code { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 11px; font-weight: 500;
  background: #f1f5f9; padding: 2px 7px; border-radius: 5px; color: #6b7280; }
.odds-time { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 11.5px; font-weight: 700;
  color: #ef4444; background: #fff1f2; padding: 2px 7px; border-radius: 5px; }
.odds-lg { font-size: 11px; font-weight: 600; background: #eff6ff; color: var(--accent);
  padding: 2px 0; border-radius: 5px; width: 64px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }
.odds-vs { min-width: 190px; white-space: nowrap; }
.odds-res { margin-left: auto; font-size: 12px; color: #16a34a; font-weight: 700; }
.odds-sec { margin-top: 10px; }
.odds-sec-t { font-size: 12px; color: #6b7280; font-weight: 600; margin-bottom: 6px; }
.odds-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.odds-pill { display: inline-flex; align-items: stretch; border: 1px solid #eef0f4;
  border-radius: 8px; overflow: hidden; font-size: 12px; background: #fff; }
.odds-pill b { padding: 4px 8px; font-weight: 600; background: #f8f9fc; }
.odds-pill i { font-style: normal; padding: 4px 9px; font-weight: 700; color: #111;
  min-width: 40px; text-align: center; }
.odds-pill b.s-h { color: #dc2626; }
.odds-pill b.s-d { color: #6b7280; }
.odds-pill b.s-a { color: #0d9488; }
.odds-pill.hit { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.odds-pill.hit i { color: var(--accent); }
.rq-tag { font-size: 11px; color: #6b7280; background: #f1f5f9; border-radius: 6px;
  padding: 4px 8px; }

/* 记录本页：统计卡 / 编辑器 / 主表格（对照原工具「足彩记录」） */
.bets-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0; }
.bets-stats .stat-num { font-size: 1.4rem; }
@media (max-width: 800px) { .bets-stats { grid-template-columns: repeat(2, 1fr); } }
.bets-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 14px 16px; margin-bottom: 14px; }
.bets-card h3 { font-size: 14px; margin: 0 0 10px; color: #111; }
.bf-row { margin-bottom: 12px; }
.bf-row > label { display: block; font-size: 12px; color: #6b7280; font-weight: 600; margin-bottom: 6px; }
.bf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-check, .bf-opt { font-size: 12px; color: #374151; background: #f8f9fc;
  border: 1px solid #eef0f4; border-radius: 6px; padding: 4px 9px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; }
.bf-check:has(input:checked), .bf-opt:has(input:checked) { background: #eff6ff;
  border-color: var(--accent); color: var(--accent); font-weight: 600; }
.bf-persons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.bf-person { font-size: 12px; background: #f8f9fc; border: 1px solid #eef0f4;
  border-radius: 6px; padding: 3px 8px; display: inline-flex; align-items: center; gap: 4px; }
.bf-person input { width: 52px; border: none; background: transparent; font-size: 12px; }
.bf-pdel { color: #dc2626; text-decoration: none; cursor: pointer; }
.bf-addperson { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.bf-addperson select, .bf-addperson input { font-size: 12px; padding: 4px 7px;
  border: 1px solid var(--rule); border-radius: 6px; }
.bf-schedule { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.bt-mini, .bf-actions button { font-size: 12px; padding: 6px 12px; border-radius: 8px;
  border: 1px solid #e2e8f0; background: #fff; color: #374151; cursor: pointer; }
.bt-mini:hover { border-color: #93c5fd; color: var(--accent); }
.bt-gold { background: #fef3c7; border-color: #fcd34d; font-weight: 600; }
.bt-go { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.bf-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.bf-sp { font-size: 12px; color: #6b7280; background: #f8f9fc; border-radius: 16px; padding: 5px 12px; }
.bf-sp b { color: #111; }
.bf-games { display: flex; flex-direction: column; gap: 8px; }
/* 场次行：对照原工具「足彩记录」——联赛彩色徽章 + 编号 + 对阵 + 玩法/选项
   下拉 + ＋添加选项（青色）+ 删除✕，已加选项为可删标签 */
.bf-game { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #eef0f4; border-radius: 10px; padding: 9px 12px; }
.bf-lg { flex: none; font-size: 11px; font-weight: 700; color: #fff;
  padding: 3px 0; border-radius: 6px; width: 64px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }
.lg-ucl { background: #1d4ed8; } .lg-uel { background: #ea580c; }
.lg-uecl { background: #059669; } .lg-lib { background: #0d9488; }
.lg-j1 { background: #2563eb; } .lg-epl { background: #7c3aed; }
.lg-c0 { background: #64748b; } .lg-c1 { background: #b45309; }
.lg-c2 { background: #be185d; } .lg-c3 { background: #4d7c0f; } .lg-c4 { background: #0e7490; }
.bf-code { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 11px;
  background: #f1f5f9; padding: 2px 6px; border-radius: 4px; color: #6b7280; }
.bf-vs { font-size: 13px; color: #111; }
.bf-vs b { font-weight: 700; }
.bf-done { font-size: 12px; color: #dc2626; background: #fff1f2;
  padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.bf-mk, .bf-osel { font-size: 12px; padding: 5px 8px; border: 1px solid var(--rule);
  border-radius: 8px; background: #fff; color: #111; cursor: pointer; }
.bf-addopt { font-size: 12px; color: #fff; background: #06b6d4; border: none;
  border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.bf-addopt:hover { background: #0891b2; }
.bf-gdel { color: #dc2626; font-size: 14px; cursor: pointer; text-decoration: none;
  margin-left: auto; }
.bf-picks { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; }
.bf-pick { font-size: 12px; background: #f8fafc; border: 1px solid #eef2f7;
  border-radius: 8px; padding: 4px 8px; color: #374151; }
.bf-pdel { color: #dc2626; cursor: pointer; margin-left: 2px; }
.bf-addgames { width: 100%; border: 1px dashed #93c5fd; background: #f8fbff;
  color: var(--accent); border-radius: 10px; padding: 10px; font-size: 13px;
  cursor: pointer; }
.bf-addgames:hover { background: #eff6ff; }
.bf-res { font-family: 'SFMono-Regular', Consolas, monospace; color: #6b7280; }
.hit-y { color: #dc2626; }
.hit-n { color: #9ca3af; }
.bets-actions { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; }
.bets-actions .sub { margin: 0; line-height: 1.6; }
.bets-actions button { line-height: 1.4; flex: none; }

/* ---------- 投注页：自定义赛果结算 ---------- */
.cr-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.cr-bar .sub { margin: 0; }
.cr-list { display: flex; flex-direction: column; gap: 6px; }
.cr-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: #f8fafc; border-radius: 8px; padding: 6px 10px; }
.cr-vs i { margin: 0; }
.cr-in { font-size: 12px; color: #6b7280; white-space: nowrap; }
.cr-n { width: 40px; text-align: center; font-size: 13px; padding: 4px 2px;
  border: 1px solid var(--rule); border-radius: 6px; }
.cr-site { font-size: 11px; color: #16a34a; background: #f0fdf4;
  border-radius: 10px; padding: 2px 8px; }
.cr-site.cr-none { color: #d97706; background: #fffbeb; }

/* ---------- 每日赛事前瞻（独立模块 preview/，列表页 + 报告页备用样式） ---------- */
.pv-lead { font-size: 13.5px; color: #6b7280; margin: 0 0 14px; }
.pv-tree { display: flex; flex-direction: column; gap: 10px; }
.pv-year, .pv-month { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.pv-year summary, .pv-month summary { cursor: pointer; padding: 11px 16px; font-size: 14px;
  font-weight: 700; color: #111; list-style: none; display: flex; align-items: center; gap: 8px; }
.pv-year summary::-webkit-details-marker, .pv-month summary::-webkit-details-marker { display: none; }
.pv-year summary::before, .pv-month summary::before { content: "▸"; color: #94a3b8; font-size: 12px; }
.pv-year[open] > summary::before, .pv-month[open] > summary::before { content: "▾"; }
.pv-year summary i, .pv-month summary i { font-style: normal; font-weight: 400;
  font-size: 12px; color: #9ca3af; }
.pv-month { margin: 0 10px 10px; background: #f8fafc; box-shadow: none; }
.pv-year[open] > summary, .pv-month[open] > summary { border-bottom: 1px solid #f1f5f9; }
.pv-month > .pv-grid { padding: 10px; }
.pv-envs { display: flex; flex-direction: column; gap: 10px; }
.pv-env { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); padding: 10px 14px; }
.pv-env-h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pv-env-vs { font-size: 13.5px; color: #111; }
.pv-env-vs b { font-weight: 700; }
.pv-env-vs i { font-style: normal; color: #94a3b8; font-size: 11px; margin: 0 6px; }
.pv-env-row { font-size: 13px; color: #374151; background: #f8fafc; border-radius: 8px;
  padding: 6px 10px; margin-top: 4px; line-height: 1.6; }
.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.pv-day { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  color: inherit; transition: transform .12s ease, box-shadow .12s ease; }
.pv-day:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15,23,42,0.10); }
.pv-d { font-size: 16px; font-weight: 800; color: #111; }
.pv-w { font-size: 12px; color: var(--accent); font-weight: 700; }
.pv-n { font-size: 12.5px; color: #374151; font-weight: 600; }
.pv-lg { font-size: 11.5px; color: #9ca3af; }
.pv-go { font-size: 12px; color: var(--accent); margin-top: 4px; font-weight: 600; }
.pv-back { display: inline-block; font-size: 13px; color: #6b7280; text-decoration: none; margin-bottom: 10px; }
.pv-back:hover { color: var(--accent); }
.pv-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px;
  color: #6b7280; background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 12px 16px; margin-bottom: 6px; }
.pv-head .pv-w { font-size: 14px; }
.pv-h2 { font-size: 15.5px; margin: 18px 0 10px; color: #111; }
.pv-table td i { font-style: normal; color: #9ca3af; font-size: 11px; margin-left: 3px; }
.pv-lg2 { font-size: 11px; color: #9ca3af; }
.pv-table .pv-lg2 { display: block; font-size: 10.5px; }
.pv-tm { font-family: 'SFMono-Regular', Consolas, monospace; font-weight: 700; color: #ef4444; white-space: nowrap; }
.pv-act { font-weight: 700; color: #111; white-space: nowrap; }
.pv-conf { font-size: 11px; font-weight: 700; border-radius: 10px; padding: 2px 9px; white-space: nowrap; }
.pv-c-high { background: #fee2e2; color: #dc2626; }
.pv-c-medium { background: #fef3c7; color: #d97706; }
.pv-c-low { background: #f1f5f9; color: #64748b; }
.pv-c-none { background: #f1f5f9; color: #9ca3af; }
.pv-hot { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 12px 16px; margin-bottom: 10px; }
.pv-hot-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pv-hot-vs { font-size: 14px; color: #111; }
.pv-hot-vs i { font-style: normal; color: #94a3b8; font-size: 11px; margin: 0 4px; }
.pv-more { margin-left: auto; font-size: 12.5px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.pv-pick { font-size: 13.5px; color: #374151; margin: 8px 0 4px; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pv-chip { font-size: 12px; color: #374151; background: #f8f9fc; border: 1px solid #eef0f4;
  border-radius: 14px; padding: 4px 10px; }
.pv-chip b { color: #6b7280; font-weight: 600; margin-right: 4px; }
.pv-chip i { font-style: normal; color: #9ca3af; }
.bk-combos { background: #fafbfc; border: 1px solid #eef0f4; border-radius: 10px;
  padding: 10px 12px; font-size: 12px; color: #374151; max-height: 300px; overflow-y: auto; }
.bk-combos b { display: block; margin-bottom: 6px; color: #111; }
.bk-combo { padding: 3px 0; border-bottom: 1px dashed #eef0f4; }
.bets-filter { display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: 13px; color: #374151; }
.bets-filter select { font-size: 13px; padding: 5px 9px; border: 1px solid var(--rule);
  border-radius: 8px; background: #fff; }
.bets-twrap { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 6px 12px; overflow-x: auto; }
.bets-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.bets-table th, .bets-table td { padding: 8px 9px; text-align: left; border-bottom: 1px solid #f1f5f9;
  vertical-align: top; }
.bets-table th { color: #6b7280; font-weight: 600; font-size: 12px; white-space: nowrap; }
.bt-small { font-size: 12px; }
.bt-chip { font-size: 11px; font-weight: 700; border-radius: 12px; padding: 3px 9px; white-space: nowrap; }
.bt-win { background: #fee2e2; color: #dc2626; }
.bt-lose { background: #f1f5f9; color: #9ca3af; }
.bt-pending { background: #fef3c7; color: #d97706; }
.bt-del { color: #dc2626; font-size: 12px; text-decoration: none; cursor: pointer; }
.bets-foot { font-size: 12px; color: #9ca3af; margin: 10px 2px; }

/* ---------- 投注页：竞彩式选号区（赔率格点选 + 右侧投注篮） ---------- */
.nb-layout { display: flex; align-items: flex-start; gap: 14px; margin: 14px 0 4px; }
.nb-main { flex: 1; min-width: 0; background: #fff; border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06); padding: 14px 16px; }
.nb-topbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; }
.nb-day { font-size: 15px; font-weight: 700; color: #111; }
.nb-count { font-size: 12px; color: #6b7280; }
.nb-match { border-bottom: 1px dashed #eef2f7; padding: 12px 0; }
.nb-match:last-child { border-bottom: none; }
.nb-mrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nb-mleft { flex: none; width: 78px; display: flex; flex-direction: column;
  align-items: flex-start; gap: 5px; }
.nb-mleft .nb-more { padding: 0; font-size: 11px; }
.nb-code { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 11px; color: #64748b;
  background: #f1f5f9; border-radius: 4px; padding: 2px 6px; white-space: nowrap; }
.nb-time { font-size: 12px; color: #6b7280; white-space: nowrap; }
.nb-time:empty { display: none; }
/* 主客队占位一致：主队右对齐定宽 → VS 居中 → 客队左对齐，上下 VS 对齐 */
.nb-vs, .cr-vs, .odds-vs { display: inline-flex; align-items: center; min-width: 190px;
  font-size: 13.5px; color: #111; }
.nb-vs b, .cr-vs b, .odds-vs b { font-weight: 700; }
.nb-vs i, .cr-vs i, .odds-vs i { flex: none; width: 40px; text-align: center;
  font-style: normal; color: #94a3b8; font-size: 11px; }
.nb-vs b:first-of-type, .cr-vs b:first-of-type, .odds-vs b:first-of-type {
  flex: none; width: 96px; text-align: right; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.nb-vs b:last-of-type, .cr-vs b:last-of-type, .odds-vs b:last-of-type {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.nb-done { font-size: 12px; color: #dc2626; background: #fff1f2; border-radius: 10px; padding: 2px 8px; }
.nb-time { font-size: 12px; color: #6b7280; white-space: nowrap; }
.nb-time:empty { display: none; }
.nb-plays { margin-left: auto; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.nb-blk { display: flex; align-items: center; gap: 6px; }
.nb-blk-t { font-size: 11px; color: #9ca3af; white-space: nowrap; width: 52px; text-align: right; }
.nb-cells { display: flex; gap: 4px; flex-wrap: wrap; }
.nb-cell { min-width: 54px; text-align: center; border: 1px solid #e5e7eb; border-radius: 6px;
  background: #fff; padding: 4px 6px; cursor: pointer; user-select: none; line-height: 1.25; }
.nb-cell b { display: block; font-size: 11px; color: #6b7280; font-weight: 600; }
.nb-cell i { display: block; font-style: normal; font-size: 13px; font-weight: 700; color: #111; }
.nb-cell:hover { border-color: #ef4444; }
.nb-cell.on { background: #ef4444; border-color: #ef4444; }
.nb-cell.on b, .nb-cell.on i { color: #fff; }
.nb-more { font-size: 12px; color: #2563eb; background: none; border: none; cursor: pointer;
  white-space: nowrap; padding: 4px 2px; }
.nb-more:hover { color: #ef4444; }
.nb-ex { display: none; margin-top: 10px; padding: 8px 12px; background: #f8fafc; border-radius: 8px; }
.nb-ex-sec { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; padding: 6px 0; }
.nb-ex-sec + .nb-ex-sec { border-top: 1px dashed #e8edf3; }
.nb-ex-t { flex: none; font-size: 11px; color: #9ca3af; white-space: nowrap;
  width: 52px; text-align: right; padding-top: 5px; box-sizing: border-box; }
.nb-ex-sec .nb-cells { flex: 1; min-width: 0; }
/* 投注篮 */
.nb-basket { flex: none; width: 300px; background: #fff; border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06); padding: 14px; position: sticky; top: 70px; }
.nb-bk-t { display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 700; color: #111; margin-bottom: 8px; }
.nb-bk-t .sub { margin: 0; font-weight: 400; }
.nb-bk-clear { font-size: 12px; color: #9ca3af; cursor: pointer; font-weight: 400; text-decoration: none; }
.nb-bk-clear:hover { color: #ef4444; }
.nb-bk-list { max-height: 250px; overflow-y: auto; margin-bottom: 10px; }
.nb-bk-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #374151;
  padding: 5px 0; border-bottom: 1px dashed #f1f5f9; }
.nb-bk-item .m { color: #6b7280; white-space: nowrap; }
.nb-bk-item .o { color: #ef4444; font-weight: 700; margin-left: auto; white-space: nowrap; }
.nb-bk-item a { color: #dc2626; cursor: pointer; text-decoration: none; }
.nb-bk-empty { font-size: 12px; color: #9ca3af; padding: 14px 0; text-align: center; }
.nb-lab { font-size: 12px; color: #6b7280; font-weight: 600; margin-bottom: 6px; }
.nb-pass { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.nb-pass label { font-size: 12px; color: #374151; background: #f8f9fc; border: 1px solid #eef0f4;
  border-radius: 14px; padding: 4px 10px; cursor: pointer; }
.nb-pass label:has(input:checked) { background: #ef4444; border-color: #ef4444; color: #fff; font-weight: 600; }
.nb-pass label.dis { opacity: 0.4; pointer-events: none; }
.nb-pass input { display: none; }
.nb-mult { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #6b7280; margin-bottom: 10px; }
.nb-mult button { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--rule);
  background: #f8f9fc; font-size: 14px; cursor: pointer; line-height: 1; padding: 0; }
.nb-mult input { width: 52px; text-align: center; font-size: 13px; padding: 4px;
  border: 1px solid var(--rule); border-radius: 6px; }
.nb-sum { display: flex; justify-content: space-between; font-size: 12.5px; color: #374151; padding: 3px 0; }
.nb-sum b { color: #111; }
.nb-prize { background: #fff7f7; border-radius: 8px; padding: 8px 10px; margin: 8px 0;
  font-size: 12.5px; color: #374151; display: flex; justify-content: space-between; align-items: center; }
.nb-prize b { color: #ef4444; font-size: 14px; }
.nb-pers { margin-bottom: 10px; }
.nb-save { width: 100%; border: none; background: #ef4444; color: #fff; font-size: 14px;
  font-weight: 700; border-radius: 8px; padding: 10px 0; cursor: pointer; }
.nb-save:hover { background: #dc2626; }
.nb-msg { font-size: 12px; color: #16a34a; margin-top: 6px; min-height: 16px; }
@media (max-width: 960px) {
  .nb-layout { flex-direction: column; }
  .nb-basket { width: 100%; position: static; }
}

/* ---------- 联赛 / 球队专题页：头部对齐对方 .lt-header（徽章 + 标题 + 统计） ---------- */
.lt-header { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 22px 24px; display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.lt-logo { width: 52px; height: 52px; object-fit: contain; flex: none;
  border-radius: 50%; background: #f8fafc; }
.lt-logo-ph { display: flex; align-items: center; justify-content: center; font-size: 22px;
  font-weight: 700; color: #64748b; }
.lt-title { font-size: 20px; font-weight: 800; color: #111; margin: 0 0 4px; }
.lt-meta { font-size: 13px; color: #6b7280; }
.lt-meta b { color: var(--accent); }
/* 卡片/列表里联赛名、球队名的内链：继承原样式，hover 出主题色 */
a.team-link { color: inherit; text-decoration: none; }
a.team-link:hover { color: var(--accent); text-decoration: none; }
a.team-link span, a.team-link img { cursor: pointer; }
a.lg-link { color: inherit; text-decoration: none; }
a.lg-link:hover { color: var(--accent); text-decoration: none; }

/* ---------- 列表网格：对方是单列垂直列表，主列宽度约等于其 1200 - 侧栏 ---------- */
.cards { display: block; }
.card-picks { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; font-size: 0.8rem;
  color: var(--muted); }

/* ---------- 置信度条 ---------- */
.conf-bar { display: flex; align-items: center; gap: 0.5rem; margin: 0.5rem 0; }
.bar-track { flex: 1; height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent2), var(--accent3));
  border-radius: 4px; }
.bar-label { font-size: 0.8rem; color: var(--muted); }

/* ---------- 提示与页脚 ---------- */
.warning { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3);
  border-radius: 8px; padding: 0.75rem 1rem; margin: 0.75rem 0; font-size: 0.85rem; color: #b45309; }
.ledger { background: var(--bg2); border: 1px dashed var(--rule); border-radius: 10px;
  padding: 1rem 1.25rem; margin: 1.25rem 0; font-size: 0.8rem; color: var(--muted); }
.ledger code { font-family: 'SFMono-Regular', Consolas, monospace; background: var(--bg);
  padding: 0.1rem 0.4rem; border-radius: 4px; color: var(--ink); }
/* ---------- 球员情报 ---------- */
.sq-sum { margin-bottom: 10px; }
.sq-chg { margin-left: 3px; font-size: 0.72rem; font-weight: 600; white-space: nowrap; }
.sq-chg.up { color: #0d9488; }
.sq-chg.down { color: #94a3b8; }
.sq-chg.flat { color: #cbd5e1; }
.sq-est { display: inline-block; padding: 0 4px; border-radius: 3px; vertical-align: 1px;
  background: #fef3c7; color: #92400e; font-size: 0.68rem; line-height: 1.5; }
.sq-table td:not(:first-child) { text-align: right; white-space: nowrap; }
/* 表头与单元格必须同向对齐，且两条规则特异性要相同：
   nth-child(2)/(3) 写在后面才覆盖得了「球员」「位置」两列。
   曾因 thead th:not(:first-child) 特异性更高，这两个表头被强制右对齐、
   数据却左对齐，看起来像列名错列。 */
.sq-table th:not(:first-child) { text-align: right; }
.sq-table td:nth-child(2), .sq-table th:nth-child(2) { text-align: left; }
.sq-table td:nth-child(3), .sq-table th:nth-child(3) { text-align: left; }
/* 长球员名既不换行也不裁切：把「位置」列表头与数据整体右移腾出留白。
   641~1099px 列宽不足，锁定 1100px 表格宽交给 .tw 横向滚动，与桌面列宽一致；
   ≤640px 为 auto 布局且隐藏两列，本就不重叠。 */
@media (min-width: 641px) {
  .sq-table th:nth-child(3), .sq-table td:nth-child(3) { padding-left: 90px; }
}
@media (min-width: 641px) and (max-width: 1099px) {
  .sq-table { min-width: 1100px; }
}
@media(max-width:640px) {
  .sq-table { font-size: 0.76rem; }
  .sq-sum th:nth-child(5), .sq-sum td:nth-child(5) { display: none; }
  .sq-table th:nth-child(5), .sq-table td:nth-child(5),
  .sq-table th:nth-child(6), .sq-table td:nth-child(6) { display: none; }
}
.disclaimer { background: var(--bg2); border-left: 3px solid var(--rule); padding: 0.6rem 1rem;
  color: var(--muted); font-size: 0.8rem; margin: 1.5rem 0; }
footer.site { background: var(--bg2); border-top: 1px solid var(--rule); padding: 1.5rem 0;
  margin-top: 2.5rem; text-align: center; font-size: 0.8rem; color: var(--muted); }

/* ---------- 移动端底部导航：桌面隐藏，≤768px 固定贴底 ---------- */
.v4-bottom-nav-global { display: none; }
.v4-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: #6b7280; text-decoration: none; flex: 1; padding: 6px 0; }
.v4-nav-item:hover { text-decoration: none; }
.v4-nav-item.active { color: #2563eb; }
.v4-nav-icon { font-size: 20px; line-height: 1; display: flex; align-items: center; }
.v4-nav-icon svg { width: 21px; height: 21px; }
.v4-nav-lbl { font-size: 10px; }

@media (max-width: 768px) {
  .wrap { padding: 0 1rem; }
  main .wrap > h1 { font-size: 1.35rem; }
  .match-teams { font-size: 1.05rem; gap: 0.6rem; }
  .odds-grid { gap: 0.5rem; }
  .cards { grid-template-columns: 1fr; }
  .mainpick { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .mainpick .mp-lab { border-right: none; border-bottom: 1px solid #bfdbfe;
    padding: 0 0 0.35rem; }
  /* 以下六条照抄对方 768px 的卡片规则 */
  .match-card { margin: 0 0 12px; }
  .mc-header { padding: 8px 12px; }
  .mc-body { padding: 12px; gap: 10px; }
  .mc-team { width: 88px; }
  .mc-team .crest { width: 40px; height: 40px; }
  .mc-team span { font-size: 12px; max-width: 80px; }
  .crest-ph { font-size: 15px; }
  .mc-score .main { font-size: 24px; }
  .mc-score .vs { font-size: 18px; }
  .mc-tags { gap: 6px; }
  .mc-tag { font-size: 10px; padding: 3px 8px; }
  .mc-footer { padding: 8px 12px; margin: 0 -12px -12px; }
  /* 移动端：顶部文字导航让位给底部固定导航 */
  header.site nav.site { display: none; }
  .v4-bottom-nav-global { display: flex; position: fixed; bottom: 0; left: 0; width: 100%;
    background: #fff; border-top: 1px solid #e5e7eb; justify-content: space-around;
    align-items: center; height: 60px; z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    padding-bottom: env(safe-area-inset-bottom); }
  body { padding-bottom: 70px; }
}

/* 平板竖屏 / 大屏手机：四宫格降到两列，面板内边距收紧 */
@media (max-width: 640px) {
  .picks4 { grid-template-columns: repeat(2, 1fr); }
  /* 窄屏列少、文字要换行，均分列宽会把日期拆成两行：回到按内容自适应 */
  table { table-layout: auto; }
  /* 屏宽只有 390，单元格左右内边距吃掉近半列宽：收紧一档，表头才不竖排 */
  thead th, tbody td { padding-left: 0.4rem; padding-right: 0.4rem; }
  /* 列多时宁可整表横滑，也不让「比分」「半全场」被压成竖排两个字 */
  thead th { white-space: nowrap; }
  .insight-grid { grid-template-columns: 1fr; }
  .pick .val { font-size: 1.1rem; }
  .card, .panel { padding: 1rem 0.9rem; }
  .odds-item .value { font-size: 1.1rem; }
  .match-teams { font-size: 1rem; }
  .crest { width: 26px; height: 26px; }
  h1.match-teams .crest { width: 34px; height: 34px; }
  svg.radar { max-width: 100%; }
  .mainpick .mp-txt { font-size: 0.92rem; }
  table { font-size: 0.8rem; }
  thead th, tbody td { padding: 0.45rem 0.5rem; }
}

/* 小屏手机：四宫格单列，页头副标题让位给导航 */
@media (max-width: 480px) {
  .wrap { padding: 0 0.75rem; }
  main .wrap > h1 { font-size: 1.15rem; }
  .picks4 { grid-template-columns: 1fr; }
  .odds-grid { gap: 0.35rem; }
  .odds-item { padding: 0.55rem 0.25rem; }
  .odds-item .value { font-size: 1rem; }
  .of-sec table { font-size: 0.75rem; }
  .match-teams { font-size: 0.92rem; gap: 0.4rem; }
  .crest { width: 22px; height: 22px; }
  h1.match-teams .crest { width: 28px; height: 28px; }
  .brand span { display: none; }
  .card-header { gap: 0.4rem; font-size: 0.75rem; }
  nav.site { gap: 0.7rem; font-size: 0.78rem; }
  .form-dot { width: 18px; height: 18px; font-size: 0.6rem; }
  .risk-note { padding: 0.6rem 0.75rem; }
  .legend { gap: 0.7rem; font-size: 0.72rem; }
}

/* ---------- 红彩数据块：核心数据对比 / 盘路走势 / 进球时段 / 赛前分析 ---------- */
/* 核心数据对比：中轴对称对战条，主队从中间往左长、客队往右长 */
.cmp { display: grid; gap: 3px; }
.cmp-row { display: grid; grid-template-columns: 3.8em 1fr 5.8em 1fr 3.8em;
  align-items: center; gap: 6px; font-size: 0.82rem; line-height: 1.6; }
.cmp-row .ch { text-align: right; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums; }
.cmp-row .ca { text-align: left; font-weight: 700; color: #64748b;
  font-variant-numeric: tabular-nums; }
.cmp-row .ck { text-align: center; color: var(--muted); font-size: 0.76rem; white-space: nowrap; }
.cm { height: 6px; background: #eef2f6; border-radius: 3px; overflow: hidden; display: flex;
  min-width: 0; }
.cmp-row > * { min-width: 0; }
.cm.h { justify-content: flex-end; }
.cm i { display: block; height: 100%; border-radius: 3px; min-width: 0; }
.cm.h i { background: var(--accent); }
.cm.a i { background: #c3d0e4; }
@media (max-width: 480px) {
  .cmp-row { grid-template-columns: 3em 1fr 4.6em 1fr 3em; gap: 4px; font-size: 0.75rem; }
  .cmp-row .ck { font-size: 0.68rem; }
}

/* 盘路走势：两张队表，列宽均分，末列放胜平负方块序列 */
.dish-t td, .dish-t th { text-align: center; white-space: nowrap; }
.dish-t td:first-child, .dish-t th:first-child { text-align: left; }
.dish-t .dish-hd td { background: #f8fafc; font-weight: 700; color: #111;
  text-align: left; border-top: 1px solid var(--rule); }
.dish-t tbody:first-of-type .dish-hd td { border-top: 0; }
.dish-t .seq-cell { text-align: right; }
.seq { display: inline-flex; gap: 1px; }
.sq { width: 13px; height: 13px; border-radius: 3px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 8px; font-weight: 700; color: #fff; }
.sq.w { background: var(--win); }
.sq.d { background: var(--draw); }
.sq.l { background: var(--loss); }
/* 窄屏：隐藏进/失列、方块收成纯色块，保证 12 场走势不被截断 */
@media (max-width: 640px) {
  .dish-t { font-size: 0.72rem; }
  .dish-t th, .dish-t td { padding: 0.32rem 0.18rem; }
  .dish-t th:nth-child(5), .dish-t td:nth-child(5) { display: none; }
  .sq { width: 9px; height: 9px; font-size: 0; border-radius: 2px; }
}

/* 进球时段分布：两队各一组，进球深色 / 失球浅色 */
.gd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.gd-grid h3 { margin: 0 0 6px; }
.gd-row { display: grid; grid-template-columns: 4.2em 1fr 3.2em; align-items: center;
  gap: 7px; font-size: 0.79rem; line-height: 1.9; }
.gd-row .gk { color: #334155; font-variant-numeric: tabular-nums; }
.gd-track { display: grid; gap: 2px; }
.gd-bar { height: 5px; background: #eef2f6; border-radius: 3px; overflow: hidden; }
.gd-bar i { display: block; height: 100%; border-radius: 3px; }
.gd-bar.sc i { background: var(--accent); }
.gd-bar.cd i { background: #cbd5e1; }
.gd-row .gv { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.gd-key { display: flex; gap: 12px; font-size: 0.72rem; color: var(--muted); margin: 0 0 4px; }
.gd-key span { display: inline-flex; align-items: center; gap: 4px; }
.gd-key i { width: 10px; height: 5px; border-radius: 3px; display: inline-block; }
.gd-key i.sc { background: var(--accent); }
.gd-key i.cd { background: #cbd5e1; }
@media (max-width: 640px) {
  .gd-grid { grid-template-columns: 1fr; gap: 0; }
  .gd-grid > div + div { margin-top: 14px; }
}

/* 赛前分析：两队短句并列 */
.ana-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.ana-grid h3 { margin: 0 0 6px; }
.ana-grid ul { margin: 0; padding-left: 1.05em; }
.ana-grid li { font-size: 0.84rem; line-height: 1.85; color: #374151; }
.ana-grid li + li { margin-top: 2px; }
@media (max-width: 640px) {
  .ana-grid { grid-template-columns: 1fr; gap: 0; }
  .ana-grid > div + div { margin-top: 14px; }
}

/* ================= 数据对比版式（橙=主队 / 蓝=客队） ================= */
/* 单行对比：数值—条—标签—条—数值，两条各自从中轴向两侧生长 */
.hc-cmp { display: grid; gap: 11px; }
.hc-cmp + .hc-cmp { margin-top: 14px; }
.hc-row { display: grid; grid-template-columns: 4.2em 1fr 6.4em 1fr 4.2em;
  align-items: center; gap: 9px; }
.hc-row > b { font-size: 0.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hc-row .hv { text-align: right; color: var(--hc-h); }
.hc-row .av { text-align: left; color: var(--hc-a); }
.hc-row .hl { text-align: center; font-size: 0.76rem; color: #59616e; white-space: nowrap; }
.hc-track { height: 9px; border-radius: 5px; background: var(--hc-track);
  display: flex; overflow: hidden; }
.hc-track.h { justify-content: flex-start; }
.hc-track.a { justify-content: flex-end; }
.hc-track i { display: block; height: 100%; border-radius: 5px; min-width: 2px; }
.hc-track.h i { background: linear-gradient(90deg, var(--hc-h), #93b4f8); }
.hc-track.a i { background: linear-gradient(90deg, #f9c877, var(--hc-a)); }

/* 队名行（对比面板顶部） */
.hc-teams { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 0 0 14px; font-size: 0.9rem; font-weight: 700; color: #111; }
.hc-teams .tm { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.hc-teams .tm.a { flex-direction: row-reverse; }
.hc-teams img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.hc-teams .crest { width: 26px; height: 26px; }
.hc-teams .crest-ph { width: 26px; height: 26px; font-size: 0.78rem; }
.hc-teams span.n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 面板内的二级小标题（同一面板里分段） */
.blk-h { margin: 20px 0 3px; font-size: 0.9rem; font-weight: 700; color: #111;
  padding-top: 16px; border-top: 1px solid var(--rule); }
.panel-hint { margin: 0 0 12px; font-size: 0.72rem; color: var(--muted); }
.panel-hint .lg { width: 8px; height: 8px; border-radius: 50%; display: inline-block;
  margin: 0 5px 0 14px; vertical-align: middle; }
.panel-hint .lg:first-child { margin-left: 0; }
.panel-hint .lg.h { background: var(--hc-h); }
.panel-hint .lg.a { background: var(--hc-a); }
.radar-wrap { text-align: center; padding-bottom: 6px; }
.radar-wrap .legend { justify-content: center; margin: 0 0 10px; font-size: 0.74rem; }
.radar-wrap svg { width: 100%; max-width: 460px; height: auto; display: inline-block; }
.hc-times { margin: 0 0 14px; }

/* 纯 CSS 标签页（radio + label，无脚本） */
.hc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px;
  position: relative; }
.hc-tabs input { position: absolute; width: 1px; height: 1px; opacity: 0;
  pointer-events: none; }
.hc-tabs label { padding: 0.32rem 0.88rem; border-radius: 999px; background: #f1f4f8;
  color: #4b5563; font-size: 0.78rem; cursor: pointer; border: 1px solid transparent;
  transition: background 0.15s, color 0.15s; user-select: none; }
.hc-tabs label:hover { background: #e6ebf2; }
.hc-tabs input:checked + label { background: var(--accent); color: #fff; font-weight: 600; }
.hc-tabs input:focus-visible + label { outline: 2px solid var(--hc-a); outline-offset: 2px; }
.hc-pane { display: none; width: 100%; }
.hc-tabs input:nth-of-type(1):checked ~ .hc-pane.p1,
.hc-tabs input:nth-of-type(2):checked ~ .hc-pane.p2,
.hc-tabs input:nth-of-type(3):checked ~ .hc-pane.p3,
.hc-tabs input:nth-of-type(4):checked ~ .hc-pane.p4 { display: block; }

/* 胜负方块序列（比表格里的 13px 大一档，单独成行） */
.hc-seq { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.hc-seq span { width: 24px; height: 24px; border-radius: 5px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700;
  color: #fff; }
.hc-seq .w { background: var(--win); }
.hc-seq .d { background: #9aa3af; }
.hc-seq .l { background: var(--loss); }

/* 近期战绩：两队并排小卡 + 方块 */
.hc-form2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 16px; }
.hc-form2 .fc { background: #f8fafc; border: 1px solid var(--rule); border-radius: 10px;
  padding: 12px 10px 10px; text-align: center; }
.hc-form2 .fc h4 { margin: 0 0 10px; font-size: 0.8rem; font-weight: 600; color: #334155; }
.hc-form2 .fc .fc-sum { margin: 10px 0 0; font-size: 0.74rem; color: var(--muted);
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* 历史交锋的三个大数字 */
.hc-wdl { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  margin: 2px 0 16px; text-align: center; }
.hc-wdl b { display: block; font-size: 1.9rem; font-weight: 700; line-height: 1.15;
  font-variant-numeric: tabular-nums; }
.hc-wdl span { font-size: 0.74rem; color: var(--muted); }
.hc-wdl .w b { color: var(--hc-h); }
.hc-wdl .d b { color: #374151; }
.hc-wdl .l b { color: var(--hc-a); }

/* 双柱状图（进球 / 丢球时段分布） */
.hc-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px;
  max-width: 620px; margin: 0 auto; }
.hc-bars .bg { display: flex; gap: 4px; align-items: flex-end; justify-content: center;
  height: 118px; }
.hc-bars .bh { position: relative; flex: 1; max-width: 40px; height: 100%; }
.hc-bars .bh i { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 3px 3px 0 0;
  display: block; min-height: 2px; }
.hc-bars .bh b { position: absolute; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--h) + 4px); font-size: 0.62rem; font-weight: 600; color: #64748b;
  white-space: nowrap; font-variant-numeric: tabular-nums; }
.hc-bars .bh.h i { background: var(--hc-h); }
.hc-bars .bh.a i { background: var(--hc-a); }
.hc-axis { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px;
  margin: 6px auto 0; max-width: 620px; font-size: 0.68rem; color: var(--muted);
  text-align: center; }

/* 模型视角：预期进球 / 三方向比分 / 模型与市场 / 冷门刻度 */
.mv-block + .mv-block { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--rule); }
.mv-block h4 { margin: 0 0 9px; font-size: 0.82rem; font-weight: 600; color: #374151; }
.mv-goal { display: flex; align-items: baseline; gap: 10px; }
.mv-goal-n { font-size: 1.72rem; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums; color: #111; }
.mv-goal-n em { font-size: 0.78rem; font-weight: 500; font-style: normal;
  color: var(--muted); margin-left: 3px; }
.mv-goal-l { font-size: 0.8rem; color: var(--muted); }
.mv-stack { display: flex; height: 10px; border-radius: 5px; overflow: hidden;
  margin: 11px 0 7px; background: var(--bg); }
.mv-stack i { display: block; height: 100%; }
.mv-stack i.h { background: linear-gradient(90deg, var(--hc-h), #93b4f8); }
.mv-stack i.a { background: linear-gradient(90deg, #f9c877, var(--hc-a)); }
.mv-legend { display: flex; justify-content: space-between; gap: 12px;
  font-size: 0.78rem; color: #4b5563; }
.mv-legend b { color: #111; font-weight: 600; }
.mv-bands { display: grid; gap: 7px; margin-top: 13px; }
.mv-band { display: grid; grid-template-columns: 4.8em minmax(0, 1fr) 3.8em;
  align-items: center; gap: 9px; font-size: 0.78rem; }
.mv-band-l { color: #4b5563; white-space: nowrap; }
.mv-band b { text-align: right; font-variant-numeric: tabular-nums; }
.mv-band .bar-track > i { display: block; height: 100%; border-radius: 4px; }
.mv-band .b0 { background: linear-gradient(90deg, #34d399, #10b981); }
.mv-band .b1 { background: linear-gradient(90deg, #60a5fa, #2563eb); }
.mv-band .b2 { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.mv-quad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.mv-q { border: 1px solid var(--rule); border-radius: 10px; padding: 10px 8px;
  text-align: center; background: #fbfcfe; }
.mv-q-lab { display: block; font-size: 0.72rem; color: var(--muted); }
.mv-q-score { display: block; font-size: 1.16rem; font-weight: 700; margin: 3px 0 2px;
  font-variant-numeric: tabular-nums; color: #111; }
.mv-q-p { display: block; font-size: 0.95rem; font-weight: 700; }
.mv-q-d { display: block; margin-top: 5px; font-size: 0.7rem; color: var(--muted); }
.mv-mkt3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.mv-mk-c { border: 1px solid var(--rule); border-radius: 10px; padding: 9px 11px;
  background: #fbfcfe; text-align: center; }
.mv-mk-l { display: block; margin-bottom: 5px; font-size: 0.72rem; color: var(--muted); }
.mv-mk-v { display: flex; align-items: baseline; justify-content: center; gap: 7px; }
.mv-mk-v em { font-style: normal; font-size: 0.68rem; color: var(--muted); }
.mv-mk-v.m .pct { color: var(--muted); font-weight: 500; }
.mv-up-h { display: flex; align-items: baseline; gap: 9px; font-size: 0.82rem; }
.mv-up-h .mv-t { color: var(--muted); }
.mv-up-h b { font-size: 1.02rem; font-weight: 700; }
.mv-scale { position: relative; display: flex; height: 9px; border-radius: 5px;
  overflow: hidden; margin: 10px 0 5px; }
.mv-scale i { display: block; height: 100%; }
.mv-scale .s1 { width: 50%; background: rgba(16,163,74,0.28); }
.mv-scale .s2 { width: 15%; background: rgba(234,150,10,0.32); }
.mv-scale .s3 { width: 35%; background: rgba(220,70,80,0.28); }
.mv-scale em { position: absolute; top: -3px; bottom: -3px; background: #111;
  border-radius: 1px; }
.mv-scale-l { display: flex; justify-content: space-between; font-size: 0.72rem;
  color: var(--muted); }

/* 比赛列表：一行一场，日期锚点条 + 分组平铺 */
.ml-jump { display: flex; gap: 0; overflow-x: auto; padding: 8px 4px 10px;
  background: #f7f9ff; border-bottom: 2px solid var(--accent);
  border-radius: 10px 10px 0 0; scrollbar-width: thin; }
.ml-jump-a { flex: 1 0 66px; min-width: 66px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; padding: 9px 4px 10px;
  border: 1px solid transparent; border-radius: 10px; text-decoration: none;
  color: var(--ink); background: transparent; cursor: pointer; }
.ml-jump-a .dow { font-size: 0.7rem; color: var(--muted); line-height: 1.2; }
.ml-jump-a .dm { font-size: 0.88rem; font-weight: 700; line-height: 1.2;
  font-variant-numeric: tabular-nums; }
.ml-jump-a:hover { background: rgba(37, 99, 235, 0.06); }
.ml-legend { display: flex; align-items: center; gap: 14px; margin: 0 0 10px;
  font-size: 0.72rem; color: var(--muted); }
.ml-legend span, .ml-legend b { display: inline-flex; align-items: center; gap: 4px;
  font-weight: 400; }
.ml-day { margin: 24px 0 10px; font-size: 0.95rem; font-weight: 700; scroll-margin-top: 70px;
  display: flex; align-items: center; gap: 9px; }
.mlines { border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: #fff; }
.mline { display: grid; grid-template-columns: 60px 64px minmax(0, 1fr) 132px 104px;
  align-items: center; gap: 10px; padding: 0.56rem 14px; border-bottom: 1px solid var(--rule);
  text-decoration: none; color: var(--ink); font-size: 0.84rem; }
.mline:last-of-type, .mlines > .mline:last-child { border-bottom: none; }
a.mline:hover { background: rgba(0, 0, 0, 0.025); }
.ml-t { display: flex; flex-direction: column; gap: 1px; line-height: 1.25;
  font-variant-numeric: tabular-nums; color: #374151; }
.ml-code { font-style: normal; font-size: 0.64rem; font-weight: 600;
  color: var(--accent); white-space: nowrap; }
.ml-crest { width: 20px; height: 20px; object-fit: contain; flex: 0 0 auto; }
.ml-crest-ph { display: block; border-radius: 50%; background: #f1f3f6; }
.ml-lg { font-size: 0.74rem; color: var(--muted); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.ml-teams { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
  align-items: center; gap: 10px; min-width: 0; }
.ml-h, .ml-a { display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 600; }
.ml-h { justify-content: flex-end; }
.ml-a { justify-content: flex-start; }
.ml-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ml-v { text-align: center; font-size: 0.7rem; color: var(--muted); }
.mlf { flex: 0 0 auto; display: inline-flex; gap: 3px; }
.mlf i, .ml-legend i { display: block; width: 6px; height: 6px; border-radius: 50%;
  background: #d1d5db; }
.mlf i.w, .ml-legend i.w { background: #0f7a43; }
.mlf i.d, .ml-legend i.d { background: #9ca3af; }
.mlf i.l, .ml-legend i.l { background: #cf6679; }
.ml-pick { display: flex; gap: 6px; justify-content: flex-end; font-size: 0.74rem; }
.ml-pick em { font-style: normal; padding: 1px 7px; border-radius: 6px; background: var(--bg);
  color: #4b5563; white-space: nowrap; }
.ml-st { text-align: right; font-size: 0.78rem; font-variant-numeric: tabular-nums;
  color: var(--muted); white-space: nowrap; }
.ml-st.win { color: #0f7a43; font-weight: 600; }
.ml-st.lose { color: #a3252f; }
.mline.off { color: #9ca3af; background: #fcfdfe; }
.mline.off .ml-h, .mline.off .ml-a { font-weight: 500; }
.mline.off .mlf i { opacity: 0.55; }
@media(max-width:640px) {
  .mline { grid-template-columns: auto auto minmax(0, 1fr);
    grid-template-areas: "t lg st" "tms tms tms"; row-gap: 3px; column-gap: 8px;
    padding: 0.5rem 12px; font-size: 0.82rem; }
  .ml-t { grid-area: t; }
  .ml-lg { grid-area: lg; text-align: left; }
  .ml-st { grid-area: st; font-size: 0.76rem; }
  .ml-teams { grid-area: tms;
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); gap: 8px; }
  .mline .mlf { display: none; }
  .ml-t { flex-direction: row; align-items: baseline; gap: 6px; }
  .ml-code { font-size: 0.62rem; }
  .ml-crest { width: 18px; height: 18px; }
  .ml-h { justify-content: flex-end; }
  .ml-pick { display: none; }
  .ml-day { margin: 18px 0 8px; }
  .ml-jump { padding: 7px 2px 9px; }
  .ml-jump-a { flex-basis: 60px; min-width: 60px; gap: 4px; }
  .ml-jump-a .dm { font-size: 0.8rem; }
}

/* 比赛列表：竞彩 / 全部赛程切换（纯 CSS radio） */
/* 队徽占宽后，中等屏幕让近 5 场点退位，优先保住队名完整 */
@media(min-width:641px) and (max-width:900px) {
  .mline .mlf { display: none; }
}
@media(max-width:360px) {
  .ml-crest { width: 16px; height: 16px; }
  .ml-h, .ml-a { gap: 4px; }
  .ml-teams { gap: 5px; }
}
.ml-tabs .fp-opt { margin-bottom: 10px; cursor: pointer; }
.ml-panel .n-all { display: none; }
#ml-all:checked ~ .ml-panel .n-all { display: inline; }
#ml-all:checked ~ .ml-panel .n-jc { display: none; }
#ml-jc:checked ~ .ml-panel .mline[data-jc="0"] { display: none; }
#ml-jc:checked ~ .ml-panel .ml-sec.empty-jc .mlines,
#ml-jc:checked ~ .ml-panel .ml-sec.empty-jc .ml-day { display: none; }
.ml-sec { scroll-margin-top: 70px; }
.ml-sec.empty-jc { margin-top: 8px; }
#ml-all:checked ~ .ml-panel .ml-more { display: none; }
.ml-more { display: block; margin: 10px 0 6px; padding: 10px 14px; text-align: center;
  border: 1px dashed var(--rule); border-radius: 10px; background: #fff;
  font-size: 0.8rem; color: var(--accent); cursor: pointer; }
.ml-more:hover { border-color: var(--accent2); }
.ml-day .n-jc, .ml-day .n-all { font-weight: 600; }

/* 比赛天气卡片 */
.wx-card { display: grid; gap: 10px; background: #f8fafc; border: 1px solid var(--rule);
  border-radius: 12px; padding: 15px 18px; }
.wx-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wx-data { flex: 1 1 0; min-width: 0; }
.wx-row .wx-tag { margin-left: auto; }
.wx-icon { font-size: 2.6rem; line-height: 1; }
.wx-top { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.wx-temp { font-size: 1.9rem; font-weight: 700; color: #111; line-height: 1.05;
  font-variant-numeric: tabular-nums; }
.wx-temp small { font-size: 0.95rem; font-weight: 500; color: #6b7280; margin-left: 1px; }
.wx-meta { display: flex; flex-wrap: wrap; column-gap: 10px; row-gap: 2px;
  font-size: 0.78rem; color: #4b5563; }
.wx-meta span { white-space: nowrap; }
.wx-name { font-size: 0.8rem; color: #374151; margin-top: 2px; }
.wx-teams { display: grid; gap: 3px; font-size: 0.78rem;
  color: #4b5563; border-top: 1px dashed var(--rule); padding-top: 9px; margin-top: 1px; }
.wx-teams span b { color: #111; font-weight: 600; }
.wx-verdict { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  text-align: left; font-size: 0.84rem; color: #374151; line-height: 1.6;
  border-top: 1px dashed var(--rule); padding-top: 9px; margin-top: 1px; }
.wx-say { flex: 1 1 auto; min-width: 0; }
.wx-verdict + .wx-teams { border-top: none; padding-top: 0; }
.wx-tag { flex: 0 0 auto; font-size: 0.72rem; font-weight: 600; padding: 2px 9px;
  border-radius: 999px; white-space: nowrap; }
.wx-tag.ok { color: #0f7a43; background: rgba(16,163,74,0.12); }
.wx-tag.warn { color: #8a5a00; background: rgba(234,150,10,0.15); }
.wx-tag.bad { color: #a3252f; background: rgba(220,70,80,0.13); }
.wx-fit { flex: 0 0 auto; margin-left: auto; text-align: right; font-weight: 600; color: #111; }

/* 裁判执法：姓名卡 + 场均表 */
.ref-card { background: #f8fafc; border: 1px solid var(--rule); border-radius: 10px;
  padding: 12px 16px; margin-bottom: 14px; }
.ref-card b { font-size: 0.98rem; color: #111; font-weight: 700; }
.ref-card span { display: block; font-size: 0.74rem; color: var(--muted); margin-top: 3px; }
.ref-t th, .ref-t td { text-align: center; }
.ref-t td:first-child, .ref-t th:first-child { text-align: left; color: #334155;
  font-weight: 600; white-space: nowrap; }
.ref-t td { font-variant-numeric: tabular-nums; }

/* 明细折叠 */
.fold { margin-top: 14px; border-top: 1px dashed var(--rule); padding-top: 10px; }
.fold summary { cursor: pointer; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.fold summary:hover { color: var(--accent); }
.fold[open] summary { margin-bottom: 8px; }

@media (max-width: 640px) {
  .hc-row { grid-template-columns: 2.9em 1fr 4.4em 1fr 2.9em; gap: 5px; }
  .hc-row > b { font-size: 0.72rem; }
  .hc-row .hl { font-size: 0.68rem; }
  .hc-track { height: 8px; }
  .hc-form2 { grid-template-columns: 1fr; }
  .hc-bars .bg { height: 96px; }
  .hc-bars .bh b { font-size: 0.56rem; }
  .hc-axis { font-size: 0.62rem; }
  .hc-teams { font-size: 0.84rem; }
  .hc-teams img, .hc-teams .crest-ph { width: 22px; height: 22px; }
  .wx-card { padding: 13px 14px; gap: 8px; }
  .wx-row { gap: 11px; }
  .wx-row { align-items: flex-start; }
  .wx-verdict { display: block; }
  .wx-fit { display: block; margin: 4px 0 0; text-align: left; }
  .wx-icon { font-size: 2.1rem; }
  .wx-temp { font-size: 1.6rem; }
  .ref-t th, .ref-t td { padding: 0.4rem 0.3rem; font-size: 0.74rem; }
}
