/**
 * 英超首页（epl 版式，2026-11-18）。
 *
 * 版式对齐用户给的静态稿 `英超/index.html`：焦点轮播 + 右侧赛事面板 / 滚动比分条 /
 * 赛程卡 / 数据中心三块（积分榜 · 球队进球榜 · 射手榜）/ 资讯（头条 + 列表 + 热榜）/
 * 赛事集锦 / 热门标签 / 联赛档案 / 主教练。
 *
 * 只做两件事：
 *   1) 结构照静态稿复刻（栅格、断点、卡片比例）；
 *   2) 颜色不写死 —— 浅色卡片走 --cs06-* 令牌，深色带（比分条 / 热榜 / 集锦 / 档案）
 *      用固定近黑 + 白字，十套主题都不会糊。
 * 强调整色走 rgb(var(--accent-rgb))，直播红走 --cs06-hot-*，和站内其它页同一套口径。
 *
 * 只由首页视图经 $extraCss 加载，不进全站样式。
 */

/* ============================================================================
   0 变量与容器
   ============================================================================ */

.epl-home {
  /* 深色带（比分条 / 热榜 / 集锦 / 档案）：底色跟主题走 —— 每套主题在 cs06.css 里给
     --cs06-deep：暖色主题是暖褐黑、紫调主题是紫黑，不再一律近黑。
     --epl-dark-2 是提亮一档的派生色（卡片里的次级面），跟着 --epl-dark 自动变。 */
  --epl-dark: var(--cs06-deep, #0d0d13);
  --epl-dark-2: color-mix(in srgb, var(--epl-dark) 88%, #ffffff);
  --epl-on-dark: #f4f2f7;
  --epl-on-dark-dim: rgb(244 242 247 / 0.6);
  --epl-on-dark-faint: rgb(244 242 247 / 0.36);

  /* 静态稿的「直播粉」：稿子里 .match-card.is-live 的顶条、描边、底色都从它调，
     比 cs06 的直播红（#c81e2b）艳一档。这里取稿子原值，只用于装饰（顶条/描边/底色），
     文字仍然走 --cs06-hot-text 保证对比度。 */
  --epl-live: #ff2882;

  /* 深色带上的「强调色」要提亮一档：最浅的几套主题把 accent 压成近黑（#18181b），
     直接拿来写小字就是黑底黑字。这里按 45% 白混一遍，任何强调色都能压在近黑上。
     只在深色带里重定义，浅色卡片仍用原色。 */
  --epl-accent-light: rgb(var(--accent-rgb));

  /* 名次块 / 占比槽这些中性小件 */
  --epl-soft: var(--cs06-soft);
  --epl-track: var(--cs06-rank-track, var(--cs06-soft));

  max-width: 1240px;
  margin-inline: auto;
  /* 底部 padding 必须是 0：分带的底色靠 box-shadow + clip-path 只向左右延伸（上下被裁），
     最后一个分区（教练白带）下面若留空隙，露出来的就是 body 的灰底 —— 页脚上面会横一条色块。 */
  padding: 0 20px;
}

/* <main> 上的容器钩子（控制器给的 mainClass）：版心与左右留白都归 .epl-home，
   main 自己不设宽度 —— 旧的 .cs06-daily 是 1320 的网格，套在这里会把右侧赛事面板挤掉。 */
.epl-page { display: block; }

/* ============================================================================
   0.1 队徽（EPL 版）
   ----------------------------------------------------------------------------
   静态稿里的队徽全是**透明底裸图**，按 object-fit:contain 贴在各自尺寸里：
   赛程卡 34px、直播面板 46px、接下来 24px、积分榜 22px、进球榜 20px、
   射手榜 12px、教练卡 18px。没有一个用圆底 + 描边的那套（那是 CS06 的写法）。
   尺寸用 --lg 变量控制，视图里传 is-12 … is-46。
   ============================================================================ */

.epl-logo {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--lg, 24px);
  height: var(--lg, 24px);
}

.epl-logo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.epl-logo.is-12 { --lg: 12px; }
.epl-logo.is-16 { --lg: 16px; }
.epl-logo.is-18 { --lg: 18px; }
.epl-logo.is-20 { --lg: 20px; }
.epl-logo.is-22 { --lg: 22px; }
.epl-logo.is-24 { --lg: 24px; }
.epl-logo.is-34 { --lg: 34px; }
.epl-logo.is-46 { --lg: 46px; }

/* 分区：整幅分带 + 上下留白，和静态稿一样「赛程/资讯/教练是白底、数据/标签是纸底、
   集锦/档案是深色带」。内容仍被 .epl-home 收在 1240 版心，底色靠 100vmax 阴影扩到视口两边
   —— 不用 ::before + 100vw：100vw 含滚动条宽度，窄屏上会出现横向滚动条。 */
.epl-sec {
  position: relative;
  padding: 40px 0;
  /* 页头是 sticky 的，锚点跳过去要让过它（--cs06-hd-h 由 layout_top 的脚本实测写入） */
  scroll-margin-top: calc(var(--cs06-hd-h, 60px) + 12px);
}

.epl-sec.is-white {
  background: var(--cs06-card);
  box-shadow: 0 0 0 100vmax var(--cs06-card);
  clip-path: inset(0 -100vmax);
}

.epl-sec.is-dark {
  background: var(--epl-dark);
  box-shadow: 0 0 0 100vmax var(--epl-dark);
  clip-path: inset(0 -100vmax);
  color: var(--epl-on-dark);
}

/* 深色带里的刊头：标题转白、说明压暗、强调色提亮一档 */
.epl-sec.is-dark h2 { color: #fff; }
.epl-sec.is-dark .epl-head-note { color: var(--epl-on-dark-dim); }
.epl-sec.is-dark .epl-kicker { color: var(--epl-accent-light); }
.epl-sec.is-dark .epl-more {
  background: transparent;
  border-color: rgb(255 255 255 / 0.22);
  color: #fff;
}
.epl-sec.is-dark .epl-more:hover { border-color: var(--epl-accent-light); color: var(--epl-accent-light); }

/* 深色带统一：把强调色提亮到能压在近黑上（subset 见 --epl-accent-light） */
.epl-newsbar,
.epl-live,
.epl-hot,
.epl-hl,
.epl-about {
  --epl-accent-light: color-mix(in srgb, rgb(var(--accent-rgb)) 45%, #ffffff);
}

/* ============================================================================
   1 刊头小件
   ============================================================================ */

.epl-sec-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.epl-head-txt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.epl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(var(--accent-rgb));
}

.epl-kicker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: epl-pulse 1.9s ease-out infinite;
}

@keyframes epl-pulse {
  0% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0.55); }
  70% { box-shadow: 0 0 0 8px rgb(var(--accent-rgb) / 0); }
  100% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0); }
}

.epl-sec-head h2 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  font-weight: 900;
  color: var(--cs06-ink-title);
}

.epl-head-note {
  font-size: 12px;
  color: var(--cs06-muted);
}

.epl-head-side {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.epl-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--cs06-line-2);
  border-radius: 999px;
  background: var(--cs06-card);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cs06-ink-2);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.epl-more:hover {
  border-color: rgb(var(--accent-rgb));
  color: var(--cs06-ink-title);
  transform: translateX(2px);
}

.epl-more svg { width: 13px; height: 13px; }

/* 时间档胶囊（服务端链接，不用 JS） */
.epl-tabs {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--cs06-line-2);
  border-radius: 999px;
  background: var(--cs06-card);
}

/* 筛选胶囊：2026-11-18 起是 <button>（静态筛选，点了不跳页），所以要清掉按钮默认外观 */
.epl-tabs button {
  padding: 5px 13px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cs06-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.epl-tabs button:hover { color: var(--cs06-ink-title); }

.epl-tabs button.is-on {
  background: var(--cs06-ink-title);
  color: var(--cs06-card);
}

.epl-tabs button.is-on.is-live { background: var(--cs06-hot-text, #c81e2b); color: #fff; }

/* ============================================================================
   2 Hero：焦点轮播 + 右侧赛事面板
   ============================================================================ */

.epl-hero { padding-top: 22px; }

.epl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  gap: 16px;
  align-items: stretch;
}

/* ---------- 2.1 轮播 ---------- */

.epl-slider {
  position: relative;
  height: 460px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--epl-dark);
  isolation: isolate;
  box-shadow: 0 26px 54px -34px rgb(13 13 19 / 0.7);
}

.epl-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  z-index: 3;
}

.epl-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.epl-slide.is-on {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transition: opacity 0.5s ease, visibility 0s linear 0s;
}

.epl-slide-media {
  position: absolute;
  inset: 0;
  background-color: var(--epl-dark-2);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 7s linear;
}

.epl-slide.is-on .epl-slide-media { transform: scale(1); }

/* 2026-11-18 用户口径：去掉压在 banner 上的渐变滤镜，整张图可点。
   所以 .epl-slide-body 从「左下角一块文案」改成铺满整张图的链接层（inset:0 + 底部对齐），
   文案本身收进 .epl-slide-copy 控制宽度；没有链接时它退化成 div，照样铺满不影响排版。 */
.epl-slide-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 32px 76px;
  color: #fff;
  text-decoration: none;
}

.epl-slide-copy {
  display: block;
  max-width: 620px;
}

.epl-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.28);
  /* 没有滤镜压底了，牌子自己得深一点，白字才认得出 */
  background: rgb(8 6 12 / 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.5);
}

.epl-slide-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: epl-pulse-white 1.7s ease-out infinite;
}

@keyframes epl-pulse-white {
  0% { box-shadow: 0 0 0 0 rgb(255 255 255 / 0.7); }
  70% { box-shadow: 0 0 0 7px rgb(255 255 255 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(255 255 255 / 0); }
}

.epl-slide-title {
  display: -webkit-box;
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  font-weight: 900;
  color: #fff;
  /* 滤镜层撤掉后全靠这三层阴影托住白字（近处硬边 + 远处扩散） */
  text-shadow: 0 2px 6px rgb(0 0 0 / 0.6), 0 10px 28px rgb(0 0 0 / 0.5);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.epl-slide-note {
  font-size: 13px;
  color: rgb(255 255 255 / 0.76);
  max-width: 520px;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 「英超合集」小牌和「查看详情 →」已按用户要求去掉（2026-11-18）：
   整条 banner 都是链接了，不需要再单独给个入口，.epl-slide-meta* 规则一并删除。 */

/* 轮播底栏：进度点 / 计数 / 箭头 */
.epl-slider-foot {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 22px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
}

.epl-dots {
  display: flex;
  gap: 6px;
  flex: 1;
}

.epl-dots button {
  position: relative;
  width: 32px;
  height: 4px;
  border-radius: 99px;
  overflow: hidden;
  background: rgb(255 255 255 / 0.28);
  cursor: pointer;
}

.epl-dots button.is-on::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left center;
  animation: epl-bar 6s linear forwards;
}

.epl-slider.is-paused .epl-dots button.is-on::after { animation-play-state: paused; }

@keyframes epl-bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.epl-slide-count {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgb(255 255 255 / 0.55);
  font-variant-numeric: tabular-nums;
}

.epl-slide-count b {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.epl-slider-arrows { display: flex; gap: 7px; }

.epl-slider-arrows button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.epl-slider-arrows button:hover {
  background: #fff;
  border-color: #fff;
  color: #0b0b10;
}

.epl-slider-arrows svg { width: 14px; height: 14px; }

/* ---------- 2.2 右侧：直播 / 接下来 ---------- */

.epl-focus {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.epl-live {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 250px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  overflow: hidden;
  color: var(--epl-on-dark);
  background: radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, rgb(var(--accent-rgb)) 26%, var(--epl-dark-2)) 0%, var(--epl-dark-2) 58%, var(--epl-dark) 100%);
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: var(--cs06-shadow);
}

.epl-live::before {
  content: "";
  position: absolute;
  right: -58px;
  top: -66px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--accent-rgb) / 0.2), transparent 70%);
  pointer-events: none;
}

.epl-live-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 11px;
  color: var(--epl-on-dark-dim);
}

.epl-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  /* 静态稿的 LIVE 小牌是那把粉（#FF2882），和赛程卡顶条同一个色 */
  background: var(--epl-live);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.epl-live-chip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  animation: epl-pulse-white 1.6s ease-out infinite;
}

/* 面板顶上不是直播、而是「下一场」（没直播时）或没有比赛时，红块换成中性灰 */
.epl-live-chip.is-next,
.epl-live-chip.is-ft { background: var(--cs06-muted); }

.epl-live-round { margin-left: auto; }

.epl-live-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.epl-live-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  text-align: center;
}


.epl-live-team b {
  max-width: 100%;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.epl-live-team small {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--epl-on-dark-faint);
}

.epl-live-num {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.epl-live-num i {
  font-style: normal;
  font-size: 22px;
  color: rgb(255 255 255 / 0.34);
}

.epl-live-num small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--epl-on-dark-dim);
}

.epl-live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.epl-live-meta span {
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.06);
  font-size: 10.5px;
  color: var(--epl-on-dark-dim);
}

.epl-live-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  /* 面板被拉高时，按钮贴着底边（和静态稿里「进入文字直播」的位置一致） */
  margin-top: auto;
  border-radius: 9px;
  background: #fff;
  color: #0b0b10;
  font-size: 12.5px;
  font-weight: 800;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.epl-live-cta:hover {
  background: rgb(var(--accent-rgb));
  color: var(--cs06-on-accent);
  transform: translateY(-1px);
}

.epl-live-cta svg { width: 13px; height: 13px; }

/* 「接下来」小卡 */
.epl-next {
  padding: 13px 14px 4px;
  border: 1px solid var(--cs06-line-2);
  border-radius: 14px;
  background: var(--cs06-card);
}

.epl-next-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cs06-dim);
}

.epl-next-head a {
  margin-left: auto;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--cs06-muted);
}

.epl-next-head a:hover { color: var(--cs06-ink-title); }

.epl-next-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid var(--cs06-line);
}

.epl-next-row:first-of-type { border-top: 0; }

.epl-next-when {
  flex: none;
  width: 42px;
  font-size: 10px;
  color: var(--cs06-muted);
  line-height: 1.3;
}

.epl-next-when i {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: var(--cs06-ink-title);
  font-variant-numeric: tabular-nums;
}

.epl-next-logos {
  display: flex;
  align-items: center;
  flex: none;
}

.epl-next-logos .epl-logo { margin-right: -6px; }

.epl-next-names {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cs06-ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.epl-next-names em {
  font-style: normal;
  font-size: 9.5px;
  color: var(--cs06-dim);
  margin: 0 3px;
}

.epl-next-go {
  flex: none;
  padding: 3px 8px;
  border: 1px solid var(--cs06-line-2);
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  color: var(--cs06-muted);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.epl-next-row:hover .epl-next-go {
  border-color: rgb(var(--accent-rgb));
  color: var(--cs06-ink-title);
}

/* ---------- 2.3 资讯轮播条（原「RECENT 上轮比分」跑马灯，2026-11-18 换掉） ----------
   位置和通栏做法沿用原来的比分条：贴屏幕两边、深底、margin-top 14。
   内容改成一次一条的足球资讯，5 秒自动切（脚本在 home.php 底部）。 */

.epl-newsbar {
  position: relative;
  margin-top: 14px;
  background: var(--epl-dark);
  color: var(--epl-on-dark);
  /* 通栏：和静态稿一样贴着屏幕两边，不留圆角 */
  box-shadow: 0 0 0 100vmax var(--epl-dark);
  clip-path: inset(0 -100vmax);
}

.epl-newsbar-in {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
}

.epl-newsbar-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 3px 9px;
  border: 1px solid color-mix(in srgb, var(--epl-accent-light) 55%, transparent);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: var(--epl-accent-light);
  white-space: nowrap;
}

.epl-newsbar-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--epl-live, #ff2882);
}

/* 舞台：几条资讯叠在同一格里做淡入上移，高度写死 20px，切换时不跳版 */
.epl-newsbar-stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 20px;
}

.epl-newsbar-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s;
  color: var(--epl-on-dark);
  text-decoration: none;
}

.epl-newsbar-item.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.epl-newsbar-time {
  flex: none;
  font-size: 11px;
  color: var(--epl-on-dark-faint);
  font-variant-numeric: tabular-nums;
}

.epl-newsbar-title {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.16s ease;
}

.epl-newsbar-item:hover .epl-newsbar-title { color: var(--epl-accent-light); }

.epl-newsbar-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  margin-left: auto;
  padding-left: 10px;
  font-size: 11px;
  color: var(--epl-accent-light);
  white-space: nowrap;
}

.epl-newsbar-go svg { width: 12px; height: 12px; }

.epl-newsbar-empty {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 12px;
  color: var(--epl-on-dark-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.epl-newsbar-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.epl-newsbar-ctrl button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 50%;
  background: transparent;
  color: var(--epl-on-dark-dim);
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.epl-newsbar-ctrl button:hover {
  color: #fff;
  border-color: rgb(255 255 255 / 0.4);
  background: rgb(255 255 255 / 0.06);
}

.epl-newsbar-ctrl button:focus-visible {
  outline: 2px solid var(--epl-accent-light);
  outline-offset: 2px;
}

.epl-newsbar-ctrl button svg { width: 12px; height: 12px; }

.epl-newsbar-num {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--epl-on-dark-faint);
  font-variant-numeric: tabular-nums;
}

.epl-newsbar-num b { color: #fff; font-weight: 800; }

.epl-newsbar-more {
  flex: none;
  font-size: 11.5px;
  color: var(--epl-accent-light);
  white-space: nowrap;
}

/* 窄屏：日期和「阅读全文」都收掉，只留标题 + 箭头，别把标题挤成两个字 */
@media (max-width: 760px) {
  .epl-newsbar-in { height: 40px; gap: 10px; }
  .epl-newsbar-label { font-size: 10px; padding: 2px 7px; }
  .epl-newsbar-time,
  .epl-newsbar-go { display: none; }
  .epl-newsbar-title { font-size: 12px; }
  .epl-newsbar-num { display: none; }
}

/* ============================================================================
   3 赛程卡
   ============================================================================ */

.epl-match-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

/* 赛程卡：尺寸全部照静态稿的 .match-card 抄（2026-11-18 用户口径「没复刻太丑」）
   内边距 14 / 14 / 10，圆角 14，队徽 34、比分 24、开赛时间 20、队名 12px/800，
   底部一条虚线 + 右侧强调色下划线的「看直播 / 看详情」。
   ⚠️ overflow:hidden 不能省 —— 直播卡顶上那条 3px 色条靠它跟着圆角裁掉，
   少了它四个角会露出方头（2026-11-18 用户第二次指出的问题）。 */
.epl-match {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 14px 14px 10px;
  border: 1px solid var(--cs06-line-2);
  border-radius: 14px;
  background: var(--cs06-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.epl-match:hover {
  transform: translateY(-4px);
  border-color: var(--cs06-line-3);
  box-shadow: 0 22px 40px -28px rgb(15 23 42 / 0.55);
}

/* 静态筛选（2026-11-18）：卡片和占位块都是 flex，UA 的 [hidden]{display:none}
   打不过类选择器里的 display，这里显式补一条。
   带 #schedule 提权是为了压住同区块里优先级更高的规则（见 ≤980 那档的注释）。 */
#schedule .epl-match[hidden],
#schedule .epl-ph[hidden] { display: none; }

/* 直播中：静态稿是「极淡的粉底 + 淡粉描边 + 一条很艳的粉顶条」，
   不是整块红玻璃 —— 底色 #FFF3F8 ≈ 粉 5%，描边 #FFC9DD ≈ 粉 22%。 */
.epl-match.is-live {
  border-color: color-mix(in srgb, var(--epl-live) 22%, var(--cs06-line-2));
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--epl-live) 5%, var(--cs06-card)),
    var(--cs06-card) 60%);
}

.epl-match.is-live::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--epl-live);
}

/* 直播卡里的「进行中」和比分：跟顶条同一个色相，但压深一档
   （#FF2882 直接当小字用对比度只有 3 左右；压到 78% 约 5.4:1，还是那个粉）。 */
.epl-match.is-live .epl-match-state,
.epl-match.is-live .epl-match-score { color: color-mix(in srgb, var(--epl-live) 78%, #000); }

.epl-match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 10.5px;
  color: var(--cs06-dim);
  font-variant-numeric: tabular-nums;
}

.epl-match-state { font-weight: 800; letter-spacing: 0.02em; }
.epl-match-state.is-live { color: color-mix(in srgb, var(--epl-live) 78%, #000); }
.epl-match-state.is-done { color: var(--cs06-muted); }

.epl-match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 4px;
}

/* 队徽 + 队名：队徽在上、名字在下（和静态稿 .mc-team 一致）。
   名字按用户口径 2026-11-18 加回来（这一版是「卡片加上 2 个球队名称」）：
   11.5px/800，超长（诺丁汉森林这种 5 字）省略，不换行 —— 换行会让同一排卡片高低不齐。 */
.epl-match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.epl-match-team b {
  max-width: 100%;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--cs06-ink-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.epl-match-score {
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  color: var(--cs06-ink-title);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.epl-match-score i {
  font-style: normal;
  margin: 0 1px;
  font-size: 16px;
  color: var(--cs06-dim-2);
}

.epl-match-score.is-live { color: color-mix(in srgb, var(--epl-live) 78%, #000); }

.epl-match-time {
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  color: var(--cs06-ink-title);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.epl-match-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px dashed var(--cs06-line-2);
  font-size: 10.5px;
  color: var(--cs06-dim);
}

.epl-match-foot span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.epl-match-foot .epl-match-go {
  flex: none;
  font-weight: 800;
  color: var(--cs06-ink-title);
  border-bottom: 2px solid rgb(var(--accent-rgb));
  line-height: 1.4;
}

.epl-match:hover .epl-match-go {
  color: var(--cs06-hot-text, #c81e2b);
  border-color: var(--cs06-hot-text, #c81e2b);
}

.epl-sched-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--cs06-muted);
}

.epl-sched-foot a {
  margin-left: auto;
  font-weight: 700;
  color: var(--cs06-ink-2);
}

.epl-sched-foot a:hover { color: rgb(var(--accent-rgb)); }

/* ============================================================================
   4 数据中心
   ============================================================================ */

.epl-data-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.epl-panel {
  border: 1px solid var(--cs06-line-2);
  border-radius: 15px;
  overflow: hidden;
  background: var(--cs06-card);
  box-shadow: 0 16px 36px -34px rgb(15 23 42 / 0.4);
}

.epl-panel-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--cs06-line);
}

.epl-panel-head h3 {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.2px;
  color: var(--cs06-ink-title);
}

.epl-panel-tag {
  padding: 2px 7px;
  border-radius: 99px;
  border: 1px solid var(--cs06-hot-ring);
  background: var(--cs06-hot-soft);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cs06-hot-text, #c81e2b);
}

.epl-panel-meta {
  margin-left: auto;
  font-size: 10px;
  line-height: 1.4;
  text-align: right;
  color: var(--cs06-dim);
}

.epl-panel-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 16px 12px;
  border-top: 1px solid var(--cs06-line);
  font-size: 10px;
  color: var(--cs06-muted);
}

.epl-legend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.epl-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

/* ---------- 4.1 积分表 ---------- */

.epl-table-scroll { overflow-x: auto; }

.epl-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.epl-table thead th {
  padding: 8px 5px;
  background: var(--cs06-card-2);
  border-bottom: 1px solid var(--cs06-line-2);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cs06-dim);
  text-align: center;
  white-space: nowrap;
}

.epl-table thead th:nth-child(2) { text-align: left; }

.epl-table tbody td {
  padding: 7px 5px;
  border-bottom: 1px solid var(--cs06-line);
  text-align: center;
  color: var(--cs06-ink-2);
}

.epl-table tbody tr:last-child td { border-bottom: 0; }
.epl-table tbody tr:hover { background: var(--cs06-card-2); }

.epl-rk-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--epl-soft);
  font-size: 10px;
  font-weight: 800;
  color: var(--cs06-muted);
}

.epl-table tr.is-ucl .epl-rk-no {
  background: var(--cs06-ink-title);
  color: var(--cs06-card);
}

.epl-table tr.is-uel .epl-rk-no {
  background: var(--cs06-hot-text, #c81e2b);
  color: #fff;
}

.epl-table tr.is-rel .epl-rk-no {
  background: var(--cs06-hot-soft);
  color: var(--cs06-hot-text, #c81e2b);
}

.epl-t-team {
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
}


.epl-t-team b {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cs06-ink-title);
  white-space: nowrap;
}

.epl-gd-pos { color: #0e9f6e; font-weight: 700; }
.epl-gd-neg { color: var(--cs06-hot-text, #e5484d); font-weight: 700; }

.epl-pts {
  font-weight: 900;
  color: var(--cs06-ink-title);
}

/* ---------- 4.2 球队进球榜 ---------- */

.epl-goal-list { padding: 6px 14px 10px; }

.epl-goal-row {
  display: grid;
  grid-template-columns: 12px 20px 66px 1fr 26px;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  font-size: 11px;
}

.epl-goal-no {
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  color: var(--cs06-dim);
  font-variant-numeric: tabular-nums;
}

.epl-goal-row:nth-child(-n+3) .epl-goal-no { color: var(--cs06-hot-text, #c81e2b); }


.epl-goal-name {
  font-weight: 700;
  color: var(--cs06-ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.epl-goal-bar {
  position: relative;
  height: 5px;
  border-radius: 99px;
  overflow: hidden;
  background: var(--epl-track);
}

.epl-goal-bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, rgb(var(--accent-rgb) / 0.65), rgb(var(--accent-rgb)));
}

.epl-goal-row:nth-child(1) .epl-goal-bar i {
  background: linear-gradient(90deg, var(--cs06-hot-text, #c81e2b), rgb(255 40 130 / 0.6));
}

.epl-goal-num {
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  color: var(--cs06-ink-title);
  font-variant-numeric: tabular-nums;
}

/* ---------- 4.3 射手榜 ---------- */

.epl-scorer-list { padding: 4px 12px 10px; }

.epl-scorer-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  border-bottom: 1px solid var(--cs06-line);
}

.epl-scorer-row:last-child { border-bottom: 0; }

.epl-scorer-no {
  flex: none;
  width: 13px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  color: var(--cs06-dim);
  font-variant-numeric: tabular-nums;
}

.epl-scorer-row:nth-child(-n+3) .epl-scorer-no { color: var(--cs06-hot-text, #c81e2b); }

.epl-scorer-face {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--cs06-line-2);
  background: var(--epl-soft);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--cs06-muted);
}

.epl-scorer-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.epl-scorer-info { flex: 1; min-width: 0; line-height: 1.3; }

.epl-scorer-info b {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--cs06-ink-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.epl-scorer-info span {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 9.5px;
  color: var(--cs06-dim);
}


.epl-scorer-goals {
  flex: none;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  color: var(--cs06-ink-title);
  font-variant-numeric: tabular-nums;
}

.epl-scorer-goals small {
  margin-left: 1px;
  font-size: 9px;
  font-weight: 400;
  color: var(--cs06-dim);
}

/* ============================================================================
   5 资讯：头条 + 列表 + 热榜
   ============================================================================ */

.epl-news-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}

.epl-lead {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--cs06-line-2);
  border-radius: 15px;
  overflow: hidden;
  background: var(--cs06-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.epl-lead:hover {
  transform: translateY(-3px);
  box-shadow: var(--cs06-shadow);
}

.epl-lead-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--epl-dark-2);
}

.epl-lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.epl-lead:hover .epl-lead-img img { transform: scale(1.04); }

.epl-lead-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(10 10 15 / 0.5), transparent 58%);
}

.epl-lead-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--cs06-hot-text, #c81e2b);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.epl-lead-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px 17px 17px;
}

.epl-lead-body h3 {
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: var(--cs06-ink-title);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.epl-lead-body p {
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--cs06-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.epl-lead-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  font-size: 10px;
  color: var(--cs06-dim);
}

.epl-lead-meta b { color: var(--cs06-ink-2); font-weight: 700; }

.epl-news-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.epl-news-item {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  padding: 9px;
  border: 1px solid var(--cs06-line-2);
  border-radius: 11px;
  background: var(--cs06-card);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.epl-news-item:hover {
  border-color: var(--cs06-line-3);
  transform: translateX(3px);
}

.epl-news-thumb {
  flex: none;
  width: 84px;
  height: 62px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--epl-dark-2);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  color: rgb(255 255 255 / 0.5);
}

.epl-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.epl-news-item:hover .epl-news-thumb img { transform: scale(1.05); }

.epl-news-txt { flex: 1; min-width: 0; }

.epl-news-txt h4 {
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
  color: var(--cs06-ink-title);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.epl-news-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  color: var(--cs06-dim);
}

/* 卡片上的栏目标签（.epl-news-meta em）已按用户要求去掉（2026-11-18），
   现在这行只有日期 */

/* 热榜：深色带 */
.epl-hot {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 8px;
  border-radius: 15px;
  background: var(--epl-dark);
  color: var(--epl-on-dark);
}

.epl-hot-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 900;
}

.epl-hot-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 2px 7px;
  border: 1px solid color-mix(in srgb, var(--epl-accent-light) 45%, transparent);
  border-radius: 99px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--epl-accent-light);
}

.epl-hot-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.epl-hot-list { display: flex; flex-direction: column; flex: 1; }

.epl-hot-row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 7px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
}

.epl-hot-row:last-child { border-bottom: 0; }

.epl-hot-no {
  flex: none;
  width: 15px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--epl-on-dark-faint);
  font-variant-numeric: tabular-nums;
}

.epl-hot-row:nth-child(-n+3) .epl-hot-no { color: var(--epl-accent-light); }

.epl-hot-txt {
  min-width: 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgb(244 242 247 / 0.86);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.epl-hot-txt b { color: #fff; font-weight: 800; }

.epl-hot-row:hover .epl-hot-txt { color: var(--epl-accent-light); }

/* ============================================================================
   6 赛事集锦（深色带）
   ============================================================================ */

/* 集锦：整幅深色带（不是圆角卡片），底色克在视口两边，光斑留在版心内 */
.epl-hl {
  padding: 36px 0 34px;
  background:
    radial-gradient(760px 320px at 10% -12%, rgb(var(--accent-rgb) / 0.16), transparent 70%),
    radial-gradient(620px 280px at 92% 6%, rgb(255 40 130 / 0.13), transparent 70%),
    var(--epl-dark);
  color: var(--epl-on-dark);
}

.epl-hl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 158px;
  gap: 10px;
}

.epl-hl-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.08);
  background: var(--epl-dark-2);
}

.epl-hl-card.is-big {
  grid-column: span 2;
  grid-row: span 2;
}

.epl-hl-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.epl-hl-card:hover img { transform: scale(1.05); }

.epl-hl-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(6 5 10 / 0.92) 0%, rgb(6 5 10 / 0.3) 50%, rgb(6 5 10 / 0.1) 100%);
}

.epl-hl-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.34);
  background: rgb(255 255 255 / 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.epl-hl-play svg { width: 15px; height: 15px; color: #fff; margin-left: 2px; }

.epl-hl-card.is-big .epl-hl-play { width: 56px; height: 56px; }

.epl-hl-card:hover .epl-hl-play {
  background: rgb(var(--accent-rgb));
  border-color: rgb(var(--accent-rgb));
  transform: translate(-50%, -50%) scale(1.05);
}

.epl-hl-card:hover .epl-hl-play svg { color: var(--cs06-on-accent); }

.epl-hl-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 4px;
  background: #fff;
  color: #0b0b10;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.epl-hl-info {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 11px;
  z-index: 2;
}

.epl-hl-info h4 {
  margin-bottom: 3px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.epl-hl-card.is-big .epl-hl-info h4 {
  font-size: 16px;
  letter-spacing: -0.2px;
}

.epl-hl-info small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  color: var(--epl-on-dark-dim);
}

/* 「英超集锦 · 日期」中间那个小圆点已随栏目标签一起去掉（2026-11-18），
   现在 small 里只有日期 */

/* ============================================================================
   7 热门标签
   ============================================================================ */

.epl-tags-box {
  display: grid;
  grid-template-columns: 0.75fr 1.6fr;
  gap: 28px;
  align-items: start;
}

.epl-tags-intro h2 {
  margin: 7px 0 9px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--cs06-ink-title);
}

.epl-tags-intro p {
  max-width: 300px;
  font-size: 12px;
  color: var(--cs06-muted);
}

/* 「12 个热门标签 / 644 已发资讯 / 3.26 场均进球」那排数字已按用户要求去掉（2026-11-18），
   .epl-tag-stat 相关规则一并删除。 */

.epl-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.epl-tag-cloud a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--cs06-line-2);
  border-radius: 999px;
  background: var(--cs06-card);
  font-size: 12px;
  font-weight: 700;
  color: var(--cs06-ink-2);
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

/* 标签后面那枚统计篇数已按用户要求去掉（2026-11-18），`.epl-tag-cloud a b`
   以及 hover / is-hot 下给它改色的两条规则一并删除。 */
.epl-tag-cloud a:hover {
  transform: translateY(-2px);
  background: var(--cs06-ink-title);
  border-color: var(--cs06-ink-title);
  color: var(--cs06-card);
}

.epl-tag-cloud a.is-hot {
  border-color: var(--cs06-hot-ring);
  background: var(--cs06-hot-soft);
  color: var(--cs06-hot-text, #c81e2b);
}

/* ============================================================================
   8 联赛档案
   ============================================================================ */

/* 联赛档案：整幅深色带；光斑用 ::before 铺在内容下面（深色带本身由 .is-dark 管底色） */
.epl-about {
  position: relative;
  overflow: hidden;
  padding: 42px 0;
  background: var(--epl-dark);
  color: var(--epl-on-dark);
}

.epl-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 300px at 88% 0%, rgb(var(--accent-rgb) / 0.16), transparent 70%),
    radial-gradient(520px 260px at 4% 100%, rgb(255 40 130 / 0.12), transparent 70%);
  pointer-events: none;
}

.epl-about-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.78fr;
  gap: 40px;
  align-items: start;
}

.epl-about-copy .epl-kicker { color: var(--epl-accent-light); }

.epl-about-copy h2 {
  margin: 9px 0 14px;
  font-size: 30px;
  line-height: 1.24;
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
}

.epl-about-copy p {
  max-width: 600px;
  margin-bottom: 11px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--epl-on-dark-dim);
}

.epl-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 600px;
  margin-top: 22px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.1);
}

.epl-about-stat {
  padding: 14px 12px;
  background: rgb(12 12 17 / 0.72);
}

.epl-about-stat b {
  display: block;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
  color: var(--epl-accent-light);
  font-variant-numeric: tabular-nums;
}

.epl-about-stat span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--epl-on-dark-faint);
}

.epl-about-card {
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 15px;
  padding: 17px 19px;
  background: rgb(255 255 255 / 0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.epl-about-card h3 {
  margin-bottom: 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--epl-accent-light);
}

.epl-about-row {
  display: flex;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 11.5px;
}

.epl-about-row:first-of-type { border-top: 0; }

.epl-about-row span {
  flex: none;
  width: 68px;
  color: var(--epl-on-dark-faint);
}

.epl-about-row b {
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
}

/* 「联赛档案」卡底部那句测试数据说明已按用户要求去掉（2026-11-18），
   .epl-about-note 规则一并删除 */

/* ============================================================================
   9 主教练
   ============================================================================ */

.epl-coach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.epl-coach {
  overflow: hidden;
  border: 1px solid var(--cs06-line-2);
  border-radius: 15px;
  background: var(--cs06-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.epl-coach:hover {
  transform: translateY(-3px);
  border-color: var(--cs06-line-3);
  box-shadow: var(--cs06-shadow);
}

.epl-coach-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--epl-dark-2);
}

.epl-coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.55s ease;
}

.epl-coach:hover .epl-coach-photo img { transform: scale(1.04); }

.epl-coach-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgb(6 5 10 / 0.76) 0%, rgb(6 5 10 / 0.22) 44%, transparent 64%),
    linear-gradient(180deg, rgb(6 5 10 / 0.55) 0%, transparent 40%);
}

.epl-coach-team {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 4px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  font-size: 10px;
  font-weight: 800;
  color: #111;
}


.epl-coach-pts {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  text-align: right;
  color: #fff;
}

.epl-coach-pts b {
  display: block;
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.epl-coach-pts span {
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: rgb(255 255 255 / 0.6);
}

.epl-coach-body { padding: 12px 14px 14px; }

.epl-coach-body h4 {
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.2px;
  color: var(--cs06-ink-title);
}

.epl-coach-meta {
  margin-bottom: 8px;
  font-size: 10px;
  color: var(--cs06-dim);
}

.epl-coach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.epl-coach-tags span {
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--epl-soft);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--cs06-ink-2);
}

.epl-coach-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--cs06-line);
  font-size: 10px;
  color: var(--cs06-muted);
}

.epl-coach-foot b { color: var(--cs06-ink-title); font-weight: 800; }

.epl-coach-foot .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cs06-dim-2);
}

/* ============================================================================
   10 空态：模块照常出壳，内容区给占位（站内统一口径）
   ============================================================================ */

.epl-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 26px 16px;
  border: 1px dashed var(--cs06-line-3);
  border-radius: 12px;
  background: var(--cs06-card-2);
  text-align: center;
}

.epl-ph b {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--cs06-ink-2);
}

.epl-ph span {
  font-size: 11px;
  color: var(--cs06-muted);
  max-width: 320px;
}

/* 静态筛选筛空时那句里带的「完整赛程」出口 */
.epl-filter-empty a {
  margin-left: 3px;
  color: var(--cs06-ink-title);
  font-weight: 700;
}

.epl-ph svg {
  width: 26px;
  height: 26px;
  color: var(--cs06-dim);
}

/* 「接下来」块里的迷你空态：不描边、不铺底，只留一行说明 */
.epl-ph.is-flat {
  border: 0;
  background: transparent;
  padding: 14px 0;
}

/* 轮播整块没图时的占位：和静态稿同高，版面不塌 */
.epl-slider-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--epl-on-dark-dim);
  background:
    radial-gradient(520px 240px at 20% 0%, rgb(var(--accent-rgb) / 0.14), transparent 70%),
    var(--epl-dark);
  text-align: center;
}

.epl-slider-ph b { font-size: 13px; font-weight: 800; color: rgb(244 242 247 / 0.8); }
.epl-slider-ph span { font-size: 11px; max-width: 300px; }

/* 深色带里的空态：底色换成半透明白，描边也跟着换 */
.epl-hot .epl-ph,
.epl-hl .epl-ph {
  border-color: rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.04);
}

.epl-hot .epl-ph b,
.epl-hl .epl-ph b { color: rgb(244 242 247 / 0.8); }

.epl-hot .epl-ph span,
.epl-hl .epl-ph span { color: var(--epl-on-dark-faint); }

.epl-hot .epl-ph svg,
.epl-hl .epl-ph svg { color: rgb(244 242 247 / 0.35); }

/* 赛程 / 资讯区没内容时，占位块铺满原来的栅格 */
.epl-match-grid > .epl-ph { grid-column: 1 / -1; }
.epl-news-grid > .epl-ph { grid-column: 1 / -1; }

/* ============================================================================
   11 响应式（对齐静态稿的 1180 / 980 / 760 / 520 四档）
   ============================================================================ */

@media (max-width: 1180px) {
  .epl-hero-grid { grid-template-columns: minmax(0, 1fr) 330px; }
  .epl-slider { height: 430px; }
  .epl-data-grid { grid-template-columns: 1fr 1fr; }
  .epl-panel-standings { grid-column: 1 / -1; }
  .epl-news-grid { grid-template-columns: 1.25fr 1fr; }
  .epl-hot { grid-column: 1 / -1; }
  .epl-hot-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
  .epl-about-inner { grid-template-columns: 1fr 0.9fr; gap: 30px; }
}

@media (max-width: 980px) {
  .epl-home { padding: 0 16px 44px; }
  .epl-hero-grid { grid-template-columns: 1fr; }
  .epl-slider { height: 410px; }
  .epl-focus { flex-direction: row; }
  .epl-live { flex: 1; min-height: 0; }
  .epl-next { width: 320px; flex: none; }
  .epl-match-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* 平板这档原来是「只露三张」（静态稿口径）。2026-11-18 赛程中心改成 29 条 + 静态筛选后
     不能再砍：一是只剩 3 张和「共 N 场」对不上，二是被砍掉的卡按状态筛出来也点不亮
     （nth-child(n+4) 的 display:none 压过 #schedule [hidden]）。现在三列铺满，条数由数据定。 */
  .epl-coach-grid { grid-template-columns: repeat(2, 1fr); }
  .epl-hl-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 168px; }
  .epl-hl-card.is-big { grid-column: span 2; }
  .epl-tags-box { grid-template-columns: 1fr; gap: 18px; }
  .epl-tags-intro p { max-width: none; }
  .epl-news-grid { grid-template-columns: 1fr; }
  .epl-lead-img { height: 280px; }
  .epl-news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .epl-hot-list { grid-template-columns: 1fr; }
  .epl-about-inner { grid-template-columns: 1fr; gap: 24px; }
  .epl-about-card { max-width: 560px; }
}

@media (max-width: 760px) {
  .epl-sec { padding: 30px 0; }
  .epl-sec-head h2 { font-size: 21px; }
  .epl-head-side { width: 100%; margin-left: 0; }
  .epl-tabs { max-width: 100%; overflow-x: auto; }

  .epl-slider { height: 360px; border-radius: 15px; }
  .epl-slide-body { padding: 0 18px 64px; }
  .epl-slide-title { font-size: 24px; }
  .epl-slide-note { font-size: 11.5px; }
  .epl-slider-foot { left: 18px; right: 18px; bottom: 16px; gap: 10px; }
  .epl-dots button { width: 22px; }

  .epl-focus { flex-direction: column; }
  .epl-next { width: auto; }

  /* 赛程卡：2026-11-18 用户口径「移动端从上往下平铺，不要滚动条」——
     原来这档是横滑（flex + overflow-x:auto + scroll-snap，一屏露两张半），
     手机上得靠手指拨才看得全，和「共 N 场」也对不上。现在改回网格单列，
     卡片撑满版心、往下滚就是下一场，和文章流一样。
     注意 ≤520 那档里原来还有一条给横滑用的负边距 + 内补，已一并删掉 ——
     留着会让网格左右各溢出 12px，反而又冒出一条横向滚动条。 */
  .epl-match-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .epl-data-grid { grid-template-columns: 1fr; }
  .epl-panel-standings { grid-column: auto; }
  .epl-news-list { grid-template-columns: 1fr; }
  .epl-hl { padding: 26px 16px 22px; border-radius: 15px; }
  .epl-hl-grid { grid-auto-rows: 150px; }
  .epl-hl-card.is-big { grid-row: span 1; }
  .epl-hl-card.is-big .epl-hl-info h4 { font-size: 13.5px; }
  .epl-about { padding: 28px 18px; }
  .epl-about-copy h2 { font-size: 22px; }
  .epl-about-stats { grid-template-columns: repeat(2, 1fr); }
  .epl-coach-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .epl-home { padding: 0 12px 36px; }
  .epl-slider { height: 320px; }
  .epl-slide-title { font-size: 21px; }
  .epl-slide-note { display: none; }
  .epl-slide-count { display: none; }
  .epl-slider-arrows button { width: 30px; height: 30px; }
  .epl-live { padding: 15px 13px 13px; }
  .epl-live-num { font-size: 30px; }
  .epl-hl-grid { grid-template-columns: 1fr; grid-auto-rows: 160px; }
  .epl-hl-card.is-big { grid-column: span 1; }
  .epl-sec-head h2 { font-size: 19px; }
  .epl-goal-row { grid-template-columns: 12px 18px 62px 1fr 24px; }
  .epl-about-copy h2 { font-size: 20px; }
  .epl-about-stat b { font-size: 22px; }
}

/* 动效偏好：关掉轮播过渡与进度条动画，别让人晕 */
@media (prefers-reduced-motion: reduce) {
  .epl-newsbar-item { transition: none; transform: none; }
  .epl-dots button.is-on::after { animation: none; transform: scaleX(1); }
  .epl-kicker i,
  .epl-live-chip i,
  .epl-slide-tag i { animation: none; }
  .epl-slide-media { transition: none; }
}
