/* =========================================================
   SANSAT VOD TV & PC ENGINE — MODERN HIGH-PERFORMANCE UI
   Vector scalable (1rem = ~17.45px @ 1920x1080, 8.73px @ 960x540).
   Proportional dynamic scaling: min(calc(100vw / 110), calc(100vh / 61.875)).
   Supports TV Remote (D-Pad), PC Keyboard, Mouse (Click/Hover), and Mouse Wheel.
   100% Isolated for TV & Desktop (Zero interference with Mobile).
========================================================= */

html.tv-vod-mode {
  font-size: min(calc(100vw / 110), calc(100vh / 61.875)) !important;
}

#tv-vod-app {
  --bg: #12070b;
  --bg2: #2a0b14;
  --panel: #1d0a11;
  --accent: #dc2626;
  --gold: #facc15;
  --text: #f6eef0;
  --muted: #b9a3aa;
  --left: 29rem;
  --cols: 5;

  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(120deg, var(--bg2) 0%, var(--bg) 75%);
  color: var(--text);
  font-family: "Tajawal", "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  direction: ltr !important;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1;
}

#tv-vod-app,
#tv-series-app,
.tv-catalog-app,
#tv-vod-app #stage,
#tv-vod-app #side,
#tv-vod-app #content,
#tv-vod-app #grid,
#tv-vod-app #hero,
#tv-vod-app #detail,
#tv-vod-app #dPosterCol,
#tv-vod-app #dMain,
#tv-vod-app #dEps,
#tv-vod-app #epList,
#tv-vod-app #dCastRow,
#tv-vod-app #top,
#tv-vod-app #panel,
#tv-vod-app #rOv {
  direction: ltr !important;
}

#tv-vod-app *,
#tv-vod-app *::before,
#tv-vod-app *::after {
  box-sizing: border-box;
}

#tv-vod-app[data-mode="grid"] {
  --left: 3.5rem;
  --cols: 6;
}

/* ====== HERO SECTION ====== */
#tv-vod-app #hero {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 52%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

#tv-vod-app #heroBg {
  position: absolute;
  right: 2.5rem;
  top: 1.5rem;
  width: 44%;
  max-width: 48rem;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 1rem 3.5rem rgba(0, 0, 0, 0.85);
  transition: opacity 0.3s ease-out;
}

#tv-vod-app #heroBg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(18, 7, 11, 0.8) 0%, rgba(18, 7, 11, 0.25) 30%, transparent 65%),
    linear-gradient(to top, rgba(18, 7, 11, 0.75) 0%, transparent 35%);
}

#tv-vod-app #heroInfo {
  position: absolute;
  left: var(--left);
  top: 3.2rem;
  max-width: calc(100% - var(--left) - 50rem);
  min-width: 34rem;
  opacity: 0;
  transition: left 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#tv-vod-app #heroInfo.in {
  animation: tvVodFadeUp 0.3s ease-out forwards;
}

#tv-vod-app #hLogoWrap {
  height: 8.5rem;
  display: flex;
  align-items: flex-end;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

#tv-vod-app #hLogo {
  max-width: 36rem;
  max-height: 8.5rem;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.95));
}

#tv-vod-app #hTitle {
  font-size: 3.2rem;
  line-height: 1.18;
  font-weight: 800;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

#tv-vod-app .meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

#tv-vod-app .imdb {
  background: var(--gold);
  color: #111111;
  padding: 0.2rem 0.8rem;
  border-radius: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

#tv-vod-app #hGenre {
  color: var(--muted);
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}

#tv-vod-app #hStar {
  display: none !important;
}

#tv-vod-app #hDesc {
  font-size: 1.55rem;
  line-height: 1.55;
  color: #e8dde0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 1.0rem 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  width: 100%;
}

/* ====== TOP ACTION PILLS & SEARCH ====== */
#tv-vod-app #top {
  position: absolute;
  top: 1.8rem;
  right: 2.5rem;
  display: flex;
  gap: 0.9rem;
  z-index: 50;
  align-items: center;
  transition: right 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s;
}

#tv-vod-app[data-panel="open"] #top,
#tv-series-app[data-panel="open"] #top,
#tv-vod-app #panel.show ~ #top {
  display: none !important;
}

#tv-vod-app[data-detail="open"] #top,
#tv-vod-app[data-detail="open"] #tvSearchBar,
#tv-vod-app[data-detail="open"] #content,
#tv-vod-app[data-detail="open"] #side,
#tv-vod-app[data-detail="open"] #hero,
#tv-series-app[data-detail="open"] #top,
#tv-series-app[data-detail="open"] #tvSearchBar,
#tv-series-app[data-detail="open"] #content,
#tv-series-app[data-detail="open"] #side,
#tv-series-app[data-detail="open"] #hero {
  display: none !important;
}

#tv-vod-app .tb {
  width: 4.2rem;
  height: 4.2rem;
  min-width: 4.2rem;
  padding: 0;
  border-radius: 50%;
  background: transparent !important;
  border: 0.18rem solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 800;
  cursor: pointer;
  color: #ffffff;
  transition: transform 0.16s, border-color 0.16s, background-color 0.16s, box-shadow 0.16s, color 0.16s;
}

#tv-vod-app .tb svg {
  width: 2.2rem;
  height: 2.2rem;
  fill: currentColor;
  flex-shrink: 0;
}

#tv-vod-app .tb.f,
#tv-vod-app .tb:hover {
  border-color: var(--gold) !important;
  background: var(--gold) !important;
  color: #111111 !important;
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.7);
}

#tv-vod-app .tb.tb-counter {
  width: auto;
  min-width: 5.6rem;
  height: 4.2rem;
  border-radius: 9999px;
  padding: 0 1.4rem;
  font-size: 1.35rem;
  font-weight: 800;
  cursor: default;
  pointer-events: none;
  background: transparent !important;
  border: 0.18rem solid rgba(255, 255, 255, 0.28);
}

/* FLOATING EXPANDED SEARCH BAR (ONLY APPEARS ON EXPLICIT ACTIVATION) */
#tv-vod-app #tvSearchBar {
  position: absolute;
  top: 1.6rem;
  left: var(--left);
  right: 2.5rem;
  max-width: 58rem;
  z-index: 35;
  display: flex;
  align-items: center;
  animation: tvVodFadeUp 0.2s ease-out;
}

#tv-vod-app .tb-search-inner {
  width: 100%;
  height: 4.8rem;
  background: rgba(18, 7, 11, 0.97);
  border: 0.22rem solid var(--gold);
  border-radius: 2.4rem;
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.92);
}

#tv-vod-app .tb-search-icon {
  width: 2.2rem;
  height: 2.2rem;
  fill: var(--gold);
  flex-shrink: 0;
  margin-right: 0.8rem;
}

#tv-vod-app #tvSearchInput {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.55rem;
  font-weight: 700;
  padding: 0 0.6rem;
}

#tv-vod-app #tvSearchInput::placeholder {
  color: var(--muted);
  font-weight: 500;
}

#tv-vod-app #tvSearchClear {
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  border-radius: 50%;
  margin-right: 0.8rem;
  transition: background 0.15s, color 0.15s;
}

#tv-vod-app #tvSearchClear:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

#tv-vod-app #tvSearchClose {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.4rem 1.1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}

#tv-vod-app #tvSearchClose:hover {
  background: var(--accent);
}

/* ====== SIDEBAR (CATEGORIES) ====== */
#tv-vod-app #side {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 26rem;
  padding: 2rem 1.2rem;
  background: linear-gradient(to right, rgba(18, 7, 11, 0.94), rgba(18, 7, 11, 0.55));
  transform: translateX(0);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  z-index: 4;
}

#tv-vod-app[data-mode="grid"] #side {
  transform: translateX(-100%);
}

#tv-vod-app #catsVp {
  height: 100%;
  overflow: hidden;
}

#tv-vod-app #cats {
  position: relative;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

#tv-vod-app .cat {
  height: 3.6rem;
  margin-bottom: 0.35rem;
  padding: 0 1.1rem;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.3rem;
  font-weight: 700;
  color: #eadde1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

#tv-vod-app .cat span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 0.8rem;
}

#tv-vod-app .cat small {
  color: var(--muted);
  font-size: 1.15rem;
  flex-shrink: 0;
}

#tv-vod-app .cat.on {
  box-shadow: inset 0.35rem 0 0 var(--accent);
}

#tv-vod-app .cat.f,
#tv-vod-app .cat:hover {
  background: #ffffff;
  color: #111111;
}

#tv-vod-app .cat.f small,
#tv-vod-app .cat:hover small {
  color: #555555;
}

/* ====== MAIN CONTENT / POSTERS GRID ====== */
#tv-vod-app #content {
  position: absolute;
  left: var(--left);
  right: 2.5rem;
  bottom: 0.6rem;
  top: auto;
  height: 26.2rem;
  transition: left 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#tv-vod-app[data-mode="menu"] #content {
  height: 24.2rem;
}

#tv-vod-app #content.enter {
  animation: tvVodFadeUp 0.25s ease-out;
}

#tv-vod-app .chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.45rem 1.4rem;
  border-radius: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 1.0rem;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  clear: both;
}

#tv-vod-app #vp {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

#tv-vod-app #grid {
  position: relative;
  padding: 1.0rem 0.8rem 1.6rem 0.8rem;
  display: grid;
  column-gap: 1.4rem;
  row-gap: 3.5rem;
  grid-template-columns: repeat(var(--cols), 1fr);
  transition: transform 0.22s ease-out;
  will-change: transform;
}

#tv-vod-app .card {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  contain: layout paint;
  border: 0.25rem solid transparent;
  transition: transform 0.16s, border-color 0.16s, box-shadow 0.16s;
  background-size: cover;
  background-position: center;
  background-color: #1c0810;
  cursor: pointer;
}

#tv-vod-app .card::before {
  content: "";
  display: block;
  padding-top: 150%;
}

#tv-vod-app .card.f,
#tv-vod-app .card:hover {
  transform: scale(1.06);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

/* Titles and "SERIE" badges are hidden from card because they are prominently displayed in the Hero banner */
#tv-vod-app .card .ct,
#tv-vod-app .card .tg {
  display: none !important;
}

#tv-vod-app .card .nw {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.2rem 0.7rem 0.2rem 0.5rem;
  border-bottom-right-radius: 0.7rem;
  letter-spacing: 0.04em;
  z-index: 1;
}

/* ====== MOVIE DETAIL SCREEN ====== */
#tv-vod-app #detail {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
  overflow: hidden;
  background: #0d0407 !important; /* Solid luxury base so catalog never bleeds through */
}

#tv-vod-app #detail.show {
  visibility: visible;
}

#tv-vod-app #dBg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.3s ease-out, transform 0.45s ease-out;
}

#tv-vod-app #dShade {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  background:
    linear-gradient(to right, rgba(10, 4, 8, 0.96) 0%, rgba(10, 4, 8, 0.82) 42%, rgba(10, 4, 8, 0.35) 100%),
    linear-gradient(to top, rgba(10, 4, 8, 0.9) 0%, rgba(10, 4, 8, 0) 50%);
}

#tv-vod-app #detail.in #dBg {
  opacity: 1;
  transform: none;
}

#tv-vod-app #detail.in #dShade {
  opacity: 1;
}

#tv-vod-app #dPosterCol {
  position: absolute;
  left: 5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 19rem;
  text-align: center;
  z-index: 2;
}

#tv-vod-app #dGenre {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#tv-vod-app #dPoster {
  width: 19rem;
  height: 28.5rem;
  border-radius: 1.1rem;
  background-size: cover;
  background-position: center;
  background-color: #1a0810;
  border: 0.22rem solid rgba(255, 255, 255, 0.4);
  transform-origin: 0 0;
  will-change: transform;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.85);
}

#tv-vod-app #dDur {
  margin-top: 0.9rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.2s;
}

#tv-vod-app #detail.in #dGenre,
#tv-vod-app #detail.in #dDur {
  opacity: 1;
  transition: opacity 0.3s 0.25s;
}

#tv-vod-app #dMain {
  position: absolute;
  left: 27rem;
  right: 5rem;
  top: 50%;
  transform: translateY(-50%);
  max-width: 65rem;
  z-index: 2;
}

#tv-vod-app #dMain > * {
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 0.2s, transform 0.2s;
}

#tv-vod-app #detail.in #dMain > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.32s ease-out, transform 0.32s ease-out;
}

#tv-vod-app #detail.in #dMain > :nth-child(1) { transition-delay: 0.08s; }
#tv-vod-app #detail.in #dMain > :nth-child(2) { transition-delay: 0.12s; }
#tv-vod-app #detail.in #dMain > :nth-child(3) { transition-delay: 0.16s; }
#tv-vod-app #detail.in #dMain > :nth-child(4) { transition-delay: 0.20s; }
#tv-vod-app #detail.in #dMain > :nth-child(5) { transition-delay: 0.24s; }

#tv-vod-app #dLogoWrap {
  height: 9rem;
  display: flex;
  align-items: flex-end;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

#tv-vod-app #dLogo {
  max-width: 38rem;
  max-height: 9rem;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.95));
}

#tv-vod-app #dTitle {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

#tv-vod-app #dBtns {
  margin: 1.2rem 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

#tv-vod-app .dbtn {
  width: 30rem;
  height: 5.2rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0 1.8rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.12);
  border: 0.2rem solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s, border-color 0.15s, color 0.15s;
}

#tv-vod-app .dbtn svg {
  width: 2.3rem;
  height: 2.3rem;
  fill: var(--accent);
  flex-shrink: 0;
  transition: fill 0.15s;
}

#tv-vod-app .dbtn.f,
#tv-vod-app .dbtn:hover {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
  transform: scale(1.04);
}

#tv-vod-app .dbtn.f svg,
#tv-vod-app .dbtn:hover svg {
  fill: #111111;
}

#tv-vod-app .dbtn.downloaded {
  border-color: #22c55e;
  color: #22c55e;
}

#tv-vod-app .dbtn.downloaded svg {
  fill: #22c55e;
}

#tv-vod-app #dDlProgressBox {
  width: 30rem;
  margin: 0.4rem 0 1.2rem;
}

#tv-vod-app .tv-dl-bar-wrap {
  width: 100%;
  height: 0.8rem;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 0.4rem;
  overflow: hidden;
  position: relative;
}

#tv-vod-app #dDlFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, #22c55e 100%);
  border-radius: 0.4rem;
  transition: width 0.3s ease-out;
}

#tv-vod-app .tv-dl-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--muted);
}

#tv-vod-app #dDesc {
  font-size: 1.6rem;
  line-height: 1.65;
  color: #eee3e6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.6rem * 1.65 * 4);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

#tv-vod-app #dCastSection,
#tv-series-app #dCastSection {
  margin-top: 1.4rem;
  width: 100%;
}

#tv-vod-app #dCastTitle,
#tv-series-app #dCastTitle {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

#tv-vod-app #dCastVp,
#tv-series-app #dCastVp {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0.4rem 0.2rem;
}

#tv-vod-app #dCastRow,
#tv-series-app #dCastRow {
  display: flex;
  gap: 1.2rem;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

#tv-vod-app .actor-card,
#tv-series-app .actor-card {
  display: flex;
  align-items: center;
  gap: 1.0rem;
  background: rgba(255, 255, 255, 0.08);
  border: 0.18rem solid rgba(255, 255, 255, 0.15);
  border-radius: 2.4rem;
  padding: 0.4rem 1.2rem 0.4rem 0.4rem;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.16s, border-color 0.16s, background-color 0.16s, box-shadow 0.16s;
  box-sizing: border-box;
}

html[dir="rtl"] #tv-vod-app .actor-card,
html[dir="rtl"] #tv-series-app .actor-card {
  padding: 0.4rem 1.2rem 0.4rem 0.4rem;
}

#tv-vod-app .actor-card.f,
#tv-vod-app .actor-card:hover,
#tv-series-app .actor-card.f,
#tv-series-app .actor-card:hover {
  border-color: var(--gold, #facc15) !important;
  background: rgba(250, 204, 21, 0.18) !important;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

#tv-vod-app .actor-photo,
#tv-series-app .actor-photo {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.14rem solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
}

#tv-vod-app .actor-img,
#tv-series-app .actor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  display: block;
}

#tv-vod-app .actor-fallback,
#tv-series-app .actor-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
}

#tv-vod-app .actor-fallback svg,
#tv-series-app .actor-fallback svg {
  width: 2.2rem;
  height: 2.2rem;
  fill: rgba(255, 255, 255, 0.5);
}

#tv-vod-app .actor-card.is-director,
#tv-series-app .actor-card.is-director {
  border-color: rgba(250, 204, 21, 0.45);
  background: rgba(250, 204, 21, 0.12);
}

#tv-vod-app .actor-card.is-director .actor-photo,
#tv-series-app .actor-card.is-director .actor-photo {
  border-color: var(--gold, #facc15);
}

#tv-vod-app .actor-role.role-dir,
#tv-series-app .actor-role.role-dir,
#tv-vod-app .role-dir,
#tv-series-app .role-dir {
  color: var(--gold, #facc15) !important;
  font-weight: 800;
  letter-spacing: 0.04em;
}

#tv-vod-app .actor-meta,
#tv-series-app .actor-meta,
#tv-vod-app .actor-info,
#tv-series-app .actor-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 14rem;
}

#tv-vod-app .actor-name,
#tv-series-app .actor-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#tv-vod-app .actor-role,
#tv-series-app .actor-role,
#tv-vod-app .role-dir,
#tv-series-app .role-dir {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted, #b9a3aa);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
}

#tv-vod-app #dTop {
  position: absolute;
  top: 2rem;
  right: 3rem;
  display: flex;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 3;
}

#tv-vod-app #detail.in #dTop {
  opacity: 1;
  transition: opacity 0.3s 0.3s;
}

#tv-vod-app .db {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 1.4rem;
  background: rgba(0, 0, 0, 0.55);
  border: 0.2rem solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, background-color 0.15s;
}

#tv-vod-app .db svg {
  width: 2.5rem;
  height: 2.5rem;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linejoin: round;
}

#tv-vod-app .db.f,
#tv-vod-app .db:hover {
  border-color: var(--gold);
  transform: scale(1.12);
  background: rgba(0, 0, 0, 0.85);
}

#tv-vod-app .db.on svg {
  fill: var(--accent);
  stroke: var(--accent);
}

/* ====== OPTIONS PANEL (RIGHT DRAWER) ====== */
#tv-vod-app #panel {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 32rem;
  background: var(--panel);
  z-index: 100;
  padding: 2.5rem 1.8rem;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.85);
}

#tv-vod-app #panel.show {
  transform: none;
}

#tv-vod-app #panel h3 {
  font-size: 1.7rem;
  margin-bottom: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

#tv-vod-app .opt {
  height: 4rem;
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  border-radius: 0.8rem;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

#tv-vod-app .opt.f,
#tv-vod-app .opt:hover {
  background: #ffffff;
  color: #111111;
}

/* ====== TOAST NOTIFICATION ====== */
#tv-vod-app #toast {
  position: fixed;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  padding: 0.8rem 1.8rem;
  border-radius: 2rem;
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 30;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#tv-vod-app #toast.show {
  opacity: 1;
}

/* ====== GPU ANIMATIONS ====== */
@keyframes tvVodFadeUp {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ========================================================
   SERIES TV & PC SPECIFIC STYLES (MATCHING tv-ui-series.html)
   ======================================================== */

/* Detail Screen adjustments for Series (3-column layout) */
#tv-vod-app #detail.sr #dPosterCol,
#tv-series-app #detail.sr #dPosterCol {
  left: 5rem;
  top: 8.5rem;
  transform: none !important;
  width: 19rem;
  text-align: center;
  z-index: 4;
}

#tv-vod-app #detail.sr #dPoster,
#tv-series-app #detail.sr #dPoster {
  width: 19rem;
  height: 28.5rem;
  border-radius: 1.1rem;
  background-size: cover;
  background-position: center;
  border: 0.22rem solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.8);
}

#tv-vod-app #detail.sr #dMain,
#tv-series-app #detail.sr #dMain {
  left: 27rem;
  top: 8.5rem;
  bottom: 2.5rem;
  width: 41rem;
  max-width: none;
  transform: none !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 4;
}

#tv-vod-app #detail.sr #dLogoWrap,
#tv-series-app #detail.sr #dLogoWrap {
  min-height: 5rem;
  max-height: 8.5rem;
  display: flex;
  align-items: flex-end;
  margin-bottom: 0.8rem;
  flex-shrink: 0;
}

#tv-vod-app #detail.sr #dLogo,
#tv-series-app #detail.sr #dLogo {
  max-width: 36rem;
  max-height: 8.5rem;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
}

#tv-vod-app #detail.sr #dTitle,
#tv-series-app #detail.sr #dTitle {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.6rem;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "Tajawal", "Segoe UI", Roboto, sans-serif;
}

#tv-vod-app #detail.sr .meta,
#tv-series-app #detail.sr .meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

#tv-vod-app #detail.sr .imdb,
#tv-series-app #detail.sr .imdb {
  background: var(--tv-gold, #facc15);
  color: #111111;
  font-weight: 900;
  padding: 0.2rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 1.3rem;
  display: inline-block;
}

#tv-vod-app #detail.sr #dYear,
#tv-series-app #detail.sr #dYear {
  font-size: 1.35rem;
  font-weight: 700;
  color: #e5d5d9;
}

#tv-vod-app #detail.sr #dBtns,
#tv-series-app #detail.sr #dBtns {
  margin: 0.6rem 0 1.2rem;
  flex-shrink: 0;
}

#tv-vod-app #detail.sr #dDesc,
#tv-series-app #detail.sr #dDesc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-size: 1.3rem;
  line-height: 1.55;
  color: #eee3e6;
  margin-bottom: 1rem;
}

#tv-vod-app #detail.sr #dCastSection,
#tv-series-app #detail.sr #dCastSection {
  margin-top: 0.6rem;
  flex-shrink: 0;
}

#tv-vod-app #detail.sr #dDl,
#tv-series-app #detail.sr #dDl {
  display: none !important;
}

/* Episodes Column (Right Column: 38rem wide) */
#tv-vod-app #dEps,
#tv-series-app #dEps {
  display: none;
  position: absolute;
  left: 71rem;
  right: 3.5rem;
  top: 8.5rem;
  bottom: 2.5rem;
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 5;
}

#tv-vod-app #detail.sr #dEps,
#tv-series-app #detail.sr #dEps {
  display: block;
}

#tv-vod-app #detail.in #dEps,
#tv-series-app #detail.in #dEps {
  opacity: 1;
  transform: none;
  transition: opacity 0.32s ease-out 0.2s, transform 0.32s ease-out 0.2s;
}

#tv-vod-app #detail.in #dEps,
#tv-series-app #detail.in #dEps {
  opacity: 1;
  transform: none;
  transition: opacity 0.32s ease-out 0.3s, transform 0.32s ease-out 0.3s;
}

/* Season Tabs Viewport */
#tv-vod-app #dSeasonsVp,
#tv-series-app #dSeasonsVp {
  height: 3.8rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}

#tv-vod-app #dSeasons,
#tv-series-app #dSeasons {
  display: flex;
  gap: 0.8rem;
  white-space: nowrap;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

#tv-vod-app .chp,
#tv-series-app .chp {
  height: 3.8rem;
  padding: 0 1.5rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  flex: none;
  color: #f6eef0;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.15s, color 0.15s, transform 0.15s, border-color 0.15s;
}

#tv-vod-app .chp.on,
#tv-series-app .chp.on {
  box-shadow: inset 0 -0.3rem 0 var(--tv-accent, #e11d48);
  background: rgba(255, 255, 255, 0.18);
}

#tv-vod-app .chp.f,
#tv-series-app .chp.f,
#tv-vod-app .chp:hover,
#tv-series-app .chp:hover {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
  transform: scale(1.04);
}

/* Episodes Virtualized Viewport */
#tv-vod-app #epVp,
#tv-series-app #epVp {
  position: absolute;
  left: 0;
  right: 0;
  top: 4.8rem;
  bottom: 0;
  overflow: hidden;
}

#tv-vod-app #epList,
#tv-series-app #epList {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

#tv-vod-app .epw,
#tv-series-app .epw {
  position: relative;
  width: 100%;
  height: 8.8rem;
  padding-bottom: 0.8rem;
  box-sizing: border-box;
}

#tv-vod-app .ep,
#tv-series-app .ep {
  height: 100%;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 0.2rem solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 0 1.2rem 0 1rem;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
  cursor: pointer;
}

#tv-vod-app .ep.f,
#tv-series-app .ep.f {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
  transform: scale(1.02);
  z-index: 2;
}

#tv-vod-app .eth,
#tv-series-app .eth {
  width: 12rem;
  height: 6.6rem;
  border-radius: 0.7rem;
  background-size: cover;
  background-position: center;
  flex: none;
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

#tv-vod-app .eth::after,
#tv-series-app .eth::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -0.9rem 0 0 -0.6rem;
  border-style: solid;
  border-width: 0.9rem 0 0.9rem 1.5rem;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.9);
}

#tv-vod-app .ein,
#tv-series-app .ein {
  flex: 1;
  min-width: 0;
}

#tv-vod-app .ecode,
#tv-series-app .ecode {
  font-size: 1.45rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f6eef0;
}

#tv-vod-app .ep.f .ecode,
#tv-series-app .ep.f .ecode {
  color: #111111;
}

#tv-vod-app .ep-new-badge,
#tv-series-app .ep-new-badge {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 0.4rem;
  margin-right: 0.5rem;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

#tv-vod-app .ep.f .ep-new-badge,
#tv-series-app .ep.f .ep-new-badge {
  background: #ffffff;
  color: var(--accent);
}

#tv-vod-app .emeta,
#tv-series-app .emeta {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--tv-muted, #b9a3aa);
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#tv-vod-app .ep.f .emeta,
#tv-series-app .ep.f .emeta {
  color: #555555;
}

#tv-vod-app .epg,
#tv-series-app .epg {
  height: 0.4rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  margin-top: 0.7rem;
  overflow: hidden;
}

#tv-vod-app .ep.f .epg,
#tv-series-app .ep.f .epg {
  background: rgba(0, 0, 0, 0.18);
}
  overflow: hidden;
}

#tv-vod-app .epg i,
#tv-series-app .epg i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--tv-accent, #e11d48);
}

#tv-vod-app .dl,
#tv-series-app .dl {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  opacity: 0.7;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s, transform 0.15s;
}

#tv-vod-app .dl svg,
#tv-series-app .dl svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

#tv-vod-app .ep.f .dl,
#tv-series-app .ep.f .dl {
  opacity: 1;
  color: #111111;
}

#tv-vod-app .ep.dlf .dl,
#tv-series-app .ep.dlf .dl,
#tv-vod-app .dl:hover,
#tv-series-app .dl:hover {
  background: var(--tv-accent, #e11d48);
  color: #ffffff !important;
  transform: scale(1.1);
  box-shadow: 0 0 1rem rgba(225, 29, 72, 0.5);
}

/* ========================================================
   CATEGORY REORDER BUTTON IN SIDEBAR
   ======================================================== */
#tv-vod-app .cat.ra,
#tv-series-app .cat.ra,
.cat.ra {
  border: 0.2rem solid var(--accent, #dc2626) !important;
  color: #ffffff !important;
  background: rgba(220, 38, 38, 0.16) !important;
  margin: 0.6rem 0 !important;
  font-weight: 800 !important;
}

#tv-vod-app .cat.ra.f,
#tv-series-app .cat.ra.f,
.cat.ra.f,
#tv-vod-app .cat.ra:hover,
#tv-series-app .cat.ra:hover {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #ffffff !important;
}

/* ========================================================
   CATEGORY REORDER MODAL (TV LIVE LUXURY REDESIGN)
   ======================================================== */

.ov {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(5, 2, 4, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.18s ease, visibility 0s 0.18s;
}

.ov.show {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.18s ease;
}

.mcard {
  position: relative;
  border-radius: 2rem;
  border: 0.15rem solid #070204;
  padding: 3rem 3.4rem;
  background: linear-gradient(120deg, #2a0b14 0%, #12070b 75%);
  transform: scale(0.96);
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.92);
}

.ov.show .mcard {
  transform: none;
}

#rCard {
  width: 92rem;
  max-width: 94vw;
  height: 58rem;
  max-height: 92vh;
  box-sizing: border-box;
}

#rT {
  position: absolute;
  left: 3.4rem;
  top: 2.6rem;
  font-size: 2.4rem;
  font-weight: 800;
  color: #f6eef0;
  letter-spacing: 0.03em;
}

#rL {
  position: absolute;
  left: 3.4rem;
  top: 7.4rem;
  width: 70rem;
  max-width: calc(100% - 18rem);
  height: 40rem;
  overflow: hidden;
}

#rL-vp {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.8rem;
}

#rL-vp::-webkit-scrollbar {
  width: 0.6rem;
}
#rL-vp::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
}
#rL-vp::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 0.3rem;
}

#rOv,
#rOv *,
#rCard,
#rCard *,
.ro,
.ro * {
  direction: ltr !important;
}

.ro {
  height: 4.4rem;
  padding: 0 1.6rem;
  font-size: 1.55rem;
  font-weight: 600;
  justify-content: space-between !important;
  background: rgba(255, 255, 255, 0.1);
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  border-radius: 0.9rem;
  margin-bottom: 0.6rem;
  cursor: pointer;
  color: #f6eef0;
  transition: background 0.12s, color 0.12s, transform 0.12s;
  box-sizing: border-box;
}

.ro .nm {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  text-align: left !important;
  margin-right: 1.2rem !important;
  margin-left: 0 !important;
  direction: ltr !important;
}

.ro small {
  flex: 0 0 auto !important;
  color: var(--muted, #b9a3aa);
  font-size: 1.25rem;
  font-weight: 700;
  margin-right: 1.4rem !important;
  margin-left: 0 !important;
  direction: ltr !important;
}

.ro i {
  flex: 0 0 auto !important;
  width: 2.4rem !important;
  height: 2.4rem !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border: 0.25rem solid rgba(255, 255, 255, 0.7) !important;
  background: rgba(0, 0, 0, 0.25) !important;
  border-radius: 0.6rem !important;
  font-style: normal;
  text-align: center;
  line-height: 2rem;
  font-size: 1.8rem;
  font-weight: 800;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: transparent;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  box-sizing: border-box !important;
}

.ro.sel i {
  background: var(--accent, #e11d48) !important;
  border-color: var(--accent, #e11d48) !important;
  color: #ffffff !important;
}

.ro.sel i:after {
  content: "\2713";
}

.ro.f {
  background: #ffffff !important;
  color: #111111 !important;
  transform: scale(1.01);
}

.ro.f small {
  color: #555555 !important;
}

.ro.f i {
  border-color: #333333;
}

.ro.f.sel i {
  background: var(--accent, #e11d48) !important;
  border-color: var(--accent, #e11d48) !important;
  color: #ffffff !important;
}

#rS {
  position: absolute;
  right: 3.4rem;
  top: 7.4rem;
  width: 11rem;
  height: 40rem;
  border-radius: 1.4rem;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.rb {
  width: 7rem;
  height: 6rem;
  margin: 0.7rem 0;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.14);
  border: 0.2rem solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  transition: transform 0.12s, background 0.12s, border-color 0.12s, color 0.12s;
}

.rb svg {
  width: 2.8rem;
  height: 2.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rb.f {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #ffffff !important;
  transform: scale(1.08);
}

#rF {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pmb {
  display: inline-block;
  margin: 0 1.2rem;
  width: 20rem;
  padding: 1.1rem 0;
  text-align: center;
  border-radius: 0.9rem;
  border: 0.2rem solid rgba(255, 255, 255, 0.5);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  color: #ffffff;
  background: transparent;
  outline: none;
  transition: transform 0.12s, background 0.12s, color 0.12s, border-color 0.12s;
}

.pmb.f {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #ffffff !important;
  transform: scale(1.05);
}

#rF #rOk {
  background: var(--accent, #e11d48);
  border-color: var(--accent, #e11d48);
  color: #ffffff;
}

#rF #rOk.f {
  background: #ffffff !important;
  color: var(--accent, #e11d48) !important;
  border-color: #ffffff !important;
}

/* ========================================================
   INITIAL LOADING SKELETON / BRANDING SCREEN (KIDS STYLE)
   ======================================================== */

#tvLoadingScreen {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: radial-gradient(circle at center, #2b0a15 0%, #12070b 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#tvLoadingScreen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tv-loading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tv-loading-logo {
  width: 14rem;
  height: auto;
  max-height: 8.5rem;
  object-fit: contain;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 2rem rgba(225, 29, 72, 0.5));
  animation: tvLogoPulse 2s infinite ease-in-out;
}

@keyframes tvLogoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 1.5rem rgba(225, 29, 72, 0.4));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 3rem rgba(225, 29, 72, 0.8));
  }
}

.tv-loading-title {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.tv-loading-sub {
  font-size: 1.5rem;
  font-weight: 600;
  color: #b9a3aa;
  margin-bottom: 2.4rem;
}

.tv-loading-bar-wrap {
  width: 32rem;
  height: 0.6rem;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.tv-loading-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(90deg, #e11d48, #f43f5e, #fb7185);
  border-radius: 0.3rem;
  box-shadow: 0 0 1.2rem rgba(225, 29, 72, 0.8);
  animation: tvLoadingIndeterminate 1.5s infinite ease-in-out;
}

@keyframes tvLoadingIndeterminate {
  0% { left: -45%; width: 45%; }
  50% { left: 30%; width: 60%; }
  100% { left: 105%; width: 45%; }
}
