.tpsrl-vc { position: relative; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; margin-top: 80px; margin-bottom: 50px;}
.tpsrl-vc__track {
  display: flex;
  gap: 16px;
  overflow-x: hidden; /* ocultar scroll y evitar deslizamiento manual */
  scroll-snap-type: x mandatory;
  padding: 8px 48px; /* espacio para flechas */
  scroll-behavior: smooth;
}
.tpsrl-vc__no-smooth { scroll-behavior: auto !important; }
/* Ocultar barra de scroll si algún navegador la muestra igualmente */
.tpsrl-vc__track::-webkit-scrollbar { height: 0; width: 0; }
.tpsrl-vc__track { -ms-overflow-style: none; scrollbar-width: none; }

.tpsrl-vc__card {
  position: relative;
  flex: 0 0 365px;
  height: 648px;
  border: 0;
  background: transparent; /* sin bordes negros; usa fondo de la página */
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
}
.tpsrl-vc__img { width: 100%; height: 100%; object-fit: contain; display: block; background: transparent; }
.tpsrl-vc__play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.tpsrl-vc__card::after { content: none; }

.tpsrl-vc__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 72px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.92);
  color: #111;
  display: grid; place-items: center; cursor: pointer;
  z-index: 2;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  font-size: 22px; line-height: 1; user-select: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  -webkit-backdrop-filter: saturate(180%) blur(6px);
  backdrop-filter: saturate(180%) blur(6px);
}
.tpsrl-vc__nav:hover { transform: translateY(-50%) scale(1.06); background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.tpsrl-vc__nav:active { transform: translateY(-50%) scale(.98); }
.tpsrl-vc__nav:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(59,130,246,.45), 0 10px 25px rgba(0,0,0,.15); }
.tpsrl-vc__nav:disabled { opacity: .35; cursor: default; box-shadow: none; }
.tpsrl-vc__prev { left: 0; transform: translate(-60%, -50%); }
.tpsrl-vc__next { right: 0; transform: translate(60%, -50%); }

@media (max-width: 480px) {
  .tpsrl-vc__nav { width: 40px; height: 64px; }
  .tpsrl-vc__prev { transform: translate(-55%, -50%); }
  .tpsrl-vc__next { transform: translate(55%, -50%); }
}

/* Modal */
.tpsrl-vc__modal[hidden] { display: none; }
.tpsrl-vc__modal { position: fixed; inset: 0; z-index: 10000; }
.tpsrl-vc__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.tpsrl-vc__dialog {
  position: absolute; inset: 5% 10%; background: #000; border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.tpsrl-vc__close { position: absolute; right: 8px; top: 4px; z-index: 2; border: 0; background: transparent; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.tpsrl-vc__player { max-width: 100%; max-height: 100%; width: auto; height: auto; background: #000; }

/* Evita el scroll del body cuando el modal está abierto */
.tpsrl-vc--modal-open { overflow: hidden; }

/* Cursor al arrastrar */
.tpsrl-vc__dragging { cursor: grabbing; cursor: -webkit-grabbing; }

@media (max-width: 768px) {
  .tpsrl-vc { padding: 0 12px; }
  .tpsrl-vc__track { padding: 8px 0; }
  .tpsrl-vc__card { flex-basis: 86vw; height: calc(86vw * 1.7778); }
  .tpsrl-vc__dialog { inset: 8% 4%; }
  .tpsrl-vc__prev { left: 8px; transform: translateY(-50%); }
  .tpsrl-vc__next { right: 8px; transform: translateY(-50%); }
}


