:root {
    --green: #0c8f58;
    --green-deep: #087246;
    --ink: #17241e;
    --muted: #6a7871;
    --line: #e4eee8;
    --paper: #f3f6f4;
    --live: #e03131;
    --card: #ffffff;
    --shadow: 0 10px 28px rgba(18, 42, 32, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(980px 320px at 50% -80px, #e5f6ed 0%, transparent 68%),
        var(--paper);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: #c8efdb; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 6px 10px; z-index: 30; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.top {
    background: rgba(255,255,255,.92);
    color: var(--ink);
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(20, 48, 36, .06);
    backdrop-filter: saturate(1.2) blur(10px);
}
.top-bar { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.brand {
    display: flex; align-items: center; gap: 10px;
    font-size: 20px; font-weight: 800; letter-spacing: .02em; color: #10261c;
}
.brand img {
    width: 34px; height: 34px; border-radius: 50%;
    background: #f3faf6; box-shadow: inset 0 0 0 1px #d7ebe1;
}
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a {
    padding: 7px 14px; border-radius: 999px; color: #3a4a43; font-weight: 600; font-size: 14px;
    transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: #eef8f3; color: var(--green-deep); }
.nav a.on { background: var(--green); color: #fff; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
    display: none; margin-left: auto; border: 1px solid #d5e4dc; background: #fff;
    color: #143028; border-radius: 999px; padding: 6px 14px; cursor: pointer;
}
.league-bar { background: #f8fbf9; border-top: 1px solid #edf3ef; }
.league-scroll { display: flex; gap: 2px; overflow-x: auto; padding: 7px 0; scrollbar-width: none; }
.league-scroll::-webkit-scrollbar { display: none; }
.league-scroll a {
    flex: 0 0 auto; color: #4a5c54; padding: 4px 11px; font-size: 13px;
    border-radius: 999px; transition: background .15s ease, color .15s ease;
}
.league-scroll a:hover { color: var(--green-deep); background: #fff; box-shadow: 0 1px 2px rgba(16,40,28,.06); }

.hero {
    display: grid;
    grid-template-columns: 1fr 220px;
    height: 128px;
    margin: 18px 0 4px;
    border-radius: 16px;
    overflow: hidden;
    background:
        radial-gradient(220px 120px at 12% 0%, rgba(255,255,255,.2), transparent 70%),
        linear-gradient(105deg, #065c3a 0%, #0b8a55 46%, #12a066 100%);
    color: #fff;
    box-shadow: 0 14px 32px rgba(8, 90, 52, .16);
}
.hero-copy { padding: 16px 28px; align-self: center; position: relative; z-index: 1; }
.hero h1 { margin: 6px 0 6px; font-size: 28px; letter-spacing: .04em; line-height: 1; font-weight: 800; }
.hero p { margin: 0; color: rgba(255,255,255,.88); font-size: 13.5px; letter-spacing: .01em; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 5px; margin: 0;
    color: #ffe7a3; font-size: 12px; letter-spacing: .08em;
    background: rgba(255,255,255,.12); border-radius: 999px; padding: 2px 9px 2px 6px;
}
.eyebrow img { width: 14px; height: 14px; }
.hero-photo { width: 100%; height: 128px; object-fit: cover; object-position: center 16%; }

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

.block {
    background: var(--card);
    border: 1px solid rgba(20, 48, 36, .06);
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 18px;
    box-shadow: var(--shadow);
}
.block-h {
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(180deg, #14a86c 0%, #0c8d56 100%);
    color: #fff; margin: 0; padding: 11px 14px 11px 16px;
}
.block-h h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.block-h h2 img { width: 18px; height: 18px; filter: drop-shadow(0 1px 0 rgba(0,0,0,.12)); }
.block-h a {
    color: #fff; font-size: 12px; background: rgba(255,255,255,.16);
    border-radius: 999px; padding: 4px 10px;
}
.block-h a:hover { background: rgba(255,255,255,.26); }

.mlist { background: #fff; }
.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: #f7fbf8; color: #8a978f; font-size: 12px; letter-spacing: .06em;
}
.mrow { min-height: 60px; border-top: 1px solid #f1f5f3; transition: background .15s ease; }
.mrow:hover { background: #f4fbf7; }
.mrow time { color: #5c6b64; font-variant-numeric: tabular-nums; font-weight: 650; font-size: 13px; }
.lg {
    color: var(--green-deep); font-weight: 700; font-size: 13px; background: none;
    padding: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lg:hover { color: #065c38; }
.lg.mute { color: #8b9791; 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; font-size: 14.5px; }
.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: inset 0 0 0 1px #e6eeea;
}
.score {
    text-align: center; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums;
    color: #1c1c1c; letter-spacing: 0; white-space: nowrap;
}
.score.live { color: var(--live); }
.score.wait { color: #a3aca7; letter-spacing: .08em; font-weight: 700; font-size: 13px; }
.score.end { color: #2c2c2c; }
.st {
    justify-self: end; font-size: 12px; line-height: 1; padding: 5px 8px; border-radius: 999px;
    background: #eef7f2; color: var(--green-deep); white-space: nowrap;
}
.st.live { background: #fff1f1; color: var(--live); }
.st.end { background: #f4f5f4; color: #8d948f; }
.st.live::before {
    content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%;
    background: var(--live); vertical-align: 1px; box-shadow: 0 0 0 3px rgba(224,49,49,.12);
}

.datebar, .tabs { display: flex; gap: 8px; margin: 8px 0 16px; flex-wrap: wrap; }
.datebar a, .tabs a, .pager a, .pager span {
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: #3c4a44;
    box-shadow: 0 1px 2px rgba(18,42,32,.03);
}
.datebar a:hover, .tabs a:hover, .pager a:hover { border-color: #c9e4d6; color: var(--green-deep); }
.datebar a.on, .tabs a.on { background: var(--green); color: #fff; border-color: var(--green); box-shadow: none; }
.pager { display: flex; gap: 8px; justify-content: center; margin: 18px 0 8px; }
.pager span { color: var(--muted); }

.feed, .vlist { list-style: none; margin: 0; padding: 0; }
.feed a {
    display: flex; gap: 12px; align-items: center; padding: 12px 14px;
    border-bottom: 1px solid #f2f6f4; background: #fff; transition: background .15s ease;
}
.feed a:hover { background: #f7fbf8; }
.feed li:last-child a { border-bottom: 0; }
.feed img { width: 76px; height: 52px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; background: #eef3f0; }
.feed b { font-weight: 650; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin-top: 8px; }
.split .block { margin: 0; }
.home-side .feed a, .home-side .vlist a {
    display: flex; gap: 12px; align-items: center; padding: 12px 14px;
    border-bottom: 1px solid #f2f6f4; background: #fff; transition: background .15s ease;
}
.home-side .feed a:hover, .home-side .vlist a:hover { background: #f7fbf8; }
.home-side .feed li:last-child a, .home-side .vlist li:last-child a { border-bottom: 0; }
.home-side .feed img { width: 76px; height: 52px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; background: #eef3f0; }
.home-side .feed b, .vlist b {
    font-weight: 650; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.45; font-size: 13.5px;
}
.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; }
.feed.cards, .vlist { background: #fff; border: 1px solid rgba(20,48,36,.06); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.feed.cards a, .vlist a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #f2f5f3; transition: background .15s ease; }
.feed.cards a:hover, .vlist a:hover { background: #f7fbf8; }
.feed.cards li:last-child a, .vlist li:last-child a { border-bottom: 0; }
.feed.cards img { width: 148px; height: 96px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; background: #eef3f0; }
.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; align-items: center; }
.crumb a { color: var(--green-deep); }
.crumb em { font-style: normal; color: #314038; }
.board, .article {
    background: #fff; border: 1px solid rgba(20,48,36,.06); border-radius: 16px;
    padding: 28px 28px 22px; margin-top: 12px; box-shadow: var(--shadow);
}
.board h1, .article h1 { margin: 6px 0 14px; font-size: 26px; line-height: 1.4; letter-spacing: .01em; }
.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; letter-spacing: .04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.board-score.live strong { color: var(--live); }
.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: var(--green); color: #fff;
    border-radius: 999px; padding: 10px 18px; font-weight: 700;
    box-shadow: 0 6px 16px rgba(12, 143, 88, .22);
}
.lines a:hover { background: var(--green-deep); }
.cover img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; }
.content { font-size: 16px; line-height: 1.9; color: #24302b; }
.content p { margin: 0 0 14px; }
.content img { border-radius: 12px; }
.empty { color: var(--muted); padding: 22px 16px; }

.faq details { border-top: 1px solid #f1f5f3; }
.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: "+"; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
    background: #eef7f2; color: var(--green-deep); font-size: 16px; line-height: 22px; text-align: center;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 16px 14px; color: #4e5d56; font-size: 14px; line-height: 1.8; }

.foot {
    margin-top: 36px; background: #fff; border-top: 1px solid var(--line);
    color: #4e5d56; padding: 32px 0 20px;
}
.foot-intro { max-width: 820px; }
.foot strong { color: #12261c; font-size: 16px; letter-spacing: .04em; }
.foot p { margin: 10px 0 0; line-height: 1.85; font-size: 14px; }
.copy { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: #8b9791; font-size: 13px; }

@media (max-width: 980px) {
    .home, .split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .nav-btn { display: inline-flex; }
    .nav {
        display: none; position: absolute; left: 12px; right: 12px; top: 64px;
        background: #fff; flex-direction: column; padding: 8px;
        border-radius: 14px; box-shadow: 0 16px 36px rgba(16,40,28,.12);
    }
    .nav-toggle:checked ~ .nav { display: flex; }
    .hero { height: 108px; grid-template-columns: 1fr 108px; border-radius: 14px; }
    .hero-copy { padding: 12px 16px; }
    .hero h1 { font-size: 22px; margin: 4px 0; }
    .hero p { font-size: 12px; }
    .hero-photo { height: 108px; }
    .mhead { display: none; }
    .mrow {
        grid-template-columns: 46px minmax(0, 1fr) auto;
        grid-template-areas: "time teams status" "league teams status";
        gap: 1px 8px;
        align-items: center;
        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);
        gap: 4px;
    }
    .mrow .st { grid-area: status; justify-self: end; align-self: center; font-size: 11px; padding: 4px 6px; }
    .mrow .side { gap: 4px; }
    .mrow .side b { font-size: 13px; }
    .mrow .side img { width: 22px; height: 22px; }
    .mrow .score { text-align: center; font-size: 14px; min-width: 46px; }
    .mrow .side.away { flex-direction: row-reverse; text-align: right; }
    .feed.cards a { align-items: flex-start; }
    .feed.cards img { width: 108px; height: 72px; }
    .board, .article { padding: 18px 14px; }
    .board-teams img { width: 56px; height: 56px; }
}
