/* ============================================================
   足球AI · 简洁现代主题（FotMob / Sofascore 风格）
   - 浅色为默认 / 深色通过 [data-theme="dark"] 切换
   - 系统跟随通过 prefers-color-scheme 自动判断
   - 全部使用 CSS 变量
   ============================================================ */

/* ──────────────── 主题变量 ──────────────── */
:root {
  /* 浅色 */
  --bg:        #f5f6f8;
  --surface:   #ffffff;
  --surface-2: #f8f9fb;
  --border:    #e5e7eb;
  --border-2:  #f0f1f4;
  --text:      #0f1419;
  --text-2:    #5a6271;
  --text-3:    #8b94a3;
  --primary:   #00aa55;
  --primary-h: #008a45;
  --accent:    #2563eb;
  --warn:      #f59e0b;
  --danger:    #ef4444;
  --live:      #ef4444;
  --shadow:    0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.04);
  --shadow-lg: 0 4px 20px rgba(0,0,0,.08);
  --radius:    10px;
  --radius-sm: 6px;
}
[data-theme="dark"] {
  --bg:        #0a0e14;
  --surface:   #131820;
  --surface-2: #1a212c;
  --border:    #232b38;
  --border-2:  #1e2530;
  --text:      #e8edf3;
  --text-2:    #9aa5b5;
  --text-3:    #6b7588;
  --primary:   #00c266;
  --primary-h: #00d978;
  --accent:    #4f8cff;
  --shadow:    0 1px 2px rgba(0,0,0,.3), 0 4px 12px rgba(0,0,0,.2);
  --shadow-lg: 0 4px 20px rgba(0,0,0,.4);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg:        #0a0e14;
    --surface:   #131820;
    --surface-2: #1a212c;
    --border:    #232b38;
    --border-2:  #1e2530;
    --text:      #e8edf3;
    --text-2:    #9aa5b5;
    --text-3:    #6b7588;
    --primary:   #00c266;
    --primary-h: #00d978;
    --accent:    #4f8cff;
    --shadow:    0 1px 2px rgba(0,0,0,.3), 0 4px 12px rgba(0,0,0,.2);
    --shadow-lg: 0 4px 20px rgba(0,0,0,.4);
  }
}

/* ──────────────── 基础 ──────────────── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
hr { border: 0; border-top: 1px solid var(--border); margin: 16px 0; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ──────────────── Header ──────────────── */
#site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.hdr {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -.2px;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.main-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: all .15s;
}
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
.main-nav a.active { color: var(--primary); }

.hdr-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all .15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }
.hdr-burger { display: none; }

/* ──────────────── Hero（极简版）──────────────── */
.hero {
  padding: 24px 0 12px;
}
.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -.3px;
  color: var(--text);
}
.hero-sub {
  margin: 4px 0 0;
  color: var(--text-2);
  font-size: 13px;
}
.hero-stats {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-2);
}
.hero-stats b { color: var(--primary); font-size: 15px; font-weight: 700; margin-right: 4px; }

/* ──────────────── 周历（横向 7 天）──────────────── */
.week-bar {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.week-bar::-webkit-scrollbar { display: none; }
.wk-day {
  flex: 1 0 auto;
  min-width: 56px;
  text-align: center;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-2);
  font-size: 12px;
  border: 1px solid transparent;
  transition: all .15s;
}
.wk-day:hover { background: var(--surface-2); color: var(--text); }
.wk-day.on {
  background: var(--text);
  color: var(--surface);
  border-color: var(--text);
}
.wk-day .wd-dow { font-size: 11px; line-height: 1.2; opacity: .85; }
.wk-day .wd-num { font-size: 16px; font-weight: 700; line-height: 1.2; margin-top: 2px; }
.wk-day .wd-cnt { font-size: 10px; line-height: 1; margin-top: 2px; opacity: .65; }

/* ──────────────── 联赛筛选（chip 行）──────────────── */
.cat-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transition: all .15s;
}
.cat-chip:hover { color: var(--text); border-color: var(--text-3); }
.cat-chip.on {
  background: var(--text);
  border-color: var(--text);
  color: var(--surface);
}
.cat-chip .cnt {
  margin-left: 4px;
  font-size: 11px;
  opacity: .7;
}

/* ──────────────── 主布局：双栏 / 单栏切换 ──────────────── */
.layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  padding-bottom: 48px;
}
.main-col, .side-col { min-width: 0; }

/* ──────────────── 联赛分组卡片（赛事列表）──────────────── */
.lg-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.lg-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-2);
  font-size: 13px;
}
.lg-flag { font-size: 14px; }
.lg-name {
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.lg-meta { color: var(--text-3); font-size: 12px; }

/* 比赛行（紧凑横排，FotMob 风） */
.match-row {
  display: grid;
  grid-template-columns: 56px 1fr 64px 1fr 80px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-2);
  transition: background .12s;
  color: var(--text);
  gap: 10px;
}
.match-row:last-child { border-bottom: 0; }
.match-row:hover { background: var(--surface-2); }
.mr-time {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.3;
}
.mr-time .mr-t { color: var(--text-2); font-weight: 600; font-size: 13px; display: block; }
.mr-time .mr-stat { font-size: 10px; }
.mr-time.live .mr-stat { color: var(--live); font-weight: 700; }
.mr-time.live .mr-t { color: var(--live); }

.mr-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.mr-team.home { justify-content: flex-end; flex-direction: row-reverse; }
.mr-team.away { justify-content: flex-start; }
.mr-crest {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-2);
  flex-shrink: 0;
  object-fit: contain;
}
.mr-name {
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mr-mid {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}
.mr-score {
  background: var(--surface-2);
  border-radius: 4px;
  padding: 3px 8px;
  display: inline-block;
  min-width: 40px;
  font-variant-numeric: tabular-nums;
}
.mr-vs { color: var(--text-3); font-weight: 500; font-size: 12px; }

.mr-pred {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.mr-pred-pct {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.mr-pred-out {
  font-size: 11px;
  color: var(--text-3);
}
.mr-pred-empty { font-size: 11px; color: var(--text-3); }

/* 概率细条（match-row 下面那条彩色条）*/
.mr-bar {
  grid-column: 1 / -1;
  display: flex;
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
  background: var(--border-2);
}
.mr-bar .b { height: 100%; }
.mr-bar .b-h { background: var(--primary); }
.mr-bar .b-d { background: var(--text-3); opacity: .55; }
.mr-bar .b-a { background: var(--accent); }

/* 空态 */
.empty {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 60px 20px;
  text-align: center;
  color: var(--text-2);
}
.empty .ico { font-size: 32px; opacity: .4; margin-bottom: 8px; }
.empty p { margin: 0; font-size: 14px; }
.empty p + p { margin-top: 8px; font-size: 13px; color: var(--text-3); }

/* ──────────────── 侧栏卡片 ──────────────── */
.s-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.s-ttl {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.s-ttl .more {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
}
.s-ttl .more:hover { color: var(--primary); }

/* 准确率简版：3 个数字横排 */
.acc-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}
.acc-mini .v {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.acc-mini .l {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 4px;
  line-height: 1.2;
}

/* 热门预测 */
.hot-list { list-style: none; padding: 0; margin: 0; }
.hot-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-2);
  display: block;
  color: var(--text);
}
.hot-row:last-child { border-bottom: 0; }
.hot-row:hover { color: var(--primary); }
.hot-teams {
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.hot-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-3);
}
.hot-meta b { color: var(--primary); }

/* ──────────────── 比赛详情页 ──────────────── */
.breadcrumb {
  font-size: 12px;
  color: var(--text-3);
  padding: 14px 0 8px;
}
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 6px; opacity: .5; }

.match-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.mh-meta {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 16px;
}
.mh-meta .mh-league { color: var(--primary); font-weight: 600; }
.mh-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.mh-team { text-align: center; }
.mh-crest-big {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface-2);
  margin: 0 auto 8px;
  object-fit: contain;
  padding: 4px;
}
.mh-team-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.mh-mid { text-align: center; }
.mh-score-big {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.mh-vs-big { font-size: 18px; color: var(--text-3); font-weight: 600; }
.mh-status {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
}
.mh-status.live { background: rgba(239,68,68,.1); color: var(--live); }
.mh-status.fin { background: var(--surface-2); color: var(--text-3); }
.mh-status.up  { background: var(--surface-2); color: var(--text-2); }

.match-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  padding-bottom: 48px;
}

.m-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
}
.m-h {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
}

/* 大概率条 */
.prob-block { margin-bottom: 18px; }
.prob-row {
  display: grid;
  grid-template-columns: 80px 1fr 48px;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.prob-row:last-child { margin-bottom: 0; }
.prob-name { font-size: 13px; color: var(--text-2); }
.prob-bar {
  background: var(--border-2);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.prob-fill {
  height: 100%;
  border-radius: 4px;
  transition: width .6s ease;
}
.prob-fill.h { background: var(--primary); }
.prob-fill.d { background: var(--text-3); }
.prob-fill.a { background: var(--accent); }
.prob-pct {
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

/* 推荐区 */
.rec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.rec-label { font-size: 12px; color: var(--text-3); }
.rec-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.rec-tag.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.rec-conf { margin-left: auto; font-size: 11px; color: var(--text-3); }
.rec-conf b { color: var(--warn); font-weight: 700; }

/* AI 分析文本 */
.ai-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-2);
  white-space: pre-wrap;
}
.ai-text p { margin: 0 0 10px; }
.ai-text p:last-child { margin: 0; }

/* 近期战绩 */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-col h4 { font-size: 13px; margin: 0 0 10px; color: var(--text); font-weight: 600; }
.form-list { list-style: none; padding: 0; margin: 0; }
.form-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 12.5px;
  border-bottom: 1px solid var(--border-2);
}
.form-list li:last-child { border: 0; }
.form-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  color: #fff;
}
.form-w { background: var(--primary); }
.form-l { background: var(--danger); }
.form-d { background: var(--text-3); }
.form-opp {
  flex: 1;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.form-score {
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* H2H */
.h2h-list { list-style: none; padding: 0; margin: 0; }
.h2h-list li {
  display: grid;
  grid-template-columns: 80px 1fr 60px 1fr;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-2);
  font-size: 12.5px;
}
.h2h-list li:last-child { border: 0; }
.h2h-date { color: var(--text-3); font-size: 11px; }
.h2h-home { text-align: right; color: var(--text-2); }
.h2h-away { text-align: left; color: var(--text-2); }
.h2h-score-cell {
  text-align: center;
  font-weight: 700;
  background: var(--surface-2);
  padding: 3px 0;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}

/* FAQ */
.faq-section { margin-top: 16px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}
.faq-item summary {
  padding: 14px 16px;
  font-weight: 500;
  font-size: 13.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--text-3); font-size: 16px; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--primary); }
.faq-item .faq-body {
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ──────────────── 信息页（about/methodology/accuracy）──────────────── */
.info-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}
.info-page h1 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -.4px;
}
.info-page .lead {
  color: var(--text-2);
  font-size: 14.5px;
  margin: 0 0 20px;
}
.info-page section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 12px;
}
.info-page h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -.2px;
}
.info-page h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 6px;
}
.info-page p, .info-page li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}
.info-page p { margin: 0 0 10px; }
.info-page ul, .info-page ol { padding-left: 22px; margin: 0 0 10px; }
.info-page strong { color: var(--text); }
.info-page code {
  background: var(--surface-2);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--text);
}
.info-page a { color: var(--primary); }

/* 准确率页 */
.acc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.acc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
}
.acc-card .acc-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.acc-card .acc-lbl {
  font-size: 13px;
  color: var(--text);
  margin-top: 8px;
  font-weight: 500;
}
.acc-card .acc-sub {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 4px;
}

/* ──────────────── Footer（极简）──────────────── */
#site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  margin-top: 48px;
  font-size: 12.5px;
  color: var(--text-3);
}
.ft-row {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.ft-links { display: flex; gap: 14px; flex-wrap: wrap; }
.ft-links a { color: var(--text-3); }
.ft-links a:hover { color: var(--primary); }
.ft-copy { line-height: 1.6; }
.ft-copy small { display: block; opacity: .8; font-size: 11px; margin-top: 2px; }

/* ──────────────── 浮动 CTA（唯一注册入口）──────────────── */
.fab-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
}
.fab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,170,85,.32), 0 1px 4px rgba(0,0,0,.1);
  transition: all .2s;
}
.fab-link:hover {
  background: var(--primary-h);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,170,85,.4), 0 2px 6px rgba(0,0,0,.12);
}
.fab-link svg { width: 16px; height: 16px; }
.fab-close {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text);
  color: var(--surface);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s;
}
.fab-cta:hover .fab-close { opacity: .9; }

/* ──────────────── 404 ──────────────── */
.err-page {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 16px;
}
.err-code {
  font-size: 88px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin: 0;
}
.err-page h2 { font-size: 18px; margin: 12px 0 8px; font-weight: 600; }
.err-page p { color: var(--text-2); margin-bottom: 20px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.btn:hover { background: var(--surface-2); color: var(--text); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-h); color: #fff; }

/* ──────────────── 长文（SEO 段落，info-page 已涵盖大部分）──────────────── */
.seo-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 16px;
}
.seo-content h2 { font-size: 17px; margin: 0 0 12px; font-weight: 700; }
.seo-content h3 { font-size: 14px; margin: 16px 0 6px; color: var(--text); font-weight: 600; }
.seo-content p, .seo-content li { font-size: 13.5px; line-height: 1.75; color: var(--text-2); }
.seo-content p { margin: 0 0 8px; }
.seo-content ul { padding-left: 20px; margin: 0 0 8px; }
.seo-content strong { color: var(--text); }
.seo-content a { color: var(--primary); }

/* ──────────────── 响应式 ──────────────── */
@media (max-width: 880px) {
  .layout, .match-grid { grid-template-columns: 1fr; }
  .side-col { order: 2; }
  .main-nav { display: none; }
  .hdr-burger {
    display: inline-flex;
    width: 36px; height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .hdr-burger:hover { background: var(--surface-2); }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 8px;
    gap: 0;
    box-shadow: var(--shadow);
  }
  .main-nav.open a {
    padding: 12px;
    border-radius: var(--radius-sm);
  }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-stats { font-size: 12px; gap: 12px; }
  .match-row {
    grid-template-columns: 48px 1fr 60px 1fr 60px;
    padding: 10px 12px;
    gap: 6px;
  }
  .mr-name { font-size: 12.5px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .h2h-list li { grid-template-columns: 1fr 50px 1fr; gap: 6px; font-size: 12px; }
  .h2h-date { display: none; }
  .acc-grid { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .acc-card { padding: 16px 8px; }
  .acc-card .acc-num { font-size: 24px; }
  .mh-crest-big { width: 48px; height: 48px; }
  .mh-team-name { font-size: 13px; }
  .mh-score-big { font-size: 24px; }
  .ft-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .fab-link { padding: 10px 14px; font-size: 13px; }
  .info-page h1 { font-size: 22px; }
  .info-page section { padding: 18px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 18px; }
  .hero-stats { flex-wrap: wrap; }
  .match-row { grid-template-columns: 44px 1fr 56px 1fr 50px; }
  .mr-pred-pct { font-size: 12px; }
  .mr-pred-out { display: none; }
  .acc-grid { gap: 6px; }
  .acc-card { padding: 14px 4px; }
  .acc-card .acc-num { font-size: 20px; }
  .acc-card .acc-lbl { font-size: 11.5px; }
}
