/* =========================================================
   MACCMS10 影视模板 · 新模板85（ds- 深空黑·暗色影院风）
   全站深色主题（GitHub Dark 系）+ 橙/青双 accent
   首页电脑端左右分栏（左封面墙流 + 右侧栏热播/高分/云词）
   详情页双栏（左简介选集资料FAQ云词评论 + 右海报卡热播榜）
   播放页双栏左右对调（左播放器选集评论 + 右信息推荐）
   封面全端 padding-top 150% 双保险等大 + 图片四重锁定
   ========================================================= */
:root {
  --ds-bg: #0d1117;          /* 深空底 */
  --ds-card: #161b22;        /* 卡片 */
  --ds-card2: #1c232b;       /* 浅卡 hover */
  --ds-line: #262e38;        /* 分割线 */
  --ds-ink: #e6edf3;         /* 主文字 */
  --ds-sub: #8b949e;         /* 灰字 */
  --ds-orange: #f59e0b;      /* 橙 accent */
  --ds-cyan: #22d3ee;        /* 青 accent */
  --ds-dark: #0a0d12;        /* 深黑底 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { border: 0; vertical-align: middle; max-width: 100% !important; }
.ds-pic img, .ds-poster img, .ds-rank-pic, .mv-vod-pic img, .mv-vod-pic .mv-lazy {
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
}
body {
  background: var(--ds-bg);
  color: var(--ds-ink);
  font: 14px/1.6 -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.ds-wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.ds-main { min-height: 60vh; }

/* ============ 头部（暗色双行） ============ */
.ds-head { position: sticky; top: 0; z-index: 110; box-shadow: 0 4px 16px rgba(0,0,0,.55); }
.ds-bar { background: var(--ds-dark); border-bottom: 1px solid var(--ds-line); }
.ds-bar-in { display: flex; align-items: center; gap: 16px; height: 62px; }
.ds-logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.ds-logo i {
  width: 34px; height: 34px; background: linear-gradient(135deg, var(--ds-orange), #d97706);
  color: #0a0d12; font-style: normal; font-size: 13px; font-weight: 900; text-align: center; line-height: 34px; border-radius: 8px;
}
.ds-logo b { font-size: 20px; font-weight: 900; letter-spacing: 2px; color: #fff; }
.ds-slogan { font-size: 12px; color: var(--ds-sub); letter-spacing: 2px; }
.ds-find { display: flex; width: 300px; margin-left: auto; background: var(--ds-card); border: 1px solid var(--ds-line); border-radius: 8px; overflow: hidden; }
.ds-find input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 8px 14px; font-size: 13px; color: var(--ds-ink); }
.ds-find input::placeholder { color: #6b7480; }
.ds-find button { padding: 0 18px; border: 0; background: var(--ds-orange); color: #0a0d12; font-size: 13px; font-weight: 800; cursor: pointer; }
.ds-find button:hover { filter: brightness(1.12); }
/* 导航条 */
.ds-nav { background: var(--ds-dark); border-bottom: 1px solid var(--ds-line); }
.ds-nav-in { display: flex; align-items: stretch; }
.ds-nav-in a { padding: 12px 22px; color: #b6c2d0; font-size: 14px; font-weight: 700; border-bottom: 3px solid transparent; white-space: nowrap; }
.ds-nav-in a:hover { color: #fff; border-bottom-color: var(--ds-cyan); background: rgba(255,255,255,.03); }
@media (max-width: 768px) {
  .ds-bar-in { height: 54px; gap: 10px; padding: 0 12px; }
  .ds-logo b { font-size: 16px; }
  .ds-slogan { display: none; }
  .ds-find { width: auto; flex: 1; }
  .ds-nav-in { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .ds-nav-in::-webkit-scrollbar { display: none; }
  .ds-nav-in a { flex: 0 0 auto; padding: 10px 14px; font-size: 13px; }
}

/* ============ 通用板块 ============ */
.ds-sec { background: var(--ds-card); border: 1px solid var(--ds-line); border-radius: 10px; padding: 16px 18px; margin-bottom: 14px; }
.ds-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.ds-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 900; color: #fff; }
.ds-title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, var(--ds-orange), var(--ds-cyan)); }
.ds-more { font-size: 13px; color: var(--ds-sub); flex-shrink: 0; }
.ds-more:hover { color: var(--ds-cyan); }
.ds-count { font-size: 13px; color: var(--ds-sub); flex-shrink: 0; }

/* ============ 封面卡片（全端等大双保险） ============ */
.ds-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px 14px; }
.ds-card { display: block; width: 100% !important; min-width: 0; }
.ds-pic {
  position: relative; display: block;
  height: 0 !important; padding-top: 150% !important;
  aspect-ratio: 2 / 3;
  width: 100% !important;
  border-radius: 8px; overflow: hidden; background: #1a2028; border: 1px solid var(--ds-line);
}
.ds-pic img {
  position: absolute !important; left: 0 !important; top: 0 !important;
  width: 100% !important; height: 100% !important;
  max-width: 100% !important; max-height: 100% !important;
  object-fit: cover !important;
}
.ds-flag {
  position: absolute; left: 6px; top: 6px; z-index: 2; max-width: 70%;
  padding: 2px 8px; background: linear-gradient(135deg, var(--ds-orange), #d97706); color: #0a0d12;
  font-size: 11px; font-weight: 800; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ds-score { position: absolute; right: 6px; top: 6px; z-index: 2; padding: 2px 7px; background: rgba(0,0,0,.6); color: var(--ds-cyan); font-size: 11px; font-weight: 700; border-radius: 4px; }
.ds-mask {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 8px 7px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.8)); color: #fff; font-size: 12px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 悬停详情浮层 */
.ds-hover {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 26px 10px 10px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.96));
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .25s ease; color: #fff;
}
.ds-card:hover .ds-hover, .ds-pic:hover .ds-hover { opacity: 1; visibility: visible; transform: none; }
.ds-hover-play {
  display: block; text-align: center; padding: 5px 0; border-radius: 5px; font-style: normal;
  background: var(--ds-orange); color: #0a0d12; font-size: 12px; font-weight: 800; margin-bottom: 7px;
}
.ds-hover-blurb { font-size: 11px; line-height: 1.55; color: #c9d4e0; margin-bottom: 6px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.ds-hover-line { font-size: 11px; color: #93a0ae; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.ds-name { display: block; margin-top: 8px; height: 22px; line-height: 22px; font-size: 14px; font-weight: 700; color: var(--ds-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-name:hover { color: var(--ds-cyan); }
.ds-meta { display: block; margin-top: 3px; height: 18px; line-height: 18px; font-size: 12px; color: var(--ds-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 侧栏竖排小卡 2 列 */
.ds-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 10px; }
.ds-mini-grid .ds-name { font-size: 12px; margin-top: 5px; }
@media (max-width: 768px) {
  .ds-grid { grid-template-columns: repeat(3, 1fr); gap: 12px 9px; }
  .ds-sec { padding: 12px; border-radius: 8px; }
  .ds-hover { display: none; }
  .ds-mini-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============ 首页/详情/播放 双栏布局 ============ */
.ds-layout { display: grid; grid-template-columns: 1fr 300px; gap: 14px; align-items: start; }
.ds-main-col { min-width: 0; }
.ds-side { min-width: 0; }
@media (max-width: 768px) {
  .ds-layout { grid-template-columns: 1fr; }
  .ds-side-info { order: -1; }
}

/* ============ 侧栏数字榜 ============ */
.ds-rank { display: grid; grid-template-columns: 1fr; gap: 4px; }
.ds-rank-item { display: flex; align-items: center; gap: 12px; padding: 8px 8px; border-bottom: 1px dashed var(--ds-line); min-width: 0; }
.ds-rank-item:hover { background: var(--ds-card2); }
.ds-rank-no { width: 30px; height: 30px; flex-shrink: 0; text-align: center; line-height: 30px; font-style: normal; font-weight: 900; font-size: 16px; color: var(--ds-sub); background: var(--ds-card2); border-radius: 6px; }
.ds-rank-item:nth-child(1) .ds-rank-no, .ds-rank-item:nth-child(2) .ds-rank-no, .ds-rank-item:nth-child(3) .ds-rank-no { background: linear-gradient(135deg, var(--ds-orange), #d97706); color: #0a0d12; }
.ds-rank-pic { width: 44px !important; height: 64px !important; max-width: 44px !important; max-height: 64px !important; border-radius: 5px; flex-shrink: 0; object-fit: cover !important; background: #1a2028; }
.ds-rank-info { flex: 1; min-width: 0; }
.ds-rank-name { display: block; font-size: 13px; font-weight: 700; color: var(--ds-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-rank-name:hover { color: var(--ds-cyan); }
.ds-rank-meta { display: block; margin-top: 3px; font-size: 11px; color: var(--ds-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-rank-score { font-style: normal; font-size: 13px; font-weight: 800; color: var(--ds-cyan); flex-shrink: 0; }

/* ============ 云词 ============ */
.ds-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-chip { padding: 5px 14px; background: var(--ds-card2); border: 1px solid var(--ds-line); border-radius: 14px; font-size: 13px; color: var(--ds-ink); }
.ds-chip:hover { border-color: var(--ds-cyan); color: var(--ds-cyan); }
.ds-chip.is-on { background: var(--ds-orange); border-color: transparent; color: #0a0d12; font-weight: 800; }

/* ============ 面包屑 ============ */
.ds-crumb { display: flex; align-items: center; gap: 6px; margin: 16px 0 12px; font-size: 13px; color: var(--ds-sub); flex-wrap: wrap; }
.ds-crumb a:hover { color: var(--ds-cyan); }
.ds-sep { color: #3c4652; }
.ds-cur { color: var(--ds-ink); max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============ 详情页：海报信息卡（右栏） ============ */
.ds-poster-card { background: var(--ds-card); border: 1px solid var(--ds-line); border-radius: 10px; padding: 16px; margin-bottom: 14px; }
.ds-poster { position: relative; display: block; height: 0 !important; padding-top: 150% !important; aspect-ratio: 2 / 3; width: 100% !important; border-radius: 8px; overflow: hidden; background: #1a2028; }
.ds-poster img {
  position: absolute !important; left: 0 !important; top: 0 !important;
  width: 100% !important; height: 100% !important;
  max-width: 100% !important; max-height: 100% !important;
  object-fit: cover !important;
}
.ds-poster-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border-radius: 50%;
  background: rgba(10,13,18,.82); color: var(--ds-orange); font-size: 17px; text-align: center; line-height: 52px; z-index: 2;
  box-shadow: 0 0 0 4px rgba(255,255,255,.35);
}
.ds-poster-h1 { margin-top: 12px; font-size: 19px; font-weight: 900; color: #fff; line-height: 1.4; }
.ds-poster-score { margin-top: 6px; font-size: 24px; font-weight: 900; color: var(--ds-orange); }
.ds-poster-score small { font-size: 12px; color: var(--ds-sub); font-weight: 400; }
.ds-poster-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.ds-tag { padding: 2px 11px; background: var(--ds-card2); border: 1px solid var(--ds-line); border-radius: 13px; font-size: 12px; color: var(--ds-ink); }
.ds-tag:hover { border-color: var(--ds-cyan); color: var(--ds-cyan); }
.ds-poster-dl { margin-top: 12px; }
.ds-poster-dl dd { font-size: 13px; color: var(--ds-sub); line-height: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-poster-dl dd em { color: var(--ds-ink); font-style: normal; font-weight: 700; margin-right: 4px; }
.ds-poster-dl dd a { color: var(--ds-cyan); }
.ds-poster-btns { display: flex; gap: 10px; margin-top: 14px; }
.ds-btn { display: inline-block; padding: 9px 22px; border-radius: 6px; background: var(--ds-card2); border: 1px solid var(--ds-line); color: var(--ds-ink); font-size: 14px; font-weight: 700; }
.ds-btn:hover { border-color: var(--ds-cyan); color: var(--ds-cyan); }
.ds-btn.is-main { background: linear-gradient(135deg, var(--ds-orange), #d97706); border-color: transparent; color: #0a0d12; }
.ds-btn.is-main:hover { filter: brightness(1.12); color: #0a0d12; }
@media (max-width: 768px) {
  .ds-poster-card { display: grid; grid-template-columns: 96px 1fr; gap: 0 14px; padding: 12px; }
  .ds-poster { grid-row: span 6; height: 0 !important; padding-top: 150% !important; }
  .ds-poster-h1 { margin-top: 0; font-size: 16px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .ds-poster-score { margin-top: 2px; font-size: 18px; }
  .ds-poster-tags { margin-top: 6px; }
  .ds-poster-dl { margin-top: 6px; }
  .ds-poster-dl dd { font-size: 12px; line-height: 1.7; }
  .ds-poster-btns { margin-top: 8px; gap: 8px; }
  .ds-btn { padding: 6px 14px; font-size: 12px; }
}

/* ============ 选集（直接显示，超20折叠） ============ */
.ds-src { font-size: 13px; color: var(--ds-sub); margin: 10px 0 8px; }
.ds-src b { color: var(--ds-ink); }
.ds-eps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-height: 84px; overflow: hidden; }
.ds-eps.is-expanded { max-height: none; }
.ds-ep {
  display: block; text-align: center; padding: 7px 0; background: var(--ds-card2); border: 1px solid var(--ds-line);
  border-radius: 6px; font-size: 13px; color: var(--ds-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ds-ep:hover { border-color: var(--ds-cyan); color: var(--ds-cyan); }
.ds-ep[is-on] { background: linear-gradient(135deg, var(--ds-orange), #d97706); border-color: transparent; color: #0a0d12; font-weight: 800; }
.ds-ep-more { margin-top: 10px; }
.ds-ep-btn { padding: 7px 24px; border: 1px solid var(--ds-line); border-radius: 6px; background: var(--ds-card); color: var(--ds-sub); font-size: 13px; cursor: pointer; }
.ds-ep-btn:hover { border-color: var(--ds-cyan); color: var(--ds-cyan); }

/* ============ 简介 ============ */
.ds-plot { font-size: 14px; line-height: 1.9; color: #c0cad6; text-align: justify; }

/* ============ 资料（全宽 SEO） ============ */
.ds-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.ds-dl dd { font-size: 13px; color: var(--ds-sub); line-height: 1.9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-dl dd em { color: var(--ds-ink); font-style: normal; font-weight: 700; margin-right: 4px; }
.ds-dl dd a { color: var(--ds-cyan); }
.ds-dl dd strong { color: var(--ds-ink); }
.ds-dl.is-full { grid-template-columns: 1fr; }
.ds-dl.is-full dd { white-space: normal; }
@media (max-width: 768px) { .ds-dl { grid-template-columns: 1fr; gap: 2px; } }

/* ============ 常见问题（全宽两列） ============ */
.ds-qa { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.ds-qa-item { background: var(--ds-card2); border: 1px solid var(--ds-line); border-radius: 8px; padding: 12px 14px; }
.ds-qa-item b { display: block; font-size: 13px; color: var(--ds-ink); margin-bottom: 6px; line-height: 1.6; }
.ds-qa-item p { font-size: 13px; color: #9aa7b5; line-height: 1.8; margin-top: 4px; }
.ds-qa-item a { color: var(--ds-cyan); }

/* ============ 评论 ============ */
.ds-comment { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--ds-line); }
.ds-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; text-align: center; line-height: 40px; background: linear-gradient(135deg, var(--ds-orange), #d97706); color: #0a0d12; font-size: 15px; font-weight: 900; }
.ds-comment-main { flex: 1; min-width: 0; }
.ds-comment-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ds-uname { font-size: 13px; font-weight: 700; color: var(--ds-ink); }
.ds-badge { padding: 1px 8px; background: var(--ds-card2); border: 1px solid var(--ds-line); border-radius: 4px; font-size: 11px; color: var(--ds-sub); }
.ds-star { font-size: 13px; color: var(--ds-orange); letter-spacing: 1px; }
.ds-star .ds-off { color: #343b44; }
.ds-star .ds-on { color: var(--ds-orange); }
.ds-date { font-size: 12px; color: var(--ds-sub); margin-left: auto; }
.ds-content { margin-top: 6px; font-size: 13px; color: #c0cad6; line-height: 1.8; }
.ds-useful { font-size: 12px; color: var(--ds-sub); flex-shrink: 0; align-self: center; }

/* ============ 播放器（16:9 全层级100%，留边距） ============ */
.ds-player-box { margin: 0 0 14px; }
.ds-player-inner { background: #000; border: 1px solid var(--ds-line); border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; width: 100%; }
.ds-player-stage, .ds-player-stage iframe, .ds-player-stage video, .ds-player-stage embed, .ds-player-stage object { width: 100% !important; height: 100% !important; display: block; border: 0; }
@media (max-width: 768px) {
  .ds-player-box { padding: 0 10px; }
}

/* ============ 分页 ============ */
.ds-pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.ds-pager-btn { min-width: 34px; height: 34px; padding: 0 12px; border: 1px solid var(--ds-line); border-radius: 6px; background: var(--ds-card); font-size: 13px; color: var(--ds-sub); display: inline-flex; align-items: center; justify-content: center; }
.ds-pager-btn:hover { border-color: var(--ds-cyan); color: var(--ds-cyan); }
.ds-pager-btn.is-on { background: var(--ds-orange); border-color: transparent; color: #0a0d12; font-weight: 800; }
.ds-empty { padding: 40px 0; text-align: center; font-size: 14px; color: var(--ds-sub); }

/* ============ 页脚（暗色三栏） ============ */
.ds-foot { background: var(--ds-dark); color: #97a3b1; margin-top: 20px; border-top: 1px solid var(--ds-line); }
.ds-foot .ds-wrap { padding-top: 20px; padding-bottom: 14px; }
.ds-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--ds-line); }
.ds-foot-logo { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.ds-foot-logo i { width: 30px; height: 30px; background: linear-gradient(135deg, var(--ds-orange), #d97706); color: #0a0d12; font-style: normal; font-size: 12px; font-weight: 900; text-align: center; line-height: 30px; border-radius: 8px; }
.ds-foot-logo b { font-size: 17px; font-weight: 900; letter-spacing: 2px; }
.ds-foot-brand { min-width: 0; }
.ds-foot-desc { margin-top: 10px; font-size: 13px; color: #6d7783; line-height: 1.8; }
.ds-foot-col h4 { font-size: 14px; color: #fff; margin-bottom: 10px; }
.ds-foot-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.ds-foot-links a { font-size: 13px; color: #6d7783; }
.ds-foot-links a:hover { color: var(--ds-cyan); }
.ds-foot-copy { padding-top: 12px; text-align: center; font-size: 12px; color: #525b66; line-height: 1.9; }
.ds-foot-copy a { color: #6d7783; }
@media (max-width: 768px) {
  .ds-foot-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ds-qa { grid-template-columns: 1fr; }
  .ds-eps { grid-template-columns: repeat(3, 1fr); gap: 6px; max-height: 84px; }
}


/* =========================================================
   筛选页 mv- 原版标签样式（用户指定结构，保持不改）
   ========================================================= */
.mv-filter-box {
  background: var(--ds-card);
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  padding: 6px 16px;
  margin-bottom: 18px;
  min-width: 0;
}
.mv-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 2px;
}
.mv-filter-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ds-dark);
  letter-spacing: 2px;
}
.mv-unfold {
  display: block;
  margin: 12px auto 4px;
  padding: 5px 26px;
  border: 1px solid #0a56d4;
  border-radius: 14px;
  background: transparent;
  color: #195dcc;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.mv-unfold:hover { background: var(--ds-dark); border-color: transparent; color: #ffffff; }
.mv-filter-keep {
  background: var(--ds-card2);
  border-radius: 8px;
  margin: 8px 0 0;
  padding: 10px 12px;
  border-bottom: 0;
}
/* 收缩时保留二级分类（首行）+ 排序（末行），收起中间扩展分类/地区/年份；展开后显示全部行 */
.mv-filter-box:not(.is-expanded) .mv-filter-row:not(:first-child):not(:last-child) { display: none; }
.mv-filter-box.is-expanded .mv-filter-row { display: flex; }
.mv-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--ds-line);
  min-width: 0;
}
.mv-filter-row:last-child { border-bottom: 0; }
.mv-filter-key {
  width: 76px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  color: #93a0ae;
  padding-top: 4px;
}
.mv-filter-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding-bottom: 2px;
}
.mv-filter-scroll::-webkit-scrollbar { height: 4px; }
.mv-filter-scroll::-webkit-scrollbar-thumb { background: rgba(26,107,255,.5); border-radius: 4px; }
.mv-chip {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  background: var(--ds-card2);
  font-size: 13px;
  color: var(--ds-sub);
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mv-chip:hover { border-color: var(--ds-dark); color: var(--ds-dark); }
.mv-chip.is-on { background: var(--ds-dark); border-color: transparent; color: #ffffff; font-weight: 700; }
.mv-layout { min-width: 0; }
.mv-layout-main { min-width: 0; }
.mv-card {
  background: var(--ds-card);
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
  min-width: 0;
}
.mv-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--ds-line);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.mv-card-head h2 {
  position: relative;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  padding-left: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mv-card-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  border-radius: 2px;
  background: var(--ds-dark);
}
.mv-card-count {
  font-size: 12px;
  color: var(--ds-sub);
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mv-vod-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.mv-vod-card { display: block; min-width: 0; }
.mv-vod-pic {
  position: relative;
  display: block;
  height: 0 !important;
  padding-top: 150% !important;
  overflow: hidden;
  border-radius: 10px;
  background: #e6eefb;
  border: 1px solid var(--ds-line);
}
.mv-vod-pic img {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  transition: transform .4s ease;
}
.mv-vod-card:hover .mv-vod-pic img { transform: scale(1.05); }
.mv-vod-flag {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 2px 9px;
  border-radius: 8px;
  background: rgba(11,30,58),.88);
  border: 1px solid rgba(232,161,60,.55);
  color: #efdcae;
  font-size: 11px;
  max-width: 72%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mv-vod-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 8px 7px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, transparent, rgba(8,30,28,.92));
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mv-vod-card:hover .mv-vod-mask { opacity: 1; transform: translateY(0); }
.mv-vod-info { padding: 8px 0 0; min-width: 0; }
.mv-vod-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mv-vod-card:hover .mv-vod-name { color: var(--ds-dark); }
.mv-vod-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ds-sub);
  margin-top: 2px;
  min-width: 0;
}
.mv-vod-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-vod-score { color: var(--ds-dark); font-weight: 700; }
.mv-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 6px 0 2px;
}
.mv-pager-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ds-sub);
  background: var(--ds-card2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.mv-pager-btn:hover { border-color: var(--ds-dark); color: var(--ds-dark); }
.mv-pager-btn.is-on { background: var(--ds-dark); border-color: transparent; color: #ffffff; font-weight: 700; }
.mv-lazy { background: #e9eef6; }

@media (max-width: 768px) {
  .mv-filter-box { padding: 4px 12px; border-radius: 10px; min-width: 0; }
  .mv-filter-row { flex-direction: column; gap: 8px; padding: 9px 0; width: 100%; min-width: 0; }
  .mv-filter-key { width: auto; padding-top: 0; }
  .mv-filter-scroll { width: 100%; max-width: 100%; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .mv-vod-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .mv-card { padding: 12px; border-radius: 10px; }
  .mv-pager-btn { min-width: 30px; height: 30px; padding: 0 9px; font-size: 12px; }
}

/* 懒加载占位图片 */
img.ds-lazy, img.mv-lazy { background: #1a2028 url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7) no-repeat center center; }

/* 播放页侧栏（与首页侧栏一致） */
.ds-side-sec { margin-bottom: 14px; }
.ds-side-rank { display: block; }
.ds-rank-num { width: 30px; height: 30px; flex-shrink: 0; text-align: center; line-height: 30px; font-style: normal; font-weight: 900; font-size: 16px; color: var(--ds-sub); background: var(--ds-card2); border-radius: 6px; }
.ds-rank-item:nth-child(1) .ds-rank-num, .ds-rank-item:nth-child(2) .ds-rank-num, .ds-rank-item:nth-child(3) .ds-rank-num { background: linear-gradient(135deg, var(--ds-orange), #d97706); color: #0a0d12; }
@media (max-width: 768px) {
  .ds-side-rank { display: none; }
  .ds-side-sec { display: none; }
}

/* ============ 筛选页：左侧分类树（电脑端）+ 右内容 ============ */
.ds-cols { display: grid; grid-template-columns: 210px 1fr; gap: 14px; align-items: start; }
.ds-sidenav { background: var(--ds-card); border: 1px solid var(--ds-line); border-radius: 10px; position: sticky; top: 150px; overflow: hidden; }
.ds-sidenav-head { padding: 13px 18px; color: #fff; font-size: 15px; font-weight: 900; letter-spacing: 2px; background: var(--ds-card2); border-bottom: 1px solid var(--ds-line); }
.ds-sidenav-list { padding: 8px 0; }
.ds-sidenav-list a { display: block; padding: 9px 18px; color: #aeb8c4; font-size: 13px; border-left: 3px solid transparent; }
.ds-sidenav-list a:hover { color: #fff; background: var(--ds-card2); }
.ds-sidenav-list a[is-on] { color: var(--ds-orange); font-weight: 800; border-left-color: var(--ds-orange); background: var(--ds-card2); }
.ds-cols-main { min-width: 0; }
@media (max-width: 768px) {
  .ds-cols { grid-template-columns: 1fr; }
  .ds-sidenav { position: static; display: block; }
  .ds-sidenav-head { display: none; }
  .ds-sidenav-list { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 8px; gap: 8px; scrollbar-width: none; }
  .ds-sidenav-list::-webkit-scrollbar { display: none; }
  .ds-sidenav-list a { flex-shrink: 0; padding: 5px 14px; border-radius: 14px; border-left: 0; background: var(--ds-card2); font-size: 12px; border: 1px solid var(--ds-line); }
  .ds-sidenav-list a:hover { background: #242c36; }
  .ds-sidenav-list a[is-on] { background: var(--ds-orange); border-color: transparent; color: #0a0d12; border-left-color: transparent; font-weight: 800; }
}

/* 热播榜/排行版手机端隐藏 */
@media (max-width: 768px) { .ds-rank-hide { display: none !important; } }
