/* B-01 Marketing › Bibliothek › Assets (Screen C, docs/ad-system/ux/entwurf-bild-engine/Bild_Engine.html). Tokens aus styles.css. */
.ba { display: grid; gap: 16px; }
/* Werkzeugleiste bleibt beim Blättern stehen: leichtes Material statt harter Linie */
.ba-werkzeug { position: sticky; top: 0; z-index: 3; display: grid; gap: 12px; padding: 14px 0 12px;
  background: color-mix(in srgb, var(--ground) 86%, transparent); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
@media (prefers-reduced-transparency: reduce) { .ba-werkzeug { background: var(--ground); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.ba-kopf { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ba-kopf > div { flex: 1; min-width: 0; }
.ba-titel { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: 0.02em; margin: 0; }
.ba-zahlen { margin: 6px 0 0; font-size: 14px; }
.ba-zahlen .linkbtn { font-size: 14px; padding: 0; }
.ba-zahlen .linkbtn[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 3px; }
.ba-suche { display: flex; gap: 10px; align-items: center; }
.ba-suche input { flex: 1; max-width: 560px; font: inherit; font-size: 16px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.ba-suche kbd { font: 600 12px var(--body); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; }
.ba-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ba .chip { font: 600 13px var(--body); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.ba .chip[aria-pressed="true"] { background: var(--mark); color: var(--mark-ink); border-color: transparent; }
.ba .chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ba select.chip { padding-right: 28px; }

/* Raster: sechs Spalten am Laptop, zwei am Handy */
.ba-raster { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1280px) { .ba-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ba-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.ba-kachel { position: relative; min-width: 0; }
.ba-oeffnen { display: grid; gap: 4px; width: 100%; border: 0; background: none; padding: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.ba-oeffnen:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 12px; }
.ba-oeffnen b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ba-bild { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out; }
.ba-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-oeffnen:hover .ba-bild { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14); }
.ba-oeffnen:active .ba-bild { transform: scale(0.98); }
@media (prefers-reduced-motion: reduce) { .ba-bild { transition: none; } .ba-oeffnen:active .ba-bild { transform: none; } }
.ba-marke { position: absolute; left: 8px; bottom: 8px; z-index: 1; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.ba-marke.krit { background: var(--crit-bg); color: var(--crit); }
.ba-marke.warn { background: var(--warn-bg); color: var(--warn); }
.ba-marke.ki { background: var(--mark); color: var(--mark-ink); }
.ba-marke.ok { background: var(--ok-bg); color: var(--ok); }
.ba-dam.krit { color: var(--crit); }
.ba-dam.warn { color: var(--warn); }
.ba-prompt summary { cursor: pointer; font-size: 14px; color: var(--accent); }
.ba-prompt p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); }
.ba-wahl { position: absolute; z-index: 2; right: 8px; top: 8px; width: 24px; height: 24px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.ba-passung { font-size: 13px; font-weight: 600; color: var(--accent); }
.ba-passung.passt-sehr { color: var(--ok); }
.ba-passung.passt-wenig { color: var(--muted); }
.ba-tags { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Auswahl: schwebende Leiste unten */
.ba-leiste { position: sticky; bottom: 16px; z-index: 3; justify-self: center; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 10px 12px 10px 18px; border-radius: 999px; background: color-mix(in srgb, var(--mark-ink) 94%, transparent); color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 10px 26px rgba(0, 0, 0, 0.18); }
.ba-leiste[hidden] { display: none; }
.ba-leiste .btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
@media (max-width: 760px) { .ba-leiste { border-radius: 16px; justify-self: stretch; } }

/* Blatt eines Bildes: Fenster in der Mitte (Abnahme B, E-439), Bild links fest, Angaben rechts */
.sheet.fenster.ba-blatt { width: min(1200px, calc(100% - 48px)); }
.ba-blatt-koerper { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ba-blatt-bild { position: sticky; top: 76px; display: grid; gap: 8px; }
/* Fläche so gross wie das Bild, sonst stimmt der Fokuspunkt nicht */
.ba-blatt-bild .ba-gross { width: fit-content; max-width: 100%; justify-self: center; }
.ba-blatt-bild .ba-gross img { width: auto; max-width: 100%; max-height: calc(100dvh - 260px); }
.ba-blatt-angaben { display: grid; gap: 4px; min-width: 0; }
@media (max-width: 900px) { .ba-blatt-koerper { grid-template-columns: minmax(0, 1fr); } .ba-blatt-bild { position: static; } }
@media (max-width: 760px) { .sheet.fenster.ba-blatt { width: 100%; } }
.ba-gross { position: relative; border-radius: 12px; overflow: hidden; background: var(--surface-2); min-height: 120px; touch-action: none; user-select: none; }
.ba-gross[tabindex="0"] { cursor: crosshair; }
.ba-gross:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ba-gross img { display: block; width: 100%; height: auto; }
.ba-fokus { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--mark-ink), 0 2px 8px rgba(0, 0, 0, 0.3); pointer-events: none; }
.ba-pillen { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ba-dim { display: grid; grid-template-columns: 120px 1fr; gap: 10px; font-size: 14px; padding: 3px 0; }
.ba-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.ba-zuschnitte { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; align-items: end; }
.ba-format { margin: 0; display: grid; gap: 4px; font-size: 12px; }
.ba-format figcaption { display: grid; gap: 2px; color: var(--muted); }
.ba-rahmen { position: relative; overflow: hidden; border-radius: 6px; background: var(--surface-2); }
.ba-rahmen img { position: absolute; max-width: none; }
.ba-warn { color: var(--warn); font-weight: 600; }

/* Schlagworte wählen */
.ba-swform { display: grid; gap: 10px; }
.ba-dimwahl { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ba-dimwahl legend { font-weight: 600; font-size: 13px; padding: 0 4px; }
.ba-wert { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; cursor: pointer; }

/* B-02a Panel «Bild» in Schritt 4 «Material» (Screens A und B) */
.ad-bildquelle { display: grid; gap: 12px; }
.ad-bq-regel { margin: 0; font-size: 15px; max-width: 72ch; }
.ad-bq-quellen button[disabled] { opacity: 0.45; cursor: not-allowed; }
.ad-bq-grund { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.ad-bq-grund input { flex: 1 1 280px; font: inherit; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.ad-bq-kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .ad-bq-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ad-bq-kachel { position: relative; display: grid; gap: 4px; align-content: start; font-size: 14px; }
.ad-bq-kachel.an .ad-bq-bild { box-shadow: 0 0 0 3px var(--accent); }
.ad-bq-kachel kbd { position: absolute; z-index: 1; left: 8px; top: 8px; font: 600 12px var(--body); background: var(--surface); border-radius: 5px; padding: 0 6px; }
.ad-bq-kachel b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-bq-kachel .btn { justify-self: start; }
.ad-bq-bild { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.ad-bq-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-bq-bibliothek:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 10px; }
.ad-bq-produzieren { display: grid; gap: 10px; justify-items: start; }
.ad-bq-pruefung { display: grid; gap: 6px; justify-items: start; }
.ad-bq-pruefung:empty { display: none; }
.ad-bq-punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.ad-bq-punkte li { display: grid; grid-template-columns: 16px 1fr; gap: 6px; }
.ad-bq-punkte li.ok { color: var(--ok); }
.ad-bq-punkte li.warn { color: var(--warn); }
.ad-bq-punkte li.krit { color: var(--crit); }
.ad-bq-punkte .linkbtn { padding: 0; font-size: 13px; text-align: left; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* B-02b: Bibliotheksbild in die Vorlagen (Kette 22) und Bild-Briefing der Vorlage (Bibliothek › Vorlagen) */
.ad-bq-vorlagen { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.ad-bq-vorlagen > h3 { margin: 0; font-size: 15px; font-weight: 600; }
.ad-bq-vorlagen > p { margin: 0; max-width: 68ch; }
.bib-briefing { display: grid; gap: 8px; }
.bib-briefing > .bar { flex-wrap: wrap; gap: 6px 8px; }
.bib-briefing-form { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.bib-briefing-form .bf-gruppe { margin: 0; }
.bib-briefing-form legend { font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.3; }
/* B-05a Hybrid (Screen A, Panel Hybrid) */
.ad-bq-hybrid { display: grid; gap: 12px; }
.ad-bq-hybrid > p { margin: 0; max-width: 68ch; }
.ad-bq-hybrid .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ad-bq-hybrid .chip { font: 600 13px var(--body); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.ad-bq-hybrid .chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.ad-bq-hybrid .chip:disabled { opacity: .55; cursor: not-allowed; }
.ad-bq-hybrid button.ad-bq-kachel { border: 0; background: none; padding: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.ad-bq-hybrid button.ad-bq-kachel:disabled { cursor: default; }
.ad-bq-hybrid button.ad-bq-kachel:focus-visible .ad-bq-bild { outline: 2px solid var(--accent); outline-offset: 2px; }
.ad-bq-hybrid button.ad-bq-kachel .ad-bq-bild img { object-fit: contain; background: var(--surface); }
.ad-bq-hybrid .ad-bq-bild.ad-bq-story { aspect-ratio: 9 / 16; }
.ad-bq-hybrid-ergebnis { display: grid; gap: 8px; }
.ad-bq-hybrid-ergebnis .pill { justify-self: start; }
/* B-04 Generiert (Screen A, Panel Generiert) */
.ad-bq-generiert { display: grid; gap: 12px; }
.ad-bq-generiert > p { margin: 0; max-width: 68ch; }
.ad-bq-generiert > h3 { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.ad-bq-quellen-liste { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ad-bq-quellen-liste li { display: grid; grid-template-columns: 4.5rem minmax(0, 12rem) minmax(0, 1fr); gap: 4px 10px; align-items: baseline; }
.ad-bq-quellen-liste .pill { justify-self: start; }
.ad-bq-quellen-liste b { font-weight: 600; }
.ad-bq-bailey { display: flex; gap: 8px; align-items: baseline; font-size: 14px; }
.ad-bq-bailey input { flex: none; }
.ad-bq-wechsel { display: grid; gap: 6px; }
.ad-bq-wechsel p { margin: 0; }
.ad-bq-generiert .ad-bq-bild.ad-bq-story { aspect-ratio: 9 / 16; }
.ad-bq-generiert .ad-bq-kachel .pill { justify-self: start; }
.ad-bq-kette { border-top: 1px solid var(--line); padding-top: 10px; }
.ad-bq-kette > summary { cursor: pointer; font-weight: 600; font-size: 14px; }
@media (max-width: 600px) {
  .ad-bq-quellen-liste li { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .ad-bq-quellen-liste li > .klein { grid-column: 2; }
}
.ad-bq-runde { display: grid; gap: 6px; }

/* B-06b3 Bilder dieser Woche (Screen W) */
.bw { display: grid; gap: 14px; min-width: 0; }
.bw-kopf { flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.bw-tasten kbd { font-size: 12px; }
.bw-tab td { vertical-align: middle; }
.bw-tab tr[aria-selected="true"] td { background: var(--surface-2); }
.bw-tab tr.bw-fokus td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.bw-tab tr:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.bw-bild { display: block; width: 64px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--neutral-bg); }
.bw-bild.klein { width: 40px; }
.bw-bild.leer { background: repeating-linear-gradient(45deg, var(--neutral-bg), var(--neutral-bg) 6px, var(--surface) 6px, var(--surface) 12px); }
.bw-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bw-anders { display: flex; gap: 6px; }
.bw-andere { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; opacity: .85; transition: opacity .15s, transform .1s; }
.bw-andere:hover { opacity: 1; }
.bw-andere:active { transform: scale(.96); }
.bw-andere:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bw-warum { color: var(--crit); max-width: 40ch; }
.bw-leiste { position: sticky; bottom: 16px; z-index: 3; justify-self: center; display: flex; gap: 10px; align-items: center; padding: 10px 14px;
  border-radius: 999px; background: var(--ink); color: var(--surface); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.bw-leiste .bw-leise { background: transparent; color: inherit; border-color: rgba(255, 255, 255, .4); }

/* B-07b Clips hochladen (Screen K3) */
.ch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.ch-links { display: grid; gap: 12px; min-width: 0; }
.ch-drop { display: grid; justify-items: center; gap: 8px; padding: 30px 20px; border: 2px dashed var(--line-strong); border-radius: 16px; background: var(--surface); text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.ch-drop b { font-size: 18px; }
.ch-drop.ueber { border-color: var(--accent); background: var(--surface-2); }
.ch-drop.aus { cursor: not-allowed; opacity: .7; }
.ch-drop:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ch-datei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px) 140px; gap: 16px; align-items: center; padding: 14px 16px; }
.ch-datei b { overflow-wrap: anywhere; }
.ch-fehler { color: var(--crit); }
.ch-schritte { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ch-schritte li { flex: 1; padding-top: 6px; border-top: 4px solid var(--line); font-size: 13px; color: var(--muted); }
.ch-schritte li.fertig { border-color: var(--ok); color: var(--ok); }
.ch-schritte li.jetzt { border-color: var(--brand); color: var(--ink); font-weight: 600; }
.ch-schritte li.fehler { border-color: var(--crit); color: var(--crit); font-weight: 600; }
.ch-knopf { justify-self: end; }
.ch-seite { padding: 16px; display: grid; gap: 12px; }
.ch-seite label { display: grid; gap: 4px; }
.ch-seite .ch-haken { display: flex; gap: 8px; align-items: center; }
@media (max-width: 900px) { .ch-grid, .ch-datei { grid-template-columns: 1fr; } .ch-knopf { justify-self: start; } }
.ch-seite .lbl { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ch-datei.kalk-karte, .ch-seite.kalk-karte { margin: 0; }

/* B-07c1 Bibliothek › Clips (Screen K1): Szenen im 9:16-Rahmen, quer mit Balken; Maus darüber spielt die Szene */
.cl-raster { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1280px) { .cl-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cl-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.cl-bild { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--surface-2);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out; }
.cl-bild.quer { background: #2b322c; }
.cl-bild img, .cl-bild video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-bild.quer img, .cl-bild.quer video { object-fit: contain; }
.cl-bild .ba-marke { top: 8px; bottom: auto; z-index: 2; }
.ba-oeffnen:hover .cl-bild { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14); }
.ba-oeffnen:active .cl-bild { transform: scale(0.98); }
@media (prefers-reduced-motion: reduce) { .cl-bild { transition: none; } .ba-oeffnen:active .cl-bild { transform: none; } }
.cl-dauer { position: absolute; z-index: 2; right: 8px; bottom: 8px; font: 600 12px/1 var(--body); font-variant-numeric: tabular-nums; color: #fff; background: rgba(31, 40, 33, .72); padding: 3px 6px; border-radius: 6px; }
.cl-von { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-gesperrt .cl-bild img { opacity: .55; }
.cl-lauf { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 12px 16px; margin: 0; }
.cl-lauf b { overflow-wrap: anywhere; min-width: 0; }
.cl select.chip { max-width: 12rem; }
.cl { grid-template-columns: minmax(0, 1fr); }

/* B-07c2 Clip-Blatt (Screen K2): kommt von rechts wie das Bild-Blatt, breiter für Player und Zeitleiste */
.sheet.cl-blatt { width: min(720px, 100%); }
.cl-blatt-inhalt { display: grid; gap: 16px; }
.cl-blatt-inhalt h2 { margin: 6px 0 2px; overflow-wrap: anywhere; }
.cl-blatt-inhalt h3 { margin: 0 0 8px; }
.cl-player { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { .cl-player { grid-template-columns: minmax(0, 1fr); } .cl-player-bild { max-width: 260px; } }
.cl-player-bild video { object-fit: contain; background: #1f2821; }
.cl-zeitleiste { display: grid; gap: 8px; min-width: 0; }
.cl-zeitleiste .lbl, .cl-szene .lbl { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.cl-spur { display: flex; height: 54px; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.cl-spur button { min-width: 6px; border: 0; padding: 0; border-right: 2px solid var(--surface); background: var(--mark); color: var(--mark-ink); cursor: pointer;
  display: grid; align-content: end; justify-items: start; font: 600 12px/1 var(--body); transition: background-color 120ms ease-out; }
.cl-spur button span { padding: 0 6px 6px; }
.cl-spur button[aria-pressed="true"] { background: var(--mark-ink); color: #fff; }
.cl-spur button:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.cl-luecke { min-width: 2px; border-right: 2px solid var(--surface); background: repeating-linear-gradient(135deg, var(--line) 0 6px, var(--surface-2) 6px 12px); }
.cl-skala { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cl-szene { display: grid; gap: 10px; }
.cl-szenekopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.cl-szenekopf .cl-knoepfe { margin-left: auto; }
.cl-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cl-tags { display: grid; gap: 8px; }
.cl-tagzeile { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 14px; }
.cl-tagzeile input { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
@media (max-width: 760px) { .cl-tagzeile { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.cl-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; }
.cl-liste { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cl-zeile { width: 100%; display: grid; grid-template-columns: 34px 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cl-zeile > span:nth-child(3) { display: grid; min-width: 0; }
.cl-zeile b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-liste li[aria-current="true"] .cl-zeile { border-color: var(--mark-ink); box-shadow: 0 0 0 1px var(--mark-ink); }
.cl-zeile:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cl-nr { font: 400 22px/1 var(--display); color: var(--mark-ink); text-align: center; }
.cl-mini { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.cl-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-neu select { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
