:root {
  --bg: #071018;
  --ink: #e8eef6;
  --muted: #93a4b8;
  --gold: #e4c47a;
  --gold-2: #f6e7c2;
  --line: rgba(228, 196, 122, 0.22);
  --card: rgba(16, 32, 48, 0.92);
  --live: #ff5d52;
  --max: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(228, 196, 122, 0.16), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, rgba(36, 92, 140, 0.35), transparent 55%),
    linear-gradient(180deg, #0c1926 0%, #071018 42%, #060d14 100%);
  min-height: 100vh;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}
a { color: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: #1a1306;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(7, 16, 24, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header:before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #8d6a2f, var(--gold), #f6e7c2, var(--gold), #8d6a2f);
}
.header-bar { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.logo span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}
.nav a:hover { color: var(--gold-2); }
.nav-toggle, .nav-btn { display: none; }
.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 36px;
  align-items: end;
  padding: 54px 0 18px;
}
.kicker {
  margin: 0 0 10px;
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 13px;
}
h1, h2, .score, .faceoff strong, .hero-teams strong {
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PMingLiU", serif;
  font-weight: 600;
}
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; margin: 0 0 16px; }
.lede, .lede-s { color: var(--muted); font-size: 17px; line-height: 1.75; max-width: 62ch; }
.hero-card, .board, .story, .detail, .about, .faq, .chip {
  background: var(--card);
  border: 1px solid var(--line);
}
.hero-card {
  display: block;
  text-decoration: none;
  padding: 22px;
  min-height: 210px;
}
.hero-teams, .faceoff {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.club { display: grid; justify-items: center; gap: 8px; text-align: center; }
.club em { font-style: normal; }
.badge {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(228, 196, 122, 0.45);
  background: #0c1824;
  overflow: hidden;
}
.badge-lg { width: 64px; height: 64px; }
.badge img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.badge span {
  position: absolute;
  color: var(--gold-2);
  font-style: normal;
  font-family: "Songti SC", "STSong", serif;
  font-size: 13px;
}
.badge-lg span { font-size: 22px; }
.hero-teams strong, .faceoff strong { font-size: 32px; letter-spacing: 0.04em; }
.muted { color: var(--muted); }
.section, .split { margin: 34px 0; }
.section-h {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}
.section-h h2 { margin: 0; font-size: 28px; }
.section-h p { margin: 6px 0 0; color: var(--muted); }
.section-h > a { color: var(--gold); text-decoration: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  text-decoration: none;
  padding: 10px 14px;
  color: var(--gold-2);
}
.chip.is-main { background: linear-gradient(180deg, rgba(228,196,122,0.2), rgba(228,196,122,0.05)); }
.board { overflow: hidden; }
.day-bar {
  padding: 10px 16px;
  color: var(--gold-2);
  background: rgba(228, 196, 122, 0.08);
  letter-spacing: 0.08em;
  font-size: 13px;
}
.match-row {
  display: grid;
  grid-template-columns: 72px 92px 1fr 88px;
  gap: 10px;
  align-items: center;
  padding: 13px 16px;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.match-row:hover { background: rgba(255,255,255,0.03); }
.match-row time, .league-tag, .status { color: var(--muted); font-size: 13px; }
.league-tag {
  border: 1px solid rgba(228,196,122,0.35);
  color: var(--gold-2);
  text-align: center;
  padding: 3px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}
.side {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 600;
}
.side-home { justify-content: flex-end; }
.side span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.score { color: var(--gold-2); font-style: normal; letter-spacing: 0.04em; }
.match-row.is-live .status { color: var(--live); }
.match-row.is-live .status:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(255,93,82,0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(255,93,82,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,93,82,0); }
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.story-list { display: grid; gap: 10px; }
.story {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  text-decoration: none;
}
.story span, .empty { color: var(--muted); }
.about, .faq { padding: 8px 22px 18px; }
.faq details { border-top: 1px solid rgba(255,255,255,0.08); padding: 12px 0; }
.faq summary { cursor: pointer; font-size: 17px; }
.faq p, .about p, .detail p { line-height: 1.8; color: #d5deea; }
.detail { padding: 28px 22px 32px; }
.detail h1 { font-size: clamp(32px, 4vw, 48px); }
.faceoff { margin: 18px 0; }
.status-line { color: var(--gold-2); }
.lines { display: flex; flex-wrap: wrap; gap: 12px; }
.lines a {
  text-decoration: none;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  padding: 12px 18px;
}
.cover { width: 100%; height: auto; display: block; margin-bottom: 18px; background: #102033; }
.crumb { color: var(--muted); padding-top: 22px; font-size: 14px; }
.crumb a { color: var(--gold-2); }
.pager { display: flex; gap: 8px; margin-top: 16px; }
.pager a { text-decoration: none; border: 1px solid var(--line); padding: 6px 10px; }
.pager .is-current { color: #1a1306; background: var(--gold); }
.site-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0 36px;
  color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-footer strong { display: block; color: var(--ink); margin-bottom: 8px; }
.site-footer p { margin: 0; line-height: 1.7; }
.link-row { display: flex; flex-direction: column; gap: 6px; }
.link-row a { color: var(--gold-2); }
.footer-copy { margin-top: 18px; font-size: 13px; }
@media (max-width: 860px) {
  .hero, .split, .footer-grid { grid-template-columns: 1fr; }
  .nav-btn {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid var(--line);
    padding: 6px 10px;
    color: var(--gold-2);
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 75px;
    flex-direction: column;
    gap: 0;
    background: #0c1824;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 14px;
  }
  .nav a { padding: 10px 0; }
  .match-row { grid-template-columns: 64px 1fr auto; }
  .league-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .match-row.is-live .status:before { animation: none; }
}
