:root {
    --bg: #070b12;
    --bg-2: #0c1220;
    --card: #121a2b;
    --line: rgba(232, 184, 74, .12);
    --text: #e8edf5;
    --muted: #8b97ab;
    --gold: #e8b84a;
    --gold-2: #f3d27a;
    --crimson: #ff3b4a;
    --live: #22c55e;
    --shadow: 0 18px 40px rgba(0, 0, 0, .35);
    --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(900px 420px at 8% -8%, rgba(232, 184, 74, .16), transparent 58%),
        radial-gradient(720px 360px at 96% 4%, rgba(255, 59, 74, .1), transparent 52%),
        var(--bg);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; color: #111; padding: 6px 10px; z-index: 30; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.top {
    background: rgba(8, 12, 20, .86);
    position: sticky; top: 0; z-index: 20;
    border-bottom: 1px solid rgba(255,255,255,.06);
    backdrop-filter: saturate(1.2) blur(12px);
}
.top-bar { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: .04em; color: #fff; }
.brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 2px rgba(232,184,74,.35); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
    padding: 7px 14px; border-radius: 999px; color: #c9d2e0; font-weight: 650; font-size: 14px;
}
.nav a:hover { background: rgba(232,184,74,.12); color: var(--gold-2); }
.nav a.on { background: linear-gradient(180deg, #f0c96a, #d4a32e); color: #1a1406; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
    display: none; margin-left: auto; border: 1px solid rgba(255,255,255,.12); background: transparent;
    color: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer;
}
.league-bar { background: rgba(255,255,255,.03); border-top: 1px solid rgba(255,255,255,.04); }
.league-scroll { display: flex; gap: 2px; overflow-x: auto; padding: 8px 0; scrollbar-width: none; }
.league-scroll::-webkit-scrollbar { display: none; }
.league-scroll a {
    flex: 0 0 auto; color: #aab4c6; padding: 4px 12px; font-size: 13px; border-radius: 999px;
}
.league-scroll a:hover { color: var(--gold); background: rgba(232,184,74,.1); }

.hero-banner {
    position: relative;
    width: 100vw;
    margin: 0 0 22px calc(50% - 50vw);
    height: 600px;
    overflow: hidden;
    background: #070b12 url("/static/img/zhizhutiyu_section_banner_v2.webp") center/cover no-repeat;
}
.hero-video {
    position: absolute;
    top: 0; left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero-mask {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(7, 11, 18, .28) 0%, rgba(7, 11, 18, .08) 42%, transparent 70%);
}
.hero-inner {
    position: relative;
    z-index: 3;
    width: min(1200px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-inner h1 {
    margin: 14px 0 16px;
    font-size: 54px;
    line-height: 1.1;
    letter-spacing: .04em;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .28);
}
.hero-sub {
    margin: 0 0 16px;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
}
.hero-desc {
    margin: 0 0 36px;
    max-width: 640px;
    color: rgba(255,255,255,.88);
    font-size: 16px;
}
.hero-btns { display: flex; gap: 30px; flex-wrap: wrap; }
.btn-solid, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 50px;
    padding: 0;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
}
.btn-solid {
    background: #E53333;
    color: #fff;
}
.btn-solid:hover { background: #c91f1f; }
.btn-ghost {
    background: rgba(229, 51, 51, .1);
    border: 1px solid #E53333;
    color: #E53333;
}
.btn-ghost:hover { background: rgba(229, 51, 51, .18); color: #fff; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 6px; margin: 0;
    width: fit-content;
    color: var(--gold-2); font-size: 12px; letter-spacing: .12em;
    background: rgba(0,0,0,.28); border-radius: 999px; padding: 4px 12px 4px 8px;
}
.hero-marks { display: flex; gap: 18px; margin-top: 28px; flex-wrap: wrap; color: #f4e6bf; font-size: 13px; }
.hero-marks span { display: inline-flex; align-items: center; gap: 5px; }

.adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.adv-item {
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow);
}
.adv-item img { width: 48px; height: 48px; object-fit: contain; display: block; }
.adv-item b { font-size: 16px; }
.adv-item span { color: var(--muted); font-size: 12px; }

.home { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.page-h { padding: 22px 0 6px; }
.page-h h1 { margin: 0 0 6px; font-size: 26px; }
.page-h p { margin: 0; color: var(--muted); font-size: 14px; }

.block {
    background: var(--card); border: 1px solid rgba(255,255,255,.05);
    border-radius: 18px; overflow: hidden; margin: 0 0 18px; box-shadow: var(--shadow);
}
.block-h {
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(90deg, #1b2438, #241c16);
    color: #fff; margin: 0; padding: 12px 16px;
    border-bottom: 1px solid rgba(232,184,74,.16);
}
.block-h h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; }
.block-h a { color: var(--gold-2); font-size: 12px; background: rgba(232,184,74,.12); border-radius: 999px; padding: 4px 10px; }

.mhead, .mrow {
    display: grid; grid-template-columns: 108px 64px minmax(0, 1fr) 92px;
    gap: 10px; align-items: center; padding: 0 14px;
}
.mhead { height: 36px; background: rgba(255,255,255,.03); color: #7f8aa0; font-size: 12px; }
.mrow { min-height: 60px; border-top: 1px solid rgba(255,255,255,.04); }
.mrow:hover { background: rgba(232,184,74,.05); }
.mrow time { color: #b7c0d0; font-variant-numeric: tabular-nums; font-weight: 650; }
.lg { color: var(--gold); font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg.mute { color: #7d8799; font-weight: 600; }
.teams { display: grid; grid-template-columns: minmax(0,1fr) 88px minmax(0,1fr); align-items: center; gap: 6px; min-width: 0; }
.side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.side b { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side.away { flex-direction: row-reverse; text-align: right; }
.side img, .board-teams img {
    width: 28px; height: 28px; border-radius: 50%; object-fit: contain;
    background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.score { text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.score.live { color: var(--crimson); }
.score.wait { color: #7d8799; letter-spacing: .08em; font-size: 13px; }
.st { justify-self: end; font-size: 12px; padding: 5px 8px; border-radius: 999px; background: rgba(232,184,74,.1); color: var(--gold-2); white-space: nowrap; }
.st.live { background: rgba(34,197,94,.14); color: var(--live); }
.st.end { background: rgba(255,255,255,.06); color: #8b97ab; }
.st.live::before {
    content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%;
    background: var(--live); box-shadow: 0 0 0 3px rgba(34,197,94,.16);
}

.datebar, .tabs { display: flex; gap: 8px; margin: 8px 0 16px; flex-wrap: wrap; }
.datebar a, .tabs a, .pager a, .pager span {
    background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: 6px 14px; color: #c9d2e0;
}
.datebar a.on, .tabs a.on { background: linear-gradient(180deg, #f0c96a, #d4a32e); color: #1a1406; border-color: transparent; }
.pager { display: flex; gap: 8px; justify-content: center; margin: 18px 0 8px; }

.feed, .vlist { list-style: none; margin: 0; padding: 0; }
.feed a, .vlist a {
    display: flex; gap: 12px; align-items: center; padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.feed a:hover, .vlist a:hover { background: rgba(232,184,74,.05); }
.feed img { width: 76px; height: 52px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; background: #0b101b; }
.feed b, .vlist b { font-weight: 650; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed span, .vlist span { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.feed small, .vlist small, .feed em { color: var(--muted); font-style: normal; font-size: 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.split .block { margin: 0; }
.feed.cards, .vlist { background: var(--card); border: 1px solid rgba(255,255,255,.05); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.feed.cards img { width: 148px; height: 96px; border-radius: 10px; }
.vlist img { width: 36px; height: 36px; border-radius: 8px; }

.crumb { color: var(--muted); font-size: 13px; padding-top: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumb a { color: var(--gold); }
.crumb em { font-style: normal; color: #d7deea; }
.board, .article {
    background: var(--card); border: 1px solid rgba(255,255,255,.05); border-radius: 18px;
    padding: 28px; margin-top: 12px; box-shadow: var(--shadow);
}
.board h1, .article h1 { margin: 6px 0 14px; font-size: 26px; }
.board-lg, .meta, .hint, .lead { color: var(--muted); }
.board-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; text-align: center; margin: 8px 0 22px; }
.board-teams img { width: 72px; height: 72px; }
.board-teams b { display: block; margin-top: 8px; font-size: 18px; }
.board-score strong { display: block; font-size: 40px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.board-score.live strong { color: var(--crimson); }
.board-score em { color: var(--muted); font-style: normal; }
.lines { display: flex; flex-wrap: wrap; gap: 10px; }
.lines a {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(180deg, #f0c96a, #d4a32e); color: #1a1406;
    border-radius: 999px; padding: 10px 18px; font-weight: 700;
}
.cover img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; }
.content { font-size: 16px; line-height: 1.9; color: #d7deea; }
.content p { margin: 0 0 14px; }
.empty { color: var(--muted); padding: 22px 16px; }

.about-box {
    background: linear-gradient(180deg, rgba(232,184,74,.08), rgba(18,26,43,.6));
    border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin: 0 0 18px;
}
.about-box h2 { margin: 0 0 10px; font-size: 20px; color: var(--gold-2); }
.about-box p { margin: 0 0 8px; color: #c9d2e0; }
.about-home { margin-top: 6px; }

.faq details { border-top: 1px solid rgba(255,255,255,.05); }
.faq details:first-of-type { border-top: 0; }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 16px; cursor: pointer; font-weight: 650; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(232,184,74,.12); color: var(--gold); text-align: center; line-height: 22px;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 16px 14px; color: #aab4c6; font-size: 14px; }

.foot { margin-top: 36px; background: #080d16; border-top: 1px solid rgba(255,255,255,.06); color: #8b97ab; padding: 32px 0 20px; }
.foot-intro { max-width: 820px; }
.foot strong { color: var(--gold-2); font-size: 16px; letter-spacing: .06em; }
.foot p { margin: 10px 0 0; line-height: 1.85; font-size: 14px; }
.copy { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); }

@media (max-width: 980px) {
    .home { grid-template-columns: 1fr; }
    .split, .adv { grid-template-columns: 1fr 1fr; }
    .hero-banner { height: 420px; }
    .hero-inner h1 { font-size: 40px; }
    .hero-sub { font-size: 24px; }
    .hero-desc { margin-bottom: 24px; }
    .hero-btns { gap: 16px; }
}
@media (max-width: 760px) {
    .nav-btn { display: inline-flex; }
    .nav {
        display: none; position: absolute; left: 12px; right: 12px; top: 70px;
        background: #121a2b; flex-direction: column; padding: 8px;
        border-radius: 14px; box-shadow: var(--shadow);
    }
    .nav-toggle:checked ~ .nav { display: flex; }
    .adv { grid-template-columns: 1fr 1fr; gap: 10px; }
    .adv-item { padding: 14px 12px; }
    .adv-item img { width: 40px; height: 40px; }
    .adv-item b { font-size: 14px; }
    .adv-item span { font-size: 11px; }
    .hero-banner {
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero-video { display: none; }
    .hero-mask {
        background: linear-gradient(180deg, rgba(7, 11, 18, .25), rgba(7, 11, 18, .45));
    }
    .hero-inner {
        width: 100%;
        height: auto;
        text-align: center;
        align-items: center;
        padding: 20px 16px;
    }
    .hero-inner h1 { font-size: 28px; margin: 8px 0 10px; }
    .hero-sub { font-size: 18px; margin-bottom: 12px; }
    .hero-desc { display: none; }
    .hero-btns { justify-content: center; gap: 10px; }
    .btn-solid, .btn-ghost { width: 120px; height: 40px; font-size: 14px; }
    .hero-marks { justify-content: center; gap: 10px; margin-top: 16px; font-size: 12px; }
    .mhead { display: none; }
    .mrow {
        grid-template-columns: 46px minmax(0, 1fr) auto;
        grid-template-areas: "time teams status" "league teams status";
        gap: 1px 8px; min-height: 52px; padding: 7px 10px;
    }
    .mrow time { grid-area: time; align-self: end; font-size: 12px; }
    .mrow .lg { grid-area: league; align-self: start; font-size: 11px; }
    .mrow .teams { grid-area: teams; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .mrow .st { grid-area: status; }
    .feed.cards img { width: 108px; height: 72px; }
    .board, .article { padding: 18px 14px; }
}
