/* Orgullo Vértice (Nuestros ingresantes + entrevistas). Viene del prototipo /orgullo-nuevo/.
   Todo va dentro de .og (la sección, su visor y el reproductor) para no chocar con el resto de la web. */
/* Aislamiento: dentro de la sección se ignoran los estilos generales de la web (títulos, contenedor, botones...)
   y vuelven los del navegador, como en el prototipo; encima se aplican solo los de este archivo.
   (Los dibujos SVG quedan fuera para no perder sus trazos.) */
:is(.og *, #og-a):not(svg, svg *) { all: revert; box-sizing: border-box; }
/* 01/12 (fluidez): lugar de cada tarjeta del abanico. Registradas como «no heredables»: al cambiar de tarjeta
   el navegador recalcula solo las 14 tarjetas, no todo lo que llevan dentro (antes eran 274 elementos por
   cambio y en laptops cada cambio congelaba la página). Se ven igual. */
@property --og-d { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --og-ad { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --og-z { syntax: '<integer>'; inherits: false; initial-value: 20; }
:is(.og, #og-a #og-b) { box-sizing: border-box; font-family: 'Montserrat', system-ui, sans-serif; font-size: 16px; line-height: normal; letter-spacing: normal;
  color: #fff; text-align: left; -webkit-font-smoothing: antialiased; }
/* La web da a toda sección relleno arriba y abajo (con !important) y la vuelve flex: esta lleva su propio espacio */
section:is(.og-seccion, #og-a #og-b) { display: block !important; padding-top: 0 !important; padding-bottom: clamp(48px, 5vw, 80px) !important; }

:is(.og, #og-a #og-b) {
  --marino: #131c38; --tinta: #161a3a; --violeta: #6a3df2; --violeta-2: #5a2fd6; --lila: #b49cff;
  --gris: #5d6175; --fondo: #4a22dc;
  --curva: cubic-bezier(.22, 1, .36, 1);
  /* Letras de la marca (las mismas de la web) */
  --letra-autoridad: 'Archivo', system-ui, sans-serif; --letra-texto: 'Montserrat', system-ui, sans-serif; --letra-acento: 'Newsreader', Georgia, serif;
  --ancha: 125%;
}

button:is(.og, .og *, #og-a #og-b) { font: inherit; }

/* ---------- La sección: el fondo de la web actual (degradado de la marca + galaxia de estrellas) ---------- */
:is(.og, .og *, #og-a #og-b).og-seccion { position: relative; isolation: isolate; overflow: hidden; padding: 0 0 clamp(48px, 5vw, 80px);
  background-color: #4a22dc;
  background-image:
    radial-gradient(ellipse 72% 560px at 50% var(--luz-1, 14%), rgba(255,255,255,.34) 0%, rgba(255,255,255,.27) 22%, rgba(255,255,255,.16) 45%, rgba(255,255,255,.05) 70%, transparent 100%),
    radial-gradient(ellipse 58% 460px at 50% var(--luz-2, 62%), rgba(255,255,255,.26) 0%, rgba(255,255,255,.21) 22%, rgba(255,255,255,.12) 45%, rgba(255,255,255,.04) 70%, transparent 100%),
    linear-gradient(115deg, #2a25d8 0%, #4a22dc 35%, #6b1fe1 70%, #7d28e8 100%); }
/* Dos luces blancas suaves: una alumbra «Nuestros ingresantes» y otra «Orgullo Vértice» (posiciones medidas por JS) */
/* (Las dos luces van dentro del mismo fondo: una sola pintura, sin máscaras ni capas extra) */
:is(.og, .og *, #og-a #og-b).galaxia { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
:is(.og, .og *, #og-a #og-b).og-seccion > :not(.galaxia, dialog) { position: relative; z-index: 1; }
:is(.og, .og *, #og-a #og-b).contenedor { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

/* ---------- Pisos: cada uno ocupa el 88 % de la pantalla; abajo asoma el siguiente ---------- */
:is(.og, .og *, #og-a #og-b).piso { min-height: 88vh; min-height: 88svh; display: flex; flex-direction: column; }
:is(.og, .og *, #og-a #og-b).piso--1 { justify-content: center; padding: clamp(28px, 4vh, 56px) 0 clamp(20px, 3vh, 40px); }
:is(.og, .og *, #og-a #og-b).piso--2 { justify-content: flex-start; padding-top: clamp(28px, 5vh, 64px); }

/* ---------- Tipografía de la marca (igual que en la web) ---------- */
:is(.og, .og *, #og-a #og-b).etiqueta { display: block; font-family: var(--letra-autoridad); font-stretch: var(--ancha); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 12px rgba(20, 8, 70, .45); }
:is(.og, .og *, #og-a #og-b).titulo { margin: 0; font-family: var(--letra-autoridad); font-stretch: var(--ancha); font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; color: #fff;
  text-shadow: 0 2px 24px rgba(20, 8, 70, .35); }
:is(.og, .og *, #og-a #og-b).acento { font-family: var(--letra-acento); font-style: italic; font-weight: 300; font-stretch: normal; text-transform: none; letter-spacing: .025em;
  /* Degradado suave de blanco a lila claro, como la cursiva de la web */
  background: linear-gradient(100deg, #ffffff 0%, #e6dcff 55%, #cbb8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; padding: 0 .06em .08em 0; }
:is(.og, .og *, #og-a #og-b).texto { margin: 0 auto; max-width: 40ch; font-family: var(--letra-texto); font-weight: 400; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .8); text-wrap: pretty; }

/* Encabezado de arriba */
:is(.og, .og *, #og-a #og-b).cabeza { text-align: center; }
:is(.og, .og *, #og-a #og-b).cabeza .titulo { font-size: clamp(34px, 4.4vw, 72px); line-height: 1.04; }
:is(.og, .og *, #og-a #og-b).cabeza .texto { margin-top: clamp(10px, 1.4vh, 18px); }

/* ---------- Piso 1: los 4 afiches de grupo ---------- */
:is(.og, .og *, #og-a #og-b).grupos { --gap: clamp(14px, 1.3vw, 24px); margin-top: clamp(22px, 3.2vh, 44px); }
/* Los 4 a la vista lo más grandes posible: los limita el ancho y también el alto del piso (nunca se cortan).
   --cabeza la mide el JS (alto del encabezado). */
:is(.og, .og *, #og-a #og-b).grupos__pista { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
  --lado: min(calc((100vw - 64px - 3 * var(--gap)) / 4), calc(88svh - var(--cabeza, 220px) - clamp(48px, 7vh, 96px) - 40px), 440px);
  width: calc(var(--lado) * 4 + var(--gap) * 3); margin-left: 50%; transform: translateX(-50%); }
:is(.og, .og *, #og-a #og-b).grupo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; cursor: zoom-in; border: 0; padding: 0; background: rgba(255,255,255,.12);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 28px 46px -24px rgba(12, 4, 60, .7);
  transform: translateY(0); transition: transform .5s var(--curva), box-shadow .5s var(--curva); }
:is(.og, .og *, #og-a #og-b).grupo:hover, :is(.og, .og *, #og-a #og-b).grupo:focus-visible { transform: translateY(-6px); box-shadow: 0 34px 50px -24px rgba(60, 30, 160, .55); outline: none; }
:is(.og, .og *, #og-a #og-b).grupo img { display: block; width: 100%; height: 100%; object-fit: cover; }
:is(.og, .og *, #og-a #og-b).grupo__vidrio { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
:is(.og, .og *, #og-a #og-b).grupo__lupa { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--violeta); box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); transform: scale(.9); transition: transform .4s var(--curva); }
:is(.og, .og *, #og-a #og-b).grupo:hover .grupo__lupa { transform: scale(1); }
:is(.og, .og *, #og-a #og-b).grupo__lupa svg { width: 20px; height: 20px; }
/* Reflejo suave debajo (solo un difuminado, sin copiar la imagen) */
:is(.og, .og *, #og-a #og-b).piso-reflejo { height: 34px; margin: -6px 4% 0; background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(255, 255, 255, .12), transparent 70%); pointer-events: none; }

:is(.og, .og *, #og-a #og-b).control { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 18px; }
:is(.og, .og *, #og-a #og-b).flecha { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255, 255, 255, .45); color: #fff; cursor: pointer;
  transition: transform .3s var(--curva), background .3s, color .3s; }
:is(.og, .og *, #og-a #og-b).flecha:hover { transform: scale(1.06); background: #fff; color: var(--violeta-2); }
:is(.og, .og *, #og-a #og-b).flecha:active { transform: scale(.95); }
:is(.og, .og *, #og-a #og-b).flecha svg { width: 18px; height: 18px; }
:is(.og, .og *, #og-a #og-b).control__num { min-width: 64px; text-align: center; font-family: var(--letra-autoridad); font-weight: 500; font-size: 15px; letter-spacing: .06em; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
:is(.og, .og *, #og-a #og-b).control__num b { color: #fff; font-weight: 600; }
:is(.og, .og *, #og-a #og-b).grupos .control { display: none; }

/* ---------- Piso 2: Orgullo Vértice ---------- */
:is(.og, .og *, #og-a #og-b).medio { position: relative; text-align: center; margin: 0 auto; }
:is(.og, .og *, #og-a #og-b).medio .titulo { margin-top: 4px; font-size: clamp(30px, 3.4vw, 56px); line-height: 1.08; }
:is(.og, .og *, #og-a #og-b).medio .texto { margin-top: clamp(8px, 1.2vh, 14px); }

/* ---------- Piso 2: abanico de entrevistas ---------- */
:is(.og, .og *, #og-a #og-b).abanico { --w: clamp(260px, min(31vw, (88svh - 320px) / 1.08), 460px); position: relative; margin-top: clamp(4px, 1vw, 12px); }
:is(.og, .og *, #og-a #og-b).abanico__escena { position: relative; height: calc(var(--w) * 1.08 + 48px); perspective: 1500px; perspective-origin: 50% 45%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
:is(.og, .og *, #og-a #og-b).tarjeta { --paso: clamp(180px, 19vw, 280px);
  position: absolute; left: 50%; top: 50%; width: var(--w); height: calc(var(--w) * 1.08); margin: calc(var(--w) * -.54) 0 0 calc(var(--w) * -.5);
  /* Borde transparente de 2 px: al girar en 3D el navegador no suaviza el filo de la capa; así el filo queda
     invisible y la esquina redonda (que sí se suaviza) es lo que se ve. Sin dientes de sierra. */
  border: 2px solid transparent; background-clip: padding-box; padding: 0; border-radius: 28px; overflow: hidden; cursor: pointer; isolation: isolate; outline: 1px solid transparent;
  background-image: radial-gradient(ellipse 75% 60% at 55% 38%, var(--c0) 0%, transparent 70%), linear-gradient(165deg, var(--c1) 0%, var(--c2) 100%);
  transform: translate3d(calc(var(--og-d) * var(--paso)), 0, calc(var(--og-ad) * -110px)) rotateY(calc(var(--og-d) * -16deg)) scale(calc(1 - var(--og-ad) * .1));
  /* Movimiento suave tipo Apple: solo se anima el transform (lo mueve la tarjeta gráfica, sin redibujar).
     El orden adelante/atrás (--og-z) lo cambia el código una sola vez a mitad del giro. */
  /* Se ven 3 a cada lado; desde el 4.º lugar se desvanecen: la que da la vuelta cambia de lado ya invisible, sin saltos */
  opacity: clamp(0, 4 - var(--og-ad), 1);
  transition: transform .75s cubic-bezier(.32, .72, 0, 1), opacity .5s ease;
  will-change: transform, opacity; backface-visibility: hidden;
  box-shadow: 0 30px 50px -30px rgba(40, 20, 120, .55);
  z-index: var(--og-z, 20); }
:is(.og, .og *, #og-a #og-b).tarjeta[data-lejos] { visibility: hidden; }
:is(.og, .og *, #og-a #og-b).tarjeta.activa { box-shadow: 0 46px 70px -34px rgba(70, 35, 200, .75); }
/* Curva suave dentro de la tarjeta (como un papel doblado de fondo) */
:is(.og, .og *, #og-a #og-b).tarjeta::before { content: ''; position: absolute; z-index: -1; left: -30%; right: -30%; top: 52%; height: 120%; border-radius: 50% 50% 0 0 / 34% 34% 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 60%); transform: rotate(-8deg); }
/* Las de los costados se funden con el fondo violeta (sin tocar la foto) */
:is(.og, .og *, #og-a #og-b).tarjeta::after { content: ''; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit;
  --og-ad: inherit; background: #4a22dc; opacity: calc(max(0, var(--og-ad) - 1) * .3); transition: opacity .75s cubic-bezier(.32, .72, 0, 1); }
/* La persona recortada: sus colores reales, sin teñir */
:is(.og, .og *, #og-a #og-b).tarjeta__persona { position: absolute; left: 50%; bottom: 0; width: 100%; height: 93%; transform: translateX(-50%); z-index: 1;
  object-fit: cover; object-position: 50% 28%; display: block; }
:is(.og, .og *, #og-a #og-b).tarjeta__sombra { position: absolute; inset: auto 0 0; height: 40%; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, color-mix(in srgb, var(--c2) 78%, #0b0830) 0%, color-mix(in srgb, var(--c2) 40%, transparent) 45%, transparent 100%); }
:is(.og, .og *, #og-a #og-b).tarjeta__brillo { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 30%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
:is(.og, .og *, #og-a #og-b).tarjeta__logo { position: absolute; left: 24px; top: 22px; z-index: 4; width: 40px; fill: #fff; }
:is(.og, .og *, #og-a #og-b).tarjeta__sello { position: absolute; left: 24px; top: 62px; z-index: 4; margin: 0; text-align: left; color: #fff;
  /* Letra de la marca: Archivo ancha y gruesa, se lee sola sin cápsula */
  font-family: var(--letra-autoridad); font-stretch: var(--ancha); font-weight: 700; font-size: clamp(12px, .95vw, 14px); line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.18); }
:is(.og, .og *, #og-a #og-b).tarjeta__pie { position: absolute; left: 24px; right: 22px; bottom: 22px; z-index: 4; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
:is(.og, .og *, #og-a #og-b).tarjeta__nombre { text-align: left; color: #fff; font-family: var(--letra-autoridad); font-stretch: var(--ancha); font-weight: 700; font-size: clamp(16px, 1.55vw, 22px); line-height: 1.2; letter-spacing: 0; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
:is(.og, .og *, #og-a #og-b).tarjeta__play { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--violeta); box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .4s var(--curva); }
:is(.og, .og *, #og-a #og-b).tarjeta__play svg { width: 20px; height: 20px; }
:is(.og, .og *, #og-a #og-b).tarjeta:hover .tarjeta__play { transform: scale(1.08); }
:is(.og, .og *, #og-a #og-b).abanico__piso { position: absolute; left: 12%; right: 12%; bottom: 40px; height: 70px; background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(255, 255, 255, .14), transparent 70%); pointer-events: none; }

/* Colores de cada tarjeta (c0 = luz detrás de la persona) */
:is(.og, .og *, #og-a #og-b).t-azul { --c0: #cfe0ff; --c1: #8fb4ff; --c2: #3f5fe0; }
:is(.og, .og *, #og-a #og-b).t-celeste { --c0: #d6f6fb; --c1: #93dcec; --c2: #3c8cd4; }
:is(.og, .og *, #og-a #og-b).t-violeta { --c0: #e6dbff; --c1: #b394ff; --c2: #6438ee; }
:is(.og, .og *, #og-a #og-b).t-rosa { --c0: #ffe0ee; --c1: #ffa9cd; --c2: #d64d8c; }
:is(.og, .og *, #og-a #og-b).t-miel { --c0: #fff2d6; --c1: #ffd58c; --c2: #e39a32; }
:is(.og, .og *, #og-a #og-b).t-lila { --c0: #efe8ff; --c1: #cbb6ff; --c2: #7d52ef; }
:is(.og, .og *, #og-a #og-b).t-noche { --c0: #d9ddff; --c1: #9aa6ff; --c2: #3a3ec0; }

/* ---------- Reproductor: la tarjeta crece y se vuelve el video ---------- */
:is(.og, .og *, #og-a #og-b).cine { position: fixed; inset: 0; z-index: 100; }
:is(.og, .og *, #og-a #og-b).cine__velo { position: absolute; inset: 0; background: rgba(19, 28, 56, .78); }
:is(.og, .og *, #og-a #og-b).cine__marco { position: fixed; overflow: hidden; border-radius: 24px; isolation: isolate; color: #fff;
  background: radial-gradient(ellipse 75% 60% at 55% 38%, var(--c0) 0%, transparent 70%), linear-gradient(165deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow: 0 40px 90px -30px rgba(10, 6, 40, .7), inset 0 0 0 1px rgba(255, 255, 255, .25); }
/* Caja de la animación: un solo rectángulo liviano (sin video ni fotos dentro) que crece y se encoge */
:is(.og, .og *, #og-a #og-b).cine__caja { position: fixed; z-index: 1; overflow: hidden; border-radius: 24px; background: #fff; contain: strict; display: grid; place-items: center; }
:is(.og, .og *, #og-a #og-b).cine__caja-color { position: absolute; inset: 0; background: radial-gradient(ellipse 75% 60% at 55% 38%, var(--c0) 0%, transparent 70%), linear-gradient(165deg, var(--c1) 0%, var(--c2) 100%); }
:is(.og, .og *, #og-a #og-b).cine__sello { position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: rgba(19, 28, 56, .62); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
:is(.og, .og *, #og-a #og-b).cine__sello svg { width: 36px; fill: #fff; }
:is(.og, .og *, #og-a #og-b).cine__marco { z-index: 2; }
:is(.og, .og *, #og-a #og-b).cine:not(.listo) .cine__marco { visibility: hidden; }
:is(.og, .og *, #og-a #og-b).cine.listo.esperando .cine__carga { transition: none; }
:is(.og, .og *, #og-a #og-b).cine__video { opacity: 0; }

/* Fondo blanco con el símbolo de Vértice cargando mientras llega el video */
:is(.og, .og *, #og-a #og-b).cine__marco { background: #fff; }

:is(.og, .og *, #og-a #og-b).cine.cerrando .cine__barra, :is(.og, .og *, #og-a #og-b).cine.cerrando .cine__hilo, :is(.og, .og *, #og-a #og-b).cine.cerrando .cine__cerrar, :is(.og, .og *, #og-a #og-b).cine.cerrando .cine__carga, :is(.og, .og *, #og-a #og-b).cine.cerrando .cine__grande { visibility: hidden; transition: none; }
:is(.og, .og *, #og-a #og-b).cine.cerrando { pointer-events: none; }
:is(.og, .og *, #og-a #og-b).cine__video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; background: transparent; cursor: pointer; }
/* Cargando: símbolo de Vértice con anillo */
:is(.og, .og *, #og-a #og-b).cine__carga { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; transform: scale(0); transition: transform .35s var(--curva); }
:is(.og, .og *, #og-a #og-b).cine.listo.esperando .cine__carga { transform: scale(1); }
:is(.og, .og *, #og-a #og-b).cine__carga svg { grid-area: 1 / 1; width: 36px; fill: #fff; position: relative; z-index: 1; }
:is(.og, .og *, #og-a #og-b).cine__anillo { grid-area: 1 / 1; width: 74px; height: 74px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: cine-gira .9s linear infinite; background: rgba(19, 28, 56, .62); }
:is(.og, .og *, #og-a #og-b).cine:not(.esperando) .cine__anillo { animation-play-state: paused; }
@keyframes cine-gira { to { transform: rotate(360deg); } }
/* Botón grande al estar en pausa */
:is(.og, .og *, #og-a #og-b).cine__grande { position: absolute; left: 50%; top: 50%; z-index: 3; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--violeta); box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .5); transform: scale(0); transition: transform .35s var(--curva); }
:is(.og, .og *, #og-a #og-b).cine__grande svg { width: 28px; height: 28px; }
:is(.og, .og *, #og-a #og-b).cine.listo.pausa:not(.esperando) .cine__grande { transform: scale(1); }
/* Cerrar (parte de la misma caja) */
:is(.og, .og *, #og-a #og-b).cine__cerrar { position: absolute; top: 14px; right: 14px; z-index: 4; width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(19, 28, 56, .5); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transform: translateY(-70px); transition: transform .4s var(--curva), background .3s; }
:is(.og, .og *, #og-a #og-b).cine.listo .cine__cerrar { transform: none; }
:is(.og, .og *, #og-a #og-b).cine.listo .cine__cerrar:hover { background: rgba(19, 28, 56, .75); transform: rotate(90deg); }
:is(.og, .og *, #og-a #og-b).cine__cerrar svg { width: 16px; height: 16px; }
/* Barra de controles: cápsula minimalista */
:is(.og, .og *, #og-a #og-b).cine__barra { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 4; display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 6px; border-radius: 999px;
  background: rgba(19, 28, 56, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 30px -12px rgba(0, 0, 0, .5);
  transform: translateY(calc(100% + 16px)); transition: transform .45s var(--curva); }
:is(.og, .og *, #og-a #og-b).cine.listo .cine__barra { transform: none; }
:is(.og, .og *, #og-a #og-b).cine.listo.quieto:not(.pausa) .cine__barra { transform: translateY(calc(100% + 16px)); }
:is(.og, .og *, #og-a #og-b).cine.listo.quieto:not(.pausa) .cine__cerrar { transform: translateY(-70px); }
:is(.og, .og *, #og-a #og-b).cine.listo.quieto:not(.pausa) .cine__marco { cursor: none; }
:is(.og, .og *, #og-a #og-b).cine__boton { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: #fff; cursor: pointer; transition: background .25s, transform .25s var(--curva); }
:is(.og, .og *, #og-a #og-b).cine__boton:hover, :is(.og, .og *, #og-a #og-b).cine__boton:focus-visible { background: rgba(255, 255, 255, .14); outline: none; }
:is(.og, .og *, #og-a #og-b).cine__boton--play, :is(.og, .og *, #og-a #og-b).cine__boton--play:hover { background: #fff; color: var(--violeta); }
:is(.og, .og *, #og-a #og-b).cine__boton--play:hover { transform: scale(1.06); }
:is(.og, .og *, #og-a #og-b).cine__boton svg { width: 18px; height: 18px; }
:is(.og, .og *, #og-a #og-b).cine .i-play, :is(.og, .og *, #og-a #og-b).cine.pausa .i-pausa, :is(.og, .og *, #og-a #og-b).cine .i-mudo, :is(.og, .og *, #og-a #og-b).cine.mudo .i-ondas, :is(.og, .og *, #og-a #og-b).cine .i-salir, :is(.og, .og *, #og-a #og-b).cine.completa .i-entrar { display: none; }
:is(.og, .og *, #og-a #og-b).cine.pausa .i-play, :is(.og, .og *, #og-a #og-b).cine.mudo .i-mudo, :is(.og, .og *, #og-a #og-b).cine.completa .i-salir { display: inline; }
:is(.og, .og *, #og-a #og-b).cine__tiempo { flex: none; font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .9); padding: 0 4px; }
:is(.og, .og *, #og-a #og-b).cine__avance { flex: 1; min-width: 0; height: 20px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --avance: 0%; }
:is(.og, .og *, #og-a #og-b).cine__avance::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, #fff var(--avance), rgba(255, 255, 255, .25) var(--avance)); }
:is(.og, .og *, #og-a #og-b).cine__avance::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
:is(.og, .og *, #og-a #og-b).cine__avance::-moz-range-progress { height: 4px; border-radius: 4px; background: #fff; }
:is(.og, .og *, #og-a #og-b).cine__avance::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; border: 3px solid var(--violeta); box-sizing: border-box; transform: scale(.7); transition: transform .2s; }
:is(.og, .og *, #og-a #og-b).cine__avance:hover::-webkit-slider-thumb { transform: scale(1); }
:is(.og, .og *, #og-a #og-b).cine__avance::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--violeta); }
:is(.og, .og *, #og-a #og-b).cine__marco:fullscreen { border-radius: 0; background: #000; }
:is(.og, .og *, #og-a #og-b).cine__marco:fullscreen .cine__video { object-fit: contain; }
:is(.og, .og *, #og-a #og-b).cine__marco:fullscreen .cine__barra { left: 50%; right: auto; width: min(640px, calc(100% - 24px)); margin-left: max(-320px, calc(-50% + 12px)); bottom: 20px; }
@media (max-width: 420px) { :is(.og, .og *, #og-a #og-b).cine__tiempo--total { display: none; } }
@media (prefers-reduced-motion: reduce) { :is(.og, .og *, #og-a #og-b).cine__anillo { animation-duration: 2.4s; } }

/* Controles tranquilos: sin cápsula, solo un velo suave abajo; se esconden solos al ver el video
   y queda apenas una línea fina de avance */
:is(.og, .og *, #og-a #og-b).cine__barra { left: 0; right: 0; bottom: 0; gap: 2px; padding: 44px 14px 12px; border-radius: 0;
  background: linear-gradient(to top, rgba(10, 12, 30, .55), rgba(10, 12, 30, 0)); box-shadow: none;
  transform: translateY(100%); transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
:is(.og, .og *, #og-a #og-b).cine.listo.quieto:not(.pausa) .cine__barra { transform: translateY(100%); }
:is(.og, .og *, #og-a #og-b).cine__boton { width: 34px; height: 34px; color: rgba(255, 255, 255, .92); }
:is(.og, .og *, #og-a #og-b).cine__boton svg { width: 17px; height: 17px; }
:is(.og, .og *, #og-a #og-b).cine__boton--play, :is(.og, .og *, #og-a #og-b).cine__boton--play:hover { background: transparent; color: #fff; transform: none; }
:is(.og, .og *, #og-a #og-b).cine__boton:hover, :is(.og, .og *, #og-a #og-b).cine__boton:focus-visible { background: rgba(255, 255, 255, .12); }
:is(.og, .og *, #og-a #og-b).cine__tiempo { font-size: 11px; color: rgba(255, 255, 255, .78); padding: 0 6px; }
:is(.og, .og *, #og-a #og-b).cine__avance { height: 18px; }
:is(.og, .og *, #og-a #og-b).cine__avance::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right, #fff var(--avance), rgba(255, 255, 255, .22) var(--avance)); }
:is(.og, .og *, #og-a #og-b).cine__avance::-webkit-slider-thumb { width: 11px; height: 11px; margin-top: -4px; border: 0; transform: scale(0); }
:is(.og, .og *, #og-a #og-b).cine__avance:hover::-webkit-slider-thumb, :is(.og, .og *, #og-a #og-b).cine__avance:active::-webkit-slider-thumb { transform: scale(1); }
:is(.og, .og *, #og-a #og-b).cine__avance::-moz-range-thumb { width: 11px; height: 11px; border: 0; }
/* Volumen: se abre al lado del parlante al pasar el cursor */
:is(.og, .og *, #og-a #og-b).cine__volumen { display: flex; align-items: center; flex: none; }
:is(.og, .og *, #og-a #og-b).cine__nivel { width: 0; height: 18px; margin: 0; opacity: 1; overflow: hidden; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; --nivel: 100%;
  transition: width .35s cubic-bezier(.22, 1, .36, 1), margin .35s; }
:is(.og, .og *, #og-a #og-b).cine__volumen:hover .cine__nivel, :is(.og, .og *, #og-a #og-b).cine__nivel:focus-visible { width: 70px; margin-right: 6px; }
:is(.og, .og *, #og-a #og-b).cine__nivel::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, #fff var(--nivel), rgba(255, 255, 255, .22) var(--nivel)); }
:is(.og, .og *, #og-a #og-b).cine__nivel::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; margin-top: -3.5px; border-radius: 50%; background: #fff; }
:is(.og, .og *, #og-a #og-b).cine__nivel::-moz-range-track { height: 3px; background: rgba(255, 255, 255, .22); }
:is(.og, .og *, #og-a #og-b).cine__nivel::-moz-range-progress { height: 3px; background: #fff; }
:is(.og, .og *, #og-a #og-b).cine__nivel::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #fff; }
@media (hover: none) { :is(.og, .og *, #og-a #og-b).cine__nivel { display: none; } }
/* Barra pulida: franja de carga, la línea engrosa al acercarse, burbuja con el tiempo, botones que responden al toque */
:is(.og, .og *, #og-a #og-b).cine__pista { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
:is(.og, .og *, #og-a #og-b).cine__avance { flex: 1; --carga: 0%; }
:is(.og, .og *, #og-a #og-b).cine__avance::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; transition: height .2s var(--curva);
  background: linear-gradient(to right, #fff var(--avance), rgba(255, 255, 255, .42) var(--avance), rgba(255, 255, 255, .42) var(--carga), rgba(255, 255, 255, .18) var(--carga)); }
:is(.og, .og *, #og-a #og-b).cine__barra:hover .cine__avance::-webkit-slider-runnable-track { height: 5px; }
:is(.og, .og *, #og-a #og-b).cine__avance::-webkit-slider-thumb { width: 13px; height: 13px; margin-top: -5px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .22), 0 2px 6px rgba(0, 0, 0, .35); transition: transform .2s var(--curva); }
:is(.og, .og *, #og-a #og-b).cine__barra:hover .cine__avance::-webkit-slider-thumb { transform: scale(1); margin-top: -4px; }
:is(.og, .og *, #og-a #og-b).cine__burbuja { position: absolute; left: var(--x, 0); bottom: calc(100% + 6px); transform: translate(-50%, 4px); opacity: 0; pointer-events: none;
  padding: 4px 8px; border-radius: 7px; background: rgba(10, 12, 30, .82); color: #fff; font-family: var(--letra-autoridad); font-size: 11px; font-weight: 500; letter-spacing: .04em; font-variant-numeric: tabular-nums;
  transition: opacity .18s, transform .18s var(--curva); }
:is(.og, .og *, #og-a #og-b).cine__pista:hover .cine__burbuja { opacity: 1; transform: translate(-50%, 0); }
:is(.og, .og *, #og-a #og-b).cine__tiempo { color: #fff; }
:is(.og, .og *, #og-a #og-b).cine__tiempo--total { color: rgba(255, 255, 255, .62); }
:is(.og, .og *, #og-a #og-b).cine__boton:active { transform: scale(.9); }
/* Línea fina de avance que queda cuando los controles se esconden */
:is(.og, .og *, #og-a #og-b).cine__hilo { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 2px; background: rgba(255, 255, 255, .18); pointer-events: none;
  transform: translateY(100%); transition: transform .5s ease .2s; }
:is(.og, .og *, #og-a #og-b).cine__hilo i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
:is(.og, .og *, #og-a #og-b).cine.listo.quieto:not(.pausa) .cine__hilo { transform: none; }
:is(.og, .og *, #og-a #og-b).cine__cerrar { background: rgba(10, 12, 30, .35); box-shadow: none; transition: transform .7s cubic-bezier(.4, 0, .2, 1), background .3s; }

/* Visor (afiche): abre al instante con la imagen que ya se ve y crece desde su cajita; luego entra la nítida */
:is(.og, .og *, #og-a #og-b).visor { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; color: #fff; }
:is(.og, .og *, #og-a #og-b).visor::backdrop { background: transparent; }
:is(.og, .og *, #og-a #og-b).visor__fondo { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 50% 45%, rgba(38, 22, 112, .97), rgba(10, 6, 36, .99)); opacity: 0; transition: opacity .45s var(--curva); }
:is(.og, .og *, #og-a #og-b).visor[data-estado="abierto"] .visor__fondo { opacity: 1; }
:is(.og, .og *, #og-a #og-b).visor__marco { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; background: #1a1340; transform-origin: 0 0; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); touch-action: pan-y; }
:is(.og, .og *, #og-a #og-b).visor__marco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
:is(.og, .og *, #og-a #og-b).visor__alta { opacity: 0; transition: opacity .35s ease; }
:is(.og, .og *, #og-a #og-b).visor__alta.lista { opacity: 1; }
:is(.og, .og *, #og-a #og-b).visor__ui { opacity: 0; transition: opacity .35s ease .12s; }
:is(.og, .og *, #og-a #og-b).visor[data-estado="abierto"] .visor__ui { opacity: 1; }
:is(.og, .og *, #og-a #og-b).visor__boton { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background .25s, transform .25s var(--curva); }
:is(.og, .og *, #og-a #og-b).visor__boton:hover { background: rgba(255, 255, 255, .2); }
:is(.og, .og *, #og-a #og-b).visor__boton:active { transform: scale(.92); }
:is(.og, .og *, #og-a #og-b).visor__boton:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
:is(.og, .og *, #og-a #og-b).visor__boton svg { width: 20px; height: 20px; }
:is(.og, .og *, #og-a #og-b).visor__cerrar { top: 20px; right: 20px; }
:is(.og, .og *, #og-a #og-b).visor__ant { left: 24px; top: 50%; margin-top: -24px; }
:is(.og, .og *, #og-a #og-b).visor__sig { right: 24px; top: 50%; margin-top: -24px; }
:is(.og, .og *, #og-a #og-b).visor__pie { position: absolute; left: 0; right: 0; bottom: 22px; margin: 0; display: flex; justify-content: center; align-items: center; gap: 14px; pointer-events: none;
  font-family: var(--letra-autoridad); font-stretch: var(--ancha); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .92); }
:is(.og, .og *, #og-a #og-b).visor__num { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .6); }
@media (max-width: 700px) {
  :is(.og, .og *, #og-a #og-b).visor__cerrar { top: 14px; right: 14px; width: 44px; height: 44px; }
  :is(.og, .og *, #og-a #og-b).visor__ant, :is(.og, .og *, #og-a #og-b).visor__sig { top: auto; bottom: 14px; margin: 0; width: 44px; height: 44px; }
  :is(.og, .og *, #og-a #og-b).visor__ant { left: 16px; } :is(.og, .og *, #og-a #og-b).visor__sig { right: 16px; }
  :is(.og, .og *, #og-a #og-b).visor__pie { bottom: 26px; flex-direction: column; gap: 4px; font-size: 10px; padding: 0 72px; text-align: center; }
}

/* Entrada suave al bajar (solo movimiento, sin desvanecer) */
:is(.og, .og *, #og-a #og-b).sube { transform: translateY(28px); transition: transform 1s var(--curva); }
:is(.og, .og *, #og-a #og-b).sube.visto { transform: none; }

/* ---------- Celular ---------- */
@media (max-width: 860px) {
  :is(.og, .og *, #og-a #og-b).grupos__pista { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 10px; margin: 0 -16px; width: auto; transform: none; scrollbar-width: none; }
  :is(.og, .og *, #og-a #og-b).grupos__pista::-webkit-scrollbar { display: none; }
  :is(.og, .og *, #og-a #og-b).grupos__pista .grupo { flex: 0 0 90%; scroll-snap-align: center; }
  :is(.og, .og *, #og-a #og-b).grupos .control { display: flex; margin-top: 6px; }
  :is(.og, .og *, #og-a #og-b).piso-reflejo { display: none; }
  :is(.og, .og *, #og-a #og-b).medio__titulo::before, :is(.og, .og *, #og-a #og-b).medio__titulo::after { flex-basis: 28px; }
  :is(.og, .og *, #og-a #og-b).etiqueta { font-size: 11px; }
  :is(.og, .og *, #og-a #og-b).piso--2 { min-height: 0; }
  :is(.og, .og *, #og-a #og-b).texto { font-size: 15px; }
  :is(.og, .og *, #og-a #og-b).abanico { --w: min(80vw, 340px); }
  :is(.og, .og *, #og-a #og-b).tarjeta { --paso: min(40vw, 180px); }
  :is(.og, .og *, #og-a #og-b).abanico__escena { height: calc(var(--w) * 1.08 + 56px); }
  :is(.og, .og *, #og-a #og-b).tarjeta__nombre { font-size: 16px; }
  :is(.og, .og *, #og-a #og-b).tarjeta__play { width: 42px; height: 42px; }
}
/* Tablet: el afiche no tapa todo; asoma el siguiente */
@media (min-width: 600px) and (max-width: 860px) {
  :is(.og, .og *, #og-a #og-b).grupos__pista .grupo { flex-basis: 66%; }
  :is(.og, .og *, #og-a #og-b).piso--1 { padding-top: clamp(40px, 6vh, 72px); }
}
/* Borde limpio del reproductor: detrás del video nunca hay blanco (fondo oscuro), el video sobra 1 px por cada lado
   y el recorte de las esquinas lo hace clip-path (más fino que overflow + border-radius) */
:is(.og, .og *, #og-a #og-b).cine__caja { background: #0b0830; }
:is(.og, .og *, #og-a #og-b).cine__marco { background: #0b0830; clip-path: inset(0 round 24px); transform: translateZ(0); }
:is(.og, .og *, #og-a #og-b).cine__video { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
:is(.og, .og *, #og-a #og-b).cine__marco:fullscreen { clip-path: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  :is(.og, .og *, #og-a #og-b).tarjeta, :is(.og, .og *, #og-a #og-b).grupo, :is(.og, .og *, #og-a #og-b).sube { transition-duration: .01s; }
}
