:root {
    --bg: #071018;
    --bg-2: #102033;
    --card: rgba(16, 28, 46, 0.92);
    --line: rgba(231, 197, 106, 0.28);
    --gold: #e7c56a;
    --gold-2: #f6e7bf;
    --ink: #eef3f8;
    --muted: #93a3b5;
    --live: #ff5d73;
    --ok: #3dcca0;
    --wait: #8ea0b5;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(900px 420px at 8% -10%, rgba(231, 197, 106, 0.18), transparent 60%),
        radial-gradient(700px 380px at 100% 0%, rgba(61, 204, 160, 0.1), transparent 55%),
        var(--bg);
    font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { box-sizing: border-box; }
.site-head {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7, 16, 24, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.head-row { display: flex; align-items: center; min-height: 68px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.04em; }
.brand span { color: var(--gold-2); }
.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); }
.site-nav a.on, .site-nav a:hover { color: #1a1406; background: var(--gold); }
#nav-toggle, .nav-btn { display: none; }
.hero { padding: 54px 0 18px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--gold); letter-spacing: 0.12em; font-size: 13px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255, 93, 115, 0.7); animation: pulse 1.6s infinite; }
@keyframes pulse {
    70% { box-shadow: 0 0 0 8px rgba(255, 93, 115, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 93, 115, 0); }
}
.hero-title { margin: 8px 0 10px; font-size: 64px; line-height: 1.05; letter-spacing: 0.04em; }
.hero-lead { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--gold-2); background: rgba(231, 197, 106, 0.06); }
.panel, .league-card, .media-card, .text-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.panel { padding: 22px; margin: 22px 0; }
.wrap {
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}
.sec-head, .sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec-head h2, .sec-title, h1 { margin: 0 0 8px; letter-spacing: 0.03em; }
.sec-head a, .more-link a { color: var(--gold); }
.lead { color: var(--muted); margin-top: 0; }
.match-list { display: flex; flex-direction: column; gap: 10px; }
.match {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px 14px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}
.m-meta { display: flex; align-items: center; gap: 8px; min-width: 0; }
.m-time { flex: 0 0 auto; }
.m-time b { display: block; font-size: 18px; line-height: 1.2; }
.m-time span, .media-card small, .text-card small, .meta { color: var(--muted); }
.m-league {
    max-width: 7.5em;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(231, 197, 106, 0.12);
    color: var(--gold-2);
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.m-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
}
.m-side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.m-side span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-home { justify-content: flex-end; }
.is-home span { text-align: right; }
.m-side img, .league-card img, .brand img { width: 28px; height: 28px; max-width: none; flex: 0 0 28px; border-radius: 50%; object-fit: cover; background: #1c2a3d; }
.league-card img, .brand img { width: 36px; height: 36px; flex-basis: 36px; border-radius: 0; background: transparent; }
.brand img { width: 28px; height: 28px; flex-basis: 28px; }
.m-score { text-align: center; white-space: nowrap; min-width: 4.5em; }
.m-score strong, .m-score b { display: block; font-size: 18px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.m-score em { font-style: normal; font-size: 12px; color: var(--wait); }
.kind-live strong, .kind-live b, .kind-live em { color: var(--live); }
.kind-end em { color: var(--ok); }
.m-btn, .line-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--gold);
    color: #1b1405;
    font-weight: 700;
}
.league-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.league-card { padding: 16px 12px; text-align: center; }
.league-card span { display: block; color: var(--muted); font-size: 12px; }
.article h1, .text-card b, .media-card b { overflow-wrap: anywhere; }
.media-card > div, .text-card { min-width: 0; }
.split, .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card-list, .media-list, .line-list { display: grid; gap: 10px; }
.text-card, .media-card { padding: 12px; }
.text-card b, .media-card b { display: block; }
.media-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; }
.media-card img { width: 92px; height: 68px; max-width: none; object-fit: cover; border-radius: 10px; background: #18283c; }
.media-card img.ph { object-fit: contain; padding: 16px; }
.media-card p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.day-switch, .pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.day-switch a, .pager a { padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.04); color: var(--muted); }
.day-switch a small { display: block; font-size: 12px; }
.day-switch a.on, .pager a.on { background: var(--gold); color: #1b1405; }
.article h1 { font-size: 30px; }
.cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; margin: 8px 0 16px; }
.detail-board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; margin: 18px 0; }
.line-list { grid-template-columns: repeat(3, max-content); margin-bottom: 12px; }
.faq details { border-top: 1px solid rgba(255,255,255,.06); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.crumb a { color: var(--gold); }
.crumb span { margin: 0; }
.empty { color: var(--muted); }
.site-foot { padding: 28px 0 40px; color: var(--muted); }
.site-foot strong { color: var(--gold-2); }
@media (max-width: 980px) {
    .nav-btn { display: inline-flex; margin-left: auto; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-2); }
    .site-nav { display: none; position: absolute; left: 16px; right: 16px; top: 64px; z-index: 30; margin-left: 0; padding: 10px; flex-direction: column; background: #101b2b; border-radius: 14px; border: 1px solid var(--line); }
    #nav-toggle:checked ~ .site-nav { display: flex; }
}
@media (max-width: 900px) {
    .league-grid { grid-template-columns: repeat(3, 1fr); }
    .split, .about-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 42px; }
}
@media (max-width: 720px) {
    .hero { padding: 28px 0 8px; }
    .hero-lead { font-size: 16px; }
    .panel { padding: 14px; }
    .match { grid-template-columns: minmax(0, 1fr) auto; }
    .m-board { grid-column: 1 / -1; }
    .m-btn { grid-column: 2; grid-row: 1; }
    .league-grid { grid-template-columns: repeat(2, 1fr); }
    .media-card { grid-template-columns: 72px minmax(0, 1fr); }
    .media-card img { width: 72px; height: 54px; }
    .line-list { grid-template-columns: 1fr; }
    .detail-board { grid-template-columns: minmax(0, 1fr); }
    .detail-board .is-home,
    .detail-board .is-away { justify-content: flex-start; }
    .detail-board .is-home span { text-align: left; }
    .article h1 { font-size: 22px; }
}
