/* Tikit · Mapas: estilo común de los mapas reales (Leaflet). Grafito y de marca, controles en vidrio, pines con logo. 29-09-2026. */
.leaflet-container { font: inherit; background: var(--surface); }
.tk-py-line { filter: drop-shadow(0 0 4px color-mix(in srgb,var(--brand-ink) 55%,transparent)); }

/* Controles en vidrio grafito, 44 px */
body .leaflet-container .leaflet-control-zoom { border: 1px solid color-mix(in srgb,var(--brand-ink) 22%,transparent); border-radius: 14px; overflow: hidden; margin: 10px 10px 0 0;
  background: color-mix(in srgb,var(--bg) 72%,transparent); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 8px 24px rgba(0,0,0,.45); }
body .leaflet-container .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; font-size: 20px; background: transparent; color: var(--ink); border-bottom: 1px solid color-mix(in srgb,var(--ink) 8%,transparent); }
body .leaflet-container .leaflet-control-zoom a:last-child { border-bottom: 0; }
body .leaflet-container .leaflet-control-zoom a:hover { background: color-mix(in srgb,var(--brand-ink) 14%,transparent); color: var(--brand-ink); }
body .leaflet-container .leaflet-control-zoom a:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: -3px; }
body .leaflet-container .leaflet-control-zoom a.leaflet-disabled { color: rgba(233,230,245,.35); background: transparent; }
body .leaflet-container .leaflet-control-attribution { background: color-mix(in srgb,var(--bg) 72%,transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: rgba(233,230,245,.72); font-size: 10px; padding: 2px 8px; border-top-left-radius: 10px; }
body .leaflet-container .leaflet-control-attribution a { color: var(--brand-ink); }

/* Pin con logo: gota grafito con borde de marca y sombra */
.tk-mk { background: none; border: 0; }
.tk-mk-in { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg);
  background: var(--surface); border: 2px solid color-mix(in srgb,var(--brand-ink) 55%,transparent); box-shadow: 0 10px 18px rgba(0,0,0,.55); transition: transform .2s ease, border-color .2s ease; }
.tk-mk-in > * { transform: rotate(45deg); width: 32px !important; height: 32px !important; border-radius: 50%; overflow: hidden; }
.tk-mk.is-on .tk-mk-in { border-color: var(--brand-ink); box-shadow: 0 0 0 5px color-mix(in srgb,var(--brand-ink) 28%,transparent), 0 12px 22px rgba(0,0,0,.6); transform: rotate(-45deg) scale(1.12); }
.tk-mk.is-on { z-index: 1000 !important; }
.tk-mk-dot { background: none; border: 0; display: grid; place-items: center; }
.tk-mk-dot span { width: 20px; height: 20px; border-radius: 50%; background: var(--brand); border: 3px solid var(--surface); box-shadow: 0 0 0 2px color-mix(in srgb,var(--brand-ink) 45%,transparent), 0 6px 12px rgba(0,0,0,.5); }
.tk-mk-dot.is-on span { background: #fff; box-shadow: 0 0 0 6px color-mix(in srgb,var(--brand-ink) 35%,transparent); }

/* Yo: punto de marca pulsante */
.tk-me { background: none; border: 0; }
.tk-me span { position: relative; display: block; width: 18px; height: 18px; margin: 3px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.tk-me span::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid color-mix(in srgb,var(--brand-ink) 60%,transparent); animation: tk-me-pulso 2s ease-out infinite; }
@keyframes tk-me-pulso { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Grupo de pines: vidrio grafito con número de marca */
.tk-grp { background: none; border: 0; display: grid; place-items: center; }
.tk-grp span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb,var(--bg) 82%,transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1.5px solid color-mix(in srgb,var(--brand-ink) 60%,transparent); color: var(--brand-ink); font-weight: 700; font-size: 14px; box-shadow: 0 8px 18px rgba(0,0,0,.5); }

/* Tarjeta del lugar: vidrio sobrio */
.tk-pop .leaflet-popup-content-wrapper { background: color-mix(in srgb,var(--bg) 90%,transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink);
  border: 1px solid color-mix(in srgb,var(--ink) 10%,transparent); border-radius: 14px; box-shadow: 0 12px 28px rgba(0,0,0,.5); }
.tk-pop .leaflet-popup-tip { background: color-mix(in srgb,var(--bg) 92%,transparent); box-shadow: none; }
.tk-pop .leaflet-popup-content { margin: 10px 14px 4px; display: grid; min-width: 180px; font-size: 14px; line-height: 1.35; }
.tk-pop .leaflet-popup-content b { font-weight: 600; }
.tk-pop .leaflet-popup-content small { color: rgba(233,230,245,.7); font-size: 12.5px; margin: 2px 0 6px; }
.tk-pop .leaflet-popup-content a { display: flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 500; border-top: 1px solid color-mix(in srgb,var(--ink) 8%,transparent); text-decoration: none; }
.tk-pop .leaflet-popup-content a:last-child { color: var(--brand-ink); }

/* Celular: +/− con toque de 44 px pero visual compacto; en táctil se oculta (se acerca con dos dedos) */
@media (max-width: 480px) {
  body .leaflet-container .leaflet-control-zoom { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; margin: 4px 4px 0 0; }
  body .leaflet-container .leaflet-control-zoom a { font-size: 16px; border: 0; background: radial-gradient(circle, color-mix(in srgb,var(--bg) 82%,transparent) 14px, color-mix(in srgb,var(--brand-ink) 30%,transparent) 14.5px, transparent 15.5px); }
}
@media (pointer: coarse) { body .leaflet-container .leaflet-control-zoom { display: none; } }

@media (prefers-reduced-motion: reduce) { .tk-me span::after { animation: none; opacity: .5; } .tk-mk-in { transition: none; } }
/* Pin de lugar que reúne negocios (lugares-data.js, 29-09-2026): cuadrado grafito con muescas de ticket, ícono y conteo */
.tk-lug { background: none; border: 0; }
.tk-lug-in { position: relative; display: grid; place-items: center; width: 44px; height: 40px; border-radius: 10px; background: var(--surface); border: 2px solid var(--brand-ink); color: var(--ink); box-shadow: 0 6px 16px rgba(0,0,0,.45);
  -webkit-mask: radial-gradient(circle 5px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 5px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; }
.tk-lug-in .bi { font-size: 16px; line-height: 1; margin-top: -6px; }
.tk-lug-in b { position: absolute; bottom: 3px; font-size: 10.5px; font-weight: 700; color: var(--brand-ink); line-height: 1; }
.tk-lug.is-on .tk-lug-in { background: var(--brand); color: var(--surface); } .tk-lug.is-on .tk-lug-in b { color: var(--surface); }
.tk-lug-logos { display: flex; gap: 4px; margin: 0 0 6px; }
.tk-lug-logos > * { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex: none; }
/* Crítica 7 · tanda C: conteo del pin de lugar a 12 px */
.tk-lug-in b { font-size: 12px; bottom: 2px; }
/* Zonas del plano sin puestos: contorno punteado y rótulo tenue, sin texto extra */
.lug-plano rect.is-vacia { fill: transparent; stroke: color-mix(in srgb,var(--ink) 14%,transparent); stroke-dasharray: 3 3; }
.lug-sec-t.is-vacia { opacity: .6; }
