/* CONEXIONES 2026 · EL CRONOGRAMA QUE VE EL PÚBLICO
 * ──────────────────────────────────────────────────────────────────────────
 * Hoja ADITIVA, pensada para entrar al micrositio junto a cx2.css: usa sus
 * mismos tokens (--c2-cian, --c2-rojo, --c2-titulo, --c2-texto, --deriva) y no
 * redefine ninguna de sus reglas. Si se abre suelta, el bloque :root de abajo
 * le da valores para que se vea igual.
 *
 * v55 (Kley, 01-12): «EL PROGRAMA IMPRESO» del mismo tiquete aprobado. Sin la tira de barritas («el hilo») ni rombos.
 *   · arriba, el tiquete de producción (app/tiquete.css, que NO se toca): talón rojo ADMIT ONE con barras, línea de corte
 *     punteada con dos muescas, cuerpo de cristal cian con rejilla, wordmark CONEXIONES (Orbitron, aberración cian/rojo);
 *   · debajo, cada acto es un panel de la PALETA APAGADA de la v53c (referencias-visuales/show/conexiones-afiche/v53c/LEEME.md §3):
 *     grafito #10141B → #0A0C11, borde #2A313C, filo izquierdo de 2 px cian #22D3EE, cortes a 45°; su talón es el principal
 *     rojo vino (#6A1A2C → #22060E, filo #F43F5E) y, si el nombre del acto no está confirmado, una barra de CENSURA;
 *   · texto #D8DEE6 / #8A94A3, rótulos acero cian #6FC3CF; el icono del cronograma es el de v53c/iconos/cronograma-24.svg.
 * Teléfono de noche en teatro oscuro: letras grandes, una mano, nada que destelle. Nada de esta hoja se anima (salvo el
 * punto de «MIRÁ EL ESCENARIO», que acá no se muestra).
 */
:root {
  --c2-negro: #050507; --c2-cian: 34, 211, 238; --c2-rojo: 244, 63, 94; --c2-oro: 251, 191, 36;
  --c2-titulo: Orbitron, "Inter Display", Inter, system-ui, sans-serif;
  --c2-texto: Rajdhani, Inter, system-ui, sans-serif;
  --c2-ui: Inter, system-ui, sans-serif;
  --deriva: cubic-bezier(0.16, 1, 0.3, 1);
  /* v53c · paleta apagada */
  --ap-tinta: #07080B; --ap-panel: #10141B; --ap-panel2: #0A0C11; --ap-borde: #2A313C; --ap-filo: #22D3EE;
  --ap-txt: #D8DEE6; --ap-txt2: #8A94A3; --ap-acero: #6FC3CF;
  --ap-vino1: #6A1A2C; --ap-vino2: #4A1020; --ap-vino3: #22060E; --ap-vino-filo: #F43F5E;
  --ap-ic-crono: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 48 48' role='img' aria-label='Cronograma'%3E%3Cdefs%3E  %3ClinearGradient id='i-cronograma-24-ct' x1='4' y1='4' x2='44' y2='44' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23c9d6da'/%3E%3Cstop offset='.5' stop-color='%236d97a0'/%3E%3Cstop offset='1' stop-color='%238a3a4c'/%3E%3C/linearGradient%3E  %3ClinearGradient id='i-cronograma-24-rl' x1='6' y1='4' x2='40' y2='46' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%236d97a0' stop-opacity='.22'/%3E%3Cstop offset='.55' stop-color='%23121a22' stop-opacity='.70'/%3E%3Cstop offset='1' stop-color='%235a1424' stop-opacity='.45'/%3E%3C/linearGradient%3E  %3Cpattern id='i-cronograma-24-sc' width='4' height='3' patternUnits='userSpaceOnUse'%3E%3Crect width='4' height='1' fill='%23e04a63' fill-opacity='.35'/%3E%3C/pattern%3E%3C/defs%3E%3Cg class='halo' opacity='0.072'%3E%3Cpath d='M10 4V44' fill='none' stroke-linejoin='miter' stroke-miterlimit='6' stroke-linecap='square' stroke='%2322d3ee' stroke-width='8.2'/%3E%3Cpath d='M21 6.5H42V11.5L40 13.5H19V8.5Z' fill='none' stroke-linejoin='miter' stroke-miterlimit='6' stroke-linecap='square' stroke='%2322d3ee' stroke-width='8.2'/%3E%3Cpath d='M21 20.5H36V25.5L34 27.5H19V22.5Z' fill='none' stroke-linejoin='miter' stroke-miterlimit='6' stroke-linecap='square' stroke='%2322d3ee' stroke-width='8.2'/%3E%3Cpath d='M21 34.5H44V39.5L42 41.5H19V36.5Z' fill='none' stroke-linejoin='miter' stroke-miterlimit='6' stroke-linecap='square' stroke='%2322d3ee' stroke-width='8.2'/%3E%3C/g%3E%3Cg class='relleno'%3E%3Cpath d='M21 6.5H42V11.5L40 13.5H19V8.5Z' fill='url(%23i-cronograma-24-rl)'/%3E%3Cpath d='M21 20.5H36V25.5L34 27.5H19V22.5Z' fill='url(%23i-cronograma-24-rl)'/%3E%3Cpath d='M21 34.5H44V39.5L42 41.5H19V36.5Z' fill='url(%23i-cronograma-24-rl)'/%3E%3C/g%3E%3Cg class='contorno'%3E%3Cpath d='M10 4V44' fill='none' stroke-linejoin='miter' stroke-miterlimit='6' stroke-linecap='square' stroke='url(%23i-cronograma-24-ct)' stroke-width='4.2'/%3E%3Cpath d='M21 6.5H42V11.5L40 13.5H19V8.5Z' fill='none' stroke-linejoin='miter' stroke-miterlimit='6' stroke-linecap='square' stroke='url(%23i-cronograma-24-ct)' stroke-width='4.2'/%3E%3Cpath d='M21 20.5H36V25.5L34 27.5H19V22.5Z' fill='none' stroke-linejoin='miter' stroke-miterlimit='6' stroke-linecap='square' stroke='url(%23i-cronograma-24-ct)' stroke-width='4.2'/%3E%3Cpath d='M21 34.5H44V39.5L42 41.5H19V36.5Z' fill='none' stroke-linejoin='miter' stroke-miterlimit='6' stroke-linecap='square' stroke='url(%23i-cronograma-24-ct)' stroke-width='4.2'/%3E%3C/g%3E%3Cg class='acento-relleno'%3E%3Cpath d='M10 6L14 10L10 14L6 10Z' fill='%23e04a63'/%3E%3Cpath d='M10 19L15 24L10 29L5 24Z' fill='%23e04a63'/%3E%3Cpath d='M10 34L14 38L10 42L6 38Z' fill='%23e04a63'/%3E%3C/g%3E%3Cg class='brillo' opacity='.5'%3E%3Cpath d='M21 8.5H28' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='square'/%3E%3C/g%3E%3C/svg%3E");
}

.cr { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0;
  padding: 18px 16px calc(env(safe-area-inset-bottom, 0px) + 18px);
  font-family: var(--c2-ui); color: var(--ap-txt); }
.cr > * { min-width: 0; }
.cr-ic-crono { display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; background: var(--ap-ic-crono) center / contain no-repeat; }

/* ── EL TIQUETE ─────────────────────────────────────────────────────────── */
/* el neón va en el contenedor, como en el tiquete de producción: sigue la silueta ya recortada (muescas incluidas) */
.cr-tiq-caja { min-width: 0; filter: drop-shadow(0 0 1px rgba(var(--c2-cian), .9)) drop-shadow(0 0 7px rgba(var(--c2-cian), .4)); }
.cr-tiq { --corte: 74px; position: relative; display: grid; grid-template-columns: var(--corte) minmax(0, 1fr); min-width: 0; min-height: 140px;
  border-radius: 14px; overflow: hidden;
  background: linear-gradient(150deg, #1b1e2e 0%, #0f111a 46%, #0b0911 100%);
  box-shadow: inset 0 0 0 1.5px rgba(var(--c2-cian), .9), inset 0 0 22px rgba(var(--c2-rojo), .22);
  -webkit-mask: radial-gradient(circle at var(--corte) 0, #0000 11px, #000 11.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at var(--corte) 100%, #0000 11px, #000 11.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at var(--corte) 0, #0000 11px, #000 11.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at var(--corte) 100%, #0000 11px, #000 11.5px) bottom / 100% 51% no-repeat; }
.cr-tiq-talon { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; padding: 10px 6px;
  background: linear-gradient(160deg, #f43f4e 0%, #c8102e 55%, #8f0b1f 100%); color: #14070a;
  border-right: 2px dashed rgba(10, 10, 14, .75); }
.cr-tiq-admit { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
  font: 900 17px/1 Rajdhani, "Arial Narrow", system-ui, sans-serif; letter-spacing: .08em; }
/* las barras del talón: el mismo código de barras, en CSS (sin imagen) */
.cr-tiq-barras { width: 16px; height: 78%;
  background: repeating-linear-gradient(180deg, #0b0b0f 0 2px, transparent 2px 4px, #0b0b0f 4px 5px, transparent 5px 8px, #0b0b0f 8px 11px, transparent 11px 13px); }
.cr-tiq-cuerpo { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 9px; padding: 13px 14px 14px 16px; overflow: hidden; isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .03) 14%, transparent 30%),
    linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, .06) 43%, transparent 58%),
    radial-gradient(110% 95% at 92% 0%, rgba(var(--c2-cian), .30), transparent 58%),
    radial-gradient(95% 90% at 0% 100%, rgba(var(--c2-rojo), .24), transparent 62%),
    linear-gradient(150deg, #1d2134 0%, #11131d 45%, #0c0a13 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), inset 0 -1px 0 rgba(0, 0, 0, .7); }
.cr-tiq-cuerpo::before { content: ""; position: absolute; inset: 6px; z-index: -1; pointer-events: none; border-radius: 9px;
  border: 1px solid rgba(var(--c2-cian), .34); box-shadow: 0 0 12px rgba(var(--c2-cian), .14), inset 0 0 14px rgba(var(--c2-cian), .07); }
.cr-tiq-rejilla { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: linear-gradient(rgba(var(--c2-cian), .10) 1px, transparent 1px) 0 0 / 100% 12px,
    linear-gradient(90deg, rgba(var(--c2-cian), .10) 1px, transparent 1px) 0 0 / 12px 100%;
  -webkit-mask-image: radial-gradient(120% 110% at 100% 0%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 78%);
          mask-image: radial-gradient(120% 110% at 100% 0%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 78%); }
.cr-tiq-k { display: flex; align-items: center; gap: 7px; margin: 0; font: 800 9.5px var(--c2-titulo); letter-spacing: .26em; color: var(--ap-acero); }
.cr-tiq-k .cr-ic-crono { width: 16px; height: 16px; }
.cr-tiq-marca { margin: 0; min-width: 0; font: 900 clamp(17px, 5.6vw, 24px)/1 Orbitron, Rajdhani, "Arial Narrow", system-ui, sans-serif; letter-spacing: .15em;
  color: #f8fbff; text-shadow: -1px 0 rgba(34, 211, 238, .9), 1px 0 rgba(244, 63, 94, .9), 0 0 14px rgba(var(--c2-cian), .55); overflow-wrap: anywhere; }
.cr-tiq-datos { display: flex; flex-direction: column; gap: 3px; min-width: 0; border-left: 2px solid rgba(var(--c2-cian), .8); padding-left: 10px; }
.cr-tiq-hora { font: 800 16px/1.15 Rajdhani, system-ui, sans-serif; letter-spacing: .04em; color: #fff; overflow-wrap: anywhere; }
.cr-tiq-hora > span { white-space: nowrap; }   /* «6:30 p. m. –» y «8:30/9:00 p. m. aprox.» no se cortan por la mitad */
.cr-tiq-datos small { font: 700 10.5px/1.35 var(--c2-titulo); letter-spacing: .14em; text-transform: uppercase; color: var(--ap-acero); overflow-wrap: anywhere; }

/* ── AHORA · el número que está pasando, en el mismo tiquete (el talón lleva el número) ── */
.cr-ahora .cr-tiq-talon { flex-direction: column; gap: 6px; }
.cr-ahora .cr-tiq-admit { font-size: 13px; letter-spacing: .2em; }
.cr-n { font: 900 30px/1 var(--c2-titulo); color: #14070a; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.cr-ahora .cr-tiq-marca { font-size: 14px; }
.cr-ahora .cr-tiq-datos small { display: none; }
.cr-ahora-in { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding-top: 10px; border-top: 1.5px dashed rgba(var(--c2-cian), .35); }
.cr-acto { margin: 0; font: 800 10px var(--c2-titulo); letter-spacing: .26em; text-transform: uppercase; color: var(--ap-acero); overflow-wrap: anywhere; }
.cr-titulo { margin: 0; font: 900 clamp(20px, 6.2vw, 25px)/1.12 var(--c2-texto); color: #fff; letter-spacing: .01em; overflow-wrap: anywhere; }
.cr-quien { margin: 0; font: 600 13px/1.4 var(--c2-ui); color: var(--ap-txt2); overflow-wrap: anywhere; }
.cr-marcas { display: flex; align-items: center; gap: 8px; margin-top: 2px; flex-wrap: wrap; }

/* las dos marcas, las únicas cosas técnicas que el público ve: sellos con cortes a 45° e íconos dibujados en CSS (sin rombos) */
.cr-m { --c: 7px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  font: 800 10px var(--c2-texto); letter-spacing: .16em; text-transform: uppercase; }
.cr-m--tel { color: var(--ap-txt); background: linear-gradient(180deg, #1A2029, #11151C); box-shadow: inset 2px 0 0 var(--ap-filo), inset 0 0 0 1px var(--ap-borde); }
.cr-m--enc { color: #f3e6e9; background: linear-gradient(180deg, var(--ap-vino1), var(--ap-vino3)); box-shadow: inset 2px 0 0 var(--ap-vino-filo); }
.cr-ic { display: inline-block; flex: 0 0 auto; box-sizing: border-box; }
.cr-ic--tel { width: 8px; height: 12px; border: 1.5px solid var(--ap-acero); border-radius: 2px; box-shadow: inset 0 -2px 0 -1px var(--ap-acero); }
.cr-ic--enc { width: 11px; height: 11px; border: 1.5px solid #E04A63; border-radius: 50%; background: linear-gradient(90deg, #E04A63 50%, transparent 50%); }

/* ── LO QUE SIGUE · una sola línea, en un recorte del mismo panel ───────── */
.cr-sigue { --c: 9px; display: flex; align-items: baseline; gap: 10px; min-width: 0; margin: 0; padding: 11px 14px;
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
  background: linear-gradient(180deg, var(--ap-panel), var(--ap-panel2)); box-shadow: inset 2px 0 0 var(--ap-filo), inset 0 0 0 1px var(--ap-borde);
  font: 600 13.5px/1.45 var(--c2-ui); color: var(--ap-txt2); }
.cr-sigue b { flex: 0 0 auto; font: 800 9.5px var(--c2-titulo); letter-spacing: .24em; color: var(--ap-acero); }
.cr-sigue span { min-width: 0; color: var(--ap-txt); overflow-wrap: anywhere; }

/* ── EL PROGRAMA IMPRESO · un panel por acto ────────────────────────────── */
.cr-prog { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cr-acto-p { --c: 14px; position: relative; min-width: 0; padding: 12px 12px 8px 14px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px),   /* líneas de señal, como los botones v53c */
    linear-gradient(180deg, var(--ap-panel) 0%, var(--ap-panel2) 100%);
  box-shadow: inset 2px 0 0 var(--ap-filo), inset 0 0 0 1px var(--ap-borde), inset 0 1px 0 rgba(255, 255, 255, .06); }
.cr-acto-p[data-ahora="1"] { box-shadow: inset 2px 0 0 var(--ap-vino-filo), inset 0 0 0 1px #4a2a33, inset 0 1px 0 rgba(255, 255, 255, .06); }
.cr-acto-t { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0 0 6px; }
/* el talón del acto: el principal rojo vino con su filo, cortado a 45° */
.cr-acto-talon { --c: 8px; flex: 0 0 auto; padding: 7px 14px 7px 12px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  background: linear-gradient(180deg, rgba(255, 190, 200, .30) 0, rgba(255, 190, 200, .30) 1px, transparent 2px),
    linear-gradient(180deg, var(--ap-vino1) 0%, var(--ap-vino2) 46%, var(--ap-vino3) 100%);
  box-shadow: inset 0 -2px 0 var(--ap-vino-filo);
  font: 900 11px var(--c2-titulo); letter-spacing: .24em; text-transform: uppercase; color: #f3e6e9; white-space: nowrap; }
/* la CENSURA del show: barra negra con canto rojo; lo que dice es lo único que se lee (el nombre real llega con el documento de Kley) */
.cr-censura { position: relative; flex: 1 1 auto; min-width: 0; height: 22px; display: flex; align-items: center; padding: 0 10px; overflow: hidden;
  background: #000; box-shadow: inset 0 -2px 0 var(--ap-vino-filo); }
.cr-censura i { font: 700 9px var(--c2-titulo); font-style: normal; letter-spacing: .32em; color: #5b6470; white-space: nowrap; }
.cr-lista { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.cr-f { display: flex; align-items: baseline; gap: 10px; min-width: 0; padding: 9px 4px 9px 2px; }
/* troquel entre filas: una línea de puntos, como el corte del tiquete */
.cr-f + .cr-f { background-image: radial-gradient(circle, rgba(111, 195, 207, .30) 1px, transparent 1.6px);
  background-size: 7px 3px; background-repeat: repeat-x; background-position: 0 0; }
.cr-f > b { flex: 0 0 auto; width: 24px; font: 800 12px var(--c2-titulo); color: var(--ap-acero); font-variant-numeric: tabular-nums; }
.cr-f > span { flex: 1 1 auto; min-width: 0; font: 700 14.5px/1.3 var(--c2-texto); color: var(--ap-txt); overflow-wrap: anywhere; }
.cr-f > span small { display: block; font: 600 12px/1.35 var(--c2-ui); color: var(--ap-txt2); margin-top: 1px; }
.cr-f > em { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; align-self: center; font-style: normal; }
.cr-f[data-ahora="1"] { margin: 0 -4px; padding-left: 8px; background: linear-gradient(90deg, rgba(106, 26, 44, .55), rgba(34, 6, 14, .2)); box-shadow: inset 2px 0 0 var(--ap-vino-filo); }
.cr-f[data-ahora="1"] > b, .cr-f[data-ahora="1"] > span { color: #fff; }
.cr-f[data-pasado="1"] { opacity: .45; }

/* ── MODO MIRAR · (en la app no se muestra: la espera y el panel lo esconden) ── */
.cr-mirar { display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; min-height: 60dvh; text-align: center; }
.cr-mirar i { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--c2-cian));
  box-shadow: 0 0 16px rgba(var(--c2-cian), .8); animation: crLat 3.2s ease-in-out infinite; }
@keyframes crLat { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
.cr-mirar p { margin: 0; font: 700 10px var(--c2-titulo); letter-spacing: .3em; color: rgba(255, 255, 255, .26); }

@media (prefers-reduced-motion: reduce) { .cr-mirar i { animation: none; } }
