/* Schwarm: nur was es nirgends sonst auf der Website gibt */
.schwarm-feld {
  position: relative;
  /* --verhaeltnis sagt dem Werkbank-Layout (css/canvas.css), wie breit das Feld neben den Reglern
     werden darf. Ohne diese Zeile gilt dort 1, und das Feld wird höchstens so breit wie der Bildschirm hoch. */
  --verhaeltnis: 16 / 10;
  aspect-ratio: var(--verhaeltnis);
  width: 100%;
  border: 1px solid currentColor;
  touch-action: none;
  cursor: crosshair;
  overflow: hidden;
  background: #111;
}

.schwarm-feld canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.schwarm-feld:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  aspect-ratio: auto;
  border: 0;
  background: #111;
}

.schwarm-feld:fullscreen canvas {
  width: 100%;
  height: 100%;
}

#hintergrundDatei {
  max-width: min(100%, 18rem);
}

#hintergrundMeldung {
  overflow-wrap: anywhere;
}

.schwarm-status {
  font-variant-numeric: tabular-nums;
  opacity: 0.8;
}
