:root {
  --ink: #172033;
  --muted: #4c5870;
  --paper: #f3f6fb;
  --card: #ffffff;
  --line: #d5deea;
  --navy: #14284a;
  --navy-2: #1d3c6e;
  --accent: #e24b2a;
  --shadow: 8px 8px 0 #14284a;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.7 "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--accent); }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 4px solid var(--accent);
}
.header-row { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; min-width: 0; }
.brand span { line-height: 1.2; }
.brand img { width: 48px; height: 48px; border-radius: 8px; background: #fff; }
.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a { color: #fff; padding: 8px 12px; border-radius: 6px; }
.site-nav a.on, .site-nav a:hover { background: var(--accent); color: #fff; }
.nav-btn {
  display: none;
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 16px;
}
main { padding: 28px 0 48px; }
.hero, .block, .article {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 22px;
}
.hero h1, .article h1 { margin: 0 0 8px; font-size: 34px; line-height: 1.3; }
.kicker { margin: 0 0 6px; color: var(--accent); font-weight: 700; letter-spacing: 0.08em; }
.page-desc, .foot-desc { color: var(--muted); margin: 0; }
.block-head, .split { display: flex; }
.block-head { justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.block-head h2, .article h2, .about h2 { margin: 0; font-size: 24px; }
.hero-league { display: flex; gap: 16px; align-items: center; }
.hero-league img { width: 72px; height: 72px; border-radius: 8px; }
.league-row, .feature-row, .match-list, .news-list, .replay-list, .faq-list {
  display: grid;
  gap: 14px;
}
.league-row { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.league-chip, .match-card, .news-item, .replay-item, .faq-item {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.league-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px 12px;
  text-align: center;
  box-shadow: 4px 4px 0 #d7e0ee;
}
.league-chip img { width: 56px; height: 56px; border-radius: 8px; }
.league-chip span { font-weight: 700; }
.league-chip small { color: var(--muted); }
.feature-row {
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 280px);
  overflow-x: auto;
  padding-bottom: 8px;
}
.match-list { grid-template-columns: 1fr; }
.match-card { display: block; padding: 12px 14px; box-shadow: 4px 4px 0 #d7e0ee; }
.match-top, .match-body, .match-status { display: flex; align-items: center; }
.match-top { justify-content: space-between; gap: 8px; color: var(--muted); font-size: 14px; }
.league-name { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; }
.league-name img { width: 20px; height: 20px; border-radius: 3px; }
.match-body { justify-content: space-between; gap: 10px; margin-top: 10px; }
.side { display: flex; align-items: center; gap: 8px; width: 38%; min-width: 0; }
.side img { width: 42px; height: 42px; object-fit: contain; background: #f7f9fc; border-radius: 6px; flex: 0 0 auto; }
.side strong { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.match-card .side:last-child { flex-direction: row-reverse; text-align: right; }
.score { font-weight: 800; font-size: 20px; min-width: 72px; text-align: center; }
.match-status { margin-top: 8px; font-size: 13px; font-weight: 700; }
.status-live { color: var(--accent); }
.status-wait { color: #1d6b3a; }
.status-done { color: var(--muted); }
.split { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 22px; align-items: start; }
.split .block { margin: 0; }
.news-item, .replay-item { display: grid; gap: 4px; padding: 12px 14px; }
.news-item strong, .replay-item strong { font-size: 16px; line-height: 1.5; }
.news-item em { color: var(--muted); font-style: normal; }
.news-item span, .replay-item time, .replay-item span { color: var(--muted); font-size: 13px; }
.faq-item { padding: 12px 14px; }
.faq-item h3 { margin: 0 0 6px; font-size: 18px; }
.faq-item p { margin: 0; }
.about h3 { margin: 18px 0 8px; font-size: 18px; }
.about ul { margin: 0; padding-left: 20px; }
.about li { margin: 4px 0; }
.pager, .turn { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.pager a, .turn a, .signals a {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
}
.signals { display: flex; gap: 10px; flex-wrap: wrap; }
.detail-match { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin: 18px 0; }
.detail-match .side { width: auto; flex-direction: column; text-align: center; }
.detail-match .side:last-child { flex-direction: column; }
.detail-match img { width: 72px; height: 72px; margin: 0 auto; object-fit: contain; }
.mid { text-align: center; display: grid; justify-items: center; gap: 4px; }
.mid b { font-size: 28px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 12px 0; list-style: none; color: var(--muted); font-size: 14px; }
.origin { background: #f7f9fc; border-left: 4px solid var(--accent); padding: 10px 12px; }
.content p { margin: 0 0 12px; }
.content img { margin: 8px auto; border-radius: 8px; }
.crumb { margin: 0 0 8px; color: var(--muted); }
.empty { margin: 0; color: var(--muted); }
.site-footer { background: var(--navy); color: #d5deea; padding: 28px 0 36px; }
.site-footer a { color: #fff; margin-right: 12px; }
.foot-desc { color: #d5deea; }
.friends, .copy { margin: 12px 0 0; }
.signal-note { font-weight: 700; color: var(--ink); }
@media (max-width: 980px) {
  .league-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-btn { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: var(--navy-2);
    flex-direction: column;
    padding: 8px 16px 16px;
    margin: 0;
  }
  .site-nav.open { display: flex; }
  .site-header { position: sticky; }
  .header-row { position: relative; }
  .hero h1, .article h1 { font-size: 28px; }
  .match-body { flex-wrap: wrap; }
  .side, .match-card .side:last-child { width: 100%; flex-direction: row; text-align: left; }
  .score { width: 100%; text-align: left; }
  .detail-match { grid-template-columns: 1fr; }
  .feature-row { grid-auto-columns: 82%; }
}
