/* Letzte Cleaning Prüfung: 27.09.2026 */
/* Letztes Cleaning: - */

/*
 * Studio "Veröffentlichen" (27.09.2026, contentfactory-veroeffentlichen-studio.js).
 * Links die Videos, rechts das Panel (klebt beim Scrollen), darunter der Verlauf.
 * Unter 980 px untereinander: Videos, Panel, Verlauf.
 */
.vs-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  grid-template-areas: "medien panel" "verlauf panel";
  gap: 20px;
  align-items: start;
  color: #eef1f6;
}
.vs-medien { grid-area: medien; min-width: 0; }
/* Höher als der Bildschirm? Dann scrollt das Panel selbst - sonst läge der Knopf unerreichbar unten. */
.vs-panel { grid-area: panel; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; display: grid; gap: 14px; padding: 16px; border: 1px solid #262a37; border-radius: 18px; background: #11131b; }
.vs-verlauf { grid-area: verlauf; min-width: 0; }

.vs-medien > header, .vs-verlauf > header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.vs-studio h3 { margin: 0; font-size: 17px; }
.vs-medien header p { margin: 4px 0 0; color: #8e97a9; font-size: 13px; }
.vs-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.vs-filter button { min-height: 32px; padding: 0 12px; border: 1px solid #2a2f3d; border-radius: 999px; background: transparent; color: #aeb6c6; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.vs-filter button.ist-aktiv { border-color: #ff304f; background: rgba(255, 48, 79, .14); color: #fff; }

.vs-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.vs-kachel { display: grid; align-content: start; gap: 5px; padding: 7px; border: 1px solid #242835; border-radius: 14px; background: #0f1118; color: #eef1f6; text-align: left; font: inherit; cursor: pointer; transition: border-color .15s ease, transform .15s ease; }
.vs-kachel:hover { border-color: #3a4052; transform: translateY(-1px); }
.vs-kachel.ist-gewaehlt { border-color: #ff304f; box-shadow: 0 0 0 1px #ff304f; }
.vs-kachel small { color: #7d8596; font-size: 11px; }
.vs-kachel b { font-size: 12.5px; font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vs-bild { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 9px; background: #05060a; overflow: hidden; }
.vs-bild img { width: 100%; height: 100%; object-fit: cover; }
.vs-bild img:not([src]) { visibility: hidden; }
.vs-haken { position: absolute; top: 6px; right: 6px; display: none; color: #ff304f; font-size: 22px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.vs-kachel.ist-gewaehlt .vs-haken { display: block; }
.vs-hochladen { border-style: dashed; border-color: #3a4052; }
.vs-hochladen .vs-bild { background: #151824; }
.vs-hochladen .vs-bild i { font-size: 30px; color: #ff304f; }
.vs-hochladen.ist-beschaeftigt { pointer-events: none; opacity: .75; }

.vs-leer { display: grid; justify-items: center; gap: 8px; padding: 30px 10px; text-align: center; color: #aeb6c6; }
.vs-leer i { font-size: 38px; color: #ff304f; }
.vs-leer b { color: #fff; font-size: 15px; }
.vs-leer p { margin: 0; font-size: 13px; line-height: 1.5; }
.vs-leer .vs-termin-hinweis { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 999px; background: rgba(120, 140, 255, .16); color: #aab8ff; font-weight: 600; }

.vs-auswahl { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.vs-panel-bild { width: 96px; aspect-ratio: 16 / 10; border-radius: 8px; background: #05060a; object-fit: cover; }
.vs-panel-bild:not([src]) { visibility: hidden; }
.vs-auswahl small { color: #7d8596; font-size: 11px; }
.vs-auswahl b { display: block; font-size: 13.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.vs-plattformen { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vs-plattform { position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 10px; border: 1px solid #2a2f3d; border-radius: 12px; cursor: pointer; }
.vs-plattform:has(input:checked) { border-color: #ff304f; background: rgba(255, 48, 79, .08); }
.vs-plattform > i { font-size: 20px; }
.vs-youtube > i { color: #ff304f; }
.vs-tiktok > i { color: #25f4ee; }
.vs-plattform span { display: grid; min-width: 0; }
.vs-plattform b { font-size: 13px; }
.vs-plattform small { color: #8e97a9; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-plattform.ist-aus { cursor: default; opacity: .75; }
.vs-plattform .vs-leiser-knopf { grid-column: 1 / -1; justify-self: start; }

.vs-abschnitt { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid #232734; }
.vs-abschnitt h4 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; }
.vs-feld { display: grid; gap: 5px; font-size: 12.5px; }
.vs-feld > span { font-weight: 600; }
.vs-feld > span small { color: #7d8596; font-weight: 400; }
.vs-feld input:not([type="file"]), .vs-feld textarea, .vs-feld select { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #2a2f3d; border-radius: 10px; background: #0b0d13; color: #fff; font: inherit; font-size: 13px; }
.vs-datei-eingabe { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vs-feld { position: relative; }
.vs-datei-knopf { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; border: 1px dashed #3a4052; border-radius: 10px; background: #0b0d13; color: #cbd2df; font-size: 12.5px; cursor: pointer; }
.vs-datei-knopf i { color: #ff304f; font-size: 18px; }
.vs-datei-knopf em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-datei-knopf.ist-gewaehlt { border-style: solid; border-color: #3ddc97; color: #fff; }
.vs-feld:focus-within .vs-datei-knopf { border-color: #ff304f; }
.vs-feld textarea { resize: vertical; }
.vs-zeile { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.vs-termin[hidden], .vs-direkt[hidden] { display: none; }
.vs-kinder { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; padding: 0; border: 0; font-size: 13px; }
.vs-kinder legend { width: 100%; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; }
.vs-kinder small { color: #7d8596; font-size: 11px; }
.vs-mehr summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: #aeb6c6; }
.vs-mehr[open] { display: grid; gap: 10px; }
.vs-mehr[open] summary { margin-bottom: 2px; }
.vs-haken-zeile { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #cbd2df; }
.vs-haken-zeile a { color: #25f4ee; }
.vs-wege { display: grid; gap: 8px; }
.vs-wege label { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border: 1px solid #2a2f3d; border-radius: 11px; cursor: pointer; }
.vs-wege span { display: grid; gap: 3px; }
.vs-wege b { font-size: 13px; }
.vs-wege small { color: #98a1b3; font-size: 11.5px; line-height: 1.4; }
.vs-wege label.ist-aus, .vs-schalter label.ist-aus { opacity: .5; cursor: not-allowed; }
.vs-direkt { display: grid; gap: 10px; }
.vs-schalter { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12.5px; }

/* Der Knopf bleibt unten im Panel stehen, auch wenn darüber viele Optionen offen sind. */
/* MOB20-04: Die gesamte Leiste deckt scrollenden Formulartext ab, auch neben dem Knopf. */
.vs-aktionsleiste { position: sticky; bottom: -16px; z-index: 2; margin: 0 -16px -16px; padding: 12px 16px 16px; border-top: 1px solid #262a37; background: #11131b; }
.vs-senden { justify-content: center; width: 100%; min-height: 44px; }
.vs-senden:disabled { opacity: .5; cursor: not-allowed; }
.vs-fehler { margin: 0; padding: 8px 10px; border-radius: 10px; background: rgba(254, 44, 85, .12); color: #ff8fa6; font-size: 12.5px; }
.vs-raster .vs-fehler { grid-column: 1 / -1; }
.vs-fehler[hidden] { display: none; }
.vs-ergebnis { display: grid; gap: 6px; }
.vs-ergebnis:empty { display: none; }
.vs-ergebnis p { display: flex; gap: 6px; margin: 0; font-size: 12.5px; line-height: 1.4; }
.vs-ergebnis .ist-gut i { color: #3ddc97; }
.vs-ergebnis .ist-fehler { color: #ff8fa6; }
.vs-leise { grid-column: 1 / -1; margin: 0; color: #8e97a9; font-size: 13px; }
.vs-leiser-knopf { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 0 10px; border: 1px solid #2a2f3d; border-radius: 9px; background: transparent; color: #cbd2df; font: inherit; font-size: 12px; text-decoration: none; cursor: pointer; }

.vs-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.vs-liste li { display: grid; grid-template-columns: 18px 54px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 3px 9px; align-items: center; min-width: 0; padding: 8px 10px; border: 1px solid #1f2330; border-radius: 10px; background: #0f1118; }
.vs-liste li > i { grid-column: 1; grid-row: 1 / 3; font-size: 18px; }
.vs-liste li > .vs-zeilen-bild { grid-column: 2; grid-row: 1 / 3; }
.vs-liste li > .vs-titel { grid-column: 3; grid-row: 1; }
.vs-liste li > .vs-status { grid-column: 3; grid-row: 2; justify-self: start; }
.vs-liste li > .vs-aktionen { grid-column: 1 / -1; grid-row: 3; justify-self: end; }
.vs-liste li > .vs-externer-link { grid-column: 4; grid-row: 2; }
.vs-liste li > span:empty { display: none; }
.vs-verlauf-entfernen { grid-column: 4; grid-row: 1; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #8e97a9; cursor: pointer; }
.vs-verlauf-entfernen:hover, .vs-verlauf-entfernen:focus-visible { background: #292e3a; color: #fff; }
.vs-verlauf-dialog { width: min(440px, calc(100vw - 28px)); padding: 22px; border: 1px solid #34394a; border-radius: 16px; background: #11131b; color: #eef1f6; box-shadow: 0 24px 80px rgba(0, 0, 0, .55); }
.vs-verlauf-dialog::backdrop { background: rgba(3, 5, 11, .78); }
.vs-verlauf-dialog-kopf { display: flex; align-items: center; gap: 12px; }
.vs-verlauf-dialog-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 12px; background: rgba(255, 48, 79, .14); color: #ff5475; font-size: 22px; }
.vs-verlauf-dialog-kopf small { color: #ff5475; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.vs-verlauf-dialog h3 { margin: 3px 0 0; font-size: 18px; line-height: 1.3; }
.vs-verlauf-dialog > p { margin: 17px 0 0; color: #b3bbca; font-size: 13px; line-height: 1.5; }
.vs-verlauf-dialog > .vs-verlauf-dialog-fehler { color: #ff8fa6; }
.vs-verlauf-dialog-aktionen { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.vs-verlauf-dialog-aktionen button { min-height: 36px; padding: 0 14px; font: inherit; font-size: 12px; font-weight: 700; }
.vs-verlauf-dialog-bestaetigen { border: 1px solid #ff304f; border-radius: 9px; background: #ff304f; color: #fff; cursor: pointer; }
.vs-verlauf-dialog-bestaetigen:hover, .vs-verlauf-dialog-bestaetigen:focus-visible { background: #e91e43; }
.vs-verlauf-dialog-bestaetigen:disabled { opacity: .55; cursor: wait; }
.vs-aktionen { display: inline-flex; gap: 4px; }
.vs-aktionen .vs-leiser-knopf { min-height: 28px; padding: 0 8px; }
.vs-leiser-knopf.ist-warnung { border-color: #fe2c55; color: #ff8fa6; }
.vs-yt { color: #ff304f; }
.vs-tt { color: #25f4ee; }
.vs-titel { display: grid; min-width: 0; }
.vs-liste a.vs-titel { color: inherit; text-decoration: none; }
.vs-liste button.vs-titel, .vs-liste button.vs-zeilen-bild { padding: 0; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.vs-liste button.vs-titel { background: transparent; }
.vs-liste a.vs-titel:hover b, .vs-liste a.vs-titel:focus-visible b { color: #ff5475; text-decoration: underline; }
.vs-liste button.vs-titel:hover b, .vs-liste button.vs-titel:focus-visible b { color: #ff5475; text-decoration: underline; }
.vs-liste li[data-vs-entwurf] { cursor: pointer; }
.vs-entwurf-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 1px solid #34394a; border-radius: 14px; background: #10131c; color: #f5f6fa; }
.vs-entwurf-dialog::backdrop { background: rgba(0, 0, 0, .78); }
.vs-entwurf-dialog header { display: flex; justify-content: space-between; gap: 16px; align-items: start; padding: 16px 18px; border-bottom: 1px solid #2a2f3d; }
.vs-entwurf-dialog header small { color: #fe2c55; font-weight: 700; letter-spacing: .1em; }
.vs-entwurf-dialog header h3 { margin: 4px 0 0; font-size: 18px; }
.vs-entwurf-dialog header button { border: 0; background: transparent; color: inherit; cursor: pointer; }
.vs-entwurf-inhalt { display: grid; gap: 12px; padding: 16px 18px 18px; }
.vs-entwurf-inhalt p { margin: 0; color: #bdc5d3; line-height: 1.5; }
.vs-entwurf-inhalt video { width: 100%; max-height: min(60vh, 560px); border-radius: 9px; background: #000; }
.vs-verlauf-fehler { margin: 0 0 10px; color: #ff8fa6; font-size: 13px; }
.vs-titel b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-titel small { color: #7d8596; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-status { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.vs-s-laeuft { background: rgba(255, 196, 0, .14); color: #ffd24d; }
.vs-s-geplant { background: rgba(120, 140, 255, .16); color: #aab8ff; }
.vs-s-gut { background: rgba(61, 220, 151, .14); color: #3ddc97; }
.vs-s-fehler { background: rgba(254, 44, 85, .14); color: #ff8fa6; }
.vs-s-leise { background: #1a1d28; color: #8e97a9; }

@media (max-width: 980px) {
  .vs-studio { grid-template-columns: minmax(0, 1fr); grid-template-areas: "medien" "panel" "verlauf"; }
  .vs-panel { position: static; max-height: none; overflow: visible; }
  .vs-aktionsleiste { position: static; }
}
@media (max-width: 520px) {
  .vs-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .vs-plattformen { grid-template-columns: 1fr; }
  .vs-liste li { grid-template-columns: 18px 48px minmax(0, 1fr) auto; }
  .vs-liste li > .vs-externer-link { display: none; }
}

/* --- Ergänzungen 27.09.2026 (AL-20260927-02 bis -09, -25) ------------------------------------- */

/* Drei Reihen, die vierte angeschnitten und ausgeblendet, darunter "Mehr". */
.vs-raster.ist-gekuerzt { overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 110px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 110px), transparent); }
/* Das Kürzen schneidet alles ab, was über das Raster ragt - auch den roten
   Ring der ausgewählten Kachel (box-shadow außerhalb) und die Anhebung beim
   Überfahren. In der obersten Reihe und an den Seiten fehlten Rand und
   Markierung (Befund des Betreibers, 30.09.2026). 6 px Luft innen, gleich
   viel negativer Außenabstand: die Kacheln bleiben, wo sie waren. */
.vs-raster.ist-gekuerzt { padding: 6px 6px 0; margin: -6px -6px 0; }
.vs-raster > .vs-kachel[hidden] { display: none; }
.vs-mehr-leiste { display: flex; justify-content: center; gap: 8px; margin-top: -18px; position: relative; }
.vs-mehr-leiste > [hidden] { display: none; }
.vs-mehr-leiste[hidden] { display: none; }

/* Pflichtfeld leer */
.vs-feld input.ist-leer, .vs-feld textarea.ist-leer { border-color: #fe2c55; }

/* Termin und Zeitzone nebeneinander in der Zeile mit der Sichtbarkeit */
.vs-termin:not([hidden]) { display: contents; }

/* Thumbnail: vier Quellen */
.vs-thumbnail { display: grid; gap: 8px; }
.vs-feld-titel { font-size: 12.5px; font-weight: 600; }
.vs-quellen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border: 1px solid #2a2f3d; border-radius: 12px; background: #0b0d13; }
.vs-quellen button { min-height: 32px; padding: 0 6px; border: 0; border-radius: 8px; background: transparent; color: #aeb6c6; font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.vs-quellen button.ist-aktiv { background: #232838; color: #fff; }
.vs-mini-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; max-height: 230px; overflow: auto; }
.vs-mini { position: relative; display: block; aspect-ratio: 16 / 9; padding: 0; border: 1px solid #2a2f3d; border-radius: 8px; background: #05060a; overflow: hidden; cursor: pointer; }
.vs-mini img { width: 100%; height: 100%; object-fit: cover; }
.vs-mini img:not([src]) { visibility: hidden; }
.vs-mini.ist-gewaehlt { border-color: #ff304f; box-shadow: 0 0 0 1px #ff304f; }
.vs-mini.ist-gewaehlt .vs-haken { display: block; }

/* Verlauf: Vorschaubild je Zeile und Bearbeiten direkt darunter */
.vs-zeilen-bild { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; background: #05060a; overflow: hidden; }
.vs-zeilen-bild img { width: 100%; height: 100%; object-fit: cover; }
.vs-zeilen-bild img:not([src]) { visibility: hidden; }
.vs-liste li.vs-bearbeiten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px; border-color: #3a4052; background: #11131b; }
.vs-bearbeiten footer { display: flex; justify-content: flex-end; gap: 8px; }

/* Dasselbe Panel im Dialog an einem Medium */
.tt-dialog.vs-dialog { width: min(560px, 100%); }
.vs-dialog .tt-inhalt { padding: 14px 16px 16px; }
.vs-panel.ist-dialog { grid-area: auto; position: static; max-height: none; overflow: visible; padding: 0; border: 0; background: none; }
/* grid-area: auto (29.09.2026): im Dialog kennt das Raster keinen Bereich "panel" - sonst legte der Browser eine leere Spalte davor (Dialog aus dem Shorts-Werkzeug war eingerückt). */
.vs-panel.ist-dialog .vs-aktionsleiste { position: static; margin: 0; padding: 12px 0 0; }
@media (max-width: 520px) {
  .vs-quellen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* TikTok: Live-Stand nach dem Senden (28.09.2026). */
.vs-tt-live { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid #2d3342; border-radius: 10px; background: #12151d; }
.vs-tt-live p { display: flex; gap: 6px; margin: 0; font-size: 12.5px; line-height: 1.45; }
.vs-tt-live .ist-gut { color: #7fd8a5; }
.vs-tt-live .ist-fehler { color: #ff8497; }
.vs-tt-schritt { color: #c3c9d5; }
.vs-tt-balken { height: 6px; border-radius: 6px; background: #232836; overflow: hidden; }
.vs-tt-balken span { display: block; height: 100%; background: linear-gradient(90deg, #25f4ee, #fe2c55); transition: width .4s ease; }
.vs-tt-balken.ist-unbestimmt span { width: 40% !important; animation: vs-tt-lauf 1.3s ease-in-out infinite; }
@keyframes vs-tt-lauf { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.vs-tt-link { color: #25f4ee; font-weight: 700; text-decoration: none; }

/* Filter am Handy auf einer Zeile, seitlich wischbar (AL-20261003-49,
   Betreiber 04.10.2026): "Uploads" brach sonst allein in eine zweite Zeile um.
   Keine sichtbare Bildlaufleiste; der angetippte Filter rueckt ins Bild
   (contentfactory-veroeffentlichen-studio.js). Am PC unveraendert. */
@media (max-width: 760px) {
  .vs-filter { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .vs-filter::-webkit-scrollbar { display: none; }
  .vs-filter button { flex: none; white-space: nowrap; }
}
/* Vorschlag aus dem Videoskript (AL-20261008-41) */
.vs-vorschlag{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px;padding:9px 12px;border:1px solid #4a3a1d;border-radius:8px;background:rgba(245,194,107,.08);color:#f0d39a;font-size:12px}
.vs-vorschlag span{display:grid;gap:2px;min-width:0}
.vs-vorschlag small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c4cad8}
.vs-vorschlag em{display:none;color:#8fd6a8;font-style:normal}
.vs-vorschlag.ist-uebernommen button{display:none}
.vs-vorschlag.ist-uebernommen em{display:inline}

/* WL-12 (12.10.2026): Am PC beginnt das Panel auf Höhe der ersten Videoreihe statt
   auf Höhe der Überschrift "Deine Videos". Dafür wird die Videospalte durchsichtig
   (display:contents): Kopf mit Filtern in Zeile 1, Raster ab Zeile 2 neben dem
   Panel. Die Abstände der Spalte bleiben gleich (Zeilenabstand 0, eigene Ränder). */
@media (min-width: 981px) {
  .vs-studio { grid-template-areas: none; row-gap: 0; }
  .vs-medien { display: contents; }
  .vs-medien > * { grid-column: 1; min-width: 0; }
  .vs-medien > header { grid-row: 1; }
  .vs-medien > .vs-raster-huelle { grid-row: 2; }
  .vs-medien > .vs-mehr-leiste { grid-row: 3; }
  .vs-verlauf { grid-column: 1; grid-row: 4; margin-top: 20px; }
  .vs-panel { grid-column: 2; grid-row: 2 / span 3; }
}
/* MOB19-23 (19.10.2026): Tablet quer – neben der 420-px-Auswahl blieben der Videoliste 281 px, eine riesige Kachel je Zeile,
   die Filter brachen dreizeilig um. Dort ist die Auswahl 300 px breit, die Liste bekommt zwei Spalten. */
@media (min-width: 981px) and (max-width: 1100px) {
  .vs-studio { grid-template-columns: minmax(0, 1fr) 300px; }
  /* MOB19-60 (Betreiber 19.10.2026, iPad 6 quer): Das Panel war bis zu 100vh - 32px hoch, sichtbar ist unter der Kopfzeile
     aber weniger. Der klebende Knopf stand dadurch unter dem Rand und schob sich über „Thumbnail". Jetzt passt das Panel
     in die sichtbare Fläche; unter dem Knopf deckt die Panelfarbe den Rest ab. */
  .vs-panel { max-height: calc(100dvh - 112px); }

}
