/* =========================================================
   MACCMS10 影视模板（第十二套） - style.css
   全新 cb- 命名体系，赛博夜蓝 × 荧光青柠
   PC：三栏布局（左分类栏 + 中主内容 + 右热榜栏）
   手机：顶部吸顶条（Logo+搜索+汉堡最右）+ 抽屉菜单
   首页焦点区 + 最近更新 + 分类循环 + 三榜并排（最后）
   详情页无播放器；播放页 16:9 全屏播放器
   含 JSON-LD 结构化数据，利于搜索引擎收录
   所有封面固定尺寸（PC / 手机），响应式
   ========================================================= */

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  background: #0b0d12;
  color: #e8ecf3;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
ul, ol { list-style: none; }
.cb-wrap { display: flex; align-items: flex-start; min-height: 100vh; }

/* ---------- 左栏：Logo + 分类导航 + 热门标签 ---------- */
.cb-rail {
  position: sticky; top: 0; flex: 0 0 190px; width: 190px; height: 100vh;
  background: #0f1219; border-right: 1px solid #232a3a; color: #9aa3b2;
  display: flex; flex-direction: column; padding: 22px 14px 16px; overflow: hidden;
}
.cb-logo { font-size: 22px; font-weight: 800; letter-spacing: 2px; color: #c6ff4d; margin-bottom: 22px; display: block; text-shadow: 0 0 18px rgba(198,255,77,.35); }
.cb-rail-nav { display: flex; flex-direction: column; gap: 4px; }
.cb-rail-link { display: block; padding: 9px 12px; font-size: 14px; color: #9aa3b2; border-radius: 8px; transition: all .2s ease; border-left: 2px solid transparent; }
.cb-rail-link:hover { color: #e8ecf3; background: #161b26; }
.cb-rail-link.is-on { color: #06121f; background: #c6ff4d; font-weight: 700; border-left-color: #00e5ff; }
.cb-rail-tags { margin-top: 22px; }
.cb-rail-title { font-size: 13px; color: #5a6472; margin-bottom: 10px; }
.cb-rail-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.cb-rail-cloud a { font-size: 11px; color: #9aa3b2; padding: 3px 9px; background: #161b26; border-radius: 12px; }
.cb-rail-cloud a:hover { color: #c6ff4d; }
.cb-rail-note { margin-top: auto; font-size: 11px; color: #5a6472; line-height: 1.8; }

/* ---------- 中主区 ---------- */
.cb-core { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }

/* ---------- 顶部吸顶条 ---------- */
.cb-top { position: sticky; top: 0; z-index: 100; background: rgba(11,13,18,.92); backdrop-filter: blur(8px); border-bottom: 1px solid #232a3a; }
.cb-top-in { display: flex; align-items: center; gap: 14px; max-width: 1040px; margin: 0 auto; padding: 12px 18px; }
.cb-logo-mini { display: none; font-size: 18px; font-weight: 800; letter-spacing: 1px; color: #c6ff4d; flex: 0 0 auto; }
.cb-search { flex: 1 1 auto; display: flex; align-items: center; max-width: 560px; margin: 0 auto; background: #10141d; border: 1px solid #2a3346; border-radius: 20px; overflow: hidden; }
.cb-search input { flex: 1 1 auto; min-width: 0; height: 38px; border: 0; background: transparent; padding: 0 16px; font-size: 14px; color: #e8ecf3; outline: none; }
.cb-search input::placeholder { color: #5a6472; }
.cb-search button { flex: 0 0 auto; height: 38px; border: 0; padding: 0 22px; font-size: 14px; cursor: pointer; border-radius: 0 19px 19px 0; background: #c6ff4d; color: #06121f; font-weight: 700; }
.cb-search button:hover { background: #d8ff7a; }
.cb-hamburger { width: 40px; height: 38px; border: 0; cursor: pointer; background: #10141d; border: 1px solid #2a3346; border-radius: 8px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: 0 0 auto; }
.cb-hamburger span { display: block; width: 17px; height: 2px; background: #c6ff4d; border-radius: 2px; transition: all .25s; }
.cb-hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.cb-hamburger.is-open span:nth-child(2) { opacity: 0; }
.cb-hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 移动端抽屉（悬浮浮层，吸在顶栏下方） ---------- */
.cb-drawer { position: absolute; top: 100%; left: 0; right: 0; z-index: 99; display: none; background: #0f1219; border-bottom: 1px solid #232a3a; border-radius: 0 0 14px 14px; box-shadow: 0 18px 44px rgba(0,0,0,.6); max-height: calc(100vh - 64px); overflow-y: auto; scrollbar-width: none; }
.cb-drawer::-webkit-scrollbar { display: none; }
.cb-drawer.is-open { display: block; }
.cb-drawer-search { display: flex; align-items: center; gap: 8px; padding: 12px 18px; }
.cb-drawer-search input { flex: 1 1 auto; height: 36px; border: 1px solid #2a3346; background: #10141d; border-radius: 8px; padding: 0 12px; font-size: 13px; color: #e8ecf3; outline: none; }
.cb-drawer-search button { flex: 0 0 auto; height: 36px; border: 0; padding: 0 16px; border-radius: 8px; cursor: pointer; background: #c6ff4d; color: #06121f; font-weight: 700; }
.cb-drawer-group { border-bottom: 1px solid #1c2230; }
.cb-drawer-top { display: block; padding: 12px 18px; color: #c6ff4d; font-weight: 700; }
.cb-drawer-subs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.cb-drawer-subs a { font-size: 12px; color: #9aa3b2; padding: 4px 10px; background: #10141d; border-radius: 6px; }
.cb-drawer-subs a:hover { color: #c6ff4d; }

/* ---------- 内容区 ---------- */
.cb-shell { flex: 1 0 auto; width: 100%; max-width: 1040px; margin: 0 auto; padding: 20px 18px 40px; }

/* ---------- 面包屑（仅详情/播放页） ---------- */
.cb-crumb { font-size: 13px; color: #5a6472; margin: 0 0 16px; }
.cb-crumb a:hover { color: #c6ff4d; }
.cb-crumb-sep { margin: 0 8px; color: #2c3547; }

/* ---------- 焦点区：左轮播 + 右四宫格 ---------- */
.cb-hero { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 14px; margin-bottom: 20px; }
.cb-stage { position: relative; border-radius: 10px; overflow: hidden; height: 440px; background: #0f1219; border: 1px solid #2a3346; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.cb-track { display: flex; height: 100%; transition: transform .6s ease; }
.cb-slide { flex: 0 0 100%; position: relative; }
.cb-slide a { display: block; position: relative; height: 100%; }
.cb-slide img { width: 100%; height: 100%; object-fit: cover; }
.cb-slide-veil { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg,rgba(11,13,18,0),rgba(11,13,18,.95)); }
.cb-slide-cap { position: absolute; left: 24px; right: 24px; bottom: 18px; color: #fff; }
.cb-slide-cap h2 { font-size: 23px; margin-bottom: 6px; }
.cb-slide-cap p { font-size: 13px; color: rgba(232,236,243,.8); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cb-dots { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 6px; background: rgba(11,13,18,.5); padding: 6px 10px; border-radius: 12px; }
.cb-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.cb-dot.is-on { background: #c6ff4d; box-shadow: 0 0 8px rgba(198,255,77,.9); }
.cb-quad { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 440px; }
.cb-quaditem { position: relative; display: block; border-radius: 10px; overflow: hidden; min-width: 0; background: #0f1219; border: 1px solid #2a3346; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.cb-quaditem img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cb-quaditem:hover img { transform: scale(1.06); }
.cb-quad-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10px 6px; font-size: 13px; color: #fff; background: linear-gradient(180deg,rgba(11,13,18,0),rgba(11,13,18,.9)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 三榜并排 ---------- */
.cb-top3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
.cb-top3-card { background: #0f1219; border: 1px solid #2a3346; border-radius: 10px; padding: 16px; min-width: 0; }
.cb-top3-head { margin-bottom: 10px; }
.cb-top3-head h3 { font-size: 15px; color: #e8ecf3; }
.cb-top3-head h3::before { content: ""; display: inline-block; width: 5px; height: 14px; margin-right: 8px; border-radius: 2px; background: linear-gradient(180deg,#c6ff4d,#00e5ff); vertical-align: -2px; }
.cb-top3-list { display: flex; flex-direction: column; }
.cb-top3-item { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #1f2634; min-width: 0; }
.cb-top3-item:last-child { border-bottom: 0; }
.cb-top3-num { flex: 0 0 auto; width: 18px; font-size: 12px; font-weight: 700; text-align: center; color: #2c3547; }
.cb-top3-item:nth-child(1) .cb-top3-num { color: #c6ff4d; }
.cb-top3-item:nth-child(2) .cb-top3-num { color: #00e5ff; }
.cb-top3-item:nth-child(3) .cb-top3-num { color: #9aa3b2; }
.cb-top3-name { flex: 1 1 auto; min-width: 0; font-size: 13px; color: #c2c9d6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-top3-name:hover { color: #c6ff4d; }
.cb-top3-val { flex: 0 0 auto; font-size: 12px; color: #5a6472; }

/* ---------- 卡片 ---------- */
.cb-update { margin-bottom: 24px; }
.cb-card { background: #0f1219; border: 1px solid #2a3346; border-radius: 10px; padding: 16px; }
.cb-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cb-card-title { font-size: 17px; color: #e8ecf3; }
.cb-card-title::before { content: ""; display: inline-block; width: 5px; height: 15px; margin-right: 8px; border-radius: 2px; background: linear-gradient(180deg,#c6ff4d,#00e5ff); vertical-align: -2px; }
.cb-card-count { font-size: 13px; color: #5a6472; }
.cb-more a { font-size: 13px; color: #5a6472; }
.cb-more a:hover { color: #c6ff4d; }

/* ---------- 通用封面网格（固定尺寸） ---------- */
.cb-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.cb-cell { min-width: 0; display: block; transition: transform .25s ease; }
.cb-cell:hover { transform: translateY(-3px); }
.cb-cover { position: relative; display: block; border-radius: 8px; overflow: hidden; height: 210px; background: #0f1219; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.cb-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cb-cell:hover .cb-cover img { transform: scale(1.06); }
.cb-flag { position: absolute; left: 8px; top: 8px; z-index: 2; font-size: 11px; padding: 2px 8px; border-radius: 4px; background: rgba(11,13,18,.85); color: #c6ff4d; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-score { position: absolute; right: 8px; top: 8px; z-index: 2; font-size: 13px; font-weight: 700; color: #00e5ff; }
.cb-mask { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 10px 7px; font-size: 13px; color: #fff; background: linear-gradient(180deg,rgba(11,13,18,0),rgba(11,13,18,.9)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-cell-info { display: block; padding: 8px 2px 0; }
.cb-cell-name { display: block; font-size: 13px; color: #c2c9d6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-cell:hover .cb-cell-name { color: #c6ff4d; }
.cb-cell-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; font-size: 12px; color: #5a6472; }
.cb-cell-hit { color: #00e5ff; }

/* ---------- 首页分类循环（左更新列表 + 右排行） ---------- */
.cb-block { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 14px; margin-bottom: 24px; align-items: start; }
.cb-block-main { min-width: 0; }
.cb-block-side { min-width: 0; }
.cb-uplist { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.cb-upitem { min-width: 0; }
.cb-upcon { position: relative; }
.cb-upstate { position: absolute; left: 8px; top: 8px; z-index: 2; }
.cb-upstate em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 4px; background: rgba(11,13,18,.85); color: #c6ff4d; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.cb-upthumb { display: block; border-radius: 8px; overflow: hidden; height: 210px; background: #0f1219; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.cb-upthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cb-upitem:hover .cb-upthumb img { transform: scale(1.06); }
.cb-upsub { margin-top: 8px; font-size: 13px; color: #c2c9d6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-upsub a:hover { color: #c6ff4d; }
.cb-uplayer { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 14px 10px 10px; font-size: 12px; color: #e8ecf3; background: rgba(11,13,18,.96); border-radius: 0 0 8px 8px; opacity: 0; transition: opacity .3s ease; }
.cb-upitem:hover .cb-uplayer { opacity: 1; }
.cb-uplayer p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 2px 0; }
.cb-uplayer label { color: #c6ff4d; }
.cb-rank { display: flex; flex-direction: column; }
.cb-rankitem { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #1f2634; min-width: 0; }
.cb-rankitem:last-child { border-bottom: 0; }
.cb-ranknum { flex: 0 0 auto; width: 20px; font-size: 13px; font-weight: 700; text-align: center; color: #2c3547; }
.cb-rankitem:nth-child(1) .cb-ranknum { color: #c6ff4d; }
.cb-rankitem:nth-child(2) .cb-ranknum { color: #00e5ff; }
.cb-rankitem:nth-child(3) .cb-ranknum { color: #9aa3b2; }
.cb-rankpic { flex: 0 0 auto; width: 72px; height: 46px; border-radius: 6px; overflow: hidden; background: #0f1219; }
.cb-rankpic img { width: 100%; height: 100%; object-fit: cover; }
.cb-rankinfo { flex: 1 1 auto; min-width: 0; }
.cb-rankname { display: block; font-size: 13px; color: #c2c9d6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-rankname:hover { color: #c6ff4d; }
.cb-rankhits { display: block; margin-top: 2px; font-size: 12px; color: #5a6472; }

/* ---------- 右栏：热榜 ---------- */
.cb-aside { position: sticky; top: 0; flex: 0 0 260px; width: 260px; height: 100vh; background: #0f1219; border-left: 1px solid #232a3a; padding: 18px 14px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; scrollbar-width: none; }
.cb-aside::-webkit-scrollbar { display: none; }
.cb-aside-card { background: #131722; border: 1px solid #232a3a; border-radius: 10px; padding: 14px; }
.cb-aside-title { font-size: 14px; color: #e8ecf3; margin-bottom: 10px; }
.cb-aside-title::before { content: ""; display: inline-block; width: 5px; height: 13px; margin-right: 8px; border-radius: 2px; background: linear-gradient(180deg,#c6ff4d,#00e5ff); vertical-align: -2px; }
.cb-aside-list { display: flex; flex-direction: column; }
.cb-aside-item { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #1f2634; min-width: 0; }
.cb-aside-item:last-child { border-bottom: 0; }
.cb-aside-num { flex: 0 0 auto; width: 18px; font-size: 12px; font-weight: 700; text-align: center; color: #2c3547; }
.cb-aside-item:nth-child(1) .cb-aside-num { color: #c6ff4d; }
.cb-aside-item:nth-child(2) .cb-aside-num { color: #00e5ff; }
.cb-aside-item:nth-child(3) .cb-aside-num { color: #9aa3b2; }
.cb-aside-name { flex: 1 1 auto; min-width: 0; font-size: 13px; color: #c2c9d6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-aside-name:hover { color: #c6ff4d; }
.cb-aside-val { flex: 0 0 auto; font-size: 12px; color: #5a6472; }

/* ---------- 筛选 ---------- */
.cb-filter { background: #0f1219; border: 1px solid #2a3346; border-radius: 10px; padding: 8px 14px; margin-bottom: 16px; }
.cb-filter-row { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #1f2634; }
.cb-filter-row:last-child { border-bottom: 0; }
.cb-filter-key { flex: 0 0 auto; font-size: 13px; color: #5a6472; padding-top: 7px; }
.cb-filter-scroll { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.cb-filter-scroll::-webkit-scrollbar { display: none; }
.cb-chip { flex: 0 0 auto; font-size: 13px; padding: 6px 14px; border-radius: 14px; background: #10141d; color: #9aa3b2; white-space: nowrap; border: 1px solid #232a3a; }
.cb-chip:hover { color: #c6ff4d; }
.cb-chip.is-on { background: #c6ff4d; color: #06121f; font-weight: 600; border-color: transparent; }

/* ---------- 列表布局 ---------- */
.cb-layout { width: 100%; }
.cb-layout-main { min-width: 0; }
.cb-card { margin-bottom: 16px; }

/* ---------- 分页 ---------- */
.cb-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.cb-pagebtn { min-width: 36px; text-align: center; padding: 8px 12px; font-size: 13px; color: #9aa3b2; background: #0f1219; border: 1px solid #2a3346; border-radius: 6px; transition: all .2s ease; }
.cb-pagebtn:hover { color: #c6ff4d; border-color: #c6ff4d; }
.cb-pagebtn.is-on { background: #c6ff4d; color: #06121f; border-color: transparent; font-weight: 600; }

/* ---------- 详情/播放页 ---------- */
.cb-intro { position: relative; border-radius: 10px; overflow: hidden; margin-bottom: 16px; background: linear-gradient(135deg,#0f1219,#131a2b 60%,#0f1a24); border: 1px solid #2a3346; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.cb-intro::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 10%, rgba(198,255,77,.1), transparent 60%); pointer-events: none; }
.cb-intro-body { position: relative; display: flex; gap: 20px; flex-wrap: wrap; padding: 22px; }
.cb-poster { flex: 0 0 auto; width: 200px; height: 282px; border-radius: 8px; overflow: hidden; background: #0f1219; box-shadow: 0 10px 26px rgba(0,0,0,.5); }
.cb-poster img { width: 100%; height: 100%; object-fit: cover; }
.cb-intro-info { flex: 1 1 240px; min-width: 0; }
.cb-h1 { font-size: 25px; color: #e8ecf3; margin-bottom: 10px; }
.cb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cb-tagline { font-size: 12px; color: #8fd0ff; padding: 3px 10px; background: rgba(11,13,18,.5); border-radius: 12px; border: 1px solid #2a3346; }
.cb-score-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.cb-score-big { font-size: 32px; font-weight: 800; color: #c6ff4d; }
.cb-score-label { font-size: 13px; color: #5a6472; }
.cb-summary { font-size: 14px; color: #c2c9d6; line-height: 1.8; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.cb-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.cb-playbtn { display: inline-block; padding: 10px 28px; border-radius: 6px; font-size: 14px; background: #c6ff4d; color: #06121f; font-weight: 700; box-shadow: 0 6px 18px rgba(198,255,77,.3); }
.cb-playbtn:hover { background: #d8ff7a; }
.cb-detailbtn { display: inline-block; padding: 10px 28px; border-radius: 6px; font-size: 14px; background: transparent; color: #8fd0ff; border: 1px solid #2a3346; }
.cb-detailbtn:hover { color: #c6ff4d; border-color: #c6ff4d; }
.cb-player { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 10px; overflow: hidden; margin: 0 auto 16px; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
@supports (aspect-ratio: 16 / 9) {
  .cb-player { padding-top: 0; aspect-ratio: 16 / 9; }
}
.cb-player iframe, .cb-player video, .cb-player embed, .cb-player object {
  position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border: 0;
}
.cb-player div { position: relative; width: 100% !important; height: 100% !important; }

/* ---------- 播放源与集数（直接显示，多的折叠） ---------- */
.cb-epbox { background: #0f1219; border: 1px solid #2a3346; border-radius: 10px; padding: 14px; margin-bottom: 16px; }
.cb-epline { font-size: 14px; font-weight: 600; color: #c6ff4d; padding: 4px 0 10px; }
.cb-epbox > .cb-epline:first-child { padding-top: 0; }
.cb-eplist { display: grid; grid-template-columns: repeat(auto-fill,minmax(70px,1fr)); gap: 8px; }
.cb-epitem { display: block; text-align: center; padding: 8px 4px; font-size: 13px; color: #9aa3b2; background: #10141d; border: 1px solid #232a3a; border-radius: 6px; transition: all .2s ease; }
.cb-epitem:hover { color: #c6ff4d; border-color: #c6ff4d; }
.cb-epitem.on { background: #c6ff4d; color: #06121f; border-color: transparent; font-weight: 600; }
.cb-epitem.cb-ep-hidden { display: none; }
.cb-eplist.is-expanded .cb-epitem.cb-ep-hidden { display: block; }
.cb-epmore { display: flex; justify-content: center; margin-top: 12px; }
.cb-epmorebtn { cursor: pointer; border: 1px solid #2a3346; background: #10141d; color: #9aa3b2; padding: 8px 22px; border-radius: 16px; font-size: 13px; }
.cb-epmorebtn:hover { color: #c6ff4d; border-color: #c6ff4d; }

/* ---------- 详情介绍 / 常见问题 / 评论 ---------- */
.cb-faq { background: #0f1219; border: 1px solid #2a3346; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.cb-faq-title { font-size: 16px; color: #e8ecf3; margin-bottom: 12px; }
.cb-faq-title::before { content: ""; display: inline-block; width: 5px; height: 15px; margin-right: 8px; border-radius: 2px; background: linear-gradient(180deg,#c6ff4d,#00e5ff); vertical-align: -2px; }
.cb-spec { font-size: 14px; color: #9aa3b2; }
.cb-spec dd { padding: 5px 0; word-break: break-all; }
.cb-spec em { font-style: normal; color: #5a6472; margin-right: 4px; }
.cb-spec a { color: #00e5ff; }
.cb-spec strong { color: #e8ecf3; }
.cb-textover { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-hot-tags { font-size: 13px; }
.cb-hot-tags a { display: inline-block; margin: 4px 8px 4px 0; color: #00e5ff; }
.cb-faq-body { font-size: 14px; color: #9aa3b2; }
.cb-faq-body dd { padding: 6px 0; }
.cb-faq-body b { color: #e8ecf3; font-weight: 600; }
.cb-faq-body p { color: #5a6472; margin-top: 3px; }
.cb-faq-body a { color: #00e5ff; }
.cb-comments { background: #0f1219; border: 1px solid #2a3346; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.cb-comments-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cb-comments-head h2 { font-size: 16px; color: #e8ecf3; }
.cb-comments-count { font-size: 13px; color: #5a6472; }
.cb-comment { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #1f2634; }
.cb-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,#c6ff4d,#00e5ff); color: #06121f; font-size: 16px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.cb-cbody { flex: 1 1 auto; min-width: 0; }
.cb-chead { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.cb-cname { font-size: 13px; color: #c6ff4d; font-weight: 600; }
.cb-cmark { font-size: 12px; color: #c6ff4d; background: rgba(198,255,77,.12); padding: 1px 8px; border-radius: 4px; }
.cb-cstars { font-size: 12px; color: #c6ff4d; }
.cb-cstars i { font-style: normal; }
.cb-cstars i.cb-staroff { color: #2c3547; }
.cb-ctime { font-size: 12px; color: #5a6472; margin-left: auto; }
.cb-ctext { font-size: 14px; color: #c2c9d6; word-break: break-all; }
.cb-clike { flex: 0 0 auto; font-size: 12px; color: #5a6472; }

/* ---------- 详情/播放页主体：主栏 + 右栏 ---------- */
.cb-detail { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,1fr); gap: 14px; align-items: start; }
.cb-detail-main { min-width: 0; }
.cb-detail-side { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cb-rel .cb-cover { height: 140px; }
.cb-rel { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.cb-detail-side .cb-rel { grid-template-columns: repeat(2,1fr); gap: 10px; }
.cb-detail-side .cb-cover { height: 118px; }
.cb-detail-side .cb-cell-name { font-size: 12px; }
.cb-detail-side .cb-cell-meta { font-size: 11px; }
.cb-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-tagcloud a { font-size: 12px; color: #9aa3b2; padding: 4px 12px; background: #10141d; border: 1px solid #232a3a; border-radius: 14px; }
.cb-tagcloud a:hover { color: #c6ff4d; border-color: #c6ff4d; }

/* ---------- 空结果 ---------- */
.cb-empty { text-align: center; padding: 60px 20px; color: #5a6472; font-size: 14px; }

/* ---------- 页脚：左品牌 + 右三栏 + 版权条 ---------- */
.cb-foot { background: #080a0f; border-top: 1px solid #232a3a; margin-top: 30px; color: #5a6472; }
.cb-foot-in { display: grid; grid-template-columns: minmax(0,1.6fr) 1fr 1fr 1fr; gap: 26px; max-width: 1240px; margin: 0 auto; padding: 28px 20px 20px; }
.cb-foot-brand { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cb-foot-logo { font-size: 20px; font-weight: 800; letter-spacing: 2px; color: #c6ff4d; }
.cb-foot-brand p { font-size: 12px; line-height: 1.9; color: #5a6472; }
.cb-foot-col { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cb-foot-col h4 { font-size: 15px; color: #e8ecf3; margin-bottom: 4px; }
.cb-foot-col a { font-size: 13px; color: #5a6472; }
.cb-foot-col a:hover { color: #c6ff4d; }
.cb-foot-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-foot-tags a { font-size: 12px; color: #9aa3b2; padding: 4px 10px; background: #0f1219; border-radius: 14px; }
.cb-foot-tags a:hover { color: #c6ff4d; }
.cb-foot-copy { border-top: 1px solid #1c2230; text-align: center; font-size: 12px; color: #3c4556; padding: 14px 20px 22px; }
.cb-foot-copy p { margin: 3px 0; }
.cb-foot-copy a { color: #5a6472; }

/* ---------- 回到顶部 ---------- */
#cbBackTop { position: fixed; right: 18px; bottom: 26px; width: 44px; height: 44px; border: 0; border-radius: 8px; cursor: pointer; z-index: 999; display: none; background: #c6ff4d; color: #06121f; font-size: 18px; font-weight: 700; box-shadow: 0 8px 20px rgba(198,255,77,.35); }

/* ========== 响应式 ========== */
@media (min-width: 1025px) {
  .cb-detail-side { position: sticky; top: 78px; max-height: calc(100vh - 92px); overflow-y: auto; scrollbar-width: none; }
  .cb-detail-side::-webkit-scrollbar { display: none; }
}
@media (max-width: 1024px) {
  .cb-rail, .cb-aside { display: none; }
  .cb-logo-mini { display: block; }
  .cb-hero { grid-template-columns: 1fr; }
  .cb-quad { grid-template-columns: repeat(4,1fr); grid-template-rows: none; height: auto; }
  .cb-top3 { grid-template-columns: 1fr 1fr 1fr; }
  .cb-block { grid-template-columns: 1fr; }
  .cb-detail { grid-template-columns: 1fr; }
  .cb-grid, .cb-uplist { grid-template-columns: repeat(5,1fr); gap: 14px; }
  .cb-detail-side .cb-rel { grid-template-columns: repeat(5,1fr); gap: 12px; }
  .cb-detail-side .cb-cover { height: 140px; }
  .cb-foot-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .cb-hamburger { display: inline-flex; }
  .cb-quad { display: none; }
  .cb-block-side { display: none; }
  .cb-top3 { grid-template-columns: repeat(3,1fr); overflow-x: auto; scrollbar-width: none; }
  .cb-top3::-webkit-scrollbar { display: none; }
  .cb-top3-card { min-width: 230px; }
  .cb-stage { height: 210px; border-radius: 0; }
  .cb-shell > .cb-hero:first-child { margin-top: -20px; }
  .cb-cover { height: 165px; }
  .cb-upthumb { height: 165px; }
  .cb-poster { width: 116px; height: 163px; }
  .cb-intro-body { padding: 14px; gap: 14px; }
  .cb-h1 { font-size: 21px; }
  .cb-summary { -webkit-line-clamp: 2; font-size: 13px; }
  .cb-btns { gap: 10px; }
  .cb-playbtn, .cb-detailbtn { padding: 9px 20px; font-size: 13px; }
  .cb-card, .cb-faq, .cb-comments, .cb-epbox, .cb-filter { padding: 14px; }
  .cb-card-title { font-size: 16px; }
  .cb-faq-title { font-size: 15px; }
  .cb-epitem { font-size: 12px; padding: 7px 4px; }
  .cb-eplist { grid-template-columns: repeat(auto-fill,minmax(60px,1fr)); gap: 6px; }
  .cb-grid, .cb-uplist { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .cb-rel { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .cb-cell-name { font-size: 12px; }
  .cb-mask { font-size: 12px; padding-top: 12px; }
  .cb-flag, .cb-upstate em { font-size: 10px; }
  .cb-filter { padding: 6px 10px; }
  .cb-filter-key { font-size: 12px; }
  .cb-chip { font-size: 12px; padding: 5px 12px; }
  .cb-detail-side .cb-rel { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .cb-detail-side .cb-cover { height: 145px; }
  .cb-comment { gap: 10px; }
  .cb-avatar { width: 36px; height: 36px; font-size: 15px; }
  .cb-pager { gap: 6px; }
  .cb-foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cb-top-in { padding: 10px 12px; gap: 10px; }
  .cb-logo-mini { font-size: 17px; }
  .cb-hamburger { width: 36px; height: 36px; }
  .cb-search input { height: 36px; font-size: 13px; padding: 0 12px; }
  .cb-search button { height: 36px; padding: 0 14px; font-size: 13px; }
  .cb-stage { height: 190px; }
  .cb-shell > .cb-hero:first-child { margin-top: -14px; }
  .cb-slide-cap { left: 16px; right: 16px; bottom: 12px; }
  .cb-slide-cap h2 { font-size: 17px; }
  .cb-slide-cap p { -webkit-line-clamp: 1; }
  .cb-cover { height: 145px; }
  .cb-uplist { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .cb-upthumb { height: 145px; }
  .cb-poster { width: 100px; height: 140px; }
  .cb-score-big { font-size: 26px; }
  .cb-eplist { grid-template-columns: repeat(auto-fill,minmax(52px,1fr)); }
  .cb-pagebtn { padding: 7px 10px; font-size: 12px; min-width: 32px; }
  .cb-avatar { width: 32px; height: 32px; font-size: 14px; }
  .cb-more a { font-size: 12px; }
  .cb-shell { padding: 14px 12px 30px; }
}
