:root {
  --ink: #172033;
  --muted: #667085;
  --line: #e4e8f0;
  --paper: #f3f5f8;
  --card: #ffffff;
  --red: #d21f3c;
  --gold: #c4a15a;
  --navy: #0c1220;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}
* { 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.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, summary { font-family: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { background: var(--navy); color: #fff; }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.brand strong { display: block; font-size: 20px; letter-spacing: 0.04em; }
.brand small { display: block; color: var(--gold); font-size: 12px; letter-spacing: 0.12em; }
.header-note { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; }
.nav { border-top: 1px solid rgba(196,161,90,.35); }
.nav-row { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nav-row a { flex: 0 0 auto; color: rgba(255,255,255,.78); padding: 12px 12px 10px; font-size: 14px; }
.nav-row a.on { color: #fff; box-shadow: inset 0 -2px 0 var(--red); }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; padding: 28px 0 8px; }
.hero-copy, .feature-match {
  background:
    radial-gradient(420px 160px at 0 0, rgba(210,31,60,.22), transparent 60%),
    linear-gradient(165deg, #17233a, #0c1220);
  color: #fff;
  border-radius: 18px;
  padding: 28px 26px;
  min-height: 230px;
}
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 12px; letter-spacing: 0.16em; }
.hero-copy h1 { margin: 0 0 10px; font-size: 46px; line-height: 1.15; letter-spacing: 0.02em; }
.lead { margin: 0; color: rgba(255,255,255,.82); font-size: 16px; }
.feature-match { display: flex; flex-direction: column; justify-content: center; }
.feature-empty { margin: 12px 0 0; color: rgba(255,255,255,.8); }
.section { margin-top: 34px; }
.sec-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.sec-head h2, .page-gap h1, .about h2 { margin: 0; font-size: 24px; letter-spacing: 0.02em; }
.sec-head h2 { flex: 1; }
.sec-head a, .text-link { color: var(--red); font-size: 14px; }
.text-link { margin-left: 12px; }
.page-gap { padding: 22px 0 10px; }
.page-gap h1 { margin-bottom: 8px; }
.intro, .hint, .byline, .empty { color: var(--muted); }
.intro { margin-top: 0; }
.empty { background: var(--card); border-radius: 12px; padding: 18px; }
.live-cols, .grid-3, .grid-4, .topic-grid, .stack { display: grid; gap: 12px; }
.live-cols { grid-template-columns: 1.1fr .9fr 1.1fr; align-items: start; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.topic-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stack { grid-template-columns: 1fr; }
.live-col h3 { margin: 0 0 8px; font-size: 16px; }
.live-col h3 a { color: var(--ink); }
.match {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px 10px;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}
.stack > .match:last-child, .live-col .match:last-child { margin-bottom: 0; }
.match-top, .match-mid { display: flex; }
.match-top { align-items: center; gap: 8px; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.match-top .league { color: var(--red); font-style: normal; font-weight: 700; }
.match-top .state { margin-left: auto; font-style: normal; }
.phase-live .state { color: var(--red); }
.phase-done .state { color: #3d9a62; }
.match-mid { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 8px; align-items: center; }
.team { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.team.away { align-items: flex-end; text-align: right; }
.team b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
.team img, .avatar {
  width: 40px; height: 40px; border-radius: 8px; object-fit: contain; background: #fff;
}
.avatar { border-radius: 50%; background: #eef1f6; }
.avatar { display: grid; place-items: center; font-style: normal; color: var(--navy); font-weight: 700; }
.score { display: flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 20px; }
.score i { font-style: normal; color: var(--muted); font-weight: 500; }
.score .vs { font-size: 14px; letter-spacing: 0.08em; }
.match.on-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; box-shadow: none; margin: 8px 0 0; }
.match.on-dark .match-top, .match.on-dark .score i { color: rgba(255,255,255,.7); }
.match.on-dark .league, .match.on-dark .phase-live .state { color: #ffb4c0; }
.match.on-dark .avatar { background: rgba(255,255,255,.12); color: #fff; }
.vcard, .ncard, .topic {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.vcard { display: flex; flex-direction: column; min-width: 0; }
.vcover, .ncover, .hero-photo { position: relative; display: block; background: #dfe5ef; }
.vcover { aspect-ratio: 16 / 10; }
.ncover { aspect-ratio: 16 / 9; }
.vcover > img, .ncover img, .hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcover > img.play-badge { position: absolute; left: 10px; bottom: 10px; width: 28px; height: 28px; object-fit: contain; }
.cover-fallback { display: grid; place-items: center; height: 100%; color: var(--navy); font-weight: 800; letter-spacing: 0.08em; }
.vcard strong, .ncard strong { display: block; padding: 10px 12px 0; font-size: 14px; line-height: 1.45; }
.vcard em, .ncard em { display: block; padding: 4px 12px 12px; color: var(--muted); font-style: normal; font-size: 12px; }
.ncard { display: flex; flex-direction: column; min-width: 0; }
.ncard p { margin: 0; padding: 0 12px 14px; color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.topic { padding: 14px 12px; }
.topic small { color: var(--gold); letter-spacing: 0.08em; }
.topic strong { display: block; margin-top: 4px; font-size: 18px; }
.topic em { color: var(--muted); font-style: normal; font-size: 12px; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.crumb a { color: var(--red); }
.crumb em { font-style: normal; color: var(--ink); }
.detail-match .match { margin-bottom: 18px; }
.signal-row, .player-box { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.signal, .play-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 700;
}
.signal { border: 1px solid var(--red); color: var(--red); background: #fff; min-width: 108px; }
.play-btn { background: var(--red); color: #fff; }
.player { width: min(100%, 760px); border-radius: 12px; background: #000; }
.article { font-size: 17px; line-height: 1.9; }
.article p { margin: 0 0 14px; }
.article img { border-radius: 12px; }
.hero-photo { border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.narrow { width: min(820px, calc(100% - 32px)); }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0; color: var(--muted); }
.about { background: var(--card); border-radius: 16px; padding: 22px 20px; border: 1px solid var(--line); }
.about p { margin: 10px 0 0; }
.about a { color: var(--red); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.pager a, .pager em, .pager span {
  min-width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 8px; background: #fff; border: 1px solid var(--line); font-style: normal;
}
.pager em { background: var(--navy); color: #fff; border-color: var(--navy); }
.site-foot { margin-top: 36px; padding: 26px 0 40px; color: var(--muted); font-size: 13px; }
.site-foot p { margin: 0 0 6px; }
.js .hero-copy > *,
.js .feature-match,
.js .rise { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-copy > *, .js .feature-match, .js .rise { opacity: 1; }
}
@media (max-width: 980px) {
  .hero, .live-cols, .grid-4, .topic-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero-copy h1 { font-size: 36px; }
}
@media (max-width: 720px) {
  .header-note { display: none; }
  .brand strong { font-size: 16px; letter-spacing: 0; }
  .hero, .live-cols, .grid-3, .grid-4, .topic-grid { grid-template-columns: 1fr; }
  .hero-copy, .feature-match { min-height: 0; padding: 22px 18px; }
  .hero-copy h1 { font-size: 32px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .sec-head h2, .page-gap h1 { font-size: 22px; }
  .article { font-size: 16px; }
}
@media (max-width: 380px) {
  .container, .narrow { width: min(1120px, calc(100% - 20px)); }
  .score { font-size: 16px; }
  .team b { font-size: 13px; }
}
