/* BOLETERÍA v2 · ACOMODO + APARIENCIA CONEXIONES (orden t-boleteria-v2, Kley 02-12). Va con show-layout.js (que arma #v2-app con 4 zonas).
 * Parte 1 = el prototipo de SALUD (referencias-visuales/show/boleteria-v2/proto/boleteria-v2.css) con los ajustes de la integración:
 *   el mapa encaja en JS (showcase-mapa.js, data-encajar="alto"), un solo buscador (#v2-buscar), el bloque de números.
 * Parte 2 = EL CAMBIO DE KLEY: todos los botones y controles con la apariencia de la entrada CONEXIONES (v53c / micrositio v56):
 *   biselado a 45°, rojo vino principal, grafito secundarios, óxido para salir y peligro, iconos propios y la letra del wordmark.
 * Solo presentación: con localStorage power_show_layout_v2 = '0' no hay body.v2 y nada de esto aplica. */
html body.v2 { --v2-cab: 0px; --v2-nav: 64px; --v2-borde: rgba(255, 255, 255, 0.09); --v2-fondo: rgba(14, 14, 20, 0.86); }
html body.v2 main.sc-wrap, html body.v2.sb-rp-on main.sc-wrap { max-width: none; width: 100%; padding: 0; margin: 0; display: block; }
html body.v2 #v2-cab > section, html body.v2 .v2-zona > .sc-panel { margin-top: 0; }
html body.v2.sb-rp-on #v2-izq > #sb-rp { position: static; max-height: none; overflow: visible; margin-top: 0; }
html body.v2 #v2-cab #sc-stats { flex: 1 1 auto; display: flex; flex-wrap: wrap; overflow: visible; min-height: 0; height: auto; align-content: flex-start; }
html body.v2 #v2-cab .v2-resumen { min-height: 0; height: auto; align-content: flex-start; }
html body.v2 #v2-cab .sa-barra .sc-btn { flex: 0 0 auto; }
html body.v2 #v2-app { display: grid; gap: 12px; padding: 10px 12px 12px; box-sizing: border-box; }
html body.v2 .v2-zona { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
html body.v2 .v2-zona > .sc-panel, html body.v2 .v2-zona > details { margin: 0; }

/* ── CABEZA: una franja (show · cupos · plata plegada · consola) ───────────────────────────────────────── */
html body.v2 #v2-cab { flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 10px; }
html body.v2 #v2-cab > .sc-aviso, html body.v2 #v2-cab > .sc-sinpe, html body.v2 #v2-cab > .sc-reubicar { flex: 1 1 100%; }
html body.v2 .v2-resumen { flex: 1 1 520px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 14px; }
html body.v2 .v2-resumen h3 { margin: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
html body.v2 .v2-resumen #sc-teatro { display: none; }
html body.v2 .v2-resumen #sc-subtitulo { display: none; }
html body.v2.v2-subaviso .v2-resumen #sc-subtitulo { display: block; flex: 1 1 100%; order: 9; margin: 0; }   /* «⚠ el servidor todavía cobra preventa» nunca se esconde */
html body.v2 #v2-cab #sc-stats .sc-stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; flex: 1 1 auto; }
html body.v2 #v2-cab #sc-stats .sc-stat { display: flex; align-items: baseline; gap: 6px; padding: 6px 10px; min-height: 0; border-radius: 10px; flex: 0 0 auto; }
html body.v2 #v2-cab #sc-stats .sc-stat p { margin: 0; font-size: 11px; letter-spacing: .04em; }
html body.v2 #v2-cab #sc-stats .sc-stat b { font-size: 16px; line-height: 1; white-space: nowrap; }
html body.v2 #v2-cab #sc-stats .sc-stat small { display: none; }
html body.v2 #v2-cab #sc-stats .sc-stat:nth-child(n+3) { display: none; }   /* toda la plata (recaudado, por cobrar, gastos, ganancia) */
html body.v2 #v2-cab #sc-stats .sc-stats-aviso { display: block; margin: 0; font-size: 11px; align-self: center; flex: 0 0 auto; }
html body.v2.v2-plata-on #v2-cab #sc-stats .sc-stat:nth-child(n+3) { display: flex; }
html body.v2.v2-plata-on #v2-cab #sc-stats .sc-stats-aviso { display: block; margin: 0; font-size: 11px; align-self: center; }
html body.v2 .v2-plata { min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(52, 211, 153, .45); background: rgba(52, 211, 153, .08);
  color: #6ee7b7; font: 800 13px/1 'Inter', system-ui, sans-serif; cursor: pointer; }
html body.v2 .v2-plata[aria-expanded="true"] { background: rgba(52, 211, 153, .22); color: #ecfdf5; }
html body.v2 .v2-acceso { flex: 0 1 auto; display: flex; align-items: center; padding: 8px 10px; }
html body.v2 .v2-acceso .sa-barra { display: flex; gap: 8px; flex-wrap: nowrap; margin: 0; }
html body.v2 .v2-acceso .sa-barra .sc-btn { min-height: 44px; padding: 0 14px; white-space: nowrap; font-size: 13px; width: auto; flex: 0 0 auto; }

/* ── CENTRO: vender/entregar · días · buscar · herramientas · MAPA (llena su lugar) ──────────────────────── */
html body.v2 #v2-centro > .sb-e2 { padding: 8px 10px; display: flex; align-items: center; gap: 10px; }
html body.v2 #v2-centro > .sb-e2 .sb-k { display: none; }
html body.v2 #v2-centro > .sb-e2 { padding: 6px; }
html body.v2 #v2-centro > .sb-e2 .sb-e2-bt { margin: 0; }
html body.v2 #v2-centro > .sb-e2 .sb-e2-bt { display: flex; gap: 8px; flex: 1; }
html body.v2 #v2-centro > .sb-e2 .sb-e2-b { min-height: 44px; height: 44px; flex: 1; font-size: 14px; padding: 0 12px; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
html body.v2 #v2-centro > .sb-e2 #sb-e2-cuerpo:empty { display: none; }
html body.v2 #sc-tabs { margin: 0; gap: 8px; }
html body.v2 #sc-buscador { margin: 0; }
html body.v2 .v2-herr { flex-wrap: wrap !important; gap: 8px; align-items: center; }
html body.v2 .v2-herr .sc-leyenda { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; }
html body.v2 .v2-herr .sc-leyenda::-webkit-scrollbar { display: none; }
html body.v2 .v2-herr > .flex { flex: 0 0 auto; }
html body.v2 .v2-herr .sc-btn--chico { min-width: 44px; min-height: 44px; }
html body.v2 #sc-mapa { margin: 0; padding: 6px; overflow: auto; display: flex; align-items: flex-start; justify-content: flex-start; }
/* t-boleteria-zoom (02-12) · el plano NO se encoge al ancho de la caja (flex: 0 0 auto: si no, «+» no agrandaba las butacas)
 * y se centra con márgenes automáticos, que al agrandar pasan a 0: nada queda cortado a la izquierda ni arriba (se recorre entero). */
html body.v2 #sc-mapa > svg { display: block; height: auto; max-width: none; flex: 0 0 auto; margin: auto; }

/* ── DERECHA: bandeja (lo que espera acción) arriba · SINPE · link plegado · más opciones ────────────────── */
html body.v2 .v2-bandeja h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 0 0 8px; }
html body.v2 .v2-bandeja h3 + div { margin-bottom: 14px; }
html body.v2 .v2-bandeja .sc-solicitud { padding: 10px 12px; margin-bottom: 8px; }
html body.v2 .v2-bandeja .sc-solicitud p { margin: 0 0 4px; font-size: 13px; }
html body.v2 .v2-bandeja .sc-fila2 { grid-template-columns: 1fr 1fr; gap: 8px; }
html body.v2 .v2-bandeja .sc-modal-acc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; margin-top: 8px; }
html body.v2 .v2-bandeja .sc-modal-acc .sc-btn { min-height: 44px; font-size: 13px; padding: 0 8px; width: 100%; }
html body.v2 .v2-bandeja .sc-modal-acc [data-aprobar] { grid-column: 1 / -1; }
html body.v2 .v2-bandeja .sc-reservada .sc-modal-acc { grid-template-columns: 1fr; }
html body.v2 .v2-pliegue, html body.v2 #sb-e2-mas { border: 1px solid var(--v2-borde); border-radius: 16px; background: var(--v2-fondo); }
html body.v2 .v2-pliegue > summary, html body.v2 #sb-e2-mas > summary { min-height: 48px; display: flex; align-items: center; padding: 0 14px; cursor: pointer;
  font: 800 14px/1.2 'Inter', system-ui, sans-serif; color: #e4e4e7; list-style: none; }
html body.v2 .v2-pliegue > summary::after, html body.v2 #sb-e2-mas > summary::after { content: '▾'; margin-left: auto; opacity: .6; }
html body.v2 .v2-pliegue[open] > summary::after, html body.v2 #sb-e2-mas[open] > summary::after { content: '▴'; }
html body.v2 .v2-pliegue > .sc-panel, html body.v2 #sb-e2-mas > .sc-panel { margin: 0; border: 0; background: none; }
html body.v2 .v2-link #sc-link-cab { display: none; }
html body.v2 .sc-mini .sc-mini-lista:empty { display: none; }

/* ── IZQUIERDA: pasos (filas compactas: info | MANDAR) ──────────────────────────────────────────────────── */
html body.v2 #v2-izq > .sb-rp { margin: 0; }
html body.v2 #v2-izq .sb-rp-p { padding: 10px 12px; gap: 4px; border-radius: 12px; }
html body.v2 #v2-izq .sb-rp-p header b { font-size: 16px; }   /* 16 como la v780: con la letra al 130 % el nombre queda ≥ 20 px */
html body.v2 #v2-izq .sb-rp-fila { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; }
html body.v2 #v2-izq .sb-rp-fila > [data-rp="mandar"] { width: auto; min-width: 104px; min-height: 44px; padding: 0 12px; font-size: 13px; align-self: center; margin: 0; }
html body.v2 #v2-izq .sb-rp-dias, html body.v2 #v2-izq .sb-rp-telp { margin: 2px 0 0; }
html body.v2 #v2-izq .sb-rp-butacas { flex-wrap: wrap; }
html body.v2 #v2-izq .sb-rp-lista { gap: 6px; }

/* ════ COMPU (≥ 1280; t-boleteria-v2-arreglo: a 1024 la columna del mapa quedaba de ~200 px): todo en UNA pantalla, cada columna con su propio scroll ═══════════════════════════ */
@media (min-width: 1280px) {
  html body.v2 { overflow: hidden; }
  html body.v2 #v2-app { height: calc(100vh - var(--v2-top, 76px)); grid-template-columns: minmax(360px, 400px) minmax(0, 1fr) minmax(330px, 380px);
    grid-template-rows: auto minmax(0, 1fr); grid-template-areas: 'cab cab cab' 'izq cen der'; }
  html body.v2 #v2-cab { grid-area: cab; }
  html body.v2 #v2-izq { grid-area: izq; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  html body.v2 #v2-centro { grid-area: cen; overflow: hidden; }
  html body.v2 #v2-der { grid-area: der; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  html body.v2 #sc-mapa { flex: 1 1 auto; min-height: 0; height: auto; }
  /* «encajar» a lo ancho Y a lo alto lo hace showcase-mapa.js (data-encajar="alto"); el centrado son los márgenes automáticos del svg */
  html body.v2 #sb-entrega:not([hidden]) { flex: 0 0 auto; }
  html body.v2 #sc-barra:not([hidden]) { position: static; flex: 0 0 auto; }
  html body.v2 #v2-tabs { display: none; }
  html body.v2 .v2-barra-mas-btn { display: none; }
  html body.v2 #v2-izq > .sb-rp { padding: 10px; }
  html body.v2 #v2-izq .sb-rp-pasos { position: sticky; top: -10px; z-index: 4; background: #0e0e14; padding-top: 4px; }
}
@media (min-width: 1800px) {
  html body.v2 #v2-app { grid-template-columns: minmax(400px, 460px) minmax(0, 1fr) minmax(380px, 440px); gap: 16px; padding: 12px 18px 16px; }
  html body.v2 #v2-cab #sc-stats .sc-stat b { font-size: 18px; }
}

/* ════ TELÉFONO / TABLETA (< 1280): una zona a la vez + 4 pestañas fijas abajo ════════════════════════════ */
@media (max-width: 1279.98px) {
  html body.v2 { padding-bottom: calc(var(--v2-nav) + env(safe-area-inset-bottom, 0px)); }
  html body.v2 #v2-app { padding: 8px 8px 12px; gap: 8px; grid-template-columns: minmax(0, 1fr); }
  html body.v2 #v2-izq, html body.v2 #v2-centro, html body.v2 #v2-der { display: none; }
  html body.v2[data-v2="vender"] #v2-centro { display: flex; }
  html body.v2[data-v2="repartir"] #v2-izq, html body.v2[data-v2="puerta"] #v2-izq { display: flex; }
  html body.v2[data-v2="bandeja"] #v2-der { display: flex; }
  /* la cabeza se achica a una franja: nombre + cupos (+ ₡); consola y guion, chicos, en la misma fila */
  html body.v2 #v2-cab { gap: 6px; }
  html body.v2 .v2-resumen { flex: 1 1 100%; padding: 8px 10px; gap: 6px; }
  html body.v2 .v2-resumen h3 { font-size: 14px; flex: 1 1 100%; }
  html body.v2 #v2-cab #sc-stats .sc-stat { padding: 5px 8px; }
  html body.v2 #v2-cab #sc-stats .sc-stat b { font-size: 14px; }
  html body.v2 #v2-cab #sc-stats .sc-stat p { font-size: 10px; }
  html body.v2 .v2-acceso { flex: 1 1 100%; padding: 6px; }
  html body.v2 .v2-acceso .sa-barra { width: 100%; flex-wrap: wrap; }
  html body.v2 .v2-acceso .sa-barra .sc-btn { flex: 1 1 calc(50% - 4px); padding: 0 8px; font-size: 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  html body.v2 .v2-acceso .sa-mas { flex: 0 0 auto; }
  /* «Editar butaca» (reubicar) queda fijo arriba mientras se elige en el mapa */
  html body.v2 #sc-reubicar:not([hidden]) { position: fixed; top: calc(var(--v2-top, 64px) + 4px); left: 6px; right: 6px; z-index: 56; }
  html body.v2:not([data-v2="puerta"]) .v2-acceso { display: none; }
  html body.v2 .v2-resumen { flex-wrap: nowrap; }
  html body.v2 .v2-resumen h3 { flex: 0 1 auto; min-width: 0; font-size: 13px; }
  html body.v2 .v2-resumen h3 > *:not(#sc-show-nombre) { display: none; }
  html body.v2 #v2-cab #sc-stats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  html body.v2 #v2-cab #sc-stats .sc-stat p { display: none; }
  html body.v2 #v2-cab #sc-stats .sc-stat--oro b::before { content: 'VIP '; font-size: 10px; opacity: .7; }
  html body.v2 #v2-cab #sc-stats .sc-stat:not([class*="--"]) b::before { content: 'GEN '; font-size: 10px; opacity: .7; }
  html body.v2 .v2-plata { min-height: 44px; padding: 0 10px; flex: 0 0 auto; }
  html body.v2 .v2-plata span { display: none; }
  html body.v2:not(.v2-plata-on) #v2-cab #sc-stats .sc-stats-aviso { display: none; }
  html body.v2 .v2-resumen:has(.sc-stats-aviso) .v2-plata { position: relative; }
  html body.v2:not(.v2-plata-on) .v2-resumen:has(.sc-stats-aviso) .v2-plata::after { content: ''; position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; }   /* hay un aviso de plata adentro */
  html body.v2.v2-plata-on .v2-resumen { flex-wrap: wrap; }
  html body.v2.v2-plata-on #v2-cab #sc-stats { flex-wrap: wrap; }
  html body.v2.v2-plata-on #v2-cab #sc-stats .sc-stat p { display: block; }
  /* el mapa ocupa el ancho entero (sin márgenes) y deja ver la barra de venta */
  html body.v2 #v2-centro > #sc-mapa { margin: 0 -8px; padding: 4px 0; border-radius: 0; border-left: 0; border-right: 0; }
  html body.v2 #v2-centro > #sc-mapa { height: auto; max-height: none; }
  html body.v2 .v2-herr { flex-wrap: wrap !important; row-gap: 6px; }
  html body.v2 .v2-herr .sc-leyenda { order: 2; flex: 1 1 100%; font-size: 11px; gap: 10px; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; }
  html body.v2 .v2-herr > .flex { flex: 1 1 100%; justify-content: space-between; }
  html body.v2 #sc-barra:not([hidden]) { position: fixed; left: 6px; right: 6px; bottom: calc(var(--v2-nav) + 6px + env(safe-area-inset-bottom, 0px)); z-index: 55; margin: 0; }
  html body.v2.v2-sel #v2-app { padding-bottom: 150px; }
  html body.v2:not([data-v2="vender"]) #sc-barra { display: none !important; }
  html body.v2 #sc-barra { padding: 8px 10px; }
  html body.v2 #sc-barra .sc-barra-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
  html body.v2 #sc-barra .sc-barra-acc .sc-btn { min-height: 44px; font-size: 12px; padding: 0 8px; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; text-align: center; line-height: 44px; }
  html body.v2 #sc-barra .sc-barra-acc .sc-btn[hidden] { display: none; }
  html body.v2 #sc-barra #sc-vender, html body.v2 #sc-barra #sc-reservar-lote { grid-column: 1 / -1; }
  /* plegado: total + VENDER + «Más» en una fila; Limpiar, otro día, promo y reserva al tocar «Más» */
  html body.v2:not(.v2-barra-mas) #sc-barra { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; }
  html body.v2:not(.v2-barra-mas) #sc-barra[hidden] { display: none; }
  html body.v2:not(.v2-barra-mas) #sc-barra .sc-barra-acc { display: contents; }
  html body.v2:not(.v2-barra-mas) #sc-barra .sc-barra-acc .sc-btn:not(#sc-vender) { display: none; }
  html body.v2:not(.v2-barra-mas) #sc-barra #sc-vender { grid-column: auto; width: auto; max-width: 52vw; padding: 4px 12px; line-height: 1.15; white-space: normal; display: flex; align-items: center; justify-content: center; text-align: center; }
  html body.v2:not(.v2-barra-mas) #sc-barra .sc-barra-info small { font-size: 11px; }
  html body.v2 .v2-barra-mas-btn { min-height: 44px; min-width: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #e4e4e7; font: 900 16px/1 Inter, system-ui, sans-serif; }
  html body.v2.v2-barra-mas .v2-barra-mas-btn { grid-column: 1 / -1; order: -1; justify-self: end; }
  html body.v2 #sc-barra .sc-barra-info small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  /* la lista de personas: su cabeza (contador, buscador, filtros) queda pegada arriba */
  html body.v2 #v2-izq .sb-rp-pasos { position: sticky; top: 0; z-index: 5; background: #0b0b10; margin: -2px -2px 0; padding: 2px; }
  html body.v2[data-v2] #v2-izq .sb-rp-pasos [data-rp-paso="puerta"], html body.v2[data-v2] #v2-izq .sb-rp-pasos [data-rp-paso="repartir"] { display: none; }
  html body.v2 #v2-izq .sb-rp-pasos { grid-template-columns: 1fr; }
  html body.v2 #v2-izq .sb-rp-cabeza { top: 0; }
  html body.v2 .v2-bandeja .sc-fila2 { grid-template-columns: 1fr 1fr; }
}
/* pestañas de abajo */
html body.v2 #v2-tabs { display: none; }
@media (max-width: 1279.98px) { html body.v2 #v2-tabs { display: grid; } }
html body.v2 #v2-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--v2-nav) + env(safe-area-inset-bottom, 0px)); padding: 0 4px env(safe-area-inset-bottom, 0px);
  background: rgba(10, 10, 14, .96); border-top: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); }
html body.v2 #v2-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px;
  background: none; border: 0; color: #a1a1aa; font: 800 11px/1 'Inter', system-ui, sans-serif; letter-spacing: .05em; cursor: pointer; }
html body.v2 #v2-tabs button b { font-size: 20px; line-height: 1; filter: grayscale(.6); }
html body.v2 #v2-tabs button[aria-selected="true"] { color: #fff; }
html body.v2 #v2-tabs button[aria-selected="true"] b { filter: none; }
html body.v2 #v2-tabs button[aria-selected="true"]::before { content: ''; position: absolute; top: 0; left: 22%; right: 22%; height: 3px; border-radius: 0 0 3px 3px; background: #22d3ee; box-shadow: 0 0 10px #22d3ee; }
html body.v2 #v2-tabs .v2-n { display: block; position: absolute; top: 6px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #f43f5e; color: #fff;
  font: 900 11px/18px 'Inter', system-ui, sans-serif; font-style: normal; text-align: center; }
html body.v2 #v2-tabs .v2-n[hidden] { display: none; }
html body.v2 #v2-tabs button[data-v2="repartir"] .v2-n { background: #f59e0b; color: #1c1917; }
@media (prefers-reduced-motion: reduce) { html body.v2 #v2-tabs button[aria-selected="true"]::before { box-shadow: none; } }

/* ── Integración (ENTRADAS) ─────────────────────────────────────────────────────────────────────────────── */
/* un solo buscador: #v2-buscar arriba; los dos campos de antes quedan ocultos (sus resultados se siguen viendo) */
html body.v2 .v2-buscador-mapa .sc-buscador-fila, html body.v2 #v2-izq .sb-rp-buscar { display: none; }
html body.v2 .v2-buscador-mapa .sc-buscar-res[hidden] { display: none; }
html body.v2 .v2-buscar { flex: 1 1 260px; min-width: 0; display: flex; }
html body.v2 .v2-buscar input { width: 100%; min-height: 44px; padding: 0 14px 0 40px; border: 1.5px solid #2a313c; border-left: 2px solid #22d3ee; border-radius: 0;
  background: #0a0c11 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6' fill='none' stroke='%236fc3cf' stroke-width='2.2'/%3E%3Cpath d='M15 15l5 5' stroke='%23e04a63' stroke-width='2.6' stroke-linecap='square'/%3E%3C/svg%3E") 12px 50% / 18px no-repeat;
  color: #d8dee6; font: 600 15px/1.2 'Inter', system-ui, sans-serif;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
html body.v2 .v2-buscar input::placeholder { color: #8a94a3; }
html body.v2 .v2-buscar input:focus-visible { outline: none; border-color: #7fd3e0; background-color: #10141b; }
/* los números: una fila por la función elegida y otra con el total, siempre las mismas 6 palabras */
html body.v2 .v2-numeros { flex: 1 1 100%; display: grid; gap: 4px; padding: 6px 10px; margin: 0; background: linear-gradient(180deg, #10141b, #0a0c11);
  border: 1px solid #2a313c; border-left: 2px solid #22d3ee; }
html body.v2 .v2-numeros[hidden] { display: none; }
html body.v2 .v2-num-fila { display: grid; grid-template-columns: minmax(52px, auto) repeat(6, minmax(0, 1fr)); align-items: baseline; gap: 6px; }
html body.v2 .v2-num-rot { font: 800 11px/1.1 Orbitron, Rajdhani, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #6fc3cf; white-space: nowrap; }
html body.v2 .v2-num { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
html body.v2 .v2-num b { font: 800 17px/1.05 Orbitron, Rajdhani, system-ui, sans-serif; color: #d8dee6; font-variant-numeric: tabular-nums; }
html body.v2 .v2-num small { font: 600 11px/1.15 'Inter', system-ui, sans-serif; color: #8a94a3; overflow-wrap: anywhere; }
html body.v2 .v2-num[data-num="confirmadas"] b { color: #5fae8c; }
html body.v2 .v2-num[data-num="sala"] b { color: #c9a052; }
html body.v2 .v2-num-total { border-top: 1px solid #2a313c; padding-top: 4px; }
html body.v2 .v2-num-total .v2-num b { font-size: 14px; color: #aab4c0; }
/* lo que antes repetía números con otras palabras se va (los mismos datos están en el bloque de números) */
html body.v2 #sb-reparto-texto, html body.v2 #sb-rp-cont > small { display: none !important; }
/* el mapa: estados más notorios (repartida = filo celeste grueso, en sala = oro con brillo) y leyenda legible */
html body.v2 #sc-mapa:not([data-sb-vista="entrega"]) .sc-butaca[data-reparto="repartida"]:not(.sc-hallada):not(:focus-visible) { stroke: #e0f2fe; stroke-width: 2.6; }
html body.v2 #sc-mapa:not([data-sb-vista="entrega"]) .sc-butaca[data-reparto="sala"]:not(.sc-hallada):not(:focus-visible) { stroke: #fff7d6; stroke-width: 2.8; filter: drop-shadow(0 0 4px rgba(201, 160, 82, .95)); }
html body.v2 .sc-leyenda { color: #c4cbd4; font-weight: 600; }
html body.v2 .sc-leyenda i { width: 14px; height: 14px; border-radius: 0; }
html body.v2 .sb-l-repartida { box-shadow: 0 0 0 2px #e0f2fe inset; }
html body.v2 .sb-l-sala { box-shadow: 0 0 6px rgba(201, 160, 82, .9); }
@media (max-width: 1279.98px) {
  html body.v2 .v2-buscar { flex: 1 1 100%; }
  html body.v2 .v2-numeros { padding: 6px 8px; }
  html body.v2 .v2-num-fila { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px 4px; }
  html body.v2 .v2-num-rot { grid-column: 1 / -1; }
  html body.v2 .v2-num b { font-size: 15px; }
  html body.v2 .v2-num small { font-size: 9.5px; line-height: 1.1; }
  html body.v2 .v2-num-total .v2-num b { font-size: 13px; }
  /* en VENDER y BANDEJA el bloque se achica a la fila de la función (el total está en REPARTIR y PUERTA) */
  html body.v2[data-v2="vender"] .v2-num-total, html body.v2[data-v2="bandeja"] .v2-num-total { display: none; }
  html body.v2 .v2-acceso .sa-barra .sc-btn { flex: 1 1 100%; }
}

/* ════ PARTE 2 · APARIENCIA CONEXIONES (v53c · paleta apagada) ═══════════════════════════════════════════════
   Igual que app/paleta-v56.css del micrositio: sin seudo-elementos (los de las clases viejas tienen otros usos), con capas de fondo.
   De arriba hacia abajo: el filo de las dos esquinas cortadas a 45°, la línea de luz del bisel, la sombra de abajo, la señal (barrido
   fino), el cuerpo y, debajo de todo, el FILO (borde de 1,5 px). */
html body.v2 { background-color: #07080b; }
html body.v2 :is(.sc-btn, .sb-btn, .sb-rp-uno, .v2-plata, .sa-mas-btn, .v2-barra-mas-btn, .sc-tab, .sb-rp-pasos button, .sb-rp-filtros button, .sb-vistas button,
  .sb-rp-aviso, .sb-rp-lapiz, .v2-pliegue > summary, #sb-e2-mas > summary, .sc-modal-panel button) {
  --corte: 10px; --fd: #5e9fab; --fd2: #2c4048; --c1: #1a2029; --c2: #11151c; --c3: #080a0e; --luz: 160, 215, 225; --tinta: #d8e4e8;
  --f1: #7fd3e0; --f2: #3b6e78; --f3: #1c2530;
  border: 1.5px solid transparent !important; border-radius: 0 !important; color: var(--tinta) !important; text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
  clip-path: polygon(var(--corte) 0, 100% 0, 100% calc(100% - var(--corte)), calc(100% - var(--corte)) 100%, 0 100%, 0 var(--corte));
  background:
    linear-gradient(135deg, var(--fd) 0 calc(var(--corte) * .7071 + 1.4px), transparent 0) border-box,
    linear-gradient(315deg, var(--fd2) 0 calc(var(--corte) * .7071 + 1.4px), transparent 0) border-box,
    linear-gradient(180deg, rgba(var(--luz), .26) 0 1px, rgba(var(--luz), .04) 2px, transparent 42%) padding-box,
    linear-gradient(0deg, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, .22) 3px, transparent 40%) padding-box,
    repeating-linear-gradient(180deg, rgba(111, 195, 207, .03) 0 1px, transparent 1px 3px) padding-box,
    linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, .045) 58% 61%, transparent 61%) padding-box,
    linear-gradient(180deg, var(--c1) 0%, var(--c2) 50%, var(--c3) 100%) padding-box,
    linear-gradient(170deg, var(--f1) 0%, var(--f2) 45%, var(--f3) 100%) border-box !important;
  box-shadow: none !important;
  font-family: Orbitron, Rajdhani, 'Inter', system-ui, sans-serif !important; font-weight: 700 !important; letter-spacing: .05em !important; text-transform: uppercase;
  line-height: 1.15 !important;
  transition: transform .12s ease-out;
}
/* principal · rojo vino con filo rojo encendido (vender, mandar, crear, abrir la puerta, aprobar, la elegida) */
html body.v2 :is(#sc-vender, .sc-btn--oro, .sc-btn--apartar, .sb-rp .sb-rp-uno:not(.sb-btn--sec), .sb-rp-grande:not(.sb-btn--sec), .sb-btn--cola,
  .sc-modal-panel button[type="submit"], [data-aprobar], .sc-tab[aria-selected="true"], .sb-rp-pasos button[aria-selected="true"], .sb-rp-filtros button[aria-selected="true"],
  .sb-vistas button[aria-selected="true"], .sb-e2-b[aria-pressed="true"], .v2-plata[aria-expanded="true"]) {
  --corte: 12px; --fd: #b8283f; --fd2: #8f1d33; --c1: #6a1a2c; --c2: #4a1020; --c3: #22060e; --luz: 255, 190, 200; --tinta: #f3e6e9;
  --f1: #f43f5e; --f2: #8f1d33; --f3: #3a0a15;
}
/* salir y peligro · óxido (limpiar, cancelar, cerrar, rechazar, retirar, soltar) */
html body.v2 :is(#sc-limpiar, #sc-reubicar-cancelar, #sc-sinpe-soltar, [data-cerrar], [data-rechazar], .sc-btn--rojo, [data-sb="retirar"], .sb-btn[data-confirmar="1"]) {
  --fd: #d9822b; --fd2: #7a4519; --c1: #33200f; --c2: #22150a; --c3: #110a05; --luz: 230, 190, 140; --tinta: #eedfcc; --f1: #d9822b; --f2: #7a4519; --f3: #2a170a;
}
/* WhatsApp · el verde apagado de la paleta (es lo que abre WhatsApp: se reconoce por el color) */
html body.v2 :is(.sc-btn--wa, .sb-btn--wa, .sb-rp [data-rp="wa"]) {
  --fd: #5fae8c; --fd2: #2f5d4a; --c1: #173328; --c2: #0f2219; --c3: #07120d; --luz: 170, 230, 200; --tinta: #e3f4ec; --f1: #7fd1ad; --f2: #3e7a61; --f3: #142a20;
}
/* el aviso ámbar «sin entrada todavía»: secundario con el filo oro apagado */
html body.v2 .sb-rp-aviso { --fd: #c9a052; --f1: #c9a052; --f2: #6b5426; --tinta: #eadcb8; text-transform: none; }
html body.v2 :is(.sc-btn, .sb-btn, .sb-rp-uno, .v2-plata):active:not(:disabled) { transform: translateY(2px); }
/* deshabilitado: sin volumen, rayado de «sin señal», letra apagada pero legible */
html body.v2 :is(.sc-btn, .sb-btn, .sb-rp-uno, .sb-rp-grande, .sc-modal-panel button):is(:disabled, [aria-disabled="true"]) {
  --tinta: #8a94a3; filter: none !important; opacity: 1 !important;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 6px, transparent 6px 12px) padding-box, linear-gradient(180deg, #14171d, #0d0f13) padding-box,
    linear-gradient(170deg, #353c47, #1f242c) border-box !important;
}
/* foco de teclado: el filo se vuelve blanco (el recorte no deja dibujar afuera) */
html body.v2 :is(.sc-btn, .sb-btn, .sb-rp-uno, .sc-tab, .sb-rp-pasos button, .sb-rp-filtros button, .v2-plata):focus-visible { outline: none !important; --f1: #ffffff; --fd: #ffffff; }
/* los iconos propios dentro de los controles */
html body.v2 .v2-ico { display: inline-flex; flex: 0 0 auto; line-height: 0; vertical-align: middle; margin-right: 2px; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)); }
html body.v2 .sh-ico { width: 22px; height: 22px; display: block; overflow: visible; }
html body.v2 :is(.sc-btn--chico, .sb-btn--chico) .sh-ico { width: 18px; height: 18px; }
html body.v2 :is(button, summary):is(:disabled, [aria-disabled="true"]) .v2-ico { filter: grayscale(1) opacity(.55); }
/* las pestañas de día (Lunes / Martes): la letra del wordmark solo en el título */
html body.v2 .sc-tab { text-transform: none; letter-spacing: .02em !important; }
html body.v2 .sc-tab b { font: 800 13px/1.15 Orbitron, Rajdhani, system-ui, sans-serif; letter-spacing: .04em; color: inherit; }
html body.v2 .sc-tab small { font: 600 11px/1.2 'Inter', system-ui, sans-serif; color: #aab4c0; letter-spacing: 0; text-transform: none; }
html body.v2 .sb-rp-filtros button { text-transform: none; font-size: 12px; }
html body.v2 .sb-rp-filtros button i { font-family: Orbitron, Rajdhani, system-ui, sans-serif; }
/* paneles: vidrio grafito con el filo izquierdo cian (como «¿dónde estoy?» de la entrada) */
html body.v2 :is(.v2-zona > .sc-panel, #v2-cab > section.sc-panel, .v2-pliegue, #sb-e2-mas) { border-radius: 0 !important; background: linear-gradient(180deg, #10141b, #0a0c11) !important;
  border: 1px solid #2a313c !important; border-left: 2px solid #22d3ee !important; box-shadow: none !important; }
html body.v2 .v2-zona h3, html body.v2 .v2-resumen h3 { font-family: Orbitron, Rajdhani, system-ui, sans-serif; letter-spacing: .08em; color: #d8dee6; }
html body.v2 .v2-zona .sb-k, html body.v2 .v2-zona .sb-rp-paso-t { color: #6fc3cf; letter-spacing: .14em; font-family: Orbitron, Rajdhani, system-ui, sans-serif; }
html body.v2 #v2-cab #sc-stats .sc-stat { border-radius: 0; border: 1px solid #2a313c; background: #0a0c11; }
html body.v2 #v2-cab #sc-stats .sc-stat b { font-family: Orbitron, Rajdhani, system-ui, sans-serif; color: #d8dee6; }
/* las pestañas del teléfono: grafito, icono propio y la letra del wordmark; la elegida con el filo rojo vino arriba */
html body.v2 #v2-tabs { background: linear-gradient(180deg, #10141b, #07080b); border-top: 1px solid #2a313c; }
html body.v2 #v2-tabs button { color: #8a94a3; font: 700 10.5px/1 Orbitron, Rajdhani, system-ui, sans-serif; letter-spacing: .08em; gap: 4px; }
html body.v2 #v2-tabs .v2-tab-ico { line-height: 0; filter: grayscale(.7) brightness(.8); }
html body.v2 #v2-tabs .v2-tab-ico .sh-ico { width: 26px; height: 26px; }
html body.v2 #v2-tabs button[aria-selected="true"] { color: #f3e6e9; background: linear-gradient(180deg, rgba(106, 26, 44, .55), rgba(34, 6, 14, .2)); }
html body.v2 #v2-tabs button[aria-selected="true"] .v2-tab-ico { filter: none; }
html body.v2 #v2-tabs button[aria-selected="true"]::before { left: 18%; right: 18%; border-radius: 0; background: #f43f5e; box-shadow: 0 0 8px rgba(244, 63, 94, .5); }
html body.v2 #v2-tabs .v2-n { background: #8f1d33; border-radius: 0; font-family: Orbitron, Rajdhani, system-ui, sans-serif; }
html body.v2 #v2-tabs button[data-v2="repartir"] .v2-n { background: #c9a052; color: #1c1917; }
html body.v2 #v2-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
@media (prefers-reduced-motion: reduce) {
  html body.v2 :is(.sc-btn, .sb-btn, .sb-rp-uno, .v2-plata) { transition: none; }
  html body.v2 :is(.sc-btn, .sb-btn, .sb-rp-uno, .v2-plata):active:not(:disabled) { transform: none; }
}
/* compu: la cabeza en 2 filas · (show + cupos + ₡ | consola) y (números | buscador) */
@media (min-width: 1280px) {
  html body.v2 #v2-cab > .sc-aviso, html body.v2 #v2-cab > .sc-sinpe, html body.v2 #v2-cab > .sc-reubicar { order: 0; }
  html body.v2 #v2-cab > .v2-resumen { order: 1; }
  html body.v2 #v2-cab > .v2-acceso { order: 2; }
  html body.v2 #v2-cab > .v2-numeros { order: 3; flex: 3 1 640px; }
  html body.v2 #v2-cab > .v2-buscar { order: 4; flex: 1 1 300px; align-self: center; }
  html body.v2 .v2-num-fila { grid-template-columns: 64px repeat(6, minmax(0, 1fr)); gap: 2px 10px; }
  html body.v2 .v2-num { flex-direction: row; align-items: baseline; gap: 6px; }
  html body.v2 .v2-num b { font-size: 15px; }
  html body.v2 .v2-num-total { padding-top: 2px; }
  html body.v2 .v2-numeros { padding: 4px 10px; }
}
/* un <details> cerrado no deja cajas (Chrome las dejaba en ::details-content: se medían como «a la vista») */
html body.v2 :is(.v2-pliegue, #sb-e2-mas):not([open]) > :not(summary) { display: none !important; }
/* teléfono: en VENDER y BANDEJA los números de entradas no hacen falta (están en REPARTIR y PUERTA): el mapa sube */
@media (max-width: 1279.98px) {
  html body.v2:is([data-v2="vender"], [data-v2="bandeja"]) .v2-numeros { display: none; }
  html body.v2[data-v2="bandeja"] .v2-buscar { display: none; }
}
/* teléfono: los 6 números en 3 columnas (con la letra grande, «Confirmadas» entra entero) y solo la función elegida; el total, en la compu */
@media (max-width: 1279.98px) {
  html body.v2 .v2-num-fila { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 8px; }
  html body.v2 .v2-num { flex-direction: row; align-items: baseline; gap: 5px; }
  html body.v2 .v2-num small { font-size: 11px; overflow-wrap: normal; white-space: nowrap; overflow: hidden; text-overflow: clip; }
  html body.v2 .v2-num-total { display: none; }
}
@media (max-width: 1279.98px) { html body.v2 .v2-herr > .flex { flex-wrap: wrap; gap: 6px; } }

/* ── Verificador DIRECTORA 02-12 ─────────────────────────────────────────────────────────────────────────── */
/* «Reservadas» va aparte de las 6 palabras (las reservas no son ventas) */
html body.v2 .v2-num--aparte small { color: #a78bfa; }
html body.v2 .v2-num--aparte b { color: #c4b5fd; }
@media (min-width: 1280px) { html body.v2 .v2-num-fila { grid-template-columns: 64px repeat(7, minmax(0, 1fr)); } }
/* ningún texto de botón se corta: envuelve (nada de «…» ni recortes) */
html body.v2 :is(.sc-btn, .sb-btn, .sb-rp-uno, .sc-modal-panel button) { white-space: normal !important; text-overflow: clip !important; overflow: visible !important;
  height: auto; overflow-wrap: break-word; }
/* la bandeja en el teléfono: cada acción en su propia fila (a 360 «Vincular a Power Link» no entraba en media fila) */
@media (max-width: 1279.98px) {
  html body.v2 .v2-bandeja .sc-modal-acc { grid-template-columns: minmax(0, 1fr); }
  html body.v2 #sc-barra .sc-barra-acc .sc-btn { line-height: 1.15 !important; display: flex; align-items: center; justify-content: center; }
  /* la tira de cupos no se sale de su carril: envuelve en vez de correrse */
  html body.v2 .v2-resumen { flex-wrap: wrap; }
  html body.v2 #v2-cab #sc-stats { flex-wrap: wrap; overflow: visible; }
  html body.v2 .v2-resumen h3 { flex: 1 1 auto; }
  /* los botones principales del teléfono, ≥ 48 px (nota de Arquitectura 01-12 20:37, punto 2) */
  html body.v2 :is(#sc-vender, .sb-e2-b, .sb-rp .sb-rp-uno, .sb-rp-grande, [data-aprobar], #v2-tabs button) { min-height: 48px !important; height: auto !important; }
}

/* ════ t-boleteria-v2-arreglo (04-12) · el teléfono con el DEDO y el mapa de ENTREGA en la compu ═══════════════════════════════════
   Social no podía usarla en el teléfono (v787/v790): la página no bajaba con el dedo y, con una butaca elegida, el panel tapaba el mapa. */
/* el interruptor de Dirección en la boletería anterior (único estilo de este archivo que aplica con la v2 apagada) */
#v2-probar, #v2-usar-nueva { min-height: 48px; min-width: 48px; margin-top: 10px; }
html body.v2 .v2-volver { min-height: 48px; flex: 0 0 auto; text-transform: none !important; font-size: 12px !important; letter-spacing: .02em !important; }
html body.v2 .v2-hoja-asa { display: none; }
@media (max-width: 1279.98px) {
  /* (1) un dedo: arriba/abajo mueve la PÁGINA aunque arranque sobre el plano; de costado mueve el plano. Dos dedos: agrandan el plano
     (show-layout.js; el navegador no agranda la página entera desde el mapa). Sin «contain» vertical: el gesto no queda atrapado. */
  html body.v2 #v2-centro > #sc-mapa { overflow-x: auto; overflow-y: hidden; overscroll-behavior-y: auto; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
  html body.v2 #sc-mapa svg, html body.v2 #sc-mapa .sc-butaca { touch-action: pan-x pan-y; }
  /* (2) la HOJA de abajo (lo elegido + VENDER): nunca más alta que un tercio de la pantalla (se desplaza por dentro) y con su asa
     para bajarla a una franja; el mapa queda a la vista y tocable arriba */
  html body.v2 #sc-barra:not([hidden]) { max-height: 30vh; overflow-y: auto; overscroll-behavior: contain; }
  @supports (height: 1svh) { html body.v2 #sc-barra:not([hidden]) { max-height: 30svh; } }
  html body.v2 .v2-hoja-asa { display: flex; align-items: center; justify-content: center; order: -2; flex: 0 0 48px; width: 48px; min-width: 48px; height: 48px; min-height: 48px;
    padding: 0; border: 1px solid #2a313c; border-radius: 0; background: #0a0c11; color: #d8dee6; font: 900 18px/1 Inter, system-ui, sans-serif; cursor: pointer; touch-action: manipulation; }
  html body.v2 .v2-hoja-asa:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
  /* plegada: arriba lo elegido en una línea; abajo asa · VENDER (ancho) · «⋯» */
  html body.v2:not(.v2-barra-mas):not(.v2-hoja-baja) #sc-barra:not([hidden]) { grid-template-columns: 48px minmax(0, 1fr) 48px; grid-template-areas: 'info info info' 'asa acc mas'; row-gap: 6px; }
  html body.v2:not(.v2-barra-mas) #sc-barra .sc-barra-info { grid-area: info; display: flex; align-items: baseline; gap: 8px; min-width: 0; }
  html body.v2:not(.v2-barra-mas) #sc-barra .sc-barra-info b { flex: 0 0 auto; font-size: 15px; }
  html body.v2:not(.v2-barra-mas) #sc-barra .sc-barra-info small { flex: 1 1 auto; min-width: 0; }
  html body.v2:not(.v2-barra-mas) #sc-barra .v2-hoja-asa { grid-area: asa; }
  html body.v2:not(.v2-barra-mas) #sc-barra #sc-vender { grid-area: acc; max-width: none; width: 100%; }
  html body.v2:not(.v2-barra-mas) #sc-barra .v2-barra-mas-btn { grid-area: mas; }
  html body.v2 .v2-barra-mas-btn { min-height: 48px; min-width: 48px; }
  /* desplegada («⋯»): asa · lo elegido · cerrar en la primera fila; las acciones debajo (se desplazan dentro de la hoja) */
  html body.v2.v2-barra-mas #sc-barra .v2-hoja-asa { order: -2; }
  html body.v2.v2-barra-mas #sc-barra .sc-barra-info { order: -1; flex: 1 1 0; min-width: 0; }
  html body.v2.v2-barra-mas #sc-barra .v2-barra-mas-btn { order: 0; }
  html body.v2.v2-barra-mas #sc-barra .sc-barra-acc { order: 1; }
  /* bajada: una franja con el asa y el total (lo elegido no se pierde; VENDER vuelve al subirla) */
  html body.v2.v2-hoja-baja #sc-barra:not([hidden]) { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: 'asa info'; padding: 4px 8px 4px 4px; gap: 8px; max-height: none; overflow: hidden; }
  html body.v2.v2-hoja-baja #sc-barra .sc-barra-acc, html body.v2.v2-hoja-baja #sc-barra .v2-barra-mas-btn, html body.v2.v2-hoja-baja #sc-barra #sc-sel-dias { display: none !important; }
  html body.v2.v2-hoja-baja #sc-barra .sc-barra-info b { font-size: 14px; }
  html body.v2.v2-hoja-baja.v2-sel #v2-app { padding-bottom: 72px; }
  /* los controles del zoom, al tamaño del dedo */
  html body.v2 .v2-herr .sc-btn--chico { min-width: 48px; min-height: 48px; }
}
/* compu: la vista ENTREGA ya no aplasta el mapa (ficha boleteria-entrega-mapa-diminuto: quedaba en ~14–51 px). El mapa tiene un alto
   mínimo de 300 px; el panel de contadores va compacto (4 por fila) y, si no entra, se desplaza dentro de su caja; la columna del centro
   se desplaza sola si la pantalla es baja (la página sigue sin scroll). */
@media (min-width: 1280px) {
  html body.v2 #v2-centro { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  html body.v2 #v2-centro > #sc-mapa { min-height: 300px; }
  html body.v2 #sb-entrega:not([hidden]) { flex: 0 1 auto; min-height: 96px; max-height: 36%; overflow-y: auto; overscroll-behavior: contain; padding: 8px 12px; gap: 6px; }
  html body.v2 #sb-entrega .sb-entrega-texto { font-size: 15px; }
  html body.v2 #sb-entrega .sb-cont { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 12px; margin-top: 2px; }
  html body.v2 #sb-entrega .sb-cont b { font-size: 22px; }
  html body.v2 #sb-entrega .sb-cont small { font-size: 11px; }
  /* «Volver a la anterior» (solo Dirección, mientras la prueba): al final de la segunda fila de la cabeza */
  html body.v2 #v2-cab > .v2-volver { order: 5; align-self: center; }
}
@media (max-width: 1279.98px) {
  html body.v2 #v2-cab > .v2-volver { order: 1; margin-left: auto; }
  /* t-boleteria-v2-todos: «Usar la boletería anterior» se ve en las 4 pestañas (respaldo para social y la puerta) */
}
