html,
body {
  height: 100%;
  margin: 0;
}
#app {
  position: relative;
  height: 100%;
  width: 100%;
  background: #f4f4f5;
}
#map {
  position: absolute;
  inset: 0;
}

.slider-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  z-index: 10;
}
.slider {
  width: 100vw;
  max-width: 100vw;
}

.divider {
  position: absolute;
  top: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

/* .legend {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  gap: 6px;
  z-index: 11;
  font: 14px/1.3 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
} */
.badge {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0px;
}

#leftLabel {
  font-weight: 600;
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 9;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 8px;
  border-radius: 8px;
  font: 15px/1.4 system-ui, sans-serif;
}
#rightLabel {
  font-weight: 600;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 9;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 8px;
  border-radius: 8px;
  font: 15px/1.4 system-ui, sans-serif;
}
.attribution {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 9;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 8px;
  border-radius: 8px;
  font: 12px/1.4 system-ui, sans-serif;
}
.attribution a {
  color: #0b7285;
  text-decoration: none;
}
.attribution a:hover {
  text-decoration: underline;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(0, 0, 0, 0);
  border-radius: 999px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
