/* ==========================================================================
   铅笔题库 · 视频区（/video/ 列表 + /video/<id>/ 详情）
   video.css —— 全部样式以 .vv- / .vd- 前缀命名，避免与站点旧补丁冲突
   按钮统一：白底 + 细边框 + 深灰字，hover 变蓝，选中蓝底白字（与顶部导航一致）
   ========================================================================== */

.vv-page,
.vd-page {
  --vv-ink: #16233a;
  --vv-body: #43536b;
  --vv-muted: #6b7a90;
  --vv-line: #e6ecf5;
  --vv-bg: #f5f7fb;
  --vv-brand: #2563eb;
  --vv-brand-dark: #1d4ed8;
  --vv-brand-soft: #eef4ff;

  --vv-btn-bg: #fff;
  --vv-btn-border: #e2e8f0;
  --vv-btn-color: #334155;
  --vv-btn-hover-bg: #eaf3ff;
  --vv-btn-hover-border: #bcd7f6;
  --vv-btn-active-bg: #2160c4;
  --vv-btn-active-border: #1f5fbe;
  --vv-radius: 16px;
}

.vv-page *,
.vd-page * { box-sizing: border-box; }

/* --------------------------------- 列表页 -------------------------------- */
.vv-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px 56px;
  color: var(--vv-body);
}

/* 首页 / 视频区：和顶部导航栏同样的按钮外观 */
.vv-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.vv-navbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 16px;
  border: 1px solid var(--vv-btn-border);
  border-radius: 9px;
  background: var(--vv-btn-bg);
  color: var(--vv-btn-color);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.vv-navbtn:hover {
  border-color: var(--vv-btn-hover-border);
  background: var(--vv-btn-hover-bg);
  color: var(--vv-brand);
}

.vv-navbtn.is-active {
  border-color: var(--vv-btn-active-border);
  background: var(--vv-btn-active-bg);
  color: #fff;
  box-shadow: 0 5px 12px rgba(31, 95, 190, .26), inset 0 1px 0 rgba(255, 255, 255, .24);
}

/* --------------------------------- 搜索框 -------------------------------- */
.vv-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 6px 6px 14px;
  background: #fff;
  border: 1px solid var(--vv-line);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(22, 35, 58, .04);
}

.vv-search:focus-within {
  border-color: #b9cff7;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.vv-search-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--vv-muted);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.vv-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  color: var(--vv-ink);
}

.vv-search-input::placeholder { color: #9aa8bc; }

.vv-search-btn {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--vv-btn-active-border);
  border-radius: 9px;
  background: var(--vv-btn-active-bg);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.vv-search-btn:hover { filter: brightness(1.05); }

.vv-search-clear {
  flex: 0 0 auto;
  padding: 0 10px;
  font-size: 13px;
  color: var(--vv-muted);
  text-decoration: none;
}

.vv-search-clear:hover { color: var(--vv-brand); }

/* -------------------------- 筛选区（与首页一致） -------------------------- */
.vv-filters {
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(20, 36, 58, .08);
}

.vv-frow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
}

.vv-flabel {
  flex: 0 0 42px;
  padding-top: 5px;
  font-size: 13px;
  font-weight: 400;
  color: #78899e;
}

.vv-chips {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
  padding: 1px;
}

/* 筛选按钮：和首页 .chip 完全同一套尺寸与配色 */
.vv-chip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid #e4ebf4;
  border-radius: 10px;
  background: #f5f8fc;
  color: #40536c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.vv-chip:hover {
  border-color: #a9c8ef;
  background: #f2f8ff;
  color: #2160c4;
}

.vv-chip.is-active {
  border-color: rgba(18, 63, 133, .38);
  background: linear-gradient(180deg, #2f76d8, #1f5fbe);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 5px 12px rgba(31, 95, 190, .26), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.vv-chip.is-disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* 筛选按钮（首页同款） */
.vv-go {
  flex: 0 0 auto;
  align-self: center;
  height: 40px;
  min-width: 82px;
  padding: 0 26px;
  margin-left: auto;
  border: 1px solid rgba(18, 63, 133, .38);
  border-radius: 10px;
  background: linear-gradient(180deg, #2f76d8, #1f5fbe);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(31, 95, 190, .26), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.vv-go:hover { filter: brightness(1.06); }
.vv-go:active { filter: brightness(.96); }

/* ------------------------------ 结果 / 排序 ------------------------------ */
.vv-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 2px;
}

.vv-result {
  margin: 0;
  font-size: 14px;
  color: var(--vv-muted);
}

.vv-result strong { color: var(--vv-ink); font-weight: 700; }

.vv-bar-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* 最新视频 / 下载热度：两个按钮并排，和首页 tab 同样的逻辑 */
.vv-sorttabs {
  display: inline-flex;
  gap: 8px;
}

.vv-sortbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 15px;
  border: 1px solid var(--vv-btn-border);
  border-radius: 9px;
  background: var(--vv-btn-bg);
  color: var(--vv-btn-color);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.vv-sortbtn:hover {
  border-color: var(--vv-btn-hover-border);
  background: var(--vv-btn-hover-bg);
  color: var(--vv-brand);
}

.vv-sortbtn.is-active {
  border-color: var(--vv-btn-active-border);
  background: var(--vv-btn-active-bg);
  color: #fff;
  box-shadow: 0 4px 10px rgba(31, 95, 190, .2);
}

.vv-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--vv-btn-border);
  border-radius: 9px;
  background: var(--vv-btn-bg);
  color: var(--vv-btn-color);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.vv-reset:hover {
  border-color: var(--vv-btn-hover-border);
  background: var(--vv-btn-hover-bg);
  color: var(--vv-brand);
}

/* --------------------------------- 卡片网格 ------------------------------- */
.vv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* 整张卡片就是链接，点进去看详情 */
.vv-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--vv-line);
  border-radius: var(--vv-radius);
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.vv-card:hover {
  transform: translateY(-2px);
  border-color: #cfe0ff;
  box-shadow: 0 12px 28px rgba(23, 44, 85, .09);
}

.vv-card:focus-visible {
  outline: 2px solid var(--vv-brand);
  outline-offset: 2px;
}

.vv-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef2f8;
}

.vv-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.vv-card:hover .vv-cover { transform: scale(1.03); }

.vv-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #b8c6da;
}

.vv-dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, .68);
  color: #fff;
  font-size: 11.5px;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vv-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  padding: 12px 14px 14px;
}

.vv-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--vv-ink);
}

.vv-card:hover .vv-card-title { color: var(--vv-brand-dark); }

.vv-blurb {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--vv-muted);
}

/* 分类徽章强制一行：不换行，超出裁切，手机端也一样 */
.vv-badges {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  overflow: hidden;
  white-space: nowrap;
}

.vv-badges .tag,
.vv-badges .vv-badge { flex: 0 0 auto; }

.vv-badges .tag {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.7;
}

.vv-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border: 1px solid #e3ebf7;
  border-radius: 999px;
  background: #f6f9fe;
  color: #4b5f7a;
  font-size: 12px;
  line-height: 1.7;
  white-space: nowrap;
}

.vv-badge-brand {
  border-color: #ffe4c4;
  background: #fff7ed;
  color: #b45309;
  font-weight: 600;
}

/* --------------------------------- 空状态 -------------------------------- */
.vv-empty {
  padding: 46px 20px;
  border: 1px dashed #d8e2f0;
  border-radius: var(--vv-radius);
  background: #fff;
  text-align: center;
}

.vv-empty-icon { display: block; font-size: 40px; margin-bottom: 8px; }
.vv-empty h3 { margin: 0 0 6px; font-size: 18px; color: var(--vv-ink); }
.vv-empty p { margin: 0 0 16px; font-size: 14px; color: var(--vv-muted); }
.vv-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.vv-empty-actions .vv-btn { min-width: 132px; }

/* 通用按钮（空状态等） */
.vv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--vv-btn-border);
  border-radius: 9px;
  background: var(--vv-btn-bg);
  color: var(--vv-btn-color);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.vv-btn:hover {
  border-color: var(--vv-btn-hover-border);
  background: var(--vv-btn-hover-bg);
  color: var(--vv-brand);
}

.vv-btn-primary {
  border-color: var(--vv-btn-active-border);
  background: var(--vv-btn-active-bg);
  color: #fff;
}

.vv-btn-primary:hover {
  border-color: var(--vv-btn-active-border);
  background: var(--vv-btn-active-bg);
  color: #fff;
  filter: brightness(1.05);
}

/* --------------------------------- 分页 --------------------------------- */
.vv-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 0 0;
  padding: 14px;
  border: 1px solid var(--vv-line);
  border-radius: var(--vv-radius);
  background: #fff;
}

.vv-pager-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.vv-pg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--vv-btn-border);
  border-radius: 9px;
  background: var(--vv-btn-bg);
  color: var(--vv-btn-color);
  font-size: 14px;
  text-decoration: none;
}

.vv-pg:hover {
  border-color: var(--vv-btn-hover-border);
  background: var(--vv-btn-hover-bg);
  color: var(--vv-brand);
}

.vv-pg-nav { padding: 0 14px; font-weight: 600; }

.vv-pg.is-current {
  border-color: var(--vv-btn-active-border);
  background: var(--vv-btn-active-bg);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(31, 95, 190, .2);
}

.vv-pg.is-disabled,
.vv-pg.is-disabled:hover {
  border-color: #edf1f7;
  background: #f7f9fc;
  color: #b3bfd0;
  cursor: not-allowed;
}

.vv-pg-ellipsis { padding: 0 4px; color: #93a2b8; }

.vv-pager-info {
  margin: 0;
  font-size: 13px;
  color: var(--vv-muted);
}

/* -------------------------------- 骨架屏 -------------------------------- */
.vv-card.is-skeleton { pointer-events: none; }

.vv-skel {
  background: linear-gradient(100deg, #eef2f8 20%, #f7f9fc 40%, #eef2f8 60%);
  background-size: 200% 100%;
  animation: vvShine 1.15s ease-in-out infinite;
  border-radius: 8px;
}

.vv-skel-media { aspect-ratio: 16 / 9; border-radius: 0; }
.vv-skel-line { height: 14px; margin: 8px 14px; }
.vv-skel-line.short { width: 45%; }
.vv-skel-line.mid { width: 70%; }
.vv-skel-badges { display: flex; gap: 6px; margin: 10px 14px 14px; }
.vv-skel-badges span { width: 58px; height: 20px; border-radius: 999px; }

@keyframes vvShine {
  from { background-position: 140% 0; }
  to { background-position: -40% 0; }
}

.vv-grid.is-loading { opacity: .7; }

/* -------------------------------- 工具类 -------------------------------- */
.vv-page .sr-only,
.vd-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.vv-page a:focus-visible,
.vd-page a:focus-visible,
.vv-page button:focus-visible,
.vd-page button:focus-visible,
.vv-page select:focus-visible,
.vv-page input:focus-visible {
  outline: 2px solid var(--vv-brand);
  outline-offset: 2px;
}

/* ==========================================================================
   详情页
   ========================================================================== */
.vd-body {
  margin: 0;
  background: #f5f7fb;
  color: #43536b;
  font-family: inherit;
}

.vd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 16px;
}

.vd-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #16233a;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.vd-brand img { display: block; border-radius: 8px; }

.vd-topnav {
  display: flex;
  gap: 14px;
  font-size: 14px;
}

.vd-topnav a { color: #4b5f7a; text-decoration: none; }
.vd-topnav a:hover { color: #2563eb; }

.vd-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 16px 56px;
  color: #43536b;
}

.vd-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}

.vd-crumb-cur {
  font-size: 13px;
  color: #6b7a90;
}

.vd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.vd-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #0b1220;
  box-shadow: 0 16px 40px rgba(11, 18, 32, .18);
}

.vd-player img,
.vd-player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vd-under {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 10px 2px 0;
  font-size: 12.5px;
  color: #8593a8;
}

.vd-under span { position: relative; padding-right: 14px; }

.vd-under span + span::before {
  content: "·";
  position: absolute;
  left: -9px;
  color: #c3cddc;
}

.vd-card {
  padding: 18px;
  border: 1px solid var(--vv-line);
  border-radius: var(--vv-radius);
  background: #fff;
}

.vd-title {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.4;
  font-weight: 800;
  color: var(--vv-ink);
}

.vd-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.vd-badges .tag {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 1.8;
}

.vd-badges .vv-badge { font-size: 12.5px; }

.vd-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7faff;
  border: 1px solid #eef3fb;
  font-size: 13px;
}

.vd-meta div { display: flex; gap: 8px; }
.vd-meta dt { flex: 0 0 auto; color: var(--vv-muted); }
.vd-meta dd { margin: 0; color: var(--vv-ink); font-weight: 600; }

.vd-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.vd-actions .vv-btn { min-height: 42px; font-size: 14px; }

.vd-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: #93a2b8;
}

.vd-sec { margin: 26px 0 0; }

.vd-sec-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--vv-ink);
}

.vd-sec-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: var(--vv-brand);
}

.vd-text {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--vv-line);
  border-radius: var(--vv-radius);
  background: #fff;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--vv-body);
}

.vd-page .vd-text p { margin: 0 0 10px; }
.vd-page .vd-text p:last-child { margin-bottom: 0; }

.vd-rel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vd-rel {
  display: flex;
  gap: 10px;
  overflow: hidden;
  padding: 8px;
  border: 1px solid var(--vv-line);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.vd-rel:hover { border-color: #cfe0ff; box-shadow: 0 8px 18px rgba(23, 44, 85, .07); }

.vd-rel img {
  flex: 0 0 auto;
  width: 104px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #eef2f8;
}

.vd-rel span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  align-self: center;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--vv-ink);
}

.vd-toast {
  position: fixed;
  left: 50%;
  bottom: 42px;
  z-index: 3000;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(16, 24, 40, .88);
  color: #fff;
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.vd-page .disclaimer {
  margin: 26px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafd;
  border: 1px solid #edf1f7;
  font-size: 12px;
  line-height: 1.7;
  color: #93a2b8;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (min-width: 600px) {
  .vv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .vv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

@media (min-width: 1200px) {
  .vv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .vd-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

@media (max-width: 640px) {
  .vv-page, .vd-page { padding: 10px 12px 40px; }

  .vv-crumb { margin-bottom: 10px; gap: 6px; }
  .vv-navbtn { min-height: 34px; padding: 6px 14px; font-size: 13.5px; }

  .vv-search { margin-bottom: 10px; padding: 4px 4px 4px 12px; border-radius: 12px; }
  .vv-search-input { height: 38px; font-size: 14px; }
  .vv-search-btn { height: 38px; padding: 0 14px; }

  .vv-filters { padding: 10px 12px; border-radius: 16px; }
  .vv-frow { flex-wrap: wrap; align-items: center; gap: 8px; padding: 5px 0; }
  .vv-flabel { flex: 0 0 32px; padding-top: 0; font-size: 12.5px; }
  .vv-chips {
    flex: 1 1 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 1px 1px 3px;
    scrollbar-width: none;
  }
  .vv-chips::-webkit-scrollbar { display: none; }
  .vv-chip { padding: 5px 11px; font-size: 12.5px; }
  .vv-go { height: 36px; min-width: 88px; padding: 0 20px; margin-left: auto; }

  .vv-bar { align-items: center; margin: 10px 0; gap: 8px; }
  .vv-result { flex: 1 0 100%; font-size: 12.5px; }
  .vv-sorttabs { gap: 6px; }
  .vv-sortbtn { min-height: 34px; padding: 6px 12px; font-size: 13px; }
  .vv-reset { min-height: 34px; padding: 0 12px; font-size: 13px; }

  .vv-body { padding: 10px 12px 12px; gap: 6px; }
  .vv-card-title { font-size: 16px; }

  /* 手机端徽章再压一点，保证一行放得下 */
  .vv-badges { gap: 4px; }
  .vv-badges .tag,
  .vv-badges .vv-badge { font-size: 11.5px; padding: 1px 7px; }

  .vv-pager { justify-content: center; padding: 12px 10px; margin-top: 18px; }
  .vv-pager-info { width: 100%; text-align: center; }
  .vv-pg { min-width: 40px; height: 40px; font-size: 14px; }

  .vd-card { padding: 14px; }
  .vd-actions { grid-template-columns: 1fr 1fr; }
  .vd-rel-grid { grid-template-columns: 1fr; }
  .vd-meta { grid-template-columns: 1fr 1fr; }
  .vd-top { padding: 10px 14px; }
}

@media (max-width: 380px) {
  .vv-chip { font-size: 12px; padding: 3px 10px; }
  .vv-empty-actions .vv-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .vv-card, .vv-cover { transition: none; }
  .vv-skel { animation: none; }
}

/* ---------- 视频详情：面包屑与灯箱（复用资料页组件） ---------- */
.vd-metabar { margin: 0 0 14px; }

.vd-player .js-lightbox {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.vd-player .detail-preview {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.vd-page .action-bar { margin: 22px 0 0; }

@media (max-width: 640px) {
  .vd-metabar { gap: 6px; }
  .vd-page .action-bar { margin-top: 16px; }
}
