:root {
  --bg: #07140f;
  --bg-2: #0b1f16;
  --card: #0f2a1c;
  --card-2: #123524;
  --line: rgba(76, 175, 120, 0.18);
  --ink: #eef7f1;
  --muted: #9bb5a6;
  --green: #1db954;
  --green-2: #148f42;
  --amber: #f0a202;
  --hot: #ff4d2e;
  --top: #04100b;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(29, 185, 84, 0.18), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(240, 162, 2, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--ink);
  font: 16px/1.65 "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--amber); }
.wrap { width: min(1100px, calc(100% - 28px)); margin: 0 auto; }
.top {
  background: linear-gradient(180deg, #020906 0%, var(--top) 100%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}
.bar { display: flex; align-items: center; gap: 16px; min-height: 72px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 22px; font-weight: 900; letter-spacing: 0.02em; }
.logo img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 2px rgba(29,185,84,.35); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { color: #d7ebe0; padding: 9px 14px; border-radius: 999px; font-weight: 500; }
.nav a.on, .nav a:hover { background: var(--green); color: #04110a; text-decoration: none; }
.nav-btn {
  display: none;
  margin-left: auto;
  background: var(--green);
  color: #04110a;
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
}
.leagues { display: flex; gap: 10px; overflow-x: auto; padding: 0 0 14px; scrollbar-width: thin; }
.leagues a {
  flex: 0 0 auto;
  width: 84px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 14px;
  text-align: center;
  padding: 10px 4px 8px;
  transition: transform .18s ease, border-color .18s ease;
}
.leagues a:hover { transform: translateY(-2px); border-color: rgba(29,185,84,.45); text-decoration: none; }
.leagues img { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; }
.leagues span { display: block; font-size: 13px; color: #d7ebe0; margin-top: 4px; }
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(7,20,15,.2), rgba(7,20,15,.75)),
    linear-gradient(90deg, #0a2a1a, #07140f 55%, #12260f);
}
.hero-inner { position: relative; padding: 42px 0 48px; }
.hero-en {
  margin: 0 0 6px;
  color: rgba(255,255,255,.55);
  letter-spacing: .28em;
  font-size: 13px;
  font-weight: 700;
}
.hero-brand {
  margin: 0;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: .04em;
  text-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.hero-sub { margin: 14px 0 0; color: #c7ddcf; font-size: 16px; max-width: 28em; }
.hero-arrow {
  position: absolute;
  right: 8%;
  bottom: 18px;
  opacity: .9;
  animation: floaty 2.8s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
main { padding: 22px 0 42px; }
.intro h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.3; }
.intro p { margin: 0 0 18px; color: var(--muted); }
.sec-title {
  margin: 26px 0 14px;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-title::before {
  content: "";
  width: 4px;
  height: 1.1em;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--green), var(--amber));
}
.sheet { display: flex; flex-direction: column; gap: 12px; }
.match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  gap: 8px 12px;
  background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.match-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.match-head time { margin-left: auto; }
.league-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(29,185,84,.15);
  color: #9dffbf;
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 700;
}
.league-pill img { width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.hot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hot);
  font-weight: 800;
  font-size: 12px;
}
.side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.side.home { justify-content: flex-end; text-align: right; }
.side img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  flex: 0 0 auto;
  padding: 3px;
}
.side a, .side strong { color: var(--ink); font-weight: 700; word-break: break-word; }
.mid { text-align: center; }
.mid strong { display: block; font-size: 20px; letter-spacing: .04em; }
.state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}
.state.live { background: linear-gradient(90deg, #149a45, #1db954); }
.state.wait { background: #2d4f3d; }
.state.done { background: #47584e; }
.when {
  grid-column: 1 / -1;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.when span, .when { display: flex; align-items: center; gap: 6px; }
.when img { width: 18px; height: 18px; object-fit: contain; }
.signals { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.signals a, .signals .watch-btn {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  color: #04110a;
  border-radius: 999px;
  min-height: 38px;
  padding: 8px 28px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(29,185,84,.25);
}
.signals .watch-btn { min-width: 148px; text-align: center; }
.signals a:hover, .signals .watch-btn:hover { background: var(--amber); color: #1b1204; }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.news-item img { width: 120px; height: 80px; object-fit: cover; background: #163526; border-radius: 10px; }
.news-item h3 { margin: 0 0 6px; font-size: 18px; }
.news-item h3 a { color: var(--ink); }
.news-item p { margin: 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item time { color: var(--muted); font-size: 13px; }
.replay {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.replay li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.replay li:last-child { border-bottom: 0; }
.replay a { color: var(--ink); font-weight: 600; }
.replay span { color: var(--muted); white-space: nowrap; }
.more { margin: 12px 0 0; }
.more a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(29,185,84,.12);
  border: 1px solid rgba(29,185,84,.28);
  color: #9dffbf;
  font-weight: 700;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin-top: 18px;
}
.panel h2, .panel h3 { margin: 12px 0 8px; }
.panel p { margin: 0 0 8px; color: var(--muted); }
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq details p { margin-top: 8px; }
.crumb { color: var(--muted); font-size: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.article .lead, .article .body { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.article .body { margin-top: 12px; color: #d7ebe0; }
.article .body img { display: block; max-width: 100%; height: auto; margin: 10px auto; border-radius: 10px; }
.meta-line { color: var(--muted); }
.meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.meta div { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.meta dt { color: var(--muted); font-size: 13px; }
.meta dd { margin: 0; word-break: break-all; color: var(--ink); }
.near { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.lines { padding-left: 18px; }
.lines a { color: var(--green); }
.empty {
  background: var(--card);
  border: 1px dashed rgba(155,181,166,.35);
  border-radius: 14px;
  padding: 18px;
  color: var(--muted);
}
.pager { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 18px; }
.pager a {
  background: var(--green);
  color: #04110a;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.foot {
  background: #020906;
  color: #b7cec1;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}
.foot-brand { color: #fff; font-size: 18px; font-weight: 900; margin: 0 0 8px; }
.fine { color: #7f978a; font-size: 13px; }
.match.detail .side { flex-direction: column; text-align: center; }
.match.detail .side.home { justify-content: center; }
@media (max-width: 760px) {
  .nav-btn { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #04110b;
    flex-direction: column;
    padding: 8px 14px 14px;
    z-index: 5;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; background: #0b1f16; color: #fff; border-radius: 10px; }
  .hero-inner { padding: 28px 0 36px; }
  .intro h1 { font-size: 24px; }
  .match { grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); padding: 12px; }
  .side { flex-direction: column; justify-content: flex-start; text-align: center; }
  .side.home { justify-content: flex-start; }
  .side img { width: 40px; height: 40px; }
  .side a, .side strong { font-size: 14px; line-height: 1.35; }
  .mid strong { font-size: 16px; }
  .signals a { flex: 1 1 30%; text-align: center; }
  .news-item { grid-template-columns: 96px minmax(0, 1fr); }
  .news-item img { width: 96px; height: 72px; }
  .news-item h3 { font-size: 16px; }
  .meta { grid-template-columns: 1fr; }
  .replay li { flex-direction: column; align-items: flex-start; }
  .replay span { white-space: normal; }
  .leagues a { width: 76px; }
  .hero-arrow { right: 4%; width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-arrow { animation: none; }
  .leagues a { transition: none; }
}
