/* ===========================================================================
   INVITADOS QR — páginas públicas de la venta de entradas (rediseño nov. 2026)
   La cargan sólo evento.html, compra.html, entrada.html y pago-prueba.html,
   después de styles.css. Todo con el prefijo vt- para no pisar las clases
   tk- que siguen usando los paneles del productor y del RRPP.
   =========================================================================== */

.vt-wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }
.vt-angosto { max-width: 760px; }
.vt-page { padding-bottom: 8rem; }

/* --- Portada del evento: el flyer con su propio brillo de fondo --- */
.vt-hero { position: relative; isolation: isolate; padding: 1.2rem 0 1.6rem; overflow: hidden; overflow: clip; }
.vt-hero::before { content: ""; position: absolute; inset: -40px 0 0; z-index: -2;
  background: radial-gradient(60% 55% at 25% 30%, rgba(255, 106, 26, .28), transparent 70%),
    radial-gradient(45% 55% at 85% 15%, rgba(255, 169, 63, .14), transparent 70%); }
.vt-glow { position: absolute; z-index: -1; top: -10%; left: -10%; width: 70%; max-width: 640px; aspect-ratio: 1; object-fit: cover;
  filter: blur(70px) saturate(1.3); opacity: .45; pointer-events: none; }
.vt-glow:not([src]) { display: none; }
.vt-hero-grid { display: grid; gap: 1.4rem; }
@media (min-width: 860px) { .vt-hero-grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: center; gap: 2.4rem; } }
.vt-flyer { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, .06);
  background: var(--surface-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 10px 40px rgba(255, 106, 26, .18); }
/* El flyer se ve entero, con su forma (cuadrado, vertical…). Mientras carga, un cuadrado. */
.vt-flyer:not([src]) { aspect-ratio: 1; }
/* En una sola columna, que un flyer vertical no ocupe toda la pantalla. */
@media (max-width: 859px) { .vt-flyer-box { width: 100%; max-width: 460px; margin-inline: auto; } }

/* Evento cerrado (finalizado o sold out): el flyer pasa a blanco y negro y
   le cae encima una banda roja. La animación la arranca evento.js. */
.vt-flyer-box { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.vt-flyer, .vt-glow { transition: filter .6s ease; }
.vt-hero.cerrado .vt-flyer { filter: grayscale(1) contrast(1.05) brightness(.85); }
.vt-hero.cerrado .vt-glow { filter: blur(70px) grayscale(1); opacity: .25; }
.vt-banda { position: absolute; left: 50%; top: 50%; width: 150%; transform: translate(-50%, -50%) rotate(-14deg);
  padding: .75rem 0; text-align: center; pointer-events: none;
  background: linear-gradient(180deg, #ff2b3d, #d0101f); color: #fff;
  border-block: 3px solid rgba(255, 255, 255, .9);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .55), 0 0 0 6px rgba(208, 16, 31, .35); }
.vt-banda span { display: block; font-weight: 800; font-size: clamp(1.6rem, 8vw, 2.9rem); letter-spacing: .14em; line-height: 1.1;
  text-transform: uppercase; text-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.vt-banda.hide { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .vt-banda.entra { animation: vt-banda-golpe .55s cubic-bezier(.2, 1.4, .4, 1) both; }
  .vt-flyer-box.temblor { animation: vt-temblor .4s ease-out; }
}
@keyframes vt-banda-golpe {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-30deg) scale(2.6); }
  60% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(.94); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(1); }
}
@keyframes vt-temblor {
  0%, 100% { transform: none; }
  20% { transform: translate(-6px, 3px) rotate(-.6deg); }
  40% { transform: translate(5px, -4px) rotate(.5deg); }
  60% { transform: translate(-3px, 2px); }
  80% { transform: translate(2px, -1px); }
}
/* Papelitos de la explosión: los crea y anima evento.js. */
.vt-fiesta { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.vt-fiesta i { position: absolute; left: 0; top: 0; display: block; will-change: transform, opacity; }
.vt-fiesta .flash { border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .9), rgba(255, 106, 26, .5) 35%, transparent 70%); }

/* --- Contador de entradas vendidas (lo carga el productor): todo fuego --- */
.vt-contador { position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; padding: 3px; margin: .2rem 0 1.1rem;
  box-shadow: 0 10px 40px rgba(255, 70, 0, .35), 0 0 0 1px rgba(255, 120, 30, .25); }
.vt-contador.hide { display: none; }
/* El borde: brasa encendida desde abajo, como lo que tiene el fuego al lado. */
.vt-contador { background: linear-gradient(0deg, #ffb347, #ff6a00 22%, #c41d00 55%, #3a0b02 100%); }
.vt-contador-in { position: relative; isolation: isolate; overflow: hidden; border-radius: 19px; padding: 1.1rem 1.1rem 1.7rem; text-align: center;
  background: #0a0403; }
.vt-contador-in > .tit, .vt-contador-in > .num, .vt-contador-in > .sub { position: relative; z-index: 2; }
.vt-contador .tit { display: flex; align-items: center; justify-content: center; gap: .7em; font-weight: 700;
  font-size: clamp(.72rem, 3.1vw, .85rem); letter-spacing: .28em; text-transform: uppercase; color: #ffe4b0;
  overflow-wrap: anywhere; text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.vt-contador .tit::before, .vt-contador .tit::after { content: ""; flex: 0 1 2.2rem; height: 1px;
  background: linear-gradient(90deg, transparent, #ffb347); }
.vt-contador .tit::after { background: linear-gradient(270deg, transparent, #ffb347); }
.vt-contador .tit:empty { display: none; }
.vt-contador .num { font-family: Anton, "Plus Jakarta Sans", Impact, sans-serif; font-weight: 400;
  font-size: clamp(4.2rem, 21vw, 6.2rem); line-height: .95; letter-spacing: .01em; margin: .35rem 0 .3rem;
  font-variant-numeric: tabular-nums; color: #fff7e6; text-shadow: 0 2px 6px rgba(0, 0, 0, .7), 0 0 18px rgba(255, 150, 20, .85), 0 0 42px rgba(255, 70, 0, .6); }
.vt-contador .num .mas { font-size: .6em; vertical-align: .38em; margin-right: .06em; color: #ffb000; }
.vt-contador .sub { font-weight: 700; font-size: clamp(.78rem, 3.4vw, .92rem); letter-spacing: .34em; text-transform: uppercase;
  color: #fff; padding-left: .34em; text-shadow: 0 1px 8px rgba(0, 0, 0, .95), 0 0 14px rgba(255, 90, 0, .6); }
/* Sombra suave detrás del texto, entre el fuego y las letras. */
.vt-contador-in::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: radial-gradient(62% 50% at 50% 48%, rgba(8, 2, 0, .72), rgba(8, 2, 0, .3) 60%, transparent 85%); }
/* El fuego de verdad: un canvas que dibuja evento.js. */
.vt-fuego { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .vt-contador .num { animation: vt-arde 1.3s ease-in-out infinite; }
  .vt-contador.contando .num { animation: vt-vibra .12s linear infinite; }
  .vt-contador.boom { animation: vt-boom .6s cubic-bezier(.2, 1.6, .4, 1), vt-late 1.4s ease-in-out .6s infinite; }
}
@keyframes vt-arde {
  0%, 100% { text-shadow: 0 2px 6px rgba(0, 0, 0, .7), 0 0 18px rgba(255, 150, 20, .85), 0 0 42px rgba(255, 70, 0, .6); }
  50% { text-shadow: 0 2px 6px rgba(0, 0, 0, .7), 0 0 26px rgba(255, 185, 40, 1), 0 0 60px rgba(255, 80, 0, .8); }
}
@keyframes vt-vibra { 0%, 100% { transform: none; } 25% { transform: translate(-1px, 1px); } 75% { transform: translate(1px, -1px); } }
@keyframes vt-boom { 0% { transform: scale(1); } 35% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes vt-late {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 40px rgba(255, 70, 0, .35), 0 0 0 1px rgba(255, 120, 30, .25); }
  50% { transform: scale(1.025); box-shadow: 0 10px 64px rgba(255, 70, 0, .7), 0 0 0 1px rgba(255, 160, 40, .5); }
}

.vt-info { min-width: 0; }
.vt-info .chip { margin-bottom: .6rem; }
.vt-info h1 { font-size: clamp(2rem, 7vw, 3rem); margin: 0 0 .35rem; overflow-wrap: anywhere; text-wrap: balance; }
.vt-artistas { color: var(--brand-2); font-weight: 700; font-size: 1.02rem; margin-bottom: .8rem; }
.vt-artistas:empty { display: none; }
.vt-desc { color: var(--muted); white-space: pre-line; margin-bottom: 1.1rem; overflow-wrap: anywhere; }
.vt-desc:empty { display: none; }
.vt-meta { display: grid; gap: .6rem; }
.vt-meta .m { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; padding: .75rem .9rem; border-radius: 14px;
  background: rgba(24, 24, 29, .82); border: 1px solid var(--line-soft); }
.vt-meta .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--grad-soft); color: var(--brand-2); display: grid; place-items: center; flex: none; }
.vt-meta .ic svg { width: 20px; height: 20px; }
.vt-meta .g { flex: 1 1 170px; min-width: 0; }
.vt-meta .t { font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.vt-meta .s { font-size: .8rem; color: var(--muted-2); overflow-wrap: anywhere; }
.vt-meta a { font-size: .84rem; font-weight: 700; margin-left: auto; white-space: nowrap; padding: .2rem 0; }

/* --- Pasos de la compra --- */
.vt-pasos { display: flex; align-items: center; gap: .5rem; margin: .4rem 0 1.1rem; font-size: .8rem; font-weight: 700; color: var(--muted-2); }
.vt-pasos .p { display: flex; align-items: center; gap: .4rem; white-space: nowrap; }
.vt-pasos .p i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: .7rem; flex: none; }
.vt-pasos .p.on { color: var(--text); }
.vt-pasos .p.on i { border-color: var(--brand); background: var(--brand); color: #1a0d03; }
.vt-pasos .p.ok { color: var(--muted); }
.vt-pasos .p.ok i { border-color: var(--ok); background: var(--ok); color: #05321d; }
.vt-pasos .l { flex: 1; height: 2px; background: var(--line); border-radius: 2px; min-width: 10px; }
.vt-pasos .l.ok { background: var(--ok); }
.vt-sec-t { font-size: 1.6rem; margin-bottom: .9rem; }

/* --- Entradas --- */
.vt-lotes { display: grid; gap: .75rem; }
.vt-tk { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center;
  padding: 1rem 1.1rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-soft);
  transition: border-color .15s, box-shadow .15s; }
.vt-tk.sel { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset, 0 10px 30px rgba(255, 106, 26, .15); }
.vt-tk.promo { background: linear-gradient(135deg, rgba(255, 106, 26, .13), transparent 60%), var(--surface); border-color: rgba(255, 106, 26, .42); }
.vt-tk.promo.sel { border-color: var(--brand); }
.vt-tk.con-cinta { margin-top: .7rem; padding-top: 1.3rem; }
.vt-tk .cinta { position: absolute; top: -.75rem; left: 1rem; max-width: calc(100% - 2rem); font-size: .68rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; padding: .24rem .7rem; border-radius: 99px; background: var(--grad); color: #1a0d03; box-shadow: var(--glow);
  overflow-wrap: anywhere; line-height: 1.3; }
.vt-tk .g { min-width: 0; }
.vt-tk .nom { font-weight: 800; font-size: 1.05rem; line-height: 1.3; display: flex; gap: .3rem .45rem; align-items: center; flex-wrap: wrap; overflow-wrap: anywhere; }
.vt-tk .promo-tag { font-size: .62rem; font-weight: 800; letter-spacing: .08em; padding: .12rem .45rem; border-radius: 6px; background: var(--grad); color: #1a0d03; }
.vt-tk .ultimas { font-size: .64rem; font-weight: 800; padding: .12rem .45rem; border-radius: 6px; background: var(--bad-bg); color: var(--bad);
  letter-spacing: .05em; text-transform: uppercase; }
.vt-tk .pack { font-size: .82rem; color: var(--text); opacity: .85; margin-top: .15rem; }
.vt-tk .pr { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin-top: .15rem; line-height: 1.25; }
.vt-tk .pr s { font-size: .9rem; color: var(--muted-2); font-weight: 600; margin-left: .35rem; letter-spacing: 0; }
.vt-tk .ahorro { color: var(--ok); font-size: .82rem; font-weight: 700; }
.vt-tk .det { font-size: .76rem; color: var(--muted-2); margin-top: .2rem; }
.vt-tk .det:empty { display: none; }
.vt-tk.off { opacity: .6; }
.vt-tk.off .pr { color: var(--muted); }
.vt-sello { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: center; line-height: 1.25;
  padding: .45rem .7rem; border-radius: 10px; border: 2px solid currentColor; transform: rotate(-5deg); max-width: 8.5rem; color: var(--muted); }
.vt-sello.bad { color: var(--bad); }
.vt-sello.warn { color: var(--warn); }
.vt-stepper { display: flex; align-items: center; gap: .25rem; flex: none; }
.vt-stepper button { width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  font: inherit; font-size: 1.35rem; font-weight: 700; line-height: 1; cursor: pointer; display: grid; place-items: center;
  -webkit-tap-highlight-color: transparent; transition: background .15s, border-color .15s; }
.vt-stepper button:not(:disabled):hover { border-color: var(--brand); }
.vt-stepper button[data-mas]:not(:disabled) { background: var(--grad-soft); border-color: rgba(255, 106, 26, .45); }
.vt-stepper button:disabled { opacity: .3; cursor: not-allowed; }
.vt-stepper output { min-width: 30px; text-align: center; font-size: 1.25rem; font-weight: 800; }
.vt-nota { font-size: .8rem; color: var(--muted-2); margin-top: .9rem; display: flex; gap: .5rem; }
.vt-nota svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.vt-nota p { margin: 0; }
.vt-nota:has(p:empty) { display: none; }
@media (max-width: 420px) {
  .vt-tk { padding: .95rem .9rem; gap: .7rem; }
  .vt-tk.con-cinta { padding-top: 1.25rem; }
  .vt-tk .pr { font-size: 1.25rem; }
  .vt-sello { max-width: 7.6rem; font-size: .66rem; letter-spacing: .05em; padding: .4rem .5rem; }
}

/* --- Barra de abajo --- */
.vt-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: .8rem 1rem calc(.8rem + var(--safe-b));
  background: rgba(14, 14, 18, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.vt-barra .in { width: min(1080px, 100%); margin-inline: auto; display: flex; align-items: center; gap: 1rem; }
.vt-barra .g { min-width: 0; flex: 1; }
.vt-barra .tot { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.vt-barra .s { font-size: .76rem; color: var(--muted-2); line-height: 1.35; }
.vt-barra .btn { flex: none; min-width: 150px; min-height: 52px; }
@media (max-width: 420px) { .vt-barra .in { gap: .75rem; } .vt-barra .btn { min-width: 128px; padding-inline: 1.1rem; } .vt-barra .tot { font-size: 1.35rem; } }

/* --- Tus datos --- */
.vt-datos-grid { display: grid; gap: 1rem; }
@media (min-width: 860px) {
  .vt-datos-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .vt-datos-grid .vt-resumen-card { position: sticky; top: calc(var(--nav-h) + 1rem); }
}
.vt-datos-grid .card { min-width: 0; }
.vt-datos-grid .field { align-content: start; }
.vt-resumen-card .card-head { margin-bottom: .4rem; }
.vt-resumen-ev { font-size: .8rem; color: var(--muted-2); margin-bottom: .7rem; overflow-wrap: anywhere; }
.vt-resumen-ev:empty { display: none; }
.vt-resumen { display: grid; gap: 0; font-size: .92rem; }
.vt-resumen > div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.vt-resumen > div > span:first-child { color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.vt-resumen > div > span:last-child { white-space: nowrap; font-weight: 600; }
.vt-resumen .muted { color: var(--muted); }
.vt-resumen .tot { border-top: 1px dashed var(--line); margin-top: .4rem; padding-top: .7rem; font-weight: 800; font-size: 1.2rem; }
.vt-resumen .tot span:first-child { color: var(--text); }
.vt-resumen .tot span:last-child { font-weight: 800; }
/* El check de "Revisé mis datos" como tarjeta. Si falta tildarlo, styles.css
   (.check-acepto.con-error) la ilumina en rojo. */
.vt-resumen-card .check-acepto { margin: 1rem 0; }
.vt-resumen-card .check-acepto .switch { align-items: flex-start; gap: .7rem; padding: .85rem; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-soft); font-size: .86rem; line-height: 1.5; font-weight: 600; color: var(--text); }
.vt-resumen-card .check-acepto .switch:has(input:checked) { border-color: rgba(255, 106, 26, .5); background: var(--grad-soft); }
.vt-resumen-card .check-acepto .switch input { margin-top: 1px; }
.vt-resumen-card .check-acepto .error-campo { padding-left: .2rem; }
.vt-pagar { width: 100%; min-height: 56px; font-size: 1.02rem; }
.vt-pagar svg { flex: none; }
.vt-seguro { display: flex; gap: .5rem; font-size: .76rem; color: var(--muted-2); margin: .7rem 0 0; line-height: 1.45; }
.vt-seguro + .vt-seguro { margin-top: .4rem; }
.vt-seguro svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.vt-seguro.ok svg { color: var(--ok); }

/* --- Coming soon y error --- */
.vt-pronto { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.vt-pronto .vt-glow { left: 50%; top: 0; translate: -50% 0; width: min(560px, 90%); opacity: .4; }
.vt-pronto .tk-img { aspect-ratio: auto; height: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 10px 40px rgba(255, 106, 26, .2); }
.vt-pronto h1 { overflow-wrap: anywhere; }
.vt-estado { max-width: 520px; margin: 2rem auto; text-align: center; }
.vt-estado h1 { font-size: 1.6rem; overflow-wrap: anywhere; }
.vt-estado .ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem;
  background: var(--surface-2); color: var(--muted); }
.vt-estado .ico svg { width: 30px; height: 30px; }
.vt-estado .ico.warn { background: var(--warn-bg); color: var(--warn); box-shadow: 0 0 0 8px rgba(255, 196, 77, .05); }
.vt-estado .ico.bad { background: var(--bad-bg); color: var(--bad); box-shadow: 0 0 0 8px rgba(255, 95, 109, .05); }
.vt-estado .ico.azul { background: rgba(0, 158, 227, .14); color: #3cb8f0; box-shadow: 0 0 0 8px rgba(0, 158, 227, .05); }
.vt-estado .ico .spinner { width: 28px; height: 28px; border-width: 3px; border-color: rgba(60, 184, 240, .25); border-top-color: #3cb8f0; }
.vt-estado .btn { margin-top: 1rem; }
.vt-orden { font-size: .78rem; color: var(--muted-2); font-weight: 700; letter-spacing: .02em; margin: 0; }

/* --- Compra lista --- */
.vt-listo { text-align: center; padding: 1.5rem 0 1.2rem; }
.vt-listo .ic { width: 76px; height: 76px; border-radius: 50%; background: var(--ok); color: #05321d; display: grid; place-items: center; margin: 0 auto 1rem;
  box-shadow: 0 0 0 10px var(--ok-bg), 0 20px 50px rgba(61, 220, 132, .25); }
.vt-listo .ic svg { width: 38px; height: 38px; }
.vt-listo .logo-sorteo { max-height: 84px; max-width: min(240px, 100%); margin: 0 auto 1.2rem; display: block; background: #fff; padding: 8px 14px; border-radius: 14px; }
.vt-listo h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); margin: .25rem 0 .5rem; overflow-wrap: anywhere; }
.vt-listo p { color: var(--muted); max-width: 520px; margin-inline: auto; overflow-wrap: anywhere; }
.vt-listo p strong { color: var(--text); }
.vt-resumen-fila { display: flex; justify-content: space-between; gap: .4rem 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.vt-resumen-fila .g { min-width: 0; flex: 1 1 200px; }
.vt-resumen-fila .t { font-weight: 800; overflow-wrap: anywhere; }
.vt-resumen-fila .monto { font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.vt-aviso { display: flex; gap: .8rem; align-items: center; padding: .9rem 1rem; border-radius: var(--r); background: var(--grad-soft);
  border: 1px solid rgba(255, 106, 26, .4); margin-bottom: 1rem; }
.vt-aviso.suave { background: var(--surface); border-color: var(--line-soft); }
.vt-aviso .e { font-size: 1.6rem; line-height: 1; flex: none; }
.vt-aviso .g { min-width: 0; }
.vt-aviso .g .tiny { color: var(--muted); }
.vt-pie { font-size: .8rem; color: var(--muted-2); text-align: center; margin-top: 1rem; }

/* --- Entrada como talón (compra y página de la entrada) --- */
.vt-qrs { display: grid; gap: 1rem; margin-top: 1.2rem; }
@media (min-width: 700px) { .vt-qrs { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); } }
.vt-ticket { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 22px; overflow: hidden; position: relative; min-width: 0;
  box-shadow: var(--shadow-sm); }
.vt-ticket .top { padding: 1rem 1.1rem; background: var(--grad); color: #1a0d03; display: flex; gap: .8rem; align-items: center; }
.vt-ticket .top .g { min-width: 0; flex: 1; }
.vt-ticket .top .tipo { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .75; overflow-wrap: anywhere; }
.vt-ticket .top .ev { font-weight: 800; font-size: 1.15rem; line-height: 1.25; overflow-wrap: anywhere; }
.vt-ticket .top .fe { font-size: .8rem; font-weight: 600; opacity: .8; }
.vt-ticket .top .mini { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.vt-ticket .corte { height: 0; border-top: 2px dashed var(--line); margin: 0 1.1rem; position: relative; }
.vt-ticket .corte::before, .vt-ticket .corte::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.vt-ticket .corte::before { left: calc(-1.1rem - 12px); }
.vt-ticket .corte::after { right: calc(-1.1rem - 12px); }
.vt-ticket .cuerpo { padding: 1.1rem; display: grid; justify-items: center; gap: .75rem; text-align: center; }
.vt-qr { background: #fff; border-radius: 16px; padding: 12px; width: min(234px, 100%); }
.vt-qr img { width: 100%; height: auto; aspect-ratio: 1; }
.vt-ticket.usada .vt-qr, .vt-ticket.anulada .vt-qr { opacity: .3; }
.vt-tok { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; font-weight: 700; letter-spacing: .14em;
  color: var(--muted); overflow-wrap: anywhere; max-width: 100%; }
.vt-sorteo { width: 100%; text-align: center; border: 2px dashed rgba(255, 106, 26, .55); border-radius: 14px; padding: .65rem .8rem; background: var(--grad-soft); }
.vt-sorteo small { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); }
.vt-sorteo b { display: block; font-size: 1.6rem; font-weight: 800; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .04em; line-height: 1.25; color: var(--text); overflow-wrap: anywhere; }
.vt-sorteo span { display: block; font-size: .76rem; color: var(--muted); overflow-wrap: anywhere; }
.vt-chances { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.vt-chances > p { grid-column: 1 / -1; text-align: center; margin: 0; }
.vt-ticket .acc { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; width: 100%; }
.vt-ticket .acc .btn { width: 100%; padding-inline: .45rem; gap: .35rem; font-size: .82rem; white-space: nowrap; }
.vt-ticket .acc .btn svg { width: 16px; height: 16px; flex: none; }
.vt-ticket .info-rows { width: 100%; text-align: left; }
.vt-ticket .info-row:last-child { border-bottom: 0; }
.vt-ticket .vt-nota-pie { width: 100%; display: flex; gap: .6rem; align-items: center; text-align: left; font-size: .82rem; color: var(--muted);
  background: var(--bg-soft); border-radius: 12px; padding: .65rem .8rem; margin: 0; }
.vt-ticket .vt-nota-pie svg { width: 16px; height: 16px; flex: none; color: var(--muted-2); }
@media (max-width: 360px) { .vt-ticket .acc { grid-template-columns: 1fr; } }

/* Página de la entrada */
.vt-entrada-wrap { min-height: 100dvh; display: grid; place-items: center; padding: 1.5rem 1rem 3rem; }
.vt-entrada-wrap > * { width: min(420px, 100%); }

/* --- Pago de prueba --- */
.vt-prueba .card { border-radius: var(--r-lg); }
