:root {
  --bg: #070b14;
  --bg-2: #0c1424;
  --card: rgba(14, 24, 42, .78);
  --line: rgba(46, 230, 214, .18);
  --text: #d7e4f5;
  --muted: #7f93ad;
  --cyan: #2ee6d6;
  --amber: #ffb020;
  --live: #ff4d6d;
  --ok: #3ddc97;
  --shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #7ff6ec; }
img { max-width: 100%; border: 0; }
.tech-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(46,230,214,.16), transparent 60%),
    radial-gradient(700px 360px at 100% 0%, rgba(255,176,32,.08), transparent 55%),
    linear-gradient(180deg, #08101c 0%, #070b14 40%, #05070d 100%);
}
.tech-bg:after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,230,214,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,230,214,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 20, .78);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: .08em; }
.brand img { filter: drop-shadow(0 0 8px rgba(46,230,214,.45)); }
.main-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.main-nav a {
  color: var(--muted);
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
}
.main-nav a.on, .main-nav a:hover {
  color: #081018;
  background: var(--cyan);
  border-color: var(--cyan);
}
.league-bar { border-bottom: 1px solid var(--line); background: rgba(12,20,36,.7); }
.league-bar .wrap { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; }
.league-bar a {
  flex: none;
  color: var(--muted);
  font-size: 13px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.league-bar a.on, .league-bar a:hover { color: var(--cyan); border-color: var(--cyan); }
.page-main { padding: 28px 0 48px; }
.hero {
  position: relative;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(46,230,214,.12), rgba(12,20,36,.9));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 180px; height: 180px;
  border: 18px solid rgba(46,230,214,.12);
  border-radius: 50%;
}
.hero h1 { font-size: 34px; letter-spacing: .04em; color: #fff; }
.hero p { margin-top: 10px; color: var(--muted); max-width: 720px; }
.hero .pulse {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; color: var(--amber); font-size: 13px;
}
.hero .pulse i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 0 rgba(255,77,109,.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(255,77,109,0); }
}
.panel {
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.panel-head, .board-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2, .board-head h2, .faq h2, .article h1, .lead-title {
  font-size: 20px; color: #fff; letter-spacing: .04em;
}
.panel-body { padding: 8px 12px 16px; }
.match-list { list-style: none; }
.match-day {
  margin: 10px 8px 6px;
  color: var(--amber);
  font-size: 13px;
  letter-spacing: .06em;
}
.match-row {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(46,230,214,.08);
}
.match-row:last-child { border-bottom: 0; }
.match-meta time { display: block; color: var(--cyan); font-size: 13px; }
.league-name { color: var(--muted); font-size: 12px; }
.match-teams { display: flex; align-items: center; justify-content: center; gap: 12px; }
.side { display: flex; align-items: center; gap: 8px; min-width: 120px; }
.side.away { justify-content: flex-start; }
.side.home { justify-content: flex-end; }
.side img {
  width: 32px; height: 32px; object-fit: contain;
  background: #0a1220; border-radius: 50%; padding: 2px;
  border: 1px solid var(--line);
}
.score { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; color: #fff; }
.score i { color: var(--muted); font-style: normal; font-size: 14px; }
.match-act { display: flex; align-items: center; gap: 8px; }
.state {
  font-size: 12px; color: var(--muted);
  min-width: 52px;
}
.status-live .state { color: var(--live); }
.status-result .state { color: var(--ok); }
.watch {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cyan);
  color: #071018 !important;
  font-size: 12px; font-weight: 700;
}
.watch.ghost {
  background: transparent;
  color: var(--cyan) !important;
  border: 1px solid var(--line);
}
.date-nav, .pager { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.date-nav a, .pager a, .pager span {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
}
.date-nav a.on, .pager span { color: #071018; background: var(--cyan); border-color: var(--cyan); }
.grid-2 { display: grid; grid-template-columns: 1.4fr .8fr; gap: 22px; }
.text-list, .news-list { list-style: none; padding: 8px 16px 16px; }
.text-list li, .news-list li { border-bottom: 1px solid rgba(46,230,214,.08); }
.text-list a, .news-list a { display: block; padding: 10px 0; color: var(--text); }
.news-list a { display: flex; gap: 12px; align-items: center; }
.news-list img { width: 112px; height: 74px; object-fit: cover; border-radius: 10px; }
.news-list strong, .text-list a { color: #fff; }
.news-list em { display: block; color: var(--muted); font-style: normal; font-size: 13px; }
.empty { padding: 28px; text-align: center; color: var(--muted); }
.faq { margin-top: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.faq h2 { margin-bottom: 8px; }
.faq-lead, .lead { color: var(--muted); margin-bottom: 14px; }
.faq-item { padding: 12px 0; border-top: 1px solid rgba(46,230,214,.08); }
.faq-item h3 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.about-box { color: var(--muted); }
.about-box h3 { color: #fff; margin: 16px 0 8px; font-size: 16px; }
.article { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.article .meta, .article-extra { color: var(--muted); font-size: 13px; margin: 10px 0 18px; }
.article .cover { margin: 16px 0; text-align: center; }
.article .content p { margin: 12px 0; }
.article .content img { display: block; margin: 12px auto; border-radius: 10px; }
.turn { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.turn a { flex: 1; padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 13px; }
.foot-desc { margin-bottom: 10px; }
.foot-friends a { color: var(--muted); }
.foot-friends a:hover { color: var(--cyan); }
.copy { margin-top: 10px; }
@media (max-width: 860px) {
  .top-inner { flex-direction: column; align-items: flex-start; padding: 10px 0; }
  .hero { padding: 24px 18px; }
  .hero h1 { font-size: 24px; }
  .grid-2 { grid-template-columns: 1fr; }
  .match-row { grid-template-columns: 1fr; }
  .side { min-width: 0; }
  .match-act { flex-wrap: wrap; }
  .news-list img { width: 84px; height: 56px; }
}
