.map-preview {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding-bottom: 34px;
  place-items: end center;
  text-decoration: none;
}

.map-preview:not([hidden]) {
  display: grid;
}

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

.map-preview span {
  position: relative;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--color-royal, #012cf8);
  color: white;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgb(12 18 44 / 22%);
}

.map-preview:hover span {
  background: var(--color-royal-deep, #08165f);
}

.map-preview:focus-visible {
  outline: 3px solid var(--color-royal, #012cf8);
  outline-offset: -5px;
}

.map-preview[aria-busy="true"] {
  cursor: progress;
}

.map-preview-attribution {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2px 8px;
  background: rgb(255 255 255 / 95%);
  color: #3d4656;
  font-size: 10px;
}
