/* ablauf.css — re:union Sendeablauf (16.10.2026). Tokens aus resignal.css/admin.css, Zeilen wie Jukebox. */
.ab-jetzt { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-bottom: 22px;
  background: linear-gradient(120deg, rgba(0, 229, 255, .10), rgba(255, 43, 214, .08) 60%, transparent); }
.ab.ist-live .ab-jetzt { background: linear-gradient(120deg, rgba(138, 60, 255, .28), rgba(255, 43, 214, .12) 60%, transparent); }
.ab-jetzt-cover { width: 96px; height: 96px; border-radius: var(--ru-r-2); background: rgba(245, 239, 230, .06); overflow: hidden; position: relative; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8); }
.ab-jetzt-cover::before { content: "♫"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--ru-paper-50); }
.ab-jetzt-cover img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-jetzt-text { display: grid; gap: 3px; min-width: 0; }
.ab-jetzt-text .ad-lab { margin: 0; color: var(--ru-cyan); }
.ab.ist-live .ab-jetzt-text .ad-lab { color: var(--ru-magenta); }
.ab-jetzt-text b { font: 700 22px/1.2 var(--ru-f-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-jetzt-text > small { color: var(--ru-paper-70); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-balken { height: 5px; border-radius: 3px; background: rgba(245, 239, 230, .12); overflow: hidden; margin-top: 8px; }
.ab-balken i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ru-cyan), var(--ru-magenta)); transition: width 1s linear; }
.ab-jetzt-zeit { display: flex; justify-content: space-between; gap: 12px; font: 12px var(--ru-f-mono); color: var(--ru-paper-50); }
.ab-jetzt-zeit span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--ru-f-text); }

.ab-raster { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.ab-raster > * { min-width: 0; }
.ab-kopf { margin-bottom: 8px; }
.ab-kopf h2 { margin: 0 0 4px; font: 700 20px var(--ru-f-text); }
.ab-kopf .ad-meta { margin: 0; }
.ab-kopf-liste { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.ab-zeilen { list-style: none; margin: 0 0 12px; padding: 0; border: 1px solid var(--ru-line-2); border-radius: var(--ru-r-2); overflow: hidden; }
.ab-zeile { display: grid; grid-template-columns: 22px 46px 40px minmax(0, 1fr) auto 44px auto; gap: 12px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--ru-line-2); min-height: 56px; background: var(--ru-ink); }
.ab-zeile:first-child { border-top: 0; }
.ab-liste .ab-zeile { grid-template-columns: 22px 46px 40px minmax(0, 1fr) 44px auto; }
.ab-zeile.ist-fest { background: rgba(0, 229, 255, .05); }
.ab-zeile.ist-eigen { box-shadow: inset 3px 0 0 var(--ru-magenta); }
.ab-zeile.ist-jingle .ab-t b { font-weight: 500; color: var(--ru-paper-70); }
.ab-hinweiszeile, .ab-fehlerzeile { display: block; color: var(--ru-paper-50); font-size: 13.5px; min-height: 0; }
.ab-fehlerzeile { color: #ff7a5c; }
.ab-uhr { font: 12.5px var(--ru-f-mono); color: var(--ru-paper-70); }
.ab-cover { width: 40px; height: 40px; border-radius: var(--ru-r-1); background: rgba(245, 239, 230, .05); overflow: hidden; position: relative; }
.ab-cover::before { content: "♫"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ru-paper-50); }
.ab-cover img { position: relative; width: 40px; height: 40px; object-fit: cover; display: block; }
.ab-t { min-width: 0; display: grid; }
.ab-t b, .ab-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-t small { color: var(--ru-paper-50); font-size: 12px; }
.ab-tag { font: 600 11px var(--ru-f-text); letter-spacing: .04em; text-transform: uppercase; color: var(--ru-paper-50); white-space: nowrap; }
.ist-fest .ab-tag { color: var(--ru-cyan); }
.ist-eigen .ab-tag { color: var(--ru-magenta); }
.ab-l { font: 12px var(--ru-f-mono); color: var(--ru-paper-50); text-align: right; }
.ab-akt { display: flex; gap: 5px; align-items: center; justify-content: flex-end; }
.ab-schloss { width: 36px; text-align: center; opacity: .7; }
.ab-knopf { min-width: 36px; height: 36px; border: 1px solid var(--ru-line-2); border-radius: var(--ru-r-1); background: transparent; color: var(--ru-paper-70); cursor: pointer; font-size: 15px; }
.ab-knopf:hover:not(:disabled) { color: var(--ru-paper); border-color: var(--ru-paper-70); }
.ab-knopf:disabled { opacity: .3; cursor: default; }
.ab-knopf[data-ab-plus], .ab-knopf[data-ab-plus-oben] { color: var(--ru-cyan); border-color: rgba(0, 229, 255, .35); font-weight: 700; }
.ab-griff-leer { width: 22px; }
.ab-griff { cursor: grab; color: var(--ru-paper-50); font-size: 18px; touch-action: none; user-select: none; text-align: center; padding: 8px 0; }
.ab-zeile.ist-gezogen { position: fixed; z-index: 50; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .8); border: 1px solid var(--ru-cyan); pointer-events: none; }
.ab-zeile.ist-gezogen .ab-griff { cursor: grabbing; }
.ab-platz { list-style: none; border-top: 1px dashed var(--ru-cyan); background: rgba(0, 229, 255, .06); }
.ab-meldung { min-height: 1.4em; margin: 0 0 8px; font-size: 13.5px; }
.ab-meldung.ok { color: var(--ru-cyan); }
.ab-meldung.fehler { color: #ff4d2e; }
.ab-hinweis { margin: 4px 0 0; }

.ab-schalter { display: flex; gap: 10px; align-items: center; cursor: pointer; max-width: 380px; }
.ab-schalter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ab-schalter-bahn { flex: none; width: 42px; height: 24px; border-radius: 12px; background: rgba(245, 239, 230, .18); position: relative; transition: background .2s; }
.ab-schalter-bahn::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ru-paper); transition: transform .2s; }
.ab-schalter input:checked + .ab-schalter-bahn { background: var(--ru-magenta); }
.ab-schalter input:checked + .ab-schalter-bahn::after { transform: translateX(18px); }
.ab-schalter input:focus-visible + .ab-schalter-bahn { outline: 2px solid var(--ru-cyan); outline-offset: 2px; }
.ab-schalter > span:last-child { display: grid; font-size: 13.5px; }
.ab-schalter small { color: var(--ru-paper-50); font-size: 12px; }

.ab-rechts { position: sticky; top: 16px; }
.ab-reiter { display: flex; margin-bottom: 10px; }
.ab-reiter label { flex: 1; text-align: center; }
.ab-suche { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid var(--ru-line); border-radius: var(--ru-r-1); background: transparent; color: var(--ru-paper); font: 14px var(--ru-f-text); margin-bottom: 10px; }
.ab-suche:focus { outline: none; border-color: var(--ru-cyan); }
.ab-treffer { list-style: none; margin: 0 0 22px; padding: 0; border: 1px solid var(--ru-line-2); border-radius: var(--ru-r-2); max-height: 52vh; overflow: auto; }
.ab-tzeile { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 10px; border-top: 1px solid var(--ru-line-2); }
.ab-tzeile:first-child { border-top: 0; }
.ab-treffer-leer { padding: 12px; color: var(--ru-paper-50); font-size: 13px; }
.ab-verlauf-lab { margin-top: 0; }
.ab-verlauf { list-style: none; margin: 0; padding: 0; }
.ab-vzeile { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 8px; padding: 5px 0; font-size: 13px; }

@media (max-width: 1100px) {
  .ab-raster { grid-template-columns: 1fr; }
  .ab-rechts { position: static; order: -1; }
  .ab-treffer { max-height: 40vh; }
}
@media (max-width: 640px) {
  .ab-jetzt { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .ab-jetzt-cover { width: 64px; height: 64px; }
  .ab-jetzt-text b { font-size: 17px; }
  .ab-zeile { grid-template-columns: 40px 36px minmax(0, 1fr) auto; gap: 8px; padding: 8px; }
  .ab-liste .ab-zeile { grid-template-columns: 22px 36px minmax(0, 1fr) auto; }
  .ab-liste .ab-uhr, .ab-zeile .ab-l, .ab-zeile .ab-tag, .ab-liste .ab-knopf[data-ab-hoch], .ab-liste .ab-knopf[data-ab-runter], .ab-liste .ab-knopf[data-ab-hoeren] { display: none; }
  .ab-cover, .ab-cover img { width: 36px; height: 36px; }
}

/* 16.10.2026: Weiter / Sofort (1 s halten, wie Jukebox) */
.ab-jetzt-tasten { display: grid; gap: 6px; justify-items: end; text-align: right; }
.ab-jetzt-tasten small { font-size: 11.5px; color: var(--ru-paper-50); max-width: 220px; }
.ab-weiter { min-height: 48px; padding: 0 20px; font-size: 15px; }
.ab-knopf.ab-sofort { color: var(--ru-magenta); border-color: rgba(255, 43, 214, .4); }
[data-ab-halten] { position: relative; overflow: hidden; }
[data-ab-halten].haelt::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; background: var(--ru-cyan); animation: ab-halten 1s linear forwards; }
@keyframes ab-halten { from { width: 0; } to { width: 100%; } }
@media (max-width: 640px) {
  .ab-jetzt { grid-template-columns: 64px minmax(0, 1fr); }
  .ab-jetzt-tasten { grid-column: 1 / -1; justify-items: stretch; text-align: left; }
  .ab-zeile { grid-template-columns: 22px 40px 36px minmax(0, 1fr) auto; }
  .ab-zeilen:not(.ab-liste) .ab-knopf[data-ab-hoch], .ab-zeilen:not(.ab-liste) .ab-knopf[data-ab-runter] { display: none; }
}

/* 16.10.2026: Prüfliste übersprungener Titel */
.ab-pruef .ab-zeile.ab-pzeile { grid-template-columns: 40px minmax(0, 1fr) auto; }
.ab-knopf.ab-text { padding: 0 12px; font-size: 13px; font-weight: 600; }
.ab-knopf.ab-loeschen { color: #ff7a5c; border-color: rgba(255, 77, 46, .45); }
.ab-knopf.ab-loeschen.haelt::after { background: #ff4d2e; }
@media (max-width: 640px) {
  .ab-pruef .ab-zeile.ab-pzeile { grid-template-columns: 36px minmax(0, 1fr); }
  .ab-pruef .ab-pzeile .ab-akt { grid-column: 1 / -1; }
}
