/* COTA v2 · reels de la plataforma (7/11): carrusel en círculo dentro de la banda carbón.
   La tarjeta del centro se reproduce; las de los costados giran hacia atrás como en un tambor. */
.pl { overflow-x: clip; }
.pl__baj { margin: 16px 0 0; max-width: 46ch; font-size: 1rem; line-height: 1.5; color: #c9c4b8; }

.rl { --rl-w: min(66vw, 300px); position: relative; margin: 6px 0 4px; }
/* luz cálida detrás de la tarjeta activa: la marca, sin cambiar el fondo de la banda */
.rl::before { content: ""; position: absolute; left: 50%; top: 46%; width: min(130vw, 760px); aspect-ratio: 1.4; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(138, 75, 51, .42), rgba(138, 75, 51, .12) 55%, transparent); pointer-events: none; }

.rl__pista { position: relative; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 26px calc(50% - var(--rl-w) / 2) 8px; perspective: 1000px; perspective-origin: 50% 40%; outline: none;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.rl__pista::-webkit-scrollbar { display: none; }
.rl__pista:focus-visible { box-shadow: inset 0 0 0 2px var(--cota-papel); }

.rl__card { flex: 0 0 var(--rl-w); margin: 0 calc(var(--rl-w) * -.07); scroll-snap-align: center; scroll-snap-stop: always;
  transform-origin: 50% 50%; will-change: transform; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* Marco de vidrio fino, como el borde de un celular: el contenido nunca toca la esquina redondeada. */
.rl__marco { --bisel: 6px; position: relative; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06) 40%, rgba(255, 255, 255, .1));
  box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .4); }
.rl__marco video { position: absolute; inset: var(--bisel); width: calc(100% - 2 * var(--bisel)); height: calc(100% - 2 * var(--bisel));
  object-fit: cover; object-position: 50% 0; display: block; border-radius: 20px; background: #ece8e0; }
/* pantalla: arriba se esfuma lo que asoma del encabezado; brillo de vidrio en diagonal */
.rl__marco::before { content: ""; position: absolute; inset: var(--bisel); z-index: 2; border-radius: 20px; pointer-events: none;
  background: linear-gradient(180deg, #ebe7df 0, rgba(235, 231, 223, .85) 10px, rgba(235, 231, 223, 0) 30px),
    linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 28%), linear-gradient(0deg, rgba(20, 20, 18, .14), transparent 20%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.rl__marco::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #141412; opacity: var(--velo, 0); pointer-events: none; }

/* botón de pausa / play sobre la tarjeta activa, sólo cuando hace falta */
.rl__play { position: absolute; z-index: 4; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(32, 32, 30, .55); border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); opacity: 0; transform: scale(.9);
  transition: opacity .2s ease, transform .2s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.rl__play svg { width: 26px; height: 26px; fill: var(--cota-papel); }
.rl__card.is-pausa .rl__play { opacity: 1; transform: none; }

.rl__txt { margin: 16px 6px 0; text-align: center; transition: opacity .25s ease; opacity: var(--txt, 0); }
.rl__n { display: block; font-size: .78rem; letter-spacing: .22em; color: #d39a7f; margin-bottom: 4px; }
.rl__txt b { display: block; font-weight: 500; font-size: 1.12rem; line-height: 1.25; color: var(--cota-papel); }
.rl__txt span:last-child { display: block; margin-top: 4px; font-size: .95rem; line-height: 1.4; color: #c9c4b8; }

/* navegación: barras tipo historias (avance del video) y flechas */
.rl__nav { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 18px auto 0; padding: 0 var(--gutter); max-width: 520px; }
.rl__barras { flex: 1; display: flex; gap: 6px; }
.rl__barra { flex: 1; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.rl__barra i { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(237, 233, 225, .22); overflow: hidden; position: relative; }
.rl__barra i::after { content: ""; position: absolute; inset: 0; background: var(--cota-papel); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.rl__barra:focus-visible { outline: 2px solid var(--cota-papel); outline-offset: 2px; }
.rl__flecha { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: rgba(237, 233, 225, .08); border: 1px solid rgba(237, 233, 225, .2); color: var(--cota-papel); }
.rl__flecha svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rl__flecha:hover { background: rgba(237, 233, 225, .16); }
.rl__flecha:focus-visible { outline: 2px solid var(--cota-papel); outline-offset: 2px; }

.pl .pl__pie { margin-top: 26px; }

/* Sin JS el carrusel sigue siendo una tira que se desliza, con los pósters. */
html:not(.js) .rl__txt { opacity: 1; }
html:not(.js) .rl__nav { display: none; }

@media (prefers-reduced-motion: reduce) {
  .rl__card { transform: none !important; }
  .rl__txt { transition: none; }
}
@media (min-width: 861px) {
  .rl { --rl-w: 290px; margin-top: 10px; }
  .rl__pista { padding-top: 34px; }
  .rl__card { margin: 0 -14px; }
}
