@charset "utf-8";
/* ============================================================================
   a6.css —— 只属于 A6 这套前台的差异样式

   用途：A6（从 A5 复制而来，作为新前台模板）跟其它几套前台要有肉眼可见的区别，但**不改公共样式**
   （app.css 是 web/front 用 tailwind 构建的，改了会连带影响原前台）。

   目前动三处：
     · 页头（2026-10-24 重做）：桌面是「文字 + 会滑进来的下划线」的栏目导航，
       站名前面一个强调色站标方块；手机换成汉堡 + 左侧抽屉（点一下弹出来）
     · 全站背景图（site_settings.background_image）：原图原样显示，不再压淡
     · 首页那套「赛事控制台」版式：表头、序号块、斑马纹、滚动条等一堆小零件

   加载位置：_Head.cshtml 末尾（在 app.css 和皮肤 css 之后），
   所以这里靠同名选择器就能覆盖公共类（.ui-pill / .ui-chip 等）的默认值，不需要 !important。
   ============================================================================ */

/* ============================================================================
   页头（2026-10-24 再次重做：桌面双层刊头）

   和 A5 的差别，都落在「像门户刊头，不像一排按钮」上：
     · 桌面分两层：上层只有站标 / 站名和「正在直播」，下层是通栏菜单；
     · 菜单不是靠左挤成一排，而是等宽铺满整行，栏目之间用细竖线分开，
       当前栏目保留居中的强调色短线 —— 和 A5 的单行胶囊导航完全两种结构；
     · 站名下面补一行「赛事 · 比分 · 直播」的品牌说明；
     · 手机端结构不变，仍是汉堡 + 左侧抽屉（见下面 .a6-drawer）。

   断点只有一个：1024px 以上走桌面双层页头，以下全部收进抽屉。
   ============================================================================ */

.a6-hd {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-block: 0.55rem;
}

/* ---- 站标：渐变方块 + 站名 ---- */
.a6-brand {
  display: inline-flex;
  /* 窄屏允许被压缩（站名截断），否则长站名会把汉堡挤出屏幕；桌面端再改回不压缩 */
  flex: 1 1 auto;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.a6-brand-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background-image: linear-gradient(135deg,
    rgb(var(--accent-rgb)) 0%,
    rgb(var(--accent-2-rgb, var(--accent-rgb))) 100%);
  box-shadow: 0 6px 14px -7px rgb(var(--accent-rgb) / 0.9);
}

.a6-brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.05rem;
}

.a6-brand-name {
  min-width: 0;
  font-size: 1.0625rem;      /* 17px */
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 手机端只留站名，说明文字不占页头高度 */
.a6-brand-sub {
  display: none;
}

/* ---- 桌面导航：默认不出现，≥1024 才换成它 ---- */
.a6-nav {
  display: none;
}

.a6-nav-link {
  position: relative;
  padding: 0.5rem 0.7rem;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--header-ink-dim);
  border-radius: 0.5rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

/* 下划线：平时缩成 0，hover / 当前栏目时从左往右长出来 */
.a6-nav-link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: rgb(var(--accent-rgb));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.a6-nav-link:hover {
  color: var(--header-ink);
  background: var(--header-hover);
}

.a6-nav-link:hover::after,
.a6-nav-link.is-active::after {
  transform: scaleX(1);
}

.a6-nav-link.is-active {
  color: var(--header-ink);
  font-weight: 700;
}

/* 直播入口：手机收进抽屉，桌面靠最右 */
.a6-nav-live {
  display: none;
}

@media (min-width: 1024px) {
  /* 双层网格：上层品牌 / 直播，下层通栏菜单。DOM 顺序不用变。 */
  .a6-hd {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand live"
      "nav   nav";
    column-gap: 1.5rem;
    padding-block: 0;
  }

  .a6-brand {
    grid-area: brand;
    flex: none;
    gap: 0.7rem;
    padding-block: 0.85rem;
  }

  .a6-brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.7rem;
    font-size: 1.125rem;
  }

  .a6-brand > img {
    width: auto;
    height: 2.5rem;
  }

  .a6-brand-name {
    font-size: 1.375rem;       /* 22px：刊头站名，视线第一落点 */
    line-height: 1.2;
    letter-spacing: -0.025em;
  }

  .a6-brand-sub {
    display: block;
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.16em;
    color: var(--header-ink-dim);
  }

  .a6-nav {
    grid-area: nav;
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--header-line);
  }

  .a6-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.72rem 0.5rem 0.68rem;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    text-align: center;
    transition: color 0.15s ease, background-color 0.15s ease;
  }

  .a6-nav-link + .a6-nav-link {
    border-left: 1px solid var(--header-line);
  }

  .a6-nav-link:hover {
    background: var(--header-hover);
  }

  /* 下划线缩到栏目中间，不再拉满整格：像刊头目录，而不是 tab 条 */
  .a6-nav-link::after {
    left: 50%;
    right: auto;
    bottom: 0;
    width: 24px;
    margin-left: -12px;
    height: 2px;
  }

  .a6-nav-live {
    grid-area: live;
    display: inline-flex;
    align-self: center;
    margin-left: 0;
  }
}

/* ---- 汉堡：只有窄屏出现 ---- */
.a6-burger {
  display: inline-flex;
  flex: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  padding: 0 0.65rem;
  border: 1px solid var(--header-line);
  border-radius: 0.75rem;
  background: var(--header-hover);
  color: var(--header-ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.a6-burger > span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.a6-burger:focus-visible {
  outline: 2px solid rgb(var(--accent-rgb));
  outline-offset: 2px;
}

@media (min-width: 1024px) {
  .a6-burger {
    display: none;
  }
}

/* ============================================================================
   手机侧边抽屉菜单

   结构（见 _Nav.cshtml）：
     .a6-drawer               铺满视口的固定层，收起时 visibility:hidden（不进 Tab 序）
       .a6-drawer-mask        半透明遮罩，点一下关
       .a6-drawer-panel       从左边滑进来的面板
           .a6-drawer-top     沿用页头渐变，像页头被拉开了
           .a6-drawer-body    纯栏目列表（不放直播入口 / 网站地图，减少干扰）

   JS 只负责给 <html> 加/去 .a6-drawer-open，动画全在 CSS 里。
   ============================================================================ */
.a6-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  /* 收起时先让面板滑出去再隐藏：否则 visibility 立刻生效，动画看不见 */
  transition: visibility 0s linear 0.3s;
}

html.a6-drawer-open .a6-drawer {
  visibility: visible;
  transition-delay: 0s;
}

/* 抽屉开着时页面不能跟着滚 */
html.a6-drawer-open {
  overflow: hidden;
}

.a6-drawer-mask {
  position: absolute;
  inset: 0;
  background: rgb(2 6 23 / 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

html.a6-drawer-open .a6-drawer-mask {
  opacity: 1;
}

.a6-drawer-panel {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  display: flex;
  flex-direction: column;
  width: min(82vw, 320px);
  max-width: 100%;
  overflow: hidden;
  background: var(--a6-card, #fff);
  color: var(--a6-ink-title, #0f172a);
  border-inline-end: 1px solid var(--a6-line-2, #e2e8f0);
  box-shadow: 24px 0 60px -30px rgb(2 6 23 / 0.55);
  transform: translateX(-102%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

html.a6-drawer-open .a6-drawer-panel {
  transform: none;
}

.a6-drawer-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 0.9rem;
  background: var(--header-bg, #0f172a);
  color: var(--header-ink, #fff);
  border-bottom: 1px solid var(--header-line, rgb(255 255 255 / 0.1));
}

.a6-drawer-title {
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.a6-drawer-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  border: 1px solid var(--header-line, rgb(255 255 255 / 0.18));
  border-radius: 999px;
  background: var(--header-hover, rgb(255 255 255 / 0.12));
  color: inherit;
  cursor: pointer;
}

.a6-drawer-close:focus-visible {
  outline: 2px solid rgb(var(--accent-rgb));
  outline-offset: 2px;
}

.a6-drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;   /* 抽屉滑到底时别把背后页面带着滚 */
  padding: 0.55rem 0.55rem 1rem;
}

.a6-dnav {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 每条 48px 高：手指点得中，不用瞄 */
.a6-dnav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.7rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--a6-ink-2, #334155);
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.a6-dnav-link:active {
  background: var(--a6-card-2, #f8fafc);
}

/* 当前栏目：左侧一条强调色竖线 + 一层淡底，和桌面端的下划线是一套语言 */
.a6-dnav-link.is-active {
  color: var(--a6-ink-title, #0f172a);
  background: rgb(var(--accent-rgb) / 0.1);
}

.a6-dnav-link.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 1.25rem;
  margin-top: -0.625rem;
  border-radius: 3px;
  background: rgb(var(--accent-rgb));
}

.a6-dnav-caret {
  flex: none;
  color: var(--a6-dim, #94a3b8);
}

/* ---- 右侧「正在直播」入口 ----
   用强调色的**描边**而不是实底：和当前页胶囊（也是强调色）拉开层次，
   深色页头上是一圈橙色边框 + 一个呼吸的小圆点，像控制台的 LIVE 按钮。 */
.nav-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 0.6rem;       /* 紧跟最后一个菜单，不顶到最右 */
  padding: 0.28rem 0.65rem;
  border: 1px solid rgb(var(--accent-rgb) / 0.5);
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.1);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--header-ink, #0f172a);
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nav-live-pill:hover {
  border-color: transparent;
  background: rgb(var(--accent-rgb));
  color: var(--a6-on-accent, #fff);
}

.nav-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgb(var(--accent-rgb));
  animation: a6-live-pulse 1.8s ease-in-out infinite;
}

.nav-live-pill:hover .nav-live-dot {
  background: currentColor;
}

@keyframes a6-live-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-live-dot { animation: none; }
}

@media (min-width: 640px) {
  .nav-live-pill {
    padding: 0.38rem 0.85rem;
    font-size: 0.8125rem;
  }
}

/* 直播入口只给桌面刊头用。.nav-live-pill 自己的 display:inline-flex 在文件后面，
   单靠上面的 .a6-nav-live 压不住；这里用两个类名提高优先级，手机才真的只剩汉堡。 */
.nav-live-pill.a6-nav-live {
  display: none;
}

@media (min-width: 1024px) {
  .nav-live-pill.a6-nav-live {
    display: inline-flex;
  }
}

/* ============================================================================
   队徽（2026-10-23）

   比赛卡、赛程行、比赛详情三处共用一套结构：

     <span class="a6-team-logo a6-team-logo-sm">
       <span>首字</span>                       ← 兜底层，永远在
       <img src="…" onerror="this.remove()">  ← 图叠在上面，加载失败就自己消失
     </span>

   为什么不直接 @if (有图) 二选一：采集源给的图常是外链，挂了 / 403 /
   慢得离谱都很常见，二选一的结果就是页面上一排破图。叠层法最坏情况
   只是「显示首字」，和没图时长得一样。

   尺寸走 --a6-logo 变量，三档：sm 18 / md 36 / lg 56。
   ============================================================================ */
.a6-team-logo {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--a6-logo, 18px);
  height: var(--a6-logo, 18px);
  overflow: hidden;
  border-radius: 999px;
  background: var(--a6-soft, #f1f5f9);
  color: var(--a6-muted, #64748b);
  font-size: calc(var(--a6-logo, 18px) * 0.46);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  user-select: none;
}

.a6-team-logo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.a6-team-logo-sm { --a6-logo: 18px; }
.a6-team-logo-md { --a6-logo: 36px; }
.a6-team-logo-lg { --a6-logo: 56px; }

/* 球衣颜色偏白的队徽（皇马、尤文这类）在浅色底上会糊掉，垫一层极淡的描边 */
.a6-team-logo {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a6-line-3, #cbd5e1) 55%, transparent);
}

/* ============================================================================
   全站背景图

   app.css 里 body::before 把这层压到 opacity: .16（公共样式，两个前台共用），
   视觉上几乎看不见。A6 这边要求「后台设了什么就显示什么」，所以这里覆盖回 1。
   只改透明度，其余保持公共样式的行为：fixed 铺满、cover 居中裁切、z-index:-1
   垫在内容下面。深色主题各自会把透明度压低（见下面每个主题块），
   否则整页被照片冲淡，就不是那个配色了。
   ============================================================================ */
body::before {
  opacity: 1;
}

/* ============================================================================
   主题系统（2026-10-23 重做；当天下午精简为「1 白 + 5 彩」）

   结构是**令牌驱动**，三层半：

     ① 默认令牌层  `body[data-theme] { --a6-card: … }`
        值就是原来模板里写死的 slate 阶梯，所以素白和以前的默认长相一致。

     ② 主题令牌层  `body[data-theme='xxx'] { …十几行… }`
        每套只声明自己的底色 / 卡片 / 线条 / 文字 / 强调色 / 页头 / 氛围光。
        新增一套配色 = 加一个这样的块 + 后台 themes.ts 加一张卡，别处不用动。

     ③ 映射层（只写一遍）
        把模板里的浅色工具类（.text-slate-900 / .bg-white / .border-slate-200 …）
        和组件类（.ui-card / .ui-chip / .ui-badge / .ui-article …）映射到令牌上。

     ④ 装饰层（只写一遍）
        光靠换色页面会「一片平」，所以这里统一加质感：页面顶部的氛围光、
        页头底部渐隐的强调色细线、栏目标题渐变色条、卡片顶光、直播卡 hover 微光、
        选中胶囊 / 名次块 / 进度条走 accent→accent-2 渐变。
        全部由令牌驱动，所以每套配色自动都有，不用逐套调。

   配色的来历：「配色方案对比.html」里的夜场绿(t1) / 深蓝金(t3) / 深海极光(t7) /
   白色西瓜红(t11) / 云朵蓝白(t12)。黑白两套（纯黑/纯白）已按运营要求下线，
   只保留一套重做的白色主题 white-clean（墨绿点缀的白，比原来的纯白有层次）。

   ⚠️ 强调色令牌 --accent-rgb 仍然归皮肤系统所有，浅色主题不要在令牌层重新定义它，
      否则会盖掉 input.css 里的皮肤块（本文件在 app.css 之后加载，同特异性后者赢）。
   ============================================================================ */

/* ---------------------------------------------------------------------------
   ① 默认令牌（浅色基线）
   命名对齐 Tailwind 的 slate 阶梯，方便和模板里的类一一对应：
     ink-title 900 / ink 800 / ink-2 700 / muted 600·500 / dim 400 / dim-2 300
   --------------------------------------------------------------------------- */
body[data-theme] {
  --a6-card: #ffffff;            /* 卡片底（= bg-white） */
  --a6-card-2: #f8fafc;          /* 次级块：斑马纹、hover 底（= bg-slate-50） */
  --a6-soft: #f1f5f9;            /* 再深一层：表头、序号块（= bg-slate-100） */

  --a6-line: #f1f5f9;            /* 细线（= border-slate-100） */
  --a6-line-2: #e2e8f0;          /* 常规线（= border-slate-200） */
  --a6-line-3: #cbd5e1;          /* 强线 / hover 线（= border-slate-300） */

  --a6-ink-title: #0f172a;       /* 标题、比分（= text-slate-900） */
  --a6-ink: #1e293b;             /* 强调正文（= text-slate-800） */
  --a6-ink-2: #334155;           /* 正文（= text-slate-700） */
  --a6-muted: #64748b;           /* 次要（= text-slate-500/600） */
  --a6-dim: #94a3b8;             /* 说明、日期（= text-slate-400） */
  --a6-dim-2: #cbd5e1;           /* 装饰（= text-slate-300） */

  --a6-on-accent: #ffffff;       /* 强调色实心块上的字色 */
  --a6-accent-alt: #6366f1;      /* 篮球用的第二品牌色（与足球强调色区分） */

  /* —— 直播红（2026-10-23）——
     「正在直播」不再跟主题强调色走：强调色是品牌色，一个站只看得出「哪个站」，
     看不出「哪场在打」。所以直播统一压成红系，且比强调色更深/更饱和，
     一片强调色的徽标里只有红的那几颗在跳。
     浅色主题用 #c81e2b（白字 5.7:1），深色主题单独提亮到 #e02b39（白字 4.6:1）。 */
  --a6-hot-rgb: 200 30 44;
  --a6-hot-2-rgb: 163 18 31;     /* 渐变落点，比主红深一档 */
  --a6-on-hot: #ffffff;          /* 红底上的字色，恒为白 */
  --a6-hot-soft: color-mix(in srgb, rgb(var(--a6-hot-rgb)) 14%, transparent);
  --a6-hot-ring: color-mix(in srgb, rgb(var(--a6-hot-rgb)) 34%, transparent);
  --a6-hot-wash: color-mix(in srgb, rgb(var(--a6-hot-rgb)) 7%, transparent);
  --a6-hot-text: #c81e2b;        /* 红「字」（不是红底）：浅底上要压深才够 4.5:1 */
  --a6-accent-ink: rgb(var(--accent-rgb));  /* 强调色的「文字版」：个别主题要单独压深才够对比 */
  --a6-scroll: #cbd5e1;          /* 细滚动条 */
  --a6-ring: rgb(15 23 42 / 0.08);
  --a6-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 10px 26px rgb(15 23 42 / 0.06);
  --a6-hero-shade: linear-gradient(to top, rgb(0 0 0 / 0.68) 0%, rgb(0 0 0 / 0.28) 55%, transparent 100%);

  /* —— 装饰层用的派生令牌（不用逐套写，跟着 --accent-rgb 自动走） —— */
  --a6-glow: rgb(15 40 70 / 0.055);                                   /* 页面顶部氛围光 */
  /* 整页氛围光的**形状**也做成令牌：三套深色各自换光斑位置，
     否则换个色相但光还是同一束，页面看着还是同一套皮肤。 */
  --a6-page-glow: radial-gradient(1180px 520px at 50% -12%, var(--a6-glow) 0%, transparent 72%);
  --a6-accent-soft: color-mix(in srgb, rgb(var(--accent-rgb)) 10%, transparent);
  --a6-accent-ring: color-mix(in srgb, rgb(var(--accent-rgb)) 26%, transparent);
  --a6-card-sheen: none;                                             /* 卡片顶光，深色主题才给 */
  --a6-header-shadow: 0 8px 22px -18px rgb(15 23 42 / 0.5);
}

/* ---------------------------------------------------------------------------
   ②-0 白色（white-clean）—— 白底 + 石墨字 + 墨绿点缀
   这是原来「素白」的替代版：底色还是纯白，但补了
     · 页头一层极淡的墨绿光，不再是死白一块
     · 墨绿 accent 让徽标 / 色条 / 选中胶囊有颜色（纯黑 accent 在纯白上等于没点缀）
   对比度：muted #586673 ≈ 6.1:1、dim #6f7d89 ≈ 4.6:1，白底上够 AA。
   --------------------------------------------------------------------------- */
body[data-theme='white-clean'] {
  --accent-rgb: 15 118 110;      /* #0f766e 墨绿 */
  --accent-2-rgb: 13 148 136;    /* #0d9488 亮一档，用于渐变落点 */
  --muted-rgb: 148 163 184;

  --page-bg: #f8fafb;            /* 极浅灰白：白卡片才有边，纯白底上卡片会糊成一片 */
  --header-bg: radial-gradient(560px 150px at 12% 0%, rgb(15 118 110 / 0.09), transparent 74%), #ffffff;
  --header-ink: #101418;
  --header-ink-dim: rgb(16 20 24 / 0.66);
  --header-line: #e8ebf0;
  --header-hover: rgb(15 118 110 / 0.08);
  --header-active-bg: #0f766e;

  --a6-card: #ffffff;
  --a6-card-2: #f7f9fa;
  --a6-soft: #eef2f4;
  --a6-line: #eef1f4;
  --a6-line-2: #e3e8ee;
  --a6-line-3: #cfd8e0;

  --a6-ink-title: #0d1218;
  --a6-ink: #161d24;
  --a6-ink-2: #33404c;
  --a6-muted: #586673;
  --a6-dim: #66747f;
  --a6-dim-2: #b3bec8;

  --a6-on-accent: #ffffff;
  --a6-accent-alt: #0d9488;
  --a6-scroll: #cfd8e0;
  --a6-ring: rgb(15 118 110 / 0.1);
  --a6-shadow: 0 1px 2px rgb(16 24 32 / 0.04), 0 12px 28px -18px rgb(16 24 32 / 0.22);

  --a6-glow: rgb(15 118 110 / 0.06);
  --a6-accent-soft: color-mix(in srgb, rgb(var(--accent-rgb)) 8%, transparent);
  --a6-accent-ring: color-mix(in srgb, rgb(var(--accent-rgb)) 22%, transparent);
  --a6-header-shadow: 0 8px 22px -20px rgb(16 24 32 / 0.45);
}

/* ---------------------------------------------------------------------------
   ②-1 夜场绿（night-green）—— 墨绿黑 + 荧光绿，主场感
   三套深色里唯一「底色发绿」的一套：页面底 #06110f、卡片 #0b1a16 都带绿，
   文字也偏绿白（#e6f3ec）。页头一圈更浓的绿色「场馆灯」，右上角再补一盏。
   --------------------------------------------------------------------------- */
body[data-theme='night-green'] {
  color-scheme: dark;

  --accent-rgb: 47 191 113;
  --accent-2-rgb: 122 219 170;
  --muted-rgb: 95 117 144;

  --page-bg: #05120e;
  --header-bg:
    radial-gradient(520px 150px at 10% 0%, rgb(47 191 113 / 0.22), transparent 72%),
    linear-gradient(100deg, #0c2818 0%, #05110c 100%);
  --header-ink: #eaf6ef;
  --header-ink-dim: rgb(234 246 239 / 0.66);
  --header-line: rgb(255 255 255 / 0.07);
  --header-hover: rgb(255 255 255 / 0.07);
  --header-active-bg: #123420;

  --a6-card: #0b1d16;
  --a6-card-2: #10261f;
  --a6-soft: #15332b;
  --a6-line: #183a30;
  --a6-line-2: #21483b;
  --a6-line-3: #2c5f4d;

  --a6-ink-title: #f1faf5;
  --a6-ink: #e6f3ec;
  --a6-ink-2: #bfd8cd;
  --a6-muted: #90b3a4;
  --a6-dim: #7ba192;
  --a6-dim-2: #57786b;

  --a6-on-accent: #04120a;       /* 荧光绿底上用深字 */
  --a6-accent-alt: #7adbaa;
  /* 直播红：深底上要提亮，不然红块发闷、跳不出来 */
  --a6-hot-rgb: 224 43 57;
  --a6-hot-2-rgb: 195 25 40;
  --a6-hot-text: #ff6b75;
  --a6-scroll: #2b5a4a;
  --a6-ring: rgb(255 255 255 / 0.08);
  --a6-shadow: inset 0 1px 0 rgb(170 255 215 / 0.05), 0 2px 4px rgb(0 0 0 / 0.35), 0 14px 32px -18px rgb(0 0 0 / 0.7);

  --a6-glow: rgb(47 191 113 / 0.17);
  /* 光斑：主灯在正中偏左，右上角一盏小的 —— 像球场上方的两排灯 */
  --a6-page-glow:
    radial-gradient(1100px 520px at 46% -12%, var(--a6-glow) 0%, transparent 72%),
    radial-gradient(620px 340px at 90% -4%, rgb(47 191 113 / 0.08) 0%, transparent 70%);
  --a6-card-sheen: linear-gradient(180deg, rgb(170 255 215 / 0.05) 0%, transparent 55%);
  --a6-header-shadow: 0 10px 30px -18px rgb(0 0 0 / 0.85);
}

body[data-theme='night-green']::before {
  opacity: 0.85;
}

/* ---------------------------------------------------------------------------
   ②-2 深蓝金（gold-night）—— 藏蓝黑 + 金色，看球经典
   三套深色里最「冷蓝」的一套：页面底 #040a17、卡片 #081527 都是纯蓝相，
   不含绿；页头是更深的藏蓝渐变 + 左上金光，卡片顶光带一点暖金。
   --------------------------------------------------------------------------- */
body[data-theme='gold-night'] {
  color-scheme: dark;

  --accent-rgb: 255 197 61;
  --accent-2-rgb: 255 224 138;
  --muted-rgb: 91 111 140;

  --page-bg: #040a17;
  --header-bg:
    radial-gradient(520px 150px at 10% 0%, rgb(255 197 61 / 0.18), transparent 72%),
    linear-gradient(100deg, #0b1e3a 0%, #050f1f 100%);
  --header-ink: #edf2f9;
  --header-ink-dim: rgb(237 242 249 / 0.66);
  --header-line: rgb(255 255 255 / 0.07);
  --header-hover: rgb(255 255 255 / 0.07);
  --header-active-bg: #13294a;

  --a6-card: #081527;
  --a6-card-2: #0b1e35;
  --a6-soft: #102848;
  --a6-line: #142c4c;
  --a6-line-2: #1b3960;
  --a6-line-3: #274876;

  --a6-ink-title: #f7faff;
  --a6-ink: #edf2f9;
  --a6-ink-2: #c4d5e9;
  --a6-muted: #8ea5c3;
  --a6-dim: #7a91ae;
  --a6-dim-2: #5a6f8d;

  --a6-on-accent: #1a1200;
  --a6-accent-alt: #ffd97a;
  /* 直播红：深底上要提亮 */
  --a6-hot-rgb: 224 43 57;
  --a6-hot-2-rgb: 195 25 40;
  --a6-hot-text: #ff6b75;
  --a6-scroll: #274876;
  --a6-ring: rgb(255 255 255 / 0.08);
  --a6-shadow: inset 0 1px 0 rgb(255 240 200 / 0.05), 0 2px 4px rgb(0 0 0 / 0.35), 0 14px 32px -18px rgb(0 0 0 / 0.7);

  --a6-glow: rgb(255 197 61 / 0.12);
  /* 光斑：金光压在上面，底下一层冷蓝，和 night-green 的「绿灯」完全两种光 */
  --a6-page-glow:
    radial-gradient(980px 480px at 44% -12%, var(--a6-glow) 0%, transparent 72%),
    radial-gradient(760px 420px at 54% -8%, rgb(70 120 210 / 0.10) 0%, transparent 70%);
  --a6-card-sheen: linear-gradient(180deg, rgb(255 220 140 / 0.05) 0%, transparent 55%);
  --a6-header-shadow: 0 10px 30px -18px rgb(0 0 0 / 0.85);
}

body[data-theme='gold-night']::before {
  opacity: 0.85;
}

/* ---------------------------------------------------------------------------
   ②-3 深海极光（aurora）—— 青墨底 + 蓝→青双色极光
   三套深色里唯一「底色发青、带整页渐变」的一套：底 #03141d 比两边都更青，
   文字偏青白；页头蓝→青过渡，整页再叠左蓝右青两团极光（见 ⑤）。
   --------------------------------------------------------------------------- */
body[data-theme='aurora'] {
  color-scheme: dark;

  --accent-rgb: 0 229 160;
  --accent-2-rgb: 56 189 248;
  --muted-rgb: 85 128 124;

  --page-bg: #03141d;
  --header-bg: linear-gradient(100deg, #0a2148 0%, #083a44 58%, #052b31 100%);
  --header-ink: #eaf6f4;
  --header-ink-dim: rgb(234 246 244 / 0.66);
  --header-line: rgb(255 255 255 / 0.07);
  --header-hover: rgb(255 255 255 / 0.08);
  --header-active-bg: #0f2a38;

  --a6-card: #07202b;
  --a6-card-2: #0a2632;
  --a6-soft: #0d2e3b;
  --a6-line: #10333f;
  --a6-line-2: #173f4d;
  --a6-line-3: #205263;

  --a6-ink-title: #f1fbf8;
  --a6-ink: #e6f5f2;
  --a6-ink-2: #bcdcd6;
  --a6-muted: #8ab5ae;
  --a6-dim: #73a099;
  --a6-dim-2: #527c76;

  --a6-on-accent: #04202a;
  --a6-accent-alt: #38bdf8;
  /* 直播红：深底上要提亮 */
  --a6-hot-rgb: 224 43 57;
  --a6-hot-2-rgb: 195 25 40;
  --a6-hot-text: #ff6b75;
  --a6-scroll: #205263;
  --a6-ring: rgb(255 255 255 / 0.08);
  --a6-shadow: inset 0 1px 0 rgb(160 255 235 / 0.05), 0 2px 4px rgb(0 0 0 / 0.35), 0 14px 32px -18px rgb(0 0 0 / 0.7);

  --a6-glow: rgb(0 229 160 / 0.14);
  /* 这套的整页背景在 ⑤ 段重写成「双色极光」，这里只留一个兜底单光 */
  --a6-page-glow: radial-gradient(900px 420px at 50% -10%, var(--a6-glow) 0%, transparent 70%);
  --a6-card-sheen: linear-gradient(180deg, rgb(150 255 230 / 0.05) 0%, transparent 55%);
  --a6-header-shadow: 0 10px 30px -18px rgb(0 0 0 / 0.85);
}

body[data-theme='aurora']::before {
  opacity: 0.85;
}

/* ---------------------------------------------------------------------------
   ②-4 白色西瓜红（watermelon）—— 米白 + 西瓜红，白天用
   浅色主题里 accent 是饱和色，实心块上的字是白色（on-accent 保持 #fff）。
   --------------------------------------------------------------------------- */
body[data-theme='watermelon'] {
  --accent-rgb: 210 58 77;
  --accent-2-rgb: 233 112 92;    /* 偏橙的落点，让渐变有「西瓜」的过渡 */
  --muted-rgb: 176 159 166;

  --page-bg: #f7f2ee;
  --header-bg: radial-gradient(520px 150px at 10% 0%, rgb(210 58 77 / 0.09), transparent 74%), #fcf9f6;
  --header-ink: #3a3138;
  --header-ink-dim: rgb(58 49 56 / 0.7);
  --header-line: #e7ddd6;
  --header-hover: rgb(210 58 77 / 0.09);
  --header-active-bg: #d23a4d;

  --a6-card: #fdfbf9;
  --a6-card-2: #f6f0ea;
  --a6-soft: #f1e9e2;
  --a6-line: #efe7e1;
  --a6-line-2: #e7ddd6;
  --a6-line-3: #daccc3;

  --a6-ink-title: #33292f;
  --a6-ink: #3a3138;
  --a6-ink-2: #544a51;
  --a6-muted: #6f646b;
  --a6-dim: #7a6b73;
  --a6-dim-2: #b3a3aa;

  --a6-on-accent: #ffffff;
  --a6-accent-alt: #d99a1e;
  /* 这套的强调色本来就是红，再拿它当文字色会和直播红撞车（而且 #d23a4d
     在米底上只有 4.24:1）。「即将开始」的文字/描边统一用暖灰，红只留给直播。 */
  --a6-accent-ink: #806065;
  --a6-scroll: #daccc3;
  --a6-ring: rgb(120 60 60 / 0.08);
  --a6-shadow: 0 1px 2px rgb(120 60 60 / 0.05), 0 12px 28px -18px rgb(120 60 60 / 0.28);

  --a6-glow: rgb(210 58 77 / 0.075);
  --a6-header-shadow: 0 8px 22px -20px rgb(120 60 60 / 0.5);
}

body[data-theme='watermelon']::before {
  opacity: 0.22;
}

/* ---------------------------------------------------------------------------
   ②-5 云朵蓝白（cloud-blue）—— 浅蓝白 + 雾蓝，白天清爽
   --------------------------------------------------------------------------- */
body[data-theme='cloud-blue'] {
  --accent-rgb: 71 120 159;
  --accent-2-rgb: 84 168 196;    /* 偏青的落点 */
  --muted-rgb: 166 181 192;

  --page-bg: #edf3f8;
  --header-bg: radial-gradient(520px 150px at 10% 0%, rgb(71 120 159 / 0.12), transparent 74%), #f8fbff;
  --header-ink: #33434f;
  --header-ink-dim: rgb(51 67 79 / 0.7);
  --header-line: #d8e4ee;
  --header-hover: rgb(71 120 159 / 0.1);
  --header-active-bg: #47789f;

  --a6-card: #ffffff;
  --a6-card-2: #f2f7fc;
  --a6-soft: #e9f1f8;
  --a6-line: #e6eef5;
  --a6-line-2: #d8e4ee;
  --a6-line-3: #c6d6e4;

  --a6-ink-title: #2a3946;
  --a6-ink: #33434f;
  --a6-ink-2: #4c5e6b;
  --a6-muted: #52646e;
  --a6-dim: #5e707c;
  --a6-dim-2: #b7c6d2;

  --a6-on-accent: #ffffff;
  --a6-accent-alt: #4c8fb8;
  --a6-scroll: #c6d6e4;
  --a6-ring: rgb(60 90 120 / 0.08);
  --a6-shadow: 0 1px 2px rgb(60 90 120 / 0.05), 0 12px 28px -18px rgb(60 90 120 / 0.26);

  --a6-glow: rgb(71 120 159 / 0.11);
  --a6-header-shadow: 0 8px 22px -20px rgb(60 90 120 / 0.5);
}

body[data-theme='cloud-blue']::before {
  opacity: 0.1;                  /* 站点背景图偏红，压淡一点，别把「蓝白」染成粉色 */
}

/* ---------------------------------------------------------------------------
   深色主题的根元素：viewport 滚动条和「橡皮筋」区域归 html 管，
   只给 body 设 color-scheme 会露出一条白槽。
   （浅色主题不用管，默认就是浅色。）
   --------------------------------------------------------------------------- */
/* ⚠️ 这里必须写**字面色值**：--page-bg 定义在 body 上，html 拿不到它
   （自定义属性只向下继承），写 var(--page-bg) 会全部落到 fallback，
   三套深色的橡皮筋区域就都是同一个颜色。 */
html:has(body[data-theme='night-green']) {
  color-scheme: dark;
  background-color: #05120e;
}

html:has(body[data-theme='gold-night']) {
  color-scheme: dark;
  background-color: #040a17;
}

html:has(body[data-theme='aurora']) {
  color-scheme: dark;
  background-color: #03141d;
}
/* 深色主题的 html 有了不透明底色，body 再刷同色底就会盖住全站背景图
   （body::before 是 z-index:-1，画在 body 自己的背景之下）。把这三套的
   body 底色让出去（页面底色由 html 那层出，颜色一模一样），照片才露得出来。 */
body[data-theme='night-green'],
body[data-theme='gold-night'],
body[data-theme='aurora'] {
  background-color: transparent;
}


/* ============================================================================
   ③ 映射层（所有主题共用，只写一遍）

   特异性说明：`body[data-theme] .xxx` = (0,2,1)，本来就高于单个 Tailwind
   工具类 (0,1,0)，所以靠特异性赢，全篇不用 !important —— 以后想调不会打架。

   hover 变体要单独补：上面那些规则会连同 :hover 一起盖掉（.text-slate-900
   优先级高于 .hover\:text-slate-900:hover），所以下面把用到的 hover 也映射一遍。
   ============================================================================ */

/* ---------------- 组件类：app.css 里写死的浅色底 ---------------- */

body[data-theme] .ui-card {
  background: var(--a6-card);
  border-color: var(--a6-line-2);
  box-shadow: var(--a6-shadow);
}

body[data-theme] .ui-chip {
  background: var(--a6-card);
  border-color: var(--a6-line-2);
  color: var(--a6-ink-2);
}

body[data-theme] .ui-chip:hover {
  border-color: var(--a6-line-3);
  color: var(--a6-ink-title);
}

/* 选中的筛选胶囊：强调色实底 + on-accent 字色（深色主题是深字，浅色是白字） */
body[data-theme] .ui-chip-on,
body[data-theme] .ui-chip-on:hover {
  background: rgb(var(--accent-rgb));
  border-color: transparent;
  color: var(--a6-on-accent);
}

/* 状态徽标（进行中 / 即将开始 / 已结束）都是强调色系的实底 */
body[data-theme] .ui-badge {
  color: var(--a6-on-accent);
}

/* 实心强调色块（日期卡、栏目标题条）里的白字：跟着 on-accent 走 */
body[data-theme] .bg-live,
body[data-theme] .bg-upcoming,
body[data-theme] .bg-finished {
  color: var(--a6-on-accent);
}

body[data-theme] .bg-live .text-white\/80,
body[data-theme] .bg-upcoming .text-white\/80,
body[data-theme] .bg-finished .text-white\/80 {
  color: color-mix(in srgb, var(--a6-on-accent) 72%, transparent);
}

/* 文章正文：富文本里写死 slate-700 正文 + slate-900 标题 + slate-200 边框 */
body[data-theme] .ui-article {
  color: var(--a6-ink-2);
}

body[data-theme] .ui-article h1,
body[data-theme] .ui-article h2,
body[data-theme] .ui-article h3 {
  color: var(--a6-ink-title);
}

body[data-theme] .ui-article blockquote {
  color: var(--a6-muted);
  border-color: color-mix(in srgb, rgb(var(--accent-rgb)) 55%, transparent);
}

body[data-theme] .ui-article th,
body[data-theme] .ui-article td {
  border-color: var(--a6-line-2);
}

body[data-theme] .ui-article th {
  background: var(--a6-card-2);
  color: var(--a6-ink-title);
}

body[data-theme] .ui-article hr {
  border-color: var(--a6-line-2);
}

/* ---------------- 模板里写死的 Tailwind 浅色工具类 ---------------- */

body[data-theme] .text-slate-900 { color: var(--a6-ink-title); }
body[data-theme] .text-slate-800 { color: var(--a6-ink); }
body[data-theme] .text-slate-700 { color: var(--a6-ink-2); }
body[data-theme] .text-slate-600,
body[data-theme] .text-slate-500 { color: var(--a6-muted); }
body[data-theme] .text-slate-400 { color: var(--a6-dim); }
body[data-theme] .text-slate-300 { color: var(--a6-dim-2); }

body[data-theme] .bg-white { background-color: var(--a6-card); }
body[data-theme] .bg-slate-50 { background-color: var(--a6-card-2); }
body[data-theme] .bg-slate-100 { background-color: var(--a6-soft); }
body[data-theme] .bg-slate-200 { background-color: var(--a6-line-2); }
body[data-theme] .bg-slate-300 { background-color: var(--a6-line-3); }

body[data-theme] .border-slate-100 { border-color: var(--a6-line); }
body[data-theme] .border-slate-200 { border-color: var(--a6-line-2); }
body[data-theme] .border-slate-300 { border-color: var(--a6-line-3); }

body[data-theme] .divide-slate-100 > :not([hidden]) ~ :not([hidden]),
body[data-theme] .divide-y > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--a6-line);
}

body[data-theme] .ring-slate-200 { --tw-ring-color: var(--a6-ring); }
body[data-theme] .ring-slate-900 { --tw-ring-color: color-mix(in srgb, var(--a6-ink-title) 16%, transparent); }

body[data-theme] .hover\:text-slate-900:hover { color: var(--a6-ink-title); }
body[data-theme] .hover\:bg-slate-50:hover { background-color: var(--a6-card-2); }
body[data-theme] .hover\:bg-slate-200:hover { background-color: var(--a6-soft); }
body[data-theme] .hover\:border-slate-300:hover { border-color: var(--a6-line-3); }

/* ============================================================================
   ④ 装饰层（所有主题共用）

   只换颜色的话页面会「一片平」：一排一模一样的白卡片、一个死白的页头。
   这一段统一加质感，全部由令牌驱动 —— 换主题时自动跟着变色，不用逐套调。
   ============================================================================ */

/* ---- 4.1 页面顶部一层「氛围光」 ----
   不是纯色底，从上往下淡出，页面有纵深；深色主题像看台上打的一束灯。
   形状走 --a6-page-glow，深色三套各自换光斑，辨识度不全压在色相上。 */
body[data-theme] {
  background-image: var(--a6-page-glow);
  background-repeat: no-repeat;
}

/* ---- 4.2 页头：底部一条渐隐的强调色细线 + 一层软投影 ----
   细线两端淡出，中间最亮，比一条实线更「贵」；投影把吸顶页头和内容分开。 */
body[data-theme] .site-header {
  box-shadow: var(--a6-header-shadow, 0 8px 22px -18px rgb(15 23 42 / 0.5));
}

body[data-theme] .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--a6-accent-ring) 16%,
    rgb(var(--accent-rgb)) 50%,
    var(--a6-accent-ring) 84%,
    transparent 100%);
  opacity: 0.6;
}

/* ---- 4.3 栏目标题前的色条：竖条渐变 + 一圈微光 ----
   （模板里原来写的是 span.h-4.w-1.bg-live，已统一换成 .a6-sec-bar） */
body[data-theme] .a6-sec-bar {
  display: block;
  width: 4px;
  height: 17px;
  flex: none;
  border-radius: 3px;
  background-image: linear-gradient(180deg,
    rgb(var(--accent-rgb)) 0%,
    rgb(var(--accent-2-rgb, var(--accent-rgb))) 100%);
  box-shadow: 0 0 12px var(--a6-accent-ring);
}

/* ---- 4.4 左栏小标题：小方点 → 竖条（和右栏标题一个语言，只是更小一号） ---- */
body[data-theme] .a6-side-head::before {
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: rgb(var(--accent-rgb));
  background-image: linear-gradient(180deg,
    rgb(var(--accent-rgb)) 0%,
    rgb(var(--accent-2-rgb, var(--accent-rgb))) 100%);
  box-shadow: 0 0 10px var(--a6-accent-ring);
}

/* ---- 4.5 卡片：深色主题顶部一道微光（卡片不再是「一块平的深灰」） ---- */
body[data-theme] .ui-card {
  background-image: var(--a6-card-sheen, none);
}

/* 可点的卡片（直播卡）：hover 时描边泛出强调色 */
body[data-theme] a.ui-card {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body[data-theme] a.ui-card:hover {
  border-color: var(--a6-accent-ring);
  box-shadow: var(--a6-shadow), 0 0 0 3px var(--a6-accent-soft);
}

/* ---- 4.6 直播卡：右上角一层强调色微光，hover 淡入 ---- */
body[data-theme] .a6-match-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

body[data-theme] .a6-match-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: radial-gradient(160px 120px at 100% 0%, var(--a6-accent-soft) 0%, transparent 72%);
}

body[data-theme] .a6-match-card:hover::before {
  opacity: 1;
}

/* ---- 4.7 「正在直播」= 红系（2026-10-23）----

   在这一版之前，直播徽标跟强调色走：夜场绿 → 绿、深蓝金 → 金。
   问题是强调色是「品牌色」，满屏徽标同色，看不出哪几场在打。
   现在直播单独抽成红系令牌（--a6-hot-*），不管切哪套配色都是同一颗红，
   同一个「在打」的信号，而且比强调色更饱和、带光晕，一眼能挑出来。

   覆盖面：徽标本身 / 直播卡（顶部红细线 + 淡红光）/ 赛程行（淡红底 + 左侧红竖条）/
   筛选胶囊选中态 / 「进行中 N 场」的计数 / 页头直播入口的小圆点。
   -------------------------------------------------------------------------- */

/* 4.7.1 徽标：红实底白字 + 外圈柔光，字重加粗（小字号要够硬才看得清） */
body[data-theme] .ui-badge.bg-live {
  background-color: rgb(var(--a6-hot-rgb));
  background-image: linear-gradient(135deg,
    rgb(var(--a6-hot-rgb)) 0%,
    rgb(var(--a6-hot-2-rgb, var(--a6-hot-rgb))) 100%);
  color: var(--a6-on-hot);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    0 0 0 3px var(--a6-hot-soft),
    0 5px 14px -5px var(--a6-hot-ring);
}

/* 4.7.1b 另外两档状态一起「降级」：即将开始 / 已结束不再用实心强调色。
   原因：强调色是品牌色，一屏实心块全是它，红就淹了；而且「白色西瓜红」
   那套的强调色本身就是红，实心块会和直播红直接撞车。
   现在全站的实心彩色块只剩「正在直播」一种，语义唯一。 */
body[data-theme] .ui-badge.bg-upcoming {
  background-color: transparent;
  background-image: none;
  color: var(--a6-accent-ink, rgb(var(--accent-rgb)));
  font-weight: 600;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a6-accent-ink, rgb(var(--accent-rgb))) 48%, transparent);
}

body[data-theme] .ui-badge.bg-finished {
  background-color: var(--a6-soft);
  background-image: none;
  color: var(--a6-muted);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--a6-line-2);
}

/* 徽标里的闪烁小点：同色系更亮一档，脉冲时像在「喘气」 */
body[data-theme] .ui-badge.bg-live > .animate-pulse {
  background-color: var(--a6-on-hot);
  box-shadow: 0 0 6px rgb(255 255 255 / 0.75);
}

/* 4.7.2 直播卡：描边转红 + 顶边一道红细线 + 顶部淡红光
   非直播卡完全不动，所以「在打的那几张」是整片网格里唯一暖色的 */
body[data-theme] .a6-match-card:has(.bg-live) {
  border-color: color-mix(in srgb, rgb(var(--a6-hot-rgb)) 46%, var(--a6-line-2));
  background-image: linear-gradient(180deg,
    var(--a6-hot-wash) 0%,
    transparent 46%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, rgb(var(--a6-hot-rgb)) 14%, transparent),
    0 12px 26px -20px var(--a6-hot-ring);
}

body[data-theme] .a6-match-card:has(.bg-live)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 2px;
  border-radius: 0 0 2px 2px;
  pointer-events: none;
  background-image: linear-gradient(90deg,
    transparent 0%,
    rgb(var(--a6-hot-rgb)) 22%,
    rgb(var(--a6-hot-2-rgb, var(--a6-hot-rgb))) 78%,
    transparent 100%);
  opacity: 0.9;
}

/* 直播卡 hover 时，原来那层 accent 微光换成红光 */
body[data-theme] .a6-match-card:has(.bg-live)::before {
  background: radial-gradient(170px 130px at 100% 0%,
    var(--a6-hot-soft) 0%, transparent 72%);
}

/* 4.7.3 赛程行：淡红底 + 左侧红竖条常亮（不用 hover 才出现） */
body[data-theme] .a6-row:has(.bg-live) {
  /* 比卡片顶光再淡一档：整列都是直播行时（筛选了 live），
     7% 叠起来会变成一条粉带，5% 刚好只留一点暖意 */
  background: color-mix(in srgb, rgb(var(--a6-hot-rgb)) 5%, transparent);
}

body[data-theme] .a6-row:has(.bg-live)::before {
  opacity: 1;
  width: 3px;
  background-image: linear-gradient(180deg,
    rgb(var(--a6-hot-rgb)) 0%,
    rgb(var(--a6-hot-2-rgb, var(--a6-hot-rgb))) 100%);
}

/* 4.7.4 筛选胶囊「正在直播」选中态见文件末尾 ⑥（要压过 aurora 的渐变，必须放最后） */

/* 4.7.5 「进行中 N 场」的计数：红字 + 加粗，数字单独跳出来 */
body[data-theme] .a6-count-hot {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--a6-hot-text, rgb(var(--a6-hot-rgb)));
}

/* 4.7.6 页头「正在直播」入口的小圆点：语义就是直播，一并转红 */
.nav-live-dot {
  background-color: rgb(var(--a6-hot-rgb, 200 30 44));
  box-shadow: 0 0 0 3px var(--a6-hot-soft, rgb(200 30 44 / 0.14));
}

/* ---- 4.8 实心强调块统一走 accent → accent-2 渐变 ----
   选中胶囊 / 数据速览进度条 / 回到顶部，三个地方一个语言。 */
body[data-theme] .ui-chip-on,
body[data-theme] .ui-chip-on:hover {
  background-image: linear-gradient(135deg,
    rgb(var(--accent-rgb)) 0%,
    rgb(var(--accent-2-rgb, var(--accent-rgb))) 100%);
  box-shadow: 0 4px 14px -6px var(--a6-accent-ring);
}

body[data-theme] .to-top {
  background-image: linear-gradient(135deg,
    rgb(var(--accent-rgb)) 0%,
    rgb(var(--accent-2-rgb, var(--accent-rgb))) 100%);
  color: var(--a6-on-accent);
  box-shadow: 0 10px 24px -10px var(--a6-accent-ring);
}

/* ---- 4.9 页头栏目的下划线：选中 / hover 时走渐变 + 一点辉光 ---- */
body[data-theme] .a6-nav-link::after {
  background-image: linear-gradient(90deg,
    rgb(var(--accent-rgb)) 0%,
    rgb(var(--accent-2-rgb, var(--accent-rgb))) 100%);
  box-shadow: 0 0 10px var(--a6-accent-ring);
}

/* ---- 4.10 赛程行：hover 时左侧起一条强调色竖线 ---- */
body[data-theme] .a6-row {
  position: relative;
}

body[data-theme] .a6-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 2px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.15s ease;
  background-image: linear-gradient(180deg,
    rgb(var(--accent-rgb)) 0%,
    rgb(var(--accent-2-rgb, var(--accent-rgb))) 100%);
}

body[data-theme] .a6-row:hover::before {
  opacity: 1;
}

/* ---- 4.11 轮播：外圈一层强调色的柔光，不再是硬边贴图 ---- */
body[data-theme] [data-banner] {
  box-shadow: 0 20px 44px -30px color-mix(in srgb, rgb(var(--accent-rgb)) 60%, #000);
}

/* ============================================================================
   ⑤ 主题专属点缀

   极光这套的辨识度就在「双色极光 + 渐变」上：页头 / 选中胶囊 / 标题色条 / 直播入口
   都走蓝→青，整页再压一层左蓝右青的极光，和 night-green 的「绿灯」、
   gold-night 的「金光压冷蓝」是三种不同的光。
   这一段必须放在装饰层之后（同特异性，靠顺序赢）。
   ============================================================================ */

body[data-theme='aurora'] {
  /* 整页两层极光（左蓝右青）+ 一层从深蓝到墨青的底色渐变，压住「纯色感」 */
  background-image:
    radial-gradient(760px 400px at 20% -8%, rgb(56 189 248 / 0.18) 0%, transparent 68%),
    radial-gradient(880px 440px at 78% -12%, rgb(0 229 160 / 0.17) 0%, transparent 70%),
    radial-gradient(120% 85% at 50% 0%, #0a1e3c 0%, #06212d 46%, #03141d 100%);
  background-attachment: fixed, fixed, fixed;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

body[data-theme='aurora'] .ui-chip-on,
body[data-theme='aurora'] .ui-chip-on:hover,
body[data-theme='aurora'] .to-top {
  background-image: linear-gradient(135deg, #00e5a0 0%, #38bdf8 100%);
}

body[data-theme='aurora'] .a6-sec-bar,
body[data-theme='aurora'] .a6-side-head::before,
body[data-theme='aurora'] .a6-row::before {
  background-image: linear-gradient(180deg, #00e5a0 0%, #38bdf8 100%);
}

body[data-theme='aurora'] .a6-nav-link::after,
body[data-theme='aurora'] .a6-row::before {
  background-image: linear-gradient(90deg, #00e5a0 0%, #38bdf8 100%);
}

body[data-theme='aurora'] .nav-live-pill {
  border-color: transparent;
  background: linear-gradient(90deg, #00e5a0 0%, #38bdf8 100%);
  color: #04202a;
}

/* ============================================================================
   ⑥ 直播红收口（2026-10-23）

   上面 ⑤ 里 aurora 会把自己的强调色渐变盖到 `.ui-chip-on / .bg-live /
   .nav-live-pill` 上。直播的语义是「在打」，不该跟着主题走，所以这一段的
   规则必须排在最后 —— 同特异性靠顺序赢，挪到前面就会被 aurora 盖掉。
   ============================================================================ */

/* 6.1 筛选胶囊「正在直播」选中：红实底，不是主题强调色 */
body[data-theme] .ui-chip-live,
body[data-theme] .ui-chip-live:hover {
  background-color: rgb(var(--a6-hot-rgb));
  background-image: linear-gradient(135deg,
    rgb(var(--a6-hot-rgb)) 0%,
    rgb(var(--a6-hot-2-rgb, var(--a6-hot-rgb))) 100%);
  border-color: transparent;
  color: var(--a6-on-hot);
  font-weight: 600;
  box-shadow: 0 4px 14px -6px var(--a6-hot-ring);
}

/* 6.2 「精彩直播」这一块的标题条走红：和下面那排红卡呼应，
   同一个屏里「红 = 有比赛在打」，不用读字就知道 */
body[data-theme] .a6-sec-bar-hot {
  background-image: linear-gradient(180deg,
    rgb(var(--a6-hot-rgb)) 0%,
    rgb(var(--a6-hot-2-rgb, var(--a6-hot-rgb))) 100%);
  box-shadow: 0 0 12px var(--a6-hot-ring);
}

/* 6.3 页头「正在直播」入口：aurora 那套是实心的，颜色一并转红；
   其余主题是描边胶囊（走 currentColor），不动 */
body[data-theme='aurora'] .nav-live-pill {
  background: linear-gradient(90deg,
    rgb(var(--a6-hot-rgb)) 0%,
    rgb(var(--a6-hot-2-rgb, var(--a6-hot-rgb))) 100%);
  color: var(--a6-on-hot);
}


/* ============================================================================
   资讯栏目页 / 文章详情页（2026-10-24）

   这两页是 A6 和 A5 差别最大的地方：
     · 栏目页：顶部一条带图头条 + 下面紧凑列表（一行一条，左侧缩略图）
     · 详情页：杂志式标题区 + 通栏封面 + 导语段 + 单独的正文排版

   颜色一律走 --a6-* 令牌（深色主题自动跟着变），只有强调色走 --accent-rgb；
   封面缺失时用 .a6-ph 的渐变方块兜底，不留白块。
   ============================================================================ */

/* ---------------- 栏目头 ---------------- */
.a6-col-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.85rem 0 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--a6-line-2, #e2e8f0);
}

/* 压在分隔线上的渐变短线：比一条整线克制，也不用给标题加背景 */
.a6-col-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 72px;
  height: 2px;
  border-radius: 2px;
  background-image: linear-gradient(90deg,
    rgb(var(--accent-rgb)) 0%,
    rgb(var(--accent-2-rgb, var(--accent-rgb))) 100%);
}

.a6-col-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--a6-ink-title, #0f172a);
}

.a6-col-sub {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: var(--a6-dim, #94a3b8);
}

.a6-col-dot {
  margin: 0 0.35rem;
}

/* ---------------- 头条大卡 ---------------- */
.a6-lead {
  display: grid;
  overflow: hidden;
  background: var(--a6-card, #fff);
  border: 1px solid var(--a6-line-2, #e2e8f0);
  border-radius: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.a6-lead:hover {
  border-color: rgb(var(--accent-rgb) / 0.55);
  box-shadow: 0 20px 44px -30px rgb(15 23 42 / 0.55);
}

@media (min-width: 640px) {
  .a6-lead {
    grid-template-columns: 300px minmax(0, 1fr);
  }
}

@media (min-width: 1024px) {
  .a6-lead {
    grid-template-columns: 340px minmax(0, 1fr);
  }
}

.a6-lead-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--a6-soft, #f1f5f9);
}

@media (min-width: 640px) {
  .a6-lead-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 11rem;
  }
}

.a6-lead-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.a6-lead:hover .a6-lead-media img {
  transform: scale(1.03);
}

/* 「头条」角标 */
.a6-lead-flag {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background-image: linear-gradient(135deg,
    rgb(var(--accent-rgb)) 0%,
    rgb(var(--accent-2-rgb, var(--accent-rgb))) 100%);
  box-shadow: 0 6px 14px -8px rgb(0 0 0 / 0.6);
}

.a6-lead-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.05rem 1.15rem;
}

@media (min-width: 1024px) {
  .a6-lead-body {
    justify-content: center;
    padding: 1.4rem 1.6rem;
  }
}

.a6-lead-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgb(var(--accent-rgb));
}

.a6-lead-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--a6-ink-title, #0f172a);
}

@media (min-width: 1024px) {
  .a6-lead-title {
    font-size: 1.375rem;
  }
}

.a6-lead-sum {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--a6-muted, #64748b);
}

.a6-lead-meta {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--a6-dim, #94a3b8);
}

/* 没封面时的渐变占位块：填满父容器，中间一个站名/标题首字 */
.a6-ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  background-image: linear-gradient(135deg,
    rgb(var(--accent-rgb)) 0%,
    rgb(var(--accent-2-rgb, var(--accent-rgb))) 100%);
  opacity: 0.9;
}

/* ---------------- 紧凑列表流 ---------------- */
.a6-list {
  margin-top: 0.75rem;
  overflow: hidden;
  background: var(--a6-card, #fff);
  border: 1px solid var(--a6-line-2, #e2e8f0);
  border-radius: 0.85rem;
}

/* 行之间只留一条细线，不用卡片：一屏能看 8~10 条 */
.a6-list > .a6-row + .a6-row {
  border-top: 1px solid var(--a6-line, #f1f5f9);
}

.a6-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  transition: background-color 0.15s ease;
}

@media (min-width: 640px) {
  .a6-row {
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 1rem;
    padding: 0.85rem 1rem;
  }
}

.a6-row:hover {
  background: var(--a6-card-2, #f8fafc);
}

.a6-row-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 0.45rem;
  background: var(--a6-soft, #f1f5f9);
}

.a6-row-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.a6-row:hover .a6-row-cover img {
  transform: scale(1.04);
}

/* 缩略图位置的「无封面」兜底：淡强调底色 + 首字，不抢眼但也不留白 */
.a6-thumb-ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.125rem;
  font-weight: 800;
  color: rgb(var(--accent-rgb));
  background: rgb(var(--accent-rgb) / 0.1);
}

.a6-row-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
}

.a6-row-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--a6-ink-title, #0f172a);
  transition: color 0.15s ease;
}

.a6-row:hover .a6-row-title {
  color: rgb(var(--accent-rgb));
}

@media (min-width: 640px) {
  .a6-row-title {
    font-size: 1rem;
  }
}

.a6-row-sum {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--a6-muted, #64748b);
}

@media (min-width: 640px) {
  .a6-row-sum {
    -webkit-line-clamp: 2;
  }
}

.a6-row-meta {
  font-size: 0.6875rem;
  color: var(--a6-dim, #94a3b8);
}

/* 纯文字行：首页资讯双列用（2026-10-25 用户要求「标题 + 描述 + 日期，不要图片，太扎眼」）。
   两列各只有 ~410px，塞一张 3:2 缩略图，标题只剩两行还看不清图是什么；
   而且一屏十个小方块挤在一起，比文字本身抢眼。列表页的 .a6-row 仍然带封面，没动。 */
.a6-row.is-text {
  display: block;
  padding: 0.55rem 0.7rem;
}

.a6-row.is-text .a6-row-body {
  gap: 0.26rem;
}

/* 双列**逐行对齐**（2026-10-25 用户：「顶部 2 个资讯高低不同 太丑了，描述都统一占一行」）：
   · 标题固定占两行高度 —— 一行标题的行不会被压矮，长标题仍截到两行；
   · 摘要一律一行 ellipsis，min-height 让「没摘要」的那行也占住一行；
   这样左列第 n 条和右列第 n 条永远在同一条水平线上，两列底部也齐。 */
.a6-row.is-text .a6-row-title {
  min-height: calc(2 * 1.45em);
}

.a6-row.is-text .a6-row-sum {
  -webkit-line-clamp: 1;
  min-height: 1.6em;
}

/* ============================================================================
   文章详情
   ============================================================================ */
.a6-art {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.1rem 1.5rem;
  background: var(--a6-card, #fff);
  border: 1px solid var(--a6-line-2, #e2e8f0);
  border-radius: 1rem;
}

@media (min-width: 640px) {
  .a6-art {
    padding: 1.6rem 2rem 2rem;
  }
}

/* 卡片顶部一条渐变细线：一眼分清「这是一篇文章」和其它内容块 */
.a6-art::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background-image: linear-gradient(90deg,
    rgb(var(--accent-rgb)) 0%,
    rgb(var(--accent-2-rgb, var(--accent-rgb))) 55%,
    transparent 100%);
}

.a6-art-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.a6-art-tag {
  align-self: flex-start;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgb(var(--accent-rgb));
  background: rgb(var(--accent-rgb) / 0.12);
}

.a6-art-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--a6-ink-title, #0f172a);
}

@media (min-width: 640px) {
  .a6-art-title {
    font-size: 1.875rem;
    line-height: 1.35;
  }
}

.a6-art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--a6-dim, #94a3b8);
}

.a6-art-dot {
  color: var(--a6-dim-2, #cbd5e1);
}

.a6-art-cover {
  margin: 1rem 0 0;
  overflow: hidden;
  border-radius: 0.85rem;
  background: var(--a6-soft, #f1f5f9);
}

.a6-art-cover img {
  display: block;
  width: 100%;
  height: auto;
}

/* 导语：比正文大一号、行高更松，左边一条强调色竖线（不用灰底，深色主题下更干净） */
.a6-art-lead {
  margin: 1.15rem 0 0;
  padding: 0.15rem 0 0.15rem 0.85rem;
  border-left: 3px solid rgb(var(--accent-rgb));
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--a6-ink-2, #334155);
}

/* ---------------- 正文排版：在 .ui-article 基础上再调一版 ---------------- */
.a6-article {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.95;
  color: var(--a6-ink, #1e293b);
}

.a6-article p {
  margin-bottom: 1.1em;
}

.a6-article h2,
.a6-article h3 {
  position: relative;
  padding-left: 0.7rem;
  font-weight: 800;
  color: var(--a6-ink-title, #0f172a);
}

/* 小标题前的强调色竖条：门户稿子常用，比整段加粗更清楚 */
.a6-article h2::before,
.a6-article h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  bottom: 0.3em;
  width: 3px;
  border-radius: 3px;
  background: rgb(var(--accent-rgb));
}

.a6-article img {
  border-radius: 0.75rem;
}

.a6-article a {
  color: rgb(var(--accent-rgb));
  text-underline-offset: 3px;
}

.a6-article blockquote {
  margin: 1.3em 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid rgb(var(--accent-rgb));
  border-radius: 0.6rem;
  background: var(--a6-card-2, #f8fafc);
  color: var(--a6-ink-2, #334155);
}

.a6-article blockquote p:last-child {
  margin-bottom: 0;
}

.a6-article table {
  font-size: 0.9375rem;
}

/* ---------------- 上一篇 / 下一篇 ---------------- */
.a6-nav-post {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.8rem 1rem;
  background: var(--a6-card, #fff);
  border: 1px solid var(--a6-line-2, #e2e8f0);
  border-radius: 0.85rem;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.a6-nav-post:hover {
  border-color: rgb(var(--accent-rgb) / 0.55);
}

.a6-nav-post-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--a6-dim, #94a3b8);
}

.a6-nav-post-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--a6-ink-2, #334155);
  transition: color 0.18s ease;
}

.a6-nav-post:hover .a6-nav-post-title {
  color: rgb(var(--accent-rgb));
}

.a6-nav-post-next {
  align-items: flex-end;
  text-align: right;
}

/* 动效敏感的人：别让封面跟着放大/上浮 */
@media (prefers-reduced-motion: reduce) {
  .a6-post:hover,
  .a6-lead:hover .a6-lead-media img,
  .a6-post:hover .a6-post-cover img {
    transform: none;
  }
}

/* ============================================================================
   赛事频道页 / 比赛详情微调（2026-10-24）

   列表不再沿用 A4/A5 的「筛选卡片 + 单行比赛」，改成：
   频道头 → 日期轨道 → 联赛分组的双行对阵；筛选收进右侧栏，手机端移到赛程前。
   全部使用独立类名，避免影响首页的 .a6-row 和资讯列表。
   ============================================================================ */
.a6-schedule-shell {
  --a6-sport-rgb: var(--accent-rgb);
  --a6-on-sport: var(--a6-on-accent, #fff);
}

.a6-schedule--basketball {
  --a6-sport-rgb: 245 158 11;
  --a6-on-sport: #2b1800;
}

.a6-schedule {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--a6-line-2, #e2e8f0);
  border-radius: 1rem;
  background: var(--a6-card, #fff);
  box-shadow: var(--a6-shadow);
}

.a6-schedule-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 132px;
  padding: 1.35rem 1.6rem;
  color: #f3f8f5;
  background:
    radial-gradient(520px 210px at 82% 0%, rgb(var(--a6-sport-rgb) / 0.24), transparent 72%),
    linear-gradient(112deg, #091713 0%, #10251e 60%, #0a1714 100%);
}

.a6-schedule--basketball .a6-schedule-hero {
  background:
    radial-gradient(520px 210px at 82% 0%, rgb(245 158 11 / 0.25), transparent 72%),
    linear-gradient(112deg, #1c150b 0%, #292013 60%, #15120d 100%);
}

/* 频道头照片层：照片只负责氛围，左侧压深保证标题可读。
   篮球原图主体偏左，用 scaleX(-1) 连图带遮罩镜像，主体就落到右边。 */
.a6-schedule-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.a6-schedule--football .a6-schedule-hero::before {
  background-image:
    linear-gradient(90deg,
      rgb(5 12 10 / 0.97) 0%,
      rgb(5 12 10 / 0.84) 38%,
      rgb(5 12 10 / 0.42) 72%,
      rgb(5 12 10 / 0.2) 100%),
    url("a6-football-channel.jpg");
  background-position: center 78%;
}

.a6-schedule--basketball .a6-schedule-hero::before {
  background-image:
    linear-gradient(90deg,
      rgb(24 15 7 / 0.3) 0%,
      rgb(24 15 7 / 0.72) 52%,
      rgb(24 15 7 / 0.98) 100%),
    url("a6-basketball-channel.jpg");
  transform: scaleX(-1);
}

.a6-schedule-hero > * {
  position: relative;
  z-index: 1;
}

.a6-schedule-hero::after {
  content: "";
  position: absolute;
  right: 22%;
  bottom: 0;
  width: 170px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgb(var(--a6-sport-rgb)), transparent);
}

.a6-schedule-heading {
  min-width: 0;
}

.a6-schedule-kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: rgb(243 248 245 / 0.6);
}

.a6-schedule-kicker svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: rgb(var(--a6-sport-rgb));
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.a6-schedule-heading h1 {
  margin-top: 0.35rem;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #fff;
}

.a6-schedule-heading p {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: rgb(243 248 245 / 0.62);
}

.a6-schedule-total {
  position: relative;
  z-index: 1;
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.a6-schedule-total > span {
  font-size: 0.75rem;
  color: rgb(243 248 245 / 0.65);
}

.a6-schedule-total strong {
  margin-right: 0.3rem;
  font-size: 1.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgb(var(--a6-sport-rgb));
}

.a6-schedule-total a {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.2);
  font-size: 0.6875rem;
  color: rgb(255 255 255 / 0.78);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.a6-schedule-total a:hover {
  border-color: rgb(var(--a6-sport-rgb));
  color: #fff;
}

.a6-date-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 0.75rem;
  background: var(--a6-card, #fff);
}

.a6-date-track a {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 0.5rem 0.8rem;
  color: var(--a6-dim, #94a3b8);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.a6-date-track a + a {
  border-left: 1px solid var(--a6-line, #f1f5f9);
}

.a6-date-track a::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: rgb(var(--a6-sport-rgb));
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.a6-date-track a:hover {
  color: var(--a6-ink-title, #0f172a);
  background: var(--a6-card-2, #f8fafc);
}

.a6-date-track a.is-active {
  color: var(--a6-ink-title, #0f172a);
  background: rgb(var(--a6-sport-rgb) / 0.07);
}

.a6-date-track a.is-active::after {
  transform: scaleX(1);
}

.a6-date-track span {
  font-size: 0.8125rem;
  font-weight: 700;
}

.a6-date-track strong {
  font-size: 0.6875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.a6-schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}

.a6-fixture-board,
.a6-filter-panel,
.a6-schedule-news {
  overflow: hidden;
  border: 1px solid var(--a6-line-2, #e2e8f0);
  border-radius: 0.85rem;
  background: var(--a6-card, #fff);
  box-shadow: var(--a6-shadow);
}

.a6-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--a6-line, #f1f5f9);
}

.a6-board-head h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 750;
  color: var(--a6-ink-title, #0f172a);
}

.a6-board-head h2 > span {
  width: 3px;
  height: 0.9rem;
  border-radius: 2px;
  background: rgb(var(--a6-sport-rgb));
}

.a6-board-head > span,
.a6-board-head > a {
  font-size: 0.6875rem;
  color: var(--a6-dim, #94a3b8);
}

.a6-board-head > a:hover {
  color: rgb(var(--a6-sport-rgb));
}

.a6-league-block + .a6-league-block {
  border-top: 6px solid var(--a6-card-2, #f8fafc);
}

.a6-league-block > h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  background: var(--a6-card-2, #f8fafc);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--a6-ink-2, #334155);
}

.a6-league-mark {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: rgb(var(--a6-sport-rgb));
}

.a6-league-block h3 small {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--a6-dim, #94a3b8);
}

.a6-fixture {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 42px 12px;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  border-top: 1px solid var(--a6-line, #f1f5f9);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.a6-league-block .a6-fixture:first-child {
  border-top: 0;
}

.a6-fixture:hover {
  background: var(--a6-card-2, #f8fafc);
  box-shadow: inset 2px 0 rgb(var(--a6-sport-rgb));
}

.a6-fixture.is-live {
  background: var(--a6-hot-wash);
  box-shadow: inset 2px 0 rgb(var(--a6-hot-rgb));
}

.a6-fixture.is-live:hover {
  background: var(--a6-hot-soft);
  box-shadow: inset 2px 0 rgb(var(--a6-hot-rgb));
}

.a6-fixture-time {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
}

.a6-fixture-time > strong {
  font-size: 0.875rem;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  color: var(--a6-ink-title, #0f172a);
}

.a6-fixture-time > time {
  font-size: 0.625rem;
  font-variant-numeric: tabular-nums;
  color: var(--a6-dim, #94a3b8);
}

.a6-fixture-state {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.15rem;
  font-size: 0.625rem;
  white-space: nowrap;
  color: var(--a6-dim, #94a3b8);
}

.a6-fixture-state.is-live {
  color: var(--a6-hot-text);
  font-weight: 700;
}

.a6-fixture-state i,
.a6-filter-status a.is-live i {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: rgb(var(--a6-hot-rgb));
  box-shadow: 0 0 0 3px var(--a6-hot-soft);
}

.a6-fixture-teams {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.4rem;
}

.a6-fixture-team {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.a6-fixture .a6-team-logo-md {
  --a6-logo: 28px;
}

.a6-fixture-team > span:nth-child(2) {
  overflow: hidden;
  font-size: 0.8125rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--a6-ink, #1e293b);
}

.a6-fixture-team small {
  font-size: 0.625rem;
  color: var(--a6-dim, #94a3b8);
}

.a6-fixture-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.a6-fixture-score strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 28px;
  border-radius: 0.35rem;
  background: var(--a6-card-2, #f8fafc);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--a6-ink-title, #0f172a);
}

.a6-fixture.is-live .a6-fixture-score strong {
  color: var(--a6-hot-text);
}

.a6-fixture-vs {
  display: grid;
  place-items: center;
  align-self: stretch;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--a6-dim, #94a3b8);
}

.a6-fixture-arrow {
  font-size: 1.25rem;
  color: var(--a6-dim-2, #cbd5e1);
  transition: color 0.15s ease, transform 0.15s ease;
}

.a6-fixture:hover .a6-fixture-arrow {
  color: rgb(var(--a6-sport-rgb));
  transform: translateX(2px);
}

.a6-fixture-empty {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.a6-fixture-empty > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--a6-soft, #f1f5f9);
  color: var(--a6-dim, #94a3b8);
}

.a6-fixture-empty strong {
  font-size: 0.875rem;
  color: var(--a6-ink-2, #334155);
}

.a6-fixture-empty p {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--a6-dim, #94a3b8);
}

.a6-filter-panel {
  padding: 0.9rem;
}

.a6-filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--a6-line, #f1f5f9);
}

.a6-filter-title > span {
  font-size: 0.8125rem;
  font-weight: 750;
  color: var(--a6-ink-title, #0f172a);
}

.a6-filter-title > a {
  font-size: 0.625rem;
  color: var(--a6-dim, #94a3b8);
}

.a6-filter-title > a:hover {
  color: rgb(var(--a6-sport-rgb));
}

.a6-filter-group {
  margin-top: 0.85rem;
}

.a6-filter-group h2 {
  margin-bottom: 0.45rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--a6-dim, #94a3b8);
}

.a6-filter-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.a6-filter-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 31px;
  padding: 0.35rem 0.3rem;
  border: 1px solid var(--a6-line-2, #e2e8f0);
  border-radius: 0.4rem;
  font-size: 0.6875rem;
  text-align: center;
  color: var(--a6-muted, #64748b);
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.a6-filter-links a:hover {
  border-color: rgb(var(--a6-sport-rgb) / 0.55);
  color: var(--a6-ink-title, #0f172a);
}

.a6-filter-links a.is-active {
  border-color: rgb(var(--a6-sport-rgb));
  background: rgb(var(--a6-sport-rgb));
  color: var(--a6-on-sport);
  font-weight: 700;
}

.a6-filter-status {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.a6-filter-status a.is-live:not(.is-active) {
  color: var(--a6-hot-text);
}

.a6-filter-links a.is-live.is-active {
  border-color: rgb(var(--a6-hot-rgb));
  background: rgb(var(--a6-hot-rgb));
  color: var(--a6-on-hot);
}

.a6-filter-links a.is-live.is-active i {
  background: currentColor;
  box-shadow: none;
}

.a6-filter-note {
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--a6-line-2, #e2e8f0);
  font-size: 0.625rem;
  line-height: 1.7;
  color: var(--a6-dim, #94a3b8);
}

.a6-schedule-news {
  margin-top: 1rem;
}

.a6-news-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
  padding: 0.35rem 1rem;
}

.a6-news-links > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.7rem 0;
  border-top: 1px solid var(--a6-line, #f1f5f9);
}

.a6-news-links > a:nth-child(-n + 2) {
  border-top: 0;
}

.a6-news-date {
  font-size: 0.625rem;
  font-variant-numeric: tabular-nums;
  color: var(--a6-dim, #94a3b8);
}

.a6-news-links strong {
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--a6-ink-2, #334155);
  transition: color 0.15s ease;
}

.a6-news-arrow {
  font-size: 0.75rem;
  color: var(--a6-dim-2, #cbd5e1);
}

.a6-news-links > a:hover strong,
.a6-news-links > a:hover .a6-news-arrow {
  color: rgb(var(--a6-sport-rgb));
}

/* 详情仅收一版标题和比分区，不动直播信号与赛事信息的原有功能。 */
.a6-match-hero {
  position: relative;
  border-top: 2px solid rgb(var(--accent-rgb));
}

.a6-match-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--a6-line, #f1f5f9);
  background: var(--a6-card-2, #f8fafc);
}

.a6-match-heading > div {
  min-width: 0;
}

.a6-match-heading > div > span {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  color: var(--a6-dim, #94a3b8);
}

.a6-match-heading h1 {
  margin-top: 0.2rem;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--a6-ink-title, #0f172a);
}

.a6-match-heading h1 small {
  margin: 0 0.3rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--a6-dim, #94a3b8);
}

.a6-match-heading > a {
  flex: none;
  font-size: 0.6875rem;
  color: var(--a6-dim, #94a3b8);
}

.a6-match-heading > a:hover {
  color: rgb(var(--accent-rgb));
}

.a6-match-teams {
  background: radial-gradient(420px 130px at 50% 45%, var(--a6-accent-soft), transparent 78%);
}

.a6-match-score {
  letter-spacing: 0.06em;
}

.a6-match-info {
  border-left: 2px solid rgb(var(--accent-rgb) / 0.5);
}

@media (max-width: 959px) {
  .a6-schedule-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .a6-schedule-aside {
    order: -1;
  }

  .a6-filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 0 1rem;
  }

  .a6-filter-title,
  .a6-filter-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 639px) {
  .a6-schedule-hero {
    min-height: 0;
    padding: 1rem;
  }

  .a6-schedule-heading h1 {
    font-size: 1.5rem;
  }

  .a6-schedule-heading p {
    font-size: 0.6875rem;
  }

  .a6-schedule-kicker {
    font-size: 0.5625rem;
    letter-spacing: 0.08em;
  }

  .a6-schedule-total {
    gap: 0.4rem;
  }

  .a6-schedule-total strong {
    display: block;
    margin: 0;
    font-size: 1.4rem;
    text-align: right;
  }

  .a6-schedule-total > span {
    font-size: 0.625rem;
  }

  .a6-schedule-total a {
    font-size: 0.625rem;
  }

  .a6-date-track {
    padding: 0 0.25rem;
  }

  .a6-date-track a {
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.65rem 0.25rem 0.6rem;
  }

  .a6-date-track span {
    font-size: 0.75rem;
  }

  .a6-date-track strong {
    font-size: 0.625rem;
  }

  .a6-filter-panel {
    display: block;
    padding: 0.75rem;
  }

  .a6-filter-group {
    margin-top: 0.65rem;
  }

  .a6-filter-note {
    display: none;
  }

  .a6-board-head {
    padding-inline: 0.75rem;
  }

  .a6-fixture {
    grid-template-columns: 49px minmax(0, 1fr) 30px 7px;
    gap: 0.45rem;
    padding: 0.65rem 0.5rem;
  }

  .a6-fixture-team {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 0.4rem;
  }

  .a6-fixture .a6-team-logo-md {
    --a6-logo: 22px;
  }

  .a6-fixture-team > span:nth-child(2) {
    font-size: 0.75rem;
  }

  .a6-fixture-team small {
    display: none;
  }

  .a6-fixture-time > strong {
    font-size: 0.75rem;
  }

  .a6-fixture-state,
  .a6-fixture-time > time {
    font-size: 0.5625rem;
  }

  .a6-fixture-score strong {
    width: 28px;
    height: 24px;
    font-size: 0.75rem;
  }

  .a6-fixture-arrow {
    font-size: 1rem;
  }

  .a6-news-links {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 0.75rem;
  }

  .a6-news-links > a:nth-child(2) {
    border-top: 1px solid var(--a6-line, #f1f5f9);
  }

  .a6-match-heading {
    padding: 0.75rem;
  }

  .a6-match-heading h1 {
    max-width: 250px;
    font-size: 0.75rem;
  }

  .a6-match-heading > a {
    font-size: 0;
  }

  .a6-match-heading > a span {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a6-date-track a::after,
  .a6-fixture,
  .a6-fixture-arrow {
    transition: none;
  }

  .a6-fixture:hover .a6-fixture-arrow {
    transform: none;
  }
}

/* ============================================================================
   首页（2026-10-25 改版）：头版 + 比分带 + 左资讯 / 右榜单

   为什么这么改：A4/A5 的首页都是「左 292px 窄栏堆榜单 + 右宽栏放赛程」，
   A6 再从 A5 复制出来就是一张脸。这里换成刊头式的三段：

     ① .a6-front  头版 —— 大图（62%）+ 右侧「最新」标题列（38%）
     ② .a6-board  比分带 —— 深色横条，横向滚动的比分卡，A6 的识别点
     ③ .a6-main   主体 —— 左边 1.7fr 资讯流，右边 1fr 榜单 / 赛程

   三条原则：
     · 颜色只用 --a6-* 令牌 + --accent-rgb，6 套主题自动跟着变；
     · 比分带**故意固定深色**（不看主题）—— 记分牌的语汇就是黑底白字，
       在浅色主题里它是一条分隔带，在深色主题里它靠边框和微光区分层次；
     · 断点只有 640 / 1024 两个。
   ============================================================================ */

/* ---------------- ① 头版 ---------------- */
.a6-front {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .a6-front {
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
  }
}

.a6-front-hero {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  background: #0a1411;
  border: 1px solid var(--a6-line-2, #e2e8f0);
}

@media (min-width: 640px) {
  .a6-front-hero { aspect-ratio: 16 / 8; }
}

/* 桌面上高度跟着右侧标题列走（大图不设比例，撑满格子） */
@media (min-width: 1024px) {
  .a6-front-hero {
    aspect-ratio: auto;
    min-height: 22rem;
  }
}

.a6-front-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.a6-front-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
}

.a6-front-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 整张图可点：铺一层透明链接，标题和箭头靠 z-index 压在上面 */
.a6-front-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.a6-front-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 3.5rem 1.1rem 1rem;
  background: var(--a6-hero-shade, linear-gradient(to top, rgb(0 0 0 / 0.72) 0%, rgb(0 0 0 / 0.3) 55%, transparent 100%));
  pointer-events: none;
}

.a6-front-cap-tag {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgb(var(--accent-rgb));
}

.a6-front-cap-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.45);
}

@media (min-width: 1024px) {
  .a6-front-cap {
    padding: 4.5rem 1.5rem 1.35rem;
  }

  .a6-front-cap-title {
    font-size: 1.5rem;
    line-height: 1.35;
  }
}

/* 左右箭头：hover 才出来，手机上直接不给（横向滑就行） */
.a6-front-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: none;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #334155;
  background: rgb(255 255 255 / 0.9);
  box-shadow: 0 2px 10px -4px rgb(0 0 0 / 0.5);
  opacity: 0;
  transition: opacity 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  transform: translateY(-50%);
}

.a6-front-arrow.is-prev { left: 0.7rem; }
.a6-front-arrow.is-next { right: 0.7rem; }

.a6-front-hero:hover .a6-front-arrow { opacity: 1; }
.a6-front-arrow:hover { background: #fff; color: #0f172a; }

@media (min-width: 768px) {
  .a6-front-arrow { display: flex; }
}

.a6-front-dots {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.35);
  backdrop-filter: blur(6px);
}

.a6-front-dot {
  display: block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.5);
  transition: width 0.2s ease, background-color 0.2s ease;
}

/* 手机上标题会压到底部，圆点挪到右上角，别和标题打架 */
@media (max-width: 1023px) {
  .a6-front-dots {
    top: 0.6rem;
    bottom: auto;
  }
}

.a6-front-dot.is-on {
  width: 1.15rem;
  background: #fff;
}

/* 没图时的占位：走深色渐变，和「有图」的观感接近，不至于整块发白 */
.a6-front-empty {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: rgb(255 255 255 / 0.42);
  background:
    radial-gradient(420px 200px at 78% 12%, rgb(var(--accent-rgb) / 0.28), transparent 70%),
    linear-gradient(135deg, #071310 0%, #0d1b17 60%, #0a1512 100%);
}

.a6-front-empty-title {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgb(255 255 255 / 0.8);
}

.a6-front-empty-sub {
  font-size: 0.75rem;
}

/* ---------------- 头版右侧「最新」 ---------------- */
.a6-front-side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0.85rem 1rem 0.5rem;
  background: var(--a6-card, #fff);
  border: 1px solid var(--a6-line-2, #e2e8f0);
  border-radius: 1rem;
}

.a6-front-side-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--a6-line-2, #e2e8f0);
}

.a6-front-side-head > span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--a6-ink-title, #0f172a);
}

.a6-front-side-head a {
  font-size: 0.6875rem;
  color: var(--a6-dim, #94a3b8);
  transition: color 0.15s ease;
}

.a6-front-side-head a:hover {
  color: rgb(var(--accent-rgb));
}

.a6-front-side-empty {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--a6-dim, #94a3b8);
}

.a6-front-list {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.a6-front-list > li {
  min-height: 0;
  flex: 1;
}

/* 行之间用虚线：像报纸要闻栏，比实线轻，一眼能数出几条 */
.a6-front-item {
  display: flex;
  height: 100%;
  min-width: 0;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--a6-line, #f1f5f9);
}

.a6-front-list > li:last-child .a6-front-item {
  border-bottom: 0;
}

.a6-front-index {
  flex: none;
  padding-top: 1px;
  font-size: 0.6875rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgb(var(--accent-rgb));
  opacity: 0.9;
}

.a6-front-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.2rem;
}

.a6-front-item-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--a6-ink, #1e293b);
  transition: color 0.15s ease;
}

.a6-front-item:hover .a6-front-item-title {
  color: rgb(var(--accent-rgb));
}

.a6-front-meta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: var(--a6-dim, #94a3b8);
}

.a6-front-meta span {
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.a6-front-meta-dot {
  opacity: 0.6;
}

@media (min-width: 640px) {
  .a6-front-item-title { font-size: 0.875rem; }
}

/* ---------------- ② 比分带 ---------------- */
.a6-board {
  margin-top: 1.15rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgb(255 255 255 / 0.07);
  background:
    radial-gradient(560px 220px at 12% 0%, rgb(var(--accent-rgb) / 0.16), transparent 72%),
    linear-gradient(135deg, #06100e 0%, #0c1a16 55%, #08120f 100%);
}

.a6-board-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.a6-board-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
}

/* 呼吸的红点：和「正在直播」同一个语义色，但不跟主题走 */
.a6-board-tag > i {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: rgb(var(--a6-hot-rgb));
  box-shadow: 0 0 0 3px rgb(var(--a6-hot-rgb) / 0.22);
  animation: a6-board-pulse 1.8s ease-in-out infinite;
}

@keyframes a6-board-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.a6-board-sub {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.6875rem;
  color: rgb(255 255 255 / 0.5);
}

.a6-board-sub b {
  font-weight: 800;
  color: rgb(var(--a6-hot-rgb));
}

.a6-board-sep {
  margin: 0 0.3rem;
  opacity: 0.5;
}

.a6-board-more {
  flex: none;
  font-size: 0.6875rem;
  color: rgb(255 255 255 / 0.55);
  transition: color 0.15s ease;
}

.a6-board-more:hover {
  color: #fff;
}

/* 手机：一格一格横着滑；平板两列；桌面四列（10 场刚好两行多一点） */
.a6-board-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(9.5rem, 1fr);
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.7rem 0.8rem 0.8rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.a6-board-track::-webkit-scrollbar {
  display: none;
}

@media (min-width: 640px) {
  .a6-board-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
  }
}

@media (min-width: 1024px) {
  .a6-board-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.a6-score {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.55rem 0.6rem 0.6rem;
  border-radius: 0.6rem;
  background: rgb(255 255 255 / 0.045);
  border: 1px solid rgb(255 255 255 / 0.06);
  scroll-snap-align: start;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.a6-score:hover {
  background: rgb(255 255 255 / 0.09);
  border-color: rgb(var(--accent-rgb) / 0.5);
}

.a6-score-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.625rem;
  color: rgb(255 255 255 / 0.45);
}

.a6-score-dot {
  width: 0.3rem;
  height: 0.3rem;
  flex: none;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.35);
}

.a6-score-dot.is-live {
  background: rgb(var(--a6-hot-rgb));
  animation: a6-board-pulse 1.8s ease-in-out infinite;
}

.a6-score-dot.is-upcoming {
  background: rgb(var(--accent-rgb));
}

.a6-score-dot.is-finished {
  background: rgb(255 255 255 / 0.3);
}

.a6-score-league {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.a6-score-when {
  flex: none;
  font-variant-numeric: tabular-nums;
  color: rgb(255 255 255 / 0.6);
}

.a6-score-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.35;
}

.a6-score-team {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.88);
}

.a6-score-num {
  flex: none;
  min-width: 1rem;
  text-align: right;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

/* ---------------- ③ 主体：左资讯 / 右榜单 ---------------- */
.a6-main {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

@media (min-width: 1024px) {
  .a6-main {
    grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }
}

.a6-main-flow {
  min-width: 0;
}

.a6-main-side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.85rem;
}

.a6-flow-sec + .a6-flow-sec {
  margin-top: 1.5rem;
}

/* 栏目头右上角的「全部 →」 */
.a6-col-more {
  flex: none;
  font-size: 0.75rem;
  color: var(--a6-dim, #94a3b8);
  transition: color 0.15s ease;
}

.a6-col-more:hover {
  color: rgb(var(--accent-rgb));
}

/* ---------------- 侧栏小部件 ---------------- */
.a6-side-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* 小方点 + 小标题：侧栏的统一语言（比栏目标题小一号，不抢戏） */
.a6-side-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--a6-ink-title, #0f172a);
}

.a6-side-head::before {
  content: "";
  width: 0.4375rem;
  height: 0.4375rem;
  flex: none;
  border-radius: 2px;
  background: rgb(var(--accent-rgb));
}

.a6-side-more,
.a6-side-note {
  flex: none;
  font-size: 0.6875rem;
  color: var(--a6-dim, #94a3b8);
}

.a6-side-more {
  transition: color 0.15s ease;
}

.a6-side-more:hover {
  color: rgb(var(--accent-rgb));
}

.a6-side-note {
  font-weight: 600;
  letter-spacing: 0.06em;
}

.a6-side-empty {
  padding: 1.1rem 0;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--a6-dim, #94a3b8);
}

.a6-side-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.6rem 0 0.35rem;
}

.a6-side-table-wrap {
  max-height: 19rem;
  overflow: auto;
}

.a6-side-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.6rem 0 0.35rem;
}

.a6-side-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.a6-side-rows {
  border-top: 1px solid var(--a6-line, #f1f5f9);
  padding-top: 0.15rem;
}

/* 侧栏只有 400 出头，_MatchRow 在桌面端的四列（时间 / 联赛 / 对阵 / 状态）放不下：
   把联赛列砍掉、时间列收窄，宽度全让给队名。频道页里联赛照旧能看到。 */
@media (min-width: 640px) {
  .a6-side-rows .a6-mrow {
    grid-template-columns: 2.75rem minmax(0, 1fr) auto;
    gap: 0.5rem;
  }

  .a6-side-rows .a6-mrow > span:nth-child(2) {
    display: none;
  }

  .a6-side-rows .a6-mrow b {
    font-size: 0.75rem;
  }
}

.a6-side-all {
  display: block;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  text-align: center;
  border-radius: 0.6rem;
  border: 1px solid var(--a6-line-2, #e2e8f0);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--a6-muted, #64748b);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.a6-side-all:hover {
  border-color: rgb(var(--accent-rgb));
  color: rgb(var(--accent-rgb));
}

/* 细滚动条 */
.a6-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--a6-scroll, #cbd5e1) transparent;
}

.a6-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.a6-scroll::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background: var(--a6-scroll, #cbd5e1);
}

.a6-scroll::-webkit-scrollbar-track {
  background: transparent;
}

/* ---------------- 比赛行（_MatchRow）的 hover ----------------
   类名 2026-10-25 从 .a6-row 改为 .a6-mrow：原来和资讯列表的 .a6-row 撞了，
   a6.css 在 app.css 之后加载、特异性相同，grid-template-columns 被覆盖成
   「148px + 1fr」，一场比赛被挤成两行。这里只补主题色的 hover，
   布局仍交给模板里的 Tailwind grid-cols-[...]。 */
body[data-theme] .a6-mrow:hover {
  background: var(--a6-card-2, #f8fafc);
}

@media (prefers-reduced-motion: reduce) {
  .a6-board-tag > i,
  .a6-score-dot.is-live {
    animation: none;
  }

  .a6-front-arrow,
  .a6-front-dot,
  .a6-score {
    transition: none;
  }
}

/* ============================================================================
   详情页右栏吸顶（2026-10-25 晚）

   原来用的是 Tailwind 的 top-20（80px），那是 A5 单行页头（约 64px）时代的数。
   A6 换成双层刊头后桌面页头约 112px（品牌行 40 + 上下 0.85rem + 菜单条 2.65rem + 线），
   侧栏吸顶时整个上半截被页头压住，看着就是「悬浮的位置不对」。

   top 不写死：_Nav.cshtml 里那段脚本把页头实测高度写进 --a6-hd-h
   （ResizeObserver 跟着窗口宽度变），这里加 1rem 呼吸距离。
   以后页头再改高度（A6 已经改过两回），这里不用跟着改。
   ============================================================================ */
.a6-aside-sticky {
  align-self: start;
}

@media (min-width: 1024px) {
  .a6-aside-sticky {
    position: sticky;
    top: calc(var(--a6-hd-h, 8rem) + 1rem);

    /* 侧栏是「相关阅读 + 赛程」两摞，实测 1045px，比文章（1099px）矮不了多少。
       不限高的话吸顶区间只有 54px —— 往下滚一点点就跟着文章一起被顶走，
       看着就像"根本没悬浮"。限到视口内、自己内部滚，整篇文章读下来侧栏都在。 */
    max-height: calc(100dvh - var(--a6-hd-h, 8rem) - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;

    /* 槽整个藏掉，不画滚动条：
       侧栏只有 300px 宽，6px 的槽也会把卡片挤窄一点，而且一根灰条竖在浅色卡旁边
       比内容本身还显眼。藏掉后滚轮 / 触控板 / 触摸屏照旧能滚，只是看不到槽。 */
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* 老 Edge */
  }

  .a6-aside-sticky::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}

/* ============================================================================
   详情页侧栏：赛事（2026-10-25）

   右栏「相关阅读」下面补的赛事列表，把侧栏垫满。
   侧栏只有 300px，塞不下列表页那种四列的对阵行，所以每场拆成：
   「联赛 + 时间」一条，上下两行队名各带自己的比分 —— 再窄也不会把队名挤没。
   直播中的行给红点 + 红比分，其它状态保持中性色，一眼能扫出哪场正在打。
   ============================================================================ */

.a6-fx {
  display: block;
  padding: 0.5rem 0.9rem 0.6rem;
  transition: background-color 0.15s ease;
}

.a6-fx:hover {
  background: var(--a6-card-2, #f8fafc);
}

.a6-fx-meta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--a6-dim, #94a3b8);
}

.a6-fx-meta b {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: var(--a6-muted, #64748b);
}

/* 只在直播中显示：一个呼吸的亮点，和首页比分带同一个语义红 */
.a6-fx-dot {
  display: none;
  width: 0.3rem;
  height: 0.3rem;
  flex: none;
  border-radius: 999px;
  background: rgb(var(--a6-hot-rgb));
}

.a6-fx.is-live .a6-fx-dot {
  display: block;
  animation: a6-fx-pulse 1.8s ease-in-out infinite;
}

@keyframes a6-fx-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.a6-fx-when {
  flex: none;
  font-variant-numeric: tabular-nums;
}

.a6-fx-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.5;
}

.a6-fx-team b {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--a6-ink, #1e293b);
  transition: color 0.15s ease;
}

.a6-fx:hover .a6-fx-team b {
  color: rgb(var(--accent-rgb));
}

.a6-fx-team i {
  flex: none;
  min-width: 1.1rem;
  text-align: right;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--a6-ink-title, #0f172a);
}

/* 未开赛没有比分：位置留着（空 i 仍有 min-width），两行队名照样对齐 */
.a6-fx.is-upcoming .a6-fx-team i {
  color: var(--a6-dim-2, #cbd5e1);
}

.a6-fx.is-finished .a6-fx-team i {
  color: var(--a6-muted, #64748b);
}

.a6-fx.is-live .a6-fx-team i {
  color: rgb(var(--a6-hot-rgb));
}

/* 卡片下面那行小字：今天几场 / 其中直播几场 */
.a6-fx-note {
  margin-top: 0.45rem;
  font-size: 0.6875rem;
  color: var(--a6-dim, #94a3b8);
}

.a6-fx-note b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--a6-muted, #64748b);
}

@media (prefers-reduced-motion: reduce) {
  .a6-fx,
  .a6-fx-team b {
    transition: none;
  }

  .a6-fx.is-live .a6-fx-dot {
    animation: none;
  }
}

/* 标题行和「全部 →」：用自有类，别为两个工具类去重建 app.css */
.a6-fx-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.35rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--a6-ink-title, #0f172a);
}

.a6-fx-more {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--a6-dim, #94a3b8);
  transition: color 0.15s ease;
}

.a6-fx-more:hover {
  color: rgb(var(--accent-rgb));
}

/* ============================================================================
   首页 2026-10-25（第二版）：左窄右宽
   ----------------------------------------------------------------------------
     左 19rem：轮播 → 精选赛事（竖排比分卡）→ 积分榜 → 今日快照
     右 1fr  ：资讯双列（篮球 / 足球）→ 近期赛程 → 进球榜 + 场均得分榜

   为什么 DOM 顺序是「轮播 → 右栏 → 左栏其余」，而不是「轮播 → 左栏 → 右栏」：
   手机上整页单列，DOM 顺序就是阅读顺序。左栏那三块（比分 / 积分榜 / 快照）
   全塞在资讯前面的话，一进首页要先滚过一整屏数据才看到第一条新闻。
   桌面再用 grid-template-areas 把左栏其余摆回轮播下面。
   ============================================================================ */

.a6-home {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

/* 手机上左列容器**不产生盒子**：轮播和左栏其余直接变成外层 flex 的项目，
   这样才能用 order 把「资讯」插在轮播和比分卡中间。
   （DOM 里左列整体在前面，桌面上它正好是左边那一整列。） */
.a6-home-left {
  display: contents;
}

.a6-home-hero,
.a6-home-main,
.a6-home-rail {
  min-width: 0;
}

/* 手机上两个列容器都只是分组、不产生盒子：它们里面的块直接成为 .a6-home 的 flex 项，
   才排得动（右栏 = 资讯 / 直播 / 赛程；rail = 关于本站 / 球队榜 / 标签）。
   阅读顺序（用户 2026-10-25 要求）：轮播 → 精彩直播 → 近期赛程 → 资讯双列
   → 关于本站 → 球队榜 → 热门标签 → 赛季专题。直播和赛程是流量出口，不能压在 5 条资讯后面；
   球队榜 2026-10-26 从页尾挪进左栏，手机上跟着左栏顺序排在关于本站之后；
   赛季专题（右栏最后一块）2026-10-26 加，手机上排到最后，当收尾入口。 */
.a6-home-main,
.a6-home-rail {
  display: contents;
}

.a6-home-hero { order: 1; }
.a6-live { order: 2; }
.a6-sch { order: 3; }
.a6-duo { order: 4; }
.a6-about { order: 5; }
.a6-rank { order: 6; }
.a6-tag-card { order: 7; }
.a6-season-block { order: 8; }

@media (min-width: 1024px) {
  .a6-home {
    display: grid;
    grid-template-columns: 19rem minmax(0, 1fr);
    column-gap: 1.25rem;
    align-items: start;
  }

  /* 左列自己是一个 flex 列，两行各按内容排。
     早先把轮播和其余两块直接放进 grid 的 "hero main" / "rail main" 两个区域，
     右栏跨两行、比左栏高时浏览器会按比例把两行一起拉高，
     轮播和比分卡之间凭空多出近百 px 空隙 —— 跨行 grid 撑出来的，align-content 也压不住。 */
  .a6-home-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
  }

  /* 桌面回到「两栏各是一个盒子」：左栏 轮播 → 关于本站 → 球队榜 → 标签，
     右栏 资讯 → 直播 → 赛程，DOM 顺序即视觉顺序 */
  .a6-home-main,
  .a6-home-rail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  /* 手机那套 order 到桌面全部作废（包括右栏里那三块，否则 flex 会把它们按 order 重排）。
     ⚠️ 新加进左栏的块必须加进这个列表：.a6-rank 第一次忘了写，
     桌面上就变成「关于本站 → 标签 → 球队榜」（标签 order 被归 0、榜单还留着 6）。 */
  .a6-home-hero,
  .a6-home-main,
  .a6-home-rail,
  .a6-live,
  .a6-sch,
  .a6-duo,
  .a6-about,
  .a6-rank,
  .a6-tag-card,
  .a6-season-block {
    order: 0;
  }
}

/* 窄栏里的轮播：手机 16:10；平板整页单列、全宽铺开，16:8 才不至于吃掉半屏；
   桌面回到左栏 304px 里，4:3 才不至于扁成一条 */
.a6-home-hero .a6-front-hero {
  aspect-ratio: 16 / 10;
}

@media (min-width: 640px) {
  .a6-home-hero .a6-front-hero {
    aspect-ratio: 16 / 8;
  }
}

@media (min-width: 1024px) {
  .a6-home-hero .a6-front-hero {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  /* 窄图上方留白收一半，否则半张图被标题的黑底盖住 */
  .a6-home-hero .a6-front-cap {
    padding: 2.25rem 0.85rem 0.7rem;
  }

  .a6-home-hero .a6-front-cap-title {
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
  }
}

/* ---------------- 资讯双列 ---------------- */
.a6-duo {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .a6-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  /* 只有一个内容栏目时别留半张空列 */
  .a6-duo.is-solo {
    grid-template-columns: minmax(0, 1fr);
  }
}

.a6-duo-col {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.a6-duo-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--a6-line-2, #e2e8f0);
}

/* 和栏目页的 .a6-col-head 同一套语汇，只是压小一号（双列装不下 22px 标题） */
.a6-duo-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background-image: linear-gradient(90deg,
    rgb(var(--accent-rgb)) 0%,
    rgb(var(--accent-2-rgb, var(--accent-rgb))) 100%);
}

.a6-duo-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--a6-ink-title, #0f172a);
}

.a6-duo-empty {
  padding: 1.75rem 0.5rem;
  border: 1px dashed var(--a6-line-2, #e2e8f0);
  border-radius: 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.7;
  text-align: center;
  color: var(--a6-dim, #94a3b8);
}

/* 通栏模块的空状态（2026-10-26 用户要求：首页模块没内容时不要整块隐藏）。
   和 .a6-duo-empty 同一套虚线框语言，区别是标题 + 说明两行、居中留白更多。
   --a6-* 令牌跟着主题走，六套配色下都不用手动补色。 */
.a6-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.7rem;
  padding: 1.5rem 0.9rem;
  border: 1px dashed var(--a6-line-2, #e2e8f0);
  border-radius: 0.85rem;
  text-align: center;
}

.a6-empty-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--a6-ink-2, #334155);
}

.a6-empty-sub {
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--a6-dim, #94a3b8);
}

/* 窄栏（左栏 304px 的标签卡）里再收一档，免得一张空卡比「关于本站」还高 */
.a6-empty.is-compact {
  padding: 1.05rem 0.6rem;
}

/* 双列里每条都是同一种行样式（不分头条大图，2026-10-25 用户要求）。
   行本身只压一档：标题 14px，一列 410px 里能扫完 5 条。
   封面占位列 / 缩略图占位（.a6-row-cover / .a6-thumb-ph）2026-10-25 晚随「纯文字」一起删了 ——
   首页双列不再产生这两个节点，只留字号这一条覆盖。 */
.a6-duo .a6-list {
  margin-top: 0.6rem;
}

.a6-duo .a6-row-title {
  font-size: 0.875rem;
  line-height: 1.45;
}

/* ---------------- 右栏的近期赛程 ---------------- */
/* 宽栏里 _MatchRow 用原生四列（时间 / 联赛 / 对阵 / 状态），
   不像 A5 侧栏那样把联赛列砍掉 —— 右栏有 800 多 px，放得下 */
.a6-sch {
  padding: 0.875rem 0.9rem 0.75rem;
}

.a6-sch-list {
  border-top: 1px solid var(--a6-line, #f1f5f9);
  padding-top: 0.15rem;
}

@media (min-width: 1024px) {
  .a6-sch .a6-mrow {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
}

/* ---------------- 右栏：精彩直播（浅色比分格，和右栏其它卡同一套配色） ----------------
   2026-10-25 晚第一版是深色比分带（复用 .a6-board），用户要求「卡片配色和其它的模块一样的
   效果」，于是整体改成 ui-card + 浅色小格：底用 --a6-soft、线用 --a6-line-2，
   队名/比分用 --a6-ink-title —— 全部是主题令牌，换深色主题自动跟着走，
   深色比分带那种写死的 #06100e 在这里是不允许出现的。 */
.a6-live {
  padding: 0.875rem 0.9rem 0.9rem;
}

.a6-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.7rem;
}

/* 手机两列（240px 一格，队名够放）；平板三列；
   1024–1279 右栏只有 ~650px，四列每格 150px 队名全被截断，所以仍走三列；
   1280 起右栏 ~840px，四列 8 场正好两行。 */
@media (min-width: 640px) {
  .a6-live-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .a6-live-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.a6-live-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.45rem 0.55rem 0.5rem;
  border-radius: 0.55rem;
  border: 1px solid var(--a6-line-2, #e2e8f0);
  background: var(--a6-soft, #f8fafc);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.a6-live-card:hover {
  border-color: rgb(var(--accent-rgb) / 0.55);
}

/* 直播中的卡：**底色和边框都跟待播卡完全一样**。
   2026-10-26 用户明确「不用红色边框和红色背景了，加点红的元素就行」——
   10-25 的深色视频窗、10-26 早些时候的淡红底红描边全部撤掉，
   只靠三处「红的元素」区分：左上角 ▶ LIVE 红角标 / 脉冲红点 / 红色比分。
   这样六套主题下这一块都彻底融进右栏，不会再有跟配色打架的问题。 */
.a6-live-card.is-live .a6-live-row i {
  color: var(--a6-hot-text, #c81e2b);
}

/* 红点加一圈淡红光环（直播中才有，待播卡是素点） */
.a6-live-card.is-live .a6-live-dot {
  box-shadow: 0 0 0 3px var(--a6-hot-soft, rgb(200 30 44 / 0.14));
}

/* 「▶ LIVE」角标：视频站的做法，红底白字 + 播放三角。
   原来的「正在直播」四个字占地方又弱，换成这个角标后深色卡上有个明确的锚点。 */
.a6-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.06rem 0.34rem 0.06rem 0.28rem;
  border-radius: 0.28rem;
  background: rgb(var(--a6-hot-rgb));
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  /* 一圈极淡的白描边 + 弱红光：底色已经是主题底，光晕给太强会糊成一块脏红 */
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.16), 0 0 8px rgb(var(--a6-hot-rgb) / 0.3);
}

.a6-live-tag i {
  width: 0;
  height: 0;
  border-left: 4px solid #fff;
  border-top: 2.5px solid transparent;
  border-bottom: 2.5px solid transparent;
}

.a6-live-meta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.625rem;
  color: var(--a6-dim, #94a3b8);
}

.a6-live-dot {
  width: 0.3rem;
  height: 0.3rem;
  flex: none;
  border-radius: 999px;
  background: var(--a6-line-3, #cbd5e1);
}

.a6-live-dot.is-live {
  background: rgb(var(--a6-hot-rgb));
  animation: a6-board-pulse 1.8s ease-in-out infinite;
}

.a6-live-dot.is-upcoming {
  background: rgb(var(--accent-rgb));
}

.a6-live-league {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.a6-live-when {
  flex: none;
  font-variant-numeric: tabular-nums;
}

.a6-live-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.35;
}

.a6-live-row b {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--a6-ink-title, #0f172a);
}

.a6-live-row i {
  flex: none;
  min-width: 1rem;
  text-align: right;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--a6-ink-title, #0f172a);
}

/* ============================================================================
   首页 2026-10-25（第三 / 四版补丁）：左栏一路做减法，最后只剩三块
   ----------------------------------------------------------------------------
     · 左栏原来那块竖排比分卡（精选赛事）按用户要求删掉，
       位置换成「热门赛事标签」卡片（标签来自内容管理里每篇文章的 tags，
       A4 用过同样的数据，这里换成窄栏的胶囊云）；
     · 「关于本站」最初是两栏下面的通栏，第四版挪进左栏、紧跟在轮播下面，
       同时把原来占这两格的「积分榜」「今日快照」撤掉。
       所以左栏最终是：轮播 → 关于本站（简介 + 统计四格）→ 热门赛事标签。
   ============================================================================ */

/* ---------------- 左栏：热门赛事标签 ---------------- */
.a6-tag-card {
  padding: 0.875rem 0.9rem 1rem;
}

.a6-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.a6-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22rem;
  padding: 0.28rem 0.55rem 0.28rem 0.62rem;
  border: 1px solid var(--a6-line-2, #e2e8f0);
  border-radius: 999px;
  background: var(--a6-card-2, #f8fafc);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--a6-ink-2, #334155);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.a6-tag:hover {
  border-color: transparent;
  background: rgb(var(--accent-rgb));
  color: var(--a6-on-accent, #fff);
}

/* 标签后面那个小小的篇数是装饰，不能抢标签名 —— 小一号、降一档灰；
   hover 时跟着父级变白（继承色 + 透明度，比再写一遍 on-accent 稳） */
.a6-tag i {
  font-style: normal;
  font-size: 0.625rem;
  font-variant-numeric: tabular-nums;
  color: var(--a6-dim, #94a3b8);
}

.a6-tag:hover i {
  color: inherit;
  opacity: 0.75;
}

/* ---------------- 左栏：关于本站 + 站点统计 ----------------
   2026-10-25 下午：从「两栏下面的通栏」挪进左栏（304px），跟在轮播后面 ——
   所以不再是「左文右数」的两列，而是卡片里竖着叠：
   标题行 → 简介 → 2×2 数字。
   卡片本身的 padding / 边框 / 底色由 .ui-card 给，这里只补内部排版。 */
.a6-about {
  padding: 0.875rem 0.9rem;
}

.a6-about-text {
  margin-top: 0.55rem;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--a6-muted, #64748b);

  /* 304px 宽，第一句就能排五六行 —— 再多会把整列撑破；
     完整那段 intro 页脚本来就原样渲染着，这里截断不丢信息 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.a6-about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.a6-stat {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  padding: 0.45rem 0.5rem 0.5rem;
  border-radius: 0.55rem;
  background: var(--a6-soft, #f1f5f9);
}

/* 数字走 accent→accent-2 渐变（和标题条、名次块一个语言）：
   四格纯黑数字在浅底上太「报表」，所以只有数字渐变，标签仍是 muted 灰。 */
.a6-stat b {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  background-image: linear-gradient(135deg,
    rgb(var(--accent-rgb)) 0%,
    rgb(var(--accent-2-rgb, var(--accent-rgb))) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.a6-stat span {
  font-size: 0.625rem;
  color: var(--a6-muted, #64748b);
}

/* ════════════════════════════════════════════════════════════════════════════
   手机端赛程行：队名别被截成一两个字
   ────────────────────────────────────────────────────────────────────────────
   390px 下实测（.workbuddy/tools/probe-row.js）：行宽 327，日期列 52 + 状态徽标
   64，中间那格只剩 179 —— 两个队徽 2×18、比分 52、四个 gap 32 占掉 120，
   两个队名各 30px，「利物浦」直接渲染成「利…」。
   这里把日期列、比分列、字号和间距各收一档：中间那格多出 ~50px，
   3~4 个字的队名完整显示，长队名（托特纳姆热刺）仍会截断但看得到 4 个字。
   只在小屏生效，sm 以上（有联赛列、四列布局）不动。
   ════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 639.98px) {
  .a6-mrow {
    grid-template-columns: 42px 1fr auto;
    gap: 0.25rem;
  }

  .a6-mrow > span:nth-child(3) {
    gap: 0.3rem;
  }

  .a6-mrow > span:nth-child(3) > b {
    font-size: 0.75rem;
  }

  /* 比分列：「VS」用不着 52px；0.75rem 下两位数比分 34px 也放得下 */
  .a6-mrow > span:nth-child(3) > span[class*="min-w-"] {
    min-width: 34px;
    font-size: 0.75rem;
  }

  /* 状态徽标收一圈内边距（「即将开始」四个字省下 ~8px，留给队名） */
  .a6-mrow > span:last-child {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    font-size: 0.6875rem;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   左栏：足球进球榜 / 篮球场均得分榜（2026-10-26）
   ────────────────────────────────────────────────────────────────────────────
   这块一开始做的是页尾通栏双列，用户随后要求「放到左侧」，于是整体挪进左栏 19rem，
   版式跟着改成上下摞。和 A5 那套窄栏榜（.a5-num + 四段纯文字）仍刻意做开的四件事：
     · 每行带队徽（复用 .a6-team-logo-sm）和一条**相对榜首的占比条** ——
       宽度由 IndexModel 算成百分比塞进 style，模板里没有除法；
     · 前三名序号是金 / 银 / 铜实心牌（浅色字压在深色主题上也认得出），
       不是 A5 那种统一主题色小方块；
     · 榜首多一个「金靴 / 得分王」徽标，整行铺一层极淡的队色；
     · 行内两排：第一行「队名 + 徽标 + 数值」，第二行「联赛 + 占比条」——
       19rem 里把所有东西塞一行会把队名压成一个字。
   列数随断点变：<768 单列、768~1023 通栏双列（这时整页还是单列，铺满 990px 条形太长）、
   >=1024 回到左栏单列。
   颜色分工：足球 = 主题强调色 --accent-rgb → --accent-2-rgb；
   篮球 = 固定紫（**不能**用 --a6-accent-alt，white-clean 主题把它覆盖成青绿，和足球的墨绿糊成一片）。
   两套色都收进 --a6-rank-c1/c2，下面所有规则只认这两个变量，换主题不用再加覆盖。
   ════════════════════════════════════════════════════════════════════════════ */
.a6-rank {
  padding: 0.875rem 0.9rem 1rem;
}

/* 两个榜上下摞：这一块 2026-10-26 从页尾通栏挪进左栏 19rem，
   窄栏里并排两列每列只剩 ~120px，队名会被截成一个字，所以永远单列。 */
.a6-rank-grid {
  display: grid;
  margin-top: 0;
}

.a6-rank-col + .a6-rank-col {
  border-top: 1px solid var(--a6-line, #f1f5f9);
  margin-top: 0.5rem;
  padding-top: 0.55rem;
}

/* 768~1023：整页还是单列（左栏要到 1024 才出现），这一块是通栏 ~990px。
   铺满的话条形能拉到 900px、数值被甩到最右边，队名和数字之间一大片空白；
   这两档刚好够并排两列（每列 350~480），比铺满舒服得多。 */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .a6-rank-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 1.3rem;
  }

  .a6-rank-col + .a6-rank-col {
    border-top: 0;
    border-left: 1px solid var(--a6-line-2, #e2e8f0);
    margin-top: 0;
    padding-top: 0;
    padding-left: 1.3rem;
  }
}

.a6-rank-col {
  --a6-rank-c1: rgb(var(--accent-rgb, 15 118 110));
  --a6-rank-c2: rgb(var(--accent-2-rgb, var(--accent-rgb, 15 118 110)));
}

.a6-rank-col.is-basketball {
  /* 篮球刻意**不用** --a6-accent-alt：white-clean 主题把那个令牌覆盖成了青绿 #0d9488，
     摆在足球的墨绿旁边几乎分不出来（第一版就是这么翻的车）。固定紫系，
     和六套主题的强调色（墨绿 / 绿 / 金 / 青 / 西瓜红 / 云朵蓝）都不撞。 */
  --a6-rank-c1: #6d28d9;
  --a6-rank-c2: #a78bfa;
  --a6-rank-soft: color-mix(in srgb, #6d28d9 12%, transparent);
}

.a6-rank-col.is-football {
  --a6-rank-soft: color-mix(in srgb, var(--a6-rank-c1) 10%, transparent);
}

/* 手机上足球在上、篮球在下（窄栏里桌面上也是这个顺序，横线同样留着） */

.a6-rank-col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.a6-rank-col-title {
  position: relative;
  padding-left: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--a6-ink-title, #0f172a);
}

/* 小竖条用这条榜单自己的颜色，足球绿 / 篮球靛，一眼分左右 */
.a6-rank-col-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0.7rem;
  border-radius: 2px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, var(--a6-rank-c1), var(--a6-rank-c2));
}

.a6-rank-col-note {
  flex: none;
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  color: var(--a6-dim, #94a3b8);
}

.a6-rank-list {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.a6-rank-item + .a6-rank-item {
  border-top: 1px solid var(--a6-line, #f1f5f9);
}

/* 榜首整行铺一层极淡的队色当"领奖台"，和下面四行拉开 */
.a6-rank-item.is-top {
  border-radius: 0.5rem;
  background: var(--a6-rank-soft);
}

.a6-rank-link {
  display: grid;
  grid-template-columns: 1.15rem 18px minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.4rem 0.46rem 0.45rem;
  border-radius: 0.5rem;
  transition: background-color 0.15s ease;
}

.a6-rank-link:hover {
  background: color-mix(in srgb, var(--a6-rank-c1) 7%, var(--a6-card-2, #f8fafc));
}

.a6-rank-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.3rem;
  background: var(--a6-soft, #f1f5f9);
  color: var(--a6-muted, #64748b);
  font-size: 0.6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* 金银铜：实心浅色牌 + 深字，浅色主题和深色主题都不需要再单独覆盖 */
.a6-rank-no.is-1 {
  background: linear-gradient(135deg, #f8dc85, #dfa32a);
  color: #4a3200;
}

.a6-rank-no.is-2 {
  background: linear-gradient(135deg, #eaeff4, #b7c3ce);
  color: #33404b;
}

.a6-rank-no.is-3 {
  background: linear-gradient(135deg, #efc8a1, #bf8350);
  color: #4a2b12;
}

.a6-rank-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.3rem;
}

.a6-rank-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.32rem;
}

/* 第二行：联赛 + 占比条。联赛原本跟队名挤在第一行，挪到这儿之后
   19rem 宽的第一行只剩「队名 + 徽标 + 数值」，长队名的空间多出 30 多 px */
.a6-rank-line.is-sub {
  gap: 0.42rem;
}

.a6-rank-line.is-sub .a6-rank-league {
  max-width: 4.5em;
}

.a6-rank-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--a6-ink, #1e293b);
}

.a6-rank-league {
  flex: none;
  max-width: 6em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.625rem;
  font-style: normal;
  color: var(--a6-dim, #94a3b8);
}

.a6-rank-badge {
  flex: none;
  padding: 0 0.26rem;
  border-radius: 0.24rem;
  background: var(--a6-rank-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a6-rank-c1) 30%, transparent);
  color: var(--a6-rank-c1);
  font-size: 0.5625rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}

.a6-rank-val {
  flex: none;
  margin-left: auto;
  padding-left: 0.3rem;
  font-size: 0.875rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--a6-ink-title, #0f172a);
}

.a6-rank-val em {
  margin-left: 0.14rem;
  font-size: 0.625rem;
  font-style: normal;
  font-weight: 600;
  color: var(--a6-dim, #94a3b8);
}

/* 占比条：底槽用 --a6-soft，填充走这个榜的渐变；垫底的那条最少也留 6%（C# 里夹过） */
.a6-rank-bar {
  display: block;
  flex: 1 1 auto;
  min-width: 2rem;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--a6-soft, #f1f5f9);
}

.a6-rank-bar > i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--a6-rank-c1), var(--a6-rank-c2));
  opacity: 0.9;
}

/* 深色主题里 --a6-soft 本身就是深色凹槽，条形的底色再压一点，避免和卡片底糊在一起 */
body[data-theme='night-green'] .a6-rank-bar,
body[data-theme='gold-night'] .a6-rank-bar,
body[data-theme='aurora'] .a6-rank-bar {
  background: color-mix(in srgb, var(--a6-line-2, #21483b) 70%, transparent);
}

/* 深色底上 #6d28d9 会陷进背景里，篮球这一列整体提亮一档 */
body[data-theme='night-green'] .a6-rank-col.is-basketball,
body[data-theme='gold-night'] .a6-rank-col.is-basketball,
body[data-theme='aurora'] .a6-rank-col.is-basketball {
  --a6-rank-c1: #a78bfa;
  --a6-rank-c2: #c4b5fd;
  --a6-rank-soft: color-mix(in srgb, #a78bfa 16%, transparent);
}

/* ════════════════════════════════════════════════════════════════════════════
   右栏底部：赛季专题（2026-10-26）
   ────────────────────────────────────────────────────────────────────────────
   位置、用途和 A5 一致（右栏最后一屏的两个运动入口），版式故意不撞：
     · A5 是浅底横条卡（左彩条 + 图标方块 + 三行字 + 箭头），靠底色渗色；
     · 这里直接拿频道头图当卡面（和 .a6-schedule-hero 同一张 jpg），
       压一层左深右浅的蒙版，白字落上去 —— 首页至此只有这一处「照片卡」；
     · 运动色只在两处出现：右上角一团斜光、底边 2px 渐变线。不做左侧竖条
       （A5 的签名动作），也不做整片大色块（A4 的签名动作）；
     · 右下角圆形箭头，hover 时填充成运动色并向右挪，卡片底图轻微推近。

   颜色：足球 = 主题强调色；篮球 = 固定紫（理由同 .a6-rank-col.is-basketball：
   --a6-accent-alt 在 white-clean 被覆盖成青绿，会和足球的墨绿糊在一起）。
   深色主题里紫色提亮一档，否则压在图上看不清。
   ════════════════════════════════════════════════════════════════════════════ */
/* .ui-card 只给圆角/边框/底色，**没有 padding** —— 每块自己写。
   这块漏写了 padding，标题直接贴在 1px 边框上、卡面 2px 底边线压着外框圆角，
   看起来就是「标题贴边 + 底部溢出」。对齐 .a6-rank / .a6-tag-card 的取值。 */
.a6-season-block {
  padding: 0.875rem 0.9rem 1rem;
}

.a6-season-grid {
  display: grid;
  gap: 0.7rem;
  /* 标题行只有一行 0.875rem，原来 0.65rem 的间隔让它和卡面糊在一起；
     拉到 0.95rem，标题下沿到卡面之间才有「一层空气」 */
  margin-top: 0.95rem;
}

@media (min-width: 640px) {
  .a6-season-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.a6-season {
  /* 足球默认走主题强调色；篮球下面单独覆盖成紫 */
  --a6-sea-c1: rgb(var(--accent-rgb, 15 118 110));
  --a6-sea-c2: rgb(var(--accent-2-rgb, 13 148 136));

  position: relative;
  display: flex;
  isolation: isolate;
  overflow: hidden;
  min-height: 7.4rem;
  /* 上下留白比原来各多一档：kicker / 标题 / 计数三行挤在 6.9rem 里贴边 */
  padding: 0.9rem 0.95rem 0.85rem;
  border-radius: 0.75rem;
  color: #fff;
  background-color: #0a1410;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.a6-season:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--a6-sea-c1) 45%, transparent),
    0 14px 26px -18px rgb(6 12 10 / 0.75);
}

/* 卡面：频道头图 + 深色蒙版（左边压到 0.94，右边留 0.3 让照片透出来）
   取景位置是按两张原图的构图挑的：足球那张灯在顶上、人和草坪在下三分之一，
   所以要往下压到 82%；篮球那张篮筐在左上，压在 30%。 */
.a6-season::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(100deg, rgb(4 10 8 / 0.94) 0%, rgb(4 10 8 / 0.74) 52%, rgb(4 10 8 / 0.26) 100%),
    url("a6-football-channel.jpg");
  background-size: cover;
  background-position: center 82%;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform 0.55s ease;
}

.a6-season.is-basketball {
  --a6-sea-c1: #7c3aed;
  --a6-sea-c2: #a78bfa;
}

.a6-season.is-basketball::before {
  background-image:
    linear-gradient(100deg, rgb(10 6 16 / 0.94) 0%, rgb(10 6 16 / 0.74) 52%, rgb(10 6 16 / 0.26) 100%),
    url("a6-basketball-channel.jpg");
  background-position: center 30%;
}

.a6-season:hover::before {
  transform: scale(1.07);
}

/* 运动色：右上角斜光 + 底边 2px 渐变线 */
.a6-season::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(150px 96px at 100% 0%, color-mix(in srgb, var(--a6-sea-c1) 62%, transparent), transparent 72%),
    linear-gradient(90deg, var(--a6-sea-c1), var(--a6-sea-c2));
  background-size: 100% 100%, 100% 2px;
  background-position: 0 0, 0 100%;
  background-repeat: no-repeat;
}

.a6-season-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.a6-season-kicker {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.62);
}

.a6-season-title {
  margin-top: 0.3rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.5);
  /* 两行封顶：两卡高度一样，长标题不会把下面撑开 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.a6-season-meta {
  margin-top: auto;
  padding-top: 0.7rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.6875rem;
  color: rgb(255 255 255 / 0.72);
}

/* 数字用运动色提亮一档：白字压图时 11px 的灰太小，靠这截彩色把「有多少场」拎出来 */
.a6-season-meta b {
  font-size: 0.8125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--a6-sea-c2) 82%, #ffffff);
}

/* 右下角圆形箭头：hover 时填成运动色并向右挪 */
.a6-season-go {
  display: inline-flex;
  flex: none;
  align-self: flex-end;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-left: 0.5rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22);
  color: #fff;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.a6-season-go svg {
  width: 0.85rem;
  height: 0.85rem;
}

.a6-season:hover .a6-season-go {
  background: var(--a6-sea-c1);
  transform: translateX(3px);
}

/* 两列并排后每张卡 300~420px 宽，7.4rem 高就成了一条扁带，
   三段字全挤在左边一小块里；拉高到 8.4rem、padding 再松一档，
   文字才铺得开。
   ⚠️ 这条必须写在基础 .a6-season 之后 —— 同优先级，放前面会被覆盖。 */
@media (min-width: 640px) {
  .a6-season {
    min-height: 8.4rem;
    padding: 1rem 1rem 0.95rem;
  }
}

/* 深色主题：紫色系提亮，否则压在照片蒙版上看不出是「篮球那一张」 */
body[data-theme='night-green'] .a6-season.is-basketball,
body[data-theme='gold-night'] .a6-season.is-basketball,
body[data-theme='aurora'] .a6-season.is-basketball {
  --a6-sea-c1: #a78bfa;
  --a6-sea-c2: #c4b5fd;
}

/* 手机上两卡上下摞，卡面高度收到 6.2rem：整页最后一块，别占太多滚动
   （padding 放过后 5.6rem 装不下「kicker + 单行标题 + 计数」，会顶到边） */
@media (max-width: 639.98px) {
  .a6-season {
    min-height: 6.2rem;
  }

  .a6-season-meta {
    padding-top: 0.5rem;
  }

  .a6-season-title {
    -webkit-line-clamp: 1;
  }
}

/* ============================================================================
   首页「精彩直播」卡片底部引导按钮（2026-10-30 加）
   ----------------------------------------------------------------------------
   整张卡本来就是 <a>，但卡里只有联赛 / 比分 / 状态，读者看不出「能点进去」。
   这里在底部补一条明确的入口按钮：直播中走直播红，未开赛 / 已结束走主题强调色，
   hover 反色 + 箭头右移一格，和站内其它按钮（ui-chip-on / a6-season-go）同一套语言。
   ============================================================================ */
.a6-live-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin-top: 0.32rem;
  padding: 0.26rem 0.4rem;
  border-radius: 0.42rem;
  background: rgb(var(--accent-rgb) / 0.1);
  color: rgb(var(--accent-rgb));
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.45;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.a6-live-go i {
  font-style: normal;
  transition: transform 0.15s ease;
}

.a6-live-card:hover .a6-live-go {
  background: rgb(var(--accent-rgb));
  color: var(--a6-on-accent, #fff);
}

.a6-live-card:hover .a6-live-go i {
  transform: translateX(2px);
}

/* 直播中：跟 .a6-live-tag 的直播红一套，别和强调色撞 */
.a6-live-card.is-live .a6-live-go {
  background: var(--a6-hot-soft, rgb(200 30 44 / 0.14));
  color: rgb(var(--a6-hot-rgb));
}

.a6-live-card.is-live:hover .a6-live-go {
  background: rgb(var(--a6-hot-rgb));
  color: #fff;
}

/* ============================================================================
   全站背景图（后台「站点设置 → 全站背景图」）
   ----------------------------------------------------------------------------
   挂在 <html>（根元素）上，两层叠：
     ① 主题底色的半透明蒙版 --site-scrim（保证文字可读，色值由 layout_top 按主题注入）
     ② 站点背景图 --site-bg（内联注入，fixed + cover 铺满）
   为什么是 html 而不是 body：
     · body 的背景会被 body 自己的盒子高度裁掉 —— 页面比窗口短时，图就只铺到内容末尾，
       看起来「只占一小块」（用户实测截图就是这个现象）；
     · 根元素的背景 = 整块画布，永远铺满窗口，且 fixed 后滚动时不动。
   body 的主题氛围光（--a6-page-glow）仍画在 body 上，压在照片之上，两套互不干扰。
   ============================================================================ */
html.has-site-bg {
  background-image:
    linear-gradient(var(--site-scrim, rgb(15 23 42 / 0.35)), var(--site-scrim, rgb(15 23 42 / 0.35))),
    var(--site-bg, none);
  /* 宽度铺满、高度按图片比例（auto），从页面顶部往下排；不裁切、不重复 */
  background-size: cover, 100% auto;
  background-position: center top, center top;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

/* body 自己那层不透明底色会把根元素上的背景图盖掉 —— 设了背景图时让 body 透明，
   底色交给 html（主题的 html:has(...) 已经给了深色底色），氛围光仍画在 body 上。 */
html.has-site-bg body {
  background-color: transparent;
}
/* 全站背景图只在 <html> 上画一处；body::before 那层（app.css 的 --page-bg-image + cover）
   必须关掉，否则会出现「两张背景图叠在一起」：一张 cover 居中、一张 100% 顶部。
   （a6.css 前面把 body::before 的 opacity 提到 1 了，所以只要给变量就会画出来。） */
html.has-site-bg body::before {
  background-image: none;
}