/* ==============================================================================
   卡片全屏页与大预览交互体系样式表 (1920×1080 电视大屏标准设计)
   - 阶段一：大预览浮层 (Large Preview Overlay) + 10s 倒计时指示器
   - 阶段二：全屏播放页 (Full-Screen Player) + 影视级进度条系统
   - 阶段三：基于卡片类型的动态关联节目横向轨道 (Associated Programs Shelf)
   - 阶段四：节目详情落地页 (Program Detail Modal)
   ============================================================================== */

/* 全局交互层容器 (保证在 1920×1080 视口或舞台内绝对定位且 z-index 高于一切常规层) */
.cpp-layer-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #f8fafc;
}

.cpp-layer-container.active {
  pointer-events: auto;
}

/* ==============================================================================
   【阶段一】大预览浮层 (Large Preview Overlay)
   ============================================================================== */
.cpp-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s, background 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 920;
}

.cpp-preview-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cpp-preview-backdrop.fullscreen-mode {
  background: #000000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* 1520×540 电影级大预览卡片 (全屏时平滑放大膨胀为 1920×1080 满屏放映，零页面跳转) */
.cpp-preview-card {
  position: relative;
  width: 1520px;
  height: 540px;
  background: linear-gradient(135deg, rgba(26, 34, 53, 0.96), rgba(13, 18, 32, 0.98));
  border-radius: 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 
    0 32px 80px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 70px rgba(56, 189, 248, 0.15);
  display: flex;
  overflow: hidden;
  transform: scale(0.94);
  transition: 
    width 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.65s ease;
}

.cpp-preview-backdrop.active .cpp-preview-card {
  transform: scale(1);
}

/* Trailer 变大到全屏核心：卡片膨胀至 100% 满屏 1920×1080，圆角边框阴影归零，全屏无缝黑底 */
.cpp-preview-card.fullscreen-mode {
  width: 100% !important;
  height: 100% !important;
  max-width: 1920px;
  max-height: 1080px;
  border-radius: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  background: #000000 !important;
  transform: scale(1) !important;
}

/* 左侧：严格 16:9 影视级 Trailer 试看视窗 (960×540 -> 全屏时原位放大至 100% 满屏放映) */
.cpp-preview-media-col {
  position: relative;
  width: 960px;
  height: 540px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #000000;
  border-top-left-radius: 26px;
  border-bottom-left-radius: 26px;
  transition: 
    width 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.cpp-preview-card.fullscreen-mode .cpp-preview-media-col {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
}

/* 真实背景视频播放标签 (严格 16:9，画面零裁切，起播后平滑淡入) */
.cpp-preview-real-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  z-index: 1;
  background-color: transparent;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.cpp-preview-real-video.playing {
  opacity: 1;
}

.cpp-preview-media-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 6s ease-out;
  z-index: 0;
}

.cpp-preview-media-col:hover .cpp-preview-media-bg {
  transform: scale(1.08);
}

/* 渐变遮罩 (保持与右侧深色信息栏无缝融为一体，全屏放映态平滑淡出) */
.cpp-preview-media-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(to right, rgba(0,0,0,0.05) 80%, rgba(13, 18, 32, 0.98) 100%),
    linear-gradient(to top, rgba(3, 7, 18, 0.75) 0%, transparent 35%);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cpp-preview-card.fullscreen-mode .cpp-preview-media-gradient {
  opacity: 0;
}

/* 视频画面中央的大播放微标 (提示可即刻全屏试看，全屏态淡出) */
.cpp-preview-center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 36px rgba(14, 165, 233, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s, opacity 0.35s ease;
  z-index: 3;
}

.cpp-preview-center-play:hover,
.cpp-preview-center-play.focused {
  transform: translate(-50%, -50%) scale(1.15);
  background: #0284c7;
  box-shadow: 0 16px 45px rgba(14, 165, 233, 0.8), 0 0 0 4px rgba(255, 255, 255, 0.5);
}

.cpp-preview-center-play svg {
  width: 36px;
  height: 36px;
  fill: #ffffff;
  margin-left: 4px;
}

.cpp-preview-card.fullscreen-mode .cpp-preview-center-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.5);
}

/* 试看视频进度指示条 (大卡片内部微缩版，全屏态淡出下沉) */
.cpp-preview-mini-timeline {
  position: absolute;
  bottom: 20px;
  left: 32px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cpp-preview-card.fullscreen-mode .cpp-preview-mini-timeline {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.cpp-mini-track {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  overflow: hidden;
}

.cpp-mini-current {
  height: 100%;
  width: 32%;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  border-radius: 3px;
  animation: cppMiniSimulatePlay 20s linear infinite;
}

@keyframes cppMiniSimulatePlay {
  0% { width: 10%; }
  100% { width: 95%; }
}

.cpp-mini-time {
  font-size: 20px;
  color: #cbd5e1;
  font-feature-settings: "tnum";
}

/* 右侧：信息解构区 (560px × 540px，全屏时平滑向右滑出淡出，为大屏彻底让位) */
.cpp-preview-info-col {
  width: 560px;
  height: 540px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(13, 18, 32, 0.98);
  box-sizing: border-box;
  border-top-right-radius: 26px;
  border-bottom-right-radius: 26px;
  overflow: hidden;
  flex-shrink: 0;
  transition: 
    width 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.cpp-preview-card.fullscreen-mode .cpp-preview-info-col {
  width: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(120px) !important;
}

/* ==============================================================================
   右侧信息决策区四层垂直流：1 博主号——头像 -> 2 内容标题 -> 3 关联节目卡片 -> 4 进入全屏按钮
   ============================================================================== */

/* 1. 博主号——头像 (排在右侧最顶层第 1 项) */
.cpp-preview-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.cpp-meta-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(56, 189, 248, 0.7);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
  flex-shrink: 0;
}

.cpp-meta-names-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.cpp-meta-name {
  font-size: 22px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cpp-meta-sub {
  font-size: 20px;
  color: #94a3b8;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 2. 内容标题 (排在第 2 项，大屏醒目字体) */
.cpp-preview-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  margin: 4px 0;
}

/* 3. 关联节目卡片 (话术：提到的内容；包含：海报 + 标题 + 评分标签) */
.cpp-preview-feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  box-sizing: border-box;
}

.cpp-preview-feature-card:hover,
.cpp-preview-feature-card.focused {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75), 0 0 24px rgba(56, 189, 248, 0.45), 0 0 0 2.5px rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

.cpp-feature-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cpp-feature-tag {
  font-size: 20px;
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cpp-feature-jump-cue {
  font-size: 20px;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.2s;
}

.cpp-preview-feature-card:hover .cpp-feature-jump-cue,
.cpp-preview-feature-card.focused .cpp-feature-jump-cue {
  color: #38bdf8;
}

.cpp-feature-body-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cpp-feature-thumb-box {
  width: 116px;
  height: 65px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #1e293b;
}

.cpp-feature-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpp-feature-meta-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.cpp-feature-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cpp-feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.cpp-feature-tags-row {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.cpp-feature-score-badge {
  font-size: 20px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.6);
  color: #fbbf24;
  flex-shrink: 0;
}

.cpp-feature-badge {
  font-size: 20px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  flex-shrink: 0;
}

.cpp-feature-sub {
  font-size: 20px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 红框文字移除防御 (彻底杜绝标签和简介在界面出现) */
.cpp-preview-tags,
.cpp-tag-item,
.cpp-preview-desc {
  display: none !important;
}

/* 结合倒计时的全屏播放统一核心主按钮 (去掉稍后看) */
.cpp-btn-fullscreen-unified {
  position: relative;
  width: 100%;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  border: 1.5px solid transparent;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.cpp-btn-fullscreen-unified:hover,
.cpp-btn-fullscreen-unified.focused {
  background: linear-gradient(135deg, #38bdf8, #3b82f6);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 36px rgba(14, 165, 233, 0.65), 0 0 0 3px rgba(255, 255, 255, 0.85);
}

.cpp-btn-main-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cpp-btn-play-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* 倒计时流光进度槽已完全移除，仅保留文字倒计时 */


/* ==============================================================================
   【阶段二】全屏播放页 (Full-Screen Player)
   ============================================================================== */
.cpp-fullscreen-player {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  background-color: #000000;
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  overflow: hidden;
}

.cpp-fullscreen-player.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 全屏动态视频投影画面 */
.cpp-fs-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000000;
}

/* 真实全屏背景视频 (初始透明透出高清海报，起播后平滑淡入，彻底杜绝黑屏) */
.cpp-fs-real-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background-color: transparent;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.cpp-fs-real-video.playing {
  opacity: 1;
}

.cpp-fs-video-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 12s ease-out;
  z-index: 0;
}

.cpp-fullscreen-player.active .cpp-fs-video-layer {
  transform: scale(1.06);
}

.cpp-fs-ambient-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    radial-gradient(circle at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.25) 25%, transparent 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, transparent 25%);
  pointer-events: none;
}

/* 顶部信息状态栏 (HUD Top) */
.cpp-fs-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  padding: 40px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
  opacity: 0;
  transform: translateY(-40px);
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.cpp-preview-card.fullscreen-mode .cpp-fs-top-bar {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cpp-preview-card.fullscreen-mode .cpp-fs-top-bar.hud-hidden {
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
}

.cpp-fs-title-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cpp-fs-btn-back {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 10px 24px;
  color: #f1f5f9;
  font-size: 20px;
  font-weight: 600;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.2s;
}

.cpp-fs-btn-back:hover,
.cpp-fs-btn-back.focused {
  background: rgba(56, 189, 248, 0.3);
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
  transform: scale(1.05);
}

.cpp-fs-program-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.cpp-fs-badge-4k {
  font-size: 20px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, #eab308, #f59e0b);
  color: #000;
  letter-spacing: 1px;
}

.cpp-fs-source-tag {
  font-size: 20px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 14px;
  border-radius: 12px;
}

.cpp-fs-top-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cpp-fs-clock {
  font-size: 22px;
  font-weight: 600;
  color: #e2e8f0;
  font-feature-settings: "tnum";
}

/* 快进快退步进浮动指示气泡 (Step Feedback Badge) */
.cpp-step-feedback-bubble {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(15, 23, 42, 0.88);
  border: 1.5px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.4);
  border-radius: 24px;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
}

.cpp-step-feedback-bubble.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cpp-step-icon {
  font-size: 36px;
}

.cpp-step-text {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  font-feature-settings: "tnum";
}

/* 底部主播控 HUD (HUD Bottom) */
.cpp-fs-bottom-hud {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 36px 64px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 20;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 75%, transparent 100%);
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.cpp-preview-card.fullscreen-mode .cpp-fs-bottom-hud {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cpp-preview-card.fullscreen-mode .cpp-fs-bottom-hud.hud-hidden {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

/* 影视级高精度进度条 (Timeline Progress Bar) */
.cpp-progress-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cpp-progress-rail {
  position: relative;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  cursor: pointer;
  transition: height 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cpp-progress-rail:hover,
.cpp-progress-rail.focused {
  height: 12px;
}

/* 缓冲条 */
.cpp-progress-buffer {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 65%;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
}

/* 已播放进度条 */
.cpp-progress-played {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 28%;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.75);
}

/* 播放发光光标 (Thumb) */
.cpp-progress-thumb {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.9), 0 0 8px #0ea5e9;
  border: 2.5px solid #0284c7;
  transition: transform 0.2s;
}

.cpp-progress-rail:hover .cpp-progress-thumb,
.cpp-progress-rail.focused .cpp-progress-thumb {
  transform: translateY(-50%) scale(1.35);
}

/* 时间码显示 */
.cpp-progress-times {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  font-weight: 600;
  color: #cbd5e1;
  font-feature-settings: "tnum";
}

.cpp-time-current {
  color: #38bdf8;
}

/* 播放控制胶囊与功能区 */
.cpp-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.cpp-controls-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cpp-ctrl-pill {
  height: 52px;
  padding: 0 24px;
  border-radius: 26px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  color: #f1f5f9;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.cpp-ctrl-pill:hover,
.cpp-ctrl-pill.focused {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.cpp-ctrl-pill.active {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  border-color: transparent;
  color: #ffffff;
}

.cpp-ctrl-pill svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cpp-controls-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 关联节目呼出快捷提示 */
.cpp-btn-toggle-related {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  height: 52px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(168, 85, 247, 0.25));
  border: 1.5px solid rgba(168, 85, 247, 0.5);
  color: #e0e7ff;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.cpp-btn-toggle-related:hover,
.cpp-btn-toggle-related.focused {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.6), rgba(168, 85, 247, 0.5));
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.cpp-btn-toggle-related .key-hint {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 20px;
  color: #ffffff;
}


/* ==============================================================================
   【阶段三】基于卡片类型的关联节目抽屉轨道 (Associated Programs Shelf)
   ============================================================================== */
.cpp-related-shelf {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 380px;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.98) 0%, rgba(15, 23, 42, 0.92) 80%, transparent 100%);
  border-top: 1.5px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 24px 64px 32px 64px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(105%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 25;
}

.cpp-related-shelf.open {
  transform: translateY(0);
}

.cpp-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cpp-related-title-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cpp-related-icon {
  font-size: 26px;
}

.cpp-related-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.cpp-related-sub {
  font-size: 20px;
  color: #94a3b8;
}

.cpp-related-nav-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  color: #94a3b8;
}

.cpp-cue-pill {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  color: #cbd5e1;
}

/* 关联节目横向滑轨 */
.cpp-related-scroll-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 4px 14px 4px;
  scrollbar-width: none;
}

.cpp-related-scroll-row::-webkit-scrollbar {
  display: none;
}

/* 单张关联节目卡片 (聚焦时 1.08x 放大 + 光晕) */
.cpp-related-card {
  flex: 0 0 320px;
  height: 235px;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
  outline: none;
}

.cpp-related-card:hover,
.cpp-related-card.focused {
  transform: translateY(-8px) scale(1.08);
  border-color: #38bdf8;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.45), 0 0 0 2.5px rgba(255, 255, 255, 0.85);
  z-index: 10;
}

.cpp-related-card-thumb {
  width: 100%;
  height: 135px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #1e293b;
}

.cpp-related-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 20px;
  font-weight: 700;
  color: #38bdf8;
}

.cpp-related-score {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(234, 88, 12, 0.9);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.cpp-related-card-info {
  flex: 1;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(15, 23, 42, 0.95);
}

.cpp-related-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.cpp-related-card-meta {
  font-size: 20px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cpp-related-cta-hint {
  font-size: 20px;
  color: #38bdf8;
  opacity: 0;
  transition: opacity 0.2s;
}

.cpp-related-card:hover .cpp-related-cta-hint,
.cpp-related-card.focused .cpp-related-cta-hint {
  opacity: 1;
}


/* ==============================================================================
   【阶段四】节目详情落地页 (Program Detail Modal)
   ============================================================================== */
.cpp-detail-backdrop {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  z-index: 980;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.cpp-detail-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cpp-detail-stage {
  position: relative;
  width: 1600px;
  height: 880px;
  background: linear-gradient(135deg, rgba(20, 29, 48, 0.95), rgba(11, 16, 28, 0.98));
  border-radius: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.85), 0 0 60px rgba(99, 102, 241, 0.2);
  display: flex;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cpp-detail-backdrop.active .cpp-detail-stage {
  transform: scale(1);
}

/* 左侧：巨幕海报与核心评分 */
.cpp-detail-poster-col {
  width: 420px;
  height: 100%;
  position: relative;
  background-color: #030712;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.cpp-detail-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpp-detail-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
}

.cpp-detail-score-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.cpp-detail-score-val {
  font-size: 44px;
  font-weight: 900;
  color: #f59e0b;
}

.cpp-detail-score-label {
  font-size: 20px;
  color: #cbd5e1;
}

/* 右侧：完整节目元数据与选集 */
.cpp-detail-content-col {
  flex: 1;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.cpp-detail-head-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.cpp-detail-title {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 14px;
}

.cpp-detail-tags-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.cpp-detail-tag {
  font-size: 20px;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.cpp-detail-tag.highlight {
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  font-weight: 600;
}

.cpp-detail-credits {
  font-size: 20px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 20px;
}

.cpp-detail-credits span {
  color: #e2e8f0;
}

.cpp-detail-synopsis {
  font-size: 21px;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-height: 130px;
  overflow-y: auto;
}

/* 选集分集滑动列表 */
.cpp-detail-episodes-section {
  margin-bottom: 32px;
}

.cpp-episodes-title {
  font-size: 22px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cpp-episodes-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.cpp-episode-btn {
  flex: 0 0 76px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  cursor: pointer;
  transition: all 0.2s;
}

.cpp-episode-btn:hover,
.cpp-episode-btn.focused {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.cpp-episode-btn.playing {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  border-color: transparent;
  color: #ffffff;
}

/* 详情页底部核心行动栏 */
.cpp-detail-action-bar {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cpp-detail-play-btn {
  height: 60px;
  padding: 0 40px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #ffffff;
  font-size: 21px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: none;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
  transition: all 0.2s;
}

.cpp-detail-play-btn:hover,
.cpp-detail-play-btn.focused {
  background: linear-gradient(135deg, #38bdf8, #3b82f6);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 40px rgba(14, 165, 233, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.8);
}

.cpp-detail-sub-btn {
  height: 60px;
  padding: 0 32px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.cpp-detail-sub-btn:hover,
.cpp-detail-sub-btn.focused {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.cpp-detail-close-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s;
}

.cpp-detail-close-btn:hover,
.cpp-detail-close-btn.focused {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.6);
}
