:root {
  --bg: #07070c;
  --bg-2: #101018;
  --card: #16161f;
  --line: rgba(255,255,255,.08);
  --text: #ececf1;
  --muted: #9a9aaa;
  --accent: #e11d48;
  --gold: #f5c542;
  --cyan: #22d3ee;
  --live: #fb7185;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 8% -12%, rgba(225,29,72,.22), transparent 58%),
    radial-gradient(720px 420px at 100% 0%, rgba(34,211,238,.1), transparent 52%),
    linear-gradient(180deg, #0c0c14 0%, var(--bg) 46%, #050508 100%);
  min-height: 100vh;
}
a { color: #f8d48b; text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.grid-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, #000 30%, transparent 78%);
  z-index: 0;
}
.topbar, .endbar, main { position: relative; z-index: 1; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8,8,14,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 20px;
}
.brand img {
  border-radius: 10px;
  border: 1px solid rgba(245,197,66,.45);
  background: #111;
}
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #1b1b26;
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav-drop { position: relative; }
.nav-drop > a {
  display: block;
  color: #d7d7e2;
  padding: 9px 13px;
  border-radius: 10px;
  font-weight: 700;
}
.nav-drop > a.current, .nav-drop > a:hover {
  background: rgba(225,29,72,.16);
  color: #fff;
}
.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 168px;
  background: #14141e;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.nav-sub a { display: block; color: #d7d7e2; padding: 8px 10px; border-radius: 8px; }
.nav-sub a.current, .nav-sub a:hover { background: rgba(245,197,66,.12); color: var(--gold); }
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { display: block; }
.hero {
  margin: 28px 0 22px;
  padding: 36px 32px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(225,29,72,.28), rgba(10,10,16,.88) 55%),
    #12121c;
  border: 1px solid rgba(245,197,66,.18);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  overflow: hidden;
}
.hero-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  letter-spacing: .28em;
  font-size: 12px;
  font-weight: 800;
}
.hero-title {
  margin: 0;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1;
  color: #fff;
}
.hero-sub { max-width: 740px; line-height: 1.8; color: #cfcfd8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 8px; }
.go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  padding: 10px 18px;
  box-shadow: 0 8px 24px rgba(225,29,72,.35);
}
.go:hover { color: #fff; filter: brightness(1.08); }
.go.ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}
.stats div {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.stats dt { margin: 0; font-size: 12px; color: var(--muted); }
.stats dd { margin: 4px 0 0; font-size: 28px; font-weight: 800; color: var(--gold); }
.cols, .split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.panel, .story, .faq, .about, .day {
  background: rgba(22,22,31,.92);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 18px;
}
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-head h2, .headline, .story h1, .faq h2, .about h2 { margin: 0 0 12px; }
.headline { font-size: 30px; display: flex; align-items: center; gap: 10px; }
.league-ico { width: 36px; height: 36px; }
.lead, .extra, .tiny, .crumb { color: var(--muted); }
.crumb { font-size: 13px; }
.board { display: grid; gap: 12px; }
.ticket {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "home center away" "when when when" "lanes lanes lanes";
  gap: 8px 12px;
  background: linear-gradient(180deg, #1b1b27, #14141c);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  position: relative;
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 28px;
  width: 12px;
  height: 12px;
  background: var(--bg);
  border-radius: 50%;
}
.ticket::before { left: -6px; }
.ticket::after { right: -6px; }
.side { display: flex; align-items: center; gap: 8px; }
.side.home { grid-area: home; }
.side.away { grid-area: away; justify-content: flex-end; text-align: right; }
.side a { color: #fff; font-weight: 800; }
.side img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #0d0d14;
  border-radius: 50%;
  padding: 4px;
  border: 1px solid var(--line);
}
.center { grid-area: center; text-align: center; }
.score { display: block; font-size: 24px; letter-spacing: .04em; color: var(--gold); }
.tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  border-radius: 999px;
  padding: 2px 8px;
  font-weight: 700;
}
.tag-live { background: var(--accent); color: #fff; }
.tag-upcoming { background: rgba(34,211,238,.12); color: var(--cyan); }
.tag-done { background: #2a2a35; color: #a1a1ad; }
.when { grid-area: when; margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.when em { font-style: normal; background: rgba(245,197,66,.12); color: var(--gold); border-radius: 999px; padding: 1px 8px; }
.lanes { grid-area: lanes; display: flex; gap: 8px; }
.lanes a {
  flex: 1;
  text-align: center;
  background: #232330;
  color: #fff;
  border-radius: 10px;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--line);
}
.lanes a:hover { background: var(--accent); color: #fff; }
.note-grid, .clip-grid { display: grid; gap: 12px; }
.note, .clip {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  background: #12121a;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
}
.note img, .clip img { width: 88px; height: 62px; object-fit: contain; background: #0d0d14; border-radius: 10px; }
.note h3, .clip h3 { margin: 0 0 6px; font-size: 16px; }
.note a, .clip a { color: #fff; }
.faq details {
  background: #101018;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 8px;
}
.faq summary { cursor: pointer; font-weight: 800; }
.about p, .story p, .body p { line-height: 1.8; }
.meta-list { padding-left: 18px; color: #c9c9d4; }
.related { padding-left: 18px; }
.turn { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.endbar {
  margin-top: 24px;
  background: #050509;
  padding: 28px 0;
  border-top: 1px solid rgba(245,197,66,.22);
}
.end-box { display: block; }
.friends { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.friends span { color: #6f6f7c; }
.friends a { color: #cfcfd8; }
.blank { color: var(--muted); }
.body img { border-radius: 12px; }
@media (max-width: 860px) {
  .cols, .split { grid-template-columns: 1fr; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    right: 16px;
    top: 68px;
    flex-direction: column;
    background: #12121c;
    border: 1px solid var(--line);
    padding: 10px;
    border-radius: 16px;
    width: min(280px, calc(100% - 32px));
  }
  .nav.open { display: flex; }
  .nav-sub { position: static; display: none; background: #0d0d14; }
  .nav.open .nav-sub { display: block; }
  .ticket { grid-template-columns: 1fr; grid-template-areas: "home" "center" "away" "when" "lanes"; }
  .side.away { justify-content: flex-start; text-align: left; }
  .stats { grid-template-columns: 1fr; }
}
