:root {
    --ink: #10141c;
    --header: #0c1220;
    --red: #e10600;
    --gold: #c4a15a;
    --bg: #eef1f6;
    --card: #ffffff;
    --text: #1c2330;
    --muted: #667085;
    --line: #e6eaf1;
    --live: #e10600;
    --shadow: 0 12px 32px rgba(16, 20, 28, 0.06);
    --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(1200px 400px at 10% -10%, rgba(225, 6, 0, 0.08), transparent 50%),
        var(--bg);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
    line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(12, 18, 32, 0.96);
    color: #fff;
    border-bottom: 2px solid var(--red);
    backdrop-filter: blur(10px);
}
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
    width: 34px; height: 34px; border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, transparent 0 8px, #fff 9px 10px, transparent 11px),
        repeating-linear-gradient(90deg, transparent 0 14px, rgba(255,255,255,.9) 15px 16px),
        var(--red);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.brand b { display: block; font-size: 18px; letter-spacing: 0.08em; line-height: 1.1; }
.brand small { color: var(--gold); letter-spacing: 0.14em; font-size: 11px; }
.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
}
.site-nav a.on, .site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-btn {
    display: none;
    margin-left: auto;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    padding: 6px 12px;
}
main { padding: 28px 0 48px; }
.hero {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 22px;
    margin-bottom: 22px;
}
.hero-copy h1, .page-head h1, .match-detail h1, .article h1 {
    font-size: 40px;
    line-height: 1.2;
    margin: 8px 0 12px;
    letter-spacing: 0.01em;
}
.eyebrow { margin: 0; color: var(--red); font-size: 13px; letter-spacing: 0.16em; }
.hero-lead, .page-head p, .about p, .detail-copy { color: #3c4658; }
.hero-board, .panel {
    background: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.7);
}
.hero-board {
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)),
        #141b2b;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
}
.board-kicker { color: var(--gold); letter-spacing: 0.12em; margin: 0 0 8px; }
.board-teams { display: flex; justify-content: space-between; gap: 12px; font-size: 18px; }
.board-score { display: flex; justify-content: center; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; margin: 14px 0; }
.board-score b { font-size: 48px; font-family: Bahnschrift, "DIN Alternate", "Segoe UI", sans-serif; }
.board-link {
    align-self: flex-start;
    text-decoration: none;
    background: var(--red);
    color: #fff;
    border-radius: 999px;
    padding: 8px 16px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip-row a, .datebar a, .line-row a, .pager a {
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 6px 12px;
    font-size: 13px;
}
.chip-row a:hover, .datebar a:hover, .line-row a:hover, .pager a:hover { border-color: var(--red); color: var(--red); }
.panel { padding: 18px; margin: 16px 0; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.panel-title h2, .about h2, .faq h2, .theme-links h2 { margin: 0; font-size: 22px; }
.panel-title a { color: var(--red); text-decoration: none; font-size: 14px; }
.match-list { display: flex; flex-direction: column; gap: 10px; }
.match {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1.3fr);
    grid-template-areas: "meta meta meta" "home score away";
    gap: 6px 12px;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
}
.match:hover { border-color: #f0c2c0; transform: translateY(-1px); }
.match-meta { grid-area: meta; display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 12px; }
.league { color: var(--ink); font-weight: 700; }
.state { margin-left: auto; }
.phase-live .state { color: var(--live); }
.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(225,6,0,.6);
    animation: pulse 1.6s infinite;
}
.phase-end .state { color: #0f7b4c; }
.side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.side strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-home { grid-area: home; }
.side-away { grid-area: away; justify-content: flex-end; text-align: right; }
.scoreline { grid-area: score; text-align: center; font-variant-numeric: tabular-nums; min-width: 84px; }
.scoreline b { font-size: 26px; font-family: Bahnschrift, "DIN Alternate", "Segoe UI", sans-serif; }
.scoreline i { margin: 0 4px; color: var(--muted); font-style: normal; }
.scoreline.vs b { font-size: 18px; letter-spacing: 0.08em; color: var(--muted); }
.team-logo, .team-fallback {
    width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: #f4f6fa; flex: none;
}
.team-fallback { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--red); }
.datebar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.datebar a { flex: none; }
.datebar a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.crumb { display: flex; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.crumb a { color: var(--ink); text-decoration: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media-list { list-style: none; margin: 0; padding: 0; }
.media-list li + li { border-top: 1px solid var(--line); }
.media-list a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; padding: 12px 0; }
.media-list b { font-weight: 650; }
.media-list span, .empty-line { color: var(--muted); font-size: 13px; }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.news-card {
    display: flex; flex-direction: column; gap: 8px;
    background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none;
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
.news-card img, .news-cover { width: 100%; height: 180px; object-fit: cover; background: #1c2333; }
.news-cover { display: flex; align-items: center; justify-content: center; color: #fff; letter-spacing: 0.2em; }
.news-card b, .news-card span { padding: 0 14px; }
.news-card span { color: var(--muted); font-size: 12px; padding-bottom: 14px; }
.article-cover { width: 100%; border-radius: 12px; max-height: 420px; object-fit: cover; margin: 8px 0 16px; }
.article p { font-size: 17px; }
.line-row { display: flex; flex-wrap: wrap; gap: 8px; }
.line-row a { max-width: 100%; }
.detail-board {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin: 18px 0;
}
.detail-board .scoreline { display: flex; flex-direction: column; }
.detail-board .scoreline span { color: var(--muted); font-size: 13px; }
.quarters { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-variant-numeric: tabular-nums; }
.quarters th, .quarters td { border-bottom: 1px solid var(--line); padding: 8px; text-align: center; }
.quarters td:first-child, .quarters th:first-child { text-align: left; }
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin: 8px 0 0; color: #3c4658; }
.pager { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 12px 0 24px; }
.empty { text-align: center; padding: 40px 16px; }
.text-link { color: var(--red); }
.site-foot { background: var(--header); color: rgba(255,255,255,.72); padding: 28px 0 34px; }
.site-foot p { margin: 0; text-align: center; font-size: 13px; }
.page-head { margin-bottom: 14px; }
@keyframes pulse {
    70% { box-shadow: 0 0 0 8px rgba(225,6,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(225,6,0,0); }
}
@media (max-width: 800px) {
    .hero, .split, .news-grid, .detail-board { grid-template-columns: 1fr; }
    .hero-copy h1, .page-head h1, .match-detail h1, .article h1 { font-size: 30px; }
    .nav-btn { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 68px;
        background: #0c1220;
        flex-direction: column;
        padding: 8px 16px 16px;
        margin: 0;
    }
    .site-nav.open { display: flex; }
    .side strong { white-space: normal; }
    .board-score b { font-size: 40px; }
    .news-card img, .news-cover { height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
    .phase-live .state:before { animation: none; }
    .match { transition: none; }
}
.motion .home .hero-copy > *,
.motion .home .hero-board,
.motion .home .match,
.motion .home .lift { opacity: 0; }
