:root {
    --lacquer: #141210;
    --gold: #c4a574;
    --gold-2: #e7d3ae;
    --paper: #f6f1e7;
    --ink: #1c1814;
    --muted: #8a7d6d;
    --line: rgba(196, 165, 116, .45);
    --live: #9d2c2c;
    --done: #5e6b58;
    --wait: #8a8175;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--gold-2);
    background:
        radial-gradient(900px 420px at 8% -10%, rgba(196, 165, 116, .18), transparent 60%),
        radial-gradient(700px 380px at 100% 0%, rgba(196, 165, 116, .08), transparent 55%),
        var(--lacquer);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
.top, .league-strip, main, .foot { width: min(1120px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0 14px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: "Songti SC", "Noto Serif SC", "STSong", serif; letter-spacing: .12em; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.nav a { color: var(--gold-2); font-size: 14px; letter-spacing: .08em; }
.nav a.on, .nav a:hover { color: #fff; }
.league-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.league-strip a {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 12px;
    color: var(--gold);
    font-size: 13px;
}
.league-strip a.on, .league-strip a:hover { background: var(--gold); color: var(--lacquer); }
main { padding: 18px 0 48px; }
.hero { padding: 28px 0 10px; }
.kicker { margin: 0 0 10px; color: var(--gold); letter-spacing: .22em; font-size: 12px; text-transform: uppercase; }
.hero-title {
    margin: 0;
    font-family: "Songti SC", "Noto Serif SC", "STSong", "Times New Roman", serif;
    font-size: clamp(52px, 9vw, 108px);
    font-weight: 500;
    line-height: .95;
    letter-spacing: .04em;
    color: #f7f1e6;
}
.hero-lead { max-width: 680px; margin: 18px 0 0; color: #d9cbb6; }
.hero-line { height: 1px; margin-top: 22px; background: linear-gradient(90deg, var(--gold), transparent 80%); }
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0; }
.topic-card {
    display: block;
    min-height: 112px;
    padding: 16px 16px 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .02);
}
.topic-card span { display: block; color: var(--gold); font-size: 12px; letter-spacing: .16em; }
.topic-card strong { display: block; margin-top: 10px; font-family: "Songti SC", "Noto Serif SC", serif; font-size: 22px; font-weight: 500; color: #fff; }
.topic-card em { display: block; margin-top: 4px; color: var(--muted); font-style: normal; font-size: 12px; }
.topic-card:hover { border-color: var(--gold-2); }
.programme, .sheet {
    background: var(--paper);
    color: var(--ink);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.programme { padding: 8px 8px 12px; }
.programme-flat { margin-top: 8px; box-shadow: none; background: transparent; padding: 0; }
.programme-hd, .sheet-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px 8px; }
.programme-hd h2, .sheet-hd h2, .sheet h2 { margin: 0; font-family: "Songti SC", "Noto Serif SC", serif; font-weight: 500; font-size: 26px; }
.programme-hd a, .sheet-hd a, .text-link { color: #7a5b32; border-bottom: 1px solid rgba(122, 91, 50, .45); }
.fixtures { display: flex; flex-direction: column; }
.fix {
    display: grid;
    grid-template-columns: 64px 72px minmax(0, 1fr) 72px;
    gap: 8px;
    align-items: center;
    margin: 0 8px;
    padding: 11px 10px;
    border-top: 1px solid rgba(28, 24, 20, .08);
    color: var(--ink);
}
.fix:hover { background: rgba(196, 165, 116, .16); }
.fix-time { font-variant-numeric: tabular-nums; color: #6d6256; }
.fix-league { color: #8a6232; font-size: 13px; }
.fix-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.fix-teams b { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.fix-teams b span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fix-teams b:last-child { flex-direction: row-reverse; text-align: right; }
.crest { width: 28px; height: 28px; object-fit: contain; flex: 0 0 auto; background: #fff; border-radius: 6px; }
.fix-teams i { font-style: normal; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.fix-state { justify-self: end; font-size: 12px; letter-spacing: .08em; }
.is-live { color: var(--live); }
.is-done { color: var(--done); }
.is-wait, .is-delay { color: var(--wait); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.sheet { padding: 8px 22px 22px; }
.sheet + .sheet, .split + .sheet, .faq, .about { margin-top: 16px; }
.sheet h1 { margin: 6px 0 8px; font-family: "Songti SC", "Noto Serif SC", serif; font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1.25; }
.lead { margin-top: 0; color: #5c5348; }
.crumb, .meta-line { color: #8a7f72; font-size: 13px; }
.crumb a, .meta-line { color: #8a7f72; }
.link-list { list-style: none; margin: 0; padding: 0 18px 12px; }
.sheet .link-list { padding: 0; }
.link-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 10px 0; border-top: 1px solid rgba(28, 24, 20, .08); }
.link-list a:hover { color: #7a5b32; }
.link-list time { color: #8a7f72; font-size: 13px; }
.link-list p { grid-column: 1 / -1; margin: 0; color: #5c5348; }
.roomy { margin-top: 8px; }
.empty { color: #8a7f72; }
.day-nav, .pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.day-nav a, .pager a, .signals a {
    border: 1px solid rgba(28, 24, 20, .16);
    border-radius: 999px;
    padding: 4px 12px;
    color: var(--ink);
}
.day-nav a.on, .signals a:hover, .day-nav a:hover, .pager a:hover { background: #1c1814; color: var(--paper); }
.faq details { border-top: 1px solid rgba(28, 24, 20, .08); padding: 8px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p, .prose p, .about p { color: #3f3832; }
.scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin: 18px 0; padding: 18px 0; border-top: 1px solid rgba(28, 24, 20, .08); border-bottom: 1px solid rgba(28, 24, 20, .08); }
.scoreboard .crest { width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 50%; display: block; }
.scoreboard b { display: block; font-size: 22px; }
.scoreboard small { color: #8a7f72; }
.score-mid { text-align: center; }
.score-mid strong { display: block; font-family: "Songti SC", "Noto Serif SC", serif; font-size: 40px; font-weight: 500; letter-spacing: .06em; }
.score-mid em { font-style: normal; letter-spacing: .12em; }
.score-mid time { display: block; color: #8a7f72; font-size: 13px; }
.signals { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.signal-list { margin: 12px 0; padding-left: 18px; }
.signal-list a { color: #7a5b32; border-bottom: 1px solid rgba(122, 91, 50, .35); }
.foot { padding: 10px 0 36px; text-align: center; color: #b5a794; font-size: 13px; }
.foot a:hover { color: #fff; }
.foot-name { letter-spacing: .18em; }
.dot { margin: 0 6px; color: #6d6256; }
@media (prefers-reduced-motion: no-preference) {
    .js .hero-title, .js .hero-lead, .js .topic-card, .js .fix { opacity: 0; }
    .js .hero-title, .js .hero-lead, .js .topic-card { transform: translateY(18px); }
    .js .hero-line { transform: scaleX(0); transform-origin: left center; }
}
@media (max-width: 900px) {
    .topics { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
    .top { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
    .fix { grid-template-columns: 52px 1fr auto; }
    .fix-league { display: none; }
    .fix-teams { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .fix-teams i { grid-row: 1; grid-column: 1; color: #6d6256; font-size: 13px; }
    .fix-teams b:last-child { flex-direction: row; text-align: left; }
    .scoreboard { grid-template-columns: 1fr; text-align: center; }
    .hero { padding-top: 12px; }
}
