/* ============================================================
   中国男篮直播 · 全新主题 v3（完全重写，不依赖 v2）
   ============================================================ */

/* ---------- 0. 设计变量 ---------- */
:root {
  /* 主色：国家队深蓝 */
  --c-navy-900: #0a1628;
  --c-navy-800: #102a4c;
  --c-navy-700: #1b3a66;
  --c-navy-600: #234a80;

  /* 强调色：篮球橙 */
  --c-orange-600: #ea580c;
  --c-orange-500: #f97316;
  --c-orange-400: #fb923c;
  --c-orange-50:  #fff7ed;

  /* 语义色 */
  --c-live:     #e11d48;
  --c-upcoming: #d97706;
  --c-success:  #16a34a;

  /* 中性色 */
  --c-bg:       #f4f6fa;
  --c-surface:  #ffffff;
  --c-text:     #0f172a;
  --c-text-2:   #334155;
  --c-muted:    #7c8798;
  --c-line:     #e6eaf0;
  --c-line-soft:#f1f4f9;

  /* 圆角 & 阴影 */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-full: 999px;

  --sh-1: 0 1px 2px rgba(10,22,40,.04), 0 2px 6px rgba(10,22,40,.04);
  --sh-2: 0 4px 12px rgba(10,22,40,.06), 0 10px 24px rgba(10,22,40,.06);
  --sh-3: 0 12px 28px rgba(10,22,40,.12);
}

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

html { overflow-y: scroll; }

body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; }

/* ---------- 2. 主体容器 ---------- */
.cn-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

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

.cn-main { min-width: 0; }
.cn-side { min-width: 0; }

/* ---------- 3. Hero 区 ---------- */
.cn-hero {
  position: relative;
  padding: 32px 28px;
  margin-bottom: 22px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-700) 55%, var(--c-navy-600) 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--sh-2);
}

.cn-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.35) 0%, transparent 65%);
  pointer-events: none;
}

.cn-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-orange-500), transparent);
}

.cn-hero-badge {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 14px;
  border-radius: var(--r-full);
  background: rgba(249,115,22,.18);
  border: 1px solid rgba(249,115,22,.4);
  color: var(--c-orange-400);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}

.cn-hero-title {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .3px;
  color: #fff;
}

.cn-hero-desc {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,.78);
}

.cn-hero-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cn-hero-links a {
  display: inline-block;
  padding: 7px 15px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: background .22s ease, transform .22s ease, border-color .22s ease;
}

.cn-hero-links a:hover {
  background: rgba(249,115,22,.22);
  border-color: rgba(249,115,22,.55);
  transform: translateY(-1px);
}

/* ---------- 4. 通用面板 ---------- */
.cn-panel {
  background: var(--c-surface);
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  margin-bottom: 20px;
}

.cn-panel-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-line-soft);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

.cn-panel-title {
  position: relative;
  padding-left: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy-800);
  letter-spacing: .2px;
}

.cn-panel-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--c-orange-500), var(--c-orange-600));
}

.cn-panel-body {
  padding: 16px 20px;
}

/* ---------- 5. Tab 胶囊 ---------- */
.cn-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cn-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  color: var(--c-text-2);
  font-size: 13px;
  font-weight: 500;
  transition: all .22s ease;
}

.cn-tab:hover {
  color: var(--c-orange-600);
  border-color: var(--c-orange-400);
  background: var(--c-orange-50);
  transform: translateY(-1px);
}

.cn-tab.is-active {
  background: linear-gradient(135deg, var(--c-orange-500), var(--c-orange-600));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(234,88,12,.3);
}

/* ---------- 6. 日期分组 ---------- */
.cn-day {
  margin-bottom: 20px;
  background: var(--c-surface);
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  overflow: hidden;
}

.cn-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-700) 100%);
  color: #fff;
}

.cn-day-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.cn-day-date {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
}

.cn-day-week {
  font-size: 12px;
  color: rgba(255,255,255,.7);
}

.cn-day-tag {
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(249,115,22,.22);
  border: 1px solid rgba(249,115,22,.45);
  color: var(--c-orange-400);
  font-size: 12px;
  font-weight: 600;
}

/* ---------- 7. 比赛卡片 ---------- */
.cn-matches {
  padding: 8px;
}

.cn-match {
  position: relative;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cn-match + .cn-match {
  border-top: 1px dashed var(--c-line);
  margin-top: 2px;
}

.cn-match:hover {
  background: linear-gradient(135deg, #fafbfd 0%, var(--c-orange-50) 100%);
  transform: translateX(3px);
  box-shadow: -3px 0 0 var(--c-orange-500) inset;
}

.cn-match-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cn-league {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-xs);
  background: var(--c-orange-50);
  color: var(--c-orange-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  border: 1px solid rgba(249,115,22,.2);
  transition: background .2s ease;
}

.cn-league:hover {
  background: #ffe8d1;
}

.cn-time {
  font-size: 13px;
  color: var(--c-muted);
  font-weight: 500;
}

.cn-match-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

/* 队伍 */
.cn-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cn-team-home { justify-content: flex-end; text-align: right; }
.cn-team-away { justify-content: flex-start; text-align: left; }

.cn-team-link {
  min-width: 0;
  max-width: 100%;
}

.cn-team-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .2s ease;
}

.cn-team-link:hover .cn-team-name {
  color: var(--c-orange-600);
}

.cn-team-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c-line);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}

.cn-match:hover .cn-team-logo {
  border-color: var(--c-orange-400);
  transform: scale(1.06);
}

.cn-team-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* 中间 VS */
.cn-match-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 0 6px;
}

.cn-vs {
  font-size: 16px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 1px;
  color: #cbd5e1;
}

.cn-match:hover .cn-vs {
  color: var(--c-orange-400);
}

.cn-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .3px;
}

.cn-status.live {
  background: var(--c-live);
  color: #fff;
  animation: cnPulse 1.8s infinite;
}

.cn-status.upcoming {
  background: #fff7ed;
  color: var(--c-upcoming);
  border: 1px solid #fed7aa;
}

@keyframes cnPulse {
  0%   { box-shadow: 0 0 0 0 rgba(225,29,72,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(225,29,72,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); }
}

/* ---------- 8. 站内正文优化区 ---------- */
.cn-article p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-text-2);
}

.cn-tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--c-line);
}

.cn-tagcloud a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  color: var(--c-navy-700);
  font-size: 12.5px;
  font-weight: 500;
  transition: all .22s ease;
}

.cn-tagcloud a:hover {
  background: var(--c-orange-50);
  border-color: var(--c-orange-400);
  color: var(--c-orange-600);
  transform: translateY(-1px);
}

/* ---------- 9. FAQ 手风琴 ---------- */
.cn-faq {
  display: grid;
  gap: 8px;
}

.cn-faq details {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: #fafbfd;
  border: 1px solid var(--c-line);
  transition: all .22s ease;
}

.cn-faq details[open] {
  background: #fff;
  border-color: var(--c-orange-400);
  box-shadow: 0 4px 12px rgba(234,88,12,.08);
}

.cn-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  list-style: none;
}

.cn-faq summary::-webkit-details-marker { display: none; }

.cn-faq summary::after {
  content: "+";
  color: var(--c-orange-500);
  font-size: 18px;
  font-weight: 700;
  transition: transform .22s ease;
}

.cn-faq details[open] summary::after {
  content: "−";
}

.cn-faq details p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-muted);
}

/* ---------- 10. 返回顶部 ---------- */
.cn-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-orange-500), var(--c-orange-600));
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(234,88,12,.4);
  transition: transform .25s ease, box-shadow .25s ease;
  z-index: 9999;
}

.cn-top.show,
.cn-top.is-visible {
  display: flex;
}

.cn-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(234,88,12,.5);
}

/* ---------- 11. 侧栏通用卡（右栏内容复用） ---------- */
.cn-side .card,
.cn-side .cn-panel {
  background: var(--c-surface);
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  margin-bottom: 16px;
}

.cn-side .card-header,
.cn-side .cn-panel-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-line-soft);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

.cn-side .card-body,
.cn-side .cn-panel-body {
  padding: 14px 16px;
}

/* ---------- 12. 兼容你原有的文字类 ---------- */
.text-muted { color: var(--c-muted) !important; }
.text-center { text-align: center !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 4px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 20px !important; }
.d-flex { display: flex !important; }
.flex-fill { flex: 1 1 auto !important; }
.align-items-center { align-items: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.rounded { border-radius: var(--r-sm) !important; }
.font-weight-bold { font-weight: 700 !important; }
.small { font-size: 12.5px !important; }

/* ---------- 13. 响应式 ---------- */
@media (max-width: 992px) {
  .cn-layout {
    grid-template-columns: 1fr;
  }
  .cn-side { order: 2; }
}

@media (max-width: 640px) {
  .cn-wrap {
    padding: 14px 12px 48px;
  }

  .cn-hero {
    padding: 22px 18px;
    border-radius: var(--r-md);
  }

  .cn-hero-title {
    font-size: 18px;
  }

  .cn-hero-desc {
    font-size: 13px;
  }

  .cn-hero-links a {
    padding: 6px 12px;
    font-size: 12px;
  }

  .cn-panel-head {
    padding: 12px 14px;
  }

  .cn-panel-title {
    font-size: 14px;
  }

  .cn-panel-body {
    padding: 14px;
  }

  .cn-tab {
    padding: 6px 13px;
    font-size: 12px;
  }

  .cn-day-head {
    padding: 12px 14px;
  }

  .cn-day-date { font-size: 14px; }
  .cn-day-tag  { font-size: 11px; padding: 3px 9px; }

  .cn-match {
    padding: 12px;
  }

  .cn-match-body {
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
  }

  .cn-team-logo {
    width: 34px;
    height: 34px;
  }

  .cn-team-logo img {
    width: 22px;
    height: 22px;
  }

  .cn-team-name {
    font-size: 13px;
  }

  .cn-vs { font-size: 14px; }

  .cn-status {
    font-size: 10px;
    padding: 2px 8px;
  }

  .cn-article p { font-size: 13px; }

  .cn-tagcloud a {
    padding: 5px 11px;
    font-size: 12px;
  }

  .cn-faq summary { font-size: 13px; }
  .cn-faq details p { font-size: 12.5px; }

  .cn-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

/* ============================================================
   右栏 v3 补充：介绍 / 时间 / 积分榜
   ============================================================ */

/* ---------- 介绍卡 ---------- */
.cn-intro p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-text-2, #334155);
}

/* ---------- 文章时间 ---------- */
.cn-article-time {
  flex-shrink: 0;
  font-size: 11.5px;
  color: var(--c-muted, #7c8798);
  font-variant-numeric: tabular-nums;
  padding-left: 6px;
}

/* ---------- 空状态 ---------- */
.cn-empty {
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
  color: var(--c-muted, #7c8798);
}

/* ---------- 积分榜 ---------- */
.cn-std-mainnav {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-line, #e6eaf0);
}

.cn-std-maintab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-full, 999px);
  color: var(--c-muted, #7c8798);
  font-size: 12.5px;
  font-weight: 600;
  transition: all .2s ease;
}

.cn-std-maintab:hover { color: var(--c-orange-600, #ea580c); }

.cn-std-maintab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--c-orange-500, #f97316), var(--c-orange-600, #ea580c));
  box-shadow: 0 4px 10px rgba(234,88,12,.25);
}

.cn-std-mainpanel { display: none; }
.cn-std-mainpanel.active { display: block; }

.cn-std-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--c-line, #e6eaf0);
}

.cn-std-tab {
  padding: 4px 10px;
  border-radius: var(--r-xs, 6px);
  color: var(--c-muted, #7c8798);
  font-size: 12px;
  font-weight: 600;
  transition: all .2s ease;
}

.cn-std-tab:hover { color: var(--c-orange-600, #ea580c); background: var(--c-orange-50, #fff7ed); }

.cn-std-tab.active {
  color: var(--c-orange-600, #ea580c);
  background: var(--c-orange-50, #fff7ed);
  border-bottom: 2px solid var(--c-orange-500, #f97316);
}

.cn-std-subnav {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.cn-std-subnav::-webkit-scrollbar { height: 4px; }
.cn-std-subnav::-webkit-scrollbar-thumb { background: var(--c-line, #e6eaf0); border-radius: 4px; }

.cn-std-subtab {
  flex: 0 0 auto;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c-muted, #7c8798);
  border: 1px solid var(--c-line, #e6eaf0);
  border-radius: var(--r-full, 999px);
  transition: all .2s ease;
  white-space: nowrap;
}

.cn-std-subtab:hover { border-color: var(--c-orange-400, #fb923c); color: var(--c-orange-600, #ea580c); }

.cn-std-subtab.active {
  border-color: var(--c-orange-500, #f97316);
  color: #fff;
  background: linear-gradient(135deg, var(--c-orange-500, #f97316), var(--c-orange-600, #ea580c));
}

.cn-std-panel, .cn-std-subpanel { display: none; }
.cn-std-panel.active, .cn-std-subpanel.active { display: block; }

.cn-std-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line, #e6eaf0);
  border-radius: var(--r-sm, 10px);
  background: #fff;
}

.cn-std-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.cn-std-table thead th {
  padding: 8px 6px;
  color: var(--c-navy-700, #1b3a66);
  font-weight: 700;
  font-size: 11.5px;
  text-align: center;
  white-space: nowrap;
  background: #fafbfd;
  border-bottom: 1px solid var(--c-line, #e6eaf0);
}

.cn-std-table tbody td {
  padding: 7px 6px;
  text-align: center;
  border-top: 1px solid var(--c-line-soft, #f1f4f9);
  color: var(--c-text, #0f172a);
  white-space: nowrap;
}

.cn-std-table tbody tr:hover { background: var(--c-orange-50, #fff7ed); }

.cn-std-rank { width: 28px; font-weight: 800; color: var(--c-muted, #7c8798); }

.cn-std-team {
  text-align: left !important;
  padding-left: 10px !important;
  min-width: 130px;
}

.cn-std-name { font-weight: 600; color: var(--c-text, #0f172a); }

.cn-std-tag {
  color: var(--c-muted, #7c8798);
  font-size: 10.5px;
  margin-left: 4px;
}

.cn-std-pts { color: var(--c-orange-600, #ea580c); font-size: 12.5px; }

/* ---------- 移动端 ---------- */
@media (max-width: 640px) {
  .cn-std-maintab { padding: 5px 12px; font-size: 12px; }
  .cn-std-tab     { padding: 3px 8px; font-size: 11.5px; }
  .cn-std-table   { font-size: 11.5px; }
  .cn-std-table thead th { padding: 7px 4px; font-size: 11px; }
  .cn-std-table tbody td { padding: 6px 4px; }
  .cn-std-team { min-width: 110px; padding-left: 8px !important; }
  .cn-std-name { font-size: 12px; }
  .cn-std-tag  { font-size: 10px; }
  .cn-intro p  { font-size: 12.5px; }
}

/* ============================================================
   中国男篮直播 · 页脚 v3
   ============================================================ */

.cn-footer {
  position: relative;
  margin-top: 48px;
  background: linear-gradient(180deg, #0a1628 0%, #061020 100%);
  color: rgba(255,255,255,.72);
  overflow: hidden;
}

.cn-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-orange-500, #f97316), transparent 70%);
}

.cn-footer::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.14) 0%, transparent 65%);
  pointer-events: none;
}

.cn-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px 24px;
}

/* ---------- 上半部分 ---------- */
.cn-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* 品牌栏 */
.cn-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  transition: transform .22s ease;
}

.cn-footer-logo:hover {
  transform: translateY(-1px);
}

.cn-footer-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-orange-500, #f97316), var(--c-orange-600, #ea580c));
  color: #fff;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(234,88,12,.35);
  transition: transform .3s ease;
}

.cn-footer-logo:hover .cn-footer-logo-icon {
  transform: rotate(-12deg) scale(1.05);
}

.cn-footer-logo-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #ffffff 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cn-footer-slogan {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-orange-400, #fb923c);
  letter-spacing: .5px;
}

.cn-footer-slogan-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
  max-width: 340px;
}

/* 导航列 */
.cn-footer-col {
  min-width: 0;
}

.cn-footer-title {
  position: relative;
  margin: 0 0 16px;
  padding-left: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}

.cn-footer-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--c-orange-500, #f97316), var(--c-orange-600, #ea580c));
}

.cn-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.cn-footer-links li {
  margin: 0;
}

.cn-footer-links a {
  display: inline-block;
  font-size: 13px;
  color: rgba(255,255,255,.62);
  transition: color .2s ease, transform .2s ease, padding-left .2s ease;
}

.cn-footer-links a:hover {
  color: var(--c-orange-400, #fb923c);
  transform: translateX(2px);
}

/* ---------- 中部说明文字 ---------- */
.cn-footer-mid {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.cn-footer-mid p {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(255,255,255,.45);
  max-width: 1000px;
}

.cn-footer-mid p:last-child {
  margin-bottom: 0;
}

/* ---------- 底栏 ---------- */
.cn-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
}

.cn-footer-copy {
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
}

.cn-footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.cn-footer-meta a {
  color: rgba(255,255,255,.55);
  transition: color .2s ease;
}

.cn-footer-meta a:hover {
  color: var(--c-orange-400, #fb923c);
}

.cn-footer-dot {
  color: rgba(255,255,255,.25);
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {

  .cn-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .cn-footer-brand {
    grid-column: 1 / -1;
  }

  .cn-footer-slogan-sub {
    max-width: 100%;
  }
}

@media (max-width: 640px) {

  .cn-footer {
    margin-top: 32px;
  }

  .cn-footer-inner {
    padding: 28px 14px 20px;
  }

  .cn-footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 22px;
  }

  .cn-footer-logo-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .cn-footer-logo-text {
    font-size: 15px;
  }

  .cn-footer-slogan {
    font-size: 13px;
  }

  .cn-footer-slogan-sub {
    font-size: 12.5px;
  }

  .cn-footer-title {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .cn-footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
  }

  .cn-footer-links a {
    font-size: 12.5px;
  }

  .cn-footer-mid {
    padding: 18px 0;
  }

  .cn-footer-mid p {
    font-size: 12px;
    line-height: 1.8;
  }

  .cn-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 16px;
  }

  .cn-footer-copy,
  .cn-footer-meta {
    font-size: 12px;
  }
}

@media (max-width: 380px) {

  .cn-footer-links {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   中国男篮直播 · 页头 v3
   ============================================================ */

.cn-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0a1628 0%, #102a4c 55%, #1b3a66 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 4px 20px rgba(10,22,40,.28);
}

.cn-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ---------- 品牌 ---------- */
.cn-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cn-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .5px;
  transition: transform .22s ease;
}

.cn-brand-link:hover {
  transform: translateY(-1px);
}

.cn-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-orange-500, #f97316), var(--c-orange-600, #ea580c));
  color: #fff;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(234,88,12,.35);
  transition: transform .3s ease;
}

.cn-brand-link:hover .cn-brand-icon {
  transform: rotate(-12deg) scale(1.05);
}

.cn-brand-text {
  background: linear-gradient(90deg, #ffffff 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 导航列表 ---------- */
.cn-nav {
  display: flex;
  align-items: center;
}

.cn-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cn-nav-item { margin: 0; }

.cn-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .22s ease, background .22s ease, transform .22s ease;
}

.cn-nav-link i {
  font-size: 13px;
  opacity: .85;
  transition: color .22s ease, opacity .22s ease;
}

.cn-nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

.cn-nav-link:hover i {
  color: var(--c-orange-400, #fb923c);
  opacity: 1;
}

.cn-nav-link.is-active {
  color: #fff;
  background: rgba(249,115,22,.18);
}

.cn-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-orange-500, #f97316), var(--c-orange-400, #fb923c));
}

.cn-nav-link.is-active i {
  color: var(--c-orange-400, #fb923c);
  opacity: 1;
}

/* ---------- 移动端汉堡按钮 ---------- */
.cn-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background .2s ease, border-color .2s ease;
}

.cn-nav-toggle:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(249,115,22,.55);
}

.cn-nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}

/* 展开时按钮变成 X */
.cn-nav-toggle.is-open .cn-nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.cn-nav-toggle.is-open .cn-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.cn-nav-toggle.is-open .cn-nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {

  .cn-header-inner {
    height: 56px;
    padding: 0 12px;
  }

  .cn-brand-text {
    font-size: 15px;
  }

  .cn-nav-toggle {
    display: flex;
  }

  .cn-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #0a1628 0%, #102a4c 100%);
    border-top: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .cn-nav.is-open {
    max-height: 420px;
    overflow-y: auto;
  }

  .cn-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 12px 14px;
  }

  .cn-nav-link {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: rgba(255,255,255,.85);
  }

  .cn-nav-link.is-active::after {
    display: none;
  }

  .cn-nav-link.is-active {
    background: linear-gradient(135deg, rgba(249,115,22,.28), rgba(234,88,12,.18));
    color: #fff;
  }
}

@media (max-width: 480px) {

  .cn-header-inner {
    height: 54px;
    padding: 0 10px;
  }

  .cn-brand-icon {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .cn-brand-text {
    font-size: 14px;
    letter-spacing: .3px;
  }
}
/* ============================================================
   热门联赛九宫格（加强版 v3.1）
   ============================================================ */

.cn-league-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.cn-league-cell {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 10px 6px !important;
  border-radius: var(--r-sm, 10px) !important;
  background: #fafbfd !important;
  border: 1px solid var(--c-line, #e6eaf0) !important;
  transition: all .22s ease !important;
  text-decoration: none !important;
  overflow: hidden !important;
}

.cn-league-cell:hover {
  background: var(--c-orange-50, #fff7ed) !important;
  border-color: var(--c-orange-400, #fb923c) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(234,88,12,.12) !important;
}

.cn-league-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 1px solid var(--c-line, #e6eaf0) !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.cn-league-logo img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
}

.cn-league-name {
  display: block !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--c-text-2, #334155) !important;
  line-height: 1.2 !important;
  text-align: center !important;
  transition: color .22s ease !important;
}

.cn-league-cell:hover .cn-league-name {
  color: var(--c-orange-600, #ea580c) !important;
}

/* ---------- 移动端 ---------- */
@media (max-width: 640px) {
  .cn-league-grid {
    gap: 6px !important;
  }
  .cn-league-cell {
    padding: 8px 4px !important;
  }
  .cn-league-logo {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
  }
  .cn-league-logo img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
  }
  .cn-league-name {
    font-size: 11px !important;
  }
}

/* ============================================================
   面包屑 v3
   ============================================================ */
.cn-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 0 4px;
  font-size: 13px;
  color: var(--c-muted, #7c8798);
}

.cn-crumb a {
  color: var(--c-muted, #7c8798);
  transition: color .2s ease;
}

.cn-crumb a:hover {
  color: var(--c-orange-600, #ea580c);
}

.cn-crumb-sep {
  color: var(--c-line, #e6eaf0);
}

.cn-crumb-current {
  color: var(--c-text, #0f172a);
  font-weight: 600;
}

/* ============================================================
   比赛详情页 v3
   ============================================================ */

/* ---------- 比赛头部大卡 ---------- */
.cn-match-hero {
  position: relative;
  padding: 26px 24px;
  margin-bottom: 20px;
  border-radius: var(--r-lg, 20px);
  background: linear-gradient(135deg, #0a1628 0%, #102a4c 55%, #1b3a66 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--sh-2, 0 4px 12px rgba(10,22,40,.06));
}

.cn-match-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-orange-500, #f97316), transparent);
}

.cn-mh-league {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cn-mh-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--r-full, 999px);
  background: rgba(249,115,22,.18);
  border: 1px solid rgba(249,115,22,.4);
  color: var(--c-orange-400, #fb923c);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .5px;
}

.cn-mh-time {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

.cn-mh-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.cn-mh-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.cn-mh-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.2);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}

.cn-mh-team:hover .cn-mh-logo {
  transform: scale(1.05);
  border-color: var(--c-orange-400, #fb923c);
}

.cn-mh-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.cn-mh-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cn-mh-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}

.cn-mh-vs {
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 2px;
  color: rgba(255,255,255,.85);
}

.cn-mh-status {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--r-full, 999px);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.cn-mh-status.is-live {
  background: var(--c-live, #e11d48);
  color: #fff;
  animation: cnPulse 1.8s infinite;
}

.cn-mh-status.is-upcoming {
  background: rgba(249,115,22,.2);
  color: var(--c-orange-400, #fb923c);
  border: 1px solid rgba(249,115,22,.5);
}

.cn-mh-status.is-end {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
}

/* ---------- 直播信号源容器 ---------- */
.cn-signal-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  min-height: 60px;
}

.cn-signal-box:empty::before {
  content: "正在加载直播信号...";
  color: var(--c-muted, #7c8798);
  font-size: 13px;
}

.cn-signal-box a,
.cn-signal-box button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--r-full, 999px);
  background: linear-gradient(135deg, var(--c-orange-500, #f97316), var(--c-orange-600, #ea580c));
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(234,88,12,.3);
  transition: transform .22s ease, box-shadow .22s ease;
}

.cn-signal-box a:hover,
.cn-signal-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(234,88,12,.42);
}

/* ---------- 信息列表（赛事预告） ---------- */
.cn-info-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.cn-info-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
}

.cn-info-label {
  flex-shrink: 0;
  min-width: 76px;
  color: var(--c-muted, #7c8798);
  font-weight: 500;
}

.cn-info-value {
  color: var(--c-text, #0f172a);
  font-weight: 600;
}

.cn-info-desc {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--c-line, #e6eaf0);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--c-text-2, #334155);
}

/* ---------- 信息表格（比赛直播信息） ---------- */
.cn-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cn-info-table th,
.cn-info-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--c-line-soft, #f1f4f9);
}

.cn-info-table tr:last-child th,
.cn-info-table tr:last-child td {
  border-bottom: none;
}

.cn-info-table th {
  width: 100px;
  color: var(--c-muted, #7c8798);
  font-weight: 500;
  background: #fafbfd;
}

.cn-info-table td {
  color: var(--c-text, #0f172a);
  font-weight: 600;
}

.cn-info-status {
  color: var(--c-orange-600, #ea580c) !important;
  font-weight: 700 !important;
}

/* ---------- 今日赛程无内边距 ---------- */
.cn-panel-body--flush {
  padding: 8px !important;
}

/* ---------- 详情页响应式 ---------- */
@media (max-width: 640px) {

  .cn-match-hero {
    padding: 20px 16px;
    border-radius: var(--r-md, 14px);
  }

  .cn-mh-league {
    margin-bottom: 14px;
  }

  .cn-mh-body {
    gap: 10px;
  }

  .cn-mh-logo {
    width: 62px;
    height: 62px;
  }

  .cn-mh-logo img {
    width: 42px;
    height: 42px;
  }

  .cn-mh-name {
    font-size: 14px;
  }

  .cn-mh-vs {
    font-size: 22px;
  }

  .cn-mh-status {
    font-size: 11px;
    padding: 3px 10px;
  }

  .cn-signal-box a,
  .cn-signal-box button {
    padding: 9px 18px;
    font-size: 13px;
  }

  .cn-info-list li {
    font-size: 13px;
  }

  .cn-info-label {
    min-width: 66px;
  }

  .cn-info-desc {
    font-size: 12.5px;
  }

  .cn-info-table th,
  .cn-info-table td {
    padding: 10px;
    font-size: 13px;
  }

  .cn-info-table th {
    width: 80px;
  }
}
/* ============================================================
   录像列表页 v3
   ============================================================ */

/* ---------- 录像网格 ---------- */
.cn-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* ---------- 单条录像卡片 ---------- */
.cn-video {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r-sm, 10px);
  background: #fafbfd;
  border: 1px solid var(--c-line, #e6eaf0);
  transition: all .22s ease;
  min-width: 0;
}

.cn-video:hover {
  background: linear-gradient(135deg, #fff 0%, var(--c-orange-50, #fff7ed) 100%);
  border-color: var(--c-orange-400, #fb923c);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234,88,12,.12);
}

/* 播放图标 */
.cn-video-thumb {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-navy-800, #102a4c), var(--c-navy-700, #1b3a66));
  color: #fff;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(16,42,76,.25);
  transition: background .22s ease, transform .22s ease;
}

.cn-video:hover .cn-video-thumb {
  background: linear-gradient(135deg, var(--c-orange-500, #f97316), var(--c-orange-600, #ea580c));
  transform: scale(1.05);
}

.cn-video-thumb i {
  margin-left: 2px;
}

/* 内容区 */
.cn-video-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cn-video-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text, #0f172a);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color .22s ease;
}

.cn-video:hover .cn-video-title {
  color: var(--c-orange-600, #ea580c);
}

.cn-video-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--c-muted, #7c8798);
}

.cn-video-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--r-full, 999px);
  background: var(--c-orange-50, #fff7ed);
  color: var(--c-orange-600, #ea580c);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(249,115,22,.2);
}

.cn-video-date {
  font-variant-numeric: tabular-nums;
}

/* ---------- 分页 ---------- */
.cn-pagination {
  display: flex;
  justify-content: center;
  padding: 20px 0 4px;
  margin-top: 14px;
  border-top: 1px dashed var(--c-line, #e6eaf0);
}

.cn-pagination ul,
.cn-pagination .pagination {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cn-pagination li {
  margin: 0;
  list-style: none;
}

.cn-pagination a,
.cn-pagination span,
.cn-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-sm, 10px);
  background: #fff;
  border: 1px solid var(--c-line, #e6eaf0);
  color: var(--c-text-2, #334155);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}

.cn-pagination a:hover,
.cn-pagination .page-link:hover {
  background: var(--c-orange-50, #fff7ed);
  border-color: var(--c-orange-400, #fb923c);
  color: var(--c-orange-600, #ea580c);
}

.cn-pagination .active a,
.cn-pagination .active span,
.cn-pagination .current,
.cn-pagination a.active {
  background: linear-gradient(135deg, var(--c-orange-500, #f97316), var(--c-orange-600, #ea580c));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 10px rgba(234,88,12,.3);
}

.cn-pagination .disabled a,
.cn-pagination .disabled span {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- 空状态 ---------- */
.cn-empty {
  padding: 60px 0;
  text-align: center;
  font-size: 14px;
  color: var(--c-muted, #7c8798);
}

/* ---------- 移动端 ---------- */
@media (max-width: 900px) {
  .cn-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .cn-video {
    padding: 12px;
    gap: 10px;
  }

  .cn-video-thumb {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 13px;
  }

  .cn-video-title {
    font-size: 13px;
  }

  .cn-video-meta {
    font-size: 11.5px;
  }

  .cn-video-tag {
    font-size: 10.5px;
  }

  .cn-pagination a,
  .cn-pagination span,
  .cn-pagination .page-link {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }
}
/* ============================================================
   集锦列表页 v3（复用录像样式，只做差异化）
   ============================================================ */

/* 集锦播放图标：橙色渐变，跟录像的深蓝区分 */
.cn-video--jijin .cn-video-thumb {
  background: linear-gradient(135deg, var(--c-orange-500, #f97316), var(--c-orange-600, #ea580c));
  box-shadow: 0 4px 10px rgba(234,88,12,.3);
}

.cn-video--jijin:hover .cn-video-thumb {
  background: linear-gradient(135deg, var(--c-navy-800, #102a4c), var(--c-navy-700, #1b3a66));
  box-shadow: 0 4px 10px rgba(16,42,76,.3);
}

.cn-video--jijin .cn-video-thumb i {
  margin-left: 0;
}
/* ============================================================
   文章 / 集锦详情页 v3
   ============================================================ */

/* 大号标题（H1 用） */
.cn-panel-title--lg {
  font-size: 18px;
  line-height: 1.55;
  color: var(--c-text, #0f172a);
}

.cn-panel-title--lg::before {
  top: 8px;
  transform: none;
}

/* 元信息行：时间 + 标签 */
.cn-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--c-line, #e6eaf0);
}

.cn-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--c-muted, #7c8798);
}

.cn-meta-item i {
  color: var(--c-orange-500, #f97316);
  font-size: 12px;
}

.cn-meta-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--r-full, 999px);
  background: var(--c-orange-50, #fff7ed);
  color: var(--c-orange-600, #ea580c);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(249,115,22,.2);
}

/* 封面图 */
.cn-article-cover {
  margin: 0 0 20px;
  border-radius: var(--r-md, 14px);
  overflow: hidden;
  border: 1px solid var(--c-line, #e6eaf0);
  background: #fafbfd;
  box-shadow: 0 4px 14px rgba(15,23,42,.05);
}

.cn-article-cover img {
  display: block;
  width: 100%;
  height: auto;
}

/* 正文内容 */
.cn-article-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-text-2, #334155);
  word-break: break-word;
}

.cn-article-content p {
  margin: 0 0 16px;
}

.cn-article-content p:last-child {
  margin-bottom: 0;
}

.cn-article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto;
  border-radius: var(--r-sm, 10px);
}

.cn-article-content h2,
.cn-article-content h3,
.cn-article-content h4 {
  margin: 24px 0 12px;
  color: var(--c-text, #0f172a);
  font-weight: 700;
  line-height: 1.5;
}

.cn-article-content h2 { font-size: 18px; }
.cn-article-content h3 { font-size: 16px; }
.cn-article-content h4 { font-size: 15px; }

.cn-article-content ul,
.cn-article-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.cn-article-content li {
  margin: 4px 0;
}

.cn-article-content a {
  color: var(--c-orange-600, #ea580c);
  text-decoration: underline;
  text-decoration-color: rgba(234,88,12,.35);
  transition: text-decoration-color .2s ease;
}

.cn-article-content a:hover {
  text-decoration-color: var(--c-orange-600, #ea580c);
}

.cn-article-content blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--c-orange-500, #f97316);
  background: var(--c-orange-50, #fff7ed);
  border-radius: 0 var(--r-sm, 10px) var(--r-sm, 10px) 0;
  color: var(--c-text-2, #334155);
}

.cn-article-content table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.cn-article-content table th,
.cn-article-content table td {
  padding: 10px 12px;
  border: 1px solid var(--c-line, #e6eaf0);
  text-align: left;
}

.cn-article-content table th {
  background: #fafbfd;
  font-weight: 700;
  color: var(--c-navy-700, #1b3a66);
}

/* 视频嵌入（如果正文里有 iframe） */
.cn-article-content iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 16px 0;
  border: none;
  border-radius: var(--r-md, 14px);
  background: #000;
}

/* ---------- 移动端 ---------- */
@media (max-width: 640px) {

  .cn-panel-title--lg {
    font-size: 16px;
  }

  .cn-meta-line {
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 14px;
  }

  .cn-meta-item {
    font-size: 12px;
  }

  .cn-meta-tag {
    font-size: 11px;
    padding: 2px 10px;
  }

  .cn-article-cover {
    border-radius: var(--r-sm, 10px);
    margin-bottom: 16px;
  }

  .cn-article-content {
    font-size: 14px;
    line-height: 1.85;
  }

  .cn-article-content h2 { font-size: 16px; }
  .cn-article-content h3 { font-size: 15px; }
  .cn-article-content h4 { font-size: 14px; }

  .cn-article-content blockquote {
    padding: 10px 12px;
  }
}