/* Liveri · prototipo · estilos */
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: inherit; }
  ::-webkit-scrollbar-thumb { background: #ff006655; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #ff006688; }
  
  #mouseGlowCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 30;
    mix-blend-mode: screen;
  }
  
  html:not(.dark) #mouseGlowCanvas {
    mix-blend-mode: multiply;
    opacity: 0.35;
  }

  @media (hover: none), (pointer: coarse) {
    #mouseGlowCanvas { display: none; }
  }

  .hero-vignette {
    background: radial-gradient(ellipse at center, transparent 28%, rgba(2, 6, 23, 0.5) 78%, rgba(2, 6, 23, 0.85) 100%);
  }

  /* VITRINA del hero: capas de banners con crossfade + puntos indicadores */
  .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .9s ease;
  }
  .hero-slide.activa { opacity: 1; }
  .hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .35);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: width .25s ease, background-color .25s ease;
  }
  .hero-dot:hover { background: #ffffff; }
  .hero-dot.activa { width: 22px; background: #ff0066; box-shadow: 0 0 10px rgba(255, 0, 102, .8); }
  @media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
  }

  html:not(.dark) .hero-vignette {
    background: radial-gradient(ellipse at center, transparent 28%, rgba(2, 6, 23, 0.35) 78%, rgba(2, 6, 23, 0.6) 100%);
  }

  .glass-card {
    background: rgba(17, 17, 22, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  html:not(.dark) .glass-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  }

  .city-picker { position: relative; }
  .city-picker-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.5rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    color: #f1f5f9;
    font-size: 0.75rem;
    font-weight: 700;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }
  .city-picker-trigger:hover,
  .city-picker-trigger[aria-expanded="true"] {
    border-color: rgba(255, 0, 102, 0.55);
    background: rgba(255, 0, 102, 0.1);
    box-shadow: 0 0 22px rgba(255, 0, 102, 0.16);
  }
  html:not(.dark) .city-picker-trigger {
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.78);
    color: #1e293b;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06);
  }
  .city-picker-menu {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    z-index: 70;
    width: 12rem;
    padding: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.1rem;
    background: rgba(17, 17, 22, 0.94);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38), 0 0 26px rgba(255, 0, 102, 0.12);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transform-origin: top left;
    animation: cityMenuIn 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  html:not(.dark) .city-picker-menu {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16), 0 0 24px rgba(255, 0, 102, 0.1);
  }
  .city-picker-option {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.75rem;
    border: 0;
    border-radius: 0.8rem;
    background: transparent;
    color: #e2e8f0;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease;
  }
  html:not(.dark) .city-picker-option { color: #334155; }
  .city-picker-option:hover,
  .city-picker-option:focus-visible {
    outline: none;
    background: rgba(255, 0, 102, 0.12);
    color: #ff4d91;
  }
  .city-picker-option[aria-selected="true"] {
    background: rgba(255, 0, 102, 0.1);
    color: #ff4d91;
  }
  .city-picker-option-dot {
    width: 0.45rem;
    height: 0.45rem;
    flex: none;
    border-radius: 9999px;
    background: #64748b;
  }
  .city-picker-option[aria-selected="true"] .city-picker-option-dot {
    background: #ff0066;
    box-shadow: 0 0 12px rgba(255, 0, 102, 0.8);
  }
  @keyframes cityMenuIn {
    from { opacity: 0; transform: translateY(-4px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  .glass-card:hover {
    border-color: rgba(255, 0, 102, 0.5);
    box-shadow: 0 10px 30px -10px rgba(255, 0, 102, 0.3);
  }
  html:not(.dark) .glass-card:hover {
    border-color: rgba(255, 0, 102, 0.45);
    box-shadow: 0 12px 30px -12px rgba(255, 0, 102, 0.26);
  }
  html:not(.dark) .glass-card:hover {
    border-color: rgba(255, 0, 102, 0.45);
    box-shadow: 0 12px 30px -12px rgba(255, 0, 102, 0.26);
  }

  .neon-glow {
    box-shadow: 0 0 25px rgba(255, 0, 102, 0.45);
  }

  .partner-carousel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .partner-track { display: flex; width: max-content; animation: partnerScroll 34s linear infinite; }
  .partner-carousel:hover .partner-track,
  .partner-carousel:focus-within .partner-track { animation-play-state: paused; }
  .partner-logo {
    display: flex;
    width: 180px;
    height: 90px;
    flex: none;
    align-items: center;
    justify-content: center;
    margin: 0 0.75rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    background: #ffffff;
    overflow: hidden;
  }
  .partner-wordmark {
    color: #f8fafc;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-align: center;
    text-wrap: balance;
    text-shadow: 0 0 18px rgba(255, 0, 102, 0.28);
  }
  html:not(.dark) .partner-logo { border-color: rgba(15, 23, 42, 0.08); background: white; }
  html:not(.dark) .partner-wordmark { color: #1e293b; }
  @keyframes partnerScroll { to { transform: translateX(-50%); } }
  .plano .map-section { pointer-events: none; }
  .plano .seat-dot { cursor: pointer; user-select: none; transition: fill 120ms ease, stroke 120ms ease; }
  .plano .seat-dot:hover { stroke: #ffffff; stroke-width: 3; }
  .plano .seat-dot.disponible { fill: #ffffff; stroke: #94a3b8; stroke-width: 1; }
  .plano .seat-dot.ocupado { fill: #606060; cursor: not-allowed; }
  .plano .seat-dot.ocupado:hover { stroke: none; }
  .plano .seat-dot.selected { fill: #ff0066 !important; stroke: #ffffff; stroke-width: 2; }
  .plano .seat-dot.key-focus { stroke: #ff0066; stroke-width: 3; }
  .plano:focus-visible { outline: 2px solid #ff0066; outline-offset: 4px; }
  [id^="ticketQr"] svg { display: block; width: 88px; height: 88px; }
  #cuentaTicketQr svg { display: block; width: 148px; height: 148px; }
  #mapScroll { cursor: grab; max-height: 78vh; }
  @media (max-width: 640px) { #mapScroll { max-height: 70vh; } }
  #mapScroll.map-dragging { cursor: grabbing; }
  .map-viewport { width: 100%; transition: width 160ms ease, height 160ms ease; }
  .map-zoom-layer { width: 100%; transform-origin: 0 0; transition: transform 160ms ease; }
  .field-error { color: #f87171; font-size: 0.75rem; }

  .view { animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }


  .vibra-gradient {
    background-image: linear-gradient(120deg, #ff0066 0%, #ff0066 26%, #ff5700 50%, #b400d6 76%, #7000ff 100%);
  }

  :root { --page-bg: #f8fafc; --ticket-rim: rgba(15, 23, 42, 0.28); }
  html.dark { --page-bg: #07070a; --ticket-rim: rgba(0, 0, 0, 0.45); }
  .ticket-edge {
    --ticket-notch: 17px;
    filter: drop-shadow(0 2px 4px var(--ticket-rim));
    -webkit-mask-image:
      radial-gradient(circle at left center, transparent var(--ticket-notch), #000 calc(var(--ticket-notch) + 0.5px)),
      radial-gradient(circle at right center, transparent var(--ticket-notch), #000 calc(var(--ticket-notch) + 0.5px));
    -webkit-mask-composite: source-in;
    mask-image:
      radial-gradient(circle at left center, transparent var(--ticket-notch), #000 calc(var(--ticket-notch) + 0.5px)),
      radial-gradient(circle at right center, transparent var(--ticket-notch), #000 calc(var(--ticket-notch) + 0.5px));
    mask-composite: intersect;
  }
  @property --buy-notch {
    syntax: '<length>';
    inherits: false;
    initial-value: 0px;
  }
  /* ===== Botón COMPRAR — código base .btn-ticket (del usuario) =====
     En reposo: píldora sólida. Hover/focus: fondo transparente, letras en
     --line, borde del ticket trazado con animación + los 3 dots del logo. */
  .btn-ticket {
    --line: #ff0066; /* token del sitio (en tu código: #ff0a5c) */
    --glow: 4px;
    position: relative;
    width: 176px;
    max-width: 100%;
    height: 50px;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    background: var(--line);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: .04em;
    transition: background .25s, color .25s, border-radius .25s;
  }
  .btn-ticket span { position: relative; left: -6px; } /* deja libre el borde derecho */
  .btn-ticket .ticket { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
  /* Clase "trazo" (no "outline"): Tailwind genera .outline{outline-style:solid}
     al ver class="outline" en el DOM y Chrome dibujaba un marco alrededor del
     bbox del path — el "cuadro" que se veía sobre el botón. */
  .btn-ticket .trazo {
    fill: none;
    stroke: var(--line);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset .6s ease;
    filter: drop-shadow(0 0 var(--glow) var(--line));
  }
  .btn-ticket .dots { fill: var(--line); opacity: 0; transition: opacity .3s .1s; }
  .btn-ticket:hover, .btn-ticket:focus-visible { background: transparent; color: var(--line); border-radius: 0; }
  .btn-ticket:hover .trazo, .btn-ticket:focus-visible .trazo { stroke-dashoffset: 0; }
  .btn-ticket:hover .dots, .btn-ticket:focus-visible .dots { opacity: 1; }
  /* Accesibilidad: anillo de foco visible solo por teclado */
  .btn-ticket:focus-visible { outline: 2px solid var(--line); outline-offset: 3px; }
  @media (prefers-reduced-motion: reduce) {
    .btn-ticket, .btn-ticket .trazo, .btn-ticket .dots { transition-duration: .01ms; }
  }

  .ticket-edge-button {
    --ticket-notch: 10px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    -webkit-mask-image:
      radial-gradient(circle at left center, transparent var(--ticket-notch), #000 calc(var(--ticket-notch) + 0.5px)),
      radial-gradient(circle at right center, transparent var(--ticket-notch), #000 calc(var(--ticket-notch) + 0.5px));
    -webkit-mask-composite: source-in;
    mask-image:
      radial-gradient(circle at left center, transparent var(--ticket-notch), #000 calc(var(--ticket-notch) + 0.5px)),
      radial-gradient(circle at right center, transparent var(--ticket-notch), #000 calc(var(--ticket-notch) + 0.5px));
    mask-composite: intersect;
  }

  #gridFeatured > article { flex: 0 0 auto; width: 82%; scroll-snap-align: start; }
  @media (min-width: 640px) {
    #gridFeatured > article { width: calc((100% - 1.5rem) / 2); }
  }
  @media (min-width: 1024px) {
    #gridFeatured > article { width: calc((100% - 4.5rem) / 4); }
  }

  .no-scrollbar::-webkit-scrollbar { display: none; }
  .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

  .category-carousel-wrap { touch-action: pan-y; cursor: grab; }
  .category-carousel-wrap.dragging { cursor: grabbing; }
  .category-carousel-slide { user-select: none; -webkit-user-drag: none; }
  @media (max-width: 380px) {
    header > .max-w-7xl { padding-left: 0.75rem; padding-right: 0.75rem; }
    .city-picker-trigger { gap: 0.25rem; padding: 0.4rem 0.5rem; font-size: 0.68rem; }
    #accountHeaderButton { padding-left: 0.65rem; padding-right: 0.65rem; }
    header button[aria-label="Cambiar entre tema claro y oscuro"] { width: 2.25rem; height: 2.25rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .category-carousel-slide { transition: none !important; }
    .partner-track { animation: none; }
    .map-viewport { transition: none; }
    .map-zoom-layer { transition: none; }
  }

  /* ============ LIVERITO · mascota de Liveri ============ */
  .lvr-wrap { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 0; }
  .lvr-wrap svg { display: block; overflow: visible; }
  @keyframes lvr-balanceo { 0%,100% { transform: rotate(-2.6deg); } 50% { transform: rotate(2.6deg); } }
  @keyframes lvr-hop { 0% { transform: translateY(0); } 35% { transform: translateY(-26px); } 60% { transform: translateY(0); } 78% { transform: translateY(-9px); } 100% { transform: translateY(0); } }
  @keyframes lvr-blink { 0%, 93%, 100% { transform: scaleY(0.02); } 95.5%, 97.5% { transform: scaleY(1); } }
  /* Plano del recinto en tema oscuro: el fondo blanco choca con la página negra */
  html.dark #planoSvg > rect { fill: #24252d; }
  html.dark #planoSvg > image { opacity: .82; mix-blend-mode: multiply; }
  html.dark #mapScroll { background: #14151b; }
.lvr-bounce { animation: lvr-balanceo 3.6s ease-in-out infinite; transform-origin: 50% 96%; }
  .lvr-stage { position: relative; width: 214px; height: 300px; }
  .lvr-pose { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 300px; width: auto; opacity: 0; transition: opacity .35s ease; }
  #lvrPoseSalto { bottom: 20px; }
  [data-expr="feliz"] #lvrPoseAbiertos,
  [data-expr="sorpresa"] #lvrPoseDedo,
  [data-expr="risa"] #lvrPoseSalto,
  [data-expr="guiño"] #lvrPoseDedo { opacity: 1; }
  .lvr-hop { animation: lvr-hop .95s cubic-bezier(.3,1.4,.5,1) 1; }
  .lvr-wrap:hover .lvr-bounce { animation: lvr-balanceo 1.4s ease-in-out infinite; }
  .lvr-expr { opacity: 0; transition: opacity .28s ease; }
  [data-expr="sorpresa"] #lvrExprSorpresa,
  [data-expr="risa"] #lvrExprRisa,
  [data-expr="guiño"] #lvrExprGuino { opacity: 1; }
  @keyframes scrollHintDrop { 0%, 100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(9px); opacity: .45; } }
  .scroll-hint { position: fixed; left: 6px; top: calc(50% - 26px); }
  @media (min-width: 640px) { .scroll-hint { left: 20px; } }
  .scroll-hint { animation: scrollHintDrop 1.5s ease-in-out infinite; transition: opacity .35s ease, transform .35s ease; }
  .scroll-hint.scroll-hint-off { opacity: 0 !important; transform: translateY(-10px); pointer-events: none; }
  .lvr-bubble { position: relative; z-index: 2; max-width: 200px; margin: 0 0 10px; padding: 10px 14px; border-radius: 16px 16px 16px 4px;
    background: #fff; color: #14141b; font-size: .78rem; font-weight: 700; line-height: 1.35; box-shadow: 0 10px 30px -8px rgba(255,0,102,.45); }
  .lvr-bubble::after { content: ''; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); width: 14px; height: 14px; background: #fff; border-radius: 3px; rotate: 45deg; box-shadow: 4px 4px 10px -4px rgba(255,0,102,.35); }
  .lvr-bubble span { display: block; }
  .lvr-name { position: absolute; left: 60%; bottom: 4%; font-size: .6rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #ff0066; }
  @media (max-width: 640px) { .lvr-bubble { max-width: 170px; font-size: .7rem; } }
  /* ============ MÓVIL · menú hamburguesa + barra inferior de app ============ */
  #mobileMenuPanel.is-open { transform: translateX(0) !important; }
  .bb-tab { color: #64748b; }
  .bb-tab.bb-active { color: #ff0066; text-shadow: 0 0 14px rgba(255,0,102,.35); }
  .dark .bb-tab { color: #94a3b8; }
  .dark .bb-tab.bb-active { color: #ff0066; }
  @media (max-width: 1023.98px) {
    body { padding-bottom: 74px; }
    .lvr-float.lvr-float { bottom: 86px; }
    #eventScrollHint { top: calc(50% - 34px); }
  }
  /* flotante */
  .lvr-float { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; align-items: flex-end; transition: opacity .4s ease, transform .4s ease; }
  .lvr-float.lvr-hide { opacity: 0; transform: translateY(24px); pointer-events: none; }
  .lvr-float.lvr-avoid { opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none; }
  .lvr-float-chip { position: absolute; right: calc(100% + 10px); bottom: 8px; white-space: nowrap; opacity: 1; pointer-events: none;
    padding: 7px 13px; border-radius: 999px; background: #fff; color: #14141b;
    font-size: .74rem; font-weight: 800; box-shadow: 0 12px 34px -10px rgba(255,0,102,.5); border: 1px solid rgba(255,0,102,.18); animation: lvr-chipPulse 3.2s ease-in-out infinite; }
  @keyframes lvr-chipPulse { 0%, 100% { box-shadow: 0 12px 34px -10px rgba(255,0,102,.5); } 50% { box-shadow: 0 12px 38px -8px rgba(255,0,102,.78); } }
  .lvr-float:hover .lvr-float-chip { animation-play-state: paused; }
  .lvr-float-chip:hover { transform: translateY(-2px); }
  .lvr-float img { width: 58px; height: auto; display: block; cursor: pointer; filter: drop-shadow(0 10px 18px rgba(255,0,102,.35)); }
  .lvr-float img:hover { transform: translateY(-4px) rotate(-4deg); }
  .lvr-float img { transition: transform .25s ease; }
  @media (max-width: 640px) { .lvr-float { right: 12px; bottom: 12px; } .lvr-float img { width: 48px; } .lvr-float-chip { font-size: .68rem; padding: 6px 12px 6px 6px; } }


/* Zona activa en el plano v3: marco visible alrededor del área seleccionada */
#planoV3Svg path.v3-sec.zona-activa {
  fill-opacity: 0.85;
  /* Sin stroke: los rótulos son huecos del propio path y el borde rosa los
     contorneaba dejando las letras magenta ilegibles. El marco lo pone #zonaMarco. */
}
#planoV3Svg .zona-marco {
  fill: none;
  stroke: #ff0066;
  stroke-width: 5px;
  stroke-dasharray: 16 10;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(255, 0, 102, 0.7));
  animation: zonaPunteo 1.4s linear infinite;
}
@keyframes zonaPunteo {
  to { stroke-dashoffset: -52; }
}

/* Fondo del plano: gris ceniza en vez de blanco (blanco de la imagen × gris = ceniza) */
#planoV3Svg .plano-fondo { fill: #e2e8f0; }
html.dark #planoV3Svg .plano-fondo { fill: #aeb3bd; }
#planoV3Svg .plano-img { mix-blend-mode: multiply; }

/* Evento agotado: rótulo sobre el plano */
#soldOutBadge {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
#soldOutBadge span {
  font-size: clamp(1.8rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #fff;
  background: rgba(9, 9, 14, 0.78);
  border: 4px solid #ff0066;
  border-radius: 26px;
  padding: 0.2em 0.55em;
  transform: rotate(-7deg);
  box-shadow: 0 18px 60px -12px rgba(255, 0, 102, 0.55);
}
