:root {
  --bg: #07140c;
  --bg2: #0b1c12;
  --card: #102418;
  --line: #1e3d2a;
  --text: #e8f6dc;
  --muted: #8eaa96;
  --lime: #c8f542;
  --orange: #ff7a18;
  --red: #e23d2b;
  --live: #27d07d;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Trebuchet MS", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(200, 245, 66, .08), transparent 50%),
    radial-gradient(900px 400px at 100% 0%, rgba(255, 122, 24, .08), transparent 45%),
    linear-gradient(180deg, #08160e 0%, #07140c 40%, #05100a 100%);
  color: var(--text);
  min-height: 100vh;
}
a { color: var(--lime); text-decoration: none; }
a:hover { color: #e8ff8a; }
img { max-width: 100%; border: 0; vertical-align: middle; }
.container { width: min(1180px, calc(100% - 28px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 20, 12, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: #f4ffe8;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .4px;
}
.logo img { height: 42px; width: 42px; display: block; }
.logo span { color: #f4ffe8; white-space: nowrap; }
.nav { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--text); font-weight: 700;
}
.nav a.active, .nav a:hover { background: #163523; color: var(--lime); }
.subnav {
  background: #0c1f14;
  border-bottom: 1px solid var(--line);
}
.subnav ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 8px 0; }
.subnav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 13px;
}
.subnav a:hover, .subnav a.active { color: #07140c; background: var(--lime); border-color: var(--lime); }
.hero-panel {
  margin: 22px 0 18px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(200,245,66,.12), transparent 42%),
    linear-gradient(180deg, #143221, #0d2418);
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 18px;
  align-items: center;
}
.hero-panel h1 { margin: 0 0 10px; font-size: 30px; letter-spacing: .5px; }
.hero-panel p { margin: 0; color: var(--muted); line-height: 1.7; }
.hero-ball {
  width: 120px; height: 120px; margin-left: auto;
  background: url('../img/logo-mark.png') center/80% no-repeat;
  filter: drop-shadow(0 10px 20px rgba(200,245,66,.25));
}
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.column, .side-card, .faq-wrap, .article, .match-detail {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.column-hd, .side-hd {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #163523, transparent);
}
.column-hd h2, .side-hd h2 { margin: 0; font-size: 18px; }
.column-hd img, .side-hd img { width: 22px; height: 22px; }
.match-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 92px;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.match-item:hover { background: rgba(200,245,66,.05); }
.match-meta { color: var(--muted); font-size: 12px; line-height: 1.5; }
.match-meta .league { color: var(--lime); font-weight: 700; display: block; }
.match-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.team.away { flex-direction: row-reverse; text-align: right; }
.team img { width: 32px; height: 32px; object-fit: contain; background: #0a1a10; border-radius: 50%; }
.team span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.score {
  min-width: 64px; text-align: center; font-size: 18px; font-weight: 800;
  color: var(--lime);
}
.status a, .status span {
  display: inline-block; width: 100%; text-align: center;
  padding: 7px 0; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.status .live { background: var(--red); color: #fff; }
.status .soon { background: #1f5c38; color: var(--lime); }
.status .over { background: #243028; color: var(--muted); }
.news-list { list-style: none; margin: 0; padding: 8px 0; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a, .news-card {
  display: flex; gap: 10px; padding: 10px 14px; color: var(--text);
}
.news-list img, .news-card img { width: 84px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; }
.news-list p, .news-card p { margin: 0; color: var(--muted); font-size: 12px; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.faq-wrap { padding: 8px 4px 16px; margin: 20px 0 0; }
.faq-item { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 8px; font-size: 16px; }
.faq-item p, .faq-item li { color: var(--muted); line-height: 1.75; margin: 6px 0; }
.page-title { padding: 18px 0 10px; }
.page-title h1 { margin: 0 0 6px; font-size: 26px; }
.page-title p { margin: 0; color: var(--muted); }
.article { padding: 22px; }
.article h1 { margin: 0 0 12px; font-size: 26px; line-height: 1.4; }
.meta-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.article .cover { width: 100%; border-radius: 12px; margin: 8px 0 16px; }
.article-content { line-height: 1.9; font-size: 16px; }
.article-content p { margin: 0 0 14px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.pager a { color: var(--text); background: #163523; padding: 8px 12px; border-radius: 10px; }
.signals { display: grid; gap: 10px; padding: 16px; }
.signal {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-radius: 12px; background: #0c1f14; border: 1px solid var(--line);
}
.signal a {
  background: var(--lime); color: #07140c; font-weight: 800;
  padding: 8px 14px; border-radius: 999px;
}
.match-hero { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; padding: 22px 16px; text-align: center; }
.match-hero img { width: 64px; height: 64px; object-fit: contain; }
.match-hero .name { font-weight: 800; margin-top: 8px; }
.vs { font-size: 28px; font-weight: 800; color: var(--lime); align-self: center; }
.site-footer {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  background: #06110b;
  color: var(--muted);
  padding: 28px 0 22px;
  font-size: 13px;
  line-height: 1.7;
}
.friends { margin-bottom: 10px; }
.friends a { margin-right: 14px; color: var(--muted); }
.friends a:hover { color: var(--lime); }
.site-footer .copy { margin-top: 10px; color: #6d8876; }
.empty { padding: 28px; color: var(--muted); text-align: center; }
@media (max-width: 900px) {
  .layout, .hero-panel, .news-grid { grid-template-columns: 1fr; }
  .hero-ball { display: none; }
  .header-inner { flex-wrap: wrap; min-height: auto; padding: 8px 0; }
  .match-item { grid-template-columns: 1fr auto; }
  .match-meta { grid-column: 1 / -1; }
  .nav { width: 100%; overflow-x: auto; }
}

/* APP 主区块 */
section.apm{margin:0 0 20px;min-width:0;max-width:100%}
section.apm .apm-h2{color:var(--text)}
@media (max-width:1024px){.layout{grid-template-columns:minmax(0,1fr)}section.apm .apm-feats{grid-template-columns:repeat(2,1fr)}section.apm .apm-stats{grid-template-columns:repeat(2,1fr)}section.apm .apm-stat:last-child{grid-column:1/-1}}
@media (max-width:480px){section.apm .apm-feats{grid-template-columns:1fr}}
