/* static/css/map.css */

/* Face pin (existing class in your project) */
.lmFacePin{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.lmFacePin img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Option B cluster pin (face + badge) */
.lmClusterPin{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  padding: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.lmClusterPin img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lmClusterBadge{
  position: absolute;
  right: -4px;
  bottom: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(40,30,20,0.88);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  line-height: 22px;
  border: 2px solid rgba(255,255,255,0.9);
  pointer-events: none;
}

/* Spiderfy primitives */
.lmSpiderDot{
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(40,30,20,0.85);
  z-index: 8;
  pointer-events: none;
}

.lmSpiderLine{
  position: absolute;
  width: 2px;
  transform-origin: 0 0;
  background: rgba(40,30,20,0.35);
  z-index: 7;
  pointer-events: none;
}


/* Map layout: the map engine needs a real box to render into */
.mapStage{
  position: relative;
  width: 100%;
  height: min(72vh, 720px);
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
}

.lmMapCanvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Heads-up overlay */
.mapHud{
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  pointer-events: none;
}

/* Attribution / label */
.mapAttribution{
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 5;
  pointer-events: none;
}
