/* ============================================================================
   Nachklang — Konzept „Sender", Bausteine der Startseite (public/index.html)
   Die Startseite als Sendezentrale: Logo links, Sendetafel „Auf Sendung"
   rechts, darunter Programm mit Studiouhr, Hörspiele auf Abruf, Sendungen,
   Empfang. So war es als Konzept gedacht; die Live-Seite ordnet es per
   sphaere.css neu an (Kugel fest in der Mitte, Sendetafel volle Breite).
   ========================================================================== */

@font-face {
  font-family: "Archivo NK"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations"), url(/assets/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo NK"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations"), url(/assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Grundregeln, die bis 27.09.2026 aus styles.css des alten Players kamen (gleiche Reihenfolge,
   damit die Regeln darunter wie bisher gewinnen) */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; width: 100%; min-height: 100%;
  background: #101a2d; color: #f5f7fa;
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; overscroll-behavior: none;
}
#landing { position: relative; }
#landing > *:not(.landing-hero-bg) { position: relative; z-index: 1; }

body.sd {
  --night: #05070d;
  --deep: #0a0f1c;
  --panel: rgba(9, 14, 26, .66);
  --ink: #eef2f8;
  --ink-2: rgba(238, 242, 248, .78);
  --dim: rgba(238, 242, 248, .58);
  --faint: rgba(238, 242, 248, .34);
  --line: rgba(238, 242, 248, .1);
  --line-2: rgba(238, 242, 248, .18);
  --red: #dc0404;
  --red-hi: #ff2d2d;
  --cyan: #3feaff;
  --font: "Archivo NK", "Open Sans", system-ui, sans-serif;
  --pad: clamp(18px, 3.4vw, 48px);
  font-family: var(--font);
  font-stretch: 100%;
  color: var(--ink);
}
html:has(body.sd) { background: #05070d; }
body.sd.view-landing { background: transparent; }
body.sd ::selection { background: var(--red); color: #fff; }
.sd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#landing.sd { max-width: none; margin: 0; padding: 0; isolation: auto; }
:where(#landing.sd) a { color: inherit; }
:where(#landing.sd, .sd-dock, .sd-full, .sd-nav, .sd-sheet) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sd-sheet { color: var(--ink); }
#landing.sd :focus-visible, .sd-sheet :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
#landing.sd :focus-visible, .sd-nav :focus-visible, .sd-dock :focus-visible, .sd-full :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
#landing.sd section[tabindex="-1"]:focus { outline: none; }

/* Feste Ebenen: Nachtgrund + Aurora (bg-radio.js) als ruhige Atmosphäre */
body.sd .nk-bg { position: fixed; inset: 0; z-index: -4; background: var(--night); }
body.sd #nk-three { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; pointer-events: none; opacity: .72; }
body.view-player .sd-nav, body.view-player .sd-dock, body.view-player .sd-full { display: none !important; }

/* ---- Kopfzeile: Logo links, Menü mittig, Radio rechts ---------------------------------- */
.sd-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: 76px; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  background: linear-gradient(180deg, rgba(5, 7, 13, .88), rgba(5, 7, 13, 0));
  transition: background-color .35s ease, box-shadow .35s ease;
}
.sd-nav.is-solid { background: rgba(5, 7, 13, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.sd-nav__brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.sd-nav__brand .ic { display: block; height: 36px; width: auto; filter: drop-shadow(0 0 10px rgba(220, 4, 4, .35)); }
.sd-nav__brand .wm { display: block; height: 19px; width: auto; }
.sd-nav__brand .lg { display: block; height: 44px; width: auto; margin-left: -8px; }
.sd-nav__menu {
  justify-self: center; position: relative; display: flex; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(10, 15, 28, .72); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -26px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.sd-nav__menu a {
  position: relative; z-index: 1; display: inline-flex; align-items: center; height: 38px; padding: 0 17px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--dim); text-decoration: none; white-space: nowrap; transition: color .25s;
}
.sd-nav__menu a:hover, .sd-nav__menu a[aria-current] { color: var(--ink); }
.sd-nav__glide {
  position: absolute; z-index: 0; top: 5px; left: 5px; height: 38px; width: 0; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .06)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: left .45s cubic-bezier(.3, .8, .2, 1), width .45s cubic-bezier(.3, .8, .2, 1), opacity .3s;
}
.sd-nav__glide::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: var(--red-hi); box-shadow: 0 0 8px rgba(255, 45, 45, .9); }
.sd-nav__end { justify-self: end; display: flex; align-items: center; gap: 10px; }
.sd-live {
  display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; color: var(--ink); border: 1px solid var(--line-2); background: rgba(10, 15, 28, .58);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .2s, border-color .2s, color .2s;
}
.sd-live[aria-pressed="true"] { color: #fff; border-color: rgba(63, 234, 255, .6); box-shadow: 0 0 0 1px rgba(63, 234, 255, .18), 0 0 22px -6px rgba(63, 234, 255, .7); }
.sd-live[aria-pressed="true"] .sd-eq { color: var(--cyan); }
.sd-live .sd-stop { display: none; width: 10px; height: 10px; border-radius: 2px; background: currentColor; flex: none; }
.sd-live[aria-pressed="true"]:hover .sd-eq { display: none; }
.sd-live[aria-pressed="true"]:hover .sd-stop { display: inline-block; }
.sd-burger { display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; background: rgba(10, 15, 28, .58); box-shadow: inset 0 0 0 1px var(--line-2); }
.sd-burger svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }
.sd-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); flex: none; animation: sdPulse 2s infinite; }
@keyframes sdPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 45, 45, .55); } 70% { box-shadow: 0 0 0 8px rgba(255, 45, 45, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 45, 45, 0); } }
/* Pegelbalken: Höhe = echter Pegel aus dem laufenden Ton (sender.js setzt
   --eq1…--eq4 auf <html>: Bass, Tiefmitten, Mitten, Höhen). */
.sd-eq { display: none; align-items: flex-end; gap: 2px; width: 15px; height: 13px; flex: none; }
.sd-eq i { flex: 1; min-width: 2px; background: currentColor; border-radius: 1px; height: 12%; transition: height .07s linear; }
.sd-eq i:nth-child(1) { height: calc(12% + var(--eq1, 0) * 88%); }
.sd-eq i:nth-child(2) { height: calc(12% + var(--eq2, 0) * 88%); }
.sd-eq i:nth-child(3) { height: calc(12% + var(--eq3, 0) * 88%); }
.sd-eq i:nth-child(4) { height: calc(12% + var(--eq4, 0) * 88%); }
.sd-live[aria-pressed="true"] .sd-dot { display: none; }
.sd-live[aria-pressed="true"] .sd-eq { display: inline-flex; }
/* Menü auf dem Handy: eigene Übersicht */
.sd-sheet { position: fixed; inset: 0; z-index: 110; display: none; padding: 90px var(--pad) 40px; background: rgba(5, 7, 13, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); overflow-y: auto; }
.sd-sheet.is-open { display: block; animation: sdFade .3s ease; }
.sd-sheet nav { display: flex; flex-direction: column; }
.sd-sheet nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 38px; line-height: 1; color: var(--ink); text-decoration: none; }
.sd-sheet__radio { display: flex; gap: 8px; margin-top: 30px; }
.sd-sheet__radio button { flex: 1; height: 54px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: 20px; }
.sd-sheet__radio button[aria-pressed="true"] { background: var(--cyan); color: #031418; }
.sd-sheet__close { position: absolute; right: var(--pad); top: 18px; height: 42px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; }

/* ---- Buttons ------------------------------------------------------------------------ */
.sd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--ink);
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: background-color .2s, border-color .2s, box-shadow .25s;
}
.sd-btn:hover { border-color: rgba(238, 242, 248, .5); }
.sd-btn--red { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 14px 34px -14px rgba(220, 4, 4, .8); }
.sd-btn--red:hover { background: var(--red-hi); border-color: var(--red-hi); }
.sd-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- HERO: Logo auf dem Globe links, Sendetafel rechts --------------------------------- */
.sd-hero { position: relative; overflow: hidden; }
.sd-hero__in {
  position: relative; z-index: 1; min-height: 100svh; max-width: 1560px; margin: 0 auto; padding: 100px var(--pad) 48px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center;
}
/* Globe der Sender-Seiten: sitzt hinter dem Logo, die Saiten laufen über die ganze
   Breite bis hinter die Sendetafel (Position/Größe setzt sender.js). */
.sd-hero > #nk-hero-viz { position: absolute; z-index: 0; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; display: none; opacity: 0; transition: opacity .9s ease; }
/* Der Radio-Globe erscheint erst beim Zuhören: das Teilchen-Logo formt sich zur
   Kugel und übergibt (partikel-logo.js setzt body.sd-sphere/-in). */
body.sd-sphere .sd-hero > #nk-hero-viz { display: block; }
body.sd-sphere-in .sd-hero > #nk-hero-viz { opacity: 1; }
.sd-hero > [data-plogo] { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
.sd-hero.is-plogo .sd-hero__logo img { opacity: 0; animation: none; }
/* Zuhören: das Logo ist zur Kugel geworden, Text und Knöpfe treten zurück,
   die Kugel steht allein (Steuerung liegt in Tafel und Player-Leiste). */
.sd-hero__text, .sd-hero__brand .sd-btns { transition: opacity .7s ease, transform .7s ease; }
body.sd-sphere-in .sd-hero__text, body.sd-sphere-in .sd-hero__brand .sd-btns { opacity: 0; transform: translateY(14px); pointer-events: none; }
.sd-hero__brand { text-align: center; }
.sd-hero__logo { margin: 0 auto 20px; line-height: 0; }
.sd-hero__logo img { width: min(600px, 100%); height: auto; filter: drop-shadow(0 0 44px rgba(220, 4, 4, .36)); }
.sd-hero__text { margin: 0 auto 28px; max-width: 32ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink); text-shadow: 0 2px 22px rgba(0, 0, 0, .95); }
.sd-hero__brand .sd-btns { justify-content: center; }
/* Neon zündet einmal */
.sd-intro .sd-hero__logo img { opacity: 0; }
.sd-intro-go .sd-hero__logo img { animation: sdNeon 1.25s linear forwards; }
@keyframes sdNeon { 0% { opacity: 0; } 5% { opacity: .85; } 8% { opacity: .08; } 12% { opacity: .7; } 14% { opacity: .12; } 22% { opacity: 1; } 25% { opacity: .5; } 28%, 100% { opacity: 1; } }

.sd-board { border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), 0 40px 90px -50px rgba(0, 0, 0, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; }
.sd-board__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 24px 14px; border-bottom: 1px solid var(--line); }
.sd-board__head h2 { margin: 0; font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 22px; letter-spacing: .01em; }
.sd-board__head span { font-size: 13.5px; color: var(--dim); font-variant-numeric: tabular-nums; }

.sd-row {
  position: relative; display: grid; grid-template-columns: 136px minmax(0, 1fr) auto 60px; gap: 8px 22px; align-items: center;
  padding: 22px 24px 24px; border-bottom: 1px solid var(--line); isolation: isolate; transition: background-color .4s ease;
}
.sd-row:last-child { border-bottom: 0; }
.sd-row.is-on { background: linear-gradient(90deg, rgba(63, 234, 255, .09), rgba(63, 234, 255, .02) 70%); }
.sd-row__live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #ff8a8a; }
.sd-row__live .sd-eq { color: var(--cyan); }
.sd-row.is-on .sd-row__live { color: var(--cyan); }
.sd-row.is-on .sd-row__live .sd-dot { display: none; }
.sd-row.is-on .sd-row__live .sd-eq { display: inline-flex; }
.sd-row__name { margin: 4px 0 2px; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(40px, 3.6vw, 56px); line-height: .9; }
.sd-row__claim { margin: 0; font-size: 12.5px; color: var(--dim); }
.sd-row__info { min-width: 0; }
.sd-row__title {
  margin: 0; font-weight: 700; font-stretch: 86%; font-size: clamp(22px, 2.05vw, 32px); line-height: 1.08;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance;
  transform-origin: 50% 0; perspective: 600px;
}
.sd-row__title.is-flip { animation: sdFlip .6s cubic-bezier(.3, .7, .2, 1); }
@keyframes sdFlip { 0% { transform: rotateX(-88deg); opacity: 0; } 100% { transform: rotateX(0); opacity: 1; } }
.sd-row__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); }
.sd-row__meta span:first-child { color: var(--cyan); font-weight: 600; }
.sd-row__next { margin: 5px 0 0; font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-row__next b { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; margin: 0 4px; }
.sd-row__cov { display: block; width: 86px; height: 86px; border-radius: 8px; overflow: hidden; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1); }
.sd-row__cov[hidden] { display: none; }
.sd-row__cov img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.sd-row__cov[href]:hover img { transform: scale(1.06); }
.sd-row__cov:not([href]) { cursor: default; }
/* Keine Tondaten (Browser liefert nur Nullen): statt toter Balken ein ruhiger Punkt. */
body.eq-dead .sd-eq { display: none !important; }
body.eq-dead .sd-live[aria-pressed="true"] .sd-dot, body.eq-dead .sd-row.is-on .sd-row__live .sd-dot { display: inline-block; background: var(--cyan); animation: none; }
.sd-play { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 12px 30px -10px rgba(220, 4, 4, .8); transition: background-color .2s, transform .1s; }
.sd-play:hover { background: var(--red-hi); }
.sd-play:active { transform: scale(.95); }
.sd-play svg { width: 22px; height: 22px; fill: currentColor; }
.sd-play .i-pause { display: none; }
.sd-play[aria-pressed="true"] { background: var(--cyan); color: #031418; box-shadow: 0 12px 30px -10px rgba(63, 234, 255, .7); }
.sd-play[aria-pressed="true"] .i-play { display: none; }
.sd-play[aria-pressed="true"] .i-pause { display: block; }
.sd-play.is-pending { animation: sdBreath 1s ease-in-out infinite; }
@keyframes sdBreath { 50% { opacity: .55; } }
.sd-row__bar { position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: var(--line); }
.sd-row__bar i { display: block; height: 100%; width: 0; background: rgba(255, 45, 45, .8); transition: width 1s linear; }
.sd-row.is-on .sd-row__bar i { background: var(--cyan); }
.sd-row__spec { position: absolute; left: 0; right: 0; bottom: 2px; width: 100%; height: 56px; z-index: -1; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.sd-row.is-on .sd-row__spec { opacity: 1; }
.sd-board__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.sd-board__foot button { font-weight: 700; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.sd-board__foot button:hover { color: var(--ink); }
.sd-board__foot svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ---- Abschnitte ------------------------------------------------------------------------- */
.sd-wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.sd-sec { padding: clamp(84px, 10vw, 150px) 0 0; }
.sd-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 18px 56px; align-items: end; margin-bottom: clamp(30px, 4vw, 48px); }
.sd-h { margin: 0; font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(38px, 4.6vw, 70px); line-height: .94; letter-spacing: -.005em; }
.sd-lead { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--dim); }

/* ---- Programm mit Studiouhr --------------------------------------------------------------- */
.sd-prog__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; margin-bottom: clamp(30px, 4vw, 48px); }
.sd-prog__head .sd-lead { margin-top: 16px; max-width: 52ch; }
.sd-clock { position: relative; width: 208px; height: 208px; margin: 0; flex: none; }
.sd-clock svg { width: 100%; height: 100%; display: block; }
.sd-clock circle { fill: rgba(238, 242, 248, .12); transition: fill .25s; }
.sd-clock circle.h { fill: rgba(238, 242, 248, .3); }
.sd-clock circle.on { fill: var(--red-hi); filter: drop-shadow(0 0 3px rgba(255, 45, 45, .9)); }
.sd-clock figcaption { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.sd-clock figcaption span { font-weight: 800; font-stretch: 75%; font-size: 50px; line-height: 1; font-variant-numeric: tabular-nums; }
.sd-clock figcaption small { margin-top: 4px; font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.sd-prog { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 22px; }
.sd-prog__col { border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 18px 18px 8px; }
.sd-prog__col h3 { margin: -4px 0 6px; text-align: center; line-height: 0; }
.sd-prog__col h3 img { width: min(250px, 80%); height: auto; }
/* Nächste Hörspiele im Radio, mit Countdown und Kalender-Erinnerung */
.sd-soon { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 0 0 22px; }
.sd-soon[hidden] { display: none; }
.sd-soon article { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 14px 12px 12px; border-radius: 16px; background: linear-gradient(90deg, rgba(63, 234, 255, .08), rgba(9, 14, 26, .66) 60%); box-shadow: inset 0 0 0 1px var(--line); }
.sd-soon img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; display: block; }
.sd-soon p { margin: 0; font-size: 12.5px; color: var(--dim); }
.sd-soon p b { color: var(--cyan); font-weight: 700; }
.sd-soon h4 { margin: 3px 0 8px; font-weight: 700; font-stretch: 88%; font-size: 18px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-soon .sd-mini { display: flex; gap: 8px; flex-wrap: wrap; }
.sd-mini a, .sd-mini button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .03); }
.sd-mini svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.sd-mini a:hover, .sd-mini button:hover { box-shadow: inset 0 0 0 1px rgba(238, 242, 248, .45); }
.sd-prog__col ol { list-style: none; margin: 0; padding: 0; }
.sd-slot { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.sd-slot time { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.sd-slot__type { display: block; font-size: 12px; color: var(--dim); }
.sd-slot__title { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-slot img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; display: block; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.sd-slot a.sd-slot__world { text-decoration: none; }
.sd-slot a.sd-slot__world:hover .sd-slot__title { text-decoration: underline; text-underline-offset: 3px; }
.sd-slot.is-now time { color: var(--red-hi); }
.sd-slot.is-now .sd-slot__type { color: var(--red-hi); font-weight: 700; }
.sd-slot.is-hs .sd-slot__type { color: var(--cyan); }
.sd-slot__bar { position: absolute; left: 62px; right: 0; bottom: 0; height: 2px; }
.sd-slot__bar i { display: block; height: 100%; width: 0; background: var(--red-hi); transition: width 1s linear; }
.sd-prog__empty { padding: 16px 0; color: var(--dim); font-size: 14px; }

/* ---- Hörspiele auf Abruf (Tracklist + Detailfeld) --------------------------------------- */
.sd-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 26px; }
.sd-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-pill { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--dim); transition: color .2s, border-color .2s, background-color .2s; }
.sd-pill span { margin-left: 6px; color: var(--faint); font-weight: 500; }
.sd-pill:hover { color: var(--ink); border-color: var(--faint); }
.sd-pill[aria-pressed="true"] { color: #fff; background: var(--red); border-color: var(--red); }
.sd-pill[aria-pressed="true"] span { color: rgba(255, 255, 255, .75); }
.sd-sort { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); margin-left: auto; }
.sd-sort button { height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--dim); }
.sd-sort button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--ink); }
.sd-search { display: flex; align-items: center; gap: 8px; height: 38px; width: min(280px, 100%); padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); }
.sd-search svg { width: 15px; height: 15px; flex: none; stroke: var(--dim); fill: none; stroke-width: 2; }
.sd-search input { flex: 1; min-width: 0; width: 0; border: 0; background: transparent; color: var(--ink); font: 14.5px var(--font); outline: none; }
.sd-search input::placeholder { color: var(--faint); }
.sd-deck { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.sd-detail { position: sticky; top: 92px; transition: opacity .2s ease; }
.sd-detail.is-swap { opacity: .35; }
.sd-detail__cov { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; }
.sd-detail__cov::before { content: ""; position: absolute; inset: 10% 8% -4%; z-index: -1; border-radius: 50%; background: var(--accent, #38e1e1); filter: blur(56px); opacity: .34; }
.sd-detail__cov img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .08); }
.sd-detail h3 { margin: 22px 0 0; font-weight: 800; font-stretch: 80%; font-size: clamp(30px, 2.6vw, 40px); line-height: 1; text-wrap: balance; }
.sd-detail p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
/* Themen als Tags */
.sd-detail .sd-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
.sd-tag { padding: 5px 12px 6px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.2; color: var(--ink-2); background: rgba(238, 242, 248, .06); box-shadow: inset 0 0 0 1px var(--line-2); }
.sd-detail .sd-btns { margin-top: 20px; }
.sd-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--dim); }
.sd-detail .sd-meta { margin: 10px 0 0; }
.sd-list { border-top: 1px solid var(--line); }
.sd-side { display: flex; align-items: center; gap: 12px; padding: 18px 0 10px; font-size: 13px; font-weight: 700; color: var(--dim); }
.sd-side::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sd-track { position: relative; display: grid; grid-template-columns: 30px 64px minmax(0, 1fr) 120px 64px 44px; align-items: center; gap: 16px; padding: 9px 12px 9px 6px; border-radius: 10px; transition: background-color .15s; }
.sd-track + .sd-track { box-shadow: 0 -1px 0 var(--line); }
.sd-track:hover, .sd-track.is-sel { background: rgba(255, 255, 255, .045); }
.sd-track__no { font-size: 12.5px; font-weight: 600; color: var(--faint); text-align: right; font-variant-numeric: tabular-nums; }
.sd-track__cov { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; display: block; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); background: var(--deep); }
.sd-track__main { min-width: 0; }
.sd-track__title { display: block; font-weight: 700; font-stretch: 90%; font-size: 18px; line-height: 1.2; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#landing.sd .sd-track__title { color: var(--ink); }
.sd-track__title::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.sd-track__sub { display: block; margin-top: 3px; font-size: 13px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-track__new { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 999px; background: var(--cyan); color: #031418; font-size: 11px; font-weight: 700; vertical-align: 2px; }
.sd-track__genre, .sd-track__dur { font-size: 13.5px; color: var(--dim); }
.sd-track__dur { text-align: right; font-variant-numeric: tabular-nums; }
.sd-track.is-resume .sd-track__dur { color: #ff8a8a; }
.sd-pvbtn { position: relative; z-index: 2; justify-self: end; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.sd-ring { --pv: 0; position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: conic-gradient(var(--cyan) calc(var(--pv) * 360deg), rgba(238, 242, 248, .16) 0); flex: none; }
.sd-pvbtn .sd-ring { width: 40px; height: 40px; }
.sd-ring::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: #0b1020; }
.sd-ring svg { position: relative; width: 12px; height: 12px; fill: var(--ink); margin-left: 2px; }
.sd-ring .i-pause { display: none; margin-left: 0; }
[aria-pressed="true"] > .sd-ring .i-play { display: none; }
[aria-pressed="true"] > .sd-ring .i-pause { display: block; }
.is-pending > .sd-ring { animation: sdSpin 1s linear infinite; background: conic-gradient(var(--cyan) 90deg, rgba(238, 242, 248, .16) 0); }
@keyframes sdSpin { to { transform: rotate(360deg); } }
.sd-empty { padding: 30px 6px; color: var(--dim); font-size: 15.5px; }

/* ---- Sendungen ------------------------------------------------------------------------------ */
.sd-show { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.sd-show img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .08); }
.sd-show p { margin: 18px 0 0; max-width: 52ch; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.sd-show .sd-onair { margin-top: 14px; font-size: 14px; color: var(--dim); }
.sd-show .sd-btns { margin-top: 26px; }

/* ---- Empfang: Stream-Adressen ------------------------------------------------------------------ */
.sd-recv { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 22px; }
.sd-recv article { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.sd-recv img { width: 96px; height: 96px; background: #fff; padding: 7px; border-radius: 10px; display: block; }
.sd-recv h3 { margin: 0 0 6px; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: 28px; line-height: 1; }
.sd-recv code { display: block; font-family: var(--font); font-size: 13.5px; color: var(--ink-2); word-break: break-all; }
.sd-copy { margin-top: 10px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; color: var(--ink); }
.sd-copy.ok { border-color: #6ee7a8; color: #6ee7a8; }
.sd-listen { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 28px 0 0; padding: 0; list-style: none; }
.sd-listen li:first-child { margin-right: 6px; font-size: 14px; color: var(--dim); }
.sd-listen a { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--dim); text-decoration: none; transition: color .2s, border-color .2s; }
.sd-listen a:hover { color: var(--ink); border-color: var(--faint); }
/* Podcasts (lib/podcastLinks.js): „Feed kopieren“ in der Hörspiel-Zeile unter „Überall hören“ */
.sd-listen .sd-feedcopy { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2); background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--dim); cursor: pointer; transition: color .2s, border-color .2s; }
.sd-listen .sd-feedcopy:hover { color: var(--ink); border-color: var(--faint); }
.sd-listen .sd-feedcopy.ok { color: #6ee7a8; border-color: #6ee7a8; }
/* Sendungsseiten und /hoerspiele: runde Symbole mit Tooltip */
.sd-podicons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.sd-podicons__t { margin-right: 6px; font-size: 14px; color: var(--dim); }
.sd-podicon { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--dim); font-size: 20px; text-decoration: none; cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.sd-podicon:hover, .sd-podicon:focus-visible { color: var(--ink); border-color: var(--faint); background: rgba(238, 242, 248, .06); }
.sd-podicon.ok { color: #6ee7a8; border-color: #6ee7a8; }
.sd-podicon::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translate(-50%, 4px); white-space: nowrap; padding: 6px 10px; border-radius: 8px;
  background: rgba(9, 14, 26, .96); box-shadow: inset 0 0 0 1px var(--line-2); font: 600 12.5px/1.2 var(--font); color: var(--ink); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.sd-podicon:hover::after, .sd-podicon:focus-visible::after, .sd-podicon.ok::after { opacity: 1; transform: translate(-50%, 0); }

/* ---- Über + Fragen -------------------------------------------------------------------------------- */
.sd-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 96px); align-items: start; }
.sd-about p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 60ch; }
.sd-faq details { border-top: 1px solid var(--line); }
.sd-faq details:last-child { border-bottom: 1px solid var(--line); }
.sd-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 16.5px; font-weight: 600; }
.sd-faq summary::-webkit-details-marker { display: none; }
.sd-faq summary::after { content: ""; width: 9px; height: 9px; margin-top: 6px; flex: none; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg); transition: transform .25s; }
.sd-faq details[open] summary::after { transform: rotate(-135deg); }
.sd-faq p { margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.sd-faq a { color: var(--cyan); }
.sd-foot { margin-top: clamp(90px, 10vw, 150px); padding: 30px 0 110px; }
.sd-foot .sd-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.sd-foot img { display: block; height: 40px; width: auto; }
.sd-foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.sd-foot a { font-size: 13.5px; color: var(--dim); text-decoration: none; }
.sd-foot a:hover { color: var(--ink); }

/* ---- Dock: Player unten, sobald etwas läuft -------------------------------------------------------- */
.sd-dock {
  position: fixed; left: 50%; bottom: 16px; z-index: 95; width: min(860px, calc(100vw - 24px)); transform: translate(-50%, 140%);
  display: grid; grid-template-columns: auto minmax(0, 1fr) 130px auto auto auto; gap: 12px; align-items: center; padding: 10px 12px 10px 18px;
  border-radius: 999px; background: rgba(8, 12, 22, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px -24px rgba(0, 0, 0, .95); transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.sd-dock.is-up { transform: translate(-50%, 0); }
.sd-dock__lamp { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--cyan); }
.sd-dock__lamp .sd-eq { display: inline-flex; }
.sd-dock__info { min-width: 0; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-dock canvas { width: 130px; height: 30px; display: block; }
.sd-dock__full, .sd-dock__stop, .sd-dock__timer { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.sd-dock__timer { border: 1px solid var(--line-2); color: var(--ink); font-variant-numeric: tabular-nums; }
.sd-dock__timer.is-set { border-color: rgba(63, 234, 255, .6); color: var(--cyan); }
.sd-timer { position: absolute; right: 90px; bottom: 60px; display: none; flex-direction: column; gap: 2px; padding: 6px; border-radius: 16px; background: rgba(8, 12, 22, .96); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -20px rgba(0, 0, 0, .9); }
.sd-timer.is-open { display: flex; }
.sd-timer button { height: 36px; padding: 0 16px; border-radius: 10px; font-size: 13.5px; font-weight: 600; text-align: left; color: var(--ink-2); }
.sd-timer button:hover { background: rgba(255, 255, 255, .07); color: var(--ink); }
.sd-timer p { margin: 4px 10px 6px; font-size: 12px; color: var(--dim); }
.sd-dock__full { border: 1px solid var(--line-2); color: var(--ink); }
.sd-dock__stop { background: var(--cyan); color: #031418; }

/* ---- Vollbild-Hören: Globe + Aurora ------------------------------------------------------------------ */
.sd-full { position: fixed; inset: 0; z-index: 120; display: none; color: var(--ink); background: radial-gradient(90% 90% at 50% 50%, rgba(5, 7, 13, 0), rgba(5, 7, 13, .5)); }
.sd-full.is-open { display: block; animation: sdFade .5s ease; }
@keyframes sdFade { from { opacity: 0; } to { opacity: 1; } }
body.sd-fullmode #landing, body.sd-fullmode .sd-nav, body.sd-fullmode .sd-dock { visibility: hidden; }
body.sd-fullmode #nk-three { opacity: 1; }
.sd-full > #nk-hero-viz { position: absolute; inset: 0; width: auto; height: auto; pointer-events: none; }
.sd-full__logo { position: absolute; left: var(--pad); top: 26px; height: 26px; width: auto; }
.sd-full__close { position: absolute; right: var(--pad); top: 18px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(8, 12, 22, .5); font-size: 14px; font-weight: 700; }
.sd-full__now { position: absolute; left: 50%; bottom: clamp(28px, 6vh, 64px); transform: translateX(-50%); width: min(760px, calc(100vw - 32px)); text-align: center; }
.sd-full__now p { margin: 0 0 6px; font-size: 13.5px; color: var(--dim); }
.sd-full__now h2 { margin: 0 0 20px; font-weight: 800; font-stretch: 82%; font-size: clamp(26px, 3vw, 42px); line-height: 1.05; text-shadow: 0 2px 24px rgba(0, 0, 0, .9); }
.sd-full__switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(8, 12, 22, .66); box-shadow: inset 0 0 0 1px var(--line-2); }
.sd-full__switch button { height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: 17px; color: var(--dim); }
.sd-full__switch button[aria-pressed="true"] { background: var(--cyan); color: #031418; }

/* ---- Responsive ----------------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .sd-nav { grid-template-columns: 1fr auto; }
  .sd-nav__menu { display: none; }
  .sd-burger { display: grid; }
  .sd-hero__in { grid-template-columns: 1fr; padding-top: 110px; }
  .sd-hero__logo img { width: min(460px, 86vw); }
  .sd-prog { grid-template-columns: 1fr; }
  .sd-recv { grid-template-columns: 1fr; }
  .sd-deck { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .sd-track { grid-template-columns: 56px minmax(0, 1fr) 56px 42px; }
  .sd-track__no, .sd-track__genre { display: none; }
  .sd-track__cov { width: 56px; height: 56px; }
}
@media (max-width: 820px) {
  .sd-head, .sd-prog__head, .sd-show, .sd-about { grid-template-columns: 1fr; }
  .sd-clock { width: 170px; height: 170px; }
  .sd-clock figcaption span { font-size: 40px; }
  .sd-deck { grid-template-columns: minmax(0, 1fr); }
  .sd-detail { display: none; }
  .sd-sort { margin-left: 0; }
  .sd-row { grid-template-columns: minmax(0, 1fr) auto; padding: 18px; }
  .sd-row__station { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; }
  .sd-row__name { font-size: 34px; margin: 0; }
  .sd-row__cov { display: none; }
  .sd-dock { grid-template-columns: auto minmax(0, 1fr) auto; border-radius: 22px; }
  .sd-dock canvas, .sd-dock__full { display: none; }
  .sd-dock { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  .sd-timer { right: 12px; }
  .sd-nav__brand .wm { height: 16px; }
  .sd-nav__brand .ic { height: 30px; }
}
@media (max-width: 520px) {
  .sd-track { grid-template-columns: 52px minmax(0, 1fr) 40px; gap: 12px; padding-right: 4px; }
  .sd-track__dur { display: none; }
  .sd-track__cov { width: 52px; height: 52px; }
  .sd-board__head { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .sd-dot, .sd-eq i, .is-pending > .sd-ring, .sd-play.is-pending { animation: none; }
  .sd-row__title.is-flip { animation: none; }
}
.sd-about .sd-h + p { margin-top: 22px; }

/* Vorschau links: ein roter Knopf öffnet das Hörspiel, mit Stand als „Weiterhören“ */
.sd-btn--hoeren { gap: 9px; padding: 0 22px 0 18px; }
.sd-btn--hoeren svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.sd-btn--hoeren small { font-size: 12.5px; font-weight: 600; opacity: .82; }

/* ---- Stimmungskarte: waagerecht leise (links, Cyan) bis angespannt (rechts, Rot),
        senkrecht Trost (oben, hell) bis Abgrund (unten, dunkel) ---------------------- */
.sd-mood { display: flex; gap: 16px; align-items: center; margin-top: 18px; }
.sd-mood__karte { flex: none; width: 124px; }
.sd-mood__info { min-width: 0; }
.sd-detail .sd-mood__text { margin: 0; display: grid; gap: 4px; }
.sd-detail .sd-mood__info .sd-tags { margin-top: 12px; gap: 6px; }
.sd-mood__text b { font-weight: 800; font-stretch: 85%; font-size: 22px; line-height: 1.05; color: var(--ink); }
.sd-mood__text span { font-size: 13.5px; color: var(--dim); }
@media (max-width: 1180px) {
  .sd-mood { gap: 14px; }
  .sd-mood__karte { width: 100px; }
}
.sd-moodmap {
  position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 214, 160, .16), rgba(255, 214, 160, 0) 46%, rgba(0, 0, 0, 0) 54%, rgba(0, 0, 0, .34)),
    linear-gradient(90deg, rgba(63, 234, 255, .17), rgba(63, 234, 255, .02) 50%, rgba(220, 4, 4, .04) 50%, rgba(220, 4, 4, .22)),
    rgba(9, 14, 26, .72);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.sd-moodmap::before, .sd-moodmap::after { content: ""; position: absolute; background: rgba(238, 242, 248, .09); pointer-events: none; }
.sd-moodmap::before { left: 50%; top: 7%; bottom: 7%; width: 1px; }
.sd-moodmap::after { top: 50%; left: 7%; right: 7%; height: 1px; }
.sd-moodmap__dot {
  position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(238, 242, 248, .4); cursor: pointer; transition: background-color .2s, box-shadow .2s, opacity .2s;
}
.sd-moodmap__dot::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; }
.sd-moodmap__dot:hover { background: #fff; }
.sd-moodmap__ich {
  position: absolute; z-index: 2; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; pointer-events: none;
  background: var(--accent, var(--cyan)); box-shadow: 0 0 0 3px rgba(5, 7, 13, .65), 0 0 18px 3px var(--accent, var(--cyan));
  transition: left .55s cubic-bezier(.3, .8, .2, 1), top .55s cubic-bezier(.3, .8, .2, 1), background-color .4s, box-shadow .4s;
}
.sd-moodmap__ich::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--accent, var(--cyan)); animation: sdMoodPuls 2.6s ease-out infinite; }
@keyframes sdMoodPuls { from { transform: scale(.55); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.sd-moodmap--gross { width: min(320px, 80vw); cursor: crosshair; touch-action: none; }
.sd-moodmap--gross:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sd-moodmap--gross .sd-moodmap__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: rgba(238, 242, 248, .34); pointer-events: none; }
.sd-moodmap--gross .sd-moodmap__dot.is-in { background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .75); }
.sd-moodmap__ax { position: absolute; z-index: 1; font-size: 11px; font-weight: 600; color: rgba(238, 242, 248, .5); pointer-events: none; }
.sd-moodmap__ax--t { top: 8px; left: 50%; transform: translateX(-50%); }
.sd-moodmap__ax--b { bottom: 8px; left: 50%; transform: translateX(-50%); }
.sd-moodmap__ax--l { left: 9px; top: 50%; transform: translateY(-140%); }
.sd-moodmap__ax--r { right: 9px; top: 50%; transform: translateY(-140%); }
.sd-moodmap__kreis {
  position: absolute; width: 48.4%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 45, 45, .16), rgba(255, 45, 45, 0) 70%); box-shadow: inset 0 0 0 1px rgba(255, 45, 45, .4);
  transition: left .12s linear, top .12s linear;
}
.sd-moodmap__ziel {
  position: absolute; z-index: 2; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; pointer-events: none;
  border: 2px solid var(--red-hi); background: rgba(255, 45, 45, .25); box-shadow: 0 0 16px rgba(255, 45, 45, .85);
  transition: left .12s linear, top .12s linear;
}
.sd-moodmap__kreis[hidden], .sd-moodmap__ziel[hidden] { display: none; }

/* Knopf „Stimmung" in der Listenleiste und die Karte darunter */
/* Leiste bleibt einzeilig: Stimmung ist ein Icon, das erst mit Auswahl Text und ✕ bekommt; die Suche gibt nach. */
.sd-listbar__rechts { display: flex; flex: 1 1 auto; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.sd-moodfilter { position: relative; display: flex; align-items: center; flex: none; border-radius: 10px; background: rgba(238, 242, 248, .06); transition: box-shadow .2s; }
.sd-moodfilter.is-on { box-shadow: inset 0 0 0 1px rgba(255, 45, 45, .55); }
.sd-moodbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 10px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: rgba(238, 242, 248, .78); white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.sd-moodbtn:not(.is-on) .sd-moodbtn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sd-moodbtn.is-on { padding-right: 2px; }
.sd-moodbtn__text { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.sd-moodbtn:hover, .sd-moodbtn[aria-expanded="true"] { color: #fff; background: rgba(238, 242, 248, .07); }
.sd-moodbtn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.sd-moodbtn svg circle { fill: var(--red-hi); stroke: none; }
.sd-moodbtn.is-on { color: #fff; }
.sd-moodclear { display: grid; place-items: center; width: 30px; height: 30px; margin-right: 4px; border-radius: 50%; color: var(--dim); }
.sd-moodclear:hover { color: #fff; background: rgba(238, 242, 248, .08); }
.sd-moodclear[hidden] { display: none; }
.sd-moodclear svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.sd-moodpop {
  position: absolute; z-index: 80; top: 0; left: 0; padding: 16px; border-radius: 16px; color: var(--ink); font-family: var(--font);
  background: rgba(9, 14, 26, .95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 70px -24px rgba(0, 0, 0, .95);
}
.sd-moodpop[hidden] { display: none; }
:where(.sd-moodpop) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sd-moodpop__t { margin: 0 0 12px; max-width: 320px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.sd-moodpop__fuss { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.sd-moodpop__fuss [data-mood-count] { flex: 1; font-size: 13px; color: var(--dim); }
.sd-moodpop .sd-btn { height: 38px; padding: 0 16px; font-size: 13.5px; }
@media (max-width: 1180px) and (min-width: 821px) {
  .sd-moodbtn.is-on { padding-right: 10px; }
  .sd-moodbtn.is-on .sd-moodbtn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 820px) {
  .sd-listbar__rechts { width: 100%; }
  .sd-moodpop { position: fixed; left: 12px !important; right: 12px; top: auto !important; bottom: 12px; }
  .sd-moodpop .sd-moodmap--gross { width: 100%; }
  .sd-moodpop__t { max-width: none; }
}
