:root {
  --bg: #fbf6f3;
  --paper: rgba(255, 252, 250, 0.86);
  --ink: #4d3b3e;
  --muted: #8d7478;
  --rose: #c57b86;
  --rose-deep: #a35d6a;
  --sage: #7f9a90;
  --line: rgba(197, 123, 134, 0.18);
  --shadow: 0 16px 40px rgba(166, 112, 120, 0.12);
  --side: 228px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 10% -10%, #f8e4e2 0%, transparent 60%),
    radial-gradient(700px 380px at 100% 0%, #e7f0ea 0%, transparent 55%),
    var(--bg);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.shell { display: flex; min-height: 100vh; }
.side {
  width: var(--side);
  flex: 0 0 var(--side);
  padding: 22px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  background: rgba(255, 250, 248, 0.72);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: "Songti SC", "Noto Serif SC", serif; font-size: 22px; letter-spacing: 0.04em; }
.brand img { width: 42px; height: 42px; }
.nav, .leagues { display: flex; flex-direction: column; gap: 6px; margin-top: 22px; }
.nav a, .leagues a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 14px; color: var(--ink);
}
.nav a img, .leagues a img { width: 22px; height: 22px; object-fit: contain; }
.nav a.on, .leagues a.on, .nav a:hover, .leagues a:hover { background: #fff; box-shadow: var(--shadow); color: var(--rose-deep); }
.side-label { margin: 26px 12px 0; font-size: 12px; letter-spacing: 0.18em; color: var(--muted); }
.main { flex: 1; min-width: 0; padding: 18px 28px 40px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.topbar-title { font-family: "Songti SC", serif; font-size: 18px; color: var(--rose-deep); }
.clock { display: flex; align-items: center; gap: 8px; color: var(--muted); font-variant-numeric: tabular-nums; }
.clock img { width: 18px; height: 18px; }
.hero {
  display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 18px;
  padding: 28px; border-radius: 28px; background: var(--paper);
  box-shadow: var(--shadow); border: 1px solid #fff;
}
.hero h1 { margin: 0 0 10px; font-family: "Songti SC", serif; font-weight: 500; font-size: 36px; line-height: 1.25; }
.hero p { margin: 0; color: var(--muted); line-height: 1.8; }
.hero-card {
  border-radius: 22px; padding: 18px;
  background: linear-gradient(160deg, #f8e7e6, #eef5f1);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 160px;
}
.hero-card b { font-family: "Songti SC", serif; font-size: 22px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.chips a {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 7px 12px 7px 7px;
  box-shadow: var(--shadow);
}
.chips img { width: 28px; height: 28px; object-fit: contain; }
.panel {
  background: var(--paper); border-radius: 26px; padding: 18px 18px 8px;
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.8); margin-bottom: 18px;
}
.panel h2, .page-head h1 { font-family: "Songti SC", serif; font-weight: 500; margin: 4px 8px 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; }
.more { color: var(--rose-deep); font-size: 14px; margin-right: 8px; }
.match-list { display: flex; flex-direction: column; gap: 8px; }
.match {
  display: grid; grid-template-columns: 168px 72px 1fr 72px; gap: 8px;
  align-items: center; padding: 12px 14px; border-radius: 18px; background: #fff;
}
.when, .league-name, .state { color: var(--muted); font-size: 13px; }
.league-name { color: var(--rose-deep); }
.teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.team.away { flex-direction: row-reverse; text-align: right; }
.team img { width: 28px; height: 28px; object-fit: contain; }
.vs { font-variant-numeric: tabular-nums; color: var(--rose-deep); font-weight: 600; }
.state { text-align: right; }
.state.live { color: #c45b4a; }
.state.end { color: var(--sage); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.news-grid, .video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card {
  display: block; background: #fff; border-radius: 18px; overflow: hidden; margin-bottom: 12px;
}
.card .cover { height: 140px; background: #f3e6e4 center/cover no-repeat; }
.card .txt { padding: 12px 14px 14px; }
.card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.card p { margin: 0; color: var(--muted); font-size: 13px; }
.faq details { background: #fff; border-radius: 16px; padding: 12px 16px; margin: 0 0 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); line-height: 1.8; }
.about { line-height: 1.9; color: #5c4a4d; }
.about h3 { font-family: "Songti SC", serif; font-weight: 500; }
.page-head { margin: 6px 0 16px; }
.page-head p { color: var(--muted); margin: 0; }
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.crumb a { color: var(--rose-deep); }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 16px; }
.pager a { background: #fff; border-radius: 999px; padding: 8px 14px; box-shadow: var(--shadow); }
.empty { color: var(--muted); padding: 12px; }
.detail {
  background: var(--paper); border-radius: 28px; padding: 22px; box-shadow: var(--shadow);
}
.scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; text-align: center; padding: 12px 0 18px; }
.scoreboard img { width: 72px; height: 72px; object-fit: contain; }
.scoreboard strong { display: block; margin-top: 8px; font-size: 20px; }
.big { font-family: "Songti SC", serif; font-size: 32px; color: var(--rose-deep); }
.lines { display: flex; gap: 10px; flex-wrap: wrap; }
.lines a { background: var(--rose); color: #fff; border-radius: 999px; padding: 10px 16px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 13px; margin: 8px 0 16px; }
.article { background: #fff; border-radius: 22px; padding: 18px 20px; line-height: 1.9; }
.article img { border-radius: 12px; }
.turn { display: flex; align-items: stretch; gap: 12px; margin-top: 16px; }
.turn > div { flex: 1 1 0; min-width: 0; }
.turn a { display: block; background: #fff; border-radius: 16px; padding: 12px 14px; line-height: 1.75; word-break: break-word; }
.turn a:hover { color: var(--rose-deep); }
.foot { color: var(--muted); font-size: 13px; line-height: 1.8; padding: 8px 8px 0; }
.friends a { margin-right: 12px; color: var(--rose-deep); }
@media (max-width: 980px) {
  .shell { display: block; }
  .side { position: sticky; top: 0; height: auto; width: auto; z-index: 5; display: flex; gap: 12px; align-items: center; overflow: auto; }
  .nav, .leagues { flex-direction: row; margin-top: 0; }
  .side-label, .brand span { display: none; }
  .nav a, .leagues a { white-space: nowrap; }
  .hero, .split, .news-grid, .video-grid, .match { grid-template-columns: 1fr; }
  .main { padding: 14px; }
  .team.away { flex-direction: row; text-align: left; }
}
