/*
 * Techno-Hub Radio – Sendeplan & Slot-Buchung (1.106.0), nach der von Ronny am 21.11. freigegebenen Vorschau
 * (Social Sprint KW47/Vorschauen/sendeplan-freigegeben-2026-11-21.html). Präfix „rs-“. Views: account/_radio-book,
 * partials/radio-slots · JS: public/brand/js/radio-slots.js (+ radio.js für ‹ ›, mix-upload.js für den Upload).
 * Schriften kommen aus underground.css (UG Anton, UG Special Elite).
 */
.rs, .rs-calwrap {
  --rs-fg: #ecebe6; --rs-paper: #e9e6dc; --rs-dim: #8a8882; --rs-soft: #a8a6a0; --rs-line: rgba(255,255,255,.14);
  --rs-red: #ff2a1f; --rs-acid: #c6ff3d; --rs-bg: #0b0b0a;
  --rs-mono: "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, Menlo, monospace;
  --rs-display: "UG Anton", Impact, "Arial Narrow", sans-serif;
  --rs-type: "UG Special Elite", "Courier New", monospace;
  color: var(--rs-fg); font-family: var(--rs-mono);
}
.rs { background: var(--rs-bg); position: relative; }
.rs *, .rs-calwrap * { box-sizing: border-box; }
.rs [hidden], .rs-calwrap [hidden] { display: none !important; }
.rs a, .rs-calwrap a { color: inherit; text-decoration: none; }
.rs-wrap { max-width: 80rem; margin: 0 auto; padding: 0 16px; }
.rs-k { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--rs-dim); margin: 0; }
.rs-red { color: var(--rs-red); }
.rs-acid { color: var(--rs-acid); }
.rs-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--rs-red); box-shadow: 0 0 12px var(--rs-red); animation: rs-p 1.4s infinite; margin-right: 8px; }
@keyframes rs-p { 50% { opacity: .25; } }

/* HERO */
.rs-hero { border-bottom: 1px solid var(--rs-line); padding: 56px 0 36px; position: relative; overflow: hidden; }
.rs-hero::after { content: "ON AIR"; position: absolute; right: -2vw; bottom: -4vw; font-family: var(--rs-display); font-size: 22vw; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,42,31,.18); pointer-events: none; }
.rs-h1 { font-family: var(--rs-display); font-weight: 400; text-transform: uppercase; font-size: clamp(52px, 10vw, 148px); line-height: .86; margin: 14px 0 18px; letter-spacing: -.01em; position: relative; z-index: 1; }
.rs-h1 span { color: var(--rs-red); }
.rs-lead { font-family: var(--rs-type); font-size: clamp(17px, 2vw, 22px); max-width: 44rem; color: var(--rs-paper); margin: 0 0 26px; position: relative; z-index: 1; }
.rs-facts { display: flex; flex-wrap: wrap; border: 1px solid var(--rs-fg); width: max-content; max-width: 100%; position: relative; z-index: 1; }
.rs-facts div { padding: 12px 18px; border-right: 1px solid var(--rs-fg); }
.rs-facts div:last-child { border-right: 0; }
.rs-facts b { display: block; font-family: var(--rs-display); font-weight: 400; font-size: 28px; line-height: 1; }
.rs-facts small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--rs-soft); }
.rs-claim { margin: 22px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* SCHRITTLEISTE */
.rs-steps { position: sticky; top: var(--rs-top, 0px); z-index: 20; background: rgba(11,11,10,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 1px solid var(--rs-line); }
.rs-steps ol { list-style: none; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 80rem; }
.rs-steps li { padding: 14px 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rs-dim); border-bottom: 3px solid transparent; }
.rs-steps li b { font-family: var(--rs-display); font-weight: 400; font-size: 20px; margin-right: 8px; letter-spacing: 0; }
.rs-steps li.is-on { color: var(--rs-fg); border-color: var(--rs-red); }
.rs-steps li.is-done { color: var(--rs-acid); border-color: var(--rs-acid); }

.rs-block { padding: 44px 0; border-bottom: 1px solid var(--rs-line); scroll-margin-top: calc(var(--rs-top, 0px) + 56px); }
.rs-form > .rs-block { padding-left: 0; padding-right: 0; }
.rs-last { border-bottom: 0; }
.rs-bh { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.rs-h2 { font-family: var(--rs-display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 5vw, 60px); line-height: .9; margin: 6px 0 0; }
.rs-h2 i { font-style: normal; color: var(--rs-red); }
.rs-note { margin: 16px 0 0; padding: 14px 16px; border: 1px dashed rgba(255,255,255,.35); font-size: 13px; color: var(--rs-soft); }

/* KALENDER */
.rs-wk { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.rs-wk button { width: 42px; height: 42px; background: none; color: var(--rs-fg); border: 1px solid var(--rs-fg); font-size: 20px; cursor: pointer; font-family: inherit; }
.rs-wk button:hover:not(:disabled) { background: var(--rs-fg); color: var(--rs-bg); }
.rs-wk button:disabled { opacity: .3; cursor: default; }
.rs-wk span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; min-width: 12rem; text-align: center; }
.rs-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--rs-soft); margin-top: 14px; }
.rs-legend i { display: inline-block; width: 14px; height: 14px; vertical-align: -3px; margin-right: 6px; border: 1px solid var(--rs-fg); }
.rs-legend .rs-lm { background: var(--rs-red); border-color: var(--rs-red); }
.rs-legend .rs-lf { border-style: dashed; }
.rs-legend .rs-lb { background: #2a2a28; border-color: #2a2a28; }
.rs-legend .rs-ls { background: var(--rs-acid); border-color: var(--rs-acid); }

.rs-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--rs-fg); border-left: 1px solid var(--rs-fg); }
.rs-day { border-right: 1px solid var(--rs-fg); border-bottom: 1px solid var(--rs-fg); display: flex; flex-direction: column; min-width: 0; }
.rs-day.is-past { opacity: .45; }
.rs-dn { padding: 12px 12px 10px; border-bottom: 1px solid var(--rs-line); display: flex; justify-content: space-between; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.rs-dn b { font-family: var(--rs-display); font-weight: 400; font-size: 30px; line-height: 1; text-transform: uppercase; }
.rs-dn small { font-size: 11px; color: var(--rs-dim); }
.rs-day.is-today .rs-dn b { color: var(--rs-red); }
.rs-dn[data-today]::after { content: attr(data-today); font-size: 9px; letter-spacing: .16em; color: var(--rs-red); text-transform: uppercase; }
.rs-cells { padding: 8px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rs-c { position: relative; display: block; width: 100%; text-align: left; font-family: var(--rs-mono); color: var(--rs-fg); background: none; border: 1px solid var(--rs-line); padding: 9px 10px; font-size: 11px; overflow-wrap: anywhere; }
.rs-t { display: block; font-size: 10px; letter-spacing: .1em; color: var(--rs-soft); }
.rs-n { display: block; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
.rs-m { display: block; font-size: 10px; color: var(--rs-dim); margin-top: 2px; }
.rs-tag { display: inline-block; font-size: 9px; letter-spacing: .14em; padding: 2px 5px; border: 1px solid currentColor; margin-top: 6px; text-transform: uppercase; }
.rs-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rs-c.is-free { border-style: dashed; border-color: rgba(255,255,255,.4); cursor: pointer; transition: background .15s, border-color .15s; }
.rs-c.is-free:hover, .rs-c.is-free:focus-within { border-style: solid; border-color: var(--rs-fg); background: rgba(255,255,255,.05); }
.rs-c.is-free .rs-n::after { content: " →"; }
.rs-c.is-booked { background: #1c1c1a; border-color: #1c1c1a; }
.rs-c.is-booked .rs-n { color: var(--rs-paper); }
.rs-c.is-mine { border: 1px solid var(--rs-acid); }
.rs-c.is-mine .rs-n { color: var(--rs-acid); }
.rs-c.is-closed { opacity: .4; }
.rs-c.is-show { background: var(--rs-acid); color: #0b0b0a; border-color: var(--rs-acid); }
.rs-c.is-show .rs-t, .rs-c.is-show .rs-m { color: #2b3a00; }
.rs-c.is-sel { outline: 3px solid var(--rs-acid); outline-offset: -3px; }

/* MAIN-SLOT */
.rs-c.is-main { padding: 14px 12px 13px; border: 2px solid var(--rs-red); }
.rs-c.is-main::before { content: attr(data-main-label); position: absolute; top: -1px; right: -1px; background: var(--rs-red); color: #0b0b0a; font-size: 9px; font-weight: 800; letter-spacing: .18em; padding: 3px 6px; text-transform: uppercase; }
.rs-c.is-main .rs-t { color: var(--rs-red); font-weight: 700; }
.rs-c.is-main .rs-n { font-family: var(--rs-display); font-weight: 400; font-size: 22px; letter-spacing: .01em; line-height: 1; margin-top: 6px; }
.rs-c.is-main.is-free { background: linear-gradient(180deg, rgba(255,42,31,.16), rgba(255,42,31,.04)); border-style: solid; animation: rs-glow 2.4s infinite; }
.rs-c.is-main.is-free:hover, .rs-c.is-main.is-free.is-sel { background: var(--rs-red); color: #0b0b0a; }
.rs-c.is-main.is-free:hover .rs-t, .rs-c.is-main.is-free:hover .rs-m, .rs-c.is-main.is-free.is-sel .rs-t, .rs-c.is-main.is-free.is-sel .rs-m { color: #0b0b0a; }
@keyframes rs-glow { 0% { box-shadow: 0 0 0 0 rgba(255,42,31,.45); } 70% { box-shadow: 0 0 0 10px rgba(255,42,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,42,31,0); } }
.rs-c.is-main.is-booked { background: #1c1c1a; border-color: #5a1a16; }
.rs-c.is-main.is-booked::before { background: #5a1a16; color: var(--rs-fg); }
.rs-c.is-main.is-closed { border-color: #5a1a16; }
.rs-c.is-main.is-closed::before { background: #5a1a16; color: var(--rs-fg); }
.rs-rot { font-size: 10px; color: var(--rs-dim); letter-spacing: .08em; padding: 4px 2px 0; margin: auto 0 0; }

/* FORMULAR */
.rs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 32px; align-items: start; }
.rs-locked-hint { margin: 0 0 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rs-red); }
.rs-panel { border: 1px solid var(--rs-fg); margin: 0; padding: 0; min-width: 0; transition: opacity .2s; }
.rs-panel + .rs-panel { margin-top: 22px; }
.rs-panel.is-locked { opacity: .35; pointer-events: none; }
.rs-ph { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--rs-fg); width: 100%; float: left; }
.rs-ph + * { clear: both; }
.rs-ph b { font-family: var(--rs-display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--rs-red); }
.rs-ph span { font-family: var(--rs-display); font-weight: 400; font-size: 26px; text-transform: uppercase; letter-spacing: .01em; }
.rs-pb { padding: 20px 18px; clear: both; }
.rs-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rs-kind { position: relative; border: 1px solid var(--rs-line); padding: 18px; cursor: pointer; }
.rs-kind input { position: absolute; opacity: 0; }
.rs-kind strong { display: block; font-family: var(--rs-display); font-weight: 400; font-size: 30px; text-transform: uppercase; line-height: 1; }
.rs-kind span { display: block; font-size: 12px; color: var(--rs-soft); margin-top: 8px; line-height: 1.5; }
.rs-kind:has(input:checked) { border: 2px solid var(--rs-fg); background: rgba(255,255,255,.05); }
.rs-kind:has(input:focus-visible) { outline: 2px solid var(--rs-acid); outline-offset: 2px; }
.rs-kind.is-live:has(input:checked) { border-color: var(--rs-red); }
.rs-kind.is-live strong::before { content: "● "; color: var(--rs-red); }
.rs-kind.is-off { opacity: .35; cursor: not-allowed; }
.rs-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rs-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rs-w { grid-column: 1 / -1; }
.rs-f > span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--rs-soft); }
.rs-f input, .rs-f textarea { background: transparent; border: 0; border-bottom: 1px solid var(--rs-fg); border-radius: 0; color: var(--rs-fg); font-family: var(--rs-mono); font-size: 15px; padding: 10px 0; outline: none; width: 100%; }
.rs-f input:focus, .rs-f textarea:focus { border-color: var(--rs-red); box-shadow: none; }
.rs-f input::placeholder, .rs-f textarea::placeholder { color: var(--rs-dim); }
.rs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rs-chip span { display: inline-block; padding: 9px 13px; border: 1px solid rgba(255,255,255,.3); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.rs-chip input:checked + span { background: var(--rs-fg); color: var(--rs-bg); border-color: var(--rs-fg); }
.rs-chip input:focus-visible + span { outline: 2px solid var(--rs-acid); outline-offset: 2px; }
.rs-drop { position: relative; display: block; border: 2px dashed rgba(255,255,255,.35); padding: 34px 18px; text-align: center; cursor: pointer; }
.rs-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.rs-drop:hover, .rs-drop.is-drag { border-color: var(--rs-fg); }
.rs-drop.is-ready { border-style: solid; border-color: var(--rs-acid); }
.rs-drop strong { display: block; font-family: var(--rs-display); font-weight: 400; font-size: 28px; text-transform: uppercase; overflow-wrap: anywhere; }
.rs-drop small, .rs-small { color: var(--rs-soft); font-size: 11px; }
.rs-small { display: block; margin-top: 10px; line-height: 1.5; }
.rs-reuse { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.rs-reuse p { margin: 0; font-size: 12px; color: var(--rs-soft); }
.rs-reuse-btn { text-align: left; background: none; border: 1px solid var(--rs-acid); color: var(--rs-acid); font-family: var(--rs-mono); font-size: 12px; padding: 12px 14px; cursor: pointer; }
.rs-reuse-btn:hover { background: var(--rs-acid); color: var(--rs-bg); }
.rs-check { display: flex; gap: 10px; font-size: 12px; color: var(--rs-soft); line-height: 1.5; margin: 18px 0; }
.rs-check input { margin-top: 3px; accent-color: var(--rs-red); }
.rs-send { width: 100%; padding: 20px; background: var(--rs-red); color: #0b0b0a; border: 0; font-family: var(--rs-display); font-size: 30px; text-transform: uppercase; cursor: pointer; letter-spacing: .02em; }
.rs-send:hover:not(:disabled) { background: var(--rs-fg); }
.rs-send:disabled { opacity: .7; cursor: progress; }
.rs .mxu-progress { height: 6px; background: var(--rs-line); overflow: hidden; margin-top: 10px; }
.rs .mxu-progress span { display: block; height: 100%; width: 0; background: var(--rs-red); transition: width .3s ease; }
.rs-error { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--rs-red); color: var(--rs-red); font-size: 13px; }

/* ZETTEL „Deine Anfrage“ */
.rs-sum { position: sticky; top: calc(var(--rs-top, 0px) + 70px); border: 1px solid var(--rs-fg); background: var(--rs-paper); color: #0b0b0a; }
.rs-sh { padding: 14px 16px; border-bottom: 1px solid #0b0b0a; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; display: flex; justify-content: space-between; }
.rs-sb { padding: 18px 16px; }
.rs-big { font-family: var(--rs-display); font-size: 40px; line-height: .9; text-transform: uppercase; }
.rs-big.is-empty { color: #8a8882; font-size: 28px; }
.rs-sum dl { margin: 16px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 12px; }
.rs-sum dt { color: #5f5d57; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; padding-top: 2px; }
.rs-sum dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.rs-stamp { display: inline-block; margin-top: 16px; border: 2px solid var(--rs-red); color: var(--rs-red); font-size: 11px; letter-spacing: .16em; padding: 5px 8px; transform: rotate(-3deg); font-weight: 800; text-transform: uppercase; }
.rs-foot { padding: 12px 16px; border-top: 1px solid #0b0b0a; font-family: var(--rs-type); font-size: 14px; }

.rs-rules { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rs-fg); margin-top: 8px; }
.rs-rules div { padding: 18px; border-right: 1px solid var(--rs-fg); }
.rs-rules div:last-child { border-right: 0; }
.rs-rules b { font-family: var(--rs-display); font-weight: 400; font-size: 24px; text-transform: uppercase; display: block; margin-bottom: 6px; }
.rs-rules p { margin: 0; font-size: 12px; color: var(--rs-soft); line-height: 1.55; }

/* /radio: Sendeplan im selben Look */
.ug-radio-plan .rs-calwrap { margin-top: 18px; }

@media (max-width: 1000px) {
  .rs-cal { grid-template-columns: 1fr; }
  .rs-day.is-past { display: none; }
  .rs-day { flex-direction: row; }
  .rs-dn { flex-direction: column; justify-content: flex-start; width: 84px; border-bottom: 0; border-right: 1px solid var(--rs-line); flex-shrink: 0; }
  .rs-cells { flex-direction: row; flex-wrap: wrap; }
  .rs-cells .rs-c { width: calc(50% - 4px); }
  .rs-cells .rs-c.is-main, .rs-cells .rs-c.is-show, .rs-rot { width: 100%; }
  .rs-grid { grid-template-columns: 1fr; }
  .rs-sum { position: static; order: -1; }
}
@media (max-width: 620px) {
  .rs-steps li { font-size: 0; text-align: center; }
  .rs-steps li b { font-size: 20px; margin: 0; }
  .rs-kinds, .rs-fields, .rs-rules { grid-template-columns: 1fr; }
  .rs-rules div { border-right: 0; border-bottom: 1px solid var(--rs-fg); }
  .rs-rules div:last-child { border-bottom: 0; }
  .rs-facts div { padding: 10px 12px; }
  .rs-facts b { font-size: 22px; }
  .rs-day { flex-direction: column; }
  .rs-dn { flex-direction: row; width: auto; border-right: 0; border-bottom: 1px solid var(--rs-line); }
  .rs-wk span { min-width: 0; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-dot, .rs-c.is-main.is-free { animation: none; }
}
.rs-note.rs-gone { margin: 0 0 18px; border-style: solid; border-color: var(--rs-acid); color: var(--rs-fg); }

/* 1.106.0 Nachtrag: „Jetzt on air“, Sendungs-Links, öffentlicher Sendeplan, Sendungs-Seite */
.rs-c.is-now { outline: 3px solid var(--rs-red); outline-offset: -3px; }
.rs-c.is-now::after { content: "● " attr(data-now-label); display: block; margin-top: 6px; font-size: 9px; font-weight: 800; letter-spacing: .16em; color: var(--rs-red); text-transform: uppercase; animation: rs-p 1.4s infinite; }
.rs-c.is-show.is-now::after { color: #0b0b0a; }
a.rs-c.is-booked:hover { border-color: var(--rs-fg); }
a.rs-c.is-booked .rs-n::after { content: " ↗"; color: var(--rs-dim); }
.rs-cta { display: inline-block; margin-top: 22px; padding: 18px 26px; background: var(--rs-red); color: #0b0b0a; font-family: var(--rs-display); font-size: 28px; text-transform: uppercase; letter-spacing: .02em; }
.rs-cta:hover { background: var(--rs-fg); }
.rs-ghost { display: inline-block; padding: 12px 16px; border: 1px solid var(--rs-fg); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; background: none; color: var(--rs-fg); cursor: pointer; font-family: var(--rs-mono); }
.rs-ghost:hover { background: var(--rs-fg); color: var(--rs-bg); }
.rs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 14px; }
.rs-card { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--rs-line); padding: 18px; }
.rs-card:hover { border-color: var(--rs-fg); }
.rs-card.is-main { border: 2px solid var(--rs-red); }
.rs-card .rs-n { font-family: var(--rs-display); font-weight: 400; font-size: 34px; line-height: .95; margin: 0; }
.rs-card .rs-when { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rs-red); }
.rs-show-hero .rs-h1 { font-size: clamp(56px, 12vw, 170px); overflow-wrap: anywhere; }
.rs-count { font-family: var(--rs-display); font-size: clamp(40px, 7vw, 96px); line-height: 1; color: var(--rs-acid); margin: 10px 0 0; }
.rs-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-top: 18px; }
.rs-meta b { color: var(--rs-red); }
.rs-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.rs-show-grid { display: grid; grid-template-columns: 22rem minmax(0, 1fr); gap: 32px; align-items: start; }
.rs-show-cover { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--rs-fg); filter: grayscale(1) contrast(1.6); }
.rs-show-cover.is-blank { display: grid; place-items: center; background: #141413; font-family: var(--rs-display); font-size: 64px; color: var(--rs-red); filter: none; }
.rs-share textarea { width: 100%; background: transparent; border: 1px solid var(--rs-line); color: var(--rs-fg); font-family: var(--rs-type); font-size: 15px; padding: 12px; }
.rs-share .rs-copyline { display: flex; gap: 8px; }
.rs-share .rs-copyline input { flex: 1; min-width: 0; background: transparent; border: 1px solid var(--rs-line); color: var(--rs-fg); font-family: var(--rs-mono); padding: 10px; }
@media (max-width: 800px) { .rs-show-grid { grid-template-columns: 1fr; } .rs-show-cover { max-width: 18rem; } }
@media (prefers-reduced-motion: reduce) { .rs-c.is-now::after { animation: none; } }
.rs-wrap.rs-block { padding-left: 16px; padding-right: 16px; }

/* ===== Admin → Radio-Slots (1.107.0): Jahres-Kalender, Mittwochs-Playlist, Sendeplan-Tageskarten. Präfix „ra-“. ===== */
.ra {
  --ra-fg: #ecebe6; --ra-dim: #8a8882; --ra-soft: #a8a6a0; --ra-line: rgba(255,255,255,.14); --ra-red: #ff2a1f; --ra-acid: #c6ff3d; --ra-warn: #ffb020; --ra-bg: #0b0b0a;
  border: 1px solid var(--ra-fg); background: var(--ra-bg); color: var(--ra-fg); padding: 22px; display: flex; flex-direction: column; gap: 18px;
  font-family: "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, monospace;
}
.ra * { box-sizing: border-box; }
.ra a { color: inherit; }
.ra-k { margin: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ra-dim); }
.ra-h { margin: 4px 0 0; font-family: "UG Anton", Impact, sans-serif; font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: .9; text-transform: uppercase; }
.ra-h span { color: var(--ra-red); }
.ra-red { color: var(--ra-red) !important; } .ra-acid { color: var(--ra-acid) !important; } .ra-warn { color: var(--ra-warn) !important; } .ra-bad { color: var(--ra-red); }
.ra-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; }
.ra-note { margin: 0; font-size: 12px; line-height: 1.6; color: var(--ra-soft); }
.ra-alert { margin: 0; padding: 14px 16px; border: 2px solid var(--ra-red); background: rgba(255,42,31,.1); color: var(--ra-fg); font-size: 13px; }
.ra-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border: 1px solid var(--ra-fg); background: none; color: var(--ra-fg); font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.ra-btn:hover { background: var(--ra-fg); color: var(--ra-bg); }
.ra-btn.is-acid { background: var(--ra-acid); border-color: var(--ra-acid); color: var(--ra-bg); }
.ra-btn.is-red { background: var(--ra-red); border-color: var(--ra-red); color: var(--ra-bg); }
.ra-btn.is-danger:hover { background: var(--ra-red); border-color: var(--ra-red); }
.ra-btn.is-small { height: 32px; padding: 0 10px; font-size: 10px; }
.ra input, .ra select { background: #141413; border: 1px solid var(--ra-line); color: var(--ra-fg); font: inherit; font-size: 13px; height: 38px; padding: 0 10px; border-radius: 0; min-width: 0; }
.ra input:focus, .ra select:focus { outline: 2px solid var(--ra-acid); outline-offset: 0; }

/* Kalender */
.ra-monthnav { display: flex; align-items: center; gap: 8px; }
.ra-monthnav a, .ra-monthnav > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ra-fg); font-size: 20px; text-decoration: none; }
.ra-monthnav > span { opacity: .25; }
.ra-monthnav a:hover { background: var(--ra-fg); color: var(--ra-bg); }
.ra-monthnav select { height: 42px; min-width: 12rem; text-transform: capitalize; }
.ra-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ra-line); }
.ra-stats div { padding: 12px 14px; border-right: 1px solid var(--ra-line); }
.ra-stats div:last-child { border-right: 0; }
.ra-stats b { display: block; font-family: "UG Anton", Impact, sans-serif; font-weight: 400; font-size: 30px; line-height: 1; }
.ra-stats small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ra-dim); }
.ra-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--ra-line); border-left: 1px solid var(--ra-line); }
.ra-dow { padding: 8px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ra-dim); border-right: 1px solid var(--ra-line); border-bottom: 1px solid var(--ra-line); }
.ra-day { min-height: 128px; padding: 6px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--ra-line); border-bottom: 1px solid var(--ra-line); min-width: 0; }
.ra-day.is-out { background: #070707; opacity: .45; }
.ra-day.is-past .ra-chip { opacity: .5; }
.ra-num { font-family: "UG Anton", Impact, sans-serif; font-size: 20px; line-height: 1; color: var(--ra-soft); }
.ra-day.is-today { box-shadow: inset 0 0 0 2px var(--ra-red); }
.ra-day.is-today .ra-num { color: var(--ra-red); }
.ra-chip { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 3px 6px; font-size: 10px; line-height: 1.3; border: 1px solid var(--ra-line); text-decoration: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ra-chip a { overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.ra-chip form { display: contents; }
.ra-chip button { background: none; border: 0; color: inherit; cursor: pointer; font-size: 13px; padding: 0 2px; line-height: 1; }
.ra-chip.is-free { border-style: dashed; color: var(--ra-dim); }
.ra-chip.is-free:hover, .ra-chip.is-sel { border-style: solid; border-color: var(--ra-fg); color: var(--ra-fg); }
.ra-chip.is-sel { outline: 2px solid var(--ra-acid); }
.ra-chip.is-main.is-free { border-color: rgba(255,42,31,.6); color: #ff8a82; }
.ra-chip.is-booked { background: #232321; border-color: #232321; color: var(--ra-fg); font-weight: 700; }
.ra-chip.is-booked.is-main { background: var(--ra-red); border-color: var(--ra-red); color: var(--ra-bg); }
.ra-chip.is-pending { border-color: var(--ra-warn); color: var(--ra-warn); }
.ra-chip.is-show { background: var(--ra-acid); border-color: var(--ra-acid); color: var(--ra-bg); font-weight: 700; }
.ra-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ra-soft); }
.ra-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -2px; border: 1px solid var(--ra-line); }
.ra-legend i.is-main { background: var(--ra-red); border-color: var(--ra-red); }
.ra-legend i.is-booked { background: #232321; }
.ra-legend i.is-pending { border-color: var(--ra-warn); }
.ra-legend i.is-free { border-style: dashed; border-color: var(--ra-fg); }
.ra-legend i.is-show { background: var(--ra-acid); border-color: var(--ra-acid); }
.ra-assign { border: 1px dashed rgba(255,255,255,.35); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ra-assign-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr .6fr 1.2fr auto; gap: 10px; align-items: end; }
.ra-assign label, .ra-dcard label, .ra-plan-foot label { display: flex; flex-direction: column; gap: 4px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ra-dim); min-width: 0; }

/* Playlist */
.ra-total { min-width: 16rem; display: flex; flex-direction: column; gap: 4px; text-align: right; }
.ra-total b { font-family: "UG Anton", Impact, sans-serif; font-weight: 400; font-size: 44px; line-height: 1; }
.ra-total small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ra-dim); }
.ra-bar { display: block; height: 8px; background: var(--ra-line); }
.ra-bar i { display: block; height: 100%; background: var(--ra-acid); }
.ra-search { display: flex; gap: 8px; }
.ra-search input { flex: 1; height: 42px; }
.ra-results { display: flex; flex-direction: column; gap: 6px; }
.ra-result { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--ra-line); cursor: pointer; }
.ra-result:hover { border-color: var(--ra-fg); }
.ra-result:has(input:checked) { border-color: var(--ra-acid); background: rgba(198,255,61,.06); }
.ra-result.is-in { opacity: .5; cursor: default; }
.ra-result input { width: 18px; height: 18px; accent-color: #c6ff3d; }
.ra-result-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; }
.ra-result-txt small, .ra-track-txt small { font-size: 11px; color: var(--ra-dim); }
.ra-results-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.ra-check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ra-soft); }
.ra-check input { width: 18px; height: 18px; accent-color: #c6ff3d; }
.ra-pill { display: inline-block; padding: 2px 7px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--ra-line); color: var(--ra-soft); white-space: nowrap; }
.ra-pill.is-on { border-color: var(--ra-acid); color: var(--ra-acid); }
.ra-pill.is-warn { border-color: var(--ra-warn); color: var(--ra-warn); }
.ra-pill.is-bad { border-color: var(--ra-red); color: var(--ra-red); }
.ra-empty { margin: 0; padding: 28px; border: 1px dashed var(--ra-line); text-align: center; color: var(--ra-dim); font-size: 13px; }
.ra-tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); gap: 10px; }
.ra-track { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px; border: 1px solid var(--ra-line); border-left: 4px solid var(--ra-acid); }
.ra-track.is-raw { border-left-color: var(--ra-red); }
.ra-track.is-failed { border-color: var(--ra-red); }
.ra-track-cover { width: 96px; height: 96px; background: #141413; display: grid; place-items: center; font-family: "UG Anton", Impact, sans-serif; font-size: 26px; color: var(--ra-dim); }
.ra-track-cover img { width: 100%; height: 100%; object-fit: cover; }
.ra-track-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; }
.ra-track-txt b { font-family: "UG Anton", Impact, sans-serif; font-weight: 400; font-size: 22px; line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; margin-top: 4px; }
.ra-track-txt .ra-pill { align-self: flex-start; }
.ra-track-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.ra-track-act form { margin: 0; }

/* Sendeplan-Tageskarten */
.ra-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 10px; }
.ra-dcard { margin: 0; padding: 0; border: 1px solid var(--ra-line); min-width: 0; }
.ra-dcard.is-off { opacity: .5; }
.ra-dhead { width: 100%; float: left; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--ra-line); }
.ra-dhead b { font-family: "UG Anton", Impact, sans-serif; font-weight: 400; font-size: 24px; text-transform: uppercase; }
.ra-dmain { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; background: linear-gradient(180deg, rgba(255,42,31,.14), rgba(255,42,31,.03)); border-bottom: 1px solid var(--ra-line); }
.ra-dmain label:first-child { grid-column: 1 / -1; color: var(--ra-red); }
.ra-dmain input.is-big { height: 46px; font-family: "UG Anton", Impact, sans-serif; font-size: 26px; border-color: var(--ra-red); color: var(--ra-red); }
.ra-dmain label:last-child { grid-column: 1 / -1; }
.ra-dmore { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.ra-dmore .ra-wide { grid-column: 1 / -1; }
.ra-pair { display: flex; align-items: center; gap: 4px; color: var(--ra-dim); }
.ra-pair input { width: 100%; }
.ra-switch { flex-direction: row !important; align-items: center; gap: 8px !important; cursor: pointer; }
.ra-switch input { width: 18px; height: 18px; accent-color: #c6ff3d; }
.ra-plan-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-top: 14px; }
.ra-plan-foot input { width: 5rem; }

@media (max-width: 900px) {
  .ra { padding: 14px; }
  .ra-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ra-stats div:nth-child(2) { border-right: 0; }
  .ra-cal { grid-template-columns: 1fr; }
  .ra-dow { display: none; }
  .ra-day { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .ra-day.is-out { display: none; }
  .ra-num { width: 2.2rem; }
  .ra-assign-grid { grid-template-columns: 1fr 1fr; }
  .ra-total { text-align: left; }
  .ra-tracks { grid-template-columns: 1fr; }
}
.ra-dmore label:has(.ra-pair) { grid-column: 1 / -1; }
/* 1.107.2: Konto-Auswahl bei „Slot direkt vergeben“ */
.ra-assign-grid { grid-template-columns: 1fr 1.2fr 1.6fr 1.2fr 1fr .6fr auto; }
.ra-assign select[data-ra-user] { width: 100%; }
@media (max-width: 1100px) { .ra-assign-grid { grid-template-columns: 1fr 1fr; } .ra-assign-user { grid-column: 1 / -1; } }
/* 1.108.0: Slot-Sets (Automatik), „Set nachreichen“ */
.ra-up { margin-left: 4px; padding: 0 4px; background: var(--ra-warn); color: var(--ra-bg) !important; font-weight: 800; text-decoration: none; }
.ra-slotsets { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 8px; }
.ra-slotset { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px dashed var(--ra-line); }
.ra-slotset.is-main { border-color: rgba(255,42,31,.6); }
.ra-slotset.is-set { border-style: solid; }
.ra-slotset-title { font-family: "UG Anton", Impact, sans-serif; font-size: 20px; text-transform: uppercase; display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.ra-slotset-title small, .ra-slotset-state { font-family: inherit; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ra-dim); }
.ra-slotset.is-set .ra-slotset-state { color: var(--ra-acid); }
.ra-setup { border: 1px solid var(--ra-line); padding: 12px 14px; }
.ra-setup summary { cursor: pointer; }
.ra-setup ol { margin: 10px 0 0; padding-left: 20px; font-size: 13px; line-height: 1.8; }
.ra .mxu-progress { height: 6px; background: var(--ra-line); overflow: hidden; }
.ra .mxu-progress span { display: block; height: 100%; width: 0; background: var(--ra-red); transition: width .3s ease; }

/* Live-Sendung (1.110.0): Video-Feld (YouTube nach Klick) + Aktionen */
.rs-video { position: relative; aspect-ratio: 16 / 9; margin: 22px 0 12px; max-width: 880px; border: 1px solid rgba(255,255,255,.2);
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 2px, transparent 2px 4px), #111; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; padding: 16px; }
.rs-video::before { content: 'LIVE'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--rs-display); font-size: clamp(64px, 16vw, 160px); color: #1d0b09; pointer-events: none; overflow: hidden; }
.rs-video-load { position: relative; border: 2px solid var(--rs-fg); background: #000; color: var(--rs-fg); padding: 14px 22px; font-family: var(--rs-display); font-size: clamp(17px, 2.4vw, 24px); text-transform: uppercase; cursor: pointer; }
.rs-video-load:hover { background: var(--rs-red); border-color: var(--rs-red); color: #000; }
.rs-video small { position: relative; color: var(--rs-soft); font-size: 12px; max-width: 420px; }
.rs-video.is-loaded { padding: 0; background: #000; }
.rs-video.is-loaded::before { content: none; }
.rs-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.rs-live-actions { display: flex; flex-wrap: wrap; gap: 10px; }
