/* ============================================================
   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: 28px; 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 h4 { 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); 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; }
.match-teams { font-weight: 700; color: var(--t1); font-size: 15.5px; }
.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; }
.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; border: none; border-radius: 20px; padding: 9px 14px; font-size: 13px; }
.newsletter button { background: var(--accent); color: #fff; 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: #98A2B3; }

/* ---------- 文章页 ---------- */
.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: 38px; 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; }
.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: 20px; 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); }
.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); }

/* ---------- 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 h5 { color: #fff; font-size: 13.5px; margin-bottom: 12px; }
footer li { list-style: none; margin-bottom: 9px; }
footer a { color: #B9C6DB; font-size: 13.5px; }
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; }
  .navlinks { display: none; }
  .hero h1 { font-size: 30px; }
  .matrix-wrap { grid-template-columns: 1fr; }
  .match-head { grid-template-columns: 1fr; text-align: center; }
  .team-side, .team-side.right { justify-content: center; }
  .ad-leaderboard { height: 60px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  /* --- 多端修复: 阻止 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 { flex-wrap: wrap; row-gap: 4px; }
  .perf-row > span, .perf-row > b { min-width: 0 !important; }
  .match-head { display: flex; flex-direction: column; padding: 20px 16px; gap: 12px; }
  .match-head .team-name { font-size: 18px; text-align: center; }
  .match-head > div { max-width: 100%; }
  .legends { font-size: 12px; }
  .tabbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); z-index: 90; }
  .tabbar a { flex: 1; text-align: center; padding: 12px 0 14px; font-size: 13px; font-weight: 600; color: var(--t3); }
  .tabbar a.active { color: var(--brand); }
  .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; }
  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 { 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; }
.nimg.ph { background:linear-gradient(135deg,#0E3A78,var(--brand)); }
.nimg img { 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:2; -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 { text-align: center; margin: 26px 0 8px; }
.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 项适配 ============ */
.tabbar a { font-size: 12px; padding: 11px 0 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 360px) {
  .tabbar a { font-size: 11.5px; letter-spacing: -.01em; }
}

/* ============ 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; }
