.map-lazy-container {
  position: relative;
  background: #e7f0f3;
}

.map-preview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(132deg, transparent 0 39%, rgba(255,255,255,.6) 39.2% 40%, transparent 40.2% 100%),
    linear-gradient(28deg, transparent 0 59%, rgba(255,255,255,.52) 59.2% 60%, transparent 60.2% 100%),
    repeating-linear-gradient(167deg, transparent 0 37px, rgba(255,255,255,.42) 38px 40px, transparent 41px 74px),
    #dcebed;
}

.map-preview::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 28%;
  height: 145%;
  left: 48%;
  top: -22%;
  border-radius: 48%;
  transform: rotate(18deg);
  background: rgba(168, 211, 220, .62);
  box-shadow: 0 0 0 12px rgba(198, 225, 229, .48);
}

.map-preview::after {
  content: "";
  position: absolute;
  inset: 12% 8%;
  z-index: -1;
  border: 1px solid rgba(111, 157, 166, .2);
  border-radius: 48% 38% 52% 42%;
  transform: rotate(-8deg);
}

.map-preview-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-preview-neighborhood-labels {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.map-preview-neighborhood-label {
  position: absolute;
  transform: translate(-50%, -100%);
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 4px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .7), 0 1px 4px rgba(15, 23, 42, .2);
  color: #334155;
  font: 700 11px/1.2 system-ui, sans-serif;
  letter-spacing: .02em;
  text-align: center;
  white-space: nowrap;
}

.map-preview-content {
  position: relative;
  z-index: 2;
  width: min(88%, 360px);
  padding: 1.25rem 1.35rem;
  text-align: center;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(196,112,106,.24);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(30, 67, 77, .12);
}

.map-preview-area {
  display: block;
  margin-bottom: .25rem;
  color: #355b78;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.map-preview-content strong {
  display: block;
  color: #1a1a2e;
  font-size: 1rem;
}

.map-preview-content p {
  margin: .35rem 0 .85rem;
  color: #6b7280;
  font-size: .8125rem;
  line-height: 1.4;
}

.map-preview-markers {
  display: flex;
  justify-content: center;
  gap: .35rem;
  margin-bottom: .9rem;
}

.map-preview-pin {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #C4706A;
  box-shadow: 0 1px 4px rgba(0,0,0,.22);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
}

.map-preview-action {
  border: 0;
  border-radius: 7px;
  padding: .65rem 1rem;
  background: #C4706A;
  color: #fff;
  font: inherit;
  font-size: .8125rem;
  font-weight: 700;
  cursor: pointer;
}

.map-preview-action:hover,
.map-preview-action:focus-visible {
  background: #a85852;
}

.map-preview-action:disabled {
  cursor: wait;
  opacity: .72;
}

.map-lazy-error {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: #6b7280;
  font: 14px system-ui, sans-serif;
  text-align: center;
}

.map-neighborhood-label-icon {
  width: 0 !important;
  height: 0 !important;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.map-neighborhood-label-text {
  position: absolute;
  left: 0;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .16);
  color: #334155;
  font: 700 11px/1.2 system-ui, sans-serif;
  white-space: nowrap;
}