/* 本地自托管可变字体 (2026-10-04, 替代 Google Fonts 外链; font-display: optional 消除字体回流 CLS) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url(fonts/inter-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url(fonts/inter-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 800;
  font-display: optional;
  src: url(fonts/playfair-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 800;
  font-display: optional;
  src: url(fonts/playfair-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* ============================================================
   ScoreLens — 消费版视觉体系 (设计文档 §10.2 Design Tokens)
   bg #F7F8FA · card #FFF r16 border #E8EAF0 · brand #014DB2→#06214A
   强调橙 #F79009 (客队) · 中性灰 #D0D5DD (平局) · Inter / Playfair Display
   ============================================================ */
:root {
  --bg: #F7F8FA;
  --card: #FFFFFF;
  --border: #E8EAF0;
  --brand: #014DB2;
  --brand-deep: #06214A;
  --accent: #F79009;
  --neutral: #D0D5DD;
  --t1: #101828;
  --t2: #344054;
  --t3: #667085;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .06);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--t2);
  font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: 'Playfair Display', Georgia, serif; }

/* ---------- 顶栏 ---------- */
.topnav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.topnav .inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--t1); }
.logo .mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), #0B6BD6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; }
.navlinks { display: flex; gap: 22px; font-weight: 500; }
.navlinks a { color: var(--t2); font-size: 14.5px; }
.navlinks a.active, .navlinks a:hover { color: var(--brand); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-btn { border: 1px solid var(--border); background: #fff; border-radius: 20px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--t2); cursor: pointer; }
select.lang-btn { appearance: none; -webkit-appearance: none; text-align: center; max-width: 150px; }
.btn-primary { background: var(--brand); color: #fff; border: none; border-radius: 20px; padding: 8px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; padding: 8px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.btn-outline { background: #fff; color: var(--brand); border: 1px solid var(--brand); border-radius: 20px; padding: 8px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; }

/* ---------- 广告位 ---------- */
.ad-slot { border: 1.5px dashed var(--border); border-radius: 10px; background: #FBFCFD; display: flex; align-items: center; justify-content: center; color: #98A2B3; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin: 0 auto; }
/* ==== 临时下线（2026-10-02 用户要求先隐藏，恢复 = 删除本段） ==== */
.ad-slot { display: none !important; }
button[data-i18n="nav.signin"] { display: none !important; }
/* ==== /临时下线 ==== */
.ad-leaderboard { width: 728px; max-width: 100%; height: 96px; margin-top: 20px; }
.ad-rect { width: 300px; height: 254px; }
.ad-skyscraper { width: 300px; height: 604px; }
.ad-inarticle { width: 100%; height: 204px; margin: 26px 0; }
.ad-mobile { width: 320px; max-width: 100%; height: 54px; margin: 14px auto; }
.ad-label::after { content: "advertisement · " attr(data-size); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(120deg, var(--brand) 0%, #06337A 55%, var(--brand-deep) 100%); color: #fff; padding: 46px 0 52px; margin-top: 4px; }
.hero .grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.hero .kicker { font-size: 11.5px; letter-spacing: .12em; font-weight: 700; color: #9CC2F5; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; }
.hero p { color: #C8D8F2; font-size: 15.5px; max-width: 560px; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 12px; }
.hero-card { background: #fff; color: var(--t1); border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 12px 32px rgba(2,16,43,.35); }
.hero-card h2 { font-size: 13px; color: var(--t3); font-weight: 600; margin-bottom: 12px; }

/* ---------- 概率条 (1X2 三段) ---------- */
.probbar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; font-size: 12.5px; font-weight: 700; color: #fff; }
.probbar .h { background: var(--brand); display: flex; align-items: center; justify-content: center; min-width: 0; white-space: nowrap; overflow: hidden; }
.probbar .d { background: var(--neutral); color: var(--t2); display: flex; align-items: center; justify-content: center; }
.probbar .a { background: var(--accent); color: #1A1D29; display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; }
.probbar.slim { height: 8px; border-radius: 5px; }
.probbar.slim span { display: block; height: 100%; }
.legends { display: flex; gap: 14px; font-size: 12.5px; color: var(--t3); margin-top: 10px; flex-wrap: wrap; }
.legends b { color: var(--t1); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }

/* ---------- 区块与卡片 ---------- */
.section { padding: 44px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section-head h2 { font-size: 22px; color: var(--t1); font-weight: 800; letter-spacing: -.01em; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--border); background: #fff; border-radius: 18px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--t2); cursor: pointer; }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.match-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px; border-bottom: 1px solid var(--border); cursor: pointer; }
.match-row:last-child { border-bottom: none; }
.match-row:hover { background: #FAFBFF; }
.match-meta { font-size: 12.5px; color: var(--t3); margin-bottom: 3px; }
/* 2026-10-12 (用户令): 赛程行主/客队合并为同一行, 省一行高度。首页/联赛/国家队/赛程/球队
   五处共用同一渲染函数(renderMatchList 与 fixtureCardsHTML), 左列由固定 210~220px 改为
   可伸缩 .match-lead; 队名超长省略号兜底。
   2026-10-12 追加(用户令): 队名不做粗体 —— 基础规则 font-weight 由原 700 改为 400(常规),
   并把它连同早前误删的 color/font-size 一起并回(首页此前正是继承默认 400, 故此值与首页观感一致);
   vs 两侧留白 10px, 字重 400 与队名同重但更小更灰, 视觉层次靠字号与颜色区分。 */
.match-teams { font-weight: 400; color: var(--t1); font-size: 15.5px; }
.match-teams.oneline { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.match-teams.oneline .mt-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-teams.oneline .mt-vs { flex: 0 0 auto; font-weight: 400; font-size: 11.5px; color: var(--t3); }
.match-lead { flex: 1 1 auto; min-width: 300px; }
.match-bar { flex: 1; max-width: 300px; }
.match-bar .pct { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--t3); margin-top: 4px; }
.btn-analysis { background: #EEF4FD; color: var(--brand); font-weight: 700; font-size: 13px; border-radius: 16px; padding: 7px 16px; white-space: nowrap; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 6px; padding: 2px 8px; }
.badge-league { background: #EEF4FD; color: var(--brand); }
.badge-high { background: #E8F7EE; color: #067647; }
.badge-medium { background: #FEF4E6; color: #B54708; }
.badge-low { background: #F2F4F7; color: #475467; }

/* ---------- 侧栏 ---------- */
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
/* 2026-10-11 版面修复：右栏此前随页面滚走 —— 长页面（赛程/球队/联赛/国家队/比赛）
   右侧 340px 在首屏之后长期空白（实测 aside/main 高度比仅 0.03~0.13）。
   改为粘性跟随（顶部导航 64px，留 20px 间距）。仅桌面双栏生效；
   高栏给上限并内部滚动，避免底部永远看不到。回退 = 删除本段。 */
@media (min-width: 961px) {
  .two-col > aside { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; }
}
.side-card { padding: 20px; }
.side-card h3 { font-size: 16px; color: var(--t1); font-weight: 800; margin-bottom: 12px; }
.side-list li { list-style: none; padding: 9px 0; border-bottom: 1px solid #F2F4F7; font-size: 14px; color: var(--t2); }
.side-list li:last-child { border-bottom: none; }
.side-list .tag { color: var(--t3); font-size: 12px; }
.newsletter { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); border-radius: var(--radius); color: #fff; padding: 24px; }
.newsletter h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.newsletter p { font-size: 13.5px; color: #C8D8F2; margin-bottom: 14px; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; border: none; border-radius: 20px; padding: 9px 14px; font-size: 13px; }
.newsletter button { background: var(--accent); color: #1A1D29; border: none; border-radius: 20px; padding: 9px 16px; font-weight: 700; font-size: 13px; cursor: pointer; }

/* ---------- Newsroom ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { overflow: hidden; cursor: pointer; }
.news-card .cover { height: 150px; background: linear-gradient(135deg, #0E3A78, var(--brand)); position: relative; display: flex; align-items: flex-end; padding: 14px; }
.news-card .cover .cat { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: #fff; text-transform: uppercase; }
.news-card .body { padding: 16px 18px 18px; }
.news-card h3 { font-size: 16px; color: var(--t1); font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.news-card p { font-size: 13.5px; color: var(--t3); margin-bottom: 10px; }
.news-card .meta { font-size: 12px; color: #6B7280; }

/* ---------- 文章页 ---------- */
.article-head { max-width: 780px; margin: 34px auto 0; }
.article-head .crumb { font-size: 12.5px; color: var(--t3); margin-bottom: 18px; }
.article-head .cat { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; color: var(--brand); text-transform: uppercase; margin-bottom: 10px; }
.article-head h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; line-height: 1.2; color: var(--t1); font-weight: 800; margin-bottom: 14px; }
.article-head .dek { font-size: 16.5px; color: var(--t3); margin-bottom: 20px; }
.byline { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.byline .avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #4C8DE8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.byline .who b { display: block; color: var(--t1); font-size: 14px; }
.byline .who span { font-size: 12.5px; color: var(--t3); }
.article-body { max-width: 780px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: var(--t2); }
.article-body p { margin: 18px 0; }
.article-body h2 { font-size: 22px; color: var(--t1); margin: 34px 0 10px; font-weight: 800; }
.article-body blockquote { background: #EEF4FD; border-left: 4px solid var(--brand); border-radius: 10px; padding: 18px 22px; margin: 26px 0; font-family: 'Playfair Display', Georgia, serif; font-size: 18.5px; line-height: 1.5; color: var(--brand-deep); font-weight: 600; }
.article-cover { max-width: 780px; margin: 0 auto 8px; border-radius: var(--radius); overflow: hidden; }
.article-cover .ph { height: 320px; background: linear-gradient(120deg, #06214A, #0E3A78 60%, #014DB2); display: flex; align-items: center; justify-content: center; color: #9CC2F5; font-size: 13px; letter-spacing: .1em; }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 780px; margin: 26px auto; }
.stat-strip .cell { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.stat-strip .num { font-size: 24px; font-weight: 800; color: var(--brand); }
.stat-strip .lbl { font-size: 12.5px; color: var(--t3); }

/* ---------- 比分矩阵热力图 ---------- */
.matrix-wrap { display: grid; grid-template-columns: auto 1fr; gap: 24px; }
.matrix { border-collapse: separate; border-spacing: 4px; }
.matrix th { font-size: 11.5px; color: var(--t3); font-weight: 600; padding: 4px; }
.matrix td { width: 58px; height: 44px; border-radius: 8px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--t1); background: #F0F4FA; }
.matrix td.empty { background: #F7F9FC; color: #B6BECB; }
/* 完赛场次: 真实比分格高亮 (2026-10-06, 矩阵由留痕 λ + scope rho 重建) */
.matrix td.hit { outline: 2.5px solid var(--brand); outline-offset: -2.5px; color: var(--brand); }
.matrix td.hit b { font-size: 13px; letter-spacing: -.02em; }
.axis-note { font-size: 12px; color: var(--t3); margin-top: 10px; }
.topchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.score-chip { border-radius: 16px; padding: 6px 13px; font-size: 13px; font-weight: 700; background: #F2F4F7; color: var(--t2); }
.score-chip.top { background: var(--brand); color: #fff; }
.howto { background: #F4F7FD; border-radius: 12px; padding: 18px 20px; font-size: 13.5px; color: var(--t2); }
.howto b { color: var(--t1); }
.howto ul { margin: 10px 0 0 16px; }

/* ---------- 详情页头卡 ---------- */
.crumbs { font-size: 12.5px; color: var(--t3); padding: 18px 0 14px; }
.match-head { padding: 24px 28px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-bottom: 24px; }
.team-side { display: flex; align-items: center; gap: 12px; }
.team-side.right { justify-content: flex-end; text-align: right; }
.team-crest { width: 44px; height: 44px; border-radius: 50%; background: #EEF4FD; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--brand); overflow: hidden; }
.team-crest img { width: 30px; height: 30px; object-fit: contain; }
.team-name { font-size: 22px; font-weight: 800; color: var(--t1); white-space: nowrap; }
.vs-midwrap { display:flex; flex-direction:column; align-items:center; min-width:0; }
.vs-mid { text-align: center; color: var(--t3); font-size: 13px; }
.kick-line { text-align: right; font-size: 13px; color: var(--t3); margin-bottom: 10px; }
.upd-note { font-size: 12.5px; color: var(--t3); margin-top: 12px; }

/* ---------- 模型表现卡 ---------- */
.perf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.perf-cell { background: #F7F9FC; border-radius: 12px; padding: 14px; }
.perf-cell .n { font-size: 22px; font-weight: 800; color: var(--brand); }
.perf-cell .l { font-size: 12px; color: var(--t3); }

/* ---------- 最近赛果: 赛果 vs 赛前预测 对照 (2026-10-05) ----------
   无内滚动: 全部场次直接铺开, 由页面滚动承载 */
.perf-list { margin-top: 2px; }
.perf-row { padding: 10px 0; border-bottom: 1px solid #EEF1F6; }
.perf-row:last-child { border-bottom: none; }
.perf-row .pr-top { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--t3); }
.perf-row .pr-date { min-width: 44px; }
.perf-row .pr-lg { min-width: 0; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.perf-row .pr-spacer { flex: 1; }
.perf-row .pr-main { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; margin-top: 5px; }
.perf-row .pr-teams { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.perf-row .pr-teams .tn { flex: 1; min-width: 0; font-size: 13.5px; color: var(--t1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.perf-row .pr-teams .tn:first-child { text-align: right; }
.perf-row .pr-teams .sc { flex: 0 0 auto; min-width: 54px; text-align: center; font-size: 14px; font-weight: 800; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
/* 比分即入口 (2026-10-06 定稿): 行内不再单列「分析 →」, 由比分本身的虚线下划线提示可点。
   hover 转实线 + 浅蓝底。 */
.perf-row .pr-teams a.sc {
  cursor: pointer; border-radius: 6px; padding: 1px 6px;
  text-decoration: underline dotted rgba(1, 77, 178, .5);
  text-decoration-thickness: 1px; text-underline-offset: 3px;
  transition: background .15s, color .15s, text-decoration-color .15s; }
.perf-row .pr-teams a.sc:hover {
  background: #EEF2FF; color: var(--brand);
  text-decoration: underline solid var(--brand); }
.perf-row .pr-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.perf-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: 12px; white-space: nowrap; }
.perf-pill .k { font-size: 11px; color: var(--t3); }
.perf-pill .v { font-weight: 800; }
.perf-pill .v.h { color: var(--brand); }
.perf-pill .v.d { color: var(--t3); }
.perf-pill .v.a { color: #B54708; }              /* 客队橙的深色版, 保证正文对比度 */
.perf-pill .sc { font-weight: 800; color: var(--t1); font-variant-numeric: tabular-nums; }
.perf-pill .s { font-size: 11px; color: var(--t3); }
.perf-pill.pred { background: #F5F8FF; border: 1px solid #DCE5F7; }
/* 胜平负预测命中(l.ok): 「预测」胶囊同样高亮(绿系), 与命中的比分胶囊同色。
   命中时 JS 给 .v 用 .ok 而非 .h/.d/.a, 故此处无需 !important 覆盖。 */
.perf-pill.pred.hit { background: #E6F4F6; border-color: #9AD0D8; }
.perf-pill.pred.hit .k, .perf-pill.pred.hit .s { color: #0E7490; }
.perf-pill .v.ok { color: #0E7490; }
/* 比分胶囊: 赛前概率前 3 的比分; 命中真实比分高亮(绿), 未中的压灰 */
.perf-row .pr-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.perf-chip { display: inline-flex; align-items: baseline; gap: 5px; border-radius: 999px; padding: 3px 9px; font-size: 12px; background: #F4F6FA; border: 1px solid #E7EBF1; color: #98A2B3; font-variant-numeric: tabular-nums; }
.perf-chip b { font-size: 12px; font-weight: 800; }
.perf-chip .p { font-size: 11px; }
.perf-chip.hit { background: #E6F4F6; border-color: #9AD0D8; color: #0E7490; }
.perf-chip.hit b { color: #0E7490; }
/* 胜平负方向命中标记 (2026-10-06 曾移除, 同日恢复): 表达"预测方向是否与实际赛果一致",
   非"比分猜对"。蓝灰色系以区别于比分胶囊的命中绿, 避免与比分命中混淆。 */
.perf-hit { min-width: 14px; text-align: center; font-size: 13px; font-weight: 800; }
.perf-hit.ok { color: #0E7490; }
.perf-hit.no { color: #64748B; }

/* ---------- Cookie 条 ---------- */
.cookiebar { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); width: 620px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 40px rgba(16,24,40,.18); padding: 16px 18px; z-index: 100; display: flex; gap: 16px; align-items: center; }
.cookiebar p { font-size: 12.5px; color: var(--t3); flex: 1; }
.cookiebar .actions { display: flex; flex-direction: column; gap: 8px; }
.cookiebar button { border-radius: 18px; padding: 7px 16px; font-size: 12.5px; font-weight: 700; cursor: pointer; border: 1px solid var(--border); background: #fff; color: var(--t2); }
.cookiebar button.accept { background: var(--brand); border-color: var(--brand); color: #fff; min-width: 120px; }

/* ---------- 页脚 ---------- */
footer { background: var(--brand-deep); color: #B9C6DB; margin-top: 60px; }
footer .inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 44px 0 30px; }
footer .logo { color: #fff; margin-bottom: 12px; }
footer .fh { color: #fff; font-size: 13.5px; font-weight: 700; margin: 0 0 12px; }
footer li { list-style: none; margin-bottom: 9px; }
footer .inner ul { list-style: none; margin: 0; padding: 0; }
footer a { color: #B9C6DB; font-size: 13.5px; overflow-wrap: anywhere; }
footer .inner > div { min-width: 0; }
footer .fine { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 26px; font-size: 12px; color: #7E90AC; }

/* ---------- 国家队页 (与联赛页统一浅色风格) ---------- */
.weight-chips { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wchip { border: 1px solid var(--border); border-radius: 8px; padding: 5px 11px; font-size: 12px; color: var(--t2); background: #fff; }
.wchip b { color: var(--t1); }
.wchip.on { background: #EEF2FF; border-color: var(--brand); color: var(--brand); }
.wchip.on b { color: var(--brand); }

/* ---------- 移动端 ---------- */
.tabbar { display: none; }
@media (max-width: 960px) {
  .hero .grid, .two-col, .news-grid { grid-template-columns: 1fr; }
  footer .inner { grid-template-columns: 1fr 1fr 1fr; }
  footer .inner > div:first-child { grid-column: 1 / -1; }
  .navlinks { display: none; }
  .hero h1 { font-size: 30px; }
  .matrix-wrap { grid-template-columns: 1fr; }
  .match-head { grid-template-columns: 1fr auto 1fr; text-align: center; }
  .team-side, .team-side.right { justify-content: center; }
  .ad-leaderboard { height: 60px; }
}
@media (max-width: 640px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  /* --- 多端修复: 阻止 grid blowout 与赛程行溢出 --- */
  .container > * { min-width: 0; }
  .two-col > * { min-width: 0; }
  .match-row { flex-wrap: wrap; row-gap: 10px; }
  .match-row > div:first-child { min-width: 0 !important; flex: 1 1 100%; }
  .match-bar { flex: 1 1 150px; max-width: 100%; }
  .match-row .btn-analysis { margin-left: auto; }
  .perf-row .pr-lg { max-width: 120px; }
  .perf-row .pr-teams, .perf-row .pr-pills { flex: 1 1 100%; }
  .perf-row .pr-teams .sc { min-width: 46px; }
  /* 2026-10-10 (用户令): 队名与比分同一行 —— 主队 | 比分 | 客队 三列网格保持,
     长队名靠 fitHeadNames 缩字号, 省略号兜底 */
  .match-head { display: grid; grid-template-columns: 1fr auto 1fr; padding: 18px 10px; gap: 8px; }
  .match-head .team-name { font-size: 15px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .match-head .vs-midwrap { display:flex; flex-direction:column; align-items:center; min-width:0; }
.vs-mid { font-size: 20px !important; }
  .team-side, .team-side.right { gap: 6px; min-width: 0; }
  .match-head > div { max-width: 100%; min-width: 0; }
  .legends { font-size: 12px; }
  .tabbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    padding: 5px 2px calc(5px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 24px rgba(15,23,42,.07);
  }
  .tabbar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2.5px;
    padding: 3px 0 1px; font-size: 10.8px; font-weight: 600; color: var(--t3);
    min-width: 0; text-decoration: none;
  }
  .tabbar a .tb-ic { display: flex; align-items: center; justify-content: center; width: 44px; height: 25px; border-radius: 999px; transition: background .15s ease; }
  .tabbar a svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar a.active { color: var(--brand); }
  .tabbar a.active .tb-ic { background: rgba(37,99,235,.12); }
  .cookiebar { bottom: 70px; flex-direction: column; align-items: stretch; }
  .cookiebar .actions { flex-direction: row; }
  .news-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  footer .inner { grid-template-columns: 1fr 1fr 1fr; gap: 14px; padding: 30px 0 20px; }
  footer .inner > div:first-child { grid-column: 1 / -1; }
  footer .fh { font-size: 12.5px; margin-bottom: 8px; }
  footer li { margin-bottom: 6px; }
  footer a { font-size: 12px; }
  footer .fine { padding: 14px 0 20px; }
  footer { margin-top: 18px; }
  .matrix td { width: 44px; height: 38px; font-size: 11px; }
  .match-bar { max-width: 200px; }
}

/* ---- news feed (机器人资讯流) ---- */
.news-feed-card { display:flex; gap:14px; padding:14px 16px; overflow:hidden; }
a.news-feed-card, a.news-feed-card:visited { color:inherit; text-decoration:none; }
.news-feed-card:hover { background:#FAFBFF; }
.nimg { position:relative; flex-shrink:0; width:96px; min-width:96px; height:72px; border-radius:8px; overflow:hidden; display:flex; align-items:center; justify-content:center; color:#fff; font-size:26px; background:linear-gradient(135deg,#0E3A78,var(--brand)); }
.nimg.ph { background:linear-gradient(135deg,#0E3A78,var(--brand)); }
.nimg img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.nimg.noimg { display:none; }
.nbody { flex:1; min-width:0; }
.nmeta { display:flex; align-items:center; gap:8px; font-size:11px; color:var(--t3); margin-bottom:6px; }
.nsrc { background:#EEF2FF; color:var(--brand); font-weight:700; padding:2px 8px; border-radius:10px; }
.nsrc.tr { background:#FFF4E5; color:#B25E09; }
.nlang { font-weight:700; color:var(--t3); }
.ntime { margin-inline-start:auto; }
.ntitle { font-size:15px; font-weight:700; color:var(--t1); margin-bottom:4px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.nsum { font-size:12.5px; color:var(--t2); line-height:1.45; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.ntags { display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.ntag { font-size:10.5px; font-weight:700; color:var(--t2); background:#F4F6FA; border:1px solid var(--border); padding:2px 8px; border-radius:10px; }
.ntag.lg { color:var(--brand); }
.nempty { color:var(--t3); padding:40px 0; text-align:center; }

/* ---- match 页资讯联动 ---- */
.match-news-list { display:grid; gap:0; }
.match-news-list .news-feed-card { border:none; border-bottom:1px solid var(--border); border-radius:0; padding:12px 2px; }
.match-news-list .news-feed-card:last-child { border-bottom:none; }
.match-news-list .nimg { width:76px; min-width:76px; height:56px; }
.match-news-list .ntitle { font-size:14px; }

/* ---- story 详情页 & 资讯卡片站内跳转 ---- */
.news-feed-card.clickable { cursor: pointer; }
a.next { flex-shrink: 0; align-self: center; width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--t3); font-size: 14px; text-decoration: none; background: #F4F6FA; border: 1px solid var(--border); }
a.next:hover { color: var(--brand); border-color: var(--brand); }
.story-cover { max-width: 780px; }
.story-cover img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.story-table { width: 100%; border-collapse: collapse; }
.story-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: top; }
.story-table td:first-child { width: 110px; white-space: nowrap; }

/* ---- story 全文排版 ---- */
.story-content { font-size: 16px; line-height: 1.75; color: var(--t1); }
.story-content p { margin: 0 0 16px; }
.story-content h2, .story-content h3 { font-size: 19px; margin: 26px 0 10px; color: var(--t1); }
.story-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 6px 0 14px; display: block; }
.story-content a { color: var(--brand); text-decoration: underline; }
.story-content blockquote { border-left: 3px solid var(--brand); margin: 16px 0; padding: 6px 16px; background: #F7F9FC; border-radius: 0 8px 8px 0; color: var(--t2); }
.story-content ul, .story-content ol { padding-inline-start: 22px; margin: 0 0 16px; }
.story-content li { margin-bottom: 6px; }
.story-content figure { margin: 16px 0; }
.story-content figcaption, .story-content caption { font-size: 12px; color: var(--t3); }


/* ============ 访客统计行（页面底部） + 受众分析弹窗（参考 fbsa.app） ============ */
.vs-hint {
  display: none; text-align: center; cursor: pointer;
  font-size: 12.5px; color: var(--t3);
  padding: 20px 14px 30px; user-select: none;
  border-top: 1px solid var(--border); margin-top: 24px;
  transition: color .15s ease;
}
.vs-hint:hover { color: var(--brand); }
.vm-overlay {
  position: fixed; inset: 0; background: rgba(16, 24, 40, .45);
  z-index: 1000; display: none; align-items: flex-start; justify-content: center;
  padding: 6vh 16px 16px; overflow-y: auto;
}
.vm-overlay.show { display: flex; }
.vm-box {
  background: var(--card); border-radius: 14px; width: 100%; max-width: 640px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, .25); animation: vmPop .18s ease;
}
@keyframes vmPop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.vm-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.vm-head h3 { font-size: 16px; font-weight: 700; color: var(--t1); }
.vm-close { border: none; background: none; font-size: 24px; color: var(--t3); cursor: pointer; line-height: 1; padding: 2px 8px; }
.vm-close:hover { color: var(--t1); }
.vm-body { padding: 16px 20px 20px; }
.vm-kpis { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.vm-kpi { flex: 1; min-width: 120px; background: #EEF3FB; border-radius: 10px; padding: 12px 14px; text-align: center; }
.vm-kpi .v { font-size: 24px; font-weight: 700; color: var(--brand); }
.vm-kpi .k { font-size: 11px; color: var(--brand); margin-top: 2px; }
.vm-sec { margin-bottom: 14px; }
.vm-sec h4 { font-size: 12.5px; font-weight: 600; color: var(--t3); margin-bottom: 6px; }
.vm-bars { display: flex; flex-direction: column; gap: 5px; }
.vm-bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.vm-bar-row .lb { width: 110px; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0; }
.vm-bar-row .track { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.vm-bar-row .fill { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #0B7A75); border-radius: 4px; }
.vm-bar-row .n { width: 36px; text-align: right; color: var(--t1); font-weight: 600; font-variant-numeric: tabular-nums; }
.vm-none { color: var(--t3); font-size: 12.5px; }
.vm-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding: 12px 20px; font-size: 12px; color: var(--t3); flex-wrap: wrap; }
.vm-foot a { color: var(--brand); text-decoration: none; font-weight: 600; }
.vm-foot a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .vm-overlay { padding: 4vh 12px 12px; }
  .vm-kpi { min-width: 96px; padding: 10px 10px; }
  .vm-kpi .v { font-size: 20px; }
  .vm-bar-row .lb { width: 88px; font-size: 11.5px; }
  .vs-hint { font-size: 11.5px; margin-top: 0; padding: 10px 14px 4px; }
}

/* ============ 新闻分页: 无限滚动 ============ */
.news-more-wrap { display: flex; justify-content: center; align-items: center; margin: 26px 0 14px; min-height: 30px; }
.news-spin {
  display: inline-block; width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--brand);
  animation: sl-spin .75s linear infinite;
}
@keyframes sl-spin { to { transform: rotate(360deg); } }
.news-more {
  border: 1.5px solid var(--border); background: var(--card); color: var(--brand);
  font-weight: 600; font-size: 14px; padding: 11px 36px; border-radius: 999px;
  cursor: pointer; transition: border-color .15s ease, transform .15s ease;
}
.news-more:hover { border-color: var(--brand); }
.news-more:active { transform: scale(.98); }
.news-more[disabled] { opacity: .55; cursor: default; }
.news-end { color: var(--t3); font-size: 12.5px; text-align: center; margin: 26px 0 6px; }

/* ============ Insights 页栅格（2026-10-02 移动端优化） ============ */
@media (max-width: 900px) {
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .insights-grid { grid-template-columns: 1fr; gap: 16px; }
  .insights-grid .news-card .cover { height: 150px; }
  .insights-grid .news-card h3 { font-size: 16.5px; }
}

/* ============ 文章缺失空态 ============ */
.story-missing { padding: 34px 0 10px; color: var(--t3); font-size: 15px; }

/* ============ 底部标签栏 6 项适配（v2 图标化后不再需要缩字） ============ */

/* ============ Cookie 偏好面板 + 订阅消息（2026-10-02） ============ */
.cookiebar p a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.cookiebar .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cookiebar .cb-reject { background: transparent; }
.cb-overlay { position: fixed; inset: 0; background: rgba(10,25,40,.45); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 18px; }
.cb-box { background: #fff; border-radius: 16px; padding: 24px 24px 20px; width: 100%; max-width: 440px;
  box-shadow: 0 18px 50px rgba(16,42,67,.22); }
.cb-box h3 { margin: 0 0 14px; font-size: 17px; color: var(--t1); }
.cb-row { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 0; border-top: 1px solid var(--border); }
.cb-row b { display: block; font-size: 13.5px; color: var(--t1); font-weight: 700; }
.cb-row span { display: block; font-size: 12px; color: var(--t3); margin-top: 2px; line-height: 1.45; }
.cb-switch { position: relative; flex: 0 0 auto; }
.cb-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cb-switch i { display: block; width: 40px; height: 23px; border-radius: 999px; background: #CBD5E1;
  transition: background .15s ease; position: relative; }
.cb-switch i::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; transition: transform .15s ease; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.cb-switch.on i { background: var(--brand); }
.cb-switch.on i::after { transform: translateX(17px); }
.cb-actions { margin-top: 16px; display: flex; justify-content: flex-end; }
.nl-msg { min-height: 18px; font-size: 12.5px; color: var(--brand); font-weight: 600; margin: 8px 0 0; }
.nl-msg.warn { color: #C05621; }

/* ============ SEO: 静态页主标题 h1（2026-10-02） ============ */
.section-head h1 { font-size: 24px; color: var(--t1); font-weight: 800; letter-spacing: -.01em; }

/* ============ 摘要聚合模式: 来源卡 + 摘要（2026-10-02） ============ */
.story-summary { font-size: 16.5px; line-height: 1.75; color: var(--t1); max-width: 640px; }
.story-source {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border: 1px solid var(--border); background: var(--card); border-radius: 12px;
  padding: 14px 16px; margin-top: 22px; max-width: 640px;
}
.story-source .ss-txt { min-width: 0; }
.story-source .ss-txt b { display: block; font-size: 14px; color: var(--t1); }
.story-source .ss-txt span { font-size: 12.5px; color: var(--t3); line-height: 1.5; }

/* --- CLS 修复: 动态注入容器高度预留 (2026-10-04 PageSpeed, 首页 API 注入前占位) --- */
#featured-hero { min-height: 250px; }
#featured-card { min-height: 340px; }
#home-trackrecord { min-height: 76px; }
#league-chips { min-height: 36px; }
#fixture-list { min-height: 420px; }
#trending { min-height: 170px; }
#live-news, #newsroom { min-height: 280px; }
@media (max-width: 640px) {
  #featured-hero { min-height: 220px; }
  #featured-card { min-height: 310px; }
  #fixture-list { min-height: 380px; }
  #live-news, #newsroom { min-height: 240px; }
}

/* ============ 首页战绩条 (2026-10-12 由内联样式改为语义类) ============
   原因: 内联样式媒体查询覆盖不到 → 375px 下四块只能竖排, 合计 615px。
   改成类后窄屏可重排 (见文件末尾「移动端版面体检」段)。四块口径: 五大/欧战/次级/国家队。 */
.ts-wrap { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.ts-block { flex: 1; min-width: 230px; }
.ts-label { font-size: 12px; font-weight: 800; color: var(--t1); margin-bottom: 8px; }
.ts-stats { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ts-stat { display: block; }
.ts-v { display: block; font-size: 22px; font-weight: 800; color: var(--t1); }
.ts-v.brand { color: var(--brand); }
.ts-k { display: block; font-size: 11.5px; color: var(--t3); }
.ts-link { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; }
.ts-note { margin-top: 10px; font-size: 11.5px; color: var(--t3); }
/* 首页战绩条容器 (原为 index.html 内联 style, 2026-10-12 移入此处以便窄屏覆盖) */
#home-trackrecord { padding: 18px 22px; margin: 6px 0 26px; }

/* 战绩条的移动端挂载点 (2026-10-12): 单栏布局下把「模型战绩条」下沉到赛程之后,
   让「今日赛事」进入首屏。桌面隐藏本挂载点、显示 hero 下方那个（.h-tr-desktop）。
   ⚠️ 两个挂载点内容相同（renderHome 同时注入），CSS 只控制显示哪一个。 */
.h-tr-mobile { display: none; }
@media (max-width: 960px) {
  .h-tr-desktop { display: none; }
  .h-tr-mobile { display: block; margin: 22px 0 0; padding: 14px 16px; min-height: 330px; }
}

/* hero 焦点比分行 (原为内联样式, 2026-10-12 改为类以便窄屏收敛) */
.hero .hero-scoreline { font-size: 19px; font-weight: 700; color: #fff; max-width: none; margin: -6px 0 16px; }

/* ============ 模型 vs 市场面板 (2026-10-05) ============ */
/* 修正: .btn-ghost 原为深底白字, 用在白底正文里几乎不可见 (methodology 存档/市场表格的「显示全部」) */
.article-body .btn-ghost {
  background: #fff; color: var(--brand) !important; border: 1px solid var(--brand);
}
.article-body .btn-ghost:hover { background: #F2F6FC; }

/* 比赛页小面板 */
.mktb {
  margin-top: 14px; border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; background: #F7F9FC;
}
.mktb-h {
  font-size: 11.5px; color: var(--t3); letter-spacing: .06em;
  font-weight: 700; margin-bottom: 10px;
}
.mktb-scroll { overflow-x: auto; }
.mktb-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.mktb-t th, .mktb-t td {
  padding: 6px 10px; text-align: left; white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.mktb-t thead th { font-size: 11.5px; color: var(--t3); font-weight: 700; letter-spacing: .04em; }
.mktb-t tbody tr:last-child td { border-bottom: none; }
.mktb-t td:first-child { color: var(--t2); font-weight: 600; }
.mktb-m { font-weight: 700; color: var(--brand); }
.mktb-k { font-weight: 600; color: var(--t2); }
.mktb-e { font-weight: 700; font-variant-numeric: tabular-nums; }
/* edge 只表达「模型相对市场的方向」, 刻意避开红/绿 (国际读者会读成 好/坏) */
.mktb-e.up { color: #0B6BD6; }   /* 模型高于市场 */
.mktb-e.dn { color: #B45309; }   /* 模型低于市场 */
.mktb-f { margin-top: 10px; font-size: 12px; color: var(--t3); }
.mktb-none { margin: 0; font-size: 13px; color: var(--t3); }
@media (max-width: 480px) {
  .mktb { padding: 12px 10px; }
  .mktb-t { font-size: 12px; }
  .mktb-t th, .mktb-t td { padding: 5px 6px; }
}

/* 让球盘 / Edge 对照网格 (§4, 2026-10-07) */
.ah-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 9px 14px; font-size: 13.5px; }
.ah-head { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--t3); font-weight: 700; border-bottom: 1px solid var(--border); padding-bottom: 7px; }
.ah-l { font-weight: 700; color: var(--t1); font-variant-numeric: tabular-nums; }
.ah-v { color: var(--t2); font-variant-numeric: tabular-nums; }

/* §8.3 移动端矩阵：仅 Top 格显示数值 + 点按/长按精确概率浮层 */
.matrix td { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mpop {
  position: fixed; display: none; z-index: 60; pointer-events: none;
  padding: 8px 12px; border-radius: 10px; text-align: center;
  background: var(--card, #fff); border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(16, 20, 40, .16);
}
.mpop .mp-s { display: block; font-size: 17px; font-weight: 800; color: var(--t1); font-variant-numeric: tabular-nums; }
.mpop .mp-p { display: block; font-size: 14px; font-weight: 700; color: #0E7490; font-variant-numeric: tabular-nums; }
.mpop .mp-l { display: block; font-size: 10.5px; color: var(--t3); margin-top: 2px; }

@media (max-width: 640px) {
  /* 小屏：非 Top 格隐藏数值，只靠色阶表达；横屏（orientation）恢复全数值 */
  .matrix td .mv { visibility: hidden; }
  .matrix td.hi .mv, .matrix td.hit .mv { visibility: visible; }
  .matrix td { font-size: 11px; padding: 5px 2px; }
  .matrix th { font-size: 10.5px; padding: 3px 2px; }
}
@media (max-width: 640px) and (orientation: landscape) {
  .matrix td .mv { visibility: visible; }
}

/* ---------- 逐场回测存档卡片式 (2026-10-09 改版) ---------- */
.rt-list{display:flex;flex-direction:column;gap:8px}
.rt-row{display:grid;grid-template-columns:78px minmax(0,1fr) 64px minmax(0,1fr) auto 30px;align-items:center;gap:10px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px 14px;transition:box-shadow .15s,transform .15s}
.rt-row:hover{box-shadow:0 6px 18px rgba(6,33,74,.10);transform:translateY(-1px)}
.rt-row.hit{border-left:3px solid #0E9F6E}
.rt-date{font-size:11.5px;color:var(--t3);font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
/* 2026-10-11 版面：长表默认折叠（战绩留痕页 260 行原始表曾占 11,289px ≈ 整页 70%）。
   「展开全部」按钮给 table 加 .tr-open 即显示，无需重新渲染。 */
.tr-more{display:none}
table.tr-open .tr-more{display:table-row}
.rt-team{display:flex;align-items:center;gap:7px;min-width:0}
.rt-team.h{justify-content:flex-end;text-align:right}
.rt-team b{font-size:13.5px;color:var(--t1);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rt-crest{width:20px;height:20px;object-fit:contain;flex:none}
.rt-score{font-size:15px;font-weight:900;color:var(--t1);background:#F2F5FA;border-radius:9px;padding:4px 10px;text-align:center;white-space:nowrap}
.rt-pick .pk{font-style:normal;font-size:11.5px;font-weight:800;padding:3px 9px;border-radius:999px;white-space:nowrap}
.rt-pick .pkH{background:#E8F1FF;color:#014DB2}
.rt-pick .pkD{background:#F1F3F6;color:#5B6470}
.rt-pick .pkA{background:#FFF3E0;color:#B26A00}
.rt-ok{width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:13px}
.rt-ok.y{background:#E5F6EE;color:#067647}
.rt-ok.n{background:#FCEBEB;color:#A32D2D}
@media(max-width:640px){.rt-row{grid-template-columns:46px minmax(0,1fr) 52px minmax(0,1fr) auto 24px;gap:6px;padding:9px 10px}.rt-team b{font-size:12.5px}.rt-score{font-size:13px;padding:3px 7px}.rt-pick .pk{font-size:10.5px;padding:2px 7px}}

/* ---------- 头卡队名单行自适应 (2026-10-10): 队徽/队名永不换行, 长名自动缩字号 ---------- */
.team-side a { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: inherit; }
.team-side .team-crest { flex: none; }
.team-side .team-name { overflow: hidden; }

/* ============ 移动端版面体检 (2026-10-12, 375×812 实测) ============
   背景: 首页在 375px 下 hero 740px + 战绩条 615px, 「今日赛事」被推到第 2 屏
   (首个赛程 y=1602, 约 1.97 屏); 另探针显示 49 个可点元素里 31 个高度 < 32px
   (页脚链接仅 15px)。以下为窄屏针对性收敛, 全部只作用于 ≤640px, 桌面不受影响。 */
@media (max-width: 640px) {
  /* 1) hero 收敛 (740 → ~645): 收紧内边距/标题/行距, 让「今日赛事」标题尽早进入视野 */
  .hero { padding: 26px 0 30px; }
  .hero .grid { gap: 18px; }
  .hero .kicker { margin-bottom: 8px; }
  .hero h1 { font-size: 26px; line-height: 1.2; margin-bottom: 10px; }
  .hero p { font-size: 14.5px; margin-bottom: 14px; }
  .hero .hero-scoreline { margin: 0 0 12px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn-ghost, .hero-actions .btn-outline { flex: 1 1 0; min-width: 0; padding: 9px 10px; text-align: center; }
  .hero-card { padding: 16px; }

  /* 2) 战绩条重排为 2×2 紧凑网格 (615 → ~270): 每块 label 一行 + 三条
        「数值 说明」紧凑行 + 详情链接。三块数值在 126px 单元格内不换行。 */
  #home-trackrecord { padding: 14px 16px; margin: 6px 0 18px; }
  .ts-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 14px; }
  .ts-block { min-width: 0; }
  .ts-label { font-size: 11.5px; margin-bottom: 6px; }
  .ts-stats { flex-direction: column; gap: 3px; }
  .ts-stat { display: flex; align-items: baseline; gap: 7px; }
  .ts-v { font-size: 15px; }
  .ts-k { font-size: 10.5px; }
  .ts-link { align-self: flex-start; display: inline-block; margin-top: 2px; padding: 3px 0; font-size: 12px; }

  /* 3) 区块纵向间距收敛 (44 → 32), 同类间距全站统一 */
  .section { padding: 32px 0; }

  /* 4) 触控目标: 补齐行内/页脚链接高度到 ≥26px (WCAG 2.2 AA 要求 ≥24px)。
        实测页脚 13 条链接仅 15px、区块「查看全部」链接 23px、热榜标题 18px。 */
  .section-head a { display: inline-block; padding: 6px 0; }
  .side-list li a { display: inline-block; padding: 3px 0; }
  footer li { margin-bottom: 1px; }
  footer a { display: block; padding: 5px 0; line-height: 1.35; }
  .newsletter p a { display: inline-block; padding: 4px 0; }
  .cookiebar p a { display: inline-block; padding: 4px 0; }
  select.lang-btn { min-height: 34px; }

  /* 5) 文章卡封面是纯装饰（只有分类标签，无图）: 窄屏 150 → 118,
        单屏内三张卡片省 ~96px, 卡片长宽比也更接近移动端习惯。 */
  .news-card .cover { height: 118px; }

  /* 6) 队名链接 (teamLink, 赛程/国家队页): 该 <a> 是**内联**元素 —— 加垂直 padding
        不改变行盒高度 (不重排), 但 getBoundingClientRect 会随之变大, 命中区由
        16px → ~33px (WCAG 2.2 AA 要求 ≥24px)。行高约 190px, padding 不会侵占相邻行。
        实测 matches.html: 148 条队名链接全部由 16px → 31px。 */
  .match-teams a { padding: 6px 2px; }

  /* 7) 正文/说明面板里 <p> 内的文字链接同理: 内联 + 垂直 padding = 视觉零变化、
        命中区翻倍 (16 → 24px)。排除按钮/标签类（它们有底色, 会被撑大）。 */
  main p a:not([class*="btn"]):not([class*="chip"]):not([class*="badge"]) { padding: 4px 0; }
}
