/* KI-Bild kennzeichnen – nur für ki-kennzeichnen.html */
.unsichtbar { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.ablage {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 220px; padding: 28px 18px; margin: 18px 0 8px; border: 3px dashed var(--blau); border-radius: var(--radius);
  background: var(--flaeche); color: var(--text); cursor: pointer; box-shadow: var(--schatten);
}
.ablage strong { font-size: 1.25rem; }
.ablage .ic.st { width: 4.2rem; height: 4.2rem; }
.ablage:hover, .ablage.drueber { background: var(--blau-hell); }
.ablage:focus-within { outline: 3px solid var(--rot); outline-offset: 2px; }

.editor { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); gap: 24px; align-items: start; margin: 18px 0 8px; }
@media (max-width: 820px) { .editor { grid-template-columns: 1fr; } }
.vorschau-flaeche { position: sticky; top: 84px; }
@media (max-width: 820px) { .vorschau-flaeche { position: static; } }
#leinwand {
  /* hohe Fotos nicht höher als 70 % des Bildschirms: --sv (Breite/Höhe) setzt kennzeichnen.js */
  display: block; width: 100%; height: auto; max-width: calc(70vh * var(--sv, 1)); margin: 0 auto; border-radius: 12px;
  background: repeating-conic-gradient(var(--bild-leer) 0 25%, var(--flaeche) 0 50%) 0 0 / 24px 24px;
  border: 1px solid var(--linie); touch-action: none; cursor: grab;
}
#leinwand.ziehen { cursor: grabbing; }
.hinweis-schieben { margin: 8px 0 0; }

.regler { display: grid; gap: 14px; }
.regler fieldset { border: 1px solid var(--linie); border-radius: var(--radius); background: var(--flaeche); padding: 12px 16px 16px; margin: 0; box-shadow: var(--schatten); }
.regler legend { font-weight: 800; padding: 0 6px; }
.wahlreihe { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl {
  flex: 1 1 auto; min-height: 50px; padding: 8px 14px; border-radius: 12px; border: 2px solid var(--linie);
  background: var(--flaeche); color: var(--text); font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer;
}
.wahl:hover { border-color: var(--blau); }
.wahl[aria-pressed="true"] { background: var(--blau); border-color: var(--blau); color: var(--auf-blau); }
.stile .wahl { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1 1 0; }
.probe { display: inline-block; border-radius: 999px; padding: 3px 12px; font-size: .8rem; font-weight: 800; color: #fff; }
.probe-buch { background: #0b6dbd; box-shadow: inset 0 0 0 2px #fff; }
.probe-buch::first-letter { color: #fde020; }
.probe-neutral { background: rgba(17, 17, 17, .78); }
.probe-signal { background: #c7360f; }
.ecken { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.schieber { margin-top: 10px; }
.schieber input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--blau); padding: 0; border: 0; background: transparent; }
.schieber label { display: flex; justify-content: space-between; }
.schieber output { font-weight: 600; color: var(--leise); }
.schieber-zeile { display: flex; gap: 10px; align-items: center; }
.schieber-zeile .knopf { min-height: 44px; padding: 6px 14px; flex: 0 0 auto; }
.speichern { display: grid; gap: 10px; }
