html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #caebd9;
  cursor: default;
}

body.panning  { cursor: grabbing; }
body.zoom-in  { cursor: zoom-in; }
body.zoom-out { cursor: zoom-out; }
body.pin-mode { cursor: crosshair; }

#container {
  width: 100vw;
  height: 100vh;
}

#map {
  width: 100%;
  height: 100%;
}

#map svg {
  width: 100%;
  height: 100%;
  display: block;
}

#pin-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);

  background: rgba(0,0,0,0.75);
  color: white;
  font-family: sans-serif;
  font-size: 14px;

  padding: 8px 14px;
  border-radius: 6px;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.35s ease;
}

#pin-notification.show {
  opacity: 1;
}

#coord-label {
  position: fixed;
  display: none;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  font-family: monospace;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  z-index: 1000;
}

.pin-label {
  font-size: 10px;
  text-anchor: end;
  fill: var(--label-color);
  paint-order: stroke;
  stroke: white;
  stroke-width: 3;
  stroke-linejoin: round;

  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.show-labels .pin-label {
  opacity: 1;
  transform: translateY(0);
}

.pin-label:hover {
  fill: #2e8cff;
}