/* video 前台：全屏黑底、左播右表、拖拽分栏 */
html { height: 100%; }
body.page-video-standalone {
  margin: 0;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #000;
  color: #eee;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft Yahei", sans-serif;
  font-size: 14px;
  overflow: hidden;
  box-sizing: border-box;
}
body.page-video-standalone * { box-sizing: border-box; }

:root {
  --v-bg: #000;
  --v-text: #eee;
  --v-muted: #94a3b8;
  --v-accent: #5eb0ff;
  --v-player-fixed: 700px;
  --v-player-max-pct: 80;
}

.main.page-video-frame {
  margin: 0;
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--v-bg);
  color: var(--v-text);
}

.video-site-bleed {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.video-shell {
  flex: 1 1 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.page-video-site .video-layout {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  gap: 0;
  align-items: stretch;
}

@media (min-width: 900px) {
  body.page-video-site .video-shell { overflow: hidden; }
  body.page-video-site .video-layout {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow: hidden;
    align-items: stretch;
    flex: 1 1 0;
    min-height: 0;
    height: 100%;
  }
  body.page-video-site .video-col-main {
    flex: 0 0 var(--v-player-fixed);
    width: var(--v-player-fixed);
    max-width: 100%;
    min-width: 280px;
    min-height: 0;
    height: auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--v-bg);
  }
}

body.page-video-site .video-col-main {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.video-splitter {
  width: 8px;
  flex-shrink: 0;
  cursor: col-resize;
  background: #0d0d0d;
  border-left: 1px solid #222;
  border-right: 1px solid #222;
  touch-action: none;
}
.video-splitter:hover { background: #141414; }

body.page-video-site .video-player-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: calc(var(--v-player-max-pct, 80) * 1vh);
  max-height: calc(var(--v-player-max-pct, 80) * 1dvh);
  aspect-ratio: 16 / 9;
  min-height: 0;
  flex-shrink: 0;
  background: #000;
  /* 勿 hidden：inactive 时控制条略下移会被裁掉，看起来像「底栏没了」 */
  overflow: visible;
}
body.page-video-site .video-player-wrap .video-js {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  padding-top: 0 !important;
  overflow: visible !important;
}
body.page-video-site .video-player-wrap .video-js .vjs-tech {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  z-index: 0 !important;
}
/* 起播后封面必须消失，否则会盖住视频 */
body.page-video-site .video-player-wrap .video-js.vjs-has-started .vjs-poster,
body.page-video-site .video-player-wrap .video-js.vjs-playing .vjs-poster {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
body.page-video-site .video-player-wrap .video-js .vjs-poster {
  pointer-events: none !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
body.page-video-site .video-player-wrap .video-js .vjs-poster img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}
body.page-video-site .video-player-wrap .video-js .vjs-loading-spinner .vjs-control-text {
  /* 避免读出/显示 “Video Player is loading.” 类提示 */
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body.page-video-site .video-player-wrap .video-js .vjs-control-bar {
  z-index: 12;
}
body.page-video-site .video-player-wrap .video-js .vjs-big-play-button {
  z-index: 10;
}

body.page-video-site .video-now-panel {
  flex: 0 0 auto;
  padding: 12px 14px;
  overflow: visible;
}
body.page-video-site .video-now-head {
  display: block;
}
body.page-video-site .video-now-text {
  min-width: 0;
}
body.page-video-site .video-now-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--v-text);
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
}
body.page-video-site .video-now-random-btn,
body.page-video-embed-panel .video-now-random-btn {
  appearance: none;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #e2e8f0;
  background: linear-gradient(175deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.15s;
}
body.page-video-site .video-now-random-btn:hover,
body.page-video-embed-panel .video-now-random-btn:hover {
  filter: brightness(1.08);
}
body.page-video-site .video-pending-queue {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0 10px;
  overflow: hidden;
  padding: 8px 12px 10px 8px;
  border-top: 1px solid #222;
  background: #070707;
  box-sizing: border-box;
}
body.page-video-site .video-pending-queue-head {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.12em;
  margin-bottom: 0;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  width: 1.5em;
  max-width: 2em;
  line-height: 1.35;
  border-right: 1px solid #2a2a2a;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  text-orientation: upright;
}
body.page-video-site .video-pending-queue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  min-width: 0;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
body.page-video-site .video-pending-queue-empty {
  font-size: 12px;
  color: #555;
  padding: 8px 4px;
}
body.page-video-site .video-pending-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  border-bottom: 1px solid #1a1a1a;
  font-size: 13px;
}
body.page-video-site .video-pending-item:last-child {
  border-bottom: none;
}
body.page-video-site .video-pending-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--v-text);
  text-decoration: none;
}
body.page-video-site .video-pending-link:hover {
  color: var(--v-accent);
}
body.page-video-site .video-pending-thumb {
  width: 36px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #111;
  border: 1px solid #222;
}
body.page-video-site .video-pending-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 50px;
  border-radius: 4px;
  flex-shrink: 0;
  background: #1a1a1a;
  border: 1px solid #222;
  color: #444;
  font-size: 18px;
}
body.page-video-site .video-pending-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-video-site .video-pending-remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  color: #888;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
body.page-video-site .video-pending-remove:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}

body.page-video-site .video-ep-btn {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--v-text);
  background: rgba(94, 176, 255, 0.12);
  text-decoration: none;
  border: none;
}
body.page-video-site .video-ep-btn:hover { color: var(--v-accent); }

body.page-video-site .video-iframe-wrap {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 12px 10px;
}

body.page-video-site .video-panel-static-root {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

body.page-video-site .vf-wrap-parent {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 0;
  overflow: hidden;
}

body.page-video-site .video-list-chrome,
body.page-video-embed-panel .video-list-chrome {
  flex-shrink: 0;
  background: #151a22;
  border-bottom: 1px solid rgba(94, 176, 255, 0.16);
  border-radius: 0 0 8px 8px;
  padding: 10px 12px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
}

body.page-video-site .video-list-main {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.page-video-site .video-list-static {
  flex: 1 1 0;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

body.page-video-embed-panel {
  margin: 0;
  min-height: 100vh;
  background: #0a0a0a;
} 
body.page-video-embed-panel .vf-wrap-parent {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}
body.page-video-embed-panel .video-list-main {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.page-video-embed-panel .video-list-static {
  flex: 1 1 0;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

body.page-video-site .video-panel-frame {
  display: none;
  border: 0;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  background: #0a0a0a;
}
body.page-video-site .video-iframe-wrap.is-panel-framed .video-panel-static-root {
  display: none;
}
body.page-video-site .video-iframe-wrap.is-panel-framed .video-panel-frame {
  display: block;
}

.vf-toprow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;  
}
.vf-toprow-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 18px;
  flex: 1 1 auto;
  min-width: 0;
}
.vf-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--v-text);
  font-weight: 700;
  font-size: 16px;
}
.vf-topnav { display: flex; gap: 0; flex-wrap: wrap; align-items: flex-end; }
/* 与 .vf-tabs 分类标签区分：顶栏用「文字 + 底边」主导航样式（仅 chrome 内 nav） */
.vf-topnav-btn {
  padding: 6px 12px;
  font-size: 12px;
  color: var(--v-muted);
  text-decoration: none;
  background: #141414;
}
.video-list-chrome .vf-topnav .vf-topnav-btn {
  padding: 6px 4px 8px;
  margin: 0 14px 0 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #94a3b8;
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.video-list-chrome .vf-topnav .vf-topnav-btn:hover {
  color: #e2e8f0;
}
.video-list-chrome .vf-topnav .vf-topnav-btn.is-on {
  color: var(--v-accent);
  background: transparent;
  border-bottom-color: var(--v-accent);
  font-weight: 600;
}
.vf-topnav-btn.is-on {
  color: var(--v-accent);
  background: rgba(94, 176, 255, 0.15);
  font-weight: 600;
}
.vf-topnav-btn.vf-backlist {
  border: 1px solid #2a2a2a;
}
.vf-topnav-btn.vf-backlist .layui-icon {
  font-size: 12px;
  margin-right: 2px;
  vertical-align: -1px;
}
.vf-head .vf-search {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.vf-search-field {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 120px;
  max-width: 100%;
}
.vf-search-field input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  height: 34px;
  padding: 0 10px;
  padding-right: 36px;
  border: 1px solid #333;
  background: #0a0a0a;
  color: var(--v-text);
  min-width: 0;
}
.vf-search-field input[type="search"]::-webkit-search-cancel-button {
  margin-right: 4px;
}
.vf-search-submit {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--v-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.vf-search-submit:hover {
  color: var(--v-accent);
  background: rgba(94, 176, 255, 0.12);
}
.vf-search-submit .layui-icon {
  font-size: 16px;
  line-height: 1;
}
.vf-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.vf-tabs:has(+ .vf-backlist-row),
.vf-tabs:has(+ .vf-search-hint) {
  margin-bottom: 8px;
}
.vf-search-hint {
  margin: 0 0 14px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #e2e8f0;
  background: rgba(30, 58, 95, 0.55);
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.vf-search-hint__kw {
  color: #7dd3fc;
  font-weight: 600;
  word-break: break-word;
}
.vf-backlist-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0 0 14px;
}
.vf-backlist-row .vf-backlist-random {
  flex-shrink: 0;
  margin-left: auto;
}
.vf-tabs a,
.vf-tabs .vf-tab-btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--v-muted);
  text-decoration: none;
  background: #111;
  border: none;
  cursor: pointer;
}
.vf-tabs a.is-on,
.vf-tabs .vf-tab-btn.is-on {
  color: var(--v-accent);
  background: rgba(94, 176, 255, 0.14);
}

.vf-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.vf-list > .vf-card {
  flex: 0 1 148px;
  min-width: min(100%, 148px);
}
@media (min-width: 420px) {
  .vf-list > .vf-card { flex: 0 1 164px; min-width: min(100%, 164px); }
}
@media (min-width: 900px) {
  .vf-list > .vf-card { flex: 0 1 180px; min-width: min(100%, 180px); }
}

.vf-card {
  display: flex;
  flex-direction: column;
  /* 比列表底 #0a0a0a 明显提亮，便于区分整张卡片区域 */
  background: #1c1f26;
  border: 1px solid #333;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.vf-card:hover {
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  box-shadow: 0 26px 40px -24px rgba(0, 36, 100, 0.35);
  -webkit-box-shadow: 0 26px 40px -24px rgba(0, 36, 100, 0.35);
  border-color: #123;
}
.vf-card .vf-thumb-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}
.vf-card .vf-thumb-badge {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 1;
  max-width: calc(100% - 12px);
  padding: 2px 6px;
  font-size: 11px;
  line-height: 1.25;
  color: #f1f5f9;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
} 
.vf-card .thumb {
  width: 100%;
  /* 在 4/5 基础上再压低高度：正方形封面 */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #111;
  border-radius: 6px 6px 0 0;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.35s ease;
}
/* 悬停：轻微「拉远」约 3%，比 contain 温和，略多露出一点画面边缘 */
.vf-card:hover .thumb:not(.thumb--empty) {
  transform: scale(0.97);
}
.vf-card .thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 11px;
}
.vf-card .meta { padding: 8px 10px; }
.vf-card .t {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.vf-card .t a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  color: var(--v-text);
  text-decoration: none;
}
.vf-card .t a:hover { color: var(--v-accent); }

.vf-empty {
  width: 100%;
  text-align: center;
  padding: 24px;
  color: var(--v-muted);
}

.vf-pager { margin-top: 16px; }
.vf-pager .layui-laypage a,
.vf-pager .layui-laypage span:not(.layui-laypage-count) {
  background: #111 !important;
  border: 1px solid #333 !important;
  color: #cbd5e1 !important;
}
.vf-pager .layui-laypage .layui-laypage-curr {
  background: rgba(94, 176, 255, 0.2) !important;
  border-color: #444 !important;
}

.video-detail-wrap { margin-bottom: 16px; }

.video-detail-main--play {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px 16px;
}
.video-detail-main--play > .video-detail-title--hero {
  order: 0;
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 0 0 6px;
  text-align: center;
  color: #fff;
}
.video-detail-cover-block {
  order: 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.video-detail-poster-lg {
  width: 100%; 
  height: auto; 
  max-width: 100%;
  display: block;
  background: #111;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
.video-detail-poster-lg--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #555;
  font-size: 13px;
  aspect-ratio: 16 / 9;
  max-width: 520px;
  min-height: 160px;
}
.video-detail-poster-lg--empty .layui-icon {
  font-size: 40px;
  color: #333;
}
.video-detail-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
/* 详情区两按钮统一高度：避免 show 页 <a> 与 <button> 视觉不一致；同一行均分 */
.video-detail-actions .video-detail-play-btn,
.video-detail-actions .video-detail-queue-btn {
  box-sizing: border-box;
  min-height: 46px;
  padding: 12px 18px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 0;
}
.video-detail-play-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(175deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: filter 0.15s, opacity 0.15s;
}
.video-detail-queue-btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  background: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.video-detail-queue-btn:hover:not(:disabled) {
  background: #252525;
  border-color: #5eb0ff;
}
.video-detail-queue-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.video-detail-play-btn:hover:not(:disabled) {
  filter: brightness(1.08);
}
.video-detail-play-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #333;
}
.video-detail-play-ico {
  font-size: 12px;
  opacity: 0.95;
}
.video-detail-no-src {
  margin: 0;
  font-size: 12px;
  color: #888;
  max-width: 520px;
  text-align: center;
}
.video-detail-main--play .video-detail-info {
  order: 2;
  flex: 1;
  min-width: 0;
}

.video-detail-title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--v-text, #eee);
}
.video-detail-desc {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.65;
  color: #cbd5e1;
}
.video-detail-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--v-muted);
}
.video-detail-meta-list li { margin-bottom: 6px; }

@media (min-width: 900px) {
  .video-detail-main--play > .video-detail-title--hero {
    font-size: 1.5rem;
  }
  .video-detail-cover-block {
    max-width: 560px;
  }
  .video-detail-poster-lg {
    max-width: 560px;
  }
  .video-detail-actions {
    max-width: 560px;
  }
}

.video-guess-title {
  margin: 8px 0 12px;
  font-size: 15px;
  font-weight: 600;
}

.video-js .video-watermark {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  line-height: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.video-js .video-watermark--tl { left: 10px; top: 10px; }
.video-js .video-watermark--tr { right: 10px; top: 10px; }
.video-js .video-watermark--bl { left: 10px; bottom: 52px; }
.video-js .video-watermark--br { right: 10px; bottom: 52px; }
.video-js .video-watermark img {
  width: 100%;
  height: auto;
  opacity: var(--v-wm-op, 0.85);
  vertical-align: top;
}
.video-js .video-pause-overlay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.2);
}
.video-js .video-pause-overlay.is-visible { display: flex; }
.video-js .video-pause-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 899px) {
  /* 整页纵向滚动：顶栏与列表一起动，不再只占列表区滚动 */
  html {
    height: auto;
    min-height: 100%;
  }
  body.page-video-standalone {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .main.page-video-frame {
    flex: 0 0 auto;
    min-height: 0;
    height: auto;
  }
  .video-site-bleed,
  .video-shell {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  body.page-video-site .video-layout {
    flex-direction: column;
    flex: 0 0 auto;
    overflow: visible;
    min-height: 100vh;
    min-height: 100dvh;
  }
  /* 高度随内容（16:9 播放器 + 当前条 + 待播），不固定 450px 占屏 */
  body.page-video-site .video-col-main {
    flex: 0 0 auto;
    height: auto;
    max-height: none;
    min-height: 0;
    width: 100% !important;
    overflow: visible;
    /* fixed 播放器不占文档流，用与播放器相同的高度公式占位（与 .video-player-wrap 的 16:9 + max-height 一致） */
    padding-top: calc(env(safe-area-inset-top, 0px) + min(56.25vw, calc(var(--v-player-max-pct, 80) * 1dvh)));
  }
  /* 手机端：播放器固定在视口顶部，页面滚动时播放器不移动 */
  body.page-video-site .video-player-wrap {
    position: fixed;
    top: env(safe-area-inset-top, 0px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    z-index: 40;
    background: #000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  }
  body.page-video-site .video-splitter { display: none; }
  body.page-video-site .video-iframe-wrap {
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
  }
  body.page-video-site .video-panel-static-root {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  body.page-video-site .vf-wrap-parent {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  body.page-video-site .video-list-main {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  body.page-video-site .video-list-static {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  body.page-video-site .video-now-panel {
    display: none;
  }
  /* 待播区与桌面相同为左竖排标题+右列表；手机端限制整体高度 */
  body.page-video-site .video-pending-queue,
  body.page-video-site #videoPendingQueue {
    flex: 0 1 auto;
    max-height: 110px;
    min-height: 0;
    padding: 6px 10px 6px 8px;
  }
  /* 手机端：无条目时不占左栏（桌面端仍显示空状态） */
  body.page-video-site .video-pending-queue.video-pending-queue--empty {
    display: none !important;
  }
  /* 嵌入页（iframe 内）：顶栏与列表同屏滚动，增高可视内容区 */
  body.page-video-embed-panel {
    min-height: 0;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.page-video-embed-panel .vf-wrap-parent {
    min-height: 0;
    height: auto;
    overflow: visible;
  }
  body.page-video-embed-panel .video-list-main {
    flex: 0 0 auto;
    overflow: visible;
  }
  body.page-video-embed-panel .video-list-static {
    flex: 0 0 auto;
    overflow: visible;
  }
  /* 右栏切到 iframe 时给子文档留足高度，避免父级无剩余 flex 高度 */
  body.page-video-site .video-iframe-wrap.is-panel-framed .video-panel-frame {
    flex: 0 0 auto;
    min-height: 65vh;
  }
  /* 视频列表：两列均分宽度 + 列间距，整行相对容器居中铺满（不再两列挤在左侧） */
  body.page-video-site .vf-list,
  body.page-video-embed-panel .vf-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 10px;
    justify-content: center;
    align-items: stretch;
  }
  body.page-video-site .vf-list > .vf-card,
  body.page-video-embed-panel .vf-list > .vf-card {
    flex: none;
    min-width: 0;
    width: 100%;
    max-width: none;
  }
}

/* 平板（仍走上方小屏整页布局）：列表三列，手机端保持两列 */
@media (min-width: 588px) and (max-width: 899px) {
  body.page-video-site .vf-list,
  body.page-video-embed-panel .vf-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ========== 滚动条：暗色、窄、圆角（覆盖视频站/嵌入页内所有可滚动区域） ========== */
:root {
  --v-scrollbar-w: 6px;
  --v-scrollbar-track: #18181b;
  --v-scrollbar-thumb: #3f3f46;
  --v-scrollbar-thumb-hover: #52525b;
}

/* Chromium / Safari / Edge（含各层 overflow 子节点） */
body.page-video-site *::-webkit-scrollbar,
body.page-video-embed-panel *::-webkit-scrollbar {
  width: var(--v-scrollbar-w);
  height: var(--v-scrollbar-w);
}
body.page-video-site *::-webkit-scrollbar-track,
body.page-video-embed-panel *::-webkit-scrollbar-track {
  background: var(--v-scrollbar-track);
  border-radius: 8px;
}
body.page-video-site *::-webkit-scrollbar-thumb,
body.page-video-embed-panel *::-webkit-scrollbar-thumb {
  background: var(--v-scrollbar-thumb);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.35);
}
body.page-video-site *::-webkit-scrollbar-thumb:hover,
body.page-video-embed-panel *::-webkit-scrollbar-thumb:hover {
  background: var(--v-scrollbar-thumb-hover);
}
body.page-video-site *::-webkit-scrollbar-corner,
body.page-video-embed-panel *::-webkit-scrollbar-corner {
  background: transparent;
}

/* 视口滚动条（小屏整页滚动等） */
html:has(body.page-video-site)::-webkit-scrollbar,
html:has(body.page-video-embed-panel)::-webkit-scrollbar {
  width: var(--v-scrollbar-w);
  height: var(--v-scrollbar-w);
}
html:has(body.page-video-site)::-webkit-scrollbar-track,
html:has(body.page-video-embed-panel)::-webkit-scrollbar-track {
  background: var(--v-scrollbar-track);
  border-radius: 8px;
}
html:has(body.page-video-site)::-webkit-scrollbar-thumb,
html:has(body.page-video-embed-panel)::-webkit-scrollbar-thumb {
  background: var(--v-scrollbar-thumb);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.35);
}
html:has(body.page-video-site)::-webkit-scrollbar-thumb:hover,
html:has(body.page-video-embed-panel)::-webkit-scrollbar-thumb:hover {
  background: var(--v-scrollbar-thumb-hover);
}

/* Firefox */
body.page-video-site .video-list-static,
body.page-video-site .video-pending-queue-list,
body.page-video-site .video-now-panel,
body.page-video-site .video-iframe-wrap,
body.page-video-site .video-list-main,
body.page-video-site .vf-wrap-parent,
body.page-video-site .video-col-main,
body.page-video-embed-panel,
body.page-video-embed-panel .video-list-main,
body.page-video-embed-panel .video-list-static {
  scrollbar-width: thin;
  scrollbar-color: var(--v-scrollbar-thumb) var(--v-scrollbar-track);
}

html:has(body.page-video-site),
html:has(body.page-video-embed-panel) {
  scrollbar-width: thin;
  scrollbar-color: var(--v-scrollbar-thumb) var(--v-scrollbar-track);
}

/* 右侧列表区底部：在 .video-list-static 内，随列表滚动，滑到最下方才可见 */
.video-site-footer {
  margin-top: 20px;
  padding: 14px 10px 22px;
  border-top: 1px solid #1f1f1f;
  text-align: center;
  font-size: 12px;
  color: var(--v-muted);
}
.video-site-footer__line {
  margin: 0;
  line-height: 1.5;
}
.video-site-footer__sep {
  margin: 0 8px;
  opacity: 0.55;
}
.video-site-footer__copy {
  opacity: 0.9;
}
.video-site-footer__link {
  color: inherit;
  opacity: 0.9;
  text-decoration: none;
}
.video-site-footer__link:hover {
  text-decoration: underline;
}

.video-guestbook-modal-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--v-muted);
}
.video-guestbook-modal-form .layui-input,
.video-guestbook-modal-form .layui-textarea {
  background: #111;
  border-color: #2a2a2a;
  color: var(--v-text);
}

/* layui 商务合作弹层：黑色主题（与视频站一致） */
.layui-layer-video-guestbook {
  border: 1px solid #2a2a2a !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55) !important;
  /* 盖住 layui 默认白底，避免标题栏圆角处露白 */
  background: #0a0a0a !important;
  border-radius: 2px;
  overflow: hidden;
}
/* 标题栏纯黑（含 iframe 弹层 type:2） */
.layui-layer-video-guestbook .layui-layer-title,
.layui-layer-video-guestbook.layui-layer-iframe .layui-layer-title {
  background: #000000 !important;
  color: #eee !important;
  border-bottom: 1px solid #1f1f1f !important;
  border-radius: 0 !important;
}
.layui-layer-video-guestbook .layui-layer-setwin {
  top: 12px !important;
}
.layui-layer-video-guestbook .layui-layer-setwin .layui-layer-close1 {
  filter: invert(0.88);
  opacity: 0.9;
}
.layui-layer-video-guestbook .layui-layer-setwin a {
  color: #ccc !important;
}
.layui-layer-video-guestbook .layui-layer-content {
  padding: 16px 16px 8px !important;
  min-height: 100px;
  overflow: visible !important;
  background: #0a0a0a !important;
  color: #eee !important;
}
/* iframe 内嵌客服：内容区贴边，并给 iframe 明确高度（layui 在嵌套 iframe 里常算不出高 → 高度 0） */
.layui-layer-video-guestbook.layui-layer-iframe .layui-layer-content {
  padding: 0 !important;
  height: calc(100% - 43px) !important;
  min-height: 360px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.layui-layer-video-guestbook.layui-layer-iframe .layui-layer-content iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 360px !important;
  border: 0 !important;
  display: block !important;
  vertical-align: top;
}
.layui-layer-video-guestbook .video-guestbook-modal-label {
  color: #94a3b8 !important;
}
.layui-layer-video-guestbook .layui-input,
.layui-layer-video-guestbook .layui-textarea {
  background: #111 !important;
  border: 1px solid #2a2a2a !important;
  color: #eee !important;
}
.layui-layer-video-guestbook .layui-btn-normal {
  background-color: #1e9fff !important;
  border-color: #1e9fff !important;
}

/* 商务合作：提交与邮箱同一行，邮箱在右侧 */
.video-guestbook-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}
.video-guestbook-modal-email {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
  text-align: right;
  flex: 1 1 auto;
  min-width: 0;
}
.video-guestbook-modal-email a {
  color: inherit;
  text-decoration: none;
}
.video-guestbook-modal-email a:hover {
  color: inherit;
  text-decoration: none;
}
.layui-layer-video-guestbook .video-guestbook-modal-email {
  color: #94a3b8 !important;
}
.layui-layer-video-guestbook .video-guestbook-modal-email a {
  color: #94a3b8 !important;
}

/* /guestbook/embed iframe 内嵌表单 */
.page-guestbook-embed .guestbook-embed-wrap {
  padding: 8px 12px 16px;
  box-sizing: border-box;
}

/* 独立页 /guestbook（商务合作） */
.page-guestbook .guestbook-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}
.page-guestbook .guestbook-head {
  margin-bottom: 20px;
}
.page-guestbook .guestbook-back {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--v-muted);
  text-decoration: none;
}
.page-guestbook .guestbook-back:hover {
  color: var(--v-accent);
}
.page-guestbook .guestbook-title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--v-text);
}
.page-guestbook .guestbook-sub {
  margin: 0;
  font-size: 13px;
  color: var(--v-muted);
}
.page-guestbook .guestbook-flash {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
}
.page-guestbook .guestbook-flash--ok {
  background: rgba(94, 176, 255, 0.12);
  border: 1px solid rgba(94, 176, 255, 0.35);
  color: #b8d9ff;
}
.page-guestbook .guestbook-flash--err {
  background: rgba(220, 80, 80, 0.12);
  border: 1px solid rgba(220, 80, 80, 0.35);
  color: #f0b0b0;
}
.page-guestbook .guestbook-form-card {
  margin-bottom: 28px;
  padding: 16px 14px;
  background: #0a0a0a;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
}
.page-guestbook .guestbook-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--v-muted);
}
.page-guestbook .guestbook-input,
.page-guestbook .guestbook-textarea {
  background: #111;
  border-color: #2a2a2a;
  color: var(--v-text);
}
.page-guestbook .guestbook-submit {
  margin-top: 4px;
}
.page-guestbook .guestbook-list-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--v-text);
}
.page-guestbook .guestbook-empty {
  margin: 0;
  font-size: 13px;
  color: var(--v-muted);
}
.page-guestbook .guestbook-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-guestbook .guestbook-item {
  padding: 14px 0;
  border-bottom: 1px solid #1a1a1a;
}
.page-guestbook .guestbook-item:last-child {
  border-bottom: none;
}
.page-guestbook .guestbook-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 8px;
  font-size: 12px;
}
.page-guestbook .guestbook-item__name {
  font-weight: 600;
  color: var(--v-accent);
}
.page-guestbook .guestbook-item__time {
  color: var(--v-muted);
}
.page-guestbook .guestbook-item__content {
  font-size: 14px;
  line-height: 1.55;
  color: #e2e8f0;
  word-break: break-word;
}
.page-guestbook .guestbook-pager {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.page-guestbook .guestbook-pager__info {
  font-size: 13px;
  color: var(--v-muted);
}
