/* Exact Reduced Homes pin motion/styling; labels/data are supplied separately. */
.map-pin {
  width: 116px;
  height: 83px;
  padding: 0;
  background: none;
  border: 0;
  overflow: visible;
  z-index: 3;
}
.pin-flight {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  flex-direction: column;
  transform-origin: center bottom;
  animation: pin-land 0.82s cubic-bezier(0.22, 0.75, 0.3, 1.01) both;
  animation-delay: var(--pin-delay);
}
.reduction-bubble {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  color: #f5e9d6;
  background: linear-gradient(150deg, #334451, #162630);
  border: 1px solid #bda07891;
  border-top-color: #dec4a6ba;
  box-shadow:
    0 7px 17px #0005,
    inset 0 1px 0 #ffffff12;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
  animation: bubble-pop 0.6s var(--ease) both;
  animation-delay: calc(var(--pin-delay) + 370ms);
}
.reduction-house {
  color: var(--bronze);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.pin-stem {
  width: 1px;
  flex: 1;
  background: linear-gradient(#c7a982b3, #c7a98246);
}
.pin-point {
  height: 9px;
  width: 9px;
  flex-shrink: 0;
  border: 2px solid #dac09a;
  border-radius: 50%;
  background: #53616b;
  box-shadow:
    0 1px 0 #06101b,
    0 0 0 4px #c7a98214;
}
.pin-ripple {
  position: absolute;
  bottom: -8px;
  left: calc(50% - 13px);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #cfb08a;
  transform: rotateX(48deg);
  animation: pin-ripple 0.9s ease-out both;
  animation-delay: calc(var(--pin-delay) + 440ms);
  pointer-events: none;
}
.map-pin:hover,
.map-pin:focus-visible,
.map-pin.is-selected {
  z-index: 10 !important;
}
.map-pin:hover .reduction-bubble,
.map-pin:focus-visible .reduction-bubble,
.map-pin.is-selected .reduction-bubble {
  background: linear-gradient(140deg, #d1b792, #b39269);
  color: #11212d;
  border-color: #ead8bb;
  box-shadow: 0 0 30px #c7a98233;
}
.map-pin:hover .reduction-house,
.map-pin:focus-visible .reduction-house,
.map-pin.is-selected .reduction-house {
  color: #283640;
}
.map-pin.pin-compact:not(:hover):not(:focus-visible):not(.is-selected) .reduction-bubble {
  visibility: hidden;
}
.map-pin.pin-compact:not(:hover):not(:focus-visible):not(.is-selected) .pin-stem {
  opacity: 0;
}
.map-pin.pin-compact:not(:hover):not(:focus-visible):not(.is-selected) {
  pointer-events: none;
}
.map-pin.pin-compact .pin-point {
  pointer-events: auto;
}
.map-pin:focus-visible {
  outline-offset: 5px;
  border-radius: 10px;
}
@keyframes pin-land {
  0% {
    opacity: 0;
    transform: translate(38px, -130px) scale(0.65) rotate(8deg);
  }
  48% {
    opacity: 1;
    transform: translate(0, 0) scale(1.04, 0.88) rotate(0);
  }
  67% {
    transform: translate(0, -10px) scale(0.97, 1.03);
  }
  82% {
    transform: translate(0, 1px) scale(1.01, 0.98);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}
@keyframes bubble-pop {
  0% {
    opacity: 0;
    transform: scale(0.55) translateY(8px);
  }
  65% {
    opacity: 1;
    transform: scale(1.035) translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes pin-ripple {
  0% {
    opacity: 0.6;
    transform: rotateX(48deg) scale(0.3);
  }
  100% {
    opacity: 0;
    transform: rotateX(48deg) scale(2);
  }
}
.pin-animated .reduction-bubble {
  animation:
    bubble-pop 0.6s var(--ease) both,
    bubble-hover 6s ease-in-out 6;
  animation-delay: calc(var(--pin-delay) + 370ms), calc(var(--pin-delay) + 1s);
}
.pin-static .pin-flight,
.pin-static .reduction-bubble,
.pin-static .pin-ripple {
  animation: none;
}
.pin-static .pin-ripple {
  display: none;
}
@keyframes bubble-hover {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.5px);
  }
}