/* ==========================================================================
   VCD7 Tokyo Minimalist Cinema & Gallery - Watch / Play Page Stylesheet
   Version: 2026.10.CinemaWatch
   ========================================================================== */

.vcd29-watch-page {
  max-width: 1680px !important;
  width: calc(100% - 48px) !important;
  margin: 0 auto !important;
  padding: 24px 0 60px !important;
}

/* ==========================================================================
   Theater Container
   ========================================================================== */
.vcd29-theater {
  position: relative !important;
  margin-bottom: 36px !important;
  padding: 28px !important;
  border: 1px solid var(--gold-border, rgba(223, 196, 127, 0.20)) !important;
  border-radius: var(--radius-lg, 18px) !important;
  background: rgba(14, 16, 22, 0.85) !important;
  backdrop-filter: var(--blur-glass) !important;
  -webkit-backdrop-filter: var(--blur-glass) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65) !important;
  overflow: hidden !important;
}

.vcd29-theater::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, var(--gold-bright, #f5dc98) 0%, var(--gold-warm, #c9a858) 40%, transparent 80%) !important;
}

/* ==========================================================================
   Theater Header
   ========================================================================== */
.vcd29-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin-bottom: 22px !important;
  padding-bottom: 18px !important;
  border-bottom: 1px solid var(--line-subtle, rgba(223, 196, 127, 0.10)) !important;
}

.vcd29-head-main {
  min-width: 0 !important;
  flex: 1 !important;
}

.vcd29-kicker {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--gold-muted, rgba(223, 196, 127, 0.65)) !important;
  letter-spacing: 0.22em !important;
  margin-bottom: 6px !important;
}

.vcd29-head h1 {
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: clamp(20px, 2vw, 28px) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.015em !important;
  word-break: break-word !important;
}

.vcd29-crumb {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: var(--text-muted, #8c8577) !important;
  margin-bottom: 10px !important;
}

.vcd29-crumb a {
  color: var(--text-sub, #c8c0b0) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.vcd29-crumb a:hover {
  color: var(--gold-bright, #f5dc98) !important;
}

.vcd29-crumb em {
  color: var(--gold-bright, #f5dc98) !important;
  font-style: normal !important;
  font-weight: 500 !important;
}

.vcd29-head-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.vcd29-head-tags span {
  padding: 2px 8px !important;
  border-radius: var(--radius-xs, 4px) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(223, 196, 127, 0.15) !important;
  color: var(--text-sub, #c8c0b0) !important;
  font-size: 11px !important;
}

.vcd29-back {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: var(--radius-pill, 9999px) !important;
  border: 1px solid var(--gold-border, rgba(223, 196, 127, 0.20)) !important;
  background: rgba(223, 196, 127, 0.08) !important;
  color: var(--gold-bright, #f5dc98) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.vcd29-back:hover {
  border-color: var(--gold, #dfc47f) !important;
  background: rgba(223, 196, 127, 0.18) !important;
  transform: translateX(-2px) !important;
}

/* ==========================================================================
   Theater Main Grid Layout (Player 16:9 + Sidebar)
   ========================================================================== */
.vcd29-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px !important;
  gap: 26px !important;
  align-items: start !important;
}

.vcd29-main {
  min-width: 0 !important;
}

/* ==========================================================================
   Player Card & Shell
   ========================================================================== */
.vcd29-player-card {
  position: relative !important;
  border-radius: var(--radius-md, 12px) !important;
  border: 1px solid rgba(223, 196, 127, 0.22) !important;
  background: #000 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
  overflow: hidden !important;
}


/* Player Stage (16:9 Screen) */
.vcd29-player-stage {
  position: relative !important;
  width: 100% !important;
  background: #000 !important;
}

.pc-player-shell, .vcd-art-shell, .vcd29-art-shell {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  background: #000 !important;
  overflow: hidden !important;
}

.vcd-art-player, .artplayer {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #000 !important;
}

/* Watermark */
.vcd29-corner-logo {
  position: absolute !important;
  top: 14px !important;
  right: 18px !important;
  z-index: 10 !important;
  color: rgba(223, 196, 127, 0.70) !important;
  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 10px rgba(223, 196, 127, 0.3) !important;
  pointer-events: none !important;
}

/* Loading & Error Screens */
.vcd29-loading {
  position: absolute !important;
  inset: 0 !important;
  z-index: 9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: radial-gradient(circle at 50% 50%, rgba(22, 24, 32, 0.8), rgba(0, 0, 0, 0.95)) !important;
  pointer-events: none !important;
}

.vcd29-loading.is-hidden {
  display: none !important;
}

.vcd29-loading p {
  padding: 10px 20px !important;
  border-radius: var(--radius-sm, 8px) !important;
  background: rgba(10, 11, 14, 0.88) !important;
  border: 1px solid rgba(223, 196, 127, 0.28) !important;
  color: var(--gold-bright, #f5dc98) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

.vcd29-error {
  position: absolute !important;
  inset: 0 !important;
  z-index: 10 !important;
  display: none;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(10, 11, 14, 0.94) !important;
  color: #fff !important;
  padding: 24px !important;
}

.vcd29-error h3 {
  color: var(--gold-bright, #f5dc98) !important;
  margin-bottom: 8px !important;
}

/* ==========================================================================
   ArtPlayer Controls & Play Button (Original Cyberpunk Neon Pink State Button)
   ========================================================================== */
.vcd29-art-shell .artplayer-state,
.vcd-art-shell .artplayer-state,
.artplayer .artplayer-state {
  width: 168px !important;
  height: 168px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255, 183, 205, .78) !important;
  background: radial-gradient(circle at 50% 24%, rgba(255, 213, 226, .44), transparent 35%),
              radial-gradient(circle at 48% 62%, rgba(255, 76, 145, .56), transparent 60%),
              radial-gradient(circle at 50% 88%, rgba(111, 6, 31, .54), transparent 62%),
              rgba(0, 0, 0, .52) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .060) inset,
              0 0 0 12px rgba(255, 116, 168, .070),
              0 0 76px rgba(255, 91, 154, .56),
              0 34px 88px rgba(0, 0, 0, .58) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  opacity: .98 !important;
  transition: transform 0.25s ease !important;
}

.vcd29-art-shell .artplayer-state:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .080) inset,
              0 0 0 14px rgba(255, 116, 168, .12),
              0 0 90px rgba(255, 91, 154, .75),
              0 38px 96px rgba(0, 0, 0, .68) !important;
}

.vcd29-art-shell .artplayer-state::before,
.vcd-art-shell .artplayer-state::before,
.artplayer .artplayer-state::before {
  content: "" !important;
  position: absolute !important;
  inset: 13px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 214, 224, .44) !important;
  pointer-events: none !important;
}

.vcd29-art-shell .artplayer-state::after,
.vcd-art-shell .artplayer-state::after,
.artplayer .artplayer-state::after {
  content: "VCD7.COM" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 27px !important;
  color: rgba(255, 218, 226, .78) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .18em !important;
  text-align: center !important;
  pointer-events: none !important;
}

.vcd29-art-state {
  width: 168px !important;
  height: 168px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.vcd29-art-state::before {
  content: none !important;
  display: none !important;
}

.vcd29-art-state span {
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  margin-top: -18px !important;
  margin-left: 20px !important;
  border-top: 42px solid transparent !important;
  border-bottom: 42px solid transparent !important;
  border-left: 70px solid #ffd3df !important;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .36))
         drop-shadow(0 0 18px rgba(255, 95, 156, .88))
         drop-shadow(0 0 36px rgba(255, 91, 154, .58)) !important;
}

.vcd29-art-shell .artplayer-play {
  width: 44px !important;
  min-width: 44px !important;
  height: 36px !important;
  border-color: rgba(255, 183, 205, .48) !important;
  background: radial-gradient(circle at 50% 0, rgba(255, 213, 226, .20), transparent 58%), rgba(111, 6, 31, .68) !important;
}

.vcd29-art-shell .artplayer-play svg {
  fill: #ffd3df !important;
}

.vcd29-art-shell .artplayer-progress .artplayer-progress-played {
  background: linear-gradient(90deg, #8b061f, #ff5f9c 55%, #ffd3df 100%) !important;
  box-shadow: 0 0 18px rgba(255, 91, 154, .58) !important;
}

.vcd29-art-shell .artplayer-progress .artplayer-progress-indicator {
  width: 16px !important;
  height: 16px !important;
  margin-top: -5px !important;
  border: 1px solid rgba(255, 214, 224, .96) !important;
  background: #ffd3df !important;
  box-shadow: 0 0 0 4px rgba(255, 116, 168, .14), 0 0 20px rgba(255, 91, 154, .88) !important;
}

@media (max-width: 820px) {
  .vcd29-art-shell .artplayer-state,
  .vcd-art-shell .artplayer-state,
  .artplayer .artplayer-state,
  .vcd29-art-state {
    width: 112px !important;
    height: 112px !important;
  }
  .vcd29-art-shell .artplayer-state::after {
    bottom: 14px !important;
    font-size: 10px !important;
  }
  .vcd29-art-state span {
    margin-top: -10px !important;
    margin-left: 14px !important;
    border-top-width: 30px !important;
    border-bottom-width: 30px !important;
    border-left-width: 50px !important;
  }
}

/* Player Footbar (Shortcuts & Quick Nav) */
.vcd29-player-footbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 16px !important;
  background: rgba(10, 11, 14, 0.90) !important;
  border-top: 1px solid rgba(223, 196, 127, 0.14) !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.vcd29-shortcuts-tip {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-size: 11px !important;
  color: var(--text-muted, #8c8577) !important;
}

.vcd29-shortcuts-tip kbd {
  padding: 1px 5px !important;
  border-radius: 3px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: var(--gold-bright, #f5dc98) !important;
  font-family: inherit !important;
}

.vcd29-player-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.vcd29-foot-nav-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 28px !important;
  padding: 0 12px !important;
  border-radius: var(--radius-pill, 9999px) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(223, 196, 127, 0.18) !important;
  color: var(--text-sub, #c8c0b0) !important;
  font-size: 11px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.vcd29-foot-nav-btn:hover {
  border-color: var(--gold, #dfc47f) !important;
  color: #fff !important;
  background: rgba(223, 196, 127, 0.12) !important;
}

.vcd29-foot-nav-btn.highlight {
  background: linear-gradient(135deg, var(--gold-bright, #f5dc98) 0%, var(--gold, #dfc47f) 100%) !important;
  border-color: var(--gold, #dfc47f) !important;
  color: var(--text-dark, #0a0b0e) !important;
  font-weight: 600 !important;
}

.vcd29-foot-app-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.16) 0%, rgba(223, 196, 127, 0.28) 100%) !important;
  border-color: rgba(223, 196, 127, 0.60) !important;
  color: var(--gold-bright, #f5dc98) !important;
  font-weight: 600 !important;
  box-shadow: 0 0 12px rgba(223, 196, 127, 0.20) !important;
  position: relative !important;
}

.vcd29-foot-app-btn:hover {
  background: linear-gradient(135deg, var(--gold-bright, #f5dc98) 0%, var(--gold, #dfc47f) 100%) !important;
  border-color: var(--gold-bright, #f5dc98) !important;
  color: #0a0b0e !important;
  box-shadow: 0 0 18px rgba(223, 196, 127, 0.45) !important;
}

.vcd29-foot-app-icon {
  font-size: 12px !important;
  line-height: 1 !important;
}

.vcd29-foot-app-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 6px #10b981 !important;
  animation: vcdPulseDot 2s infinite ease-in-out !important;
}

/* ==========================================================================
   Right Sidebar (Sources, Info, and Up Next Queue)
   ========================================================================== */
.vcd29-side {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  min-width: 0 !important;
}

/* Source & Episodes Card */
.vcd29-source-card {
  border: 1px solid rgba(223, 196, 127, 0.18) !important;
  border-radius: var(--radius-sm, 8px) !important;
  background: rgba(10, 11, 14, 0.65) !important;
  padding: 16px !important;
}

.vcd29-source-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--line-subtle, rgba(223, 196, 127, 0.10)) !important;
  margin-bottom: 12px !important;
}

.vcd29-source-head strong {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--gold-bright, #f5dc98) !important;
}

.vcd29-source-head span {
  font-size: 10px !important;
  letter-spacing: 0.16em !important;
  color: var(--text-muted, #8c8577) !important;
}

.vcd29-source-title {
  font-size: 11px !important;
  color: var(--text-muted, #8c8577) !important;
  margin-bottom: 8px !important;
}

.vcd29-episode-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.vcd29-episode-list a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 60px !important;
  height: 32px !important;
  padding: 0 12px !important;
  border-radius: var(--radius-pill, 9999px) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(223, 196, 127, 0.20) !important;
  color: var(--text-sub, #c8c0b0) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.vcd29-episode-list a:hover {
  border-color: var(--gold, #dfc47f) !important;
  color: #fff !important;
  background: rgba(223, 196, 127, 0.12) !important;
}

.vcd29-episode-list a.active {
  background: linear-gradient(135deg, var(--gold-bright, #f5dc98) 0%, var(--gold, #dfc47f) 100%) !important;
  border-color: var(--gold, #dfc47f) !important;
  color: var(--text-dark, #0a0b0e) !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(223, 196, 127, 0.35) !important;
}


/* ==========================================================================
   Watch Page - Official APP Download Guide Card (Sidebar)
   ========================================================================== */
.vcd29-app-side-card {
  position: relative !important;
  border: 1px solid rgba(223, 196, 127, 0.28) !important;
  border-radius: var(--radius-sm, 10px) !important;
  background: linear-gradient(145deg, rgba(22, 25, 35, 0.92) 0%, rgba(12, 14, 18, 0.95) 100%) !important;
  padding: 14px 16px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(223, 196, 127, 0.08) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.vcd29-app-side-card:hover {
  border-color: rgba(223, 196, 127, 0.55) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 26px rgba(223, 196, 127, 0.16) !important;
  transform: translateY(-2px) !important;
}

.vcd29-app-side-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, #10b981 0%, var(--gold-bright, #f5dc98) 60%, transparent 100%) !important;
}

.vcd29-app-card-badge {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: 11px !important;
  margin-bottom: 11px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(223, 196, 127, 0.12) !important;
}

.vcd29-app-pulse {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
  flex-shrink: 0 !important;
  animation: vcdPulseDot 2s infinite ease-in-out !important;
}

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

.vcd29-app-badge-text {
  font-weight: 700 !important;
  color: var(--gold-bright, #f5dc98) !important;
  letter-spacing: 0.04em !important;
  font-size: 12px !important;
  margin-right: auto !important;
}

.vcd29-app-badge-tags {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.vcd29-app-badge-tag {
  padding: 1px 6px !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(223, 196, 127, 0.22) !important;
  color: var(--text-sub, #c8c0b0) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}

.vcd29-app-badge-tag.vcd29-app-badge-free {
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
  color: #34d399 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.25) !important;
}

.vcd29-app-card-main {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.vcd29-app-qr-thumb {
  position: relative !important;
  width: 86px !important;
  height: 86px !important;
  padding: 5px !important;
  background: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.vcd29-app-qr-thumb img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: crisp-edges !important;
}

.vcd29-app-qr-tip {
  position: absolute !important;
  bottom: -4px !important;
  background: #0a0b0e !important;
  border: 1px solid rgba(223, 196, 127, 0.5) !important;
  color: var(--gold-bright, #f5dc98) !important;
  font-size: 9px !important;
  line-height: 1 !important;
  padding: 2px 5px !important;
  border-radius: 3px !important;
  white-space: nowrap !important;
  font-weight: 600 !important;
  transform: scale(0.9) !important;
}

.vcd29-app-card-info {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.vcd29-app-title {
  display: block !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.3 !important;
  letter-spacing: 0.02em !important;
}

.vcd29-app-desc {
  margin: 0 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: var(--text-muted, #8c8577) !important;
}

.vcd29-app-actions {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 4px !important;
}

.vcd29-app-link-btn {
  flex: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 26px !important;
  padding: 0 10px !important;
  border-radius: var(--radius-pill, 9999px) !important;
  background: linear-gradient(135deg, var(--gold-bright, #f5dc98) 0%, var(--gold, #dfc47f) 100%) !important;
  color: #0a0b0e !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(223, 196, 127, 0.3) !important;
  white-space: nowrap !important;
}

.vcd29-app-link-btn:hover {
  background: linear-gradient(135deg, #fff 0%, var(--gold-bright, #f5dc98) 100%) !important;
  box-shadow: 0 4px 14px rgba(223, 196, 127, 0.5) !important;
  transform: translateY(-1px) !important;
  color: #000 !important;
}

.vcd29-app-direct-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 26px !important;
  padding: 0 10px !important;
  border-radius: var(--radius-pill, 9999px) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(223, 196, 127, 0.28) !important;
  color: var(--gold-bright, #f5dc98) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.vcd29-app-direct-btn:hover {
  background: rgba(223, 196, 127, 0.15) !important;
  border-color: var(--gold, #dfc47f) !important;
  color: #fff !important;
}

/* Up Next Queue Panel */
.vcd-play-queue-panel {
  border: 1px solid rgba(223, 196, 127, 0.18) !important;
  border-radius: var(--radius-sm, 8px) !important;
  background: rgba(10, 11, 14, 0.65) !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
}

.vcd-queue-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--line-subtle, rgba(223, 196, 127, 0.10)) !important;
  margin-bottom: 10px !important;
}

.vcd-queue-head strong {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--gold-bright, #f5dc98) !important;
}

.vcd-queue-head span {
  font-size: 9px !important;
  letter-spacing: 0.16em !important;
  color: var(--text-muted, #8c8577) !important;
}

.vcd-queue-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  max-height: 520px !important;
  overflow-y: auto !important;
  padding-right: 6px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(223, 196, 127, 0.28) transparent !important;
}

.vcd-queue-list::-webkit-scrollbar {
  width: 5px !important;
}

.vcd-queue-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02) !important;
  border-radius: 9999px !important;
}

.vcd-queue-list::-webkit-scrollbar-thumb {
  background: rgba(223, 196, 127, 0.25) !important;
  border-radius: 9999px !important;
  transition: background 0.2s ease !important;
}

.vcd-queue-list::-webkit-scrollbar-thumb:hover {
  background: rgba(223, 196, 127, 0.6) !important;
}

.vcd-queue-list::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.vcd-queue-item {
  display: grid !important;
  grid-template-columns: 110px 1fr !important;
  gap: 10px !important;
  align-items: center !important;
  text-decoration: none !important;
  padding: 6px !important;
  border-radius: var(--radius-xs, 4px) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
}

.vcd-queue-item:hover {
  background: rgba(223, 196, 127, 0.08) !important;
  border-color: rgba(223, 196, 127, 0.25) !important;
  transform: translateX(2px) !important;
}

.vcd-queue-item.current {
  background: rgba(223, 196, 127, 0.12) !important;
  border-color: var(--gold, #dfc47f) !important;
}

.vcd-queue-pic {
  position: relative !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  background: #000 !important;
}

.vcd-queue-pic img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.vcd-queue-tag {
  position: absolute !important;
  right: 4px !important;
  bottom: 4px !important;
  padding: 1px 4px !important;
  font-size: 9px !important;
  border-radius: 2px !important;
  background: rgba(0, 0, 0, 0.8) !important;
  color: var(--gold-bright, #f5dc98) !important;
}

.vcd-queue-info {
  min-width: 0 !important;
}

.vcd-queue-info h4 {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--text-main, #f5f2eb) !important;
  line-height: 1.35 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 0 3px !important;
}

.vcd-queue-info p {
  font-size: 11px !important;
  color: var(--text-muted, #8c8577) !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ==========================================================================
   Related Videos Shelf Below Theater
   ========================================================================== */
.vcd29-related {
  padding-top: 10px !important;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1100px) {
  .vcd29-watch-page {
    width: calc(100% - 24px) !important;
    padding-top: 14px !important;
  }
  .vcd29-theater {
    padding: 16px !important;
  }
  .vcd29-head {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .vcd29-layout {
    grid-template-columns: 1fr !important;
  }
  .vcd29-side {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 640px) {
  .vcd29-theater {
    padding: 12px !important;
  }
  .vcd29-player-footbar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .vcd29-shortcuts-tip {
    display: none !important;
  }
}
