/* Grundlayout aller Anzeigen: transparent, kein Rand, kein Scrollen. */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background-color: rgba(0, 0, 0, 0);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Nur im normalen Browser (nicht in OBS): Schachbrett als Transparenz-Hinweis */
html.vorschau body {
  background-color: #1c1c1e;
  background-image: conic-gradient(#26262a 25%, #1c1c1e 0 50%, #26262a 0 75%, #1c1c1e 0);
  background-size: 32px 32px;
}

[hidden] {
  display: none !important;
}

/* Bühne: nimmt die ganze Fläche ein und positioniert die Anzeige */
.buehne {
  position: fixed;
  inset: 0;
  display: flex;
  padding: var(--rand, 4vw);
  justify-content: center;
  align-items: center;
}

.buehne[data-position^="oben"] { align-items: flex-start; }
.buehne[data-position^="unten"] { align-items: flex-end; }
.buehne[data-position$="links"] { justify-content: flex-start; }
.buehne[data-position$="rechts"] { justify-content: flex-end; }
