.leaflet-div-icon.compact-map-marker {
  border: 0;
  background: transparent;
}

.compact-map-place {
  position: relative;
  width: 100%;
  height: 100%;
}

.compact-map-badge {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.compact-map-caption {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  width: max-content;
  max-width: min(120px, 25vw);
  translate: -50%;
  color: #24282f;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 2px white, 1px 0 2px white, 0 -1px 2px white, -1px 0 2px white;
  pointer-events: none;
}

.compact-map-caption small {
  display: block;
  font-size: 11px;
  font-weight: 550;
}

.compact-map-marker:focus-visible {
  border-radius: 50%;
  outline: 2px solid #9e3400;
  outline-offset: 2px;
}
