:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --ink: #1a2332;
  --muted: #5b6b7c;
  --line: #dbe2ea;
  --brand: #1f6feb;
  --brand-dark: #1554b8;
  --live: #e11d48;
  --ok: #0f9d58;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #e8eef8 0%, var(--bg) 220px, var(--bg) 100%);
  min-height: 100vh;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; }
.pitch { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
}
.brand img { border-radius: 8px; }
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav-drop { position: relative; }
.nav-drop > a {
  display: block;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}
.nav-drop > a.current, .nav-drop > a:hover { background: #eaf1ff; color: var(--brand-dark); }
.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
}
.nav-sub a { display: block; color: var(--ink); padding: 8px 10px; border-radius: 6px; }
.nav-sub a.current, .nav-sub a:hover { background: #eaf1ff; color: var(--brand-dark); }
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { display: block; }
.hero {
  margin: 24px 0 18px;
  padding: 28px 24px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
}
.hero-kicker {
  margin: 0 0 8px;
  color: #d7e6ff;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
}
.hero-title {
  margin: 0;
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.05;
}
.hero-sub { max-width: 720px; line-height: 1.7; color: #e8f0ff; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 4px; }
.go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 800;
  border-radius: 8px;
  padding: 10px 16px;
}
.go:hover { color: var(--brand-dark); background: #f3f7ff; }
.go.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.go.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}
.stats div {
  background: rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 12px 14px;
}
.stats dt { margin: 0; font-size: 12px; color: #d7e6ff; }
.stats dd { margin: 4px 0 0; font-size: 26px; font-weight: 800; color: #fff; }
.cols, .split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.panel, .story, .faq, .about, .day {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.panel-head, .end-box { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-head h2, .headline, .story h1, .faq h2, .about h2, .day h2 { margin: 0 0 12px; }
.headline { font-size: 28px; }
.lead, .extra, .tiny, .crumb { color: var(--muted); }
.crumb { font-size: 13px; }
.board { display: grid; gap: 10px; }
.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: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}
.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: var(--ink); font-weight: 800; }
.side img { width: 40px; height: 40px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.center { grid-area: center; text-align: center; }
.score { display: block; font-size: 22px; letter-spacing: .03em; }
.tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 700;
}
.tag-live { background: var(--live); color: #fff; }
.tag-upcoming { background: #eaf1ff; color: var(--brand-dark); }
.tag-done { background: #eef1f5; color: #607080; }
.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: #fff4e8; color: #b45309; border-radius: 6px; padding: 1px 8px; }
.lanes { grid-area: lanes; display: flex; gap: 8px; }
.lanes a {
  flex: 1;
  text-align: center;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 800;
}
.lanes a:hover { background: var(--brand-dark); color: #fff; }
.note-grid, .clip-grid { display: grid; gap: 10px; }
.note, .clip {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}
.note img, .clip img { width: 88px; height: 62px; object-fit: contain; background: #fff; border-radius: 8px; }
.note h3, .clip h3 { margin: 0 0 6px; font-size: 15px; }
.note a, .clip a { color: var(--ink); }
.faq details {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  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: var(--muted); }
.related { padding-left: 18px; }
.turn { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.endbar {
  margin-top: 20px;
  background: #152033;
  color: #d5deea;
  padding: 24px 0;
}
.end-box { display: block; }
.friends { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.friends span { color: #8fa0b5; }
.friends a { color: #d5deea; }
.blank { color: var(--muted); }
@media (max-width: 860px) {
  .cols, .split { grid-template-columns: 1fr; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    right: 14px;
    top: 60px;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 8px;
    border-radius: 10px;
    width: min(280px, calc(100% - 28px));
  }
  .nav.open { display: flex; }
  .nav-sub { position: static; display: none; border: 0; }
  .nav-drop.open .nav-sub, .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; }
}
