:root {
    --ink: #14202b;
    --ink-deep: #0c1620;
    --paper: #f4f0e6;
    --card: #fffdf8;
    --line: rgba(20, 32, 43, 0.1);
    --gold: #9a7430;
    --gold-soft: #f3e7cf;
    --green: #0f6e56;
    --live: #c4473a;
    --muted: #5d6b78;
    --shadow: 0 16px 40px rgba(20, 32, 43, 0.08);
    --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(154, 116, 48, 0.08), transparent 28%),
        var(--paper);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(244, 240, 230, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.08em; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); }
.nav a:hover { background: #fff; color: var(--ink); }
.hero {
    position: relative;
    overflow: hidden;
    color: #f7f1e4;
    background:
        linear-gradient(120deg, rgba(255,255,255,0.04), transparent 30%),
        var(--ink-deep);
    padding: 88px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 36px; align-items: end; position: relative; z-index: 1; }
.hero-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; letter-spacing: 0.18em; color: #e8d5a3; font-size: 13px; }
.hero-title { margin: 0; font-size: clamp(48px, 7vw, 84px); line-height: 1; letter-spacing: 0.06em; font-weight: 700; }
.hero-desc { max-width: 38em; color: rgba(247, 241, 228, 0.78); font-size: 17px; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; }
.btn.solid { background: #f3e7cf; color: var(--ink-deep); }
.btn.ghost { border-color: rgba(243, 231, 207, 0.4); color: #f3e7cf; }
.hero-stats { display: grid; gap: 12px; }
.hero-stat { padding: 16px 18px; border: 1px solid rgba(243, 231, 207, 0.2); border-radius: 18px; background: rgba(255,255,255,0.03); }
.hero-stat b { display: block; font-size: 32px; line-height: 1.1; }
.hero-stat span { color: rgba(247, 241, 228, 0.66); font-size: 13px; }
.ornament { position: absolute; pointer-events: none; opacity: 0.55; }
.o1 { top: 14px; left: 14px; width: 48px; }
.o2 { right: 18px; bottom: 18px; width: 72px; }
.o3 { right: 12%; top: 28px; width: 22px; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.orb-a { width: 180px; height: 180px; right: -40px; top: -50px; background: radial-gradient(circle, rgba(154,116,48,.45), transparent 68%); }
.orb-b { width: 140px; height: 140px; left: 42%; bottom: -60px; background: radial-gradient(circle, rgba(15,110,86,.4), transparent 70%); }
.section { padding: 56px 0; }
.section-alt { background: rgba(255,255,255,0.45); }
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 18px; }
.section-head h2, .page-hero h1, .article h1 { margin: 0; letter-spacing: 0.04em; }
.section-head p, .page-hero p { margin: 0; color: var(--muted); }
.league-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.league-card, .match-card, .text-card, .about-block, .faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.league-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; min-height: 118px; }
.league-card span, .text-card em, .byline, .crumb { color: var(--muted); font-style: normal; font-size: 13px; }
.league-card strong { font-size: 18px; }
.match-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
a.match-card { display: block; color: inherit; }
.match-card { padding: 16px 16px 14px; }
a.match-card:hover { box-shadow: 0 18px 40px rgba(20, 32, 43, 0.12); }
.match-card.is-live { box-shadow: 0 0 0 1px rgba(196, 71, 58, 0.25), var(--shadow); }
.match-meta, .lines, .teams { display: flex; align-items: center; }
.match-meta { justify-content: space-between; gap: 8px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: var(--gold-soft); color: #6d5220; }
.state.s-live { color: var(--live); }
.teams { justify-content: space-between; gap: 10px; }
.team { display: flex; align-items: center; gap: 8px; width: 38%; min-width: 0; }
.team:last-child { flex-direction: row-reverse; text-align: right; }
.team strong { font-weight: 650; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logo { width: 42px; height: 42px; object-fit: contain; background: #f6f3ec; border-radius: 50%; }
.logo.ph { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.score { display: flex; gap: 6px; font-variant-numeric: tabular-nums; font-size: 22px; }
.lines { gap: 8px; margin-top: 14px; }
.lines a, .lines .enter { flex: 1; text-align: center; padding: 8px 0; border-radius: 999px; background: #f6f3ec; color: var(--green); font-size: 13px; }
.lines a:hover { background: #e7f6f1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.stack { display: grid; gap: 12px; }
.text-card { display: grid; gap: 4px; padding: 16px 18px; }
.text-card strong { font-size: 16px; }
.empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: rgba(255,255,255,.6); }
.about-block { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 28px; align-items: center; }
.about-block h2 { margin-top: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-item { overflow: hidden; }
.faq-item button { width: 100%; text-align: left; background: transparent; border: 0; padding: 16px 18px; display: flex; justify-content: space-between; gap: 12px; cursor: pointer; }
.faq-item i { width: 10px; height: 10px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); margin-top: 4px; }
.faq-item.open i { transform: rotate(225deg); margin-top: 8px; }
.faq-a p { margin: 0; padding: 0 18px 16px; color: var(--muted); }
.page-hero { padding: 42px 0 10px; }
.page-hero h1 { font-size: 40px; }
.article { width: min(820px, calc(100% - 32px)); }
.article h1 { font-size: 32px; line-height: 1.35; }
.cover { width: 100%; border-radius: 18px; margin: 12px 0; }
.content { font-size: 17px; }
.content img { border-radius: 12px; }
.replay-board { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.replay-board div { display: flex; align-items: center; gap: 10px; padding: 14px; background: #fff; border-radius: 18px; border: 1px solid var(--line); }
.replay-board b { margin-left: auto; font-size: 24px; }
.lines-lg a { flex: none; padding: 10px 16px; }
.site-footer { padding: 28px 0 40px; color: var(--muted); }
.footer-inner { display: grid; justify-items: center; text-align: center; gap: 8px; }
.footer-inner p { margin: 0; max-width: 46em; }
.copy { letter-spacing: 0.08em; }
@media (max-width: 900px) {
    .hero-grid, .split, .match-grid, .about-block { grid-template-columns: 1fr; }
    .league-row { grid-template-columns: repeat(3, 1fr); }
    .header-inner { align-items: flex-start; flex-direction: column; padding: 12px 0; }
}
@media (max-width: 640px) {
    .league-row { grid-template-columns: repeat(2, 1fr); }
    .section-head { flex-direction: column; align-items: flex-start; }
    .team strong { font-size: 14px; }
    .hero { padding: 72px 0 48px; }
}
