:root {
  --navy: #10141c;
  --ink: #171b22;
  --muted: #667085;
  --gold: #c6a15a;
  --red: #d0121a;
  --line: #e6e8ee;
  --bg: #f4f5f7;
  --card: #fff;
  --shadow: 0 10px 30px rgba(16, 20, 28, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.top-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand {
  margin-right: auto;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  color: rgba(255,255,255,.86);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
}
.nav a.is-on, .nav a:hover { background: rgba(198,161,90,.18); color: #fff; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; align-items: center; justify-content: center; }
.nav-btn span, .nav-btn span:before, .nav-btn span:after {
  display: block; width: 18px; height: 2px; background: #fff; position: relative; content: "";
}
.nav-btn span:before { position: absolute; top: -6px; }
.nav-btn span:after { position: absolute; top: 6px; }
.hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(198,161,90,.28), transparent 28%),
    linear-gradient(160deg, #10141c 0%, #1c2838 70%, #2a1d22 100%);
  color: #fff;
  padding: 54px 0 42px;
}
.eyebrow { margin: 0 0 10px; letter-spacing: .18em; color: var(--gold); font-size: 13px; }
.hero-title { margin: 0; font-size: 46px; line-height: 1.2; letter-spacing: .02em; }
.hero-sub { max-width: 680px; margin: 14px 0 0; color: rgba(255,255,255,.82); font-size: 17px; }
.stats { display: flex; gap: 14px; margin-top: 26px; }
.stat {
  min-width: 120px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}
.stat b { display: block; font-size: 28px; line-height: 1.1; color: #fff; }
.stat span { color: rgba(255,255,255,.7); font-size: 13px; }
.section { padding: 28px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec-head h2, .page h1, .about h2 { margin: 0; font-size: 24px; letter-spacing: .02em; }
.sec-head h2 { padding-left: 12px; border-left: 4px solid var(--red); }
.sec-head p, .lead { color: var(--muted); margin: 8px 0 0; }
.sec-head a { color: var(--red); text-decoration: none; font-size: 14px; }
.panel, .about.box, .board, .faq details {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.match {
  display: grid;
  grid-template-columns: 78px 88px minmax(0,1fr) 92px minmax(0,1fr) 78px;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.match:last-child { border-bottom: 0; }
.match:hover { background: #faf8f4; }
.time b { display: block; font-size: 16px; }
.time small, .league, .vmeta, .ncard span, .state-line { color: var(--muted); font-size: 13px; }
.league { font-weight: 600; color: #8a5a12; }
.team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.team.home { flex-direction: row-reverse; text-align: right; }
.team em { font-style: normal; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team img, .team i {
  width: 36px; height: 36px; border-radius: 50%; background: #eef0f4; flex: 0 0 36px; object-fit: contain;
}
.score { display: flex; justify-content: center; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; font-weight: 750; font-size: 18px; }
.score.vs { color: var(--muted); letter-spacing: .08em; }
.score i { color: #c5c8d0; font-style: normal; }
.state { justify-self: center; padding: 3px 8px; border-radius: 999px; font-size: 12px; background: #eef1f6; }
.state.live { color: #fff; background: var(--red); }
.state.end { color: #526072; }
.state.wait { color: #245071; background: #e7f0f8; }
.themes, .cards { display: grid; gap: 14px; }
.themes { grid-template-columns: repeat(6, 1fr); }
.theme-card, .vcard, .ncard {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-decoration: none;
}
.theme-card { padding: 16px 14px; display: flex; flex-direction: column; gap: 6px; min-height: 132px; }
.theme-card img { width: 36px; height: 36px; }
.theme-card strong { font-size: 18px; }
.theme-card span, .vmeta { color: var(--muted); font-size: 13px; }
.theme-card:hover, .vcard:hover, .ncard:hover { transform: translateY(-2px); }
.cards { grid-template-columns: repeat(4, 1fr); }
.vcard { overflow: hidden; }
.vcover { display: block; aspect-ratio: 16/10; background: linear-gradient(160deg, #1a2333, #3a2a22); }
.vcover img { width: 100%; height: 100%; object-fit: cover; }
.ph { display: flex; height: 100%; align-items: center; justify-content: center; color: #fff; letter-spacing: .12em; }
.vtitle { display: block; padding: 12px 12px 0; font-weight: 700; min-height: 52px; }
.vmeta { display: block; padding: 6px 12px 14px; }
.nlist { display: grid; gap: 10px; }
.ncard { display: flex; flex-direction: column; padding: 14px 16px; }
.ncard strong { font-size: 16px; }
.about { padding-bottom: 8px; }
.about.box, .about p { }
.page .about.box, .faq { margin-top: 16px; }
.about.box { padding: 18px 20px; }
.about p { margin: 10px 0 0; color: #3c4350; }
.faq details { padding: 0 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; }
.faq details p { margin: 0 0 14px; color: #3c4350; }
.footer { background: var(--navy); color: #b7b1a6; padding: 28px 0 34px; margin-top: 20px; text-align: center; }
.footer p { margin: 6px 0; font-size: 13px; }
.page { padding: 22px 0 10px; }
.page h1 { font-size: 30px; line-height: 1.35; }
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.crumb a { color: #8a5a12; text-decoration: none; }
.board {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 22px;
}
.board-team { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.board-team small { color: var(--muted); }
.state-line { margin-top: 14px; }
.signals { display: flex; flex-wrap: wrap; gap: 10px; }
.signals a, .more-line a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
}
.more-line a { background: transparent; color: var(--red); padding-left: 0; }
.cover img { margin-top: 12px; border-radius: 16px; max-height: 420px; object-fit: cover; }
.article { margin-top: 8px; font-size: 17px; }
.article p { margin: 0 0 14px; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 18px 0; }
.pager a { color: var(--red); text-decoration: none; }
.empty { background: var(--card); border-radius: 16px; padding: 22px; color: var(--muted); }
.miss { min-height: 36vh; }
@media (max-width: 980px) {
  .themes { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 36px; }
}
@media (max-width: 800px) {
  .brand { font-size: 16px; }
  .nav-btn { display: flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 76px;
    background: #161b24;
    flex-direction: column;
    padding: 10px 16px 16px;
    align-items: stretch;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .top-inner { position: relative; }
  .hero { padding: 32px 0 26px; }
  .hero-title { font-size: 30px; }
  .stats { flex-wrap: wrap; }
  .match {
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    grid-template-areas:
      "time league state"
      "away score home";
    padding: 12px;
  }
  .time { grid-area: time; }
  .league { grid-area: league; justify-self: center; }
  .state { grid-area: state; justify-self: end; }
  .team.away { grid-area: away; }
  .team.home { grid-area: home; }
  .score { grid-area: score; }
  .themes, .cards { grid-template-columns: 1fr 1fr; }
  .page h1 { font-size: 24px; }
  .board { padding: 16px 10px; }
}
@media (max-width: 520px) {
  .cards, .themes { grid-template-columns: 1fr; }
  .team em { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .theme-card:hover, .vcard:hover, .ncard:hover { transform: none; }
}
