/* 观赛指南 v2（方向 A「赛程表」）：浅色、信息密度高；只用系统字体，不加载外部资源 */
:root {
  --bg: #f6f7f9; --surface: #ffffff; --ink: #0f172a; --muted: #475569; --line: #e2e8f0; --line-soft: #f1f5f9;
  --accent: #1d4ed8; --accent-ink: #1e3a8a; --accent-soft: #e0e7ff;
  --epl: #3d195b; --nba: #c2410c; --warn-bg: #fff7ed; --warn-ink: #9a3412; --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-variant-numeric: tabular-nums; }
a { color: var(--accent); }
a:hover { color: var(--accent-ink); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
h1 { font-size: 30px; line-height: 1.3; margin: 18px 0 8px; font-weight: 900; }
h2 { font-size: 19px; margin: 0; font-weight: 900; }
h3 { font-size: 16px; margin: 0; }

.masthead { background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 900; color: var(--ink); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-size: 15px; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 18px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.nav a:hover { color: var(--accent); }

.hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 0 18px; }
.lede { color: var(--muted); margin: 0 0 16px; }
.regions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.regions-label { font-weight: 700; font-size: 14px; margin-right: 4px; }
.region { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #cbd5e1; border-radius: 999px;
  background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; }
.region:hover { border-color: var(--accent); color: var(--accent); }
.region.is-on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }

main.wrap { padding-top: 8px; padding-bottom: 32px; }
main.split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; padding-top: 20px; }
.main-col { flex: 999 1 620px; min-width: 0; }
.side-col { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 18px; overflow: hidden; }
main.split .panel { margin: 0; }
main.split > .crumbs { flex: 1 1 100%; margin: 0; }
.panel-head { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.pad { padding: 16px 18px; }
.panel.pad h2 { margin-bottom: 10px; }
.day { font-size: 14px; font-weight: 700; color: var(--muted); background: var(--line-soft); padding: 8px 18px; margin: 0; }

.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: var(--muted); }

.fixtures { list-style: none; margin: 0; padding: 0; }
.fx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); }
.fx:last-child { border-bottom: 0; }
.fx-time { flex: 0 0 auto; min-width: 74px; display: flex; flex-direction: column; line-height: 1.2; }
.fx-time b { font-size: 21px; font-weight: 900; }
.fx-time small { font-size: 12px; color: var(--muted); }
.fx-teams { flex: 1 1 220px; font-weight: 700; }
.fx-teams i { font-style: normal; font-weight: 400; color: #64748b; }
.fx-teams a { color: var(--ink); text-decoration: none; }
.fx-teams a:hover { color: var(--accent); text-decoration: underline; }
.fx-state { flex: 0 0 auto; font-size: 14px; color: var(--muted); }
.fx-where { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 6px; padding-left: 88px; }
.is-final .fx-time b { color: var(--muted); }
.score { font-weight: 900; color: var(--ink); }

.badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; }
.badge-premier-league { background: var(--epl); }
.badge-nba { background: var(--nba); }
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--accent); color: var(--accent); text-decoration: none; margin: 2px 4px 2px 0; }
a.chip:hover { background: var(--accent-soft); }
.chip-pending { border-style: dashed; border-color: #94a3b8; color: #64748b; }
.pending { color: #64748b; }

.region-summary, .league-links { list-style: none; margin: 0; padding: 0; }
.region-summary li { display: flex; flex-direction: column; padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.region-summary li:first-child { border-top: 0; }
.region-summary a { font-weight: 700; }
.region-summary span { color: var(--muted); }
.league-links li { padding: 6px 0; }
.where-block { padding: 8px 0; border-top: 1px solid var(--line-soft); }
.where-block:first-of-type { border-top: 0; }
.where-block p { margin: 4px 0; }

.table-box { overflow-x: auto; }
.matrix, .clock { width: 100%; border-collapse: collapse; font-size: 15px; }
.matrix th, .matrix td, .clock th, .clock td { text-align: left; padding: 10px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.matrix th[scope="row"] { white-space: nowrap; }
.matrix thead th { font-size: 13px; color: var(--muted); font-weight: 700; }
.clock th { font-weight: 500; color: var(--muted); }
.clock td b { font-size: 18px; }

.channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 0 0 18px; }
.channel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.channel-name { font-size: 18px; margin-bottom: 4px; }
.channel-cov { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.cov-all { color: #166534; }
.cov-sel { color: var(--warn-ink); }
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

.match-head { margin-top: 12px; }
.match-head h1 { margin: 6px 0 10px; }
.kicker { margin: 0; font-size: 13px; color: var(--muted); }
.bigtime { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 10px; }
.bigtime b { font-size: 44px; line-height: 1; font-weight: 900; }
.bigtime span { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tag { padding: 3px 10px; border-radius: 6px; background: var(--line-soft); font-size: 13px; }

.notice { padding: 12px 16px; border-radius: 10px; margin: 12px 0; font-size: 14px; }
.notice-pending, .notice-sample { background: var(--warn-bg); color: var(--warn-ink); }
.hint { color: var(--muted); font-size: 13px; }
.more { font-weight: 700; text-decoration: none; }
.prose h2 { margin: 18px 0 6px; }
.prose h2:first-child { margin-top: 0; }

.foot { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 13px; padding: 16px 0; }

@media (max-width: 600px) {
  h1 { font-size: 24px; }
  .fx-where { padding-left: 0; }
  .bigtime b { font-size: 38px; }
}
