:root {
  --bg: #fbf4f6;
  --bg-2: #fffdfd;
  --glass: #fffdfd;
  --glass-2: #fdeef3;
  --line: #f0d4de;
  --text: #4a2c38;
  --muted: #6b4556;
  --accent: #a33d62;
  --accent-2: #8d4a63;
  --hot: #c45c7a;
  --shadow: 0 10px 28px rgba(164, 84, 112, 0.08);
  --max: 1120px;
  --header: 64px;
  --radius: 20px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "WenQuanYi Micro Hei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7a2348; }
button, a { -webkit-tap-highlight-color: transparent; }

.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-orbs span { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.55; }
.bg-orbs span:nth-child(1) { width: 280px; height: 280px; background: #f6d0dc; top: -80px; right: 0; }
.bg-orbs span:nth-child(2) { width: 220px; height: 220px; background: #f3ddcf; bottom: 8%; left: 0; }
.bg-orbs span:nth-child(3) { width: 160px; height: 160px; background: #eadcf2; top: 42%; right: 8%; }

.page { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: #fff8fa;
  border-bottom: 1px solid var(--line);
}
.header-inner, .wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; }
.logo img { width: 168px; height: 42px; }
.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--glass-2);
  color: var(--text);
  font: inherit;
  padding: 0 12px;
}
.site-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  font-size: 15px;
}
.site-nav a[aria-current="page"], .site-nav a:hover { background: #fde8ef; color: #7a2348; }
.site-nav .app-link { background: #f8e4ea; color: #8d3d5c; }

.hero { padding: 28px 0 8px; }
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 22px; padding: 28px; align-items: center; }
.eyebrow { margin: 0 0 8px; color: var(--hot); font-size: 13px; letter-spacing: 0.12em; }
h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.25; font-weight: 600; }
h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.35; font-weight: 600; }
h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.lead, .footer-desc { color: var(--muted); margin: 0; }
.meta-time { color: var(--accent-2); font-size: 14px; margin: 12px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #fffafb;
  background: #c45c7a;
  font-weight: 700;
}
.btn:hover { color: #fffafb; background: #a84666; }
.btn.ghost { background: #fffdfd; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { color: #7a2348; background: #fde8ef; }
.hero-side { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 16px; background: #fff7f9; }
.hero-side img.league { width: 72px; height: 72px; }
.pair { display: flex; gap: 16px; align-items: center; }
.pair figure { margin: 0; }
.pair img { width: 56px; height: 56px; border-radius: 50%; }
.pair figcaption { font-size: 13px; color: var(--muted); }

.section { padding: 22px 0; }
.section-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 14px; }
.section-head p { margin: 0; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { padding: 16px; }
.stat b { display: block; font-size: 28px; color: var(--accent); }
.stat span { color: var(--muted); font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { padding: 14px; color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 8px; min-height: 100%; }
.card:hover { border-color: #e3a8bc; color: inherit; }
.card .row { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.league-pill { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.league-pill img { width: 22px; height: 22px; }
.teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.team { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--text); font-size: 14px; }
.team img { width: 48px; height: 48px; border-radius: 50%; }
.vs { color: var(--hot); font-weight: 700; }
.status { color: var(--accent-2); }
.theme { align-items: flex-start; }
.theme img { width: 56px; height: 56px; }

.table-wrap { overflow-x: auto; max-width: 100%; width: 100%; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--accent); font-weight: 600; }
td:nth-child(2), th:nth-child(2) { text-align: left; }
tr.mark td { background: #fde8ef; color: var(--text); }
.pad { padding: 16px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.crumbs li + li::before { content: "/"; margin: 0 6px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; padding: 18px; margin: 12px 0; }
.scoreboard .team strong { font-size: 18px; }
.score-num { font-size: 28px; font-weight: 800; color: var(--text); }
.signals { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.signals a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
}
.signals a span { color: var(--accent); }

.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 14px; }
.split > *, .prose, .wrap, .section, main { min-width: 0; max-width: 100%; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose p { margin: 0 0 12px; }
.plain-url { word-break: break-all; color: var(--hot); }

.faq details { padding: 12px 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; min-height: 32px; }
.faq details p { margin: 8px 0 0; color: var(--muted); }
.about-block h3 { margin-top: 16px; }

.news-list { display: grid; gap: 10px; }
.news-list a { display: flex; justify-content: space-between; gap: 12px; padding: 14px; text-decoration: none; color: var(--text); align-items: center; min-width: 0; }
.news-list a span { min-width: 0; }
.news-list time { color: var(--muted); white-space: nowrap; font-size: 14px; }
.info-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; margin: 0 0 16px; }
.info-list div { padding: 8px 0; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--accent); font-size: 13px; }
.info-list dd { margin: 2px 0 0; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.pager a, .pager span { flex: 1; padding: 12px; text-decoration: none; color: var(--text); }

.site-footer { margin-top: 20px; padding: 28px 0 36px; background: #5c3a4a; border-top: 1px solid #5c3a4a; color: #fff6f8; }
.site-footer .footer-desc { margin-bottom: 16px; color: #f6e4ea; }
.friend { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 14px; }
.friend a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255, 246, 248, 0.35); border-radius: 999px; color: #fff6f8; text-decoration: none; background: #6d4658; }
.friend a:hover { color: #fff6f8; background: #7d5468; }
.copy { color: #f6e4ea; font-size: 14px; margin: 0; }

.play-main { min-height: calc(100vh - 180px); display: grid; place-items: center; padding: 32px 0; }
.play-card { max-width: 520px; width: min(520px, 100%); padding: 28px; text-align: center; }
.play-card button {
  margin-top: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #c45c7a;
  color: #fffafb;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero-card, .split, .stats, .grid, .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .info-list { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 28px; }
}
@media (max-width: 760px) {
  .table-wrap::after { content: "左右滑动可查看全部积分列"; display: block; color: var(--muted); font-size: 13px; padding-top: 6px; text-decoration: none; }
  .header-inner { width: min(var(--max), calc(100% - 20px)); }
  .wrap { width: min(var(--max), calc(100% - 20px)); }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: var(--header); background: #fff8fa; border-bottom: 1px solid var(--line); padding: 8px 12px 14px; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { min-height: 44px; }
  .hero-card, .split, .stats, .grid, .grid.cols-3, .info-list, .pager { grid-template-columns: 1fr; }
  .hero { padding-top: 16px; }
  .hero-card, .pad, .play-card { padding: 16px; }
  h1 { font-size: 26px; }
  .news-list a, .pager { flex-direction: column; align-items: flex-start; }
  .logo img { width: 140px; height: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
