:root {
  --ink: #0b1220;
  --ink-soft: #4b5872;
  --paper: #f4f7fb;
  --paper-2: #e7eef8;
  --band: #102a43;
  --band-2: #243b53;
  --accent: #00a878;
  --accent-2: #17c3b2;
  --line: rgba(16, 42, 67, 0.12);
  --live: #e63946;
  --ok: #00a878;
  --card: #ffffff;
  --shadow: 0 16px 36px rgba(16, 42, 67, 0.08);
  --radius: 16px;
  --font-display: "Bebas Neue", "Noto Sans SC", Impact, sans-serif;
  --font-body: "Manrope", "Noto Sans SC", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    linear-gradient(120deg, rgba(0, 168, 120, 0.08), transparent 28%),
    linear-gradient(300deg, rgba(16, 42, 67, 0.06), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(23, 195, 178, 0.16), transparent 26%),
    var(--paper);
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--band-2); text-decoration: none; }
a:hover { color: var(--accent); }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.blob { display: none; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 251, 0.9);
  border-bottom: 1px solid var(--line);
}
.masthead .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: #fff;
}
.brand i {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}
.brand b {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  line-height: 1;
  font-weight: 400;
}
.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
.menu a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.menu a.current,
.menu a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.fold { position: relative; display: inline-flex; }
.fold .sub {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 160px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 4px;
  z-index: 50;
}
.fold:hover .sub,
.fold:focus-within .sub { display: flex; }
.fold .sub a {
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
}
.fold .sub a:hover { background: var(--paper-2); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
}

main.wrap { padding: 28px 0 64px; }
.hero {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: visible;
  padding: 44px 40px 40px;
  border-radius: 28px;
  color: #f4f7fb;
  background:
    linear-gradient(135deg, rgba(0, 168, 120, 0.32), transparent 42%),
    linear-gradient(160deg, #0b1c2c 0%, #102a43 48%, #16324f 100%);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -20px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(23, 195, 178, 0.22), transparent 65%);
  pointer-events: none;
}
.hero > * {
  position: relative;
  z-index: 1;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8ffe8;
  font-weight: 800;
  background: rgba(0, 168, 120, 0.18);
  border: 1px solid rgba(143, 240, 210, 0.28);
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(23, 195, 178, 0.22);
  flex: 0 0 auto;
}
.hero h1 {
  margin: 0 0 18px;
  font-family: "Noto Sans SC", var(--font-body), sans-serif;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.2;
  letter-spacing: 0.08em;
  font-weight: 900;
  max-width: 8em;
  overflow: visible;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.28);
}
.hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-2), rgba(0, 168, 120, 0.15));
}
.deck {
  margin: 0 0 18px;
  color: var(--ink-soft);
  max-width: 62ch;
}
.hero .deck {
  margin: 0 0 22px;
  color: rgba(236, 244, 255, 0.88);
  max-width: 36em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.pill img { width: 22px; height: 22px; border-radius: 50%; background: #fff; }
.pill:hover { background: var(--accent); color: #fff; }

.chapter {
  margin: 34px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: 0.04em;
  line-height: 1;
  position: relative;
  padding-left: 14px;
}
.chapter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.08em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent), var(--band));
}

.sheet { display: grid; gap: 14px; }
.match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px 14px;
  align-items: center;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.04);
}
.match .side {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.match .side.away { flex-direction: row-reverse; text-align: right; }
.match .side img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.match .side a {
  color: var(--ink);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scorebox { text-align: center; min-width: 88px; }
.scorebox strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.06em;
}
.flag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--paper-2);
  color: var(--ink-soft);
}
.flag-live { background: rgba(230, 57, 70, 0.12); color: var(--live); }
.flag-upcoming { background: rgba(0, 168, 120, 0.14); color: var(--ok); }
.flag-done { background: rgba(75, 88, 114, 0.12); color: var(--ink-soft); }
.when {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}
.comp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
}
.signals {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.signals a,
.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--band);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
}
.signals a:hover,
.go:hover { background: var(--accent); }

.spread {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  margin-top: 8px;
}
.clips { display: grid; gap: 12px; }
.clip {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.clip img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--paper-2);
}
.clip h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; }
.clip p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.index { list-style: none; margin: 0; padding: 0; }
.index li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.index li span { color: var(--ink-soft); font-size: 13px; white-space: nowrap; }

.folio {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  margin: 18px 0;
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.03);
}
/* .folio 白底会盖住 .hero，必须用双类写死深色底 + 浅色字 */
.folio.hero {
  overflow: visible;
  color: #ffffff !important;
  background:
    linear-gradient(135deg, rgba(0, 168, 120, 0.38), transparent 42%),
    linear-gradient(160deg, #07131f 0%, #0d2438 45%, #12324a 100%) !important;
}
.folio h1, .story h1 {
  margin: 0 0 10px;
  font-family: "Noto Sans SC", var(--font-body), sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.02em;
  line-height: 1.25;
  font-weight: 800;
}
.folio.hero h1,
.folio.hero .kicker,
.folio.hero .deck,
.folio.hero .pill {
  color: #ffffff !important;
}
.folio.hero h1 {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.folio.hero .kicker {
  color: #d8fff2 !important;
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.22);
}
.folio.hero .deck {
  color: rgba(255, 255, 255, 0.92) !important;
}
.about h2, .faq h2, .story h2 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  margin: 22px 0 10px;
}
.about p, .faq p, .story p { color: var(--ink-soft); }
.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}
.meta {
  list-style: none;
  margin: 0 0 18px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  background: var(--paper);
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}
.body { font-size: 16px; color: var(--ink); }
.body p { margin: 0 0 1em; }
.body img { border-radius: 10px; margin: 12px 0; }
.crumb { color: var(--ink-soft); font-size: 13px; margin: 0 0 12px; }
.turn {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.turn a {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 700;
}
.void {
  padding: 28px;
  text-align: center;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed var(--line);
  border-radius: 12px;
}

.colophon {
  margin-top: 40px;
  padding: 28px 0 40px;
  background: var(--band);
  color: rgba(244, 247, 251, 0.86);
}
.colophon a { color: #8ef0d2; }
.colophon .foot-desc { margin: 0 0 14px; max-width: 70ch; }
.friends {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin: 0 0 12px;
}
.friends span {
  font-weight: 700;
  color: #fff;
  margin-right: 4px;
}
.fine { margin: 0; font-size: 12px; opacity: 0.75; }

@media (max-width: 860px) {
  .spread { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 12px;
  }
  .menu.open { display: flex; }
  .fold { flex-direction: column; }
  .fold .sub {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 10px;
    background: transparent;
  }
  .menu.open .fold .sub { display: flex; }
  .meta { grid-template-columns: 1fr; }
  .hero { padding: 28px 20px 26px; }
  .hero h1 {
    font-size: clamp(32px, 10vw, 44px);
    letter-spacing: 0.06em;
    max-width: none;
  }
  .hero h1::after { width: 40px; margin-top: 12px; }
  .hero .deck {
    font-size: 14px;
    line-height: 1.7;
    max-width: none;
  }
  .kicker {
    margin-bottom: 14px;
    letter-spacing: 0.1em;
  }
  .match { grid-template-columns: 1fr; text-align: center; }
  .match .side,
  .match .side.away { flex-direction: column; text-align: center; }
  .match .side a { white-space: normal; }
}
