/* =========================================================
 * 英超直播 · 设计系统
 * ---------------------------------------------------------
 * 视觉方向：深色球场氛围 + 荧光绿主色 + 胶囊化组件
 * 组件原则：
 *  - 导航 / 筛选 / 按钮 / 徽标统一胶囊形（--r-pill）
 *  - 激活态使用浅色半透明底 + 主色文字，避免实心填充
 *  - 信息密度优先，避免大卡片堆叠
 * ========================================================= */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --bg: #0a0a0c;
  --bg-soft: #0d0d10;
  --panel: #141418;
  --panel-2: #1c1c22;
  --panel-3: #24242b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.17);

  --txt: #f6f6f8;
  --txt-2: #a8a8b4;
  --txt-3: #6f6f7c;

  --brand: #fe2c55;
  --brand-strong: #ff5c7c;
  --brand-dim: rgba(254, 44, 85, 0.13);
  --brand-line: rgba(254, 44, 85, 0.42);
  --danger: #fe2c55;
  --danger-dim: rgba(254, 44, 85, 0.13);
  --warn: #ffb020;
  --info: #25f4ee;
  --violet: #b45bff;

  --r-pill: 999px;
  --r-xl: 22px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 9px;

  --shadow: 0 16px 44px rgba(0, 0, 0, 0.6);
  --header-h: 64px;

  --font: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --num: 'DIN Alternate', 'Bahnschrift', 'Inter', sans-serif;

  color-scheme: dark;
}

/* 亮色主题 */
html[data-theme='light'] {
  --bg: #f7f6fa;
  --bg-soft: #f1eff7;
  --panel: #ffffff;
  --panel-2: #f8f4fb;
  --panel-3: #ede8f4;
  --line: rgba(30, 20, 45, 0.09);
  --line-strong: rgba(30, 20, 45, 0.18);

  --txt: #1a1420;
  --txt-2: #5f566e;
  --txt-3: #948aa4;

  --brand: #e11d48;
  --brand-strong: #be123c;
  --brand-dim: rgba(225, 29, 72, 0.09);
  --brand-line: rgba(225, 29, 72, 0.3);
  --info: #0d9488;
  --danger: #e11d48;
  --danger-dim: rgba(225, 29, 72, 0.09);

  --shadow: 0 16px 36px rgba(35, 20, 55, 0.1);
  color-scheme: light;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--txt);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 页面氛围光 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(820px 440px at 4% -10%, rgba(254, 44, 85, 0.14), transparent 60%),
    radial-gradient(820px 440px at 96% -6%, rgba(37, 244, 238, 0.1), transparent 60%);
}
html[data-theme='light'] body::before {
  background:
    radial-gradient(820px 440px at 4% -10%, rgba(225, 29, 72, 0.1), transparent 60%),
    radial-gradient(820px 440px at 96% -6%, rgba(13, 148, 136, 0.08), transparent 60%);
}

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

::selection { background: var(--brand-dim); color: var(--brand-strong); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--panel-3);
  border-radius: var(--r-pill);
  border: 2px solid var(--bg);
}

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ---------- 3. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.stack { display: flex; flex-direction: column; gap: 20px; }

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

.page-main { padding: 22px 0 56px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 8px 16px;
  background: var(--brand);
  color: #04140b;
  border-radius: var(--r-pill);
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- 4. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand) 0%, #00b862 100%);
  box-shadow: 0 4px 16px rgba(0, 229, 125, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #04140b;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand-name em {
  font-style: normal;
  color: var(--brand-strong);
}

.brand-season {
  font-size: 10px;
  font-weight: 700;
  color: var(--txt-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 1px 8px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--panel);
  border: 1px solid var(--line);
  margin-left: 6px;
}

.nav-link {
  position: relative;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--txt-2);
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-link:hover { color: var(--txt); background: var(--panel-2); }

.nav-link.is-active {
  color: var(--brand-strong);
  background: var(--brand-dim);
}

.nav-link .nav-dot {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 2px var(--panel);
}

.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--txt-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.icon-btn:hover { color: var(--brand-strong); border-color: var(--brand-line); background: var(--brand-dim); }

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 6px 0 12px;
  border-radius: var(--r-pill);
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--txt-3);
  cursor: text;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.header-search:focus-within { border-color: var(--brand-line); background: var(--panel-2); }
.header-search input {
  width: 148px;
  border: 0;
  background: transparent;
  color: var(--txt);
  font-size: 13px;
  outline: none;
}
.header-search input::placeholder { color: var(--txt-3); }
.header-search kbd {
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--txt-3);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 1px 6px;
}

.menu-btn { display: none; }

/* 移动端抽屉 */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  padding: 12px 20px 18px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  display: none;
}
.drawer.is-open { display: block; }
.drawer-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  margin-bottom: 10px;
  border-radius: var(--r-pill);
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--txt-3);
}
.drawer-search:focus-within { border-color: var(--brand-line); }
.drawer-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--txt);
  font-size: 13px;
  outline: none;
}
.drawer-search input::placeholder { color: var(--txt-3); }
.drawer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-link {
  padding: 10px 14px;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--txt-2);
}
.drawer-link.is-active { color: var(--brand-strong); background: var(--brand-dim); border-color: var(--brand-line); }

/* 移动端底部胶囊导航 */
.tabbar {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 110;
  width: min(94vw, 460px);
  padding: 6px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 2px 5px;
  border-radius: var(--r-pill);
  color: var(--txt-3);
  font-size: 10.5px;
  font-weight: 600;
  transition: color 0.18s ease, background 0.18s ease;
}
.tab-item svg { width: 19px; height: 19px; }
.tab-item.is-active { color: var(--brand-strong); background: var(--brand-dim); }

/* ---------- 5. 按钮 / 胶囊 / 徽标 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: var(--panel-2);
  color: var(--txt);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.btn:active { transform: scale(0.97); }

.btn--brand {
  background: var(--brand-dim);
  color: var(--brand-strong);
  border-color: var(--brand-line);
}
.btn--brand:hover { background: rgba(0, 229, 125, 0.2); }
html[data-theme='light'] .btn--brand:hover { background: rgba(0, 168, 92, 0.16); }

.btn--solid {
  background: linear-gradient(135deg, var(--brand) 0%, #00c46c 100%);
  color: #04140b;
  box-shadow: 0 6px 18px rgba(0, 229, 125, 0.28);
}
.btn--solid:hover { filter: brightness(1.06); }

.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--txt-2); }
.btn--ghost:hover { color: var(--txt); border-color: var(--txt-3); background: var(--panel-2); }

.btn--live { background: var(--danger-dim); color: var(--danger); border-color: rgba(255, 77, 103, 0.32); }
.btn--live:hover { background: rgba(255, 77, 103, 0.2); }

.btn--sm { height: 30px; padding: 0 12px; font-size: 12px; }
.btn--block { width: 100%; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* 筛选胶囊组 */
.pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--txt-2);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.pill:hover { color: var(--txt); background: var(--panel-2); }
.pill.is-active {
  color: var(--brand-strong);
  background: var(--brand-dim);
  border-color: var(--brand-line);
}

.pill-group {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--r-pill);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.pill-group::-webkit-scrollbar { display: none; }
.pill-group .pill { border-color: transparent; background: transparent; height: 28px; }
.pill-group .pill:hover { background: var(--panel-2); }
.pill-group .pill.is-active { background: var(--brand-dim); color: var(--brand-strong); }

/* 小标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--txt-2);
  background: var(--panel-3);
  border: 1px solid transparent;
  white-space: nowrap;
}
.tag--brand { color: var(--brand-strong); background: var(--brand-dim); }
.tag--live { color: var(--danger); background: var(--danger-dim); }
.tag--info { color: var(--info); background: rgba(77, 163, 255, 0.12); }
.tag--warn { color: var(--warn); background: rgba(255, 176, 32, 0.12); }
.tag--violet { color: var(--violet); background: rgba(157, 123, 255, 0.12); }

/* 直播脉冲点 */
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  position: relative;
  flex-shrink: 0;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--danger);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- 6. 球队徽标 ---------- */
.logo {
  --size: 32px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: calc(var(--size) * 0.3);
  letter-spacing: 0.5px;
  color: var(--txt);
  background: radial-gradient(120% 120% at 30% 20%, var(--c1, #2a3a46) 0%, var(--c2, #16222c) 78%);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.16), 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  user-select: none;
}
.logo::after {
  content: '';
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.logo--xs { --size: 22px; }
.logo--sm { --size: 28px; }
.logo--md { --size: 38px; }
.logo--lg { --size: 56px; }
.logo--xl { --size: 84px; font-size: 22px; }

/* ---------- 7. 比赛行（核心复用组件） ---------- */
.match-list { display: flex; flex-direction: column; gap: 8px; }

.match-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.match-row:hover {
  border-color: var(--brand-line);
  background: var(--panel-2);
}

.mr-time {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.mr-time b {
  font-family: var(--num);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}
.mr-time span { font-size: 11px; color: var(--txt-3); white-space: nowrap; }

.mr-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mr-side {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.mr-side--away { justify-content: flex-end; }

.mr-name {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mr-side--away .mr-name { text-align: right; }

.mr-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 74px;
}

.mr-score {
  font-family: var(--num);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mr-score em { font-style: normal; color: var(--txt-3); margin: 0 5px; font-size: 13px; }

.mr-state {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--txt-3);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mr-state--live { color: var(--danger); }
.mr-state--ft { color: var(--txt-3); }

.mr-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.mr-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--txt-3);
  white-space: nowrap;
}
.mr-views svg { width: 12px; height: 12px; }

.match-row--compact { padding: 10px 12px; grid-template-columns: 74px minmax(0, 1fr) auto; }

.match-date-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 4px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--txt-3);
}
.match-date-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- 8. 区块与卡片 ---------- */
.section { min-width: 0; }

/* 无障碍隐藏文本 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 全局搜索浮层 */
.search-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 330px;
  padding: 6px;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  z-index: 130;
}
.search-pop[hidden] { display: none; }
.sp-group {
  padding: 7px 10px 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--txt-3);
}
.sp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--r-md);
  font-size: 12.5px;
  transition: background 0.15s ease;
}
.sp-item:hover { background: var(--panel-2); }
.sp-item .nm { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-item .sub { margin-left: auto; font-size: 10.5px; color: var(--txt-3); flex-shrink: 0; }
.sp-empty { padding: 20px; text-align: center; font-size: 12px; color: var(--txt-3); }

.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 16px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--brand-strong), var(--brand));
  box-shadow: 0 0 12px rgba(0, 229, 125, 0.5);
}
.section-title .en {
  font-size: 10px;
  font-weight: 700;
  color: var(--txt-3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-more {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--txt-3);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  transition: color 0.18s ease, background 0.18s ease;
}
.section-more:hover { color: var(--brand-strong); background: var(--brand-dim); }
.section-more svg { width: 13px; height: 13px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 18px;
}

.card--flush { padding: 0; overflow: hidden; }

/* ---------- 9. 底部 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 40px 0 28px;
  margin-top: 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--txt-3);
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--txt-2);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 12.5px;
  color: var(--txt-3);
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--brand-strong); }

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11.5px;
  color: var(--txt-3);
  line-height: 1.8;
}
.footer-bottom .row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--txt-2); }
.footer-bottom a:hover { color: var(--brand-strong); }

/* 移动端 / 平板：为底部导航留出空间 */
@media (max-width: 940px) {
  body { padding-bottom: 84px; }
}

/* =========================================================
 * 页面级样式
 * ========================================================= */

/* ---------- 10. 焦点直播 Hero ---------- */
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--brand-line);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(0, 229, 125, 0.1) 0%, transparent 46%),
    radial-gradient(120% 160% at 100% 0%, var(--hero-tint, rgba(157, 123, 255, 0.12)) 0%, transparent 50%),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 80%);
  pointer-events: none;
}
html[data-theme='light'] .hero-card::before {
  background-image:
    linear-gradient(rgba(10, 30, 45, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 30, 45, 0.05) 1px, transparent 1px);
}

.hero-inner {
  position: relative;
  padding: 22px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-countdown {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--txt-2);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.hero-countdown b { color: var(--brand-strong); font-family: var(--num); letter-spacing: 0.5px; }

.hero-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 6px 0 2px;
}

.hero-team {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.hero-team--away { flex-direction: row-reverse; text-align: right; }

.hero-team-name {
  min-width: 0;
}
.hero-team-name b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-team-name span {
  display: block;
  font-size: 11.5px;
  color: var(--txt-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-score {
  font-family: var(--num);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 3px;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.hero-score i {
  font-style: normal;
  font-size: 22px;
  color: var(--txt-3);
  letter-spacing: 0;
}
.hero-score .vs {
  font-size: 26px;
  letter-spacing: 6px;
  color: var(--txt-2);
}

.hero-state {
  font-size: 12px;
  font-weight: 700;
  color: var(--txt-3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hero-state--live { color: var(--danger); }

.hero-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-signals {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--txt-3);
}
.hero-signals .pip {
  width: 16px;
  height: 8px;
  border-radius: 3px;
  background: var(--brand-dim);
  border: 1px solid var(--brand-line);
}

.hero-cta { margin-left: auto; display: flex; gap: 8px; }

/* ---------- 11. 首页侧栏组件 ---------- */
.mini-standings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.mini-team {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: var(--r-md);
  min-width: 0;
  transition: background 0.18s ease;
}
.mini-team:hover { background: var(--panel-2); }
.mini-rank {
  width: 16px;
  font-family: var(--num);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--txt-3);
  text-align: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.mini-rank--ucl { color: var(--brand-strong); }
.mini-team .nm {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.mini-team .pts {
  margin-left: auto;
  font-family: var(--num);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--txt-2);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* 射手榜 */
.scorer-list { display: flex; flex-direction: column; gap: 2px; }
.scorer-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: var(--r-md);
  transition: background 0.18s ease;
}
.scorer-row:hover { background: var(--panel-2); }
.scorer-rank {
  width: 18px;
  font-family: var(--num);
  font-size: 12px;
  font-weight: 800;
  color: var(--txt-3);
  text-align: center;
  flex-shrink: 0;
}
.scorer-row:nth-child(1) .scorer-rank { color: var(--brand-strong); }
.scorer-name { font-size: 12.5px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scorer-team { font-size: 10.5px; color: var(--txt-3); flex-shrink: 0; }
.scorer-goals {
  margin-left: auto;
  font-family: var(--num);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.scorer-goals small { font-size: 10px; color: var(--txt-3); font-weight: 600; margin-left: 2px; }

/* 热门球队胶囊 */
.team-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.team-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 2px 12px 2px 3px;
  border-radius: var(--r-pill);
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--txt-2);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.team-chip:hover { color: var(--brand-strong); border-color: var(--brand-line); background: var(--brand-dim); }

/* ---------- 12. 资讯卡片 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.news-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.news-card:hover { border-color: var(--brand-line); transform: translateY(-2px); background: var(--panel-2); }

.news-cover {
  position: relative;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(135deg, var(--c1, #1a2833) 0%, var(--c2, #0e161d) 100%);
  overflow: hidden;
}
.news-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 22px;
  pointer-events: none;
}
.news-cover .big-tag {
  font-family: var(--num);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.16);
  user-select: none;
}
.news-cover .cover-badges {
  position: absolute;
  left: 10px;
  top: 9px;
  display: flex;
  gap: 5px;
}

.news-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--txt-3);
}

/* ---------- 13. 直播频道页 ---------- */
.page-head {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.page-head h1 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-head .sub { font-size: 12.5px; color: var(--txt-3); padding-bottom: 3px; }

.filter-bar {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.filter-bar .divider { width: 1px; height: 20px; background: var(--line-strong); }
.filter-count { margin-left: auto; font-size: 12px; color: var(--txt-3); white-space: nowrap; }
.filter-count b { color: var(--brand-strong); font-family: var(--num); }

.empty-state {
  padding: 48px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-xl);
  color: var(--txt-3);
}
.empty-state svg { width: 40px; height: 40px; margin-bottom: 10px; opacity: 0.5; }
.empty-state p { font-size: 13px; }
.empty-state .hint { font-size: 11.5px; margin-top: 4px; color: var(--txt-3); opacity: 0.8; }

/* 侧栏赛事入口（两列填充，避免右侧留白） */
.league-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.league-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--r-md);
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--txt-2);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.league-chip .cnt { font-size: 10px; color: var(--txt-3); flex-shrink: 0; }
.league-chip:hover { color: var(--brand-strong); background: var(--brand-dim); border-color: var(--brand-line); }
.league-chip:hover .cnt { color: var(--brand-strong); opacity: 0.75; }

/* ---------- 14. 比赛详情（直播间） ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--txt-3);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--txt-2); }
.breadcrumb a:hover { color: var(--brand-strong); }
.breadcrumb .sep { opacity: 0.5; }

.player-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(90% 90% at 50% 0%, rgba(0, 229, 125, 0.08), transparent 60%),
    radial-gradient(70% 70% at 50% 110%, rgba(157, 123, 255, 0.1), transparent 60%),
    linear-gradient(160deg, #0b1219 0%, #05080b 100%);
  color: #fff;
}
.player::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.player-status {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  font-weight: 700;
  z-index: 2;
}
.player-status--live { color: #ff8595; }

.player-quality {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.player-play {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand-strong), #00c46c);
  color: #04140b;
  box-shadow: 0 10px 40px rgba(0, 229, 125, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.player-play:hover { transform: scale(1.06); box-shadow: 0 14px 48px rgba(0, 229, 125, 0.5); }
.player-play svg { width: 28px; height: 28px; margin-left: 4px; }

.player-note {
  position: relative;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  max-width: 80%;
  line-height: 1.7;
}

.player-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent);
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  z-index: 2;
}
.player-bar .spacer { flex: 1; }
.player-bar svg { width: 15px; height: 15px; }

/* 播放中：隐藏播放按钮，画面呈现流动信号光效 */
.player-play.is-hidden { display: none; }
.player.is-playing::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(0, 229, 125, 0.07) 46%,
    rgba(157, 123, 255, 0.06) 56%,
    transparent 72%
  );
  background-size: 240% 240%;
  animation: playerSheen 7s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes playerSheen {
  0% { background-position: 130% -20%; }
  100% { background-position: -130% 20%; }
}
.player.is-playing .player-note {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 42px;
  max-width: none;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

/* 信号线路 */
.signal-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
}
.signal-panel .label { font-size: 12px; font-weight: 700; color: var(--txt-2); white-space: nowrap; }
.signal-hint { font-size: 11px; color: var(--txt-3); margin-left: auto; }

/* 比赛信息卡 */
.match-info-card { padding: 18px; }

.mi-league {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.mi-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.mi-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 0;
}
.mi-team .nm { font-size: 13px; font-weight: 700; }
.mi-team .en { font-size: 10px; color: var(--txt-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.mi-score {
  font-family: var(--num);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.mi-score .vs { font-size: 16px; letter-spacing: 3px; color: var(--txt-3); }

.mi-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.mi-meta .item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 6px 0;
  font-size: 11.5px;
  min-width: 0;
}
.mi-meta .k { color: var(--txt-3); flex-shrink: 0; }
.mi-meta .v { color: var(--txt-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

/* 数据对比条 */
.stat-compare { display: flex; flex-direction: column; gap: 10px; }
.stat-row .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  margin-bottom: 4px;
}
.stat-row .top b { font-family: var(--num); font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-row .top span { color: var(--txt-3); }
.stat-row .bars { display: flex; gap: 4px; height: 5px; }
.stat-row .bars i { border-radius: var(--r-pill); display: block; height: 100%; }
.stat-row .bars .l { background: var(--brand); }
.stat-row .bars .r { background: var(--panel-3); }

/* 赛况时间线 */
.timeline { display: flex; flex-direction: column; }
.tl-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  position: relative;
}
.tl-item + .tl-item { border-top: 1px dashed var(--line); }
.tl-minute {
  width: 40px;
  font-family: var(--num);
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-strong);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.tl-text { font-size: 12.5px; color: var(--txt-2); line-height: 1.6; }
.tl-text b { color: var(--txt); }

/* ---------- 15. 赛程页 ---------- */
.date-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--panel);
  border: 1px solid var(--line);
  scrollbar-width: none;
  margin-bottom: 16px;
}
.date-strip::-webkit-scrollbar { display: none; }

.date-chip {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 64px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.date-chip .d { font-size: 10px; font-weight: 600; color: var(--txt-3); }
.date-chip .n {
  font-family: var(--num);
  font-size: 14px;
  font-weight: 800;
  color: var(--txt-2);
  font-variant-numeric: tabular-nums;
}
.date-chip:hover { background: var(--panel-2); }
.date-chip.is-active { background: var(--brand-dim); border-color: var(--brand-line); }
.date-chip.is-active .d { color: var(--brand-strong); }
.date-chip.is-active .n { color: var(--brand-strong); }
.date-chip .cnt { font-size: 9px; color: var(--txt-3); font-weight: 600; }

.schedule-group + .schedule-group { margin-top: 18px; }

/* ---------- 16. 积分榜 ---------- */
.table-scroll {
  overflow-x: auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--panel);
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 12.5px;
}

.standings-table th {
  position: sticky;
  top: 0;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--txt-3);
  padding: 10px 6px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.standings-table th.left { text-align: left; padding-left: 14px; }

.standings-table td {
  text-align: center;
  padding: 9px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--txt-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.standings-table tr:last-child td { border-bottom: 0; }
.standings-table tbody tr { transition: background 0.15s ease; }
.standings-table tbody tr:hover { background: var(--panel-2); }

.standings-table .td-team { text-align: left; padding-left: 14px; min-width: 170px; }
.st-team { display: flex; align-items: center; gap: 9px; }
.st-team .nm { font-weight: 700; color: var(--txt); font-size: 12.5px; }

.standings-table .rank {
  position: relative;
  font-family: var(--num);
  font-weight: 800;
  color: var(--txt-3);
  width: 44px;
}
.standings-table .rank::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
}
tr[data-zone='ucl'] .rank::before { background: var(--brand); }
tr[data-zone='uel'] .rank::before { background: var(--info); }
tr[data-zone='rel'] .rank::before { background: var(--danger); }

td.pts { font-weight: 800; color: var(--txt); font-family: var(--num); font-size: 13px; }
td.gd.plus { color: var(--brand-strong); }
td.gd.minus { color: var(--danger); }

.form-strip { display: inline-flex; gap: 3px; }
.form-dot {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  display: inline-grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--txt-3);
  background: var(--panel-3);
}
.form-dot.w { color: var(--brand-strong); background: var(--brand-dim); }
.form-dot.l { color: var(--danger); background: var(--danger-dim); }
.form-dot.d { color: var(--txt-2); background: var(--panel-3); }

.zone-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 14px;
  font-size: 11.5px;
  color: var(--txt-3);
}
.zone-legend span { display: inline-flex; align-items: center; gap: 6px; }
.zone-legend i { width: 3px; height: 12px; border-radius: 2px; display: inline-block; }

/* 赛季概览条 */
.season-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.season-stat {
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
}
.season-stat .k { font-size: 11px; color: var(--txt-3); }
.season-stat .v {
  margin-top: 2px;
  font-family: var(--num);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}
.season-stat .v small { font-size: 11px; color: var(--txt-3); font-weight: 600; margin-left: 3px; }

/* ---------- 17. 球队页 ---------- */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.team-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.team-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--c1, var(--brand));
  opacity: 0.85;
}
.team-card:hover { border-color: var(--brand-line); transform: translateY(-2px); background: var(--panel-2); }

.team-card-info { min-width: 0; flex: 1; }
.team-card-info .nm { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-card-info .en { font-size: 10.5px; color: var(--txt-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-card-rank {
  text-align: right;
  flex-shrink: 0;
  font-family: var(--num);
}
.team-card-rank .rk { font-size: 16px; font-weight: 900; color: var(--txt); }
.team-card-rank .rk small { font-size: 9px; color: var(--txt-3); font-weight: 700; margin-right: 1px; }
.team-card-rank .ps { display: block; font-size: 10px; color: var(--txt-3); }

/* 球队详情头 */
.team-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background:
    radial-gradient(90% 160% at 0% 0%, color-mix(in srgb, var(--c1, #2a3a46) 26%, transparent), transparent 55%),
    var(--panel);
}
.team-hero::before {
  content: attr(data-short);
  position: absolute;
  right: 18px;
  bottom: -26px;
  font-family: var(--num);
  font-size: 120px;
  font-weight: 900;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
}
html[data-theme='light'] .team-hero::before { color: rgba(10, 30, 45, 0.05); }

.team-hero-main { display: flex; align-items: center; gap: 16px; min-width: 0; }
.team-hero-name h1 { font-size: 26px; font-weight: 900; letter-spacing: 0.5px; }
.team-hero-name .en { font-size: 12px; color: var(--txt-3); letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.team-hero-name .chips { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }

.team-hero-stats {
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 22px;
  position: relative;
}
.team-hero-stats .cell { text-align: center; }
.team-hero-stats .k { font-size: 10.5px; color: var(--txt-3); }
.team-hero-stats .v {
  font-family: var(--num);
  font-size: 22px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  margin-top: 1px;
}

/* 球员列表 */
.squad-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.squad-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-md);
  transition: background 0.18s ease;
}
.squad-item:hover { background: var(--panel-2); }
.squad-no {
  width: 26px;
  height: 26px;
  border-radius: var(--r-pill);
  background: var(--panel-3);
  display: grid;
  place-items: center;
  font-family: var(--num);
  font-size: 11px;
  font-weight: 800;
  color: var(--txt-2);
  flex-shrink: 0;
}
.squad-item .nm { font-size: 12.5px; font-weight: 600; }
.squad-item .ps { font-size: 10.5px; color: var(--txt-3); margin-left: auto; flex-shrink: 0; }

/* ---------- 18. 资讯列表页 ---------- */
.news-list { display: flex; flex-direction: column; gap: 10px; }

.news-item {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.news-item:hover { border-color: var(--brand-line); background: var(--panel-2); }
.news-item .news-cover { height: 100%; min-height: 104px; border-radius: var(--r-md); }
.news-item .news-body { padding: 2px 4px 2px 0; }
.news-item .news-title { font-size: 15px; -webkit-line-clamp: 2; }
.news-item .news-excerpt {
  font-size: 12.5px;
  color: var(--txt-3);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  transition: border-color 0.18s ease;
}
.news-featured:hover { border-color: var(--brand-line); }
.news-featured .news-cover { height: auto; min-height: 230px; }
.news-featured .news-cover .big-tag { font-size: 64px; }
.news-featured .news-body { padding: 22px 24px; gap: 10px; }
.news-featured .news-title { font-size: 20px; -webkit-line-clamp: 3; line-height: 1.5; }
.news-featured .news-excerpt {
  font-size: 13px;
  color: var(--txt-2);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 19. 文章详情页 ---------- */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-head { margin: 6px 0 18px; }
.article-head h1 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.3px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
  color: var(--txt-3);
}
.article-cover {
  height: 240px;
  border-radius: var(--r-xl);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(135deg, var(--c1, #1a2833) 0%, var(--c2, #0e161d) 100%);
}
.article-cover .big-tag {
  font-family: var(--num);
  font-size: 72px;
  font-weight: 900;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.15);
}
.article-body p {
  font-size: 15px;
  line-height: 2;
  color: var(--txt-2);
  margin-bottom: 20px;
  text-align: justify;
}
.article-body p:first-of-type::first-letter {
  font-size: 2.2em;
  font-weight: 800;
  color: var(--brand-strong);
  float: left;
  line-height: 1.1;
  margin: 4px 8px 0 0;
}

.article-related { display: flex; flex-direction: column; gap: 2px; }
.article-related a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 8px;
  border-radius: var(--r-md);
  font-size: 12.5px;
  color: var(--txt-2);
  transition: background 0.18s ease, color 0.18s ease;
}
.article-related a:hover { background: var(--panel-2); color: var(--brand-strong); }
.article-related a .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* ---------- 20. 录像页 ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.video-card {
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.video-card:hover { border-color: var(--brand-line); transform: translateY(-2px); }

.video-thumb {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(100% 120% at 50% -10%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(150deg, var(--c1, #1a2833), var(--c2, #0a1015));
  overflow: hidden;
}
.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.video-thumb .vs-score {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.video-thumb .vs-score b {
  font-family: var(--num);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.video-thumb .vs-score i { font-style: normal; color: rgba(255, 255, 255, 0.45); font-size: 14px; }
.video-thumb .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  opacity: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: opacity 0.2s ease;
}
.video-card:hover .play { opacity: 1; }
.video-thumb .play svg { width: 42px; height: 42px; color: #fff; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5)); }
.video-thumb .duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  font-family: var(--num);
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  backdrop-filter: blur(4px);
}

.video-info { padding: 11px 13px 13px; }
.video-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--txt-3);
}

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1120px) {
  .layout { grid-template-columns: minmax(0, 1fr) 288px; }
  .header-search input { width: 110px; }
  .nav-link { padding: 6px 11px; font-size: 13px; }
  .teams-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .hero-team-name b { font-size: 20px; }
  .hero-score { font-size: 44px; }
  .hero-team .logo--xl { --size: 68px; }
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .tabbar { display: grid; }
  .header-search { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 22px; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured .news-cover { min-height: 160px; }
  .season-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .wrap { padding: 0 14px; }
  .page-main { padding: 16px 0 40px; }
  .brand-season { display: none; }

  .hero-inner { padding: 16px 16px 18px; gap: 14px; }
  .hero-match { gap: 8px; }
  .hero-team { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-team--away { flex-direction: column; align-items: flex-end; }
  .hero-team .logo--xl { --size: 52px; }
  .hero-team-name b { font-size: 16px; }
  .hero-team-name span { font-size: 10px; }
  .hero-score { font-size: 34px; letter-spacing: 1px; gap: 8px; }
  .hero-score .vs { font-size: 16px; letter-spacing: 3px; }
  .hero-countdown { margin-left: 0; }
  .hero-cta { margin-left: 0; width: 100%; }
  .hero-cta .btn { flex: 1; }

  .match-row { grid-template-columns: 62px minmax(0, 1fr); gap: 10px; padding: 11px 12px; }
  .mr-meta { display: none; }
  .mr-teams { gap: 4px; }
  .mr-side { gap: 7px; }
  .mr-name { font-size: 12px; }
  .mr-score { font-size: 17px; }
  .mr-center { min-width: 50px; }

  .page-head h1 { font-size: 20px; }
  .filter-bar { top: calc(var(--header-h) + 4px); padding: 8px; gap: 8px; }

  .news-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teams-grid { grid-template-columns: 1fr 1fr; }
  .team-card { padding: 11px; gap: 9px; }
  .team-card-info .en { display: none; }

  .news-item { grid-template-columns: 108px minmax(0, 1fr); gap: 11px; }
  .news-item .news-title { font-size: 13.5px; }
  .news-item .news-excerpt { display: none; }
  .news-item .news-cover { min-height: 78px; }
  .news-item .news-cover .big-tag { font-size: 26px; }

  .team-hero { padding: 16px; gap: 14px; }
  .team-hero-name h1 { font-size: 20px; }
  .team-hero-stats { margin-left: 0; width: 100%; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .team-hero-stats .v { font-size: 18px; }
  .squad-list { grid-template-columns: 1fr; }

  .player-play { width: 58px; height: 58px; }
  .player-play svg { width: 22px; height: 22px; }
  .player-note { font-size: 11px; }
  .signal-hint { display: none; }

  .article-head h1 { font-size: 20px; }
  .article-body p { font-size: 14.5px; line-height: 1.9; }
  .article-cover { height: 160px; }
  .article-cover .big-tag { font-size: 44px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .section-title { font-size: 15px; }
}

@media (max-width: 520px) {
  .video-grid { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: 1fr; }
  .news-cover { height: 92px; }
  .mr-time b { font-size: 14px; }
  .mini-standings { grid-template-columns: 1fr 1fr; }
  .hero-signals { display: none; }
}

/* ===== 站点主题：英超直播 · 抖音潮流 ===== */
.brand-mark {
  border-radius: 50%;
  background: linear-gradient(135deg, #fe2c55 0%, #b45bff 52%, #25f4ee 100%);
  box-shadow: 0 6px 20px rgba(254, 44, 85, 0.4);
  color: #0a0a0c;
}
.brand-name em {
  background: linear-gradient(120deg, #ff5c7c, #ff8fb0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, #fe2c55, #b45bff, #25f4ee);
  opacity: 0.75;
}
.main-nav { border-radius: var(--r-pill); }
.nav-link.is-active { box-shadow: inset 0 0 0 1px var(--brand-line); }

.hero-card {
  border-radius: 26px;
  border-color: var(--brand-line);
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(254, 44, 85, 0.14), transparent 46%),
    radial-gradient(120% 150% at 100% 0%, rgba(37, 244, 238, 0.1), transparent 50%),
    var(--panel);
  box-shadow: 0 24px 60px rgba(254, 44, 85, 0.1), var(--shadow);
}
.hero-card::before { opacity: 0.5; }
.hero-score { text-shadow: 0 0 26px rgba(254, 44, 85, 0.4); }

.btn--solid {
  background: linear-gradient(120deg, #fe2c55 0%, #ff4d78 48%, #25f4ee 130%);
  color: #10060a;
  box-shadow: 0 10px 26px rgba(254, 44, 85, 0.36);
}
.btn--solid:hover { filter: brightness(1.08); }
.btn--brand { background: var(--brand-dim); border-color: var(--brand-line); color: var(--brand-strong); }

.tag--brand { box-shadow: 0 0 14px rgba(254, 44, 85, 0.25); }
.tag--info { color: #25f4ee; background: rgba(37, 244, 238, 0.1); }

.match-row { border-radius: var(--r-lg); }
.match-row:hover { border-color: var(--brand-line); box-shadow: 0 10px 26px rgba(254, 44, 85, 0.08); }

.section-title::before {
  background: linear-gradient(180deg, #fe2c55, #25f4ee);
  box-shadow: 0 0 14px rgba(254, 44, 85, 0.5);
}

.live-dot { background: #25f4ee; }
.live-dot::after { border-color: #25f4ee; }

.tabbar { border-radius: 24px; border-color: var(--line-strong); }
.tab-item.is-active { background: var(--brand-dim); color: var(--brand-strong); }

.card { border-radius: var(--r-xl); }
.news-cover, .video-thumb { border-radius: var(--r-md); }
.site-footer {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, rgba(254, 44, 85, 0.6), rgba(37, 244, 238, 0.6)) 1;
}

/* 布局修补：hero 信号行不换行 */
.hero-signals { white-space: nowrap; flex-shrink: 0; }

/* ===== 站点布局：竖屏流 ===== */
.layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
.page-head h1 { flex: 0 0 auto; white-space: nowrap; }
.match-list {
  display: flex; flex-direction: row; overflow-x: auto; gap: 12px;
  scroll-snap-type: x mandatory; padding: 2px 2px 12px;
  scrollbar-width: thin;
}
.match-list::-webkit-scrollbar { height: 6px; }
.match-list::-webkit-scrollbar-thumb { background: var(--line-strong, rgba(255, 255, 255, 0.18)); border-radius: 3px; }
.match-row {
  flex: 0 0 300px; min-width: 300px;
  grid-template-columns: 1fr; gap: 8px;
  padding: 14px 16px; scroll-snap-align: start;
}
.match-row .mr-name { font-size: 12px; }
.match-row .mr-time {
  flex-direction: row; align-items: center; justify-content: space-between;
}
.match-row .mr-time b { font-size: 16px; }
.match-row .mr-meta { justify-content: space-between; }
.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-cover { height: 140px; }
.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-card .video-thumb { height: 132px; }
.hero-card { border-radius: 32px; }
@media (max-width: 940px) {
  .layout { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .match-row { flex: 0 0 250px; min-width: 250px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-cover { height: 150px; }
  .video-grid { grid-template-columns: 1fr; }
}
