:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --bg-main: #09090b;
  --bg-surface: #121216;
  --bg-surface-elevated: #1a1a22;
  --bg-surface-hover: #22222d;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.6);
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent-primary: #6366f1;
  --accent-primary-hover: #4f46e5;
  --accent-glow: rgba(99, 102, 241, 0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
}

/* Global Reset & Typography */
html {
  scrollbar-gutter: stable;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans) !important;
  background-color: var(--bg-main) !important;
  color: var(--text-primary) !important;
  min-height: 100vh;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Accessible Keyboard Navigation */
:focus-visible {
  outline: 2px solid var(--accent-primary) !important;
  outline-offset: 2px !important;
}

.vod-btn-primary:focus-visible,
.vod-btn-ghost:focus-visible,
.vod-search-btn:focus-visible,
.vod-nav-link:focus-visible,
.btn-mark-watched:focus-visible,
.vod-context-btn:focus-visible,
.vod-poster-card:focus-visible,
.vod-poster-card-link:focus-visible,
.vod-poster-play-pill:focus-visible,
.vod-episode-thumb-wrap:focus-visible,
.accordion-button:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 2px var(--bg-main), 0 0 0 4px var(--accent-primary) !important;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Glassmorphism Navbar */
.vod-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 12, 16, 0.82) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle) !important;
  padding: 0.65rem 1.25rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vod-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff !important;
}

.vod-brand-badge {
  background: #4338ca;
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.vod-nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.925rem;
  padding: 0.45rem 0.85rem !important;
  border-radius: var(--radius-md);
  transition: all 0.15s ease-in-out;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.vod-nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
}

.vod-nav-link.active {
  color: #fff !important;
  background: rgba(99, 102, 241, 0.15);
  font-weight: 600;
}

.vod-search-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary) !important;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.vod-search-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}

.vod-btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff !important;
  border: none;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.15s ease;
}

.vod-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.vod-btn-ghost {
  background: transparent;
  color: var(--text-secondary) !important;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.85rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.vod-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Cards & Surfaces */
.card, .bg-body-tertiary, .bg-dark {
  background-color: var(--bg-surface) !important;
  border-color: var(--border-subtle) !important;
  color: var(--text-primary) !important;
}

.card {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Form Controls & Inputs */
.form-control,
.form-select {
  background-color: var(--bg-surface-elevated) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.65rem 0.95rem !important;
  font-size: 0.925rem !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
}

.form-control:focus,
.form-select:focus {
  background-color: var(--bg-surface-hover) !important;
  border-color: var(--accent-primary) !important;
  color: #fff !important;
  box-shadow: 0 0 0 3px var(--accent-glow) !important;
  outline: none !important;
}

.form-control::placeholder {
  color: var(--text-muted) !important;
}

.form-label {
  color: var(--text-secondary) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.4rem !important;
  letter-spacing: -0.01em !important;
}

/* High-Contrast Neutral Text Tokens */
.text-secondary {
  color: var(--text-secondary) !important;
}

.text-muted {
  color: #9ca3af !important;
}

/* Login & Authentication Surface */
.vod-auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: var(--bg-main);
}

.vod-auth-card {
  width: 100%;
  max-width: 420px;
  background-color: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  padding: 2.5rem 2rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-sans);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
  color: #fff !important;
}

.section-title i {
  color: var(--accent-primary);
  filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.4));
}

/* Grids */
.vod-poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .vod-poster-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }
}

.vod-episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

/* Show Poster Card */
.vod-poster-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 2 / 3;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.vod-poster-card:hover,
.vod-poster-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.vod-poster-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-decoration: none !important;
  outline: none;
}

.vod-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #181820 0%, #121216 100%);
}

.vod-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 40%, rgba(9,9,11,0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem;
  z-index: 2;
  pointer-events: none;
}

.vod-poster-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.vod-poster-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.vod-poster-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.vod-poster-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Episode Grids & Cards */
/* Episode Grids & Cards */
.vod-episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.25rem;
}

.vod-episode-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.vod-episode-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(99, 102, 241, 0.25);
}

.vod-episode-card-horizontal {
  flex-direction: row;
  align-items: stretch;
  min-height: 120px;
}

.vod-episode-thumb-wrap {
  position: relative;
  width: 90px;
  min-width: 90px;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #181820 0%, #121216 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-right: 1px solid var(--border-subtle);
}

.vod-episode-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.vod-episode-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.vod-episode-card:hover .vod-episode-thumb-overlay,
.vod-episode-thumb-wrap:focus-visible .vod-episode-thumb-overlay {
  opacity: 1;
  background: rgba(9, 9, 11, 0.55);
}

.vod-episode-play-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 12px rgba(99, 102, 241, 0.4);
  transform: scale(0.9);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vod-episode-card:hover .vod-episode-play-icon {
  transform: scale(1);
}

@media (max-width: 480px) {
  .vod-episode-card-horizontal {
    flex-direction: column;
    min-height: unset;
  }
  .vod-episode-thumb-wrap {
    width: 100%;
    height: 140px;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}

.vod-episode-body {
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.vod-episode-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vod-episode-show {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vod-episode-footer {
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vod-progress-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.25rem;
}

.vod-episode-card .vod-progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0;
  overflow: hidden;
  margin-top: 0;
  z-index: 3;
}

.vod-progress-bar-fill {
  height: 100%;
  background: var(--accent-primary);
  border-radius: 2px;
}

.vod-episode-card .vod-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1 0%, #a855f7 100%);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
  border-radius: 0;
}

.badge-time-left {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.badge-air-date {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Action Badges & Buttons */
.badge-network {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.badge,
.vjs-control-text,
.vjs-control-text-loaded-percentage {
  line-height: 1.4 !important;
}

.badge-unwatched {
  background: #4338ca;
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  line-height: 1.4 !important;
}

.badge-daily {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.badge-section-count {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full, 9999px);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  line-height: 1.4 !important;
}

.btn-mark-watched {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.35rem 0.6rem;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-mark-watched:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-mark-watched::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 44px;
  min-height: 44px;
}

/* Sidebar & Navigation Panels */
.vod-sidebar {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  position: sticky;
  top: 1rem;
}

.vod-sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vod-sidebar-show-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.vod-sidebar-poster {
  width: 44px;
  height: 66px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.vod-sidebar-show-label {
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.15rem;
}

.vod-sidebar-show-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem 0;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge-season-count {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
}

.badge-season-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

.vod-season-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  display: inline-block;
  flex-shrink: 0;
}

.vod-season-dot.active {
  background: var(--accent-primary);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.7);
}

/* Modern Accordion */
.accordion-item {
  background: var(--bg-surface-elevated) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

/* Flatten nested cards inside vod-sidebar */
.vod-sidebar .accordion-item {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  border-radius: 0 !important;
  margin-bottom: 0;
}

.accordion-button {
  background: var(--bg-surface-elevated) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1rem !important;
  box-shadow: none !important;
}

.vod-sidebar .accordion-button {
  background: transparent !important;
  padding: 0.75rem 0.5rem !important;
}

.accordion-button:not(.collapsed) {
  background: var(--bg-surface-hover) !important;
  color: var(--accent-primary) !important;
  border-bottom: 1px solid var(--border-subtle);
}

.vod-sidebar .accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.03) !important;
}

.accordion-button::after {
  filter: invert(1) grayscale(100%);
}

.accordion-body {
  background: var(--bg-surface) !important;
  padding: 0.5rem !important;
}

.vod-sidebar .accordion-body {
  background: transparent !important;
  padding: 0.25rem 0 !important;
}

.vod-season-episodes {
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

/* List Groups & Episode Items */
.list-group-item {
  background: transparent !important;
  border-color: var(--border-subtle) !important;
  color: var(--text-primary) !important;
  padding: 0.5rem 0.65rem !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 2px;
  transition: all 0.15s ease;
}

.list-group-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

.list-group-item.active {
  background: rgba(99, 102, 241, 0.15) !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
  box-shadow: inset 3px 0 0 var(--accent-primary) !important;
  color: #fff !important;
}

.list-group-item.active a {
  color: #fff !important;
  font-weight: 600;
}

.vod-episode-list-item {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-primary);
  padding: 0.45rem 0.6rem !important;
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
  transition: all 0.15s ease;
  list-style: none;
  overflow: hidden;
  max-width: 100%;
}

.vod-episode-list-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.08);
}

.vod-episode-list-item.active {
  background: rgba(99, 102, 241, 0.12) !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
  box-shadow: inset 3px 0 0 var(--accent-primary), 0 2px 10px rgba(99, 102, 241, 0.12) !important;
  color: #fff !important;
}

.vod-episode-idx {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  min-width: 24px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vod-episode-list-item.active .vod-episode-idx {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.vod-episode-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.15s ease;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.vod-episode-list-item:hover .vod-episode-link {
  color: #fff;
}

.vod-episode-list-item.active .vod-episode-link {
  color: #fff !important;
  font-weight: 600;
}

.badge-now-playing {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(168, 85, 247, 0.25) 100%);
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: #c7d2fe;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
  white-space: nowrap;
}

.badge-now-playing i {
  color: #818cf8;
}

.vod-btn-season-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vod-btn-season-action.watch-all:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.vod-btn-season-action.reset:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* Show Navigation Sidebar Items */
.vod-show-nav-item {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.45rem 0.55rem !important;
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
  transition: all 0.15s ease;
  list-style: none;
}

.vod-show-nav-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.08);
}

.vod-show-nav-item.active {
  background: rgba(99, 102, 241, 0.12) !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
  box-shadow: inset 3px 0 0 var(--accent-primary), 0 2px 10px rgba(99, 102, 241, 0.12) !important;
}

.vod-show-nav-thumb {
  width: 28px;
  height: 42px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, #181820 0%, #121216 100%);
  flex-shrink: 0;
}

.vod-show-nav-thumb-fallback {
  width: 28px;
  height: 42px;
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.vod-show-nav-item.active .vod-show-nav-thumb {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 6px rgba(99, 102, 241, 0.4);
}

.vod-show-nav-item {
  overflow: hidden;
  max-width: 100%;
}

.vod-show-nav-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.25;
  transition: color 0.15s ease;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.vod-show-nav-item:hover .vod-show-nav-link {
  color: #fff;
}

.vod-show-nav-item.active .vod-show-nav-link {
  color: #fff !important;
  font-weight: 600;
}

.vod-show-nav-network {
  font-size: 0.675rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  font-weight: 600;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.vod-show-nav-item.active .vod-show-nav-network {
  color: #a5b4fc;
}

.vod-show-active-indicator {
  font-size: 0.85rem;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.5));
}

.gap-1\.5 {
  gap: 0.375rem !important;
}

/* Universal Flexbox Min-Width Reset for Ellipsis / Truncation */
.min-w-0 {
  min-width: 0 !important;
}

/* Player Container */
.vod-player-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.vod-player-header {
  margin-bottom: 1rem;
}

.vod-player-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  max-width: 75ch;
}

.vod-player-wrapper p {
  max-width: 72ch;
}

.vod-player-wrapper .text-center p,
.vod-player-wrapper p.text-center {
  margin-inline: auto;
}

/* Subtitle Translation Banner */
.vod-translate-banner {
  background: rgba(245, 158, 11, 0.08) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.75rem 1rem !important;
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.vod-translate-banner .btn-translate {
  background: #f59e0b !important;
  color: #09090b !important;
  font-weight: 600 !important;
  font-size: 0.825rem !important;
  padding: 0.375rem 0.85rem !important;
  border-radius: var(--radius-sm) !important;
  border: none !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
  transition: background-color 0.15s ease, transform 0.15s ease !important;
}

.vod-translate-banner .btn-translate:hover {
  background: #fbbf24 !important;
  transform: translateY(-1px);
  color: #09090b !important;
}

.vod-translate-banner .btn-translate:disabled {
  opacity: 0.7 !important;
  transform: none !important;
  cursor: not-allowed;
}

.vod-translate-banner.vod-translate-success {
  background: rgba(16, 185, 129, 0.08) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

.vod-player-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Video.js Modern Skinning */
.video-js {
  width: 100% !important;
  font-size: 12px !important;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.video-js video {
  border-radius: var(--radius-md);
}

.video-js,
.video-js .vjs-control-bar,
.video-js .vjs-control,
.video-js .vjs-time-control,
.video-js .vjs-time-tooltip,
.video-js .vjs-mouse-display,
.video-js .vjs-live-display,
.video-js .vjs-chapters-button,
.video-js .vjs-control-text {
  font-size: 12px !important;
}

.video-js .vjs-time-control {
  font-family: monospace, var(--font-sans) !important;
  line-height: 3em !important;
}

.video-js .vjs-big-play-button {
  background-color: rgba(99, 102, 241, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  border-radius: 50% !important;
  width: 64px !important;
  height: 64px !important;
  line-height: 64px !important;
  margin-top: -32px !important;
  margin-left: -32px !important;
  backdrop-filter: blur(8px);
}

/* Prevent Video.js upstream progress and volume layout-transition warnings */
.video-js .vjs-progress-control .vjs-load-progress,
.video-js .vjs-progress-control .vjs-play-progress,
.video-js .vjs-volume-panel,
.video-js .vjs-volume-control,
.video-js .vjs-volume-bar {
  transition: opacity 0.15s ease, visibility 0.15s ease !important;
}

/* Player Action Bar & Builders */
.vod-action-bar-container {
  container-type: inline-size;
  width: 100%;
}

.vod-action-bar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.vod-action-nav,
.vod-action-progress,
.vod-action-creations {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Enforce uniform height, single-line text & alignment across all action buttons */
.vod-action-bar .btn,
.vod-action-bar .vod-btn-ghost {
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 0.75rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  font-size: 0.825rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  border-radius: var(--radius-sm) !important;
  flex-shrink: 0;
  text-decoration: none !important;
}

.vod-action-bar .btn span,
.vod-action-bar .vod-btn-ghost span {
  white-space: nowrap !important;
}

.vod-action-bar .btn i,
.vod-action-bar .vod-btn-ghost i {
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Wide screens: All on 1 single row */
@container (min-width: 821px) {
  .vod-action-bar {
    flex-wrap: nowrap;
  }
  .vod-action-nav {
    order: 1;
  }
  .vod-action-creations {
    order: 2;
    margin-left: auto;
    margin-right: 0.5rem;
  }
  .vod-action-progress {
    order: 3;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Medium & Narrow screens: Row 1 = Nav + Progress; Row 2 = Creations (50/50 full width) */
@container (max-width: 820px) {
  .vod-action-bar {
    gap: 0.6rem;
  }
  .vod-action-nav {
    order: 1;
  }
  .vod-action-progress {
    order: 2;
    margin-left: auto;
  }
  .vod-action-creations {
    order: 3;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .vod-action-creations .btn {
    flex: 1;
  }
}

/* Mobile & Ultra-compact: Hide nav/progress text labels, show icons */
@container (max-width: 500px) {
  .vod-action-nav .vod-btn-label {
    display: none;
  }
  .vod-action-progress span {
    display: none;
  }
  .vod-action-progress .btn {
    padding: 0 0.5rem !important;
    width: 34px !important;
  }
}

.btn-gay, .vod-btn-gradient-orange {
  background: var(--accent-orange, #ea580c) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-gay:hover, .vod-btn-gradient-orange:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  color: #fff !important;
}

.vod-btn-gradient-purple {
  background: var(--accent-primary) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.vod-btn-gradient-purple:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  color: #fff !important;
}

/* Builder Drawers (Clip & Meme) */
.vod-builder-drawer {
  background: #111116;
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  animation: slideDownFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vod-builder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.65rem;
  margin-bottom: 0.85rem;
}

.vod-segment-chip, .vod-frame-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}

.vod-segment-chip:hover, .vod-frame-chip:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.06);
}

.vod-segment-chip.active-preview {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.15);
}

.vod-time-tag {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-family: monospace;
  font-size: 0.825rem;
  color: #a5b4fc;
  cursor: pointer;
  transition: background 0.15s ease;
}

.vod-time-tag:hover {
  background: rgba(99, 102, 241, 0.3);
  color: #fff;
}

/* =========================================================
   Modern Context Menu & Dropdown Styling
   ========================================================= */
.dropdown-menu,
.dropdown-menu-dark,
.vod-dropdown-menu {
  background: rgba(18, 20, 29, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 12px 36px -4px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  padding: 0.4rem !important;
  min-width: 12.5rem !important;
  animation: dropdownFadeScale 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform-origin: top right;
  z-index: 1055 !important;
}

@keyframes dropdownFadeScale {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.dropdown-item {
  border-radius: 0.5rem !important;
  padding: 0.5rem 0.75rem !important;
  color: #cbd5e1 !important;
  font-size: 0.825rem !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: all 0.15s ease !important;
  border: none !important;
  background: transparent;
  width: 100%;
  text-align: left;
  line-height: 1.25 !important;
}

.dropdown-item i {
  font-size: 0.95rem !important;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(99, 102, 241, 0.15) !important;
  color: #ffffff !important;
  transform: translateX(2px);
}

.dropdown-item:hover i {
  transform: scale(1.1);
}

.dropdown-item.text-danger {
  color: #f87171 !important;
}

.dropdown-item.text-danger:hover,
.dropdown-item.text-danger:focus {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #fca5a5 !important;
}

.dropdown-divider {
  border-color: rgba(255, 255, 255, 0.08) !important;
  margin: 0.35rem 0.25rem !important;
  opacity: 1 !important;
}

.vod-context-btn,
.btn-ghost {
  position: relative;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #94a3b8 !important;
  background: transparent;
  border: none;
  transition: all 0.15s ease;
}

/* Accessible 44x44px mobile touch target */
.vod-context-btn::after,
.btn-ghost::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 44px;
  min-height: 44px;
}

.vod-context-btn:hover,
.vod-context-btn[aria-expanded="true"],
.btn-ghost:hover,
.btn-ghost[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

/* =========================================================
   In-Player Next Up Overlay ("Binge Continuity")
   ========================================================= */
.vjs-next-up-overlay {
  position: absolute;
  bottom: 54px;
  right: 16px;
  z-index: 20;
  pointer-events: auto;
  animation: vjsNextUpSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes vjsNextUpSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vjs-next-up-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.vjs-next-up-thumbnail {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vjs-countdown-ring {
  width: 44px;
  height: 44px;
  transform: rotate(-90deg);
}

.vjs-countdown-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 3.2;
}

.vjs-countdown-bar {
  fill: none;
  stroke: var(--accent-primary);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.vjs-countdown-number {
  position: absolute;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: monospace, var(--font-sans);
  line-height: 1.4;
}

.vjs-next-up-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 140px;
  max-width: 240px;
}

.vjs-next-up-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
}

.vjs-next-up-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vjs-next-up-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

#next-up-play-btn:focus-visible,
#next-up-cancel-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--bg-surface), 0 0 0 4px var(--accent-primary) !important;
  outline: none !important;
}

/* Kbd Badges for Shortcuts Modal */
.vod-kbd {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-sans), monospace;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}

/* Show Poster Play Pill */
.vod-poster-play-pill {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  background: var(--accent-primary);
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full, 9999px);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 12px var(--accent-glow);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease;
  pointer-events: none;
}

.vod-poster-card:hover .vod-poster-play-pill,
.vod-poster-card:focus-within .vod-poster-play-pill {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.vod-poster-play-pill:hover {
  background: var(--accent-primary-hover);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(99, 102, 241, 0.4);
}

/* Watch Together Screening Room Dock */
.vod-screening-room-dock {
  background: linear-gradient(135deg, rgba(26, 26, 34, 0.85) 0%, rgba(18, 18, 22, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 24px rgba(99, 102, 241, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.vod-screening-room-dock:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 28px rgba(99, 102, 241, 0.15);
}

.vod-screening-dock-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.vod-screening-dock-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.vod-screening-dock-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.vod-screening-dock-icon.active {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.3);
}

.vod-pulse-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full, 9999px);
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #ef4444; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.badge-screening-live {
  background: linear-gradient(135deg, #ef4444 0%, rgba(239, 68, 68, 0.85) 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full, 9999px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
  line-height: 1.4 !important;
}

.badge-screening-ready {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full, 9999px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  line-height: 1.4 !important;
}

/* Undo Toast Notification */
#vod-undo-toast {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1080;
  min-width: 320px;
  max-width: 90vw;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#vod-undo-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.vod-undo-toast-inner {
  background: rgba(18, 18, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

.vod-undo-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
}

.vod-undo-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-primary) 0%, #a855f7 100%);
  animation: undoTimer 6s linear forwards;
}

@keyframes undoTimer {
  from { width: 100%; }
  to { width: 0%; }
}

/* Zero-State Card */
.vod-zero-state-card {
  background: var(--bg-surface);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.vod-zero-state-icon-cluster {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full, 9999px);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Show Detail Overview Hero */
.vod-show-hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.vod-hero-poster-img,
.vod-hero-poster-placeholder {
  width: 140px;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.vod-hero-poster-placeholder {
  background: linear-gradient(135deg, #181820 0%, #121216 100%);
}

.border-subtle {
  border-color: var(--border-subtle) !important;
}

/* =========================================================
   Intentional Motion Sensitivity (Prefers-Reduced-Motion)
   Preserves visual state feedback while disabling displacement & rapid shifts
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .vod-poster-card,
  .vod-poster-play-pill,
  .vod-episode-card,
  .vod-btn-primary,
  .vod-btn-ghost,
  .btn-mark-watched,
  .vod-nav-link,
  .btn-gay,
  .vod-btn-gradient-orange,
  .vod-btn-gradient-purple {
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
  }

  .vod-poster-card:hover,
  .vod-poster-play-pill:hover,
  .vod-episode-card:hover,
  .vod-btn-primary:hover,
  .btn-gay:hover,
  .vod-btn-gradient-orange:hover,
  .vod-btn-gradient-purple:hover {
    transform: none !important;
  }

  .vod-builder-drawer,
  .dropdown-menu,
  .dropdown-menu-dark,
  .vod-dropdown-menu,
  .vjs-next-up-overlay,
  #vod-undo-toast {
    animation: none !important;
    transform: none !important;
  }

  .vjs-countdown-bar,
  .vod-undo-progress-fill {
    transition: none !important;
    animation: none !important;
  }

  .spinner-border {
    animation-duration: 2s !important;
  }
}



