/* CONEXIONES 2026 · micrositio · la GUÍA de la entrada, «✅ CONFIRMAR QUE LA RECIBÍ» y «Descargar el show» (orden t-entrada-guia; js/cnx-guia.js).
   Estética de la entrada (cx2.css: negro, cian y rojo del afiche, Orbitron + Inter). Textos grandes para una mano. Sin destellos: el arte solo
   «respira» despacio (un ciclo cada 3,2 s). Con «reducir movimiento» todo queda quieto y el paso entre tarjetas es instantáneo. */

/* ── Billetera: el panel debajo de las entradas ── */
.gx-panel { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin-top: 4px; }
.gx-confirmar { min-height: 56px; font-size: 16px; letter-spacing: .03em; border-radius: 16px;
  background: linear-gradient(180deg, #ff7a93, #e11d48); color: #fff; box-shadow: 0 10px 26px rgba(var(--c2-rojo), .32); }
.gx-confirmar[data-fase="trabajando"] { opacity: .72; cursor: progress; }
.gx-confirmar[data-fase="confirmada"] { background: rgba(16, 185, 129, .12); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, .55); box-shadow: none; cursor: default; opacity: 1; }
.gx-confirmar[data-fase="confirmada"]:active { transform: none; }
.gx-confirmar-msg, .gx-confirmar-nota { margin: 0; text-align: center; font: 700 15px/1.4 var(--c2-ui); color: #fda4af; }
.gx-confirmar-msg[data-fase="confirmada"], .gx-confirmar-nota[data-fase="confirmada"] { color: #a7f3d0; font-weight: 600; }

.gx-desc { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; border: 1px solid rgba(var(--c2-cian), .35);
  background: linear-gradient(180deg, rgba(var(--c2-cian), .08), rgba(14, 16, 24, .7)); }
.gx-desc-btn { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 0; border-radius: 14px;
  padding: 12px; font: 900 16px var(--c2-ui); letter-spacing: .03em; color: #03141a; cursor: pointer;
  background: linear-gradient(180deg, #5ff0ff, #13a9d1); box-shadow: 0 8px 22px rgba(var(--c2-cian), .28); transition: transform 160ms var(--pop); }
.gx-desc-btn:active { transform: scale(.97); }
.gx-desc-btn:disabled { cursor: default; transform: none; }
.gx-desc[data-fase="apagado"] { border-style: dashed; border-color: rgba(255, 255, 255, .18); background: rgba(14, 16, 24, .6); }
.gx-desc[data-fase="apagado"] .gx-desc-btn, .gx-desc[data-fase="sin_cache"] .gx-desc-btn { background: rgba(255, 255, 255, .06); color: #8a8aa0; box-shadow: none; }
.gx-desc[data-fase="bajando"] .gx-desc-btn { background: rgba(var(--c2-cian), .14); color: #a5f3fc; box-shadow: none; }
.gx-desc[data-fase="hecho"] { border-color: rgba(16, 185, 129, .55); background: rgba(16, 185, 129, .08); }
.gx-desc[data-fase="hecho"] .gx-desc-btn { background: none; color: #6ee7b7; box-shadow: none; }
.gx-desc-nota { margin: 0; text-align: center; font: 700 15px/1.4 var(--c2-ui); color: #a1a1aa; }
.gx-desc-barra { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.gx-desc-barra i { display: block; height: 100%; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #22d3ee, #f43f5e); transition: transform 500ms var(--deriva); }
.gx-como { min-height: 48px; align-self: center; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .04);
  font: 800 15px var(--c2-ui); color: #e4e4e7; cursor: pointer; }
.gx-confirmar:focus-visible, .gx-desc-btn:focus-visible, .gx-como:focus-visible, .gx-guia button:focus-visible { outline: 2px solid rgb(var(--c2-cian)); outline-offset: 3px; }

/* ── La guía (4 tarjetas) ── */
body.gx-abierta { overflow: hidden; }
.gx-guia { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; min-width: 0; color: #e4e4e7; background: var(--c2-negro);
  padding-top: var(--borde); padding-bottom: var(--pie); overscroll-behavior: contain; }
.gx-guia[hidden] { display: none; }
.gx-fondo { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(34rem 22rem at 50% 8%, rgba(var(--c2-cian), .18), transparent 62%), radial-gradient(30rem 20rem at 90% 100%, rgba(var(--c2-rojo), .16), transparent 60%),
    linear-gradient(180deg, rgba(5, 5, 7, .55), rgba(5, 5, 7, .96) 55%), url('/img/afiche.jpg?v=1') center top / cover no-repeat; opacity: .9; }
.gx-cab, .gx-pista, .gx-pie { position: relative; z-index: 1; }
.gx-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 0; }
.gx-marca { font-size: clamp(18px, 5.6vw, 22px); }
.gx-saltar { min-height: 48px; min-width: 48px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(5, 5, 7, .5);
  font: 800 15px var(--c2-ui); color: #e4e4e7; cursor: pointer; }
.gx-pista { flex: 1 1 auto; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; outline: none; }
.gx-pista::-webkit-scrollbar { display: none; }
.gx-tarjeta { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; overflow-y: auto; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 20px 16px; text-align: center; }
.gx-arte { width: min(72vw, 270px); margin: 4px auto 2px; flex: 0 0 auto; }
.gx-arte svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 14px rgba(var(--c2-cian), .35)); animation: gxRespira 3200ms ease-in-out infinite alternate; }
.gx-arte--tapa .gx-tapa { transform-box: fill-box; transform-origin: 50% 0; animation: gxTapa 3200ms var(--deriva) infinite alternate; }
.gx-k { margin: 0; font: 900 12px var(--c2-titulo); letter-spacing: .22em; color: rgb(var(--c2-cian)); }
.gx-t { margin: 0; font: 900 clamp(24px, 7.4vw, 30px)/1.12 var(--c2-titulo); letter-spacing: .04em; color: #fff; overflow-wrap: anywhere; }
.gx-p { margin: 0; max-width: 24em; font: 600 19px/1.45 var(--c2-ui); color: #e4e4e7; overflow-wrap: anywhere; }
.gx-p + .gx-p { color: #b8c4d6; font-size: 17px; }
.gx-lista { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 24em; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.gx-lista li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(14, 16, 24, .72);
  font: 600 17.5px/1.38 var(--c2-ui); color: #e4e4e7; }
.gx-lista li i { flex: 0 0 auto; width: 28px; font-style: normal; font-size: 20px; line-height: 1.2; text-align: center; }
.gx-fin { width: 100%; max-width: 24em; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.gx-sec { min-height: 52px; font-size: 15px; color: #e4e4e7; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); box-shadow: none; }
.gx-inicio-pista { margin: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(var(--c2-cian), .35); background: rgba(var(--c2-cian), .07);
  font: 700 16px/1.4 var(--c2-ui); color: #cffafe; text-align: left; }
.gx-pie { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; padding: 8px 16px 14px; background: linear-gradient(180deg, transparent, rgba(5, 5, 7, .92) 30%); }
.gx-puntos { display: flex; justify-content: center; gap: 10px; }
.gx-puntos i { width: 9px; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, .22); transition: width 300ms var(--deriva), background-color 300ms var(--deriva); }
.gx-puntos i[data-on="1"] { width: 28px; background: rgb(var(--c2-cian)); }
.gx-btns { display: flex; gap: 10px; align-items: stretch; }
.gx-atras { flex: 0 0 auto; min-height: 56px; min-width: 88px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; background: rgba(255, 255, 255, .04);
  font: 800 15px var(--c2-ui); color: #e4e4e7; cursor: pointer; }
.gx-atras:disabled { opacity: .35; cursor: default; }
.gx-sig { flex: 1 1 auto; width: auto; min-height: 56px; font-size: 16px; }

@keyframes gxRespira { from { opacity: .82; } to { opacity: 1; } }
@keyframes gxTapa { 0%, 35% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(0, -26%, 0) rotate(-6deg); } }

@media (prefers-reduced-motion: reduce) {
  .gx-arte svg, .gx-arte--tapa .gx-tapa { animation: none; }
  .gx-arte--tapa .gx-tapa { transform: translate3d(0, -26%, 0) rotate(-6deg); }
  .gx-pista { scroll-behavior: auto; }
  .gx-desc-barra i, .gx-puntos i, .gx-desc-btn { transition: none; }
}
.gx-guia[data-quieto="1"] .gx-arte svg, .gx-guia[data-quieto="1"] .gx-tapa { animation: none; }
