/* Build 773: compact statewide jump points for Florida early access. */

html body .our-map-florida-city-jumps {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 1px 0 0;
  padding: 0 2px;
}

html body .our-map-florida-city-jumps-label {
  color: #52716d;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

html body .our-map-florida-city-jumps-list {
  display: flex;
  min-width: 0;
  gap: 6px;
  overflow-x: auto;
  padding: 3px 2px 5px;
  scrollbar-width: none;
  scroll-padding-inline: 2px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

html body .our-map-florida-city-jumps-list::-webkit-scrollbar {
  display: none;
}

html body .our-map-florida-city-jumps-list button {
  flex: 0 0 auto;
  min-height: 34px;
  scroll-snap-align: start;
  padding: 6px 11px;
  border: 1px solid rgba(11, 119, 103, 0.18);
  border-radius: 999px;
  color: #155f57;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 14px rgba(12, 79, 71, 0.07);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

html body .our-map-florida-city-jumps-list button:focus-visible {
  outline: 3px solid rgba(7, 132, 118, 0.34);
  outline-offset: 2px;
}

html body .our-map-florida-city-jumps-list button.is-more {
  border-color: rgba(180, 119, 37, 0.2);
  color: #91601d;
  background: rgba(255, 248, 232, 0.94);
}

html body .our-map-florida-city-jumps-list button.is-active,
html body .our-map-florida-city-jumps-list button[aria-pressed="true"] {
  border-color: rgba(4, 91, 83, 0.66);
  color: #ffffff;
  background: linear-gradient(145deg, #087d72, #18aa93);
  box-shadow: 0 7px 17px rgba(5, 94, 87, 0.2);
}

html body .our-map-result-actions button[data-our-map-result-save] {
  border-color: #087d72;
  color: #ffffff;
  background: linear-gradient(145deg, #087d72, #18aa93);
}

html body .our-map-popup .our-map-save-later-action {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(9, 106, 96, 0.24);
  border-radius: 11px;
  color: #0a6c63;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 900;
  cursor: pointer;
}

html body .search-destination-popup .our-map-request-search-action {
  min-height: 44px !important;
}

html body .our-map-popup .our-map-popup-action-lane.is-private .popup-edit {
  margin-top: 0 !important;
}

html body .our-map-popup .our-map-save-later-action:focus-visible {
  outline: 3px solid rgba(7, 132, 118, 0.34);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  html body .our-map-florida-city-jumps-list button:hover {
    border-color: rgba(8, 118, 102, 0.38);
    color: #087667;
    box-shadow: 0 7px 17px rgba(12, 79, 71, 0.11);
    transform: translateY(-1px);
  }

  html body .our-map-florida-city-jumps-list button.is-active:hover,
  html body .our-map-florida-city-jumps-list button[aria-pressed="true"]:hover {
    border-color: rgba(4, 91, 83, 0.66);
    color: #ffffff;
    background: linear-gradient(145deg, #087d72, #18aa93);
  }
}

@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  html body .our-map-florida-city-jumps {
    grid-template-columns: 1fr;
    gap: 1px;
    margin-top: 0;
    padding-inline: 0;
  }

  html body .our-map-florida-city-jumps-label {
    padding-inline: 2px;
  }

  html body .our-map-florida-city-jumps-list {
    margin-inline: -2px;
    padding-block: 4px 7px;
  }

  html body .our-map-florida-city-jumps-list button {
    min-height: 44px;
    padding-inline: 13px;
    font-size: 0.73rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .our-map-florida-city-jumps-list {
    scroll-behavior: auto;
  }

  html body .our-map-florida-city-jumps-list button {
    transition: none;
  }
}
