:root {
  --navy: #0c2340;
  --navy-2: #16365c;
  --crimson: #c8102e;
  --gold: #c6a15a;
  --paper: #eef2f6;
  --card: #ffffff;
  --ink: #172033;
  --muted: #5d6b7c;
  --line: #e3e8ef;
  --live: #d21f3c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(12, 35, 64, .18);
}
.top-bar { display: flex; align-items: center; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; }
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid rgba(198, 161, 90, .7);
}
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: rgba(255,255,255,.86); font-size: 15px; }
.nav a.on, .nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav-toggle, .nav-btn { display: none; }
.hero {
  background:
    radial-gradient(circle at 88% 20%, rgba(198,161,90,.28), transparent 28%),
    linear-gradient(115deg, #0c2340 0%, #16365c 58%, #0c2340 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 24px; align-items: center; padding: 48px 0 42px; }
.eyebrow { margin: 0 0 8px; color: var(--gold); letter-spacing: .16em; font-size: 13px; }
.hero-title { margin: 0; font-size: 64px; line-height: 1.05; letter-spacing: .04em; }
.hero-sub { max-width: 640px; color: rgba(255,255,255,.82); font-size: 17px; }
.hero-actions { display: flex; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--crimson);
  color: #fff;
  font-weight: 700;
}
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.45); }
.hero-mark img { width: 220px; height: auto; border-radius: 28px; display: block; margin-left: auto; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.league-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: -18px; position: relative; z-index: 2; }
.league-row a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(18, 36, 58, .05);
}
.league-row a:hover { border-color: var(--gold); color: var(--crimson); }
.block { margin-top: 28px; }
.block-head, .day-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.block-head h2, .about h2, .faq h2, .page-head h1 { margin: 0; letter-spacing: .04em; }
.block-head a { color: var(--crimson); font-size: 14px; }
.day-title { margin: 18px 0 8px; font-size: 16px; color: var(--navy); }
.match-list { display: flex; flex-direction: column; gap: 8px; }
.match-row {
  display: grid;
  grid-template-columns: 72px 88px minmax(0, 1fr) 92px;
  gap: 8px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid #c5d0dc;
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 64px;
}
.match-row:hover { border-color: #d7dee7; box-shadow: 0 8px 18px rgba(18,36,58,.06); }
.match-row.kind-live { border-left-color: var(--live); }
.match-row.kind-end { border-left-color: #8ea0b5; }
.m-time { display: flex; flex-direction: column; line-height: 1.2; }
.m-time b { font-size: 18px; }
.m-time i, .m-state, .card em, .text-list time, .news-card time { font-style: normal; color: var(--muted); font-size: 12px; }
.m-league { color: var(--crimson); font-weight: 700; font-size: 14px; }
.m-teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 8px; align-items: center; }
.team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.team.home { justify-content: flex-end; text-align: right; }
.team em { font-style: normal; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team img, .score-team img { width: 28px; height: 28px; object-fit: contain; background: #f7f8fa; border-radius: 50%; }
.m-score { font-weight: 800; letter-spacing: .04em; min-width: 64px; text-align: center; }
.kind-live .m-score, .kind-live .m-state { color: var(--live); }
.m-state { text-align: right; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px auto 10px; }
.panel, .score-card, .signals, .prose, .card, .news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.panel { padding: 16px 18px 8px; }
.text-list { list-style: none; margin: 0; padding: 0; }
.text-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.text-list a { font-weight: 650; }
.text-list a:hover { color: var(--crimson); }
.about, .faq { margin: 28px auto 10px; }
.about p, .faq p { color: #314256; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px 2px; margin-top: 10px; }
.faq-item h3 { margin: 12px 0 4px; font-size: 17px; }
.page-head { background: linear-gradient(180deg, #0c2340, #143156); color: #fff; padding: 28px 0 24px; }
.page-head p, .crumb, .crumb a { color: rgba(255,255,255,.78); }
.crumb a:hover { color: #fff; }
.page-head h1 { font-size: 36px; margin: 6px 0; }
.date-nav { display: flex; gap: 8px; margin-top: 12px; }
.date-nav a { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.date-nav a.on { background: #fff; color: var(--navy); }
.score-card { margin-top: -28px; position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; padding: 22px; align-items: center; }
.score-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.score-team img { width: 64px; height: 64px; }
.score-mid { text-align: center; }
.score-mid b { display: block; font-size: 40px; letter-spacing: .06em; }
.signals, .prose { margin-top: 16px; padding: 18px 20px; }
.signal-links { display: flex; flex-wrap: wrap; gap: 10px; }
.signal-links a { background: var(--navy); color: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; }
.card-grid, .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card, .news-card { padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.card strong, .news-card strong { font-size: 17px; line-height: 1.45; }
.card-kicker { color: var(--crimson); font-size: 13px; font-weight: 700; }
.news-card { flex-direction: row; gap: 12px; min-height: 0; }
.news-card img, .article-body .cover { width: 132px; height: 88px; object-fit: cover; border-radius: 10px; flex: none; }
.article-body { padding: 22px; margin-top: -22px; }
.article-body .cover { width: 100%; height: auto; max-height: 420px; margin-bottom: 12px; }
.article-body img { border-radius: 12px; }
.neighbor { display: flex; justify-content: space-between; gap: 16px; margin: 16px auto 28px; }
.neighbor a { color: var(--navy); font-weight: 700; }
.pager { display: flex; gap: 8px; justify-content: center; margin: 18px 0 8px; }
.pager a, .pager span { min-width: 36px; text-align: center; padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.pager .on { background: var(--navy); color: #fff; }
.empty { color: var(--muted); }
.foot { margin-top: 36px; background: #0b1c33; color: rgba(255,255,255,.72); padding: 28px 0; font-size: 14px; }
.foot-name { color: #fff; font-weight: 700; margin-bottom: 4px; }
.more-line { margin: 14px 0 28px; }
.more-line a { color: var(--crimson); font-weight: 700; }
@media (max-width: 860px) {
  .hero-grid, .split, .card-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 46px; }
  .hero-mark { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .match-row { grid-template-columns: 64px minmax(0,1fr) auto; grid-template-areas: "time league state" "teams teams teams"; }
  .m-time { grid-area: time; }
  .m-league { grid-area: league; }
  .m-state { grid-area: state; }
  .m-teams { grid-area: teams; }
  .nav-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; margin-left: auto; }
  .nav-btn i { display: block; height: 2px; background: #fff; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #0c2340; flex-direction: column; padding: 8px 16px 16px; }
  .top-bar { position: relative; }
}
@media (max-width: 640px) {
  .team em { white-space: normal; }
  .score-card { grid-template-columns: 1fr; }
  .score-mid b { font-size: 32px; }
  .page-head h1 { font-size: 28px; }
  .news-card { flex-direction: column; }
  .news-card img { width: 100%; height: 160px; }
  .neighbor { flex-direction: column; }
}
