:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body,
.map {
  width: 100%;
  height: 100%;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
}

.map {
  position: relative;
  background: #e8e5dc;
}

.map__tiles {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-columns: repeat(4, 256px);
  width: 1024px;
  height: 1024px;
  transform: translate(-505.63px, -477.386px);
}

.map__tiles img {
  display: block;
  width: 256px;
  height: 256px;
}

.map__marker {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 4px 8px rgb(0 0 0 / 0.25));
  transform: translate(-50%, -46px);
}

.map__pin {
  width: 34px;
  height: 34px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #1a1a1a;
  transform: rotate(-45deg);
}

.map__pin::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8e0a6;
  transform: translate(-50%, -50%);
}

.map__label {
  margin-top: 10px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.map__attribution {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.25rem 0.4rem;
  background: rgb(255 255 255 / 0.9);
  color: #4c4c4c;
  font-size: 0.625rem;
  line-height: 1.2;
}

.map__attribution a {
  color: inherit;
}
