:root {
    --bg: #071433;
    --bg-2: #0c1c42;
    --card: rgba(12, 28, 64, 0.78);
    --line: rgba(228, 192, 122, 0.28);
    --gold: #e4c07a;
    --gold-2: #f6e6c2;
    --text: #eef3f8;
    --muted: #9aabc4;
    --live: #ff5d6c;
    --done: #8ea0bb;
    --wait: #d7e2f2;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(900px 420px at 80% -10%, rgba(228, 192, 122, 0.16), transparent 60%),
        radial-gradient(700px 380px at -10% 20%, rgba(70, 120, 210, 0.18), transparent 55%),
        var(--bg);
    font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-head {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7, 20, 51, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.head-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.brand img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.brand strong { display: block; font-size: 18px; letter-spacing: 0.12em; }
.brand small { color: var(--gold); letter-spacing: 0.18em; font-size: 12px; }
.main-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
    flex: 0 0 auto;
    padding: 8px 12px;
    color: var(--muted);
    border-bottom: 2px solid transparent;
}
.main-nav a.on, .main-nav a:hover { color: var(--gold-2); border-color: var(--gold); }
main { padding-bottom: 48px; }
.hero {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 24px;
    align-items: center;
    margin: 28px 0 18px;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(228, 192, 122, 0.08), transparent 42%),
        var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.eyebrow { margin: 0 0 8px; color: var(--gold); letter-spacing: 0.16em; font-size: 12px; }
.hero-title { margin: 0; font-size: 56px; line-height: 1.05; letter-spacing: 0.06em; }
.hero-sub { max-width: 640px; color: var(--muted); font-size: 16px; }
.hero-logo { width: 210px; height: 210px; justify-self: end; border-radius: 28px; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; }
.stat-chip {
    min-width: 108px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}
.stat-chip b { display: block; font-size: 22px; color: var(--gold-2); }
.topic-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 14px 0 22px; }
.topic-card {
    padding: 14px 12px;
    border-radius: 14px;
    background: rgba(8, 22, 54, 0.85);
    border: 1px solid rgba(228, 192, 122, 0.16);
}
.topic-card small { display: block; color: var(--gold); font-size: 12px; letter-spacing: 0.12em; }
.topic-card strong { font-size: 16px; }
.topic-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.topic-grid.slim { grid-template-columns: repeat(8, 1fr); margin-top: 18px; }
.sec-head, .day-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 10px; }
.sec-head h2, .subh, .mini { margin: 0; font-weight: 650; }
.subh { margin: 18px 0 10px; }
.mini { margin: 14px 0 8px; color: var(--gold-2); font-size: 15px; }
.sec-head a, .day-bar a { color: var(--gold); }
.match-list { display: flex; flex-direction: column; gap: 8px; }
.match-row {
    display: grid;
    grid-template-columns: 64px 88px minmax(0, 1fr) 84px minmax(0, 1fr) 72px;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(9, 24, 58, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.match-row:hover { border-color: var(--line); }
.m-time { color: var(--gold-2); font-variant-numeric: tabular-nums; }
.m-league {
    justify-self: start;
    max-width: 100%;
    padding: 2px 8px;
    overflow: hidden;
    color: #10203f;
    background: var(--gold);
    border-radius: 999px;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.m-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.m-team.home { justify-content: flex-end; }
.m-team em { font-style: normal; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.team-logo, .team-fallback {
    width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto; object-fit: cover; background: #16305f;
}
.team-fallback { display: grid; place-items: center; color: var(--gold-2); font-size: 13px; }
.m-score { text-align: center; }
.m-score .vs, .m-score .score { font-size: 18px; letter-spacing: 0.04em; }
.m-score i { margin: 0 4px; color: var(--muted); font-style: normal; }
.m-status { text-align: right; font-size: 13px; color: var(--wait); }
.kind-live .m-status { color: var(--live); }
.kind-done .m-status { color: var(--done); }
.card-grid, .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.media-card, .news-card, .panel, .page-intro, .match-hero, .signals, .article, .side-news {
    background: rgba(9, 24, 58, 0.88);
    border: 1px solid rgba(228, 192, 122, 0.14);
    border-radius: 16px;
}
.media-card, .news-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; min-height: 112px; }
.media-card:hover, .news-card:hover { border-color: var(--gold); }
.media-kicker, .news-card em { color: var(--gold); font-size: 12px; font-style: normal; }
.news-card span { color: var(--muted); }
.news-grid.single { grid-template-columns: 1fr; }
.news-grid.single .news-card { flex-direction: row; align-items: center; }
.news-grid.single img { width: 120px; height: 80px; object-fit: cover; border-radius: 10px; }
.page-intro, .match-hero, .article { padding: 22px; margin-top: 18px; }
.page-intro h1, .match-hero h1, .article h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.25; }
.prose p { margin: 0 0 12px; color: #d5deeb; }
.faceoff { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-top: 16px; }
.faceoff .side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.faceoff .team-logo, .faceoff .team-fallback { width: 72px; height: 72px; font-size: 28px; }
.big-score { font-size: 40px; letter-spacing: 0.04em; }
.big-score i { margin: 0 8px; color: var(--muted); font-style: normal; }
.state { display: inline-block; margin: 12px 0 0; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.05); }
.state.kind-live { color: var(--live); }
.bits { color: var(--muted); margin: 4px 0; }
.signals, .side-news { padding: 18px; margin-top: 14px; }
.signal-row, .play-list { display: flex; flex-wrap: wrap; gap: 10px; }
.btn, .play-list a, .pager a, .pager .on {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 40px; padding: 0 16px; border-radius: 999px;
    background: linear-gradient(180deg, #f0d7a2, #c9a15d); color: #1b1408; font-weight: 700;
}
.play-list a { background: transparent; color: var(--gold-2); border: 1px solid var(--line); }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; color: var(--muted); font-size: 13px; }
.crumb a { color: var(--gold); }
.day-bar strong { letter-spacing: 0.04em; }
.faq-item { border-top: 1px solid rgba(228, 192, 122, 0.16); padding: 10px 0; }
.faq-item summary { cursor: pointer; font-weight: 650; }
.faq-item p { color: var(--muted); margin: 8px 0 0; }
.empty, .empty-page { padding: 28px; color: var(--muted); }
.empty-page { margin-top: 40px; }
.empty-page h1 { color: var(--text); }
.pager { display: flex; gap: 8px; margin: 16px 0; }
.pager .on { background: transparent; color: var(--gold-2); border: 1px solid var(--gold); }
.cover { display: block; width: min(100%, 720px); border-radius: 12px; margin: 12px 0; }
.side-news li { margin: 8px 0; }
.site-foot { border-top: 1px solid var(--line); padding: 22px 0 32px; color: var(--muted); font-size: 13px; }
.site-foot p { margin: 0 0 6px; }
@media (max-width: 900px) {
    .hero, .topic-grid, .card-grid, .news-grid, .topic-grid.slim { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 40px; }
    .hero-logo { width: 140px; height: 140px; }
}
@media (max-width: 720px) {
    .wrap { width: min(100% - 20px, 1120px); }
    .head-inner { min-height: 68px; gap: 12px; }
    .brand small { display: none; }
    .hero { grid-template-columns: 1fr; padding: 18px; }
    .hero-logo { display: none; }
    .hero-title { font-size: 34px; }
    .topic-grid, .topic-grid.slim, .card-grid, .news-grid { grid-template-columns: 1fr 1fr; }
    .match-row {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "time league status"
            "home score away";
        row-gap: 8px;
    }
    .m-time { grid-area: time; }
    .m-league { grid-area: league; justify-self: start; }
    .m-status { grid-area: status; }
    .m-team.home { grid-area: home; justify-content: flex-start; }
    .m-score { grid-area: score; }
    .m-team.away { grid-area: away; }
    .page-intro h1, .match-hero h1, .article h1 { font-size: 24px; }
    .big-score { font-size: 28px; }
    .news-grid.single .news-card { flex-direction: column; align-items: flex-start; }
}
