:root {
    --bg: #07111c;
    --bg-2: #0c1828;
    --card: rgba(16, 28, 46, 0.92);
    --line: rgba(215, 177, 94, 0.18);
    --text: #e7eef8;
    --muted: #93a1b5;
    --gold: #d7b15e;
    --gold-2: #f0d59a;
    --green: #1f9d5a;
    --live: #ff5a6a;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(215, 177, 94, 0.16), transparent 55%),
        radial-gradient(900px 420px at -10% 20%, rgba(31, 157, 90, 0.12), transparent 50%),
        var(--bg);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7, 17, 28, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-bar { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.04em; }
.brand span { font-size: 18px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 14px; }
.main-nav a.on, .main-nav a:hover { color: var(--gold-2); }
.nav-toggle, .nav-btn { display: none; }
main { padding-bottom: 48px; }
.hero {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
    align-items: center;
    margin: 28px 0 18px;
    padding: 36px 34px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(18, 32, 54, 0.95), rgba(10, 18, 32, 0.88));
    box-shadow: var(--shadow);
    overflow: hidden;
}
.eyebrow { margin: 0 0 8px; color: var(--gold); letter-spacing: 0.12em; font-size: 13px; }
.hero-title { margin: 0; font-size: 64px; line-height: 1.05; letter-spacing: 0.06em; }
.hero-sub { max-width: 560px; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-board img { width: 100%; height: auto; display: block; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
}
.btn-gold { background: linear-gradient(180deg, #f0d59a, #c79a45); color: #1b1406; font-weight: 700; }
.btn-ghost { border-color: rgba(255,255,255,.16); color: var(--text); background: rgba(255,255,255,.03); }
.league-grid, .split { display: grid; gap: 12px; }
.league-grid { grid-template-columns: repeat(6, 1fr); margin: 14px 0 8px; }
.league-card, .text-card, .panel, .match-row, .news-item, .match-detail, .article, .page-head {
    background: var(--card);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
}
.league-card { padding: 14px 12px; display: flex; flex-direction: column; min-height: 84px; }
.league-card strong { font-size: 16px; }
.league-card span, .text-card span, .meta, .m-league, .crumb { color: var(--muted); font-size: 13px; }
.league-card:hover, .text-card:hover, .match-row:hover, .news-item:hover { border-color: rgba(215,177,94,.45); }
.block { margin-top: 26px; }
.block-head, .page-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.block h2, .page-head h1, .about h2, .faq h2, .article h1, .match-detail h1 { margin: 0 0 12px; letter-spacing: 0.04em; }
.block-head a { color: var(--gold-2); font-size: 14px; }
.match-list { display: flex; flex-direction: column; gap: 8px; }
.match-row {
    display: grid;
    grid-template-columns: 58px 72px minmax(0,1fr) 84px minmax(0,1fr) 96px;
    gap: 8px;
    align-items: center;
    padding: 12px 14px;
}
.m-time { font-variant-numeric: tabular-nums; font-weight: 700; }
.m-league { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.m-home { justify-content: flex-end; }
.m-team em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-score, .m-state { text-align: center; font-weight: 700; }
.m-score { font-variant-numeric: tabular-nums; font-size: 18px; }
.is-live { color: var(--live); }
.is-end { color: var(--muted); }
.is-wait { color: var(--gold-2); }
.logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #18263a; flex: none; }
.logo-fallback { display: inline-flex; align-items: center; justify-content: center; color: var(--gold-2); font-weight: 700; }
.split { grid-template-columns: 1fr 1fr; }
.card-list, .news-list { display: flex; flex-direction: column; gap: 8px; }
.text-card, .news-item { display: flex; gap: 12px; padding: 14px; }
.text-card { flex-direction: column; }
.text-card b, .news-item b { font-weight: 650; }
.news-item img { width: 148px; height: 96px; object-fit: cover; border-radius: 10px; flex: none; }
.news-item span { display: flex; flex-direction: column; gap: 4px; }
.news-item small { color: var(--muted); }
.about p, .faq p, .lead, .article p { color: #d5deea; }
.about a { color: var(--gold-2); border-bottom: 1px solid rgba(215,177,94,.4); }
.faq details { background: var(--card); border-radius: 14px; padding: 12px 16px; margin-bottom: 8px; border: 1px solid rgba(255,255,255,.06); }
.faq summary { cursor: pointer; font-weight: 700; }
.page-head, .article, .match-detail, .empty-panel { padding: 22px; }
.page-head { margin-top: 22px; display: block; }
.page-head p { margin: 0; color: var(--muted); }
.crumb { margin-top: 18px; }
.crumb .sep { margin: 0 6px; }
.date-switch { display: flex; gap: 8px; margin: 14px 0; flex-wrap: wrap; }
.date-switch a { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.04); color: var(--muted); }
.date-switch a.on { background: rgba(215,177,94,.18); color: var(--gold-2); }
.detail-board { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin: 18px 0; }
.detail-board .side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.detail-board .logo { width: 64px; height: 64px; font-size: 24px; }
.detail-board .mid { text-align: center; }
.detail-board .mid b { display: block; font-size: 36px; }
.signals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.article .cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.content p { margin: 0 0 12px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.pager a, .pager span { min-width: 36px; text-align: center; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.04); }
.pager .on { color: #1b1406; background: var(--gold); }
.site-footer { border-top: 1px solid rgba(255,255,255,.06); padding: 22px 0 32px; color: var(--muted); font-size: 13px; }
.site-footer p { margin: 4px 0; }
@media (max-width: 900px) {
    .hero, .split, .league-grid { grid-template-columns: 1fr 1fr; }
    .hero { grid-template-columns: 1fr; padding: 24px 18px; }
    .hero-title { font-size: 46px; }
    .hero-board { display: none; }
}
@media (max-width: 760px) {
    .nav-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; margin-left: auto; }
    .nav-btn span { display: block; height: 2px; background: var(--gold-2); border-radius: 2px; }
    .main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 72px; padding: 12px; background: #101a2b; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); }
    .nav-toggle:checked ~ .main-nav { display: flex; flex-direction: column; }
    .header-bar { position: relative; }
    .league-grid, .split { grid-template-columns: 1fr 1fr; }
    .match-row {
        grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
        grid-template-areas: "time league state" "home score away";
    }
    .m-time { grid-area: time; }
    .m-league { grid-area: league; text-align: center; }
    .m-state { grid-area: state; text-align: right; }
    .m-home { grid-area: home; }
    .m-score { grid-area: score; }
    .m-away { grid-area: away; }
    .news-item { flex-direction: column; }
    .news-item img { width: 100%; height: 180px; }
}
@media (max-width: 520px) {
    .league-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 40px; }
}
