:root {
  --bg: #071018;
  --bg-2: #0c1924;
  --card: #122433;
  --card-2: #183044;
  --line: rgba(226, 196, 138, 0.28);
  --brass: #e6c98a;
  --brass-deep: #b8924a;
  --text: #f3efe6;
  --muted: #9aabbd;
  --live: #ff5d63;
  --ok: #3ecf9a;
  --wait: #d7e2ee;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(226, 196, 138, 0.16), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(31, 122, 77, 0.2), transparent 50%),
    var(--bg);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brass); }
button, summary { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--brass);
  color: #1b1408;
  padding: 6px 10px;
  z-index: 5;
}
.skip:focus { top: 8px; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.top {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(7, 16, 24, 0.9);
  border-bottom: 1px solid rgba(226, 196, 138, 0.16);
  backdrop-filter: blur(14px);
}
.top-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand b { display: block; font-size: 18px; letter-spacing: 0.04em; }
.brand small { color: var(--muted); letter-spacing: 0.12em; }
.nav-toggle { position: relative; }
.nav-toggle summary { display: none; cursor: pointer; list-style: none; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.nav-toggle summary::-webkit-details-marker { display: none; }
.menu { display: flex; gap: 6px; }
.menu a { padding: 8px 12px; border-radius: 999px; color: var(--muted); }
.menu a.on, .menu a:hover { color: #1b1408; background: linear-gradient(180deg, #f0d7a4, var(--brass-deep)); }
.hero { padding: 42px 0 12px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 28px; align-items: center; }
.kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--brass); letter-spacing: 0.14em; font-size: 13px; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; margin: 0 0 12px; letter-spacing: 0.03em; }
.page-head h1, .article h1, .block h2, .sec-head h2 {
  display: flex; align-items: center; gap: 10px;
}
.lead, .sec-note, .prose { color: var(--muted); }
.lead { font-size: 17px; max-width: 62ch; }
.hero-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(226, 196, 138, 0.12), transparent 32%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
}
.float-icon { position: absolute; right: 12px; top: 10px; opacity: 0.35; }
.hero-league { color: var(--muted); margin: 0; }
.hero-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; font-size: 20px; }
.hero-teams span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hero-teams span:last-child { justify-content: flex-end; text-align: right; }
.hero-teams b { font-size: 32px; letter-spacing: 0.04em; }
.hero-state { margin: 8px 0 16px; }
.phase-live { color: var(--live); }
.phase-done { color: var(--ok); }
.phase-wait { color: var(--wait); }
.btn, .signals .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: linear-gradient(180deg, #f3ddb0, #c6a15c);
  color: #1b1408; font-weight: 700;
}
.signals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: rgba(18, 36, 51, 0.72);
  border-radius: 999px; padding: 6px 10px; color: var(--text);
}
.chip:hover { border-color: var(--brass); color: var(--brass); }
.block { padding: 22px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.sec-head h2, .block h2, .page-head h1 { margin: 0; font-size: 28px; }
.more { color: var(--brass); }
.board { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.match-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(18, 36, 51, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.match-row:hover { border-color: var(--line); color: var(--text); transform: translateY(-1px); }
.when { width: 64px; }
.when b, .when i { display: block; font-style: normal; }
.when i, .league, .state, .score small { color: var(--muted); font-size: 12px; }
.league { width: 72px; color: var(--brass); }
.team { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.team em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.home { justify-content: flex-end; text-align: right; }
.crest {
  width: 28px; height: 28px; flex: 0 0 28px; object-fit: contain;
  background: #fff; border-radius: 50%; padding: 2px;
}
.crest-lg { width: 48px; height: 48px; flex-basis: 48px; padding: 4px; }
.crest-fallback {
  display: grid; place-items: center; color: #1b1408; font-size: 12px; font-weight: 700;
  background: var(--brass);
}
.score { width: 88px; text-align: center; }
.score strong { display: block; font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.state { width: 64px; text-align: right; }
.phase-live .state::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px;
  border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255, 93, 99, 0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(255, 93, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 93, 99, 0); }
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--card); border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px; overflow: hidden; min-height: 100%; padding-bottom: 14px;
}
.card h3 { margin: 0 14px; font-size: 16px; line-height: 1.45; }
.card p, .card time { margin: 0 14px; color: var(--muted); font-size: 13px; }
.thumb { display: block; aspect-ratio: 16/9; background: #0d1c28; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-play { display: grid; place-items: center; background: linear-gradient(160deg, #1b3a32, #122433); }
.thumb-play img { width: 36px; height: 36px; object-fit: contain; }
.about { background: linear-gradient(180deg, rgba(226,196,138,0.08), transparent); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.about h2 { margin-top: 0; }
.faq details { border-bottom: 1px solid rgba(255,255,255,0.06); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: 8px 0 4px; }
.page-head { padding-top: 28px; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.crumb a { color: var(--brass); }
.fixture {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 18px;
}
.fixture .side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.fixture .side .crest-lg { width: 72px; height: 72px; flex-basis: 72px; padding: 8px; }
.fixture .mid { text-align: center; }
.fixture .mid b { display: block; font-size: 42px; letter-spacing: 0.04em; }
.article h1 { font-size: clamp(28px, 4vw, 40px); display: block; }
.byline { color: var(--muted); display: flex; gap: 12px; }
.cover img { width: 100%; border-radius: 16px; max-height: 420px; object-fit: cover; }
.content { font-size: 17px; }
.content p { margin: 0 0 1em; }
.content img { border-radius: 12px; }
.link-list { display: flex; flex-direction: column; gap: 8px; }
.link-list a {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 12px; background: var(--card);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--brass); }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 18px 0; }
.pager a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.empty { color: var(--muted); padding: 18px; border: 1px dashed var(--line); border-radius: 12px; }
.foot { margin-top: 28px; padding: 28px 0 36px; border-top: 1px solid rgba(226,196,138,0.16); color: var(--muted); text-align: center; }
.friends, .fine { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; }
.friends span { color: var(--text); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--brass); }
.copy { margin: 10px 0 0; }
@media (max-width: 800px) {
  .hero-grid, .cards, .fixture { grid-template-columns: 1fr; }
  .nav-toggle summary { display: block; }
  .menu { display: none; position: absolute; right: 0; top: 42px; flex-direction: column; background: #10202c; border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-width: 148px; }
  .nav-toggle[open] .menu { display: flex; }
  .match-row { flex-wrap: wrap; }
  .when { order: 1; }
  .league { order: 2; width: auto; }
  .state { order: 3; margin-left: auto; }
  .home { order: 4; flex: 1 1 38%; }
  .score { order: 5; }
  .away { order: 6; flex: 1 1 38%; text-align: left; }
  .hero-teams { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
