/* Eigene Schrift: Dateien nach fonts/ legen (z. B. tc-serif.woff2),
   dann greifen diese Deklarationen automatisch. Ohne Dateien fällt die
   Seite auf klassische Serifenschriften des Geräts zurück. */
@font-face {
  font-family: "TC Serif";
  src: url("fonts/tc-serif.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TC Serif";
  src: url("fonts/tc-serif-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* Reduziertes Schwarz-Weiß-Erscheinungsbild: Hell ist reines Weiß mit
   schwarzer Schrift, Dunkel ist reines Schwarz mit weißer Schrift.
   Statusfarben (grün/orange/rot) bleiben als einzige Farbakzente. */
:root {
  color-scheme: light;
  --serif: "TC Serif", "Didot", "Bodoni MT", "Playfair Display",
           "Cormorant Garamond", "Baskerville", "Times New Roman",
           Georgia, "Noto Serif", serif;
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --card-2: #fafafa;
  --ink: #000000;
  --muted: #4b4b4b;
  --line: #e2e2e2;
  --line-strong: #bdbdbd;
  --accent: #000000;
  --accent-2: #1a1a1a;
  --accent-soft: #f2f2f2;
  --accent-ink: #000000;
  --link: #1d4ed8;
  --ok: #047857;   --ok-bg: #ecfdf5;
  --warn: #b45309; --warn-bg: #fffbeb;
  --bad: #b91c1c;  --bad-bg: #fef2f2;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .05);
  --shadow-2: 0 4px 10px rgba(0, 0, 0, .06), 0 16px 40px rgba(0, 0, 0, .10);
  --ring: 0 0 0 3px rgba(0, 0, 0, .22);
  --radius: 16px;
  --radius-s: 12px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-soft: #000000;
  --card: #000000;
  --card-2: #0d0d0d;
  --ink: #ffffff;
  --muted: #ffffff;
  --line: #2b2b2b;
  --line-strong: #4d4d4d;
  --accent: #ffffff;
  --accent-2: #e6e6e6;
  --accent-soft: #141414;
  --accent-ink: #ffffff;
  --link: #60a5fa;
  --ok: #34d399;   --ok-bg: #0c2b22;
  --warn: #fbbf24; --warn-bg: #2e2410;
  --bad: #f87171;  --bad-bg: #331416;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .5), 0 6px 20px rgba(0, 0, 0, .4);
  --shadow-2: 0 8px 16px rgba(0, 0, 0, .55), 0 24px 60px rgba(0, 0, 0, .55);
  --ring: 0 0 0 3px rgba(255, 255, 255, .32);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--serif);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

.wrap { max-width: 980px; margin: 0 auto; padding: 22px; }
.wrap.narrow { max-width: 560px; }

.hero h1 { margin: 0 0 6px; font-size: 26px; font-weight: 700; }
.hero p { margin: 0 0 16px; color: var(--muted); }
.hero.center, .center { text-align: center; }

h2 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }

.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }

.tabBtn {
  flex: 1 1 auto;
  min-width: 110px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.tabBtn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }

.input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 16px;
  font-family: inherit;
}

.input:focus { outline: none; border-color: var(--accent); }
.input.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }

.sp { height: 12px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

.btnRow { margin-top: 12px; display: grid; gap: 10px; }
.btnRow.inline { grid-auto-flow: column; grid-auto-columns: max-content; justify-content: start; }
@media (max-width: 640px) {
  .btnRow.inline { grid-auto-flow: row; grid-auto-columns: auto; }
}

.btn {
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn:hover { border-color: #9ca3af; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn.primary:hover { background: var(--accent-2); }
.btn.small { padding: 7px 12px; font-size: 13px; }

.muted { color: var(--muted); font-size: 13px; margin-top: 8px; }
.small { font-size: 12px; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; }

.error { color: var(--bad); font-weight: 600; min-height: 18px; margin-top: 10px; font-size: 14px; }

.list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-wrap: wrap;
}

.rowTitle { font-weight: 600; font-size: 15px; }
.rowRight { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--card-2);
  color: var(--muted);
}

.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }

.countdown { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }

.video { width: 100%; max-height: 46vh; background: #f3f4f6; border-radius: 12px; object-fit: contain; }
/* QR-Scanner-Vorschau: FESTE Höhe in echten Pixeln. Gleiche Wurzel wie
   beim Video-Streifen (Fixrunde 17): alte WebViews leiten die Höhe eines
   Videos aus Metadaten ab, die ein Kamera-Stream nie liefert — Ergebnis
   war ein ~5 mm hoher Balken ohne Bild. Das max-height der .video-Klasse
   wird bewusst aufgehoben (vh ist auf diesen WebViews unzuverlässig). */
#qrVideo {
  height: 340px;
  min-height: 240px;
  max-height: none;
  object-fit: cover;
  background: #000;
  display: block;
}
/* Ansichtsfeld im Modal: FESTE Höhe statt nur Ober-/Untergrenzen. Alte
   WebViews berechnen die Höhe eines Videos sonst aus Metadaten, die beim
   Öffnen noch fehlen — das Ergebnis war der schmale Streifen. 58vh füllt
   den Bildschirm sichtbar, object-fit: contain hält das Seitenverhältnis;
   Hoch- wie Querformat bekommen dieselbe große Bühne. */
.viewer { width: 100%; height: 58vh; max-height: 70vh; min-height: 260px; object-fit: contain; border-radius: 12px; display: block; }
.viewer.dark { background: #000; }

textarea.input { resize: vertical; }

.modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.modalInner {
  background: var(--card);
  border-radius: 14px;
  padding: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

[hidden] { display: none !important; }

/* ===== Kamera ===== */

.camStage { position: relative; }

.warnBox {
  background: var(--warn-bg);
  border: 1px solid var(--warn);
  color: var(--warn);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.recDot {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,.65);
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}

.recDot .blink {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1.1s infinite;
}

.recDot em { font-style: normal; font-variant-numeric: tabular-nums; }

@keyframes pulse { 50% { opacity: .25; } }

.zoomRow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.zoomRow .label { margin: 0; white-space: nowrap; }
.zoomRow input[type=range] { flex: 1; }

.splitRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  gap: 12px;
}

/* ===== Chatfenster ===== */

.chatStream {
  /* Mindesthöhe: in der App-Webansicht kollabierte das Fenster sonst
     auf wenige Millimeter, wenn die Umgebung die Höhe falsch meldete. */
  min-height: 240px;
  max-height: 46vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 2px;
  margin-bottom: 14px;
}

.msg {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--card);
}

/* Prüfergebnis (Baken-Code, NFC; Rubbel-Muster nur noch für alten
   WORM-Bestand): die Systemmeldung selbst wird grün bzw. rot markiert —
   auf einen Blick erkennbar, ob verifiziert oder falsch. */
.msg.sysOk {
  border-left: 5px solid #2e7d32;
  background: rgba(46, 125, 50, 0.08);
}
.msg.sysOk .msgBody { color: #2e7d32; }
.msg.sysBad {
  border-left: 5px solid #c62828;
  background: rgba(198, 40, 40, 0.08);
}
.msg.sysBad .msgBody { color: #c62828; }
/* Dunkelmodus: hellere Töne, damit die Meldung auf dunklem Grund klar
   lesbar bleibt (55. Nachtrag, Kontrastregel). */
[data-theme="dark"] .msg.sysOk { border-left-color: var(--ok); }
[data-theme="dark"] .msg.sysOk .msgBody { color: var(--ok); }
[data-theme="dark"] .msg.sysBad { border-left-color: var(--bad); }
[data-theme="dark"] .msg.sysBad .msgBody { color: var(--bad); }

.msg.asset { background: #f9fafb; }

.msgHead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.msgAuthor { font-weight: 600; font-size: 14px; }
.msgTime { font-size: 12px; color: var(--muted); }
.msgBody { white-space: pre-wrap; word-break: break-word; font-size: 15px; }
.assetBody .btnRow { margin-top: 8px; }

.composer { border-top: 1px solid var(--line); padding-top: 12px; }
.composer textarea { resize: vertical; font-size: 15px; }

/* ===== Protokoll ===== */

.logStream {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 180px;
  max-height: 46vh;
  overflow-y: auto;
}

.logRow {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.logTime { color: var(--muted); font-size: 12px; white-space: nowrap; }

/* ===== Info-Dialog ===== */

.modalInner.wide { max-width: 960px; max-height: 88vh; overflow-y: auto; }

.modalHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.modalHead h2 { margin: 0; }

.metaRow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.metaKey { color: var(--muted); flex: 0 0 46%; }
.metaVal { text-align: right; word-break: break-word; }
.breakAll { word-break: break-all; font-size: 12px; }

/* ===== Bildschirmlicht ===== */

.screenLight {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: #ffffff;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
  cursor: pointer;
}

.screenLightHint {
  /* Das Overlay ist absichtlich in BEIDEN Modi weiß (Lichtquelle) —
     fester dunkler Hinweiston statt var(--muted), sonst weiß auf weiß. */
  color: #4b5563;
  font-size: 13px;
  user-select: none;
}

body.lightBoost { background: #ffffff; }

#infoMedia .btn { margin-top: 10px; }
#playerWrap .btn { margin-top: 10px; }

/* ===== Reader-Code-Eingabe ===== */

.codeRow { display: flex; gap: 10px; align-items: stretch; }
.codeRow .input { flex: 1; }
.codeRow .btn { white-space: nowrap; }

@media (max-width: 520px) {
  .codeRow { flex-direction: column; }
}

select.input { appearance: none; background: var(--card); }

/* ===== Sicherheitsfrage ===== */

.questionBox {
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 18px;
  margin: 14px 0;
}

.questionNr { font-size: 13px; color: #1d4ed8; font-weight: 600; margin-bottom: 8px; }
.questionText { font-size: 19px; line-height: 1.5; font-weight: 500; }

.checkRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
  cursor: pointer;
}

.checkRow input { width: 18px; height: 18px; }
.checkRow .muted { margin: 0; }

.msg.system {
  background: #f8fafc;
  border-left: 3px solid #94a3b8;
}

.msg.system .msgAuthor { color: var(--muted); }

.msg.secAsset { border-left: 3px solid #2563eb; }

.clickable { cursor: pointer; }
.clickable:hover .rowTitle { color: var(--accent); }

/* ===== Bildschirmblitz ===== */

.screenFlash {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: #ffffff;
  z-index: 95;
  pointer-events: none;
}

/* ===== Systemkamera ===== */

.nativeBox {
  margin-top: 16px;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fafafa;
}

.nativeTitle { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.nativeBox .muted { margin-top: 4px; }

/* ===== Aufklappbare Blöcke ===== */

.acc {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 12px;
  overflow: hidden;
}

.acc.recommended { border-color: var(--ok); }

.accHead {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--card);
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  flex-wrap: wrap;
}

.accHead:hover { background: #f9fafb; }
.accHead.open { background: #f3f4f6; border-bottom: 1px solid var(--line); }

.accTitle { font-weight: 600; font-size: 15px; color: var(--ink); }
.accHint { color: var(--muted); font-size: 13px; flex: 1; }

.accArrow {
  color: var(--muted);
  font-size: 14px;
  transition: transform .15s ease;
  margin-left: auto;
}

.accHead.open .accArrow { transform: rotate(180deg); }

.acc.recommended .accTitle::after {
  content: "empfohlen für dein Gerät";
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 14%, transparent);
  padding: 2px 8px;
  border-radius: 999px;
}

.accBody { padding: 16px; }

@media (max-width: 560px) {
  .accHint { flex: 1 1 100%; order: 3; }
}

/* ===== QR-Ausgabe im Admin ===== */

.qrGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.qrCard {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  background: var(--card);
}

.qrCard img { width: 100%; display: block; }
.qrCode { font-size: 12px; margin-top: 6px; font-weight: 600; word-break: break-all; }

/* ===== Zustimmung ===== */

.consentBox {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
}

.consentBox .checkRow { align-items: flex-start; margin-top: 0; }
.consentBox .checkRow input { margin-top: 2px; flex: 0 0 auto; }
.consentBox .checkRow span { font-size: 14px; line-height: 1.5; }
.consentBox a { color: var(--accent); }

.consentSummary {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

.legalNote {
  background: var(--warn-bg);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--warn);
}

.legalNote a { color: var(--warn); font-weight: 600; }

/* ===== Taschenlampe im Scanner ===== */

.torchBtn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.torchBtn.on {
  background: #fbbf24;
  border-color: #f59e0b;
  color: #111827;
}

/* ===== Statistik ===== */

.statGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.statCard {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: var(--card);
}

.statValue { font-size: 22px; font-weight: 700; color: var(--ink); }
.statLabel { font-size: 12px; color: var(--muted); margin-top: 4px; }

.tableWrap { overflow-x: auto; margin-top: 12px; }

.dataTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.dataTable th {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 2px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.dataTable td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.dataTable tr:hover td { background: var(--bg-soft); }

/* ===== Videoverifikator ===== */

.verifyGrid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.serverClock {
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.steps {
  margin: 14px 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.steps li { margin-bottom: 6px; }
.steps b { color: var(--ink); }

.markerStage {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.markerStage:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border: 0;
  border-radius: 0;
}

.markerQr {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: min(520px, 90vw);
  height: auto;
  image-rendering: pixelated;
}

.markerStage:fullscreen .markerQr {
  width: min(78vh, 92vw);
}

.markerBar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.markerTime {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 74px;
  font-size: 19px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.markerTime .muted { margin: 0; font-weight: 400; }

.markerProgressWrap {
  flex: 1;
  height: 10px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.markerProgress {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width .15s linear;
}

/* Zustandsrahmen der Nachweise im Chat */
.msg.vPending { border-left: 3px solid #f59e0b; }
.msg.vOk      { border-left: 3px solid #047857; }
.msg.vPartial { border-left: 3px solid #b45309; }
.msg.vBad     { border-left: 3px solid #b91c1c; }


/* ===== Kameraaufgabe und Baken-Code (externer Videoverifikator) ===== */

.taskSection {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
}

.taskSection h2 { color: var(--ink); }
.taskSection .questionBox { margin: 12px 0; }
.taskSection .codeRow { margin-top: 12px; }

/* ==================== Mehrsprachigkeit & Barrierefreiheit ==================== */
.skipLink {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: #1d4ed8; color: #fff; padding: 10px 16px;
  border-radius: 0 0 10px 0; text-decoration: none;
}
.skipLink:focus { left: 0; }

:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.langMount { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.langPicker { position: relative; }
.langBtn { display: inline-flex; align-items: center; gap: 8px; }
.langMenu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 120;
  margin: 0; padding: 6px; list-style: none; min-width: 170px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}
.langMenu li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 15px;
}
.langMenu li:hover, .langMenu li:focus-visible { background: var(--accent-soft); }
.langMenu li[aria-selected="true"] { font-weight: 700; }
.langNote { font-size: 13px; }


/* Checkbox-Zeilen im Admin (Externe Dienste) */
label.check {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 10px 0 4px; font-size: 14px; cursor: pointer;
}
label.check input { margin-top: 3px; }


/* ==================== Design 2.0 — modern, hell + dunkel ==================== */

body {
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}

.hero h1 {
  font-size: 28px;
  letter-spacing: -0.02em;
  background: linear-gradient(92deg, var(--ink), var(--accent-ink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease,
              border-color .18s ease, background-color .18s ease;
}
.btn:hover { border-color: var(--accent); box-shadow: var(--shadow-1); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn.primary {
  border: none;
  color: var(--bg);
  background: var(--accent);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 22%, transparent);
}
.btn.primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 45%, transparent);
}
.btn.small { min-height: 36px; padding: 7px 13px; font-size: 13px; border-radius: 10px; }

.input {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--card);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .25s ease;
}
.input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }

.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.tabBtn {
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.tabBtn:hover { color: var(--ink); }
.tabBtn.active {
  background: var(--card);
  color: var(--accent-ink);
  box-shadow: var(--shadow-1);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  border: 1px solid transparent;
}
.pill.ok   { background: var(--ok-bg);   color: var(--ok);   border-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.pill.warn { background: var(--warn-bg); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.pill.bad  { background: var(--bad-bg);  color: var(--bad);  border-color: color-mix(in srgb, var(--bad) 25%, transparent); }

.row, .logRow, .acc, .questionBox, .warnBox, .nativeBox, .consentBox, .qrCard {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}
.row { box-shadow: none; }
.acc { background: var(--card); overflow: hidden; }
.accHead { background: var(--card); }
.accHead:hover { background: var(--bg-soft); }
.accHead.open { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.questionBox { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.questionNr { color: var(--accent-ink); }
.warnBox { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }

.chatStream { background: transparent; }
.msg {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
}
.msg.asset { background: var(--card-2); }
.msg.system {
  background: transparent;
  border: 1px dashed var(--line-strong);
  box-shadow: none;
}
.msg.secAsset { border-left: 3px solid var(--accent); }

.video { background: var(--bg-soft); }
.modalInner {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
.langMenu {
  background: var(--card);
  border-color: var(--line);
  box-shadow: var(--shadow-2);
}
.langMenu li:hover, .langMenu li:focus-visible { background: var(--accent-soft); }

.countdown { color: var(--accent-ink); }
.composer { border-top: 1px solid var(--line); }

/* Umschalter Hell/Dunkel */
.themeBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 999px;
  font-size: 19px;
  line-height: 1;
}
.topTools {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 150;
  display: flex;
  gap: 8px;
}
.langMount { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 6px; }


/* ==================== 10. Fassung ==================== */

/* Durchsichtiger, professioneller Umschaltknopf für Hell/Dunkel */
.themeBtn,
.btn.themeBtn {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  color: var(--ink);
  box-shadow: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.themeBtn:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  border-color: color-mix(in srgb, var(--ink) 45%, transparent);
  box-shadow: none;
}

/* Flaggen im Sprachumschalter */
.langFlag {
  width: 24px;
  height: 17px;
  object-fit: contain;
  vertical-align: -3px;
  border-radius: 2px;
}

/* Prozesswahl auf der Belehrungsseite */
.choiceGroup { display: grid; gap: 12px; margin-top: 8px; }
.choiceBtn {
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--card);
  padding: 14px 16px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.choiceBtn:hover { border-color: var(--accent); }
.choiceBtn:focus-visible { outline: none; box-shadow: var(--ring); }
.choiceBtn.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1.5px var(--accent) inset;
  background: var(--accent-soft);
}
.choiceTitle { font-weight: 700; font-size: 16px; }
.choiceHint { color: var(--muted); font-size: 13.5px; }
.choiceMore { font-size: 13.5px; justify-self: start; }

/* Vom Admin gepflegte Erklärtexte */
.cmsBody p { margin: 0 0 12px; }
.cmsBody ul { margin: 0 0 12px; padding-left: 22px; }
.cmsBody li { margin-bottom: 4px; }
.cmsBody a { color: var(--ink); text-decoration: underline; }

/* Meldungsliste im Admin */
.listItem {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.reportImgWrap img { display: block; }

/* ---------- Nachtrag 10. Fassung: Prozessauswahl, Freischaltung, Theme ---------- */

/* Auswahlreiter Prozessverifikation: öffnet sich nach unten */
.dropdown { position: relative; }
.dropBtn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; text-align: left;
}
.dropValue.muted { color: color-mix(in srgb, var(--ink) 55%, transparent); }
.dropArrow { opacity: .7; }
.dropMenu {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px);
  margin: 0; padding: 6px; list-style: none;
  background: var(--card); color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  border-radius: 10px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--ink) 18%, transparent);
}
.dropMenu [role="option"] {
  padding: 10px 12px; border-radius: 8px; cursor: pointer;
  font-family: var(--serif);
}
.dropMenu [role="option"]:hover,
.dropMenu [role="option"]:focus-visible {
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  outline: none;
}
.dropMenu [role="option"][aria-selected="true"] {
  background: var(--accent); color: var(--bg);
}

/* Freischalt-Karte fürs Sicherheitsvideo */
.secGate { border-width: 2px; }
.countdown.big { font-size: 34px; letter-spacing: .06em; }
#secGateBadges .pill { font-size: 14px; }

/* Dateititel in der Zeitleiste */
.assetTitle {
  font-family: var(--serif); font-weight: 600; font-size: 15px;
  margin-bottom: 2px;
}
#fileTitle { margin-top: 6px; }

/* Hell/Dunkel-Umschalter: halb gefüllter Kreis */
.themeBtn { line-height: 0; padding: 8px 10px; }
.themeBtn .themeIcon { display: block; }

/* Fußzeile: Impressum · AGB · Hilfe */
.siteFooter {
  max-width: 900px; margin: 28px auto 20px; padding: 0 16px;
  text-align: center;
}
.footerNav {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 14px;
  color: color-mix(in srgb, var(--ink) 70%, transparent);
}
.footerNav a {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  padding-bottom: 1px;
}
.footerNav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.footerDot { opacity: .6; }

/* ---------- Vierter Nachtrag ---------- */

/* Dunkelmodus: sämtliche Schrift rein weiß (Statusfarben bleiben). */
html[data-theme="dark"] .footerNav,
html[data-theme="dark"] .dropValue.muted,
html[data-theme="dark"] .choiceHint,
html[data-theme="dark"] .meta,
html[data-theme="dark"] .small {
  color: #ffffff;
}

/* Zuklappbare Blöcke: Pfeil unten rechts, zugeklappt bleibt eine Zeile. */
.collapsible { position: relative; padding-bottom: 34px; }
.collapsible.collapsed .collapseBody {
  max-height: 1.7em;
  overflow: hidden;
}
.collapseBtn {
  position: absolute; right: 10px; bottom: 8px;
  border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  background: var(--card); color: var(--ink);
  border-radius: 999px; width: 30px; height: 30px;
  line-height: 1; cursor: pointer; font-size: 13px;
}
.collapseBtn:hover { border-color: var(--ink); }
.blockTitle { margin: 0 0 8px; font-size: 15px; font-family: var(--serif); }
.introVideoItem { margin-bottom: 14px; }
.introVideoRow { align-items: flex-start; gap: 12px; }

/* Eigener Block "Datei anhängen" im Composer */
.attachBlock {
  margin-top: 14px; padding: 12px;
  border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
  border-radius: var(--radius-s);
}
#attachList { margin-top: 6px; }

/* Kamera-Weboberfläche: zwei Spalten für bessere Übersicht am Telefon.
   Sicherheitsvideo darunter über die ganze Breite, Text mittig. */
.camBtnGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.camBtnGrid .btn { width: 100%; text-align: center; }
.camBtnGrid .btn.wide { grid-column: 1 / -1; }

/* Zwischenseiten-Player: ruhiges, professionelles Erscheinungsbild */
.introPlayer {
  width: 100%;
  background: #000;
  border-radius: var(--radius-s);
  /* Rückfalllinie für Webansichten ohne aspect-ratio: sonst 0 Pixel hoch. */
  min-height: 210px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

/* ==================== Blog ==================== */

.channelBar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0 0 18px;
}
.channelBtn { text-decoration: none; }

.postGrid { display: grid; gap: 16px; }
@media (min-width: 720px) { .postGrid { grid-template-columns: 1fr 1fr; } }

.postCard {
  display: block; text-decoration: none; color: var(--ink);
  overflow: hidden; padding: 0;
  transition: transform .15s ease, box-shadow .15s ease;
}
.postCard:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.postCardImg {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  background: #000;
}
.postCardBody { padding: 16px; }
.postCardTitle { font-family: var(--serif); font-size: 20px; margin: 0 0 4px; }
.postCardExcerpt { margin: 8px 0; }
.readMore { font-weight: 600; }

.postArticle { max-width: 780px; margin: 0 auto; }
.postTitle { font-family: var(--serif); font-size: 30px; margin: 12px 0 2px; }
.postBody { margin-top: 14px; font-size: 16px; line-height: 1.65; }

.ytWrap { margin: 16px 0; }
.ytFrame {
  width: 100%; aspect-ratio: 16 / 9; border: 0;
  border-radius: var(--radius-s); background: #000; display: block;
}
.linkRow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }

/* Admin: Verweis- und Kanalzeilen */
.blogLinkRow {
  display: grid; grid-template-columns: 130px 1fr 1fr auto;
  gap: 6px; margin-bottom: 6px; align-items: center;
}
.blogChannelRow { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
@media (max-width: 640px) { .blogLinkRow { grid-template-columns: 1fr; } }

/* ==================== Blog-Magazin (40. Nachtrag) ====================
   Frisches, ruhiges Magazin-Layout nach dem Vorbild großer Blogs:
   großzügige Serifen-Typografie, Titelbild-Aufmacher, Kartenübersicht
   mit fester Bildproportion, schmale Lesebreite im Artikel. */

.blogMast { text-align: center; padding: 34px 0 10px; }
.blogKicker {
  letter-spacing: .18em; text-transform: uppercase;
  font-size: 12px; opacity: .55; margin: 0 0 6px;
}
.blogMastTitle { font-size: clamp(34px, 6vw, 52px); margin: 0 0 8px; }
.blogMastSub { max-width: 46ch; margin: 0 auto; }

.postGrid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-top: 18px;
}
.postCard {
  display: flex; flex-direction: column; overflow: hidden;
  padding: 0; text-decoration: none; color: inherit;
  border-radius: 12px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.postCard:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.postCardImg {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  background: rgba(127,127,127,.12);
}
.postCardImgEmpty {
  background: repeating-linear-gradient(135deg,
    rgba(127,127,127,.10), rgba(127,127,127,.10) 14px,
    rgba(127,127,127,.16) 14px, rgba(127,127,127,.16) 28px);
}
.postCardBody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.postCardTitle { font-size: 21px; line-height: 1.25; margin: 0; }
.postCardExcerpt { margin: 2px 0 4px; line-height: 1.55; opacity: .85; }
.readMore { font-size: 14px; opacity: .7; margin-top: auto; }

.postArticle { max-width: 780px; margin: 0 auto; }
.postCoverWrap { margin: 14px 0 0; }
.postCoverImg {
  width: 100%; max-height: 460px; object-fit: cover;
  border-radius: 14px; display: block;
}
.postHeader { margin: 18px 0 6px; }
.postTitle { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; margin: 0 0 8px; }
.postMeta { font-size: 14px; }

.postVideos { margin: 14px 0 4px; }
.postVideos .camStage { border-radius: 12px; overflow: hidden; }

.postBody {
  font-size: 1.08rem; line-height: 1.75; max-width: 70ch; margin: 12px auto 0;
}
.postBody p { margin: 0 0 1.05em; }
.postBody h2 { font-size: 1.5em; margin: 1.4em 0 .5em; line-height: 1.25; }
.postBody h3 { font-size: 1.2em; margin: 1.2em 0 .4em; }
.postBody ul, .postBody ol { margin: 0 0 1.05em; padding-left: 1.4em; }
.postBody li { margin: .25em 0; }
.postBody blockquote {
  margin: 1.2em 0; padding: .4em 1em;
  border-left: 4px solid currentColor; opacity: .85; font-style: italic;
}
.postBody a { text-decoration: underline; }
.postBody u { text-underline-offset: 2px; }

/* Editor im Adminpanel: gleiche Leseanmutung wie der fertige Beitrag. */
.blogEdit { line-height: 1.65; }
.blogEdit:empty::before { content: attr(data-hint); opacity: .45; }
.blogEdit h2 { font-size: 1.3em; margin: .8em 0 .3em; }
.blogEdit blockquote { border-left: 3px solid currentColor; padding-left: .8em; opacity: .85; }
.blogToolbar { margin-bottom: 6px; flex-wrap: wrap; }

/* ==================== Blog-Magazin 2.0 (43. Nachtrag) ====================
   Eigener Nachrichtenmagazin-Aufbau: schmale Kopfleiste mit Social-
   Symbolen, Titelkopf, Kategorien-Navigation, Aufmacher, Newsletter-
   Kasten, Kategorie-Abschnitte, Magazin-Fußzeile. Akzentfarbe kommt
   aus den Blog-Einstellungen (--mzAccent). */

:root { --mzAccent: #b3202c; }
.mzPage .wrap { max-width: none; }
.mzShell { max-width: 1060px; margin: 0 auto; padding: 0 18px; }

.mzTopbar { border-bottom: 1px solid rgba(127,127,127,.25); font-size: 13px; }
.mzTopbarRow { display: flex; align-items: center; justify-content: space-between;
  min-height: 38px; gap: 12px; }
.mzTopLink { text-decoration: none; font-weight: 700; letter-spacing: .04em; }
.mzTopLink:hover { color: var(--mzAccent); }

.mzSocRow { display: flex; gap: 6px; flex-wrap: wrap; }
.mzSoc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid currentColor; text-decoration: none;
  font-size: 11px; font-weight: 800; letter-spacing: .02em;
}
.mzSoc.small { width: 24px; height: 24px; font-size: 9px; }
.mzSoc:hover { background: var(--mzAccent); border-color: var(--mzAccent); color: #fff; }
.mzSocBottom { justify-content: center; margin-bottom: 10px; }

.mzMast { text-align: center; padding: 26px 0 0; position: relative; }
.mzTitle { font-size: clamp(34px, 6vw, 56px); margin: 6px 0 4px; letter-spacing: .01em; }
.mzTitle a { text-decoration: none; color: inherit; }
.mzTagline { margin: 0 0 14px; }
.mzNav { border-top: 1px solid rgba(127,127,127,.25);
  border-bottom: 2px solid var(--mzAccent); margin-top: 8px; }
.mzNav .mzShell { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; }
.mzNavLink { display: inline-block; padding: 10px 2px; text-decoration: none;
  font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.mzNavLink:hover { color: var(--mzAccent); }
.mzNavNl { color: var(--mzAccent); }

.mzPillRow { display: flex; gap: 6px; flex-wrap: wrap; }
.mzPill { display: inline-block; padding: 3px 9px; font-size: 11px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  background: var(--mzAccent); color: #fff; border-radius: 3px; }
.mzPill:hover { filter: brightness(1.12); }

.mzImg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  border-radius: 10px; background: rgba(127,127,127,.12); }
.mzImgEmpty { background: repeating-linear-gradient(135deg,
  rgba(127,127,127,.10), rgba(127,127,127,.10) 14px,
  rgba(127,127,127,.16) 14px, rgba(127,127,127,.16) 28px); }

.mzLead { display: block; text-decoration: none; color: inherit; margin: 18px 0 6px; }
.mzLeadBody { padding: 12px 2px 0; }
.mzLeadTitle { font-family: var(--serif); font-size: clamp(22px, 3.6vw, 34px);
  line-height: 1.2; margin: 8px 0 0; }
.mzLead:hover .mzLeadTitle { color: var(--mzAccent); }

.mzGrid { display: grid; gap: 18px; margin-top: 14px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.mzCard { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.mzCardBody { padding: 8px 2px 0; }
.mzCardTitle { font-family: var(--serif); font-size: 17px; line-height: 1.3; margin: 6px 0 0; }
.mzCard:hover .mzCardTitle { color: var(--mzAccent); }

.mzSection { margin: 34px 0 8px; }
.mzSectionHead { border-bottom: 2px solid var(--mzAccent); margin-bottom: 4px; }
.mzSectionTitle { display: inline-block; margin: 0; padding: 6px 12px 5px;
  background: var(--mzAccent); color: #fff; font-size: 15px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; }
.mzMoreRow { margin: 14px 0 0; }
.mzMore { font-weight: 700; text-decoration: none; }
.mzMore:hover { color: var(--mzAccent); }
.mzCatHead { display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-top: 20px; }

.mzNlBox { border: 2px solid var(--mzAccent); border-radius: 12px;
  padding: 18px 20px; margin: 22px 0; text-align: center; }
.mzNlTitle { margin: 0 0 6px; font-size: 20px; letter-spacing: .04em; }
.mzNlText { margin: 0 auto 12px; max-width: 60ch; }
.mzNlBtn { display: inline-block; }
.mzNlNote { margin: 10px 0 0; }

.mzShareRow { display: flex; align-items: center; gap: 6px; margin: 8px 0 6px; }
.mzVideoWrap { margin: 14px 0; }

.mzFooter { border-top: 2px solid var(--mzAccent); margin-top: 40px;
  padding: 22px 0 8px; text-align: center; }
.mzFooterLinks { display: flex; flex-wrap: wrap; justify-content: center;
  gap: 4px 16px; margin: 8px 0; }
.mzFooterLinks a { text-decoration: none; font-weight: 600; font-size: 14px; }
.mzFooterLinks a:hover { color: var(--mzAccent); }
.mzCopy { margin: 6px 0 4px; }

/* Piktogramme in den Social-Kreisen (44. Nachtrag): selbst gezeichnete
   generische Motive; Größen für normale und kleine Kreise. */
.mzSoc { width: 34px; height: 34px; }
.mzSoc .mzIco { width: 19px; height: 19px; display: block; }
.mzSoc.small { width: 26px; height: 26px; }
.mzSoc.small .mzIco { width: 15px; height: 15px; }


/* ==================== Admin: Blog-Farb-Baukasten (48. Nachtrag) ==================== */

.bsColorGrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px 14px; margin-top: 6px;
}
.bsColorItem { display: flex; align-items: center; gap: 8px; }
.bsColorItem input[type="color"] {
  width: 38px; height: 30px; padding: 0; border: 1px solid rgba(127,127,127,.4);
  border-radius: 6px; background: none; cursor: pointer;
}
.bsColorItem input[type="text"] {
  width: 86px; font-family: ui-monospace, monospace; font-size: 12.5px;
  padding: 5px 7px;
}
.bsColorItem .bsColorLabel { font-size: 12.5px; flex: 1; min-width: 90px; }
.bsPreview { margin-top: 12px; border: 1px solid rgba(127,127,127,.35); border-radius: 10px; overflow: hidden; }
