/* ==============================================================================
   点播场景互动影院样式表 (VOD Interactive Player CSS)
   规范：100% 生产级 TV 沉浸大屏 (1920x1080)，无操作辅助说明文字，纯原生遥控器焦点响应
   核心场景：
   1. 暂停态下键探索多博主衍生推荐货架 (人格化过渡层)
   2. 播放中高光时刻伴随式微晶气泡 (史实考据/冷知识)
   3. 原地 720px 伴随抽屉 (本片博主精讲 + 我的关注更新 + 原地小窗试看)
   ============================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #01040a;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #fff;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 1080p 标准电视大屏视口容器 */
.vod-stage {
  position: relative;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  background: #02040a;
  transform-origin: center center;
  flex-shrink: 0;
}

/* ================= 1. 主正片视频播放视窗 ================= */
.vod-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: #000;
  overflow: hidden;
}

/* 抽屉打开时，主视频平滑微缩居左，保持不中断播放与沉浸感 */
.vod-stage.drawer-open .vod-video-wrapper {
  width: 1200px;
  height: 675px;
  top: 60px;
  left: 40px;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.vod-main-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 视频背景动态高斯模糊底板 (在微缩态下自然扩散) */
.vod-stage.drawer-open::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 35% 40%, rgba(30, 58, 138, 0.35) 0%, rgba(10, 15, 30, 0.95) 75%, #02040a 100%);
  z-index: 0;
  filter: blur(50px);
}

/* 顶部与底部高对比度暗化遮罩 */
.vod-scrim-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 220px;
  background: linear-gradient(to bottom, rgba(2, 4, 10, 0.88) 0%, rgba(2, 4, 10, 0.45) 60%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.vod-scrim-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 380px;
  background: linear-gradient(to top, rgba(2, 4, 10, 0.96) 0%, rgba(2, 4, 10, 0.65) 55%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.vod-stage.drawer-open .vod-scrim-top,
.vod-stage.drawer-open .vod-scrim-bottom {
  opacity: 0;
}

/* ================= 2. 顶部正片信息 OSD (播放时轻量淡入淡出) ================= */
.vod-top-osd {
  position: absolute;
  top: 48px;
  left: 64px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.vod-top-osd.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.vod-feature-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vod-badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #38bdf8;
  letter-spacing: 0.5px;
}

.vod-badge-quality {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

.vod-feature-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.vod-feature-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: rgba(226, 232, 240, 0.85);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ================= 3. 中央暂停徽标 (128px 毛玻璃高贵气场) ================= */
.vod-pause-badge {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(28px);
  border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 48px rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.vod-pause-badge.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.vod-pause-badge svg {
  width: 52px;
  height: 52px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* ================= 4. 底部播放控条 & 暂停态进度条 ================= */
.vod-bottom-osd {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 64px 36px 64px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, transform 0.4s ease;
}

.vod-bottom-osd.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

/* 正常播放态下的按下键探索引导提示条 */
.vod-play-down-hint {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 2px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.vod-down-hint-arrow {
  color: #38bdf8;
  font-weight: 800;
  font-size: 13px;
  animation: bounceDownHint 1.8s infinite ease-in-out;
}

@keyframes bounceDownHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* 暂停或展开货架时，引导条隐藏 */
.vod-stage.paused .vod-play-down-hint,
.vod-stage.shelf-active .vod-play-down-hint {
  display: none;
}

/* 暂停态或播放中按下键呼出货架时，进度条向上吸附至距底 300px，为多行货架留出黄金可视通道 */
.vod-stage.paused .vod-bottom-osd,
.vod-stage.shelf-active .vod-bottom-osd {
  bottom: 300px;
  padding: 0 64px 0 64px;
}

/* 时间码行 */
.vod-progress-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: -6px;
}

.vod-current-time {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.vod-total-time {
  font-size: 20px;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.75);
  font-variant-numeric: tabular-nums;
}

/* 进度条外壳与落焦状态 */
.vod-progress-rail {
  position: relative;
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 暂停且进度条落焦态 */
.vod-progress-rail.focused {
  height: 16px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 28px rgba(56, 189, 248, 0.6);
}

.vod-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 22%;
  background: linear-gradient(90deg, #38bdf8 0%, #60a5fa 100%);
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.8);
  transition: width 0.1s linear;
}

/* 进度条发光游标 */
.vod-progress-thumb {
  position: absolute;
  top: 50%;
  left: 22%;
  transform: translate(-50%, -50%) scale(0);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 20px #38bdf8;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.vod-progress-rail.focused .vod-progress-thumb {
  transform: translate(-50%, -50%) scale(1);
}

/* ================= 5. 更多推荐内容复合浮层 (支持多行：钩子切片、关联正片、战役专题合集) ================= */
.vod-creator-shelf-container {
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: 20px;
  height: 275px;
  z-index: 30;
  transform: translateY(340px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 暂停时或正常播放下按下键呼出时，多行推荐货架常驻展开 */
.vod-stage.paused .vod-creator-shelf-container,
.vod-stage.shelf-active .vod-creator-shelf-container {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* 浮层多行类别指示栏 */
.vod-shelf-category-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
  height: 32px;
  flex-shrink: 0;
}

.vod-shelf-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.7);
  transition: all 0.3s ease;
  cursor: pointer;
}

.vod-shelf-tab.active {
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(56, 189, 248, 0.55);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}

.vod-shelf-row-switch-hint {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.5);
}

/* 多行垂直视口容器 */
.vod-shelf-rows-viewport {
  position: relative;
  width: 100%;
  height: 235px;
  overflow: hidden;
}

.vod-shelf-rows-slider {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vod-shelf-row-section {
  width: 100%;
  height: 235px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.vod-shelf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  height: 24px;
  flex-shrink: 0;
}

.vod-shelf-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vod-shelf-icon-sparkle {
  font-size: 18px;
  color: #38bdf8;
}

.vod-shelf-main-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.vod-shelf-tag-capsule {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #7dd3fc;
}

.vod-shelf-tag-capsule.feature-tag {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.vod-shelf-tag-capsule.collection-tag {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.45);
  color: #c084fc;
}

/* 卡片横滑轨道 */
.vod-shelf-track {
  display: flex;
  gap: 20px;
  overflow: visible;
  padding: 4px 4px 12px 4px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 单张卡片基准 */
.vod-shelf-card {
  position: relative;
  flex-shrink: 0;
  width: 304px;
  height: 198px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(28px);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

/* 卡片落焦高光状态 (10-foot TV 聚焦环) */
.vod-shelf-card.focused {
  transform: translateY(-5px) scale(1.03);
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), 0 0 32px rgba(56, 189, 248, 0.7);
  z-index: 10;
}

/* 正片卡片与合集卡片特殊聚焦色调 */
.vod-shelf-card.feature-card.focused {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), 0 0 32px rgba(245, 158, 11, 0.65);
}

.vod-shelf-card.collection-card.focused {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), 0 0 32px rgba(168, 85, 247, 0.65);
}

/* 卡片上半部 16:9 封面 */
.vod-card-thumb-box {
  position: relative;
  width: 100%;
  height: 116px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.vod-card-thumb-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15, 23, 42, 0.95) 100%);
}

/* 评分与合集特色标签 */
.vod-card-score-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.9);
  color: #000000;
}

.vod-card-collection-pill {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(168, 85, 247, 0.75);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.vod-card-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.vod-card-collection-tag {
  color: #c084fc;
  font-weight: 700;
}

.vod-card-feature-year {
  color: #f59e0b;
  font-weight: 600;
}

.vod-card-feature-dir {
  color: rgba(226, 232, 240, 0.7);
}

/* ================= 6. 播放中高光时刻伴随微晶气泡 (Contextual Hotspot) ================= */
.vod-hotspot-bubble {
  position: absolute;
  right: 64px;
  bottom: 80px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(36px);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 32px rgba(56, 189, 248, 0.35);
  transform: translateX(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, border-color 0.3s ease;
}

.vod-hotspot-bubble.visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.vod-hotspot-bubble.focused {
  border: 2px solid #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.7);
  transform: translateX(0) scale(1.04);
}

.vod-hotspot-avatar-box {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.vod-hotspot-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #38bdf8;
}

.vod-hotspot-sparkle-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.vod-hotspot-text-area {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 480px;
}

.vod-hotspot-tag {
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.5px;
}

.vod-hotspot-msg {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vod-hotspot-action-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

/* ================= 7. 原地 720px 伴随侧边抽屉 (In-situ Companion Drawer) ================= */
.vod-side-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 720px;
  height: 1080px;
  background: rgba(10, 16, 32, 0.85);
  backdrop-filter: blur(54px);
  border-left: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.85);
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 48px 48px 40px 48px;
}

.vod-stage.drawer-open .vod-side-drawer {
  transform: translateX(0);
}

/* 抽屉顶部双 Tab 切换 */
.vod-drawer-header {
  margin-bottom: 28px;
}

.vod-drawer-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.vod-drawer-tab {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.7);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.vod-drawer-tab.active {
  background: rgba(56, 189, 248, 0.22);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(56, 189, 248, 0.5);
}

.vod-drawer-tab.focused {
  border: 2px solid #ffffff;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.vod-tab-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d6d;
  box-shadow: 0 0 8px #ff4d6d;
}

/* 抽屉卡片列表滚动视口 */
.vod-drawer-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 6px;
  scrollbar-width: none;
}

.vod-drawer-list::-webkit-scrollbar {
  display: none;
}

/* 抽屉内的博主动态卡片 */
.vod-drawer-card {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vod-drawer-card.focused {
  background: rgba(255, 255, 255, 0.12);
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.5);
  transform: translateX(-4px) scale(1.02);
}

.vod-drawer-card-thumb {
  position: relative;
  width: 220px;
  height: 124px; /* 严格 16:9 */
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  overflow: hidden;
}

.vod-drawer-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.vod-drawer-card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.vod-drawer-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vod-drawer-author-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vod-drawer-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.vod-drawer-author-name {
  font-size: 15px;
  font-weight: 600;
  color: #38bdf8;
}

.vod-drawer-update-time {
  font-size: 13px;
  color: rgba(226, 232, 240, 0.6);
  margin-left: auto;
}

.vod-drawer-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vod-drawer-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vod-drawer-badge {
  font-size: 13px;
  color: rgba(226, 232, 240, 0.7);
}

.vod-drawer-pip-hint {
  font-size: 13px;
  color: #38bdf8;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.vod-drawer-card.focused .vod-drawer-pip-hint {
  opacity: 1;
}

/* ================= 8. 原地小窗试看播放器 (In-situ PIP Preview) ================= */
.vod-pip-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.4);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.vod-stage.pip-active .vod-pip-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* 浮层弹出时，背后的推荐货架与播放控条依然在且清晰可见（透明度 92%，绝不破坏性模糊） */
.vod-stage.pip-active .vod-creator-shelf-container,
.vod-stage.pip-active .vod-bottom-osd {
  opacity: 0.92;
  filter: none;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.vod-insitu-pip-modal {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 840px;
  height: 490px;
  background: #02040a;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.95);
  z-index: 100;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.vod-stage.drawer-open .vod-insitu-pip-modal {
  left: 600px;
}

.vod-insitu-pip-modal.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

/* 大屏原生焦点引擎：焦点独占锁定在试看浮层模态自身 */
.vod-insitu-pip-modal.focused {
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.98), 0 0 48px rgba(56, 189, 248, 0.7);
}

.vod-pip-video-box {
  position: relative;
  width: 100%;
  height: 400px;
  background: #000;
}

.vod-pip-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vod-pip-bottom-bar {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(15, 23, 42, 0.95);
}

.vod-pip-creator-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vod-pip-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #38bdf8;
}

.vod-pip-title-box {
  display: flex;
  flex-direction: column;
}

.vod-pip-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.vod-pip-author {
  font-size: 13px;
  color: #38bdf8;
}

.vod-pip-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.vod-pip-live-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulsePipIndicator 1.8s infinite ease-in-out;
}

@keyframes pulsePipIndicator {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* 浮层正下方的独立文字提醒 (按返回键关闭试看) */
.vod-pip-close-hint {
  position: absolute;
  left: 50%;
  top: calc(38% + 265px);
  transform: translateX(-50%) translateY(8px);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 22px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
}

.vod-stage.pip-active .vod-pip-close-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.vod-pip-hint-icon {
  color: #38bdf8;
  font-weight: 700;
}
