/* ============================================================
   VidRift Overlay — custom player chrome (minimal professional)
   · iframe(0) → shield(1) → UI(2): the ONLY chrome (their controls
     are stripped off the embed URL with hide=…)
   · monochrome first: accent (--vr-accent) only where it means
     something — progress, checks, active states
   · calm: flat buttons, no spring/tilt animations, thin lines
   · when the chrome fades, a thin progress line stays behind
   · default = chromeless; ?version=1 = classic glass dock
   ============================================================ */

.vro-root {
  --vr-accent: #6d5cff;
  --vr-accent-2: color-mix(in srgb, var(--vr-accent) 65%, #ffffff);
  --vr-accent-grad: linear-gradient(90deg, var(--vr-accent), var(--vr-accent-2));
  --vr-glow: color-mix(in srgb, var(--vr-accent) 50%, transparent);
  --vr-glow-soft: color-mix(in srgb, var(--vr-accent) 20%, transparent);
  --vr-text: #f4f6fb;
  --vr-dim: rgba(255, 255, 255, 0.55);
  --vr-faint: rgba(255, 255, 255, 0.35);
  --vr-glass: rgba(14, 16, 22, 0.55);
  --vr-glass-strong: rgba(13, 15, 21, 0.92);
  --vr-border: rgba(255, 255, 255, 0.08);
  --vr-hover: rgba(255, 255, 255, 0.09);
  --vr-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --vr-dock-bottom: 8px;
}

/* =============== root / layers =============== */
.vro-root { position: absolute; inset: 0; z-index: 30; color: var(--vr-text); font-size: 14px; user-select: none; -webkit-user-select: none; }
.vro-root, .vro-root * { box-sizing: border-box; }
.vro-ic { display: block; flex: none; }

/* CSS fullscreen fallback: the stage pins itself to the viewport */
.vr-stage.vro-fakefs {
  position: fixed !important; inset: 0 !important;
  width: 100vw !important; height: 100vh !important; height: 100dvh !important;
  z-index: 2147483000;
}

/* --- shield: transparent, eats every pointer event aimed at the iframe --- */
.vro-shield { position: absolute; inset: 0; z-index: 2; background: transparent; cursor: default; }
.vro-root.vro-idle .vro-shield { cursor: none; }
.vro-root.vro-shield-off .vro-shield { pointer-events: none; }

/* --- click-gate unlock window: chrome stops catching clicks so the user's
       next tap — even on a control button — falls through to the engine
       iframe and unlocks it (removed when the shield re-engages) --- */
.vro-root.vro-gated .vro-ui .vro-act { pointer-events: none; }

/* --- iPhone native mode: our chrome hides, taps go straight to the video --- */
.vro-iosexit {
  display: none; position: absolute; top: 12px; left: 12px; z-index: 7;
  align-items: center; gap: 6px; height: 34px; padding: 0 13px 0 9px;
  border-radius: 8px; background: rgba(10, 12, 18, 0.7);
  border: 1px solid var(--vr-border); color: #fff;
  font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.vro-root.vro-iosnative .vro-iosexit { display: inline-flex; }
.vro-root.vro-iosnative .vro-ui { display: none; }
.vro-root.vro-iosnative .vro-shield { pointer-events: none; }

/* --- UI layer --- */
.vro-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.vro-ui .vro-act { pointer-events: auto; }

/* short, light bottom scrim */
.vro-ui::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15) 60%, transparent);
  transition: opacity 0.5s var(--vr-ease); pointer-events: none; z-index: -1;
}
.vro-root.vro-idle .vro-ui::after { opacity: 0; }

.vro-ui button {
  position: relative;
  background: transparent; border: 0; color: #fff; border-radius: 9px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 12.5px; line-height: 1;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.2s ease, border-color 0.15s ease;
}
.vro-ui button:focus-visible { outline: 1.5px solid var(--vr-accent-2); outline-offset: 2px; }
.vro-ui button .vro-ic { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55)); }

/* =============== top bar: flex row — back | title | next ===============
   No absolute positioning inside, so the title can never overlap or wrap,
   no matter how narrow or short the embed is. */
.vro-top {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px 30px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.14) 60%, transparent 100%);
  transition: opacity 0.4s var(--vr-ease), transform 0.4s var(--vr-ease);
}
.vro-back {
  flex: none;
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(10, 12, 18, 0.35);
  border: 1px solid transparent;
}
.vro-back:hover { background: rgba(30, 32, 42, 0.75); border-color: var(--vr-border); }
.vro-back:active { transform: scale(0.96); }

.vro-titleblock {
  flex: 1 1 auto; min-width: 0;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  animation: vro-drop 0.5s var(--vr-ease) both;
}
.vro-titleblock .vro-name {
  max-width: 100%;
  font-size: 15px; font-weight: 650; letter-spacing: -0.005em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vro-titleblock .vro-sub {
  max-width: 100%;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@keyframes vro-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.vro-topright { flex: none; display: flex; gap: 8px; }
.vro-topright button.vro-next {
  height: 30px; padding: 0 12px 0 14px; border-radius: 8px;
  background: rgba(10, 12, 18, 0.35); border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  animation: vro-slide-l 0.5s var(--vr-ease) both;
}
.vro-topright button.vro-next .vro-ic { width: 13px; height: 13px; transition: transform 0.2s var(--vr-ease); }
.vro-topright button.vro-next:hover {
  border-color: var(--vr-accent-2); color: var(--vr-accent-2);
  background: var(--vr-glow-soft);
}
.vro-topright button.vro-next:hover .vro-ic { transform: translateX(2px); }
.vro-topright button.vro-next:active { transform: scale(0.97); }
.vro-topright button.vro-next.off { opacity: 0.5; cursor: default; }
.vro-topright button.vro-next.off:hover { border-color: rgba(255, 255, 255, 0.22); color: #fff; background: rgba(10, 12, 18, 0.35); }
@keyframes vro-slide-l { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

/* =============== controls: chromeless =============== */
.vro-controls {
  position: absolute; left: 0; right: 0; bottom: var(--vr-dock-bottom);
  padding: 0;
  transition: opacity 0.4s var(--vr-ease), transform 0.4s var(--vr-ease);
}
.vro-dock {
  width: 100%;
  padding: 4px 14px 4px;
  background: transparent;
}

/* classic (?version=1): full-width glass bar */
.vro-classic .vro-dock {
  background: var(--vr-glass);
  backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-top: 1px solid var(--vr-border);
  border-bottom: 1px solid var(--vr-border);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}

/* --- timeline --- */
.vro-timerow { display: flex; align-items: center; gap: 14px; padding: 3px 6px 0; }
.vro-timeline { position: relative; flex: 1; min-width: 0; height: 18px; cursor: pointer; display: flex; align-items: center; touch-action: none; }
.vro-tl-track {
  position: relative; width: 100%; height: 2px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: height 0.18s var(--vr-ease), background 0.18s ease;
}
.vro-timeline:hover .vro-tl-track, .vro-timeline.vro-dragging .vro-tl-track { height: 4px; background: rgba(255, 255, 255, 0.22); }
.vro-tl-win { position: absolute; top: 0; bottom: 0; border-radius: 999px; }
.vro-tl-win.intro, .vro-tl-win.preview { background: #ffd60a; opacity: 0.8; }
.vro-tl-win.recap { background: #ff9f0a; opacity: 0.8; }
.vro-tl-win.credits { background: #ff453a; opacity: 0.65; }
.vro-tl-played {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: var(--vr-accent); border-radius: 999px;
}
.vro-tl-knob {
  position: absolute; top: 50%; left: 0%;
  width: 11px; height: 11px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%) scale(0);
  transition: transform 0.18s var(--vr-ease), box-shadow 0.15s ease;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.vro-timeline:hover .vro-tl-knob, .vro-timeline.vro-dragging .vro-tl-knob { transform: translate(-50%, -50%) scale(1); }
.vro-timeline.vro-dragging .vro-tl-knob { transform: translate(-50%, -50%) scale(1.2); }
.vro-tl-tip {
  position: absolute; bottom: 22px; transform: translateX(-50%);
  background: rgba(8, 10, 16, 0.92); border-radius: 6px; padding: 4px 8px;
  font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums;
  display: none; pointer-events: none; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.vro-timeline:hover .vro-tl-tip { display: block; animation: vro-tip-in 0.15s var(--vr-ease); }
@keyframes vro-tip-in { from { opacity: 0; margin-bottom: -4px; } to { opacity: 1; margin-bottom: 0; } }

.vro-time { font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.8); font-variant-numeric: tabular-nums; flex: none; transition: opacity 0.4s var(--vr-ease); }
.vro-time .vro-dur { color: rgba(255, 255, 255, 0.4); }

/* --- button row --- */
.vro-btnrow { display: flex; align-items: center; gap: 1px; margin-top: 1px; transition: opacity 0.4s var(--vr-ease); }
.vro-btnrow .vro-act { pointer-events: auto; }
.vro-btnrow button { width: 38px; height: 38px; border-radius: 9px; color: rgba(255, 255, 255, 0.85); }
.vro-btnrow button:hover { background: var(--vr-hover); color: #fff; }
.vro-btnrow button:active { opacity: 0.7; }
.vro-btnrow button.vro-active { background: var(--vr-hover); color: #fff; }
.vro-btnrow [data-a="psubs"].vro-cc-on::before {
  content: ""; position: absolute; top: 6px; right: 6px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--vr-accent-2);
}

/* flat play/pause — no orb */
.vro-btnrow [data-a="toggle"] { width: 40px; height: 40px; border-radius: 9px; background: transparent; color: #fff; margin-right: 4px; box-shadow: none; }
.vro-btnrow [data-a="toggle"] .vro-ic { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6)); }
.vro-btnrow [data-a="toggle"]:hover { background: var(--vr-hover); color: #fff; transform: none; box-shadow: none; }
.vro-btnrow [data-a="toggle"]:active { transform: scale(0.94); }

.vro-btnrow [data-a="toggle"] .vro-ic,
.vro-btnrow [data-a="mute"] .vro-ic,
.vro-btnrow [data-a="fs"] .vro-ic { animation: vro-icon-in 0.2s var(--vr-ease) both; }
@keyframes vro-icon-in { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }

/* tooltips */
.vro-btnrow button[data-tip]::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translate(-50%, 4px);
  padding: 5px 9px; border-radius: 6px;
  background: rgba(8, 10, 16, 0.92);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.15s ease, transform 0.2s var(--vr-ease);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.vro-btnrow button[data-tip]:hover::after { opacity: 1; transform: translate(-50%, 0); transition-delay: 0.4s; }
.vro-btnrow button:last-child[data-tip]::after { left: auto; right: 0; transform: translate(0, 4px); }
.vro-btnrow button:last-child[data-tip]:hover::after { transform: translate(0, 0); }
.vro-btnrow .vro-active::after { display: none; }

/* --- volume --- */
.vro-volgroup { display: flex; align-items: center; gap: 2px; border-radius: 9px; transition: background 0.2s ease; }
.vro-volgroup:hover { background: var(--vr-hover); }
.vro-vol {
  -webkit-appearance: none; appearance: none;
  width: 0; opacity: 0; margin: 0;
  transition: width 0.3s var(--vr-ease), opacity 0.2s ease, margin 0.3s var(--vr-ease);
  height: 3px; cursor: pointer; border-radius: 999px;
  background: linear-gradient(to right, #fff var(--vr-vol, 100%), rgba(255, 255, 255, 0.2) var(--vr-vol, 100%));
  outline: none;
}
.vro-volgroup:hover .vro-vol, .vro-vol:focus, .vro-vol.vro-vol-open { width: 72px; opacity: 1; margin: 0 10px 0 4px; }
.vro-vol::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.55); cursor: pointer; }
.vro-vol::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.55); cursor: pointer; }
.vro-spacer { flex: 1; }

/* =============== floating panels =============== */
.vro-panels { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.vro-panel {
  pointer-events: auto;
  position: absolute; right: 16px; bottom: 88px;
  width: min(340px, 92vw); max-height: calc(100% - 140px);
  overflow-y: auto; overflow-x: hidden;
  background: var(--vr-glass-strong);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--vr-border);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  transform-origin: 100% 100%;
  opacity: 0; visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.25s var(--vr-ease), transform 0.3s var(--vr-ease), visibility 0.25s;
}
.vro-panel.open { opacity: 1; visibility: visible; transform: none; }
.vro-panel::-webkit-scrollbar { width: 6px; }
.vro-panel::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 99px; border: 2px solid transparent; background-clip: content-box; }
.vro-panel.vro-wide { width: min(620px, 92vw); }

.vro-phead {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: rgba(13, 15, 21, 0.96);
  border-bottom: 1px solid var(--vr-border);
}
.vro-phead .vro-pico { display: flex; color: var(--vr-accent-2); }
.vro-phead .vro-pico .vro-ic { width: 17px; height: 17px; }
.vro-ptitle { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.vro-ptitle b { font-size: 13.5px; font-weight: 650; letter-spacing: 0; }
.vro-ptitle small { font-size: 10.5px; color: var(--vr-dim); }
.vro-ptitle-center { align-items: center; }
.vro-iconbtn {
  background: transparent !important; border: 0 !important;
  color: var(--vr-dim); border-radius: 7px !important; cursor: pointer;
  width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
}
.vro-iconbtn:hover { background: var(--vr-hover) !important; color: #fff; }
.vro-pclose .vro-ic { transition: transform 0.2s var(--vr-ease); }
.vro-pclose:hover .vro-ic { transform: rotate(90deg); }

.vro-pbody { padding: 6px 6px 9px; }
.vro-pgroup {
  padding: 10px 14px 3px;
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--vr-faint);
}
.vro-prow {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; margin: 1px 0; cursor: pointer; border-radius: 8px;
  font-size: 13px; font-weight: 450; color: #fff;
  transition: background 0.15s ease;
}
.vro-prow:hover { background: var(--vr-hover); }
.vro-prow:active { background: rgba(255, 255, 255, 0.13); }
.vro-prow.on { background: rgba(255, 255, 255, 0.05); }
.vro-prow.on::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 2px; border-radius: 2px; background: var(--vr-accent); }
.vro-prow .vro-pico { display: flex; align-items: center; justify-content: center; width: 18px; flex: none; color: var(--vr-dim); transition: color 0.15s ease; }
.vro-prow .vro-pico .vro-ic { width: 17px; height: 17px; }
.vro-prow:hover .vro-pico { color: #fff; }
.vro-prow .vro-pval { margin-left: auto; color: var(--vr-dim); font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.vro-prow.on .vro-pval { color: var(--vr-accent-2); }
.vro-prow > .vro-chev { opacity: 0.3; transition: transform 0.2s var(--vr-ease), opacity 0.15s; }
.vro-prow:hover > .vro-chev { opacity: 0.8; transform: translateX(2px); }
.vro-prow > .vro-check { margin-left: auto; color: var(--vr-accent-2); animation: vro-icon-in 0.25s var(--vr-ease) both; }
.vro-pname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vro-dot { width: 6px; height: 6px; border-radius: 50%; background: #565c68; flex: none; }
.vro-dot.ok { background: #4cd964; box-shadow: 0 0 6px rgba(76, 217, 100, 0.7); }
.vro-dot.bad { background: #ff453a; }
.vro-srvhint { color: var(--vr-dim); font-size: 12px; }

.vro-panel.open .vro-prow, .vro-panel.open .vro-epcard { animation: vro-rise 0.35s var(--vr-ease) both; }
.vro-panel.open .vro-prow:nth-child(1), .vro-panel.open .vro-epcard:nth-child(1) { animation-delay: 0.02s; }
.vro-panel.open .vro-prow:nth-child(2), .vro-panel.open .vro-epcard:nth-child(2) { animation-delay: 0.04s; }
.vro-panel.open .vro-prow:nth-child(3), .vro-panel.open .vro-epcard:nth-child(3) { animation-delay: 0.06s; }
.vro-panel.open .vro-prow:nth-child(4), .vro-panel.open .vro-epcard:nth-child(4) { animation-delay: 0.08s; }
.vro-panel.open .vro-prow:nth-child(5), .vro-panel.open .vro-epcard:nth-child(5) { animation-delay: 0.1s; }
.vro-panel.open .vro-prow:nth-child(n+6), .vro-panel.open .vro-epcard:nth-child(n+6) { animation-delay: 0.12s; }
@keyframes vro-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.vro-prowlink {
  display: inline-flex !important; align-items: center; gap: 6px; border-radius: 7px !important;
  background: transparent !important; border: 0 !important; color: var(--vr-accent-2);
  font-size: 12px; font-weight: 600; cursor: pointer; padding: 6px 8px; font-family: inherit;
}
.vro-prowlink:hover { color: #fff; }

/* auto-skip toggle → switch */
.vro-pval[data-skipval] {
  font-size: 0 !important; width: 36px; height: 21px; border-radius: 99px; position: relative; flex: none;
  background: rgba(255, 255, 255, 0.14); transition: background 0.2s var(--vr-ease);
}
.vro-pval[data-skipval]::after {
  content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--vr-ease);
}
.vro-prow.on .vro-pval[data-skipval] { background: var(--vr-accent); }
.vro-prow.on .vro-pval[data-skipval]::after { transform: translateX(15px); }

/* --- subtitles customize row --- */
.vro-subcust { padding: 3px 9px 9px; }
.vro-subcust.vro-hidden { display: none; }

/* --- episodes panel --- */
.vro-seasonrow { padding: 11px 13px 0; }
.vro-seasonsel {
  width: 100%; padding: 9px 12px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff; font-size: 12.5px; font-weight: 550; outline: none; cursor: pointer; font-family: inherit;
  transition: border-color 0.15s ease;
}
.vro-seasonsel:hover { border-color: rgba(255, 255, 255, 0.2); }
.vro-seasonsel:focus { border-color: var(--vr-accent-2); }
.vro-seasonsel option { background: #12151c; }
.vro-epgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 11px 13px 14px; }
.vro-epcard {
  display: flex; gap: 10px; padding: 8px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.vro-epcard:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.14); }
.vro-epcard:active { background: rgba(255, 255, 255, 0.1); }
.vro-epcard.on { border-color: var(--vr-accent); background: var(--vr-glow-soft); }
.vro-epcard.off { opacity: 0.4; pointer-events: none; }
.vro-epthumb { position: relative; flex: none; width: 96px; height: 54px; border-radius: 7px; overflow: hidden; background: linear-gradient(135deg, #1a1e29, #12151c); }
.vro-epthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vro-epplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.5); color: #fff; }
.vro-epplay .vro-ic { width: 18px; height: 18px; }
.vro-epinfo { min-width: 0; }
.vro-epnum { font-size: 9.5px; font-weight: 650; color: var(--vr-dim); letter-spacing: 0.06em; text-transform: uppercase; }
.vro-eptitle { font-size: 12px; font-weight: 600; margin: 3px 0 3px; line-height: 1.3; }
.vro-epdesc { font-size: 10.5px; color: var(--vr-dim); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* =============== skip button: Netflix-style ghost =============== */
.vro-ui .vro-skipbtn {
  position: absolute; right: 24px; bottom: 88px;
  display: inline-flex; align-items: center; gap: 8px !important;
  padding: 0 18px !important; height: 38px;
  background: rgba(10, 12, 18, 0.62) !important; color: #fff !important;
  font-size: 12.5px !important; font-weight: 650 !important; letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 8px !important;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: vro-skip-in 0.4s var(--vr-ease) both;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}
.vro-skipbtn .vro-ic { filter: none !important; transition: transform 0.2s var(--vr-ease); }
.vro-skipbtn:hover { background: #fff !important; color: #0b0d12 !important; border-color: #fff !important; }
.vro-skipbtn:hover .vro-ic { transform: translateX(2px); }
.vro-skipbtn:active { transform: scale(0.97) !important; }
.vro-skipbtn.off { opacity: 0.55; cursor: default; }
.vro-skipbtn.off:hover { background: rgba(10, 12, 18, 0.62) !important; color: #fff !important; border-color: rgba(255, 255, 255, 0.55) !important; }
@keyframes vro-skip-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* =============== toast =============== */
.vro-toast {
  position: absolute; bottom: 96px; left: 50%; transform: translate(-50%, 8px);
  background: rgba(10, 12, 18, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--vr-border); border-radius: 8px; padding: 8px 15px;
  font-size: 11.5px; font-weight: 550; letter-spacing: 0.01em;
  opacity: 0; transition: opacity 0.25s var(--vr-ease), transform 0.3s var(--vr-ease);
  pointer-events: none; max-width: 82%; text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}
.vro-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =============== pause screen =============== */
.vro-pausescreen {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  background: linear-gradient(rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.72) 100%);
  text-align: left; padding: 0 40px 96px;
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--vr-ease);
}
.vro-root.vro-paused.vro-ready:not(.vro-loading):not(.vro-iosnative) .vro-pausescreen { opacity: 1; }
.vro-pauselogo { display: none; width: min(300px, 38vw); max-height: 130px; object-fit: contain; object-position: left bottom;
  filter: drop-shadow(0 3px 16px rgba(0, 0, 0, 0.75)); }
.vro-pauselogo[src] { display: block; }
.vro-pausesub { font-size: 12.5px; font-weight: 550; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.8); margin-top: 9px; }

/* =============== idle: everything fades — video alone =============== */
.vro-root.vro-idle .vro-top { opacity: 0; transform: translateY(-10px); }
.vro-root.vro-idle .vro-controls { opacity: 0; transform: translateY(14px); }
.vro-root.vro-idle .vro-top .vro-act,
.vro-root.vro-idle .vro-controls .vro-act { pointer-events: none !important; }
.vro-root.vro-idle .vro-ui::after { opacity: 0; }

/* =============== settings drill-in =============== */
.vro-pback { color: var(--vr-dim) !important; }
.vro-pback:hover { color: #fff !important; }
.vro-setsub { animation: vro-sub-in 0.22s var(--vr-ease) both; }
@keyframes vro-sub-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

/* =============== servers: Provider | Source side by side =============== */
.vro-panel.vro-mid { width: min(470px, 94vw); }
.vro-pbody.vro-srvbody { padding: 4px 5px 9px; }
.vro-srvcols { display: grid; grid-template-columns: 1fr 1fr; }
.vro-srvcol { min-width: 0; }
.vro-srvcol + .vro-srvcol { border-left: 1px solid var(--vr-border); }
.vro-srvcol .vro-pgroup { padding: 9px 11px 3px; }
.vro-srvcol .vro-prow { padding: 7.5px 10px; font-size: 12.5px; gap: 8px; }
.vro-srvcol .vro-prow .vro-check { width: 14px; height: 14px; }

/* =============== touch / coarse pointers =============== */
.vro-shield, .vro-ui button { touch-action: manipulation; }
.vro-timeline { touch-action: none; }
.vro-root { overscroll-behavior: none; }
@media (pointer: coarse) {
  .vro-timeline { min-height: 28px; }
  .vro-tl-track { height: 3px; }
  .vro-toast { font-size: 12.5px; }
  .vro-panel { max-height: 70vh; }
}

/* =============== responsive =============== */
@media (max-width: 720px) {
  .vro-root { --vr-dock-bottom: 3px; }
  .vro-top { padding: 8px 10px 20px; gap: 8px; }
  .vro-back { width: 32px; height: 32px; }
  .vro-titleblock { gap: 2px; }
  .vro-titleblock .vro-name { font-size: 13px; }
  .vro-titleblock .vro-sub { font-size: 8.5px; letter-spacing: 0.12em; }
  .vro-topright button.vro-next { height: 28px; padding: 0 10px 0 12px; font-size: 10px; }
  .vro-topright button.vro-next .vro-ic { width: 12px; height: 12px; }
  .vro-ui::after { height: 130px; }
  .vro-controls { padding: 0 4px; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .vro-dock { padding: 2px 10px 4px; }
  .vro-timerow { gap: 7px; }
  .vro-time { font-size: 10px; }
  .vro-epgrid { grid-template-columns: 1fr; }
  .vro-panel { right: 50%; transform: translate(50%, 12px) scale(0.98); width: 94vw; bottom: 84px; }
  .vro-panel.open { transform: translate(50%, 0); }
  .vro-phead { padding: 11px 12px; }
  .vro-ptitle b { font-size: 13px; }
  .vro-prow { padding: 8px 10px; font-size: 12.5px; }
  .vro-btnrow { gap: 0; }
  .vro-btnrow button { width: 32px; height: 32px; border-radius: 8px; }
  .vro-btnrow [data-a="toggle"] { width: 35px; height: 35px; margin-right: 3px; }
  .vro-btnrow .vro-ic { width: 18px; height: 18px; }
  .vro-btnrow [data-a="toggle"] .vro-ic { width: 20px; height: 20px; }
  .vro-btnrow button[data-tip]::after { display: none; }
  .vro-volgroup .vro-vol { display: none; }
  .vro-skipbtn { right: 12px; bottom: 84px; height: 34px; padding: 0 12px !important; font-size: 11.5px !important; }
  .vro-toast { bottom: 92px; padding: 6px 12px; font-size: 11px; }
  .vro-epcard { padding: 7px; gap: 9px; }
  .vro-epthumb { width: 88px; height: 50px; }
  .vro-eptitle { font-size: 11.5px; }
  .vro-epdesc { font-size: 10px; }
  .vro-pausescreen { padding: 0 20px 88px; }
  .vro-pauselogo { max-height: 90px; width: auto; max-width: 62vw; }
}

@media (max-width: 480px) {
  .vro-btnrow button { width: 30px; height: 30px; border-radius: 8px; }
  .vro-btnrow [data-a="toggle"] { width: 33px; height: 33px; margin-right: 2px; }
  .vro-btnrow .vro-ic { width: 17px; height: 17px; }
  .vro-btnrow [data-a="toggle"] .vro-ic { width: 19px; height: 19px; }
  .vro-titleblock .vro-name { font-size: 12px; }
  .vro-topright button.vro-next { padding: 0 8px; font-size: 9.5px; }
  .vro-ui .vro-skipbtn { height: 32px; font-size: 11px !important; }
}

@media (max-height: 430px) {
  .vro-top { padding: 6px 13px 16px; }
  .vro-back { width: 30px; height: 30px; }
  .vro-titleblock .vro-sub { display: none; }
  .vro-ui::after { height: 110px; }
  .vro-panel { bottom: 6px; max-height: calc(100% - 12px); }
  .vro-ui .vro-skipbtn { bottom: 78px; height: 34px; }
  .vro-toast { bottom: 82px; }
  .vro-pausescreen { padding-bottom: 72px; }
  .vro-pauselogo { max-height: 64px; }
}

/* very short embeds: the title has no room — keep just the back button */
@media (max-height: 240px) {
  .vro-top .vro-titleblock { display: none; }
  .vro-top { padding-bottom: 10px; }
}

/* fake fullscreen: keep chrome clear of the notch */
.vro-root.vro-fakefs-marker .vro-controls {
  padding-left: max(8px, env(safe-area-inset-left, 0px));
  padding-right: max(8px, env(safe-area-inset-right, 0px));
}

@media (prefers-reduced-motion: reduce) {
  .vro-root *, .vro-root *::before, .vro-root *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important;
  }
}
