/* =====================================================================
   El Jaleo Sessions · piezas comunes de todas las páginas públicas
   (barra de pestañas del móvil, compartir, añadir al calendario, venta)
   Letra de interfaz: Inter Tight (si la página no la carga, la del sistema: la del iPhone en iPhone).
   ===================================================================== */
.tabbar { display: none; }
@media (max-width: 860px) {
  .tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 95; display: grid; grid-template-columns: repeat(4, 1fr);
    align-items: center; height: 64px; padding: 6px; border-radius: 26px; background: #141212;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 16px 40px rgba(0,0,0,.5);
    transform: translateY(140%); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
  .tabbar.on { transform: none; }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 100%; border-radius: 20px; color: #94908b;
    font: 600 11px/1 "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: -.005em; text-decoration: none;
    background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .25s, background .25s, transform .15s; }
  .tabbar a:active, .tabbar button:active { transform: scale(.94); }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar .here { color: #efebe6; background: #262323; }
  .tabbar .buy { color: #0a0909; background: #ff1f8e; box-shadow: 0 8px 22px -6px rgba(255,31,142,.6); }
  .tabbar .buy.here { background: #ff1f8e; color: #0a0909; }
  body.has-tabbar { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
.jtoast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 400; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: #efebe6; color: #0a0909; padding: 12px 18px; border-radius: 999px; font: 650 15px "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; white-space: nowrap;
  box-shadow: 0 14px 34px -10px rgba(0,0,0,.6); transition: transform .4s cubic-bezier(.3,1.4,.5,1), opacity .3s; }
.jtoast.on { transform: translate(-50%, 0); opacity: 1; }
.jbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.jbtn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: #1d1b1b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
  color: #efebe6; font: 600 14px "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: -.01em; cursor: pointer; text-decoration: none;
  transition: background .25s, color .25s; }
.jbtn:hover { background: #2a2727; }
.jbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* con el menú abierto, la barra de abajo se esconde */
html.menu-open .tabbar { transform: translateY(160%) !important; }

/* venta: pastilla de estado, cuenta atrás de apertura y escalera de precios */
[data-venta-chip].live { border-color: rgba(255,31,142,.7) !important; }
/* números de ancho fijo: la cuenta atrás no hace bailar el texto de alrededor */
[data-venta-chip] b { color: #ff1f8e; font-variant-numeric: tabular-nums; }
[data-venta-cd] { display: inline-block; padding: 10px 16px; border-radius: 18px; background: rgba(255,31,142,.13); box-shadow: inset 0 0 0 1px rgba(255,31,142,.4);
  font: 600 14px/1.4 "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: -.01em; color: #efebe6; }
[data-venta-cd] b { color: #ff1f8e; font-variant-numeric: tabular-nums; white-space: nowrap; }
[data-venta-cd][hidden] { display: none; }
/* sold out: los botones de compra se quedan como aviso, sin abrir nada */
.soldout [data-buy], .tk-buy[aria-disabled="true"] { opacity: .6; cursor: default; pointer-events: none; }
.soldout [data-buy] svg { display: none; }
/* lista gratis y tramos de tres en tres (en el móvil, de dos en dos); la last chance, a lo ancho */
.ladder { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
.ladder li { position: relative; padding: 14px 14px 12px; border-radius: 22px; background: #141212; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); display: grid; gap: 4px; align-content: start; }
.ladder li.wide { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; column-gap: 14px; text-align: left; padding-left: 18px; }
.ladder li.wide .ln { font-weight: 800; font-size: 15px; }
.ladder li.wide b { grid-column: 2; grid-row: 1 / span 2; }
.ladder .ln, .ladder .st { font: 600 12.5px "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: -.005em; color: #94908b; }
.ladder b { font: 800 40px/1 "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: -.025em; font-variant-numeric: tabular-nums; color: #efebe6; }
.ladder li.now { background: #ff1f8e; box-shadow: 0 14px 40px -12px rgba(255,31,142,.7); }
.ladder li.now .ln, .ladder li.now .st { color: rgba(10,9,9,.7); }
.ladder li.now b { color: #0a0909; }
.ladder li.off { opacity: .45; }
.ladder li.off b { text-decoration: line-through; text-decoration-thickness: 3px; }
@media (max-width: 760px) { .ladder { grid-template-columns: 1fr 1fr; } .ladder li:last-child:nth-child(odd) { grid-column: 1 / -1; } .ladder b { font-size: 36px; } }

/* last chance: tarjeta flotante discreta abajo (en el móvil, encima de la barra de pestañas) */
.javiso { position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 96; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 40px);
  padding: 10px 10px 10px 18px; border-radius: 18px; background: #141212; color: #f4f1ec; text-decoration: none;
  font: 600 15px/1.25 "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: -.01em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 18px 40px -14px rgba(0,0,0,.8);
  transform: translateY(160%); opacity: 0; transition: transform .6s cubic-bezier(.2,.9,.3,1), opacity .4s, box-shadow .2s; }
.javiso.on { transform: none; opacity: 1; }
.javiso.on:hover { box-shadow: inset 0 0 0 1px rgba(255,31,142,.55), 0 18px 40px -14px rgba(0,0,0,.8); }
.javiso i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff1f8e; box-shadow: 0 0 0 4px rgba(255,31,142,.18); animation: javiso 1.6s ease-in-out infinite; }
@keyframes javiso { 50% { opacity: .4; } }
.javiso span { display: grid; gap: 2px; }
.javiso small { font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: #ff1f8e; }
.javiso b { font-weight: 700; }
.javiso em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 9px 12px; border-radius: 11px; background: #ff1f8e; color: #0a0909; }
@media (max-width: 860px) {
  .javiso { left: 10px; right: 10px; max-width: none; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); padding: 8px 8px 8px 16px; font-size: 14px; }
  .javiso em { margin-left: auto; }
}
html.menu-open .javiso { transform: translateY(260%) !important; }
@media (prefers-reduced-motion: reduce) { .javiso i { animation: none; } }
/* cosas que solo salen antes de abrir la last chance o mientras está abierta, y cosas que se ocultan entonces */
html:not(.aviso) [data-aviso-only], .aviso [data-no-aviso] { display: none !important; }
html:not(.lc-abierta) [data-abierta-only], .lc-abierta [data-no-abierta] { display: none !important; }
/* [data-lc-only]: solo con la last chance (antes de abrir o abierta); [data-no-lc]: se oculta entonces */
html:not(.aviso):not(.lc-abierta) [data-lc-only], .aviso [data-no-lc], .lc-abierta [data-no-lc] { display: none !important; }
.aviso.soldout [data-buy] { opacity: 1; }

/* cuenta atrás grande hasta que abre la last chance (horas, minutos, segundos: cada número que cambia, sube) */
.jreloj-k { margin-bottom: 8px; font: 700 12px "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #ff1f8e; }
.jreloj { display: flex; gap: 8px; }
.jreloj div { min-width: 88px; padding: 12px 10px 10px; border-radius: 20px; background: #0a0909; box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); text-align: center; }
.jreloj b { display: block; height: 1.1em; overflow: hidden; font: 900 58px/1.1 "Anybody", "Arial Narrow", sans-serif; font-variation-settings: "wdth" 60; font-variant-numeric: tabular-nums; color: #efebe6; }
.jreloj div:last-child b { color: #ff1f8e; }
.jreloj b.tic { animation: jtic .45s cubic-bezier(.2,.9,.3,1); }
@keyframes jtic { from { transform: translateY(-70%); opacity: 0; } }
.jreloj span { display: block; margin-top: 6px; font: 700 10px "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #94908b; }
@media (max-width: 520px) { .jreloj { width: 100%; } .jreloj div { flex: 1; min-width: 0; } .jreloj b { font-size: 46px; } }

@media (prefers-reduced-motion: reduce) { .jreloj b.tic { animation: none; } }
