/* Immediate Center on Me feedback, without interrupting the map journey. */
html body .app-shell .map-stage.map-focus #locateButton.is-centering {
  color: #ffffff !important;
  background: linear-gradient(145deg, #178fc4, #087b9f 52%, #087f71) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 3px rgba(53, 184, 226, 0.18),
    0 8px 18px rgba(5, 70, 91, 0.24) !important;
  transform: scale(0.96) !important;
}

html body .app-shell .map-stage.map-focus #locateButton.is-centering [data-icon],
html body .app-shell .map-stage.map-focus #locateButton.is-centering svg {
  color: #ffffff !important;
  animation: centerOnMeConfirm 620ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

html body .app-shell .map-stage.map-focus.center-on-me-active .user-location-dot-core {
  animation: currentLocationConfirm 720ms cubic-bezier(0.2, 0.75, 0.25, 1) both !important;
}

@keyframes centerOnMeConfirm {
  0% { transform: scale(0.78); opacity: 0.7; }
  55% { transform: scale(1.16); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes currentLocationConfirm {
  0% { transform: translate(-50%, -50%) scale(0.86); }
  50% { transform: translate(-50%, -50%) scale(1.12); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html body .app-shell .map-stage.map-focus #locateButton.is-centering [data-icon],
  html body .app-shell .map-stage.map-focus #locateButton.is-centering svg,
  html body .app-shell .map-stage.map-focus.center-on-me-active .user-location-dot-core {
    animation: none !important;
  }
}
