/* 首页视觉样式来自选定 v3 设计稿；内页扩展在文件末尾。 */

/* ============================================================
   0. Token（契约 4.9 命名；色值见 视觉规范 2.2）
   ============================================================ */
:root {
  color-scheme: dark;
  --c-bg: #0A0E13;          /* L0 页面底 */
  --c-surface: #111820;     /* L1 卡片 / 比赛行 / 侧栏容器 */
  --c-surface-2: #19222C;   /* L2 hover 行、芯片底、ghost 按钮、输入框 */
  --c-surface-3: #212C38;   /* L3 选中 Tab、搜索面板 */
  --c-footer: #070A0E;
  --c-border: #26313D;
  --c-border-strong: #334050;
  --c-text: #F1F4F7;
  --c-text-2: #A8B3BF;
  --c-text-3: #8C98A6;
  --c-link: #F1F4F7;
  --c-brand: #C9F53F;
  --c-brand-hover: #D9FF5C;
  --c-brand-active: #B5E02F;
  --c-on-brand: #0A0E13;
  --c-live: #FF4A4A;
  --c-live-text: #FF6B6B;
  --c-live-bg: #2A1518;
  --c-live-wash: #26161A;
  --c-upcoming: #9DB8D6;
  --c-upcoming-bg: #142030;
  --c-ended: #8C98A6;
  --c-ended-bg: #19222C;
  --c-focus: #F1F4F7;
  --c-disabled-text: #6B7784;
  --sh-0: none;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .40);
  --sh-2: 0 2px 8px rgba(0, 0, 0, .45);
  --sh-3: 0 8px 24px rgba(0, 0, 0, .50);
  --glow-brand: 0 2px 8px rgba(201, 245, 63, .35);
  --glow-brand-hover: 0 2px 8px rgba(201, 245, 63, .50);

  --fs-12: 12px; --fs-13: 13px; --fs-14: 14px; --fs-16: 16px; --fs-18: 18px; --fs-22: 22px; --fs-28: 28px;
  --lh-tight: 1.25; --lh-snug: 1.35; --lh-normal: 1.5; --lh-relaxed: 1.7;
  --sp-4: 4px; --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-24: 24px; --sp-32: 32px; --sp-40: 40px; --sp-48: 48px; --sp-64: 64px;
  --r-sm: 4px; --r-md: 8px; --r-full: 999px;
  --container-max: 1200px;
  --header-h: 56px; --nav-h: 44px; --crumb-h: 36px; --tap: 44px; --btn-h: 44px; --badge-h: 22px;
  --z-header: 100; --z-panel: 150; --z-overlay: 200; --z-toast: 300;
  --t-fast: 120ms; --t-base: 200ms;
}
@media (min-width: 1024px) {
  :root { --header-h: 64px; --btn-h: 40px; }
}

/* ============================================================
   1. 基线
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--c-bg); }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font: 14px/1.5 -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-tap-highlight-color: rgba(201, 245, 63, .20);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c-link); }
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.main-nav a:focus-visible { outline-offset: -2px; }
.skip-link {
  position: absolute; left: var(--sp-16); top: -100%; z-index: var(--z-toast);
  display: inline-flex; align-items: center; min-height: var(--tap); padding: var(--sp-8) var(--sp-12);
  background: var(--c-surface-3); color: var(--c-text); border: 1px solid var(--c-brand); border-radius: var(--r-sm); text-decoration: none;
}
.skip-link:focus { top: var(--sp-8); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--sp-16); }
@media (min-width: 600px) { .container { padding: 0 var(--sp-24); } }

/* 文字链接 hover：统一荧光绿下划线，不变色 */
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover, .module__more:hover, .news-item a:hover h3,
  .video-card__link:hover .video-card__title, .clip-card__link:hover .clip-card__title,
  .breadcrumb a:hover, .site-footer a:hover {
    color: var(--c-text); text-decoration: underline; text-decoration-color: var(--c-brand);
    text-decoration-thickness: 2px; text-underline-offset: 4px;
  }
}

/* ============================================================
   2. 顶栏
   ============================================================ */
.site-header {
  background: var(--c-bg) radial-gradient(640px 160px at 50% 0, rgba(201, 245, 63, .07), transparent 70%) no-repeat;
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "logo toggle" "nav nav" "search search";
}
.logo { grid-area: logo; font-size: var(--fs-22); line-height: 1.3; font-weight: 700; }
.logo a { display: inline-flex; align-items: center; gap: var(--sp-8); min-height: var(--header-h); color: var(--c-text); text-decoration: none; }
.logo__mark { width: 20px; height: 20px; flex: none; }

.main-nav { grid-area: nav; position: relative; height: var(--nav-h); }
.main-nav ul { display: flex; height: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav ul::after { content: ""; flex: none; width: var(--sp-24); }
.main-nav::after { content: ""; position: absolute; top: 0; right: 0; width: var(--sp-24); height: 100%; pointer-events: none; background: linear-gradient(90deg, rgba(10, 14, 19, 0), var(--c-bg)); }
.main-nav a { position: relative; display: flex; align-items: center; height: var(--nav-h); padding: 0 var(--sp-12); font-size: var(--fs-14); color: var(--c-text-2); white-space: nowrap; text-decoration: none; }
.main-nav li:first-child a { padding-left: 0; }
.main-nav a[aria-current="page"] { color: var(--c-text); font-weight: 700; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: var(--sp-12); right: var(--sp-12); bottom: 0; height: 2px; background: var(--c-brand); }
.main-nav li:first-child a[aria-current="page"]::after { left: 0; }

.search-toggle { grid-area: toggle; width: var(--tap); height: var(--tap); display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: var(--r-sm); color: var(--c-text-2); cursor: pointer; }
.search-toggle svg { width: 20px; height: 20px; }
.search-toggle[aria-expanded="true"] { color: var(--c-brand); background: var(--c-surface-2); }
html:not(.js) .search-toggle { display: none; }

.search { grid-area: search; display: flex; gap: var(--sp-8); padding: var(--sp-8) 0 var(--sp-12); }
.js .search:not(.is-open) { display: none; }
.js .search.is-open { animation: hq-drop var(--t-base) ease-out; }
.search input {
  flex: 1; min-width: 0; height: var(--tap); padding: 0 var(--sp-12);
  background: var(--c-surface-2); color: var(--c-text);
  border: 1px solid var(--c-border-strong); border-radius: var(--r-sm);
  font: inherit; font-size: var(--fs-16); -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--c-text-3); }
.search input:focus { border-color: var(--c-brand); outline-offset: 0; }
.search input::-webkit-search-decoration, .search input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* 平板起顶栏单行（辅助断点，契约 2.1 允许） */
@media (min-width: 768px) {
  .site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo nav toggle" "search search search"; column-gap: var(--sp-24); }
  .main-nav { height: var(--header-h); }
  .main-nav ul { overflow: visible; }
  .main-nav ul::after, .main-nav::after { display: none; }
  .main-nav a { height: var(--header-h); }
  .main-nav li:first-child a { padding-left: var(--sp-12); }
  .main-nav li:first-child a[aria-current="page"]::after { left: var(--sp-12); }
}
@media (min-width: 1024px) {
  .site-header { position: sticky; top: 0; z-index: var(--z-header); box-shadow: var(--sh-2); }
  .site-header__inner { height: var(--header-h); grid-template-areas: "logo nav search"; }
  .main-nav ul { gap: var(--sp-4); }
  .main-nav a { font-size: var(--fs-16); }
  .search-toggle { display: none; }
  .search, .js .search, .js .search:not(.is-open) { display: flex; width: 280px; padding: 0; animation: none; }
  .search input { height: 40px; }
  .search .btn { height: 40px; min-width: 0; padding: 0 var(--sp-16); }
}

/* ============================================================
   3. 面包屑
   ============================================================ */
.breadcrumb { display: flex; align-items: center; height: var(--crumb-h); font-size: var(--fs-13); color: var(--c-text-3); }
.breadcrumb ol { display: flex; align-items: center; gap: var(--sp-8); }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: "›"; margin-right: var(--sp-8); color: var(--c-text-3); }
/* 热区 44：盒子 44 高、左右各 12 内边距，再用负外边距收回，视觉仍是 36 高、左对齐 */
.breadcrumb a { display: inline-flex; align-items: center; min-width: var(--tap); min-height: var(--tap); margin: calc(-1 * var(--sp-4)) 0 calc(-1 * var(--sp-4)) calc(-1 * var(--sp-12)); padding: 0 var(--sp-12); color: var(--c-text-2); text-decoration: none; }
.breadcrumb li:last-child a { color: var(--c-text-3); }

/* ============================================================
   4. 页面栅格 / 模块标题 / 日期 Tab
   ============================================================ */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--sp-32); }
.page-grid > * { min-width: 0; }
.side { display: grid; row-gap: var(--sp-32); }
.side > * { min-width: 0; }
@media (min-width: 1024px) {
  .page-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-24); row-gap: var(--sp-40);
    grid-template-areas:
      "live  live  live  live  live  live  live  live  side side side side"
      "video video video video video video video video side side side side"
      "news  news  news  news  news  news  news  news  side side side side";
  }
  #live  { grid-area: live; }
  #video { grid-area: video; }
  #news  { grid-area: news; }
  #side  { grid-area: side; align-self: start; }
  .side .module { padding: var(--sp-16); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); }
  .side .module__head { min-height: 44px; margin-bottom: var(--sp-12); }
  .side .module__title { font-size: var(--fs-18); line-height: 1.4; }
}

.module__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-12); min-height: 44px; margin-bottom: var(--sp-12); }
.module__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--sp-8); font-size: var(--fs-22); line-height: 1.3; font-weight: 700; }
.module__count { display: inline-flex; align-items: center; gap: var(--sp-4); font-size: var(--fs-13); line-height: 1.5; font-weight: 400; color: var(--c-text-3); }
.live-dot { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--c-live); animation: hq-pulse 1.4s ease-in-out infinite; }
.module__more { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--sp-4); font-size: var(--fs-13); color: var(--c-text-2); text-decoration: none; white-space: nowrap; }
.module__more::after { content: "›"; margin-left: var(--sp-4); }
@media (min-width: 1024px) {
  .module__head { min-height: 56px; margin-bottom: var(--sp-16); }
  .module__title { font-size: var(--fs-28); line-height: 1.25; }
  .module__more { min-height: 32px; }
}

.date-tabs { display: flex; gap: var(--sp-4); margin-bottom: var(--sp-12); }
.date-tab {
  flex: 1; min-width: 96px; height: var(--tap); padding: 0 var(--sp-12);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-8);
  border: 1px solid var(--c-border); border-radius: var(--r-sm); background: var(--c-surface); color: var(--c-text-2);
  font: inherit; font-size: var(--fs-14); white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fast) ease-out, border-color var(--t-fast) ease-out, color var(--t-fast) ease-out;
}
.date-tab__count { font-size: var(--fs-12); color: var(--c-text-3); }
.date-tab[aria-selected="true"] { background: var(--c-surface-3); color: var(--c-text); font-weight: 700; border-color: var(--c-border-strong); box-shadow: inset 0 -2px 0 var(--c-brand); }
.date-tab[aria-selected="true"] .date-tab__count { color: var(--c-text-2); }
.date-tab:active { background: var(--c-surface-2); }
@media (hover: hover) and (pointer: fine) { .date-tab:hover { color: var(--c-text); border-color: var(--c-border-strong); } }
@media (min-width: 1024px) { .date-tab { flex: 0 0 auto; height: 40px; } }
[role="tabpanel"]:not([hidden]) { animation: hq-fade var(--t-fast) ease-out; }
/* 无 JS：两张表都显示，各带标题；Tab 隐藏 */
.panel-title { margin: 0 0 var(--sp-8); font-size: var(--fs-14); font-weight: 700; color: var(--c-text-2); }
.js .panel-title { display: none; }
html:not(.js) .date-tabs { display: none; }
html:not(.js) [role="tabpanel"][hidden] { display: block; margin-top: var(--sp-24); }

/* ============================================================
   5. 比赛行（卡片行）
   ============================================================ */
.match-list { display: grid; gap: var(--sp-8); }
.match-row {
  position: relative; display: grid; align-items: center;
  min-height: 56px; padding: var(--sp-4) var(--sp-12) var(--sp-4) var(--sp-16);
  column-gap: var(--sp-8); row-gap: var(--sp-4);
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  grid-template-areas: "time league status btn" "teams teams teams btn";
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md);
  transition: background-color var(--t-fast) ease-out, border-color var(--t-fast) ease-out;
}
.match-row > * { min-width: 0; }
.match-row::before { content: ""; position: absolute; left: 0; top: var(--sp-8); bottom: var(--sp-8); width: 4px; border-radius: 0 var(--r-sm) var(--r-sm) 0; background: transparent; }
.match-row__time { grid-area: time; font-size: var(--fs-14); font-weight: 700; white-space: nowrap; }
.match-row__league { grid-area: league; font-size: var(--fs-13); color: var(--c-text-2); white-space: nowrap; }
.match-row__status { grid-area: status; display: flex; align-items: center; gap: var(--sp-8); }
.match-row__signals { font-size: var(--fs-12); color: var(--c-text-3); white-space: nowrap; }
.match-row__teams { grid-area: teams; display: flex; align-items: center; gap: var(--sp-8); font-size: var(--fs-14); font-weight: 700; }
.team { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-row__center { display: inline-flex; align-items: baseline; gap: var(--sp-4); flex: none; }
.match-row__score { font-variant-numeric: tabular-nums; }
.match-row__period { font-size: var(--fs-12); font-weight: 400; color: var(--c-text-3); }
.match-row .btn { grid-area: btn; align-self: center; }

@media (min-width: 768px) {
  .match-row { min-height: 56px; padding: 0 var(--sp-12) 0 var(--sp-16); grid-template-columns: 64px 72px minmax(0, 1fr) 88px 112px; grid-template-areas: "time league teams status btn"; }
  .match-row__status { flex-direction: column; align-items: flex-start; gap: 0; }
  .match-row__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: var(--sp-8); }
  .team--home { text-align: right; }
  .team--away { text-align: left; }
  .match-row__center { flex-direction: column; align-items: center; gap: 0; min-width: 64px; text-align: center; }
  .match-row .btn { width: 100%; }
}
@media (min-width: 1024px) { .match-row__teams { font-size: var(--fs-16); } }

/* 三态 */
.match-row[data-status="live"] { background: linear-gradient(90deg, var(--c-live-wash) 0%, var(--c-surface) 45%); border-color: rgba(255, 74, 74, .35); }
.match-row[data-status="live"]::before { background: var(--c-live); animation: hq-pulse 1.4s ease-in-out infinite; }
.match-row[data-status="live"] .match-row__time,
.match-row[data-status="live"] .match-row__period { color: var(--c-live-text); }
.match-row[data-status="ended"] { background: var(--c-bg); }
.match-row[data-status="ended"] .match-row__time,
.match-row[data-status="ended"] .team,
.match-row[data-status="ended"] .match-row__score { color: var(--c-text-2); }
.match-row[data-status="ended"] .match-row__league { color: var(--c-text-3); }
@media (hover: hover) and (pointer: fine) {
  .match-row:hover { background-color: var(--c-surface-2); border-color: var(--c-border-strong); }
  .match-row[data-status="live"]:hover { background: linear-gradient(90deg, #2E1A1E 0%, var(--c-surface-2) 45%); border-color: rgba(255, 74, 74, .55); }
  .match-row[data-status="ended"]:hover { background: var(--c-surface); }
}

/* 状态标签 */
.badge { display: inline-flex; align-items: center; gap: var(--sp-4); height: var(--badge-h); padding: 0 var(--sp-8); border-radius: var(--r-sm); font-size: var(--fs-12); line-height: 1.5; font-weight: 700; white-space: nowrap; }
.badge--live { background: var(--c-live-bg); color: var(--c-live-text); }
.badge--live::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-full); background: var(--c-live); animation: hq-pulse 1.4s ease-in-out infinite, hq-ring 1.4s ease-out infinite; }
.badge--upcoming { background: var(--c-upcoming-bg); color: var(--c-upcoming); }
.badge--ended { background: var(--c-ended-bg); color: var(--c-ended); }

/* ============================================================
   6. 按钮
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-4);
  min-width: 88px; height: var(--btn-h); padding: 0 var(--sp-16);
  border: 1px solid transparent; border-radius: var(--r-sm);
  font: inherit; font-size: var(--fs-14); font-weight: 700; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color var(--t-fast) ease-out, border-color var(--t-fast) ease-out, color var(--t-fast) ease-out, box-shadow var(--t-base) ease-out, transform var(--t-fast) ease-out;
}
.btn__icon { width: 12px; height: 12px; flex: none; fill: currentColor; }
.btn--primary { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); box-shadow: var(--glow-brand); }
.btn--primary:active { background: var(--c-brand-active); border-color: var(--c-brand-active); box-shadow: none; transform: scale(.98); }
.btn--secondary { background: transparent; border-color: var(--c-border-strong); color: var(--c-text); }
.btn--secondary:active { background: var(--c-surface-2); transform: scale(.98); }
.btn--ghost { background: var(--c-surface-2); border-color: transparent; color: var(--c-text-2); }
.btn--ghost:active { background: var(--c-surface-3); transform: scale(.98); }
.btn--disabled, .btn[aria-disabled="true"] { background: var(--c-surface-2); border-color: transparent; color: var(--c-disabled-text); box-shadow: none; cursor: not-allowed; transform: none; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--c-brand-hover); border-color: var(--c-brand-hover); box-shadow: var(--glow-brand-hover); }
  .btn--secondary:hover { border-color: var(--c-brand); color: var(--c-brand); }
  .btn--ghost:hover { background: var(--c-surface-3); color: var(--c-text); }
}

/* ============================================================
   7. 卡片与封面
   ============================================================ */
.card-grid { display: grid; gap: var(--sp-12); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-card, .clip-card { min-width: 0; }
.video-card__link, .clip-card__link { display: block; color: inherit; text-decoration: none; border-radius: var(--r-md); }
.cover {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-md);
  background: linear-gradient(135deg, #1B2531 0%, #0E1319 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 245, 63, .35);
  transition: box-shadow var(--t-fast) ease-out;
}
.cover::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 85% -10%, rgba(201, 245, 63, .16), transparent 70%); }
.cover__art { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #F1F4F7; stroke-width: 1; fill: none; opacity: .18; transition: transform var(--t-base) ease-out; }
.cover__mono { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: var(--sp-8); font-size: var(--fs-28); line-height: 1.25; font-weight: 700; color: var(--c-text); transition: transform var(--t-base) ease-out; }
.cover__mono i { font-style: normal; color: var(--c-brand); font-weight: 400; }
.cover__league { position: absolute; left: var(--sp-8); top: var(--sp-8); font-size: var(--fs-12); line-height: 1.5; font-weight: 700; color: var(--c-text-2); }
.cover__play { position: absolute; left: var(--sp-8); bottom: var(--sp-8); display: inline-flex; align-items: center; gap: var(--sp-4); height: 24px; padding: 0 var(--sp-8); border: 1px solid rgba(201, 245, 63, .60); border-radius: var(--r-sm); background: rgba(10, 14, 19, .80); color: var(--c-brand); font-size: var(--fs-12); font-weight: 700; transition: background-color var(--t-fast) ease-out, border-color var(--t-fast) ease-out; }
.cover__duration { position: absolute; right: var(--sp-8); bottom: var(--sp-8); height: 24px; padding: 0 var(--sp-4); display: inline-flex; align-items: center; border-radius: var(--r-sm); background: rgba(10, 14, 19, .80); color: var(--c-text); font-size: var(--fs-12); font-variant-numeric: tabular-nums; }
.video-card__title, .clip-card__title { margin: var(--sp-8) 0 var(--sp-4); font-size: var(--fs-14); line-height: 1.5; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.clip-card__title { min-height: 3em; } /* 集锦标题常为 2 行，预留 2 行高让同排卡片的元信息对齐 */
.video-card__meta, .clip-card__meta { display: flex; flex-wrap: wrap; gap: var(--sp-8); font-size: var(--fs-13); color: var(--c-text-3); }
.clip-card__meta .clip-card__dur { display: none; }
@media (hover: hover) and (pointer: fine) {
  .video-card__link:hover .cover, .clip-card__link:hover .cover { box-shadow: inset 0 0 0 1px var(--c-brand); }
  .video-card__link:hover .cover__art, .video-card__link:hover .cover__mono,
  .clip-card__link:hover .cover__art, .clip-card__link:hover .cover__mono { transform: scale(1.03); }
  .video-card__link:hover .cover__play, .clip-card__link:hover .cover__play { background: rgba(10, 14, 19, .92); border-color: var(--c-brand); }
}
@media (min-width: 600px) { .card-grid { gap: var(--sp-16); grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .card-grid { gap: var(--sp-24); }
  .video-card__title { font-size: var(--fs-16); }
  /* 侧栏集锦：单列横条 120×68 + 标题 + 元信息 */
  .side .card-grid--clips { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .clip-card__link { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: var(--sp-12); align-items: center; min-height: 68px; padding: var(--sp-4); transition: background-color var(--t-fast) ease-out; }
  .clip-card .cover { width: 120px; border-radius: var(--r-sm); }
  .clip-card .cover__mono { font-size: var(--fs-18); line-height: 1.4; }
  .clip-card .cover__league, .clip-card .cover__duration { display: none; }
  .clip-card .cover__play { left: var(--sp-4); bottom: var(--sp-4); height: 20px; padding: 0 var(--sp-4); }
  .clip-card__title { margin: 0 0 var(--sp-4); min-height: 0; }
  .clip-card__meta .clip-card__dur { display: inline; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) { .clip-card__link:hover { background: var(--c-surface-2); } }

/* ============================================================
   8. 资讯
   ============================================================ */
.news-list { border-top: 1px solid var(--c-border); }
.news-item { border-bottom: 1px solid var(--c-border); }
.news-item a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "cat title date" "cat summary date"; column-gap: var(--sp-12); row-gap: var(--sp-4); align-items: start; min-height: var(--tap); padding: var(--sp-12) 0; color: inherit; text-decoration: none; }
.news-item__cat { grid-area: cat; display: inline-flex; align-items: center; height: var(--badge-h); padding: 0 var(--sp-8); border: 1px solid var(--c-border-strong); border-radius: var(--r-sm); font-size: var(--fs-12); line-height: 1.5; font-weight: 700; color: var(--c-text-2); white-space: nowrap; }
.news-item h3 { grid-area: title; font-size: var(--fs-14); line-height: 1.5; font-weight: 400; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.news-item time { grid-area: date; font-size: var(--fs-13); line-height: 1.5; color: var(--c-text-3); white-space: nowrap; }
.news-item__summary { grid-area: summary; display: none; }
@media (min-width: 600px) { .news-item__summary { display: block; font-size: var(--fs-13); line-height: 1.7; color: var(--c-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
@media (min-width: 1024px) { .news-item h3 { font-size: var(--fs-16); } }

/* ============================================================
   9. 标签芯片：盒子 44 高（热区），视觉芯片 36 高由 ::before 绘制
   ============================================================ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0 var(--sp-8); }
.tag-chip { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: var(--sp-4); height: var(--tap); padding: 0 var(--sp-12); color: var(--c-text-2); font-size: var(--fs-14); text-decoration: none; transition: color var(--t-fast) ease-out; }
.tag-chip::before { content: ""; position: absolute; inset: var(--sp-4) 0; z-index: -1; background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: var(--r-sm); transition: border-color var(--t-fast) ease-out, background-color var(--t-fast) ease-out; }
.tag-chip__count { font-size: var(--fs-12); color: var(--c-text-3); font-variant-numeric: tabular-nums; }
.tag-chip:active::before { background: var(--c-surface-3); }
.tag-chip--league::before { background: transparent; border-color: var(--c-border-strong); }
.tags__sub { margin: var(--sp-12) 0 var(--sp-4); font-size: var(--fs-12); line-height: 1.5; font-weight: 700; color: var(--c-text-3); }
@media (hover: hover) and (pointer: fine) { .tag-chip:hover { color: var(--c-text); } .tag-chip:hover::before { border-color: var(--c-brand); } }
@media (min-width: 1024px) {
  .tag-cloud { gap: var(--sp-8); }
  .tag-chip { height: 32px; }
  .tag-chip::before { inset: 0; }
}

/* ============================================================
   10. 页脚
   ============================================================ */
.site-footer { margin-top: var(--sp-32); padding: var(--sp-32) 0; background: var(--c-footer); border-top: 1px solid var(--c-border); color: var(--c-text-3); }
.site-footer .container { display: grid; row-gap: var(--sp-24); }
.footer-nav ul, .footer-links ul { display: flex; flex-wrap: wrap; gap: 0 var(--sp-8); }
.footer-nav a, .footer-links a { display: inline-flex; align-items: center; min-height: var(--tap); padding: var(--sp-12) var(--sp-4); font-size: var(--fs-14); color: var(--c-text-2); text-decoration: none; }
.footer-links h2 { margin: 0 0 var(--sp-4); font-size: var(--fs-13); line-height: 1.5; font-weight: 700; color: var(--c-text-3); }
.footer-disclaimer { font-size: var(--fs-13); line-height: 1.7; color: var(--c-text-3); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--sp-8); font-size: var(--fs-12); line-height: 1.5; color: var(--c-text-3); }
.footer-legal > * { display: inline-flex; align-items: center; min-height: var(--tap); }
/* 分隔点跟随后一项换行，不会悬在行尾 */
.footer-legal > * + *::before { content: "·"; display: inline-block; margin-right: var(--sp-8); color: var(--c-text-3); }
.footer-legal a { color: var(--c-text-3); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 599px) { .footer-legal { flex-direction: column; align-items: flex-start; gap: 0; } .footer-legal > * + *::before { content: none; } }
@media (min-width: 1024px) {
  .site-footer { margin-top: var(--sp-48); }
  .footer-nav a, .footer-links a, .footer-legal > * { min-height: 32px; padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
}

/* 空状态（静态稿不渲染，保留样式） */
.empty { display: grid; place-items: center; min-height: 120px; border: 1px dashed var(--c-border-strong); border-radius: var(--r-md); font-size: var(--fs-14); color: var(--c-text-3); }

/* ============================================================
   11. 动效
   ============================================================ */
@keyframes hq-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes hq-ring  { 0% { box-shadow: 0 0 0 0 rgba(255, 74, 74, .55); } 100% { box-shadow: 0 0 0 8px rgba(255, 74, 74, 0); } }
@keyframes hq-drop  { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes hq-fade  { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .badge--live::before, .match-row[data-status="live"]::before, .live-dot { animation: none; opacity: 1; }
}

/* 12. 动态主题与内页。沿用 v3 token，不新增颜色。 */
[hidden] { display: none !important; }
.date-tab { text-decoration: none; }
html:not(.js) .date-tabs { display: flex; }
.date-tab { min-height: var(--tap); }
.date-panel + .date-panel { margin-top: var(--sp-24); }
.js .date-panel { margin-top: 0; }
.cover__image { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.empty { padding: var(--sp-24); gap: var(--sp-16); text-align: center; line-height: var(--lh-relaxed); }
.module__title, .module__head, .breadcrumb, .breadcrumb ol, .breadcrumb li { min-width: 0; }
.module__head { flex-wrap: wrap; }
.breadcrumb ol { max-width: 100%; }
.breadcrumb li:first-child { flex: none; overflow: visible; }
.breadcrumb a { white-space: nowrap; }
.breadcrumb li:last-child { overflow: hidden; }
.breadcrumb li + li:last-child { flex: 1 1 auto; }
.breadcrumb li:last-child span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.team { min-width: 0; }
.tag-chip { max-width: 100%; overflow-wrap: anywhere; }
.news-item__cat { max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
.page-grid--inner { grid-template-columns: minmax(0, 1fr); }
.main-column { min-width: 0; }
.listing-head { margin-bottom: var(--sp-24); }
.eyebrow { color: var(--c-text-3); font-size: var(--fs-13); margin-bottom: var(--sp-8); }
.listing-head h1, .article-header h1, .error-page h1 { font-size: var(--fs-22); line-height: var(--lh-snug); overflow-wrap: anywhere; }
.article-header { margin-bottom: var(--sp-24); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--sp-12); color: var(--c-text-3); font-size: var(--fs-13); margin-top: var(--sp-12); }
.article-body { font-size: var(--fs-16); line-height: 1.9; overflow-wrap: anywhere; }
.article-body > * + * { margin-top: var(--sp-16); }
.article-body h2 { font-size: var(--fs-22); line-height: var(--lh-snug); margin-top: var(--sp-32); }
.article-body h3, .article-body h4 { font-size: var(--fs-18); line-height: var(--lh-snug); }
.article-body ul, .article-body ol { padding-left: var(--sp-24); list-style: revert; }
.article-body a { display: inline-flex; align-items: center; min-height: var(--tap); text-decoration-color: var(--c-brand); text-underline-offset: 4px; max-width: 100%; }
.article-body img { display: block; width: auto; max-width: 100%; height: auto; border-radius: var(--r-md); }
.article-body .image-unavailable { display: block; padding: var(--sp-12) var(--sp-16); border: 1px dashed var(--c-border-strong); border-radius: var(--r-sm); color: var(--c-text-3); font-size: var(--fs-13); }
.article-body figure { margin: 0; }
.article-body figcaption { color: var(--c-text-3); font-size: var(--fs-13); }
.article-body blockquote { margin: 0; padding: var(--sp-16); border-left: 4px solid var(--c-border-strong); background: var(--c-surface); color: var(--c-text-2); }
.article-body pre { max-width: 100%; white-space: pre-wrap; padding: var(--sp-16); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); }
.article-body table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; }
.article-body td, .article-body th { padding: var(--sp-8); border: 1px solid var(--c-border); }
.article-tags { margin-top: var(--sp-24); }
.detail-section { margin-top: var(--sp-32); }
.signal-list { display: flex; flex-wrap: wrap; gap: var(--sp-12); }
.signal-list .btn { max-width: 100%; height: auto; min-height: var(--tap); line-height: var(--lh-normal); padding-top: var(--sp-12); padding-bottom: var(--sp-12); overflow-wrap: anywhere; }
.signal-list .btn { white-space: normal; }
.detail-note { margin-top: var(--sp-12); color: var(--c-text-3); font-size: var(--fs-13); }
.player-preview { display: block; margin-bottom: var(--sp-24); text-decoration: none; }
.player-preview .cover { aspect-ratio: 16 / 9; }
.player-preview .cover__mono { font-size: var(--fs-28); }
.player-preview .cover__play { min-height: var(--tap); height: auto; left: 50%; bottom: 50%; transform: translate(-50%, 50%); padding: var(--sp-12) var(--sp-16); white-space: nowrap; }
.match-detail { padding: var(--sp-24) var(--sp-16); border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); }
.match-detail__top { display: flex; align-items: center; justify-content: center; gap: var(--sp-12); color: var(--c-text-2); }
.match-detail__teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: var(--sp-12); margin: var(--sp-24) 0; text-align: center; font-size: var(--fs-18); overflow-wrap: anywhere; }
.match-detail__score { color: var(--c-text-2); font-size: var(--fs-16); }
.match-detail__time { text-align: center; color: var(--c-text-3); font-size: var(--fs-13); }
.pagination { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin-top: var(--sp-24); }
.pagination a { display: inline-flex; justify-content: center; align-items: center; min-width: var(--tap); min-height: var(--tap); padding: 0 var(--sp-12); border: 1px solid var(--c-border); border-radius: var(--r-sm); text-decoration: none; color: var(--c-text-2); }
.pagination [aria-current="page"] { border-color: var(--c-brand); color: var(--c-text); background: var(--c-surface-3); }
.search--results, .js .search--results:not(.is-open) { display: flex; width: 100%; margin-bottom: var(--sp-24); padding: 0; }
.error-page { padding: var(--sp-48) var(--sp-16); display: grid; justify-items: center; gap: var(--sp-24); text-align: center; }
.error-page > p { color: var(--c-text-3); max-width: 480px; }
.error-page .error-page__code { font-size: var(--fs-28); color: var(--c-text-2); font-weight: 700; }
/* 所有交互入口保留至少 44px，覆盖原静态稿桌面端较紧凑的热区。 */
.btn, .tag-chip, .module__more, .footer-nav a, .footer-links a, .footer-legal a, .search input, .search .btn { min-height: var(--tap); }
.tag-chip, .module__more, .footer-nav a, .footer-links a, .footer-legal a, .article-body a { min-width: var(--tap); }
.tag-chip { height: auto; }
@media (min-width: 768px) and (max-width: 1023px) {
  .site-header__inner { grid-template-columns: auto minmax(0,1fr) auto; column-gap: var(--sp-12); }
  .main-nav ul { overflow-x: auto; }
}
@media (min-width: 1024px) {
  .page-grid--inner { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-areas: "content content content content content content content content side side side side"; }
  .main-column { grid-area: content; }
  .listing-head h1, .article-header h1, .error-page h1 { font-size: var(--fs-28); }
  .article-body { line-height: 1.9; }
  .date-tabs { max-width: 100%; }
  .main-column .clip-card__link { display: block; padding: 0; }
  .main-column .clip-card .cover { width: 100%; border-radius: var(--r-md); }
  .main-column .clip-card .cover__mono { font-size: var(--fs-28); }
  .main-column .clip-card__title { margin: var(--sp-8) 0 var(--sp-4); min-height: 3em; }
}
@media (max-width: 599px) {
  .date-tab { min-width: 0; flex: 1; padding-left: var(--sp-8); padding-right: var(--sp-8); }
  .date-tab__count { font-size: var(--fs-12); }
  .view-catalog .date-tabs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .article--live .match-row__teams { min-width: 0; }
  .signal-list .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
