/* Mapa del recinto (panel y página pública) */
.vm-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; background: #fff; padding: 10px; }
.venue-map { display: block; width: 100%; min-width: 680px; height: auto; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.venue-map.vertical { min-width: 0; } /* teléfono: mapa girado, cabe a lo ancho sin desplazarse */
.venue-map text { text-anchor: middle; pointer-events: none; }
.vm-t { fill: #fff; font-size: 30px; font-weight: 800; letter-spacing: .5px; }
.vm-tv { font-size: 25px; letter-spacing: 0; } /* graderías verticales (03 y 04), más angostas */
.vm-big { fill: #fff; font-size: 84px; font-weight: 800; }
.vm-s { fill: #ffffffcc; font-size: 22px; font-weight: 700; }
.vm-x { fill: #fff; font-size: 20px; font-weight: 700; }
.vm-arrow { fill: #fff; font-size: 44px; font-weight: 700; }
.vm-stage { fill: #fff; font-size: 30px; font-weight: 800; }
.vm-n { fill: #fff; font-size: 24px; font-weight: 800; paint-order: stroke; stroke: rgba(0, 0, 0, .25); stroke-width: 3px; }
.vm-area.out rect { opacity: .35; }
.vm-palco.full > rect, .vm-palco.full .vm-chairs { opacity: .3; }
.vm-palco.full .vm-n { fill: #555; stroke: none; }
.vm-cross { stroke: #222; stroke-width: 5; stroke-linecap: round; }
.vm-badge circle { fill: #111; stroke: #fff; stroke-width: 3; }
.vm-badge text { fill: #fff; font-size: 17px; font-weight: 800; }
/* palco compartido (puestos sueltos): más claro, borde blanco punteado y distintivo de persona con un pulso en la esquina */
.vm-palco.shared > rect, .vm-palco.shared .vm-chairs { filter: brightness(1.22); }
.vm-palco.shared > rect { stroke: #fff; stroke-width: 4; stroke-dasharray: 9 6; }
.vm-shared .bg { fill: #fff; stroke: #111; stroke-width: 3; }
.vm-shared .i { fill: #111; }
.vm-shared .ring { fill: none; stroke: #fff; stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: vm-ring 2.2s ease-out infinite; }
@keyframes vm-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vm-shared .ring { animation: none; display: none; } }
.venue-map.interactive .vm-palco:not(.full):not(.na), .venue-map.interactive .vm-area:not(.out) { cursor: pointer; }
.venue-map.interactive .vm-palco:not(.full):hover > rect, .venue-map.interactive .vm-palco:focus-visible > rect { stroke: #111; stroke-width: 4; }
.venue-map.interactive .vm-area:not(.out):hover rect, .venue-map.interactive .vm-area:focus-visible rect { filter: brightness(1.2); }
.vm-palco.sel > rect { stroke: #111; stroke-width: 7; stroke-dasharray: none; }
.vm-chair { transition: fill .25s, opacity .25s; transform-box: fill-box; transform-origin: center; }
.vm-chair.sold { fill: #1c1c1c; }
.vm-palco.sel .vm-chair:not(.sold):not(.pick) { opacity: .4; }
.vm-chair.pick { fill: #fff; stroke: #111; stroke-width: 2.5px; animation: vm-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes vm-pop { 0% { transform: scale(.2); opacity: .2; } 60% { transform: scale(1.3); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .vm-chair.pick { animation: none; } }
.vm-area.sel rect { stroke: #111; stroke-width: 8; filter: brightness(1.25); }
.venue-map :focus { outline: none; }
.vm-legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .82rem; }
.vm-legend li { display: flex; align-items: center; gap: 7px; }
.vm-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.vm-legend .lg-part { background: #111; border: 2px solid #fff; border-radius: 50%; }
.vm-legend .lg-full { background: #bbb; opacity: .6; background-image: linear-gradient(135deg, transparent 45%, #222 45%, #222 55%, transparent 55%); }
.vm-legend .lg-sel { background: transparent; border: 3px solid #fff; }
.vm-legend .lg-shared { display: inline-flex; width: 18px; height: 18px; }
.vm-legend .lg-shared svg { width: 18px; height: 18px; }
.lg-shared .ring, .zd-hint .ring, .pr-ico .ring { display: none; }
.vm-legend .lg-shared-li { flex-basis: 100%; display: block; }
.vm-legend .lg-shared-li .lg-shared { vertical-align: -4px; margin-right: 7px; }

/* etiqueta flotante del mapa */
.vm-tip {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; min-width: 180px; max-width: 260px;
  background: #0b0b0b; color: #fff; border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 10px 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5); font-size: .82rem; line-height: 1.35;
}
.vm-tip b { display: block; font-size: .95rem; }
.vm-tip .p { display: block; font-size: 1.1rem; font-weight: 800; margin-top: 4px; }
.vm-tip .m { color: #aaa; }
.vm-tip .k { display: block; margin-top: 6px; color: #fff; opacity: .7; font-size: .74rem; }
