/* Stil der Relais-Karte (karte.php). */

html, body { margin: 0; height: 100%; background: var(--color-bg); }

#map { position: absolute; inset: 0; }

svg { display: block; width: 100%; height: 100%; cursor: grab; }
svg:active { cursor: grabbing; }

.cty {
  fill: var(--color-neutral-200);
  stroke: var(--color-neutral-400);
  vector-effect: non-scaling-stroke;
  stroke-width: .6;
}
.de {
  fill: var(--color-bg);
  stroke: var(--color-neutral-600);
  vector-effect: non-scaling-stroke;
  stroke-width: 1;
}

.dot {
  fill: var(--color-bg);
  stroke: var(--color-accent-700);
  vector-effect: non-scaling-stroke;
  stroke-width: 2;
}
/* Ausser Betrieb: gedaempft, aber sichtbar. */
.dot--off { stroke: var(--color-neutral-500); stroke-dasharray: 3 2; }

.lbl    { font-family: var(--font-body); fill: var(--color-neutral-700); }
.lbl-ch {
  font-family: var(--font-heading);
  fill: var(--color-accent-700);
  font-feature-settings: 'tnum';
}
.lbl-ch--off { fill: var(--color-neutral-500); }

.credit { font-family: var(--font-body); font-size: 9.5px; fill: var(--color-neutral-500); }

.zoom {
  position: absolute;
  right: 14px; top: 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.zoom button {
  width: 32px; height: 32px;
  font-family: var(--font-heading); font-size: 18px; line-height: 1;
  color: var(--color-accent-700);
  background: var(--color-bg);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.zoom button:hover  { background: var(--color-accent-100); }
.zoom button:active { border-color: var(--color-accent-600); color: var(--color-accent-600); }
.zoom button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.zoom .rst { font-size: 10px; letter-spacing: .08em; }

.noscript {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 24px;
  font-family: var(--font-body); font-size: 14px;
  color: var(--color-neutral-700); text-align: center;
}
