/* ============================================================================
   CS08「燃动体育」前台样式 —— 全站推倒重写版（2026-10-28）
   现代深色体育门户：深墨蓝底 + 荧光绿(足球)/天蓝(篮球)/玫红(直播)/活力橙(品牌)
   + 大圆角卡片 + 柔光投影 + 通栏大色块。与 CS07 报纸/杂志白纸风彻底不同。

   结构：
     ① 设计令牌        ② 主题配色      ③ 全局基底        ④ 页头 / 抽屉 / 页脚
     ⑤ 首页版块        ⑥ 内页 / 共享组件  ⑦ 响应式

   依赖：本文件在 /assets/app.css（Tailwind）之后加载。
   全站页面只用 cs08-* 类；旧 cs07-* 类已弃用（页面模板已全部重写）。

   颜色一律走令牌（--c-*）。要加/改配色只动「② 主题配色」段，
   版式和组件不用改（后台「站点设置 → 主题配色」写的就是这些 key）。
   ============================================================================ */

/* ───────────────────────────── ① 设计令牌 ───────────────────────────── */
/*
   这里只放**与配色无关**的东西（圆角、投影、字体、页头高度）+ 默认主题的兜底色，
   真正的配色分档在下一段。带 -rgb 的是同名颜色的 RGB 三分量，
   给 rgba(var(--c-brand-rgb), .14) 这种"半透明同色"用 ——
   直接写 rgba(255,107,53,.14) 的话换主题时那块底色不会跟着变。

   同理，凡是"卡片上比底色亮／暗一档"的叠色（hover 底、药丸底、页码底）都走
   --c-soft / --c-soft-2 / --c-soft-3，遮罩走 --c-mask：
   深色主题是 rgba(255,255,255,α)，浅色主题要换成 rgba(0,0,0,α)，
   写死白色的话浅色主题上这些底色会直接看不见。
*/
:root {
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(2, 6, 16, 0.5);
  --shadow-soft: 0 4px 16px rgba(2, 6, 16, 0.35);
  --font: -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --hd-h: 68px;

  /* 兜底 = 默认主题（燃动夜）的色值，见下面第 1 套 */
  --c-bg: #0b1322;
  --c-bg-rgb: 11, 19, 34;
  --c-foot: #0a1220;        /* 页脚：比页面底再沉一档 */
  --c-panel: #101c30;       /* 卡片底 */
  --c-panel-2: #16263f;     /* 卡片底(亮一档) */
  --c-line: rgba(255, 255, 255, 0.08);
  --c-line-2: rgba(255, 255, 255, 0.16);
  --c-soft: rgba(255, 255, 255, 0.05);    /* 药丸/页码/hover 底 */
  --c-soft-2: rgba(255, 255, 255, 0.08);  /* 选中的导航、代码块底 */
  --c-soft-3: rgba(255, 255, 255, 0.14);  /* hover 更重一档、银牌底 */
  --c-mask: rgba(2, 6, 16, 0.6);          /* 抽屉遮罩 */
  --c-text: #eaf0f8;        /* 主文字 */
  --c-muted: #93a3ba;       /* 次要文字 */
  --c-faint: #5c6f8c;       /* 弱文字 */
  --c-fb: #4ade80;          /* 足球 · 荧光绿 */
  --c-fb-rgb: 74, 222, 128;
  --c-fb-2: #16a34a;        /* 足球色渐变的重端（队徽底） */
  --c-bb: #38bdf8;          /* 篮球 · 天蓝 */
  --c-bb-rgb: 56, 189, 248;
  --c-bb-2: #2563eb;
  --c-live: #f43f5e;        /* 直播 · 玫红 */
  --c-live-rgb: 244, 63, 94;
  --c-brand: #ff6b35;       /* 品牌 · 活力橙 */
  --c-brand-rgb: 255, 107, 53;
  --c-brand-2: #ff9a3c;     /* 品牌色渐变的重端 */
  --c-gold: #fbbf24;        /* 强调 · 琥珀 */
  --c-gold-rgb: 251, 191, 36;
  --c-on-gold: #241703;     /* 金牌名次块上的字：深色主题上用近黑，浅色主题上换白 */
}

/* ───────────────────────────── ② 主题配色 ───────────────────────────── */
/*
   5 套配色，key 与后台 web/admin/src/themes.ts 的 CS08_THEME_PRESETS 一一对应，
   后台「站点设置 → 主题配色」选的就是这些 key（存进 site_settings.theme_key），
   前台输出成 <body data-theme="key">。

   ⚠️ 三处必须同时改，少一处就会"后台能选但前台不变色"：
      1) 这里加一段 body[data-theme='新key'] { … }
      2) 下面每套末尾的 html:has(body[data-theme='新key']) 给 html 补底色
         （data-theme 在 body 上，html 拿不到 body 的变量，内容短时会露出默认墨蓝）
      3) web/admin/src/themes.ts 的 CS08_THEME_PRESETS 补一张卡

   ⚠️ 第一套是默认（后台遇到不认识的 key 会落到 themes[0]），别随手调顺序；
      theme_key 为空时走 ① 的兜底色，和第一套完全一致。

   深色 5 套 + 浅色 3 套（落日橙 / 暖沙砖红 / 珊瑚玫瑰）。
   浅色那几套不是"反色"——它们额外覆盖了 --c-soft* / --c-line* / --c-mask / --shadow*，
   把"比底色亮一档"的叠色换成"比底色暗一档"（见 ① 那段注释）。
   所以**新增样式时别写死 rgba(255,255,255,…) 当底色/描边**，否则浅色主题会看不见。

   浅色档的强调色都取了深一档的（橙 700 / 砖红 700 / 玫红 700 这一级），
   因为一个色值在两处用：当文字要压在浅底上（要够深），当实心块要压白字（要够深）。
   浅色里 --c-brand-2 是**更深**的那一头（深色主题里它是更亮的一头），
   这样队徽/站标的渐变加白字在两种主题下都够对比度。
*/

/* 1 · 燃动夜（默认）：墨蓝底 + 活力橙 —— 现行观感，和 ① 的兜底色一模一样 */
body[data-theme='arena-night'] {
  --c-bg: #0b1322;
  --c-bg-rgb: 11, 19, 34;
  --c-foot: #0a1220;
  --c-panel: #101c30;
  --c-panel-2: #16263f;
  --c-text: #eaf0f8;
  --c-muted: #93a3ba;
  --c-faint: #5c6f8c;
  --c-brand: #ff6b35;
  --c-brand-rgb: 255, 107, 53;
  --c-brand-2: #ff9a3c;
  --c-fb: #4ade80;
  --c-fb-rgb: 74, 222, 128;
  --c-fb-2: #16a34a;
  --c-bb: #38bdf8;
  --c-bb-rgb: 56, 189, 248;
  --c-bb-2: #2563eb;
  --c-live: #f43f5e;
  --c-live-rgb: 244, 63, 94;
  --c-gold: #fbbf24;
  --c-gold-rgb: 251, 191, 36;
}

/* 2 · 拂晓蓝：藏青底 + 亮蓝主色，最像常规体育门户的一套 */
body[data-theme='dawn-blue'] {
  --c-bg: #071423;
  --c-bg-rgb: 7, 20, 35;
  --c-foot: #061220;
  --c-panel: #0c2138;
  --c-panel-2: #12304e;
  --c-text: #e7f2ff;
  --c-muted: #8eafcc;
  --c-faint: #587494;
  --c-brand: #3b82f6;
  --c-brand-rgb: 59, 130, 246;
  --c-brand-2: #60a5fa;
  --c-fb: #34d399;
  --c-fb-rgb: 52, 211, 153;
  --c-fb-2: #059669;
  --c-bb: #22d3ee;
  --c-bb-rgb: 34, 211, 238;
  --c-bb-2: #0e7490;
  --c-live: #fb7185;
  --c-live-rgb: 251, 113, 133;
  --c-gold: #fbbf24;
  --c-gold-rgb: 251, 191, 36;
}

/* 3 · 极光绿：墨绿底 + 翡翠主色，夜场看球最不刺眼的一套 */
body[data-theme='aurora-green'] {
  --c-bg: #05150f;
  --c-bg-rgb: 5, 21, 15;
  --c-foot: #04120d;
  --c-panel: #0a2018;
  --c-panel-2: #0e2c22;
  --c-text: #e9fbf2;
  --c-muted: #8db8a4;
  --c-faint: #557d6e;
  --c-brand: #34d399;
  --c-brand-rgb: 52, 211, 153;
  --c-brand-2: #6ee7b7;
  --c-fb: #4ade80;
  --c-fb-rgb: 74, 222, 128;
  --c-fb-2: #15803d;
  --c-bb: #38bdf8;
  --c-bb-rgb: 56, 189, 248;
  --c-bb-2: #2563eb;
  --c-live: #fb7185;
  --c-live-rgb: 251, 113, 133;
  --c-gold: #fbbf24;
  --c-gold-rgb: 251, 191, 36;
}

/* 4 · 烈焰红：近黑底 + 朱红主色；直播色特意挪到橙，和主色拉开距离 */
body[data-theme='flame-red'] {
  --c-bg: #16090e;
  --c-bg-rgb: 22, 9, 14;
  --c-foot: #12070b;
  --c-panel: #211016;
  --c-panel-2: #2d151e;
  --c-text: #fdeef1;
  --c-muted: #c0969f;
  --c-faint: #855e69;
  --c-brand: #ef4444;
  --c-brand-rgb: 239, 68, 68;
  --c-brand-2: #f87171;
  --c-fb: #4ade80;
  --c-fb-rgb: 74, 222, 128;
  --c-fb-2: #16a34a;
  --c-bb: #38bdf8;
  --c-bb-rgb: 56, 189, 248;
  --c-bb-2: #2563eb;
  --c-live: #fb923c;
  --c-live-rgb: 251, 146, 60;
  --c-gold: #fbbf24;
  --c-gold-rgb: 251, 191, 36;
}

/* 5 · 石墨金：中性石墨底 + 琥珀金主色，最克制的一套，适合以资讯为主时用 */
body[data-theme='graphite-gold'] {
  --c-bg: #0d0e10;
  --c-bg-rgb: 13, 14, 16;
  --c-foot: #0a0b0d;
  --c-panel: #16181b;
  --c-panel-2: #1e2126;
  --c-text: #f1eee7;
  --c-muted: #a9a59b;
  --c-faint: #726d63;
  --c-brand: #d4a24c;
  --c-brand-rgb: 212, 162, 76;
  --c-brand-2: #e8c07a;
  --c-fb: #34d399;
  --c-fb-rgb: 52, 211, 153;
  --c-fb-2: #059669;
  --c-bb: #38bdf8;
  --c-bb-rgb: 56, 189, 248;
  --c-bb-2: #2563eb;
  --c-live: #f43f5e;
  --c-live-rgb: 244, 63, 94;
  --c-gold: #f5c451;
  --c-gold-rgb: 245, 196, 81;
}

/* ── 以下是浅色 3 套（暖橙 / 砖红 / 珊瑚），2026-10-29 加 ──
   每套除了调色，必须一起换掉"卡片比底亮一档"的叠色和投影：
   浅底上 rgba(255,255,255,α) 等于没画，rgba(2,6,16,.5) 的投影也会脏得像糊了一层灰。 */

/* 6 · 落日橙：暖白底 + 深橙主色，白天最亮堂的一套 */
body[data-theme='sunset-orange'] {
  --c-bg: #fdf7f1;
  --c-bg-rgb: 253, 247, 241;
  --c-foot: #f7ece1;
  --c-panel: #ffffff;
  --c-panel-2: #fff2e4;
  --c-line: rgba(60, 36, 16, 0.10);
  --c-line-2: rgba(60, 36, 16, 0.20);
  --c-soft: rgba(60, 36, 16, 0.05);
  --c-soft-2: rgba(60, 36, 16, 0.08);
  --c-soft-3: rgba(60, 36, 16, 0.14);
  --c-mask: rgba(60, 36, 16, 0.42);
  --c-text: #241a12;
  --c-muted: #6f5b4c;
  --c-faint: #84705e;
  --c-brand: #c2410c;
  --c-brand-rgb: 194, 65, 12;
  --c-brand-2: #9a3412;
  --c-fb: #15803d;
  --c-fb-rgb: 21, 128, 61;
  --c-fb-2: #166534;
  --c-bb: #0369a1;
  --c-bb-rgb: 3, 105, 161;
  --c-bb-2: #075985;
  --c-live: #dc2626;
  --c-live-rgb: 220, 38, 38;
  --c-gold: #b45309;
  --c-gold-rgb: 180, 83, 9;
  --c-on-gold: #ffffff;
  --shadow: 0 10px 30px rgba(122, 74, 30, 0.14);
  --shadow-soft: 0 4px 16px rgba(122, 74, 30, 0.10);
}

/* 7 · 暖沙砖红：米纸底 + 砖红主色，像报刊的那股暖白 */
body[data-theme='brick-cream'] {
  --c-bg: #faf5ec;
  --c-bg-rgb: 250, 245, 236;
  --c-foot: #f3ebdd;
  --c-panel: #fffdf9;
  --c-panel-2: #f7eddd;
  --c-line: rgba(70, 44, 20, 0.11);
  --c-line-2: rgba(70, 44, 20, 0.20);
  --c-soft: rgba(70, 44, 20, 0.05);
  --c-soft-2: rgba(70, 44, 20, 0.09);
  --c-soft-3: rgba(70, 44, 20, 0.15);
  --c-mask: rgba(60, 38, 16, 0.42);
  --c-text: #271b12;
  --c-muted: #6d5b48;
  --c-faint: #816e5b;
  --c-brand: #a3341f;
  --c-brand-rgb: 163, 52, 31;
  --c-brand-2: #85291a;
  --c-fb: #2f7d32;
  --c-fb-rgb: 47, 125, 50;
  --c-fb-2: #1b5e20;
  --c-bb: #1d6f8b;
  --c-bb-rgb: 29, 111, 139;
  --c-bb-2: #14556b;
  --c-live: #c2410c;
  --c-live-rgb: 194, 65, 12;
  --c-gold: #a16207;
  --c-gold-rgb: 161, 98, 7;
  --c-on-gold: #ffffff;
  --shadow: 0 10px 30px rgba(110, 78, 40, 0.14);
  --shadow-soft: 0 4px 16px rgba(110, 78, 40, 0.10);
}

/* 8 · 珊瑚玫瑰：淡珊瑚粉底 + 玫红主色，最活泼的一套 */
body[data-theme='coral-rose'] {
  --c-bg: #fff5f4;
  --c-bg-rgb: 255, 245, 244;
  --c-foot: #fceceb;
  --c-panel: #ffffff;
  --c-panel-2: #ffeceb;
  --c-line: rgba(70, 28, 32, 0.10);
  --c-line-2: rgba(70, 28, 32, 0.19);
  --c-soft: rgba(70, 28, 32, 0.05);
  --c-soft-2: rgba(70, 28, 32, 0.08);
  --c-soft-3: rgba(70, 28, 32, 0.14);
  --c-mask: rgba(60, 20, 26, 0.42);
  --c-text: #2a1618;
  --c-muted: #75565a;
  --c-faint: #8d6b73;
  --c-brand: #c2185b;
  --c-brand-rgb: 194, 24, 91;
  --c-brand-2: #9d174d;
  --c-fb: #157f4b;
  --c-fb-rgb: 21, 127, 75;
  --c-fb-2: #0f5c36;
  --c-bb: #0b6280;
  --c-bb-rgb: 11, 98, 128;
  --c-bb-2: #155e75;
  --c-live: #d92d20;
  --c-live-rgb: 217, 45, 32;
  --c-gold: #b45309;
  --c-gold-rgb: 180, 83, 9;
  --c-on-gold: #ffffff;
  --shadow: 0 10px 30px rgba(120, 40, 60, 0.14);
  --shadow-soft: 0 4px 16px rgba(120, 40, 60, 0.10);
}

/* html 的底色跟着主题走：内容比视口短时（两行赛程的列表页），
   body 下面露出来的那块是 html 的背景，不跟着换会看到默认墨蓝 */
html:has(body[data-theme='arena-night']) { background: #0b1322; }
html:has(body[data-theme='dawn-blue']) { background: #071423; }
html:has(body[data-theme='aurora-green']) { background: #05150f; }
html:has(body[data-theme='flame-red']) { background: #16090e; }
html:has(body[data-theme='graphite-gold']) { background: #0d0e10; }
html:has(body[data-theme='sunset-orange']) { background: #fdf7f1; }
html:has(body[data-theme='brick-cream']) { background: #faf5ec; }
html:has(body[data-theme='coral-rose']) { background: #fff5f4; }

/* ───────────────────────────── ③ 全局基底 ───────────────────────────── */
/* html 也要给底色：内容比视口短时（比如列表只有两行），body 下面的空白区
   会露出浏览器默认的白，深色站看着像断了一半 */
html { background: var(--c-bg); scroll-behavior: smooth; }

/*
   背景图（后台「站点设置 → 背景图片」）就挂在 body 的 background-image 里，和底色、柔光同一个栈：
     最上层  两团主题色柔光（radial-gradient）
     中间    主题底色半透明叠层（让图压得住，文字和卡片对比度不必重算）
     最下层  背景图本身 var(--page-bg-image, none)
   模板把图写成 body 的行内变量：style="--page-bg-image:url('/uploads/…')"。

   ⚠️ 别改回「body::before + z-index:-1」那条路（2026-10-29 就是这么写的，结果图根本不显示）：
   z-index 为负的定位元素在 CSS 2.1 附录 E 的绘制顺序里排在**元素自己的背景之前**，
   body 又有不透明底色 —— 伪元素整个被 body 的背景盖住，算得出来、却看不见。
   铺在 body 自己的背景层上，就没有这个问题；background-attachment: fixed 保证滚动时不动。

   ⚠️ 叠层 alpha 就是「图能看见多少」：0.50 / 0.68 ≈ 图占三到五成。
      嫌图太淡就把这两个数调小（0.35 之类），嫌字糊就调大。浅色主题会自动用浅色叠层。
*/
body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--c-bg);
  background-image:
    radial-gradient(900px 420px at 15% -6%, rgba(var(--c-brand-rgb), 0.10), transparent 60%),
    radial-gradient(800px 380px at 88% -4%, rgba(var(--c-bb-rgb), 0.10), transparent 60%),
    linear-gradient(rgba(var(--c-bg-rgb), 0.50), rgba(var(--c-bg-rgb), 0.68)),
    var(--page-bg-image, none);
  background-size: auto, auto, auto, cover;
  background-position: 0 0, 0 0, center top, center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--c-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* app.css 里还有一条通用的 body::before（opacity:.16 的同一张图）。
   CS08 已经把它并进 body 的背景栈了，这条留着只会再多画一层 → 直接关掉。 */
body::before { display: none; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
b, strong { color: var(--c-text); }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; line-height: 1.25; color: var(--c-text); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl { margin: 0; }
dt, dd { margin: 0; }
time { font-variant-numeric: tabular-nums; }
code, pre { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
figure { margin: 0; }

main { min-height: 60vh; }

/* 版心 */
.cs08-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.cs08-section { margin: 34px 0; }

/* ───────────────────────────── ④ 页头 / 抽屉 / 页脚 ───────────────────────────── */
.cs08-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(var(--c-bg-rgb), 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.cs08-header-in { display: flex; align-items: center; gap: 24px; height: var(--hd-h); }

.cs08-brand { display: flex; align-items: center; gap: 12px; }
.cs08-brand-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2));
  box-shadow: 0 6px 18px rgba(var(--c-brand-rgb), 0.4);
}
.cs08-brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.cs08-brand-name { font-size: 21px; font-weight: 800; letter-spacing: 1px; }

.cs08-nav { display: flex; gap: 4px; margin-left: auto; }
.cs08-nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  color: var(--c-muted);
  transition: color .18s, background .18s;
}
.cs08-nav-link:hover { color: var(--c-text); background: var(--c-soft); }
.cs08-nav-link.is-active { color: var(--c-text); background: var(--c-soft-2); }
.cs08-nav-link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2.5px; border-radius: 2px; background: var(--c-brand);
}

/* 页头右侧原本有一个「● 直播中」静态徽标，2026-10-29 摘掉：
   它不带数字、不可点，等于全站常驻一句假直播提示。真正的直播信息在
   首页现在条 / 列表页状态药丸 / 「正在直播」筛选里，都带场次数。
   .cs08-pulse 动画仍被现在条圆点、时间轴圆点、状态药丸复用，别删。 */
@keyframes cs08-pulse { 0%,100% {opacity:1;transform:scale(1);} 50% {opacity:.35;transform:scale(.8);} }

.cs08-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; margin-left: auto;
  border: 0; border-radius: 10px; background: var(--c-soft); cursor: pointer;
}
.cs08-burger span { display: block; width: 20px; height: 2px; margin: 0 auto; border-radius: 2px; background: var(--c-text); }

.cs08-drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.cs08-drawer-mask { position: absolute; inset: 0; background: var(--c-mask); opacity: 0; transition: opacity .25s; }
.cs08-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 300px;
  background: var(--c-panel); border-left: 1px solid var(--c-line);
  transform: translateX(100%); transition: transform .28s;
  display: flex; flex-direction: column;
}
.cs08-drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--c-line); }
.cs08-drawer-title { font-size: 17px; font-weight: 700; }
/* 关闭按钮里的叉号要正好落在方块中心：
   原来只给了 36×36 的尺寸，图标是内联 <svg class="h-4 w-4">（16×16 来自 app.css），
   内联元素按基线排，叉号在方块里偏上、左右也不稳。改成 grid 居中 + svg 变块级，
   跟字体行高、按钮默认 padding 都无关，换哪套重置样式都不会跑。 */
.cs08-drawer-close {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; padding: 0; line-height: 0;
  border: 0; border-radius: 10px; background: var(--c-soft-2); color: var(--c-text);
  cursor: pointer;
}
.cs08-drawer-close svg { display: block; width: 16px; height: 16px; }
.cs08-drawer-body { padding: 12px 16px; overflow-y: auto; }
.cs08-dnav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cs08-dnav-link { display: flex; align-items: center; justify-content: space-between; padding: 13px 12px; border-radius: 10px; font-size: 15px; color: var(--c-muted); }
.cs08-dnav-link.is-active { color: var(--c-text); background: var(--c-soft-2); }
html.cs08-drawer-open .cs08-drawer { visibility: visible; }
html.cs08-drawer-open .cs08-drawer-mask { opacity: 1; }
html.cs08-drawer-open .cs08-drawer-panel { transform: translateX(0); }

.cs08-footer {
  margin-top: 48px;
  background: var(--c-foot);
  border-top: 1px solid var(--c-line);
  padding: 36px 0 30px;
}
.cs08-footer-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px 40px; align-items: start;
}
.cs08-foot-col { min-width: 0; }
.cs08-foot-desc .cs08-footer-intro { max-width: 620px; }
.cs08-foot-t { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .5px; color: var(--c-text); }
.cs08-flinks { display: flex; flex-wrap: wrap; gap: 10px; }
.cs08-flink { display: inline-block; font-size: 13px; padding: 6px 12px; border-radius: 999px; color: var(--c-muted); background: var(--c-soft); border: 1px solid var(--c-line); }
.cs08-flink:hover { color: var(--c-text); border-color: var(--c-brand); }
.cs08-footer-intro { margin: 0; font-size: 13px; color: var(--c-faint); line-height: 1.85; }

/* 版权行：一条细线隔开，左版权右网站地图（地图降级成次要链接，不再占一行导航） */
.cs08-footer-bar {
  display: flex; align-items: center; gap: 16px;
  margin-top: 26px; padding-top: 16px;
  border-top: 1px solid var(--c-line);
  font-size: 12.5px; color: var(--c-faint);
}
.cs08-footer-copy { min-width: 0; }
.cs08-footer-map { margin-left: auto; flex: none; color: var(--c-faint); }
.cs08-footer-map:hover { color: var(--c-brand); }

/* ───────────────────────────── 共享小组件 ───────────────────────────── */

/* 队徽：圆形渐变底 + 首字，有图就叠图（图挂了退回首字） */
.cs08-logo {
  position: relative; flex: none; display: inline-grid; place-items: center;
  border-radius: 50%; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2));
  overflow: hidden;
}
/* 首字只做兜底：logo 一旦有图就绝对定位盖满整个圆，否则 grid 会把首字和图片
   排成两行，26px 的圆里同时露出图和第一个字（直播时间轴最明显）。
   加载失败时 onerror 删掉 img，首字自动露出来。 */
/* 图片用 contain 而不是 cover：队徽图常见宽高比不一（采集来的很多是长方形），
   cover 在 26px 小圆里看不出来，到详情页 54px 大圆会把队徽四边切掉一圈；
   contain 完整显示，图片自带白色圆底，白底 JPG 也不会在渐变圆里露出方角。 */
.cs08-logo img {
  position: absolute; inset: 2px; z-index: 1;
  width: calc(100% - 4px); height: calc(100% - 4px);
  object-fit: contain; border-radius: 50%; background: #fff;
}
.cs08-logo-sm { width: 26px; height: 26px; font-size: 12px; }
.cs08-logo-md { width: 38px; height: 38px; font-size: 14px; }
.cs08-logo-lg { width: 54px; height: 54px; font-size: 18px; }
.cs08-logo.is-fb { background: linear-gradient(135deg, var(--c-fb), var(--c-fb-2)); }
.cs08-logo.is-bb { background: linear-gradient(135deg, var(--c-bb), var(--c-bb-2)); }

/* 占位色块（无封面） */
.cs08-ph {
  display: grid; place-items: center;
  color: rgba(255,255,255,0.45); font-weight: 800; font-size: 22px;
  background: linear-gradient(135deg, rgba(var(--c-brand-rgb),0.4), rgba(var(--c-bb-rgb),0.4));
}

/* 版块/栏目头：彩色竖条 + 标题 + 底部细线 + 右角链接 */
.cs08-band {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
}
.cs08-band .cs08-kicker { flex: none; width: 5px; height: 22px; border-radius: 3px; background: var(--c-brand); }
.cs08-band.is-fb .cs08-kicker { background: var(--c-fb); }
.cs08-band.is-bb .cs08-kicker { background: var(--c-bb); }
.cs08-band h1, .cs08-band h2 { margin: 0; font-size: 22px; font-weight: 800; }
.cs08-band .cs08-band-more { margin-left: auto; font-size: 13px; color: var(--c-muted); }
.cs08-band .cs08-band-more:hover { color: var(--c-brand); }

/* 状态药丸 */
.cs08-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; line-height: 1.6; white-space: nowrap;
}
.cs08-pill.is-live { color: var(--c-live); background: rgba(var(--c-live-rgb),0.16); }
.cs08-pill.is-live .cs08-pdot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-live); animation: cs08-pulse 1.3s infinite; }
.cs08-pill.is-upcoming { color: var(--c-bb); background: rgba(var(--c-bb-rgb),0.14); }
.cs08-pill.is-finished { color: var(--c-faint); background: var(--c-soft); }

/* 页码条 */
.cs08-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 24px 0; }
.cs08-pager a, .cs08-pager span {
  min-width: 38px; height: 38px;
  display: inline-grid; place-items: center;
  padding: 0 10px; border-radius: 9px;
  font-size: 13.5px; color: var(--c-muted); background: var(--c-soft);
}
.cs08-pager a:hover { color: var(--c-text); background: var(--c-soft-3); }
.cs08-pager .is-current { background: var(--c-brand); color: #fff; }
.cs08-pager .cs08-pager-info { background: none; color: var(--c-faint); min-width: 0; }

/* 面包屑 */
.cs08-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--c-faint); }
.cs08-crumb a:hover { color: var(--c-brand); }
.cs08-crumb .sep { color: var(--c-faint); opacity: .6; }
.cs08-crumb .now { color: var(--c-muted); }

/* 侧栏吸顶 */
.cs08-sticky { position: sticky; top: calc(var(--hd-h) + 14px); }
/* 详情页右栏是「相关阅读/相关回顾 + 赛程」两张卡上下排；
   2026-10-29 修：以前这里没写 gap，两张卡直接贴在一起，看着像一张卡劈成两半。
   窄屏那条媒体查询会把它改成两列 grid（gap 22px），两边都留缝。 */
.cs08-side { display: flex; flex-direction: column; gap: 18px; }
.cs08-side-card {
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}
.cs08-side-card h3 {
  margin: 0 0 12px; font-size: 15px; font-weight: 800;
  display: flex; align-items: center; gap: 8px;
}
.cs08-side-card h3::before { content: ""; width: 4px; height: 15px; border-radius: 3px; background: var(--c-brand); }
/* 标题右侧的「更多 → / 全部 →」。
   ⚠️ 标题行**不要**用 justify-content:space-between 来顶右：h3::before 那条色条也算一个
   flex 项，space-between 会把标题文字分配到中间（2026-10-29 用户报的两个页面就是这个）。
   正确做法是链接上 margin-left:auto —— 色条和标题贴左侧，链接被剩下的空白顶到右边。 */
.cs08-side-card h3 .cs08-side-more {
  margin-left: auto; flex: none;
  font-size: 12px; font-weight: 500; color: var(--c-faint);
  transition: color .16s;
}
.cs08-side-card h3 .cs08-side-more:hover { color: var(--c-brand); }

/* ───────────────────────────── ⑤ 首页 · 赛程时间轴 ───────────────────────────── */
/*
   这一版首页没有 hero、没有右栏：一条时间轴从上到下就是整页。
   骨架是三列网格 74 / 28 / 1fr —— 中间那 28px 就是"轴"，所有圆点落在同一条竖线上，
   时间列多宽、卡片多高都不会把轴带歪（轴是 .cs08-tl::before 画的一条 1px 线）。

   色值一律走令牌（--c-*），不写死具体颜色：后面接主题切换只换令牌，版式不用动。
*/

/* ① 现在条：此刻几点 / 直播几场 / 下一场是谁 */
.cs08-nowbar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px;
  margin: 22px 0 0; padding: 16px 20px;
  background: var(--c-panel); border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
}
.cs08-nowclock { display: flex; align-items: baseline; gap: 9px; }
.cs08-nowclock b { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.cs08-nowdot { width: 9px; height: 9px; border-radius: 50%; background: var(--c-faint); align-self: center; }
.cs08-nowdot.is-live { background: var(--c-live); animation: cs08-pulse 1.3s infinite; }
.cs08-nowday { font-size: 13px; color: var(--c-muted); }
.cs08-nowtag { padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--c-brand); background: rgba(var(--c-brand-rgb),.14); align-self: center; }
.cs08-nowword { font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.cs08-nowmeta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--c-muted); }
.cs08-nowlive { color: var(--c-live); font-weight: 700; }
.cs08-nowlive.is-idle { color: var(--c-faint); font-weight: 500; }
.cs08-nowsep { width: 1px; height: 14px; background: var(--c-line-2); }
.cs08-nowcount { font-variant-numeric: tabular-nums; }
.cs08-nownext {
  margin-left: auto; max-width: 100%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px;
  background: var(--c-soft); border: 1px solid var(--c-line);
  font-size: 13px; transition: border-color .18s, background .18s;
}
.cs08-nownext:hover { border-color: var(--c-brand); background: rgba(var(--c-brand-rgb),0.10); }
.cs08-nownext-lab { font-size: 12px; color: var(--c-faint); }
.cs08-nownext b { font-variant-numeric: tabular-nums; }
.cs08-nownext-team { font-weight: 600; }
.cs08-nownext-vs { font-size: 12px; color: var(--c-faint); }
.cs08-nownext-lg { font-size: 12px; color: var(--c-faint); }

/* ② 日子条：昨天 / 今天 / 明天，带各自场次数 */
.cs08-daynav { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.cs08-daytab {
  display: flex; flex-direction: column; gap: 2px; min-width: 100px;
  padding: 10px 16px; border-radius: var(--radius);
  background: var(--c-soft); border: 1px solid var(--c-line);
  transition: border-color .18s, background .18s;
}
.cs08-daytab:hover { border-color: var(--c-line-2); background: var(--c-soft-2); }
.cs08-daytab.is-on { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.cs08-daytab.is-empty { opacity: .5; }
.cs08-daytab-lab { font-size: 14px; font-weight: 800; }
.cs08-daytab-date { font-size: 11.5px; color: var(--c-muted); }
.cs08-daytab-num { font-size: 12px; color: var(--c-faint); font-variant-numeric: tabular-nums; }
.cs08-daytab.is-on .cs08-daytab-date,
.cs08-daytab.is-on .cs08-daytab-num { color: rgba(255,255,255,.84); }
.cs08-daynav-all { margin-left: auto; align-self: center; font-size: 13px; color: var(--c-muted); }
.cs08-daynav-all:hover { color: var(--c-brand); }

/* ③ 时间轴本体 */
.cs08-tl { position: relative; list-style: none; margin: 0; padding: 0; }
.cs08-tl::before {
  content: ""; position: absolute; left: 88px; top: 12px; bottom: 14px;
  width: 2px; margin-left: -0.5px;
  background: linear-gradient(to bottom, var(--c-line-2), var(--c-line-2) 88%, transparent);
}
.cs08-tl.is-past::before { background: linear-gradient(to bottom, var(--c-line), transparent 92%); }

/* 「现在」那一行：左边写"现在 21:05"，右边一条渐隐的横线 */
.cs08-tl-now { display: flex; align-items: center; margin: 0 0 12px; }
.cs08-tl-now-lab { flex: none; width: 74px; padding-right: 18px; text-align: right; font-size: 12.5px; font-weight: 800; color: var(--c-live); }
.cs08-tl-now-dot { flex: none; width: 28px; display: grid; place-items: center; }
.cs08-tl-now-dot::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--c-live); box-shadow: 0 0 0 4px rgba(var(--c-live-rgb),.16); }
.cs08-tl-now-time { flex: none; padding-right: 12px; font-size: 12.5px; font-weight: 700; color: var(--c-live); font-variant-numeric: tabular-nums; }
.cs08-tl-now-line { flex: 1; height: 1px; background: linear-gradient(to right, rgba(var(--c-live-rgb),.45), transparent); }

/* 一个节点：时间 / 轴上的圆点 / 卡片 */
.cs08-tlnode { display: grid; grid-template-columns: 74px 28px minmax(0, 1fr); align-items: start; }
.cs08-tlside { padding: 15px 18px 0 0; text-align: right; }
.cs08-tltime { display: block; font-size: 13px; font-weight: 700; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.cs08-tlnext { display: block; margin-top: 2px; font-size: 10.5px; color: var(--c-faint); }
.cs08-tlpin { display: flex; justify-content: center; padding-top: 18px; }
.cs08-tlpin::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--c-panel-2); border: 2px solid var(--c-line-2);
}
.cs08-tlnode.is-live .cs08-tlpin::before {
  width: 11px; height: 11px; background: var(--c-live); border-color: var(--c-live);
  box-shadow: 0 0 0 4px rgba(var(--c-live-rgb),.18);
}

/* 比赛卡：一条宽行，联赛 / 运动 / 状态在顶上一行，两队 + 比分在下面 */
.cs08-tlcard {
  display: block; margin-bottom: 12px; padding: 13px 16px;
  background: var(--c-panel); border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-line-2);
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  transition: transform .16s, border-color .16s, box-shadow .16s;
}
.cs08-tlnode.is-fb .cs08-tlcard { border-left-color: var(--c-fb); }
.cs08-tlnode.is-bb .cs08-tlcard { border-left-color: var(--c-bb); }
/*
 * hover 只提亮外圈，**别把左边那条运动色条一起改掉**：
 * `border-color` 是四边简写，会把 border-left-color 覆盖成 --c-line-2，
 * 于是鼠标一放上去左边那条绿/蓝竖条就没了（2026-10-31 用户反馈）。
 * 所以下面两条按运动把它补回来；「已结束」那一段用的是更具体的选择器 +
 * color-mix 的淡色条，优先级更高，不会被这两条覆盖。
 */
.cs08-tlnode .cs08-tlcard:hover { transform: translateY(-1px); border-color: var(--c-line-2); box-shadow: var(--shadow); }
.cs08-tlnode.is-fb .cs08-tlcard:hover { border-left-color: var(--c-fb); }
.cs08-tlnode.is-bb .cs08-tlcard:hover { border-left-color: var(--c-bb); }
.cs08-tlnode.is-live .cs08-tlcard {
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--c-panel-2), var(--c-panel));
  box-shadow: 0 0 0 1px rgba(var(--c-live-rgb),.35), var(--shadow);
}
/* 直播卡那道红色外圈在 hover 时保留并稍微提亮（原来会被上面那条通用 hover 的 --shadow 抹掉半截） */
.cs08-tlnode.is-live .cs08-tlcard:hover {
  box-shadow: 0 0 0 1px rgba(var(--c-live-rgb),.55), var(--shadow);
}
.cs08-tlcard-top { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--c-muted); }
.cs08-tllg { font-weight: 700; color: var(--c-text); }
.cs08-tlsp { color: var(--c-faint); }
.cs08-tlcard-top .cs08-pill { margin-left: auto; }
.cs08-tlcard-main {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: 16px;
  /* 卡片是通栏宽的，但这一组不能跟着摊开：720px 以内才读得成一个整体，
     再宽就是"左边一个队名、右边一个队名、中间孤零零一个比分"（第一版就栽在这）。 */
  max-width: 720px; margin: 12px auto 0;
}
.cs08-tlteam { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cs08-tlteam.is-away { justify-content: flex-end; text-align: right; }
.cs08-tlteam b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs08-tlscore { min-width: 76px; text-align: center; font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.cs08-tlscore.is-live { color: var(--c-live); }
.cs08-tlnode.is-live .cs08-tlscore { font-size: 30px; }
.cs08-tlgo { display: block; margin-top: 10px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--c-live); }

/* 已经打完的那一段：只留边框，不抢上面那段的注意力 */
.cs08-tl.is-past .cs08-tlcard { background: transparent; box-shadow: none; }
.cs08-tl.is-past .cs08-tlteam b,
.cs08-tl.is-past .cs08-tlscore { color: var(--c-muted); }


/* 「今天早些时候」的接缝 */
.cs08-seam { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; }
.cs08-seam-line { flex: 1; height: 1px; background: var(--c-line); }
.cs08-seam-lab { flex: none; font-size: 12.5px; color: var(--c-muted); letter-spacing: .5px; }

.cs08-tlmore { display: block; margin: 18px 0 0 102px; font-size: 13px; color: var(--c-brand); }
.cs08-tlempty {
  margin: 20px 0; padding: 44px 24px; text-align: center;
  background: var(--c-panel); border: 1px dashed var(--c-line-2); border-radius: var(--radius-lg);
}
.cs08-tlempty-t { margin: 0; font-size: 17px; font-weight: 800; }
.cs08-tlempty-s { margin: 8px 0 16px; font-size: 13.5px; color: var(--c-muted); }
.cs08-tlempty-go { display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--c-brand); color: #fff; font-size: 13px; font-weight: 700; }

/* ⑤ 页尾各带：统一的小标题 + 内容 */
/*
   版块头（2026-10-29 重做）。原来是一行「18px 粗字 + 一条平灰线」，四个版块
   长得一模一样、也压不住下面的卡片。现在改成：
     色条（吸顶对齐）+ 20px 标题 + 一句副标题（灰、小） + 右侧「更多」，
     底边换成从主题色渐隐到透明的 1px 亮线 —— 视线有个起点，又不会像整条橙线那么吵。
   每段的主色跟着版块内容走（--sec / --sec-rgb）：频道=品牌色、榜单=金、
   焦点=篮球蓝、回顾=足球绿；换主题时自动跟着换。
*/
.cs08-after { margin-top: 46px; }

.cs08-sechead {
  --sec: var(--c-brand);
  --sec-rgb: var(--c-brand-rgb);
  position: relative;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
}
.cs08-sechead::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, rgba(var(--sec-rgb), 0.9), rgba(var(--sec-rgb), 0) 52%);
}
.cs08-sechead.is-chan { --sec: var(--c-brand); --sec-rgb: var(--c-brand-rgb); }
.cs08-sechead.is-rank { --sec: var(--c-gold); --sec-rgb: var(--c-gold-rgb); }
.cs08-sechead.is-focus { --sec: var(--c-bb); --sec-rgb: var(--c-bb-rgb); }
.cs08-sechead.is-rev { --sec: var(--c-fb); --sec-rgb: var(--c-fb-rgb); }

.cs08-sechead-mark {
  flex: none; width: 4px; height: 22px; border-radius: 3px;
  background: var(--sec);
  box-shadow: 0 0 12px rgba(var(--sec-rgb), 0.55);
}
.cs08-sechead h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: .3px; }
.cs08-sechead-sub { font-size: 12.5px; color: var(--c-faint); letter-spacing: .3px; }
.cs08-sechead-note { font-size: 12.5px; color: var(--c-faint); }
.cs08-sechead-more {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--c-muted);
  transition: color .16s, gap .16s;
}
.cs08-sechead-more:hover { color: var(--sec); gap: 7px; }

.cs08-chans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.cs08-chan { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-soft); }
.cs08-chan-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cs08-chan-head .cs08-kicker { flex: none; width: 4px; height: 16px; border-radius: 2px; background: var(--c-brand); }
.cs08-chan-head h3 { margin: 0; font-size: 15px; font-weight: 800; }
.cs08-chan-more { margin-left: auto; font-size: 12px; color: var(--c-faint); }
.cs08-chan-more:hover { color: var(--c-brand); }
.cs08-chan-list { list-style: none; margin: 0; padding: 0; }
.cs08-chan-list li { border-top: 1px solid var(--c-line); }
.cs08-chan-list li:first-child { border-top: 0; }
.cs08-chan-list a { display: flex; align-items: center; gap: 12px; padding: 10px 2px; }
.cs08-chan-title { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs08-chan-list a:hover .cs08-chan-title { color: var(--c-brand); }
.cs08-chan-date { flex: none; font-size: 11.5px; color: var(--c-faint); font-variant-numeric: tabular-nums; }
/* 榜单 + 标签并排一行：左边两个榜单卡，右边标签云。
   1200 版心 - 300 标签 - 18 间隙 ≈ 880，两个榜单各 430，五行排名放得下。
   （这两块的样式 2026-10-28 重写首页时被整段删掉过，页面裸奔了半天，别再删） */
/* align-items 用 stretch：三张卡等高，底边对齐。标签少的时候宁可卡片里留白，
   也不要底下空出一截参差的缺口（start 就是这样，像卡片没做完）。 */
.cs08-board-row { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: stretch; }
.cs08-board-row.is-tags-only { grid-template-columns: 1fr; }

.cs08-ranks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.cs08-board, .cs08-tagbox {
  padding: 16px 18px;
  background: var(--c-panel); border: 1px solid var(--c-line);
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
}
.cs08-tagbox { display: flex; flex-direction: column; }
.cs08-tagbox .cs08-tags { align-content: flex-start; }
.cs08-board-t { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; font-weight: 800; }
.cs08-board-t .cs08-kicker { flex: none; width: 4px; height: 16px; border-radius: 2px; background: var(--c-brand); }
.cs08-board-t.is-fb .cs08-kicker { background: var(--c-fb); }
.cs08-board-t.is-bb .cs08-kicker { background: var(--c-bb); }
.cs08-board-t.is-tag .cs08-kicker { background: var(--c-gold); }
.cs08-board-note { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--c-faint); }

/* 排名：名次 / 队名 / 联赛 / 数值 四列。用 grid 而不是 table，
   数值列配 tabular-nums，个位数和三位数才不会一行宽一行窄。 */
.cs08-rank { display: flex; flex-direction: column; }
.cs08-rank li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto;
  align-items: center; gap: 10px; padding: 9px 0;
}
.cs08-rank li + li { border-top: 1px solid var(--c-line); }
.cs08-rank-no {
  width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center;
  font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums;
  color: var(--c-muted); background: var(--c-soft);
}
/* 前三名给个轻重差别：金 / 银 / 铜。只用色块，不加图标，免得整张榜变成奖牌墙 */
.cs08-rank li:nth-child(1) .cs08-rank-no { color: var(--c-on-gold); background: var(--c-gold); }
.cs08-rank li:nth-child(2) .cs08-rank-no { color: var(--c-text); background: var(--c-soft-3); }
.cs08-rank li:nth-child(3) .cs08-rank-no { color: #2a1408; background: #c98a5b; }
.cs08-rank-name { min-width: 0; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs08-rank-lg { font-size: 11.5px; color: var(--c-faint); }
.cs08-rank-val { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cs08-rank-unit { margin-left: 2px; font-size: 11px; font-weight: 600; color: var(--c-faint); }
.cs08-rank.is-fb .cs08-rank-val { color: var(--c-fb); }
.cs08-rank.is-bb .cs08-rank-val { color: var(--c-bb); }

/* 标签云：胶囊 + 右侧计数，hover 走品牌橙 */
.cs08-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cs08-tag {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--c-muted);
  background: var(--c-soft); border: 1px solid var(--c-line);
  transition: color .16s, border-color .16s, background .16s;
}
.cs08-tag:hover { color: var(--c-text); border-color: var(--c-brand); background: rgba(var(--c-brand-rgb),.12); }

/* 焦点：左侧整幅 banner 轮播，右侧站内统计。
   轮播只一次展示一张大图，箭头 / 圆点 / 自动播放都在图内；右侧 2×2 数字填满等高栏。 */
.cs08-focuscard {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px;
  align-items: stretch;
  padding: 14px;
  background: var(--c-panel); border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
}

/* 左：轮播。固定 16:7.4，整块高度由图片比例决定，右侧跟着拉伸 */
.cs08-focus-slider {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 7.4;
  border-radius: var(--radius);
  background: var(--c-panel-2);
}
.cs08-focus-view { position: absolute; inset: 0; }
.cs08-focus-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease, visibility .5s;
}
.cs08-focus-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.cs08-focus-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 6.5s linear;
}
.cs08-focus-slide.is-active img { transform: scale(1); }
.cs08-focus-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,10,20,.76) 0%, rgba(4,10,20,.34) 54%, transparent 82%),
    linear-gradient(to top, rgba(4,10,20,.84), transparent 56%);
}
.cs08-focus-hit { position: absolute; inset: 0; z-index: 2; }
.cs08-focus-copy {
  position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 3;
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  max-width: 72%; pointer-events: none;
}
.cs08-focus-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.4px;
  color: #fff; background: rgba(var(--c-brand-rgb),.9);
}
.cs08-focus-title {
  display: block;
  font-size: clamp(18px, 2vw, 26px); font-weight: 800; line-height: 1.35;
  color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.cs08-focus-more { font-size: 12px; color: rgba(255,255,255,.7); }
.cs08-focus-ui {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  display: flex; align-items: center; gap: 7px;
}
.cs08-focus-count {
  min-width: 58px; padding: 6px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-align: center; color: #fff;
  font-variant-numeric: tabular-nums;
  background: rgba(6,12,22,.6); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}
.cs08-focus-nav {
  width: 32px; height: 32px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(6,12,22,.6);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  transition: background .16s, border-color .16s;
}
.cs08-focus-nav svg { width: 16px; height: 16px; }
.cs08-focus-nav:hover { background: var(--c-brand); border-color: var(--c-brand); }
.cs08-focus-dots { position: absolute; right: 18px; bottom: 18px; z-index: 4; display: flex; gap: 6px; }
.cs08-focus-dot {
  width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.36); cursor: pointer; transition: width .2s, background .2s;
}
.cs08-focus-dot.is-on { width: 20px; background: var(--c-brand); }
.cs08-focus-empty {
  min-height: 280px; border-radius: var(--radius); border: 1px dashed var(--c-line-2);
  background: var(--c-panel-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--c-faint); text-align: center;
}
.cs08-focus-empty span { font-size: 14px; font-weight: 700; color: var(--c-muted); }
.cs08-focus-empty small { font-size: 12px; }

/* 右：站内统计。2×2，用内部分隔线代替四张卡片，数字随采集更新 */
.cs08-focus-stats {
  display: flex; flex-direction: column;
  padding: 16px 2px 14px 20px;
  border-left: 1px solid var(--c-line);
}
.cs08-focus-stats-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.6px; color: var(--c-faint);
}
.cs08-focus-stats-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-brand); box-shadow: 0 0 0 4px rgba(var(--c-brand-rgb),.14);
}
.cs08-kpis {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr;
  align-content: stretch; margin-top: 6px;
}
.cs08-kpi { padding: 12px 8px 12px 4px; display: flex; flex-direction: column; justify-content: center; }
.cs08-kpi:nth-child(even) { border-left: 1px solid var(--c-line); padding-left: 20px; }
.cs08-kpi:nth-child(n + 3) { border-top: 1px solid var(--c-line); }
.cs08-kpi b {
  display: block; font-size: clamp(24px, 2.3vw, 31px); font-weight: 800; line-height: 1.1;
  color: var(--c-text); font-variant-numeric: tabular-nums; letter-spacing: -.5px;
}
.cs08-kpi span {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 5px; font-size: 11.5px; color: var(--c-faint); letter-spacing: .4px;
}
.cs08-kpi span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--c-line-2); }
.cs08-kpi:nth-child(1) span::before { background: var(--c-brand); }
.cs08-kpi:nth-child(2) span::before { background: var(--c-fb); }
.cs08-kpi:nth-child(3) span::before { background: var(--c-bb); }
.cs08-kpi:nth-child(4) span::before { background: var(--c-gold); }

/* 空态：栏目没有文章 / 接口挂了，用一句灰字，不要留一大块透明 */
.cs08-empty { margin: 0; padding: 14px 2px; font-size: 13px; color: var(--c-faint); }
.cs08-dnav-caret { color: var(--c-faint); }

.cs08-revs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.cs08-rev {
  display: flex; flex-direction: column; gap: 8px; padding: 16px;
  background: var(--c-panel); border: 1px solid var(--c-line);
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  transition: transform .16s, border-color .16s;
}
.cs08-rev:hover { transform: translateY(-1px); border-color: var(--c-line-2); }
.cs08-rev-sp { align-self: flex-start; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.cs08-rev-sp.is-fb { color: var(--c-fb); background: rgba(var(--c-fb-rgb),.14); }
.cs08-rev-sp.is-bb { color: var(--c-bb); background: rgba(var(--c-bb-rgb),.14); }
.cs08-rev-title { font-size: 14px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs08-rev:hover .cs08-rev-title { color: var(--c-brand); }
.cs08-rev-meta { margin-top: auto; font-size: 11.5px; color: var(--c-faint); }

/* 窄屏：轴收窄，卡片变单列（手机上时间轴天然就是列表，不需要另写一套） */
@media (max-width: 1000px) {
  .cs08-board-row { grid-template-columns: 1fr; }
  .cs08-focuscard { grid-template-columns: 1fr; gap: 14px; }
  .cs08-footer-in { grid-template-columns: 1fr; gap: 22px; }
  .cs08-footer-bar { flex-wrap: wrap; gap: 8px 16px; }
  .cs08-focus-stats { border-left: 0; border-top: 1px solid var(--c-line); padding: 14px 2px 2px; }
  .cs08-focus-stats-tag { margin-left: 4px; }
  .cs08-kpi { padding: 12px 8px 12px 4px; }
  .cs08-kpi:nth-child(even) { padding-left: 20px; }
}
@media (max-width: 900px) {
  .cs08-ranks { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .cs08-nowbar { padding: 14px 16px; }
  .cs08-nowclock b { font-size: 24px; }
  .cs08-nownext { margin-left: 0; width: 100%; }
  .cs08-tl::before { left: 63px; }
  .cs08-tlnode { grid-template-columns: 52px 22px minmax(0, 1fr); }
  .cs08-tl-now-lab { width: 52px; padding-right: 8px; }
  .cs08-tl-now-dot { width: 22px; }
  .cs08-tlside { padding: 13px 10px 0 0; }
  .cs08-tltime { font-size: 12px; }
  .cs08-tlcard { padding: 12px; }
  .cs08-tlteam b { font-size: 13.5px; }
  .cs08-tlscore { min-width: 54px; font-size: 17px; }
  .cs08-tlnode.is-live .cs08-tlcard { padding: 14px; }
  .cs08-tlnode.is-live .cs08-tlscore { font-size: 24px; }
  .cs08-tlmore { margin-left: 52px; }
  .cs08-focuscard { padding: 10px; gap: 10px; }
  .cs08-focus-slider { aspect-ratio: 4 / 3; border-radius: 12px; }
  .cs08-focus-copy { left: 16px; right: 16px; bottom: 14px; max-width: none; }
  .cs08-focus-title { font-size: 17px; }
  .cs08-focus-ui { top: 10px; right: 10px; }
  .cs08-focus-nav { width: 29px; height: 29px; }
  .cs08-focus-count { min-width: 54px; padding: 5px 8px; font-size: 10.5px; }
  .cs08-focus-dots { display: none; }
  .cs08-focus-stats { padding-top: 12px; }
  .cs08-kpi { padding: 10px 4px 10px 2px; }
  .cs08-kpi:nth-child(even) { padding-left: 16px; }
  .cs08-kpi b { font-size: 24px; }
}

/* ───────────────────────────── ⑥ 内页 ───────────────────────────── */

/* 直播频道头（足球直播 / 篮球直播 / 通用赛事列表共用）
   一张卡装三件事：运动徽标 + 标题 / 三个数字 / 去全部赛程。
   主色跟着运动走（--sec / --sec-rgb），篮球天蓝、足球荧绿、通用用品牌色。 */
.cs08-chanhead {
  --sec: var(--c-brand);
  --sec-rgb: var(--c-brand-rgb);
  display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px;
  margin-top: 20px; padding: 20px 22px;
  background:
    radial-gradient(620px 180px at 0% 0%, rgba(var(--sec-rgb), 0.16), transparent 70%),
    var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.cs08-chanhead.is-fb { --sec: var(--c-fb); --sec-rgb: var(--c-fb-rgb); }
.cs08-chanhead.is-bb { --sec: var(--c-bb); --sec-rgb: var(--c-bb-rgb); }

.cs08-chanhead-main { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; min-width: 0; }
.cs08-chanhead-tag {
  flex: none; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 1px;
  color: var(--sec); background: rgba(var(--sec-rgb), 0.16);
  border: 1px solid rgba(var(--sec-rgb), 0.32);
}
.cs08-chanhead h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: .5px; }
.cs08-chanhead-sub { font-size: 13px; color: var(--c-muted); }

/* 三个数字：用竖线分隔，不各做一张卡（一张卡里再套三张卡会很吵） */
.cs08-chanhead-stats { display: flex; align-items: center; margin-left: auto; }
.cs08-chanhead-stats div {
  display: flex; flex-direction: column; gap: 1px;
  padding: 0 18px; border-left: 1px solid var(--c-line-2);
}
.cs08-chanhead-stats div:first-child { border-left: 0; padding-left: 0; }
.cs08-chanhead-stats dt { font-size: 11.5px; color: var(--c-faint); letter-spacing: .5px; }
.cs08-chanhead-stats dd {
  margin: 0; font-size: 24px; font-weight: 800; line-height: 1.15;
  font-variant-numeric: tabular-nums; letter-spacing: -.5px;
}
.cs08-chanhead-stats .is-live dd { color: var(--c-live); }
.cs08-chanhead-stats .is-up dd { color: var(--c-bb); }
.cs08-chanhead-all {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--c-text);
  background: var(--c-soft); border: 1px solid var(--c-line);
  transition: border-color .16s, background .16s;
}
.cs08-chanhead-all:hover { border-color: var(--sec); background: rgba(var(--sec-rgb), 0.12); }

/* 赛事列表（直播中心） */
.cs08-fixture-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; margin-top: 18px; }
.cs08-board { background: var(--c-panel); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 18px; }
.cs08-league-block { margin-bottom: 6px; }
.cs08-league-head { display: flex; align-items: center; gap: 10px; margin: 14px 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--c-line); }
.cs08-league-head .cs08-league-mark { width: 4px; height: 15px; border-radius: 3px; background: var(--c-brand); }
.cs08-league-head h3 { margin: 0; font-size: 15px; font-weight: 800; }
.cs08-league-head small { font-size: 12px; color: var(--c-faint); font-weight: 500; }
/* 记分牌式一行：时间 | 主队（靠中缝右对齐）| 比分/VS | 客队（靠中缝左对齐）| 状态
   主队那格是「队名 + 队徽」，所以右对齐之后队徽正好贴着比分 —— 和电视上的排法一致。 */
.cs08-fixture-row {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto minmax(0, 1fr) 88px;
  align-items: center; gap: 12px;
  padding: 12px 10px; border-top: 1px solid var(--c-line); border-radius: 8px;
  transition: background .14s;
}
.cs08-fixture-row:first-child { border-top: 0; }
.cs08-fixture-row:hover { background: var(--c-soft); }
.cs08-fixture-row.is-live { background: rgba(var(--c-live-rgb),0.07); }
.cs08-fixture-time { font-size: 12.5px; color: var(--c-muted); line-height: 1.5; font-variant-numeric: tabular-nums; }
.cs08-fixture-time strong { display: block; font-size: 14px; color: var(--c-text); }
.cs08-fixture-side { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; min-width: 0; }
.cs08-fixture-side.is-home { justify-content: flex-end; text-align: right; }
.cs08-fixture-side.is-away { justify-content: flex-start; text-align: left; }
.cs08-fixture-side b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs08-fixture-row:hover .cs08-fixture-side b { color: var(--c-text); }
.cs08-fixture-score { min-width: 58px; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; color: var(--c-text); }
.cs08-fixture-score.is-live { color: var(--c-live); }
.cs08-fixture-vs { min-width: 58px; font-size: 14px; font-weight: 700; color: var(--c-faint); text-align: center; }
.cs08-fixture-state { text-align: right; }

/* 空态：换日期/放宽筛选的提示 + 一条出口，别只留一个孤零零的「—」 */
.cs08-fxempty { padding: 40px 16px 34px; text-align: center; }
.cs08-fxempty-mark { display: block; font-size: 32px; font-weight: 800; line-height: 1; color: var(--c-line-2); }
.cs08-fxempty b { display: block; margin-top: 12px; font-size: 15px; color: var(--c-muted); }
.cs08-fxempty p { margin: 6px 0 14px; font-size: 13px; color: var(--c-faint); }
.cs08-fxempty a { display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: var(--c-brand); }

/* 筛选面板 */
.cs08-filter { display: flex; flex-direction: column; gap: 16px; }
.cs08-filter-title { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 800; padding-bottom: 10px; border-bottom: 1px solid var(--c-line); }
.cs08-filter-title a { font-size: 12px; color: var(--c-faint); font-weight: 500; }
.cs08-filter-title a:hover { color: var(--c-brand); }
.cs08-filter-group { display: flex; flex-direction: column; gap: 8px; }
.cs08-filter-group h2 { margin: 0; font-size: 13px; color: var(--c-muted); }
.cs08-filter-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cs08-filter-links a { font-size: 13px; padding: 6px 12px; border-radius: 999px; color: var(--c-muted); background: var(--c-soft); border: 1px solid var(--c-line); }
.cs08-filter-links a:hover { color: var(--c-text); border-color: var(--c-line-2); }
.cs08-filter-links a.is-on { color: #fff; background: var(--c-brand); border-color: var(--c-brand); }
.cs08-filter-links a.is-live.is-on { background: var(--c-live); border-color: var(--c-live); }
.cs08-filter-note { margin: 0; font-size: 12px; color: var(--c-faint); }

/* 赛事列表 · 底部最新资讯
   2026-10-29：一大段文字直接摊在页面底上，和上面的卡片脱节 —— 现在装进同一张卡里，
   行距收一点，hover 整行浮起、箭头右移一格。 */
.cs08-newsboard { padding: 16px 20px 8px; background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.cs08-newsboard .cs08-band { margin-bottom: 8px; }
.cs08-news-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cs08-news-strip a {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 8px; margin: 0 -8px; border-top: 1px solid var(--c-line); border-radius: 8px;
  transition: background .14s;
}
.cs08-news-strip a:hover { background: var(--c-soft); }
.cs08-news-strip a:first-child { border-top: 0; }
.cs08-news-strip a:hover .cs08-news-title { color: var(--c-brand); }
.cs08-news-strip a:hover .cs08-news-arrow { transform: translateX(3px); color: var(--c-brand); }
.cs08-news-strip time { flex: none; width: 78px; font-size: 12px; color: var(--c-faint); font-variant-numeric: tabular-nums; }
.cs08-news-title { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs08-news-strip .cs08-news-arrow { flex: none; color: var(--c-faint); transition: transform .16s, color .16s; }

/* 比赛详情 */
.cs08-scoreboard { border-radius: var(--radius-lg); background: var(--c-panel); box-shadow: var(--shadow); padding: 28px; text-align: center; }
.cs08-scoreboard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--c-muted); flex-wrap: wrap; }
.cs08-scoreboard-top .cs08-back { color: var(--c-muted); }
.cs08-scoreboard-top .cs08-back:hover { color: var(--c-brand); }
.cs08-scoreboard-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin: 22px 0 14px; }
.cs08-scoreboard-team { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.cs08-scoreboard-team b { font-size: 17px; font-weight: 700; line-height: 1.3; }
.cs08-scoreboard-team small { font-size: 12px; color: var(--c-faint); }
.cs08-scoreboard-score { font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--c-text); }
.cs08-scoreboard-score.is-live { color: var(--c-live); }
.cs08-scoreboard-vs { font-size: 26px; font-weight: 800; color: var(--c-faint); }
.cs08-scoreboard-bottom { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 13px; color: var(--c-muted); flex-wrap: wrap; }
.cs08-scoreboard-bottom .sep { opacity: .5; }

/* 直播信号（广告位） */
.cs08-signals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .cs08-signals { grid-template-columns: repeat(4, 1fr); } }
.cs08-signal {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 10px; border-radius: 12px;
  font-size: 14px; font-weight: 700; color: #fff;
  box-shadow: var(--shadow-soft);
}
.cs08-signal:hover { filter: brightness(1.08); }
.cs08-signal img { height: 22px; width: auto; border-radius: 4px; }
.cs08-signal .play { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.25); font-size: 11px; }
.cs08-signal span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 详情卡片（赛事信息 / 赛事回顾信息） */
.cs08-info { background: var(--c-panel); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 18px 20px; }
.cs08-info-dl { display: grid; gap: 4px 20px; }
@media (min-width: 640px) { .cs08-info-dl { grid-template-columns: 1fr 1fr; } }
.cs08-info-dl > div { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--c-line); }
.cs08-info-dl > div:first-child { border-top: 0; }
.cs08-info-dl dt { flex: none; width: 84px; color: var(--c-muted); }
.cs08-info-dl dd { margin: 0; min-width: 0; }

/* 比赛详情 · 更多赛事（行） */
.cs08-fx-list { display: flex; flex-direction: column; gap: 8px; }
.cs08-fx-row {
  display: grid; grid-template-columns: 64px 1fr auto 1fr 84px;
  align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: 10px; background: var(--c-panel); border: 1px solid var(--c-line);
}
.cs08-fx-row:hover { border-color: var(--c-line-2); background: var(--c-panel-2); }
.cs08-fx-row .cs08-fx-when { font-size: 12px; color: var(--c-faint); font-variant-numeric: tabular-nums; }
.cs08-fx-row .cs08-fx-league { font-size: 12px; color: var(--c-muted); }
.cs08-fx-row .cs08-fx-side { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; min-width: 0; }
.cs08-fx-row .cs08-fx-side.is-away { justify-content: flex-end; }
.cs08-fx-row .cs08-fx-side b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs08-fx-row .cs08-fx-score { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--c-muted); text-align: center; }
.cs08-fx-row .cs08-fx-score.is-live { color: var(--c-live); }

/* 文章 / 回顾详情：两栏 */
.cs08-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 26px; margin-top: 16px; align-items: start; }
.cs08-article { background: var(--c-panel); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 30px; }
.cs08-art-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--c-bb); }
.cs08-art-title { font-size: 30px; font-weight: 800; line-height: 1.3; margin: 12px 0; }
.cs08-art-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--c-faint); }
.cs08-art-meta .dot { opacity: .5; }
.cs08-art-cover { border-radius: var(--radius); overflow: hidden; margin: 18px 0; }
.cs08-art-cover img { width: 100%; }
.cs08-art-lead { margin: 0 0 18px; padding-left: 14px; border-left: 3px solid var(--c-brand); font-size: 17px; line-height: 1.9; color: var(--c-text); }
.cs08-prose { color: var(--c-muted); font-size: 15.5px; line-height: 1.95; }
.cs08-prose p { margin: 0 0 16px; }
.cs08-prose img { border-radius: 10px; margin: 10px 0; }
.cs08-prose h2, .cs08-prose h3 { color: var(--c-text); margin: 24px 0 10px; }
.cs08-prose h2 { font-size: 21px; }
.cs08-prose h3 { font-size: 18px; }
.cs08-prose a { color: var(--c-brand); }
.cs08-prose blockquote { margin: 16px 0; padding: 12px 16px; border-left: 3px solid var(--c-bb); background: rgba(var(--c-bb-rgb),.08); border-radius: 6px; color: var(--c-muted); }
.cs08-prose ul, .cs08-prose ol { padding-left: 1.4em; }
.cs08-prose code { background: var(--c-soft-2); padding: 2px 6px; border-radius: 5px; font-size: .92em; }

/* 上一篇 / 下一篇 */
.cs08-prevnext { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 640px) { .cs08-prevnext { grid-template-columns: 1fr 1fr; } }
.cs08-prevnext a { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: var(--radius); background: var(--c-panel); border: 1px solid var(--c-line); }
.cs08-prevnext a:hover { border-color: var(--c-brand); }
.cs08-prevnext .label { font-size: 12px; color: var(--c-faint); }
.cs08-prevnext .title { font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs08-prevnext a.is-next { text-align: right; }

/* 侧栏：相关阅读 / 更多回顾 / 赛事列表 */
.cs08-side-list { list-style: none; margin: 0; padding: 0; }
.cs08-side-list li { border-top: 1px solid var(--c-line); }
.cs08-side-list li:first-child { border-top: 0; }
.cs08-side-list a { display: block; padding: 11px 2px; }
.cs08-side-list a:hover .cs08-side-title { color: var(--c-brand); }
.cs08-side-title { font-size: 14px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs08-side-time { margin-top: 4px; display: block; font-size: 12px; color: var(--c-faint); font-variant-numeric: tabular-nums; }

/* 侧栏赛事行 */
.cs08-fxrow { display: flex; flex-direction: column; gap: 2px; padding: 10px 2px; border-top: 1px solid var(--c-line); }
.cs08-fxrow:first-child { border-top: 0; }
.cs08-fxrow .cs08-fxmeta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--c-faint); }
.cs08-fxrow .cs08-fxmeta b { color: var(--c-muted); font-weight: 600; }
.cs08-fxrow .cs08-fxscore { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.cs08-fxrow .cs08-fxscore b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.cs08-fxrow .cs08-fxscore i { flex: none; font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--c-muted); min-width: 22px; text-align: center; }
.cs08-fxrow .cs08-fxscore i.is-live { color: var(--c-live); }
.cs08-fx-note { margin: 10px 0 0; font-size: 12px; color: var(--c-faint); }
.cs08-fx-note b { color: var(--c-live); }

/* 赛事回顾 · 列表（时间轴） */
.cs08-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cs08-tab { padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--c-muted); background: var(--c-soft); border: 1px solid var(--c-line); }
.cs08-tab:hover { color: var(--c-text); border-color: var(--c-line-2); }
.cs08-tab.is-on { color: #fff; background: var(--c-brand); border-color: var(--c-brand); }

.cs08-review-stream { position: relative; }
.cs08-review-group { margin-bottom: 28px; }
.cs08-review-day { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cs08-review-day .cs08-review-day-date { font-size: 18px; font-weight: 800; color: var(--c-text); }
.cs08-review-day .cs08-review-day-week { font-size: 13px; color: var(--c-muted); }
.cs08-review-day .cs08-review-day-count { margin-left: auto; font-size: 12px; color: var(--c-faint); background: var(--c-soft); padding: 3px 10px; border-radius: 999px; }
.cs08-review-card {
  display: block; padding: 18px; margin-bottom: 12px;
  border-radius: var(--radius); background: var(--c-panel);
  border: 1px solid var(--c-line); box-shadow: var(--shadow-soft);
  transition: transform .18s, border-color .18s;
}
.cs08-review-card:hover { transform: translateY(-2px); border-color: var(--c-line-2); }
.cs08-review-top { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--c-faint); }
.cs08-review-top .cs08-review-sport { font-weight: 700; color: var(--c-fb); }
.cs08-review-top .cs08-review-sport.is-bb { color: var(--c-bb); }
.cs08-review-top .cs08-review-meta { margin-left: auto; font-variant-numeric: tabular-nums; }
.cs08-review-title { display: block; margin: 8px 0; font-size: 17px; font-weight: 700; line-height: 1.5; }
.cs08-review-card:hover .cs08-review-title { color: var(--c-brand); }
.cs08-review-foot { display: flex; align-items: center; gap: 10px; }
.cs08-review-chip { font-size: 12px; color: var(--c-muted); background: var(--c-soft); padding: 3px 10px; border-radius: 999px; }
.cs08-review-more { margin-left: auto; font-size: 13px; color: var(--c-brand); font-weight: 600; }

/* 回顾详情 · 侧栏 facts */
.cs08-facts { list-style: none; margin: 0; padding: 0; }
.cs08-facts li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--c-line); font-size: 13px; }
.cs08-facts li:first-child { border-top: 0; }
.cs08-facts dt { color: var(--c-muted); }
.cs08-facts dd { margin: 0; color: var(--c-text); text-align: right; }
.cs08-side-back { display: block; margin-top: 12px; padding: 11px; text-align: center; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--c-muted); background: var(--c-soft); }
.cs08-side-back:hover { color: var(--c-brand); }

/* 网站地图 */
.cs08-sitemap-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.cs08-sitemap-link { font-size: 13px; padding: 7px 13px; border-radius: 999px; color: var(--c-muted); background: var(--c-soft); border: 1px solid var(--c-line); }
.cs08-sitemap-link:hover { color: var(--c-text); border-color: var(--c-brand); }
.cs08-sitemap-list { list-style: none; margin: 0; padding: 0; }
.cs08-sitemap-list li { border-top: 1px dashed var(--c-line); }
.cs08-sitemap-list li:first-child { border-top: 0; }
.cs08-sitemap-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 2px; }
.cs08-sitemap-list a:hover .cs08-sitemap-row-title { color: var(--c-brand); }
.cs08-sitemap-row-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs08-sitemap-row-title.is-art { font-weight: 500; color: var(--c-muted); }
.cs08-sitemap-row-title.is-art:hover { color: var(--c-brand); }
.cs08-sitemap-row-time { flex: none; font-size: 12px; color: var(--c-faint); font-variant-numeric: tabular-nums; }

/* 回到顶部 */
.to-top { background: var(--c-brand) !important; }

/* ───────────────────────────── ⑦ 响应式 ───────────────────────────── */
@media (max-width: 980px) {
  .cs08-stats { grid-template-columns: repeat(2, 1fr); }
  .cs08-nav { display: none; }
  .cs08-burger { display: flex; }
  .cs08-fixture-grid { grid-template-columns: 1fr; }
  .cs08-detail-grid { grid-template-columns: 1fr; }
  .cs08-side { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .cs08-sticky { position: static; }
}
@media (max-width: 620px) {
  .cs08-stats { grid-template-columns: 1fr 1fr; }
  /* 赛程行在手机上重排成「时间 + 状态」一行，下面才是主队 比分 客队。
     原来那条 1fr auto 1fr 只够三个格子，五个子元素会掉到第二行、错位。 */
  .cs08-fixture-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas:
      "when when state"
      "home score away";
    gap: 8px 10px;
  }
  .cs08-fixture-time { grid-area: when; display: flex; align-items: baseline; gap: 8px; }
  .cs08-fixture-time strong { font-size: 13px; }
  .cs08-fixture-side.is-home { grid-area: home; }
  .cs08-fixture-side.is-away { grid-area: away; }
  .cs08-fixture-score, .cs08-fixture-vs { grid-area: score; }
  .cs08-fixture-state { grid-area: state; }
  .cs08-chanhead { padding: 16px; gap: 14px; }
  .cs08-chanhead h1 { font-size: 21px; }
  .cs08-chanhead-stats { margin-left: 0; width: 100%; }
  .cs08-chanhead-stats div { flex: 1; padding: 0 12px; }
  .cs08-chanhead-stats dd { font-size: 20px; }
  .cs08-chanhead-all { width: 100%; justify-content: center; }
  .cs08-fx-row { grid-template-columns: 1fr auto 1fr; }
  .cs08-fx-row .cs08-fx-when { grid-column: 1; }
  .cs08-article { padding: 18px; }
  .cs08-art-title { font-size: 24px; }
  .cs08-scoreboard { padding: 20px; }
  .cs08-side { grid-template-columns: 1fr; }
}

/* ───────────────────────────── ⑧ 补齐遗漏组件 ───────────────────────────── */
/* 这些类页面模板在用但此前没有对应样式（头条、紧凑列表行、日期筛选、
   站点地图、回顾详情推荐位），浏览器只能按裸 span 渲染——头条变成一行
   小字、日期筛选挤成一坨。这里按燃动体育风格补齐。 */

/* 栏目页（足球/篮球资讯）· 头条大卡 */
.cs08-lead {
  display: block;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  color: var(--c-text);
}
.cs08-lead-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--c-panel-2); }
.cs08-lead-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs08-lead-media .cs08-ph { width: 100%; height: 100%; }
.cs08-lead-flag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 4px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 2px; color: #fff;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2));
  box-shadow: 0 2px 8px rgba(2, 6, 16, .45);
}
.cs08-lead-body { display: block; padding: 18px 22px 20px; }
.cs08-lead-tag { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--c-brand); }
.cs08-lead-title { display: block; margin-top: 8px; font-size: 21px; font-weight: 800; line-height: 1.4; }
.cs08-lead:hover .cs08-lead-title { color: var(--c-brand); }
.cs08-lead-sum {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 8px; font-size: 13.5px; line-height: 1.7; color: var(--c-muted);
}
.cs08-lead-meta { display: block; margin-top: 10px; font-size: 12px; color: var(--c-faint); font-variant-numeric: tabular-nums; }

/* 栏目页 · 紧凑列表行（› 标题 …… 日期） */
.cs08-brow { display: flex; align-items: baseline; gap: 10px; }
.cs08-brow:hover .cs08-btitle { color: var(--c-brand); }
.cs08-bno { flex: none; font-weight: 800; color: var(--c-brand); }
.cs08-btitle {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 15px; font-weight: 600; line-height: 1.5;
}
.cs08-bdate { flex: none; margin-left: auto; font-size: 12.5px; color: var(--c-faint); font-variant-numeric: tabular-nums; }

/* 比赛列表 · 日期筛选胶囊（和回顾页 tabs 同一套观感）
   2026-10-29：从「今天 10-29」两个词挤在一颗药丸里，改成
   「今天 10-29 ｜4 场」—— 日期和场次数各占一档，扫的时候能直接跳过没比赛的那天。 */
.cs08-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.cs08-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--c-muted);
  background: var(--c-soft); border: 1px solid var(--c-line);
  transition: color .16s, border-color .16s, background .16s;
}
.cs08-chip:hover { color: var(--c-text); border-color: var(--c-line-2); }
.cs08-chip.is-on { color: #fff; background: var(--c-brand); border-color: var(--c-brand); }
.cs08-chip-day { font-weight: 800; }
.cs08-chip-date { font-size: 11.5px; font-weight: 500; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.cs08-chip-n {
  font-style: normal; font-size: 11px; font-weight: 700;
  padding: 2px 7px; border-radius: 999px;
  color: var(--c-faint); background: var(--c-soft-2);
  font-variant-numeric: tabular-nums;
}
.cs08-chip.is-on .cs08-chip-date { color: rgba(255, 255, 255, .88); }
.cs08-chip.is-on .cs08-chip-n { color: #fff; background: rgba(255, 255, 255, .22); }
.cs08-chip small { margin-left: 4px; font-weight: 600; opacity: .7; font-variant-numeric: tabular-nums; }

/* 分页 · 省略号 */
.cs08-pager .cs08-pager-ellipsis { border: 0; background: none; color: var(--c-faint); }

/* 站点地图 */
.cs08-map-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px; margin-top: 16px; align-items: start;
}
.cs08-map-card {
  background: var(--c-panel); border: 1px solid var(--c-line);
  border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 18px;
}
.cs08-map-card h2 { margin: 0 0 10px; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.cs08-map-card h2::before { content: ""; flex: none; width: 4px; height: 16px; border-radius: 3px; background: var(--c-brand); }
.cs08-map-card h2 a:hover { color: var(--c-brand); }
.cs08-map-card h2 small { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--c-faint); }
.cs08-map-list { list-style: none; margin: 0; padding: 0; }
.cs08-map-list li { border-top: 1px solid var(--c-line); }
.cs08-map-list li:first-child { border-top: 0; }
.cs08-map-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 2px; font-size: 13.5px; color: var(--c-muted);
}
.cs08-map-list a:hover { color: var(--c-brand); }

/* 回顾详情 · 相关推荐 */
.cs08-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cs08-more-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--c-panel); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 14px 16px;
}
.cs08-more-card:hover { border-color: var(--c-brand); }
/* 运动标签：早先是「实心荧光绿 + 深字」，浅色主题里荧光绿会亮到看不见字，
   改成「同色淡底 + 同色字」——两种主题下都成立（和 .cs08-pill / .cs08-rev-sp 一个路子）。 */
.cs08-more-tag {
  align-self: flex-start; padding: 2px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800;
  color: var(--c-fb); background: rgba(var(--c-fb-rgb), 0.16);
}
.cs08-more-tag.is-bb { color: var(--c-bb); background: rgba(var(--c-bb-rgb), 0.16); }
.cs08-more-title {
  font-size: 14.5px; font-weight: 600; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cs08-more-card:hover .cs08-more-title { color: var(--c-brand); }
.cs08-more-time { font-size: 12px; color: var(--c-faint); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .cs08-lead-body { padding: 14px 16px 16px; }
  .cs08-lead-title { font-size: 18px; }
  .cs08-btitle { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .cs08-more-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   PHP 移植补充（php-cms-08，2026-10-31）

   下面这几块 CS08 原件里没有，是这个 PHP 前台自己多出来的页面/片段，
   一律沿用同一套主题令牌（--c-*），别在模板或这里写死色值：
     · .cs08-searchbar   站内搜索框（.NET 版没有搜索页）
     · .cs08-filterbar   名录页筛选条（教练与球队，.NET 版没有这一页）
     · .cs08-dir*        名录卡片网格
     · .pager            老分页片段的兜底样式（名录页复用 public_pager()）
   ============================================================================ */

/* 站内搜索 */
.cs08-searchbar { display: flex; gap: 10px; margin: 14px 0 20px; }
.cs08-searchbar input[type='search'] {
  flex: 1 1 auto; min-width: 0; padding: 11px 14px;
  border-radius: var(--radius); border: 1px solid var(--c-line);
  background: var(--c-panel); color: var(--c-text); font-size: 14px;
}
.cs08-searchbar input[type='search']::placeholder { color: var(--c-faint); }
.cs08-searchbar input[type='search']:focus { outline: none; border-color: var(--c-brand); }
.cs08-searchbar button {
  flex: none; padding: 0 22px; border: 0; border-radius: var(--radius);
  background: var(--c-brand); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer;
}
.cs08-searchbar button:hover { filter: brightness(1.06); }

/* 名录页：说明 + 筛选条 */
.cs08-dir-sub { margin: -2px 0 14px; color: var(--c-muted); font-size: 13.5px; line-height: 1.7; }
.cs08-filterbar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px;
  padding: 14px; margin-bottom: 18px;
  background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.cs08-filterbar-field { display: flex; flex-direction: column; gap: 6px; }
.cs08-filterbar-field > span { color: var(--c-muted); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.cs08-filterbar select,
.cs08-filterbar input[type='search'] {
  min-width: 156px; padding: 9px 12px; font-size: 13.5px;
  color: var(--c-text); background: var(--c-soft);
  border: 1px solid var(--c-line); border-radius: 10px;
}
.cs08-filterbar select:focus,
.cs08-filterbar input[type='search']:focus { outline: none; border-color: var(--c-brand); }
.cs08-filterbar-go {
  padding: 9px 20px; border: 0; border-radius: 10px;
  background: var(--c-brand); color: #fff; font-size: 13.5px; font-weight: 800; cursor: pointer;
}
.cs08-filterbar-go:hover { filter: brightness(1.06); }
.cs08-filterbar-reset { padding-bottom: 9px; color: var(--c-brand); font-size: 13px; font-weight: 700; }

/* 名录页：卡片网格 */
.cs08-dirgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 12px; }
.cs08-dircard {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  padding: 12px 14px; background: var(--c-panel);
  border: 1px solid var(--c-line); border-radius: var(--radius);
  transition: border-color .16s, transform .16s;
}
.cs08-dircard:hover { border-color: var(--c-line-2); transform: translateY(-1px); }
.cs08-dirlogo {
  flex: none; width: 44px; height: 44px; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2));
  color: #fff; font-size: 17px; font-weight: 800;
}
.cs08-dirlogo img { width: 100%; height: 100%; object-fit: contain; background: var(--c-soft); }
.cs08-dirinfo { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cs08-dirname-row { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.cs08-dirname-row b {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--c-text); font-size: 14.5px; font-weight: 800;
}
.cs08-dirname-row em {
  flex: none; padding: 1px 7px; border-radius: 999px;
  background: var(--c-soft-2); color: var(--c-muted);
  font-style: normal; font-size: 11px; font-weight: 700;
}
.cs08-dirsub,
.cs08-dirmeta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs08-dirsub { color: var(--c-muted); font-size: 12.5px; }
.cs08-dirmeta { color: var(--c-faint); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.cs08-pagerwrap { margin-top: 18px; }

/* 老分页片段（public_pager()）：名录页还在用，样式对齐 .cs08-pager */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.pager .pager-btn {
  padding: 7px 12px; border-radius: 10px;
  background: var(--c-soft); border: 1px solid var(--c-line);
  color: var(--c-muted); font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pager .pager-btn:hover { color: var(--c-text); border-color: var(--c-line-2); }
.pager .pager-btn.current { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.pager .pager-btn.disabled { opacity: .45; pointer-events: none; }
/* 页头/现在条/页码条：窄屏下的几处收口（PHP 移植时补，2026-10-31） */
.cs08-pager-info { flex: none; white-space: nowrap; }
@media (max-width: 639px) {
  /* 「下一场」在手机上必须留成一行：队名太长会一字一行地往下掉 */
  .cs08-nownext { flex-wrap: nowrap; gap: 6px; overflow: hidden; }
  .cs08-nownext-lab,
  .cs08-nownext-vs { flex: none; }
  .cs08-nownext-team {
    min-width: 0; max-width: 7.5em;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .cs08-nownext-lg { display: none; }
}
/* 榜单每一行可点（跳对应运动的直播列表，2026-10-31 用户口径）：
   行容器从 <li> 挪到里面的 <a>，li 只剩分隔线；hover 给一层软底，光标由 <a> 自带。 */
.cs08-rank li { display: block; padding: 0; }
.cs08-rank-row {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto;
  align-items: center; gap: 10px;
  padding: 9px 8px; margin: 0 -8px;
  border-radius: 8px;
  transition: background .16s;
}
.cs08-rank-row:hover { background: var(--c-soft); }
.cs08-rank-row:focus-visible { outline: 2px solid var(--c-brand); outline-offset: -2px; }
.cs08-rank-row:hover .cs08-rank-name { color: var(--c-brand); }
/* ============================================================================
   配了全站背景图时的可读性兜底（2026-10-31 用户反馈）
   ────────────────────────────────────────────────────────────────────────────
   ① 首页时间轴「今天早些时候 · 已结束」那一段：原件是**透明卡**（只留边框、不投影），
      页面底色是实色时它正好退到背景里；但站上配了全站背景图之后，卡片直接把照片
      透出来，队名和比分吊在图上根本读不清。所以这一段改成实底容器（颜色仍走
      --c-panel，层级差靠「已结束」药丸和压暗的字色维持，投影仍然去掉）。
   ② 几处「浅色半透明底」的小件（日期胶囊 / 标签 / 频道头右上 / 现在条里的下一场）：
      纯色页底上刚好，压在照片上就成了一层纱。只在这三处换成实底。
   ============================================================================ */

.cs08-tl.is-past .cs08-tlcard {
  background: var(--c-panel);
  box-shadow: none;
}
/* 已结束那一段左侧的运动色条压淡一点，和上面正在进行的拉开层级 */
.cs08-tl.is-past .cs08-tlnode.is-fb .cs08-tlcard { border-left-color: color-mix(in srgb, var(--c-fb) 55%, var(--c-panel)); }
.cs08-tl.is-past .cs08-tlnode.is-bb .cs08-tlcard { border-left-color: color-mix(in srgb, var(--c-bb) 55%, var(--c-panel)); }

body.has-site-bg .cs08-daytab,
body.has-site-bg .cs08-chip,
body.has-site-bg .cs08-tag,
body.has-site-bg .cs08-nownext,
body.has-site-bg .cs08-chanhead-all {
  background: var(--c-panel);
}
body.has-site-bg .cs08-daytab:hover,
body.has-site-bg .cs08-chip:hover,
body.has-site-bg .cs08-tag:hover,
body.has-site-bg .cs08-nownext:hover {
  background: var(--c-panel-2);
}
/* 选中態照旧是实色品牌底，别被上面那条盖住 */
body.has-site-bg .cs08-daytab.is-on,
body.has-site-bg .cs08-chip.is-on {
  background: var(--c-brand);
}
/* ============================================================================
   背景图「原图直出」（2026-10-31 用户口径：后台配了背景图就别加滤镜）
   ────────────────────────────────────────────────────────────────────────────
   原件 body 的背景是一个四层栈：两团主题色柔光 + 主题底色半透明叠层 + 背景图本身，
   叠层 alpha 0.50/0.68 大概让图只占三到五成 —— 那是为了让文字直接压在图上时能读。
   这套前台的字都在实底卡片 / 实底线里（时间轴卡片、现在条、日子条都是实底），
   图只出现在卡片之间的缝里，所以配了图就**只留图**：不叠底色、不叠柔光，原色直出。
   没配背景图的站完全不受影响（body 还是原来那四层，柔光当装饰）。
   ============================================================================ */
body.has-site-bg {
  background-image: var(--page-bg-image, none);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
/* 背景图原色直出之后，那些**没有卡片托底**的裸文字要给一层同底色描边，
   否则压在照片亮部上读不出来（时间轴左列时间 / 「现在」/ 接缝说明 /
   板块小标题 / 面包屑 / 页码说明 / 「完整赛程 →」这些）。
   用 --c-bg 当阴影色：深色主题是一圈暗边、浅色主题是一圈亮边，两边都成立。 */
body.has-site-bg .cs08-tltime,
body.has-site-bg .cs08-tlnext,
body.has-site-bg .cs08-tl-now-lab,
body.has-site-bg .cs08-tl-now-time,
body.has-site-bg .cs08-seam-lab,
body.has-site-bg .cs08-tlmore,
body.has-site-bg .cs08-daynav-all,
body.has-site-bg .cs08-sechead h2,
body.has-site-bg .cs08-sechead-sub,
body.has-site-bg .cs08-sechead-more,
body.has-site-bg .cs08-band h1,
body.has-site-bg .cs08-band h2,
body.has-site-bg .cs08-band-more,
body.has-site-bg .cs08-crumb,
body.has-site-bg .cs08-crumb a,
body.has-site-bg .cs08-pager-info,
body.has-site-bg .cs08-filter-note,
body.has-site-bg .cs08-fx-note,
body.has-site-bg .cs08-dir-sub,
body.has-site-bg .cs08-review-day-date,
body.has-site-bg .cs08-review-day-week,
body.has-site-bg .cs08-review-day-count,
body.has-site-bg .cs08-empty,
body.has-site-bg .cs08-tl-now-line {
  /* 紧一点的偏移阴影就够：大范围发光在照片亮部会糊成一团 */
  text-shadow: 0 1px 2px rgba(2, 6, 16, .85);
}
/* 压在照片上的裸文字顺带提一档亮度：浅灰 / 弱灰是给纯色页底配的 */
body.has-site-bg .cs08-tltime,
body.has-site-bg .cs08-seam-lab,
body.has-site-bg .cs08-tlmore,
body.has-site-bg .cs08-daynav-all,
body.has-site-bg .cs08-band-more,
body.has-site-bg .cs08-sechead-more,
body.has-site-bg .cs08-review-day-date { color: var(--c-text); }
body.has-site-bg .cs08-tlnext,
body.has-site-bg .cs08-sechead-sub,
body.has-site-bg .cs08-pager-info,
body.has-site-bg .cs08-filter-note,
body.has-site-bg .cs08-fx-note,
body.has-site-bg .cs08-dir-sub,
body.has-site-bg .cs08-review-day-week,
body.has-site-bg .cs08-review-day-count,
body.has-site-bg .cs08-empty { color: var(--c-muted); }