:root {
    --navy: #0e1a2b;
    --navy-2: #17304d;
    --crimson: #c8102e;
    --gold: #c4a35a;
    --paper: #f4f6f9;
    --card: #ffffff;
    --ink: #1b2430;
    --muted: #667085;
    --line: #e6ebf2;
    --live: #d3122a;
    --shadow: 0 10px 30px rgba(14, 26, 43, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
img { max-width: 100%; border: 0; }
a { color: inherit; }
button, input { font: inherit; }
.wrap {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
}
.site-head {
    background: linear-gradient(180deg, #0c1726 0%, #13243a 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 8px 24px rgba(8, 16, 28, .18);
}
.head-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 74px;
    flex-wrap: wrap;
    padding: 10px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: auto;
}
.brand img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    background: #0e1a2b;
}
.brand strong { display: block; font-size: 18px; letter-spacing: .04em; }
.brand small { display: block; color: var(--gold); font-size: 12px; letter-spacing: .12em; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
    display: none;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    padding: 6px 14px;
    cursor: pointer;
}
.main-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav a {
    color: rgba(255,255,255,.86);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 15px;
}
.main-nav a.on, .main-nav a:hover { background: rgba(200, 16, 46, .9); color: #fff; }
.league-strip { background: #fff; border-bottom: 1px solid var(--line); }
.league-strip .wrap {
    display: flex;
    gap: 6px 16px;
    overflow-x: auto;
    padding: 11px 0;
    -webkit-overflow-scrolling: touch;
}
.league-strip a {
    color: #314055;
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
}
.league-strip a.on, .league-strip a:hover { color: var(--crimson); }
.page { padding: 26px 0 50px; }
.hero {
    position: relative;
    overflow: hidden;
    margin-top: 22px;
    padding: 36px 40px 32px;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(ellipse at 12% 0%, rgba(200, 16, 46, .42), transparent 46%),
        radial-gradient(ellipse at 92% 18%, rgba(196, 163, 90, .28), transparent 42%),
        linear-gradient(145deg, #0e1a2b 0%, #1b3354 58%, #101c30 100%);
    box-shadow: 0 18px 40px rgba(14, 26, 43, .16);
}
.hero-mark {
    position: absolute;
    right: 28px;
    top: 26px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.hero h1 {
    margin: 8px 0 10px;
    font-size: 46px;
    line-height: 1.15;
    letter-spacing: .04em;
}
.eyebrow {
    margin: 0;
    color: var(--gold);
    letter-spacing: .22em;
    font-size: 12px;
}
.hero .sub { max-width: 680px; margin: 0; color: rgba(255,255,255,.86); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips a {
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.06);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
}
.chips a:hover { background: rgba(200, 16, 46, .85); border-color: transparent; }
.sec { margin-top: 28px; }
.sec-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}
.sec-head h2 {
    margin: 0;
    padding-left: 12px;
    border-left: 4px solid var(--crimson);
    font-size: 22px;
    line-height: 1.2;
}
.sec-head a { color: var(--crimson); text-decoration: none; font-size: 14px; }
.panel {
    background: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 8px 8px 10px;
}
.match-list { display: flex; flex-direction: column; }
.match-row {
    display: grid;
    grid-template-columns: 80px 64px minmax(0,1fr) 78px minmax(0,1fr) 72px 64px;
    gap: 8px;
    align-items: center;
    padding: 12px 12px;
    margin: 4px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--ink);
}
.match-row:hover { background: #f7f9fc; }
.match-row.is-live { background: #fff6f7; }
.m-league, .m-time, .m-state { color: var(--muted); font-size: 13px; }
.m-time i { display: block; font-style: normal; color: var(--ink); font-weight: 650; }
.m-league { font-weight: 600; color: #8a1530; }
.m-home, .m-away {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.m-home { justify-content: flex-end; text-align: right; }
.m-home em, .m-away em {
    font-style: normal;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.m-home img, .m-away img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: #eef2f6;
    flex: 0 0 auto;
}
.m-score {
    text-align: center;
    font-weight: 750;
    letter-spacing: .04em;
}
.match-row.is-live .m-score, .match-row.is-live .m-state { color: var(--live); }
.m-go {
    justify-self: end;
    background: var(--navy);
    color: #fff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 13px;
    text-align: center;
}
.match-row.is-live .m-go { background: var(--crimson); }
.date-bar, .pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.date-bar a, .pager a, .pager .on {
    text-decoration: none;
    background: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 14px;
    box-shadow: var(--shadow);
}
.date-bar a.on, .pager .on { background: var(--navy); color: #fff; }
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow);
    min-height: 100%;
}
.card img, .card .ph {
    width: 100%;
    height: 132px;
    object-fit: cover;
    background: #0e1a2b center/cover no-repeat;
}
.card .ph { background-image: url("/assets/img/cover.svg"); }
.card div { padding: 12px 12px 14px; }
.card strong {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    max-height: 2.9em;
    overflow: hidden;
}
.card span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.prose {
    background: #fff;
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: var(--shadow);
}
.prose h2 { margin: 0 0 8px; font-size: 22px; }
.prose p { margin: 0 0 12px; color: #303846; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: #fff;
    border-radius: 14px;
    padding: 4px 16px;
    box-shadow: var(--shadow);
}
.faq-item summary {
    cursor: pointer;
    font-weight: 650;
    padding: 12px 0;
}
.faq-item p { margin: 0 0 14px; color: #3c4654; }
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.crumb a { color: #8a1530; text-decoration: none; }
.crumb .sep { margin: 0 6px; }
h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.25; }
.lead { margin: 0 0 16px; color: #4b5565; }
.board {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    background: linear-gradient(160deg, #0e1a2b, #1c3558);
    color: #fff;
    border-radius: 20px;
    padding: 26px 18px;
    margin: 12px 0 16px;
}
.side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.side img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #fff; }
.side strong { font-size: 20px; }
.board .score { font-size: 32px; font-weight: 750; letter-spacing: .04em; text-align: center; }
.board .score small { display: block; margin-top: 6px; color: var(--gold); font-size: 13px; font-weight: 500; }
.signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 18px; }
.signals a {
    display: block;
    text-align: center;
    text-decoration: none;
    background: var(--crimson);
    color: #fff;
    border-radius: 12px;
    padding: 12px 8px;
    font-weight: 650;
}
.signals a:hover { background: #a50d26; }
.article { background: #fff; border-radius: 18px; padding: 8px 22px 22px; box-shadow: var(--shadow); }
.article p { line-height: 1.9; }
.article img { border-radius: 12px; display: block; margin: 8px auto; }
.video-links { list-style: none; padding: 0; margin: 12px 0 0; }
.video-links a {
    display: block;
    background: #fff;
    margin-bottom: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: var(--shadow);
}
.video-links a:hover { color: var(--crimson); }
.related { margin-top: 22px; }
.related ul { margin: 0; padding-left: 18px; }
.related li { margin: 6px 0; }
.related a { color: #1d4e89; }
.empty { padding: 28px 12px; text-align: center; color: var(--muted); }
.site-foot {
    margin-top: 20px;
    background: #0e1a2b;
    color: rgba(255,255,255,.78);
    padding: 28px 0 34px;
}
.site-foot .foot-name { color: #fff; font-size: 18px; margin: 0 0 8px; }
.site-foot p { margin: 0 0 8px; font-size: 14px; }
.site-foot .copy { color: var(--gold); }
@media (max-width: 980px) {
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .match-row { grid-template-columns: 68px 56px minmax(0,1fr) 64px minmax(0,1fr) 64px 54px; font-size: 14px; }
}
@media (max-width: 800px) {
    .nav-btn { display: inline-flex; }
    .main-nav { display: none; width: 100%; padding-bottom: 8px; }
    .nav-toggle:checked ~ .main-nav { display: flex; }
    .hero { padding: 28px 18px 22px; }
    .hero h1 { font-size: 34px; }
    .hero-mark { right: 16px; top: 16px; }
    h1 { font-size: 26px; }
    .match-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "league time"
            "home score"
            "away score"
            "state go";
        gap: 6px 10px;
    }
    .m-league { grid-area: league; }
    .m-time { grid-area: time; justify-self: end; }
    .m-home { grid-area: home; justify-content: flex-start; text-align: left; }
    .m-score { grid-area: score; }
    .m-away { grid-area: away; }
    .m-state { grid-area: state; }
    .m-go { grid-area: go; }
    .board { grid-template-columns: 1fr; }
    .signals { grid-template-columns: 1fr; }
    .side strong { font-size: 18px; }
}
@media (max-width: 560px) {
    .card-grid { grid-template-columns: 1fr; }
    .wrap { width: min(1120px, calc(100% - 20px)); }
    .prose, .article { padding-left: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
