:root {
    --bg: #070b14;
    --card: rgba(16, 24, 40, .92);
    --line: rgba(230, 194, 122, .16);
    --text: #f4f7fb;
    --muted: #93a0b8;
    --red: #ff3344;
    --gold: #e6c27a;
    --live: #3ee0a2;
    --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(1000px 420px at 100% -10%, rgba(255, 51, 68, .2), transparent 55%),
        radial-gradient(800px 380px at -10% 10%, rgba(230, 194, 122, .1), transparent 50%),
        var(--bg);
    line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; border: 0; }
button, input { font-family: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.top {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(7, 11, 20, .86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.top-in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0; font-size: 16px; white-space: nowrap; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
    text-decoration: none;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 14px;
}
.nav a.on, .nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-btn {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: transparent;
    padding: 0;
}
.nav-btn i { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: var(--text); }
.hero { padding: 42px 0 12px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; }
.eyebrow { margin: 0 0 8px; color: var(--gold); letter-spacing: .16em; font-size: 13px; }
h1 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 60px); line-height: 1.15; letter-spacing: .02em; }
.lead, .page-head p, .about-grid p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--text);
    background: rgba(255, 255, 255, .03);
}
.hero-board, .scoreboard, .board, .vcard, .ncard, .about-side, .faq details {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}
.hero-board { border-radius: 24px; padding: 22px; }
.board-kicker { margin: 0 0 14px; color: var(--gold); letter-spacing: .12em; font-size: 13px; }
.feature, .feature-empty {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    min-height: 150px;
}
.feature-side, .sb-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.feature-side img, .sb-team img, .team img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #1b2436; }
.team img { width: 36px; height: 36px; }
.feature-mid, .sb-mid, .score { text-align: center; }
.feature-mid b, .sb-mid b, .score { font-size: 28px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.feature-mid small, .sb-mid small, .match-time span { display: block; color: var(--muted); font-size: 12px; }
.block { padding: 12px 0 22px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 12px; }
.section-head h2 { margin: 0; font-size: 22px; }
.section-head a { color: var(--gold); text-decoration: none; }
.board { border-radius: 18px; overflow: hidden; }
.match {
    display: grid;
    grid-template-columns: 74px 88px minmax(0, 1fr) 92px minmax(0, 1fr) 72px;
    gap: 8px;
    align-items: center;
    padding: 13px 14px;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, .05);
}
.match:first-child { border-top: 0; }
.match:hover { background: rgba(230, 194, 122, .05); }
.match[data-status="live"] { box-shadow: inset 3px 0 0 var(--live); }
.match-time b { font-size: 16px; }
.match-league, .state { color: var(--muted); font-size: 13px; }
.state { text-align: right; }
.match[data-status="live"] .state { color: var(--live); }
.team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.team.away { flex-direction: row-reverse; text-align: right; }
.team span, .vbody strong, .ncard strong { overflow: hidden; text-overflow: ellipsis; }
.team span { white-space: nowrap; }
.ph {
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #243049; color: var(--gold); font-style: normal; flex: none;
}
.page-head { padding: 28px 0 8px; }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); }
.crumbs { color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs em { margin: 0 8px; font-style: normal; color: rgba(255,255,255,.25); }
.scoreboard {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    border-radius: 22px;
    padding: 22px 12px;
    margin: 16px 0;
}
.signals { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.signals a {
    text-decoration: none;
    background: linear-gradient(180deg, #ff4d5a, #d0122a);
    color: white;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
}
.signal-note { color: var(--muted); font-size: 13px; }
.vcards, .ncards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ncards { grid-template-columns: repeat(3, 1fr); }
.vcard, .ncard { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; text-decoration: none; min-width: 0; }
.vpic { aspect-ratio: 16/10; background: #121a2b; }
.vpic img, .cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover { height: auto; border-radius: 16px; margin: 8px 0 16px; max-height: 420px; object-fit: cover; }
.vbody, .ncard { padding: 12px 14px 14px; }
.vbody em, .ncard em { color: var(--gold); font-style: normal; font-size: 12px; letter-spacing: .08em; }
.vbody strong, .ncard strong { display: block; margin-top: 4px; }
.ncard span { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 22px; }
.about-side { border-radius: 18px; padding: 18px 18px 6px; }
.about-side p { margin-top: 0; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 14px; padding: 12px 16px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 4px; color: var(--muted); }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 18px; }
.pager a { color: var(--gold); text-decoration: none; }
.empty { padding: 28px 16px; color: var(--muted); text-align: center; }
.article { max-width: 820px; }
.article p { margin: 0 0 14px; }
.article img { display: block; max-width: 100%; height: auto; margin: 8px auto 16px; border-radius: 12px; }
.foot { border-top: 1px solid var(--line); margin-top: 20px; padding: 28px 0 40px; color: var(--muted); font-size: 13px; }
.foot-name { color: var(--text); letter-spacing: .12em; font-size: 15px; }
.foot p { margin: 6px 0; }
@media (max-width: 980px) {
    .hero-grid, .about-grid, .vcards, .ncards { grid-template-columns: 1fr 1fr; }
    .hero-grid, .about-grid { grid-template-columns: 1fr; }
    .match { grid-template-columns: 64px 72px minmax(0,1fr) 72px minmax(0,1fr); }
    .state { display: none; }
    .nav-btn { display: inline-block; }
    .top-in { position: relative; }
    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        flex-direction: column;
        background: #101828;
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 8px;
        z-index: 40;
    }
    .nav.open { display: flex; }
}
@media (max-width: 720px) {
    .vcards, .ncards { grid-template-columns: 1fr; }
    .match {
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas: "time league league" "home score away";
    }
    .match-time { grid-area: time; }
    .match-league { grid-area: league; text-align: right; }
    .team.home { grid-area: home; }
    .score { grid-area: score; }
    .team.away { grid-area: away; }
    .feature-mid b, .sb-mid b { font-size: 22px; }
    h1 { font-size: 32px; }
}
