/* 进度条基本样式 - 不强制显示，允许被JS控制隐藏 */
.vc .dplayer-controller {
  position: absolute !important;
  left: 0;
  right: 0;
  height: 15px !important;
  z-index: 1000 !important;
  /* 确保在手机浏览器中显示 */
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.vc .dplayer-controller-mask {
  display: none !important;
}

/* 选集弹窗打开时，强制隐藏进度条 */
.vc.vc-c.vc-hpb .dplayer-controller,
.vc.vc-c.vc-hpb .dplayer-bar-wrap {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.vc .dplayer * {
  box-sizing: border-box !important;
}

.vc .dplayer-controller .dplayer-bar-wrap {
  z-index: 1001 !important;
  pointer-events: auto !important;
  padding: 0 0 !important;
  cursor: pointer;
  position: absolute;
  bottom: 0px !important;
  width: calc(100% - 40px);
  z-index: 1000;
  margin-bottom: 1px;
  /* 确保在手机浏览器中显示 */
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.vc .dplayer-notice-list {
  display: none !important;
}

/* 进度条样式 */
.vc .dplayer-bar-wrap .dplayer-bar {
  background: rgba(255, 255, 255, 0.3) !important;
  border-radius: 2px !important;
}

.vc .dplayer-bar-wrap .dplayer-bar .dplayer-played {
  background: rgba(255, 255, 255, 0.8) !important;
  border-radius: 2px !important;
  transition: none !important;
}

/* 进度点白色圆点样式 - 与FullscreenPlayer同步，但保持跟随进度 */
.vc .dplayer-bar-wrap .dplayer-bar .dplayer-played .dplayer-thumb {
  background: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 50% !important;
  width: 5px !important;
  height: 5px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.1s ease !important;
  position: absolute !important;
  top: 50% !important;
  left: 100% !important;
  margin-left: -2.5px !important;
  margin-top: -2.5px !important;
  transform: translateY(-0%) !important;
  z-index: 120 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 拖动时进度点改为白色竖线样式 - 与FullscreenPlayer同步，移除过渡更跟手 */
.vc .dplayer-bar-wrap.dragging .dplayer-bar .dplayer-played .dplayer-thumb {
  background: #ffffff !important;
  border: none !important;
  border-radius: 2px !important;
  width: 4px !important;
  height: 15px !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-0%) !important;
  top: 50% !important;
  margin-left: -2px !important;
  margin-top: -7.5px !important;
  transition: none !important;
}

/* 拖动时进度条变宽 - 移除过渡，即时响应 */
.vc .dplayer-bar-wrap.dragging .dplayer-bar,
.vc .dplayer-bar-wrap.dragging .dplayer-loaded,
.vc .dplayer-bar-wrap.dragging .dplayer-played {
  height: 10px !important;
  transition: none !important;
}

/* 自定义时间显示 */
.vc .custom-time-display {
  position: absolute;
  bottom: 10vh;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity 0.2s ease;
}

/* 进度条拖动时隐藏其他信息 */
.vc.vc-c.progress-dragging .vc-i,
.vc.vc-c.progress-dragging .vc-act,
.vc.vc-c.progress-dragging .vc-hes,
.vc.vc-c.progress-dragging .vc-es,
.vc.vc-c.progress-dragging .top-actions {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 只对可见元素应用过渡动画，避免对隐藏元素进行不必要的渲染计算 */
.vc.vc-c.progress-dragging .vc-i:not([style*="display: none"]),
.vc.vc-c.progress-dragging .vc-act:not([style*="display: none"]),
.vc.vc-c.progress-dragging .vc-hes:not([style*="display: none"]),
.vc.vc-c.progress-dragging .vc-es:not([style*="display: none"]),
.vc.vc-c.progress-dragging .top-actions:not([style*="display: none"]) {
  transition: opacity 0.2s ease !important;
}

.vc.vc-c.progress-dragging {
  background: #000 !important;
}

.vc.vc-c.progress-dragging .dplayer-controller,
.vc.vc-c.progress-dragging .custom-time-display {
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 10000 !important;
}

.vc .dplayer-loaded {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0) !important;
  height: 3px;
  transition: all 0.5s ease;
  will-change: width;
}

/* 基础布局 */
.vc.vc-c {
  position: relative;
  width: 100%;
  height: 94vh;
  height: calc(var(--vh, 1vh) * 94); /* 使用动态视口高度 */
  background: #000;
  overflow: hidden;
  border-radius: 0 0 15px 15px;
  z-index: 1;
  contain: layout style paint;
  isolation: isolate;
}

/* 当弹窗显示时，确保视频容器不受影响 */
.vc.vc-c {
  position: relative !important;
  transform: none !important;
  top: 0 !important;
  left: 0 !important;
  transition: transform 0.3s ease, top 0.3s ease;
}

/* 选集弹窗或播放速度弹窗激活时，挤压视频播放器到顶部 */
.vc .vc-p.episode-modal-active {
  transition: transform 0.3s ease, height 0.3s ease !important;
  z-index: 1001 !important;
  height: 35vh !important;
  /* 确保不会影响页面布局 */
  position: relative !important;
  /* 保持原有的margin和padding */
  margin: 0 !important;
  padding: 0 !important;
  /* 确保不会影响父容器的高度 */
  max-height: 35vh !important;
  min-height: 35vh !important;
}

/* 弹窗激活时，隐藏所有UI元素（进度条根据情况单独控制） */
.vc.vc-c.vc-emu .vc-i,
.vc.vc-c.vc-emu .vc-act,
.vc.vc-c.vc-emu .vc-spd,
.vc.vc-c.vc-emu .vc-fb,
.vc.vc-c.vc-emu .vc-exit,
.vc.vc-c.vc-emu .vc-hes,
.vc.vc-c.vc-emu .vc-es,
.vc.vc-c.vc-emu .toggle-info-btn,
.vc.vc-c.vc-emu .custom-time-display {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* 确保视频播放器高度能正确恢复 */
.vc .vc-p:not(.episode-modal-active) {
  height: 94vh !important;
  height: calc(var(--vh, 1vh) * 94) !important; /* 使用动态视口高度 */
  transition: height 0.3s ease !important;
}

/* 强制隐藏进度条 - 使用更高优先级覆盖之前的强制显示规则 */
.vc.vc-c.vc-emu .dplayer-container .dplayer-controller,
.vc.vc-c.vc-emu .dplayer-container.dplayer-hide-controller .dplayer-controller,
.vc.vc-c.vc-emu .dplayer-controller {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.vc.vc-c.vc-emu .dplayer-container .dplayer-bar-wrap,
.vc.vc-c.vc-emu .dplayer-container.dplayer-hide-controller .dplayer-bar-wrap,
.vc.vc-c.vc-emu .dplayer-bar-wrap {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.vc .vc-p {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  background: #000;
  z-index: 2;
  border-radius: 0 0 15px 15px;
  overflow: hidden;
}

/* 视频封面 */
.vc .video-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vc .video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
  border-radius: 0 0 15px 15px;
}

.vc .video-cover:hover img {
  transform: scale(1.05);
}

.vc .default-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: #666;
  position: relative;
}

.vc .default-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
  opacity: 0.3;
}

.vc .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.vc .play-icon:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

/* DPlayer 容器 - 防止手机浏览器篡改 */
.vc .dplayer-container {
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 3;
  position: relative;
  overflow: hidden;
  /* 防止浏览器修改容器样式 */
  contain: layout style paint !important;
  isolation: isolate !important;
  /* 强制样式，防止浏览器覆盖 */
  transform: none !important;
  will-change: auto !important;
}

/* 防止浏览器修改视频元素样式 - 使用最高优先级 */
.vc .dplayer-container video,
.vc .dplayer-container .dplayer-video-wrap video,
.vc .dplayer-container .dplayer-video video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
  /* 防止浏览器自动添加样式 */
  -webkit-transform: none !important;
  transform: none !important;
  /* 防止iOS自动全屏 */
  -webkit-playsinline: 1 !important;
  playsinline: 1 !important;
  /* 防止Android浏览器修改 */
  x5-playsinline: true !important;
  x5-video-player-type: h5 !important;
  x5-video-player-fullscreen: false !important;
  /* 禁用原生控件 - 强制移除 */
  controls: false !important;
}

/* 使用属性选择器进一步强制 */
.vc .dplayer-container video[controls],
.vc .dplayer-container .dplayer-video-wrap video[controls],
.vc .dplayer-container .dplayer-video video[controls] {
  controls: false !important;
}

/* 防止DPlayer添加controls属性 */
.vc .dplayer-container video::before {
  content: '';
  display: none !important;
}

.vc .dplayer-container.dplayer-fulled {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999 !important;
  background: #000 !important;
  contain: layout style paint;
}

.vc .dplayer-container.dplayer-fulled video {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: contain !important;
}

/* 隐藏 DPlayer 全屏按钮 */
.vc .dplayer-full-in-icon,
.vc .dplayer-full-out-icon,
.vc .dplayer-full-in,
.vc .dplayer-full-out,
.vc .dplayer-full-icon,
.vc [data-balloon="页面全屏"],
.vc [data-balloon="退出全屏"],
.vc [data-balloon="全屏"] {
  display: none !important;
}

/* 播放速度选择器 */
.vc .vc-spd {
  position: absolute;
  top: 18px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: #fff;
  font-size: 12px;
  transition: all 0.3s ease;
  z-index: 3;
  cursor: pointer;
  padding: 3px 6px;
}


.vc .speed-button {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.vc .speed-text {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.vc .arrow-up {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

/* 播放速度弹窗（横屏/全屏专用） */
.vc .vc-land .vc-smo {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.3s ease;
  padding-bottom: 6vh;
}

.vc .vc-land .vc-sm {
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 20px 20px 0 0;
  backdrop-filter: blur(10px);
  animation: slideUp 0.3s ease;
  overflow: hidden;
}

.vc .speed-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px 20px;
}

.vc .speed-modal-title {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.vc .speed-modal-content {
  display: flex;
  flex-direction: column;
}

.vc .speed-option {
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-align: left;
  background: transparent;
  border: none;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vc .speed-option:hover {
  opacity: 0.8;
}

.vc .speed-option.active {
  color: #ff9500;
}

.vc .speed-option .check-icon {
  font-size: 18px;
  color: #ff9500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vc .speed-option.active .check-icon {
  opacity: 1;
}

/* 全屏按钮 */
.vc .vc-fb {
  position: absolute;
  font-size: 12px !important;
  top: 65vh;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 25px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: auto;
}

.vc .vc-fb:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.vc .vc-exit {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  width: auto;
  height: auto;
  cursor: pointer;
  z-index: 10000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.vc .vc-exit:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.02);
}

.vc .btn-text {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* 加载动画 */
.vc .loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100;
  /* 优化性能：使用GPU加速 */
  will-change: opacity;
  transform: translateZ(0);
  /* 添加过渡效果，避免突然出现 */
  transition: opacity 0.2s ease;
}

/* 播放速度弹窗（普通模式） - 固定底部并水平居中 */
.vc-smo {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 6vh;
  z-index: 10001;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: auto;
}

.vc-sm {
  width: 100vw;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 20px 20px 0 0;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

/* Teleport 弹窗内部元素样式（不在 .vc 作用域内，需单独定义） */
.vc-smo .speed-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px 20px;
}

.vc-smo .speed-modal-title {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.vc-smo .speed-modal-content {
  display: flex;
  flex-direction: column;
}

.vc-smo .speed-option {
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-align: left;
  background: transparent;
  border: none;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vc-smo .speed-option:hover {
  opacity: 0.8;
}

.vc-smo .speed-option.active {
  color: #ff9500;
}

.vc-smo .speed-option .check-icon {
  font-size: 18px;
  color: #ff9500;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.vc-smo .speed-option.active .check-icon {
  opacity: 1;
}

.vc .loading-spinner {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* 现代化加载器 */
.vc .modern-loader {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

/* 环形加载动画 */
.vc .loader-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.vc .ring {
  position: absolute;
  border: 2px solid transparent;
  border-radius: 50%;
  animation: ring-rotate 2s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.vc .ring-1 {
  width: 80px;
  height: 80px;
  border-top-color: #ff6b35;
  border-right-color: rgba(255, 107, 53, 0.3);
  animation-duration: 1.5s;
}

.vc .ring-2 {
  width: 60px;
  height: 60px;
  top: 10px;
  left: 10px;
  border-top-color: #ff9500;
  border-right-color: rgba(255, 149, 0, 0.3);
  animation-duration: 2s;
  animation-direction: reverse;
}

.vc .ring-3 {
  width: 40px;
  height: 40px;
  top: 20px;
  left: 20px;
  border-top-color: #ffd700;
  border-right-color: rgba(255, 215, 0, 0.3);
  animation-duration: 1s;
}

/* 点状加载动画 */
.vc .loader-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 4px;
}

.vc .dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: dot-pulse 1.5s ease-in-out infinite;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.vc .dot-1 {
  animation-delay: 0s;
}

.vc .dot-2 {
  animation-delay: 0.2s;
}

.vc .dot-3 {
  animation-delay: 0.4s;
}

/* 加载文字 */
.vc .loading-text {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.vc .loading-text-main {
  color: #fff;
}

.vc .loading-text-dots {
  display: flex;
  gap: 2px;
}

.vc .dot-text {
  color: #ff6b35;
  animation: text-dot-bounce 1.5s ease-in-out infinite;
}

.vc .dot-text:nth-child(1) {
  animation-delay: 0s;
}

.vc .dot-text:nth-child(2) {
  animation-delay: 0.2s;
}

.vc .dot-text:nth-child(3) {
  animation-delay: 0.4s;
}

/* 进度条 */
.vc .loading-progress {
  width: 240px;
}

.vc .progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vc .progress-bar {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.vc .progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #ff6b35, #ff9500, #ffd700);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.vc .progress-glow {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.8), rgba(255, 149, 0, 0.8));
  border-radius: 3px;
  filter: blur(2px);
  transition: width 0.3s ease;
}

.vc .progress-text {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* 动画关键帧 */
@keyframes ring-rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes dot-pulse {

  0%,
  100% {
    transform: scale(1) translateZ(0);
    opacity: 1;
  }

  50% {
    transform: scale(1.2) translateZ(0);
    opacity: 0.7;
  }
}

@keyframes text-dot-bounce {

  0%,
  100% {
    transform: translateY(0) translateZ(0);
    opacity: 1;
  }

  50% {
    transform: translateY(-3px) translateZ(0);
    opacity: 0.7;
  }
}

/* 响应式设计 */
@media screen and (max-width: 480px) {
  .vc .modern-loader {
    width: 60px;
    height: 60px;
  }

  .vc .ring-1 {
    width: 60px;
    height: 60px;
  }

  .vc .ring-2 {
    width: 45px;
    height: 45px;
    top: 7.5px;
    left: 7.5px;
  }

  .vc .ring-3 {
    width: 30px;
    height: 30px;
    top: 15px;
    left: 15px;
  }

  .vc .loading-text {
    font-size: 16px;
  }

  .vc .loading-progress {
    width: 200px;
  }
}

/* 视频信息 */
.vc .vc-i {
  position: absolute;
  bottom: 7vh;
  left: 20px;
  right: 70px;
  z-index: 3;
  color: #fff;
}

.vc .info-content {
  border-radius: 12px;
}

.vc .desc {
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.3s ease;
  /* 始终显示单行，多余内容省略号 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.vc .desc.collapsed {
  font-size: 13px;
  /* 继承父级的单行省略样式 */
}

.vc .desc.expanded {
  /* 展开时也保持单行省略 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vc .title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  /* 单行显示，多余用省略号 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.vc .title:hover {
  color: inherit;
  text-decoration: none;
}

/* 平板适配 */
@media screen and (min-width: 768px) {
  .vc .title {
    font-size: 18px;
  }

  .vc .desc {
    font-size: 16px;
  }

  .vc .desc.collapsed {
    font-size: 15px;
  }

  /* 操作按钮调整 */
  .vc .action-item .van-icon {
    font-size: 40px !important;
  }

  /* 选集按钮调整 */
  .vc .episode-btn {
    font-size: 16px;
    padding: 12px 20px;
  }

  .vc .vc-hes {
    font-size: 16px;
    padding: 12px 20px;
  }

  /* 播放速度按钮调整 */
  .vc .vc-spd {
    font-size: 16px;
    padding: 12px 20px;
  }

  /* 全屏按钮调整 */
  .vc .vc-fb {
    font-size: 16px;
    padding: 12px 20px;
    top: 70vh;
  }

  .vc .vc-exit {
    font-size: 16px;
    padding: 12px 20px;
  }

  /* 弹窗标题和内容调整 */
  .vc .speed-modal-title {
    font-size: 20px;
  }

  .vc .speed-option {
    font-size: 18px;
    padding: 16px 24px;
  }
}

/* 大屏设备适配 */
@media screen and (min-width: 1024px) {
  .vc .title {
    font-size: 20px;
  }

  .vc .desc {
    font-size: 18px;
  }

  .vc .action-item .van-icon {
    font-size: 44px !important;
  }
}

/* 操作按钮 */
.vc .vc-act {
  position: absolute;
  bottom: 12vh;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.vc .action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

/* 立体效果的图标样式 */
.vc .action-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.vc .action-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.vc .action-icon:active {
  transform: scale(0.95);
}

/* 点赞图标特殊效果 */
.vc .like-icon.active {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* 收藏图标特殊效果 */
.vc .star-icon.active {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* 选集选择器 */
.vc .vc-es {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6vh;
  background-color: rgba(25, 25, 25);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  isolation: isolate;
}

.vc .episode-btn {
  width: 70vw;
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  min-width: 60px;
  justify-content: center;
}

.episode-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.vc .episode-text {
  font-size: 12px;
  font-weight: 500;
}

.vc .toggle-info-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  /* background: rgba(255, 255, 255, 0.1); */
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vc .toggle-info-btn:hover {
  /* background: rgba(255, 255, 255, 0.2); */
  transform: scale(1.05);
}

/* 首页选集选择器 */
.vc .vc-hes {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6vh;
  height: calc(var(--vh, 1vh) * 6);
  background-color: rgba(45, 45, 45, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  isolation: isolate;
  border-radius: 0 0 15px 15px;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 隐藏内容但保持事件监听器活动 */
.vc .vc-hes.content-hidden {
  background-color: transparent !important;
  color: transparent !important;
}

.vc .home-episode-text {
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  color: #fff;
}

.vc .episode-label {
  flex: 1;
}




/* 横屏模式 */
.vc .vc-land .vc-p {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: #000;
  overflow: hidden;
}

.vc .vc-land .dplayer-container {
  height: 100vh !important;
  width: 100vw !important;
  position: relative;
  overflow: hidden;
}

.vc .vc-land .dplayer-container video {
  object-fit: contain !important;
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) rotate(90deg) !important;
  transform-origin: center center !important;
  z-index: 5 !important;
  filter: brightness(1.1) contrast(1.05) !important;
  max-width: none !important;
  max-height: none !important;
}

.vc .vc-land .vc-spd {
  position: fixed !important;
  top: auto !important;
  right: auto !important;
  bottom: 80px !important;
  left: 20px !important;
  z-index: 10000 !important;
  background: rgba(0, 0, 0, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: rotate(90deg) !important;
  transform-origin: center center !important;
  width: auto !important;
  height: auto !important;
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.vc .vc-land .vc-act,
.vc .vc-land .vc-i {
  display: none !important;
}

.vc .vc-land .loading-overlay {
  display: none !important;
}

.vc .vc-land .landscape-icon {
  transform: rotate(-90deg);
  transition: transform 0.3s ease;
}

.vc .vc-land .vc-smo {
  z-index: 1002 !important;
  padding-bottom: 60px !important;
}

.vc .vc-land .vc-sm {
  width: 90vw !important;
  margin: 0 auto !important;
  margin-bottom: 20px !important;
}

/* 动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

/* 全屏DPlayer样式 */
.vc .fullscreen-dplayer {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1000 !important;
}

.vc .fullscreen-dplayer video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #000 !important;
}

.vc .fullscreen-dplayer .dplayer-video-wrap {
  width: 100% !important;
  height: 100% !important;
}

.vc .fullscreen-dplayer .dplayer-video {
  width: 100% !important;
  height: 100% !important;
}

/* 传送到body的元素样式 - 不依赖.vc父容器 */
.vc-es {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 6vh !important;
  background-color: rgba(25, 25, 25) !important;
  backdrop-filter: blur(10px) !important;
  z-index: 10001 !important;
  /* 确保高于BottomNav的z-index: 9 */
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 20px !important;
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  isolation: isolate !important;
  /* 确保在全屏模式退出后始终可见 */
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.vc-es .episode-btn {
  width: 70vw;
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  min-width: 60px;
  justify-content: center;
}

.vc-es .episode-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.vc-es .episode-text {
  font-size: 12px;
  font-weight: 500;
}

.vc-es .toggle-info-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vc-es .toggle-info-btn:hover {
  transform: scale(1.05);
}