/**
 * Sonos Station Manager – Website-Hülle (SSM 4.111.0)
 *
 * Lädt nur, wenn die Hülle rendert (ssm_shell_is_active), nach ssm-glowup.css.
 * Layout und Bedienung nach radioline.co, Farben unverändert: alle Flächen und
 * Schriften über die --ssm-*-Tokens. Dunkel-Werte stehen inline
 * (ssm_print_theme_css, ssm_shell_print_theme_css) – LiteSpeed-UCSS entfernt
 * [data-ssm-theme]-Regeln aus Dateien.
 *
 * Gegen das Critical CSS (inline, gewinnt bei gleicher Spezifität) tragen
 * Regeln für Kachel/Raster das Präfix .ssm-shell.
 *
 * INHALT
 *   1. Tokens
 *   2. Grundlagen
 *   2b. Gutenberg-Text (bis 4.117.x aus ssm-site.css, 4.118.0)
 *   3. Bausteine (Knöpfe, Icon-Knöpfe, Suchfeld)
 *   4. Kopfzeile
 *   5. Tab-Leiste (mobil)
 *   6. Fußzeile
 *   7. Seitenkopf, Prosa, Blog, 404
 *   8. Regal
 *   9. Kacheln (Sender, Kategorie, Land, Podcast)
 *  10. Raster der Übersichten
 *  11. Panels: Suche, Einstellungen, Chips, Umschalter (4.112.0)
 *  12. Player-Leisten über der Tab-Leiste (4.112.0)
 *  13. Startseite + Entdecken (4.113.0)
 *  14. Senderseite (4.114.0)
 *  15. Übersichten: kompaktes Logo-Raster (4.114.0)
 *  16. Podcasts (4.115.0)
 *  17. Player-Leiste + Vollbild-Player (4.116.0)
 *  18. Inhaltsseiten: Seitenkopf statt Hero, Feature-Karten, Anmeldeknöpfe (4.117.0)
 *  19. Werbestreifen (4.117.0)
 *  20. Bewegung reduzieren
 *
 * Dashicons: Die Hülle lädt die Schrift nicht (4.118.0) – Masken aus
 * ssm_shell_dashicon_css() (shell-components.php), inline im Kopf.
 *
 * Konzept: docs/konzept-eigenes-frontend.md
 */

/* ==========================================================================
   1. TOKENS
   Hellwerte wie style.css/ssm-glowup.css (dort nur im Senderkontext) –
   die Hülle soll auch ohne diese Dateien stimmen.
   ========================================================================== */

:root {
    --ssm-primary: #00B4D8;
    --ssm-primary-hover: #0096B7;
    /* 4.122.0: Linkfarbe – #0096B7 hatte nur 3,5:1 auf Weiß (WCAG AA 4,5:1) */
    --ssm-link: #007C99;
    /* 4.331.0: Fokusring mit 4,8:1 auf Weiß (#00B4D8 hatte 2,5:1, gefordert 3:1) */
    --ssm-focus: #007C99;
    --ssm-primary-light: rgba(0, 180, 216, 0.10);
    --ssm-accent: #FFC107;
    --ssm-heading: #0F172A;
    --ssm-text: #334155;
    --ssm-text-light: #64748B;
    --ssm-text-muted: #64748B; /* 4.122.0: lesbar nach WCAG AA (vorher 2,6:1 auf Weiß) */
    --ssm-background: #FFFFFF;
    --ssm-background-alt: #F1F5F9;
    --ssm-background-alt2: #F2F5F7;
    --ssm-background-page: #FAFBFC;
    --ssm-border: #E2E8F0;
    --ssm-border-light: #F1F5F9;
    --ssm-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --ssm-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --ssm-shadow-md: 0 4px 16px rgba(15, 23, 42, 0.10);
    --ssm-shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
    --ssm-gradient-primary: linear-gradient(135deg, #00B4D8 0%, #4F46E5 100%);
    --ssm-gradient-primary-hover: linear-gradient(135deg, #0096B7 0%, #4338CA 100%);
    --ssm-glass-bg: rgba(255, 255, 255, 0.86);
    --ssm-range-fill-a: #0096B7;   /* Lautstärke: gefüllter Teil (Verlauf) */
    --ssm-range-fill-b: #4F46E5;
    --ssm-range-track: #94A3B8;    /* … und Rest des Balkens */
    --ssm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ssm-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Neu mit der Hülle */
    --ssm-container: 1400px;
    --ssm-gutter: clamp(16px, 4vw, 48px);
    --ssm-header-h: 72px;
    --ssm-tabbar-h: 0px;
    --ssm-player-h: 0px;
    --ssm-bottom-stack: calc(var(--ssm-tabbar-h) + var(--ssm-player-h));
    --ssm-fs-display: clamp(2rem, 1.2rem + 3.2vw, 3.5rem);
    --ssm-fs-h1: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
    --ssm-fs-h2: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    --ssm-fs-h3: 1.0625rem;
    --ssm-fs-small: 0.8125rem;
    --ssm-radius-tile: 12px;
    --ssm-radius-cover: 20px;
    --ssm-tile-w: clamp(104px, 26vw, 156px);
    --ssm-shelf-gap: clamp(12px, 1.6vw, 22px);
    --ssm-glow: radial-gradient(1200px 520px at 12% -14%, rgba(0, 180, 216, 0.10), transparent 62%),
                radial-gradient(900px 420px at 92% -20%, rgba(79, 70, 229, 0.07), transparent 60%);
    --ssm-iconbtn-bg: rgba(15, 23, 42, 0.04);
    --ssm-iconbtn-bg-hover: rgba(15, 23, 42, 0.08);
    --ssm-iconbtn-border: #E2E8F0;
    --ssm-tile-plate: #FFFFFF;
    --ssm-tile-plate-border: #E2E8F0;
    --ssm-cat-shade: rgba(2, 6, 23, 0.18);
    --ssm-footer-bg: #F2F5F7;
}

@media (max-width: 899.98px) {
    :root {
        --ssm-header-h: 56px;
        --ssm-tabbar-h: calc(64px + env(safe-area-inset-bottom, 0px));
    }
}

/* ==========================================================================
   2. GRUNDLAGEN
   Ohne Theme gibt es keinen Reset – nur das Nötigste, auf die Hülle begrenzt.
   ========================================================================== */

body.ssm-shell *,
body.ssm-shell *::before,
body.ssm-shell *::after {
    box-sizing: border-box;
}

html:has(body.ssm-shell) {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--ssm-header-h) + 16px);
}

body.ssm-shell {
    margin: 0;
    min-height: 100vh;
    background-color: var(--ssm-background-page);
    background-image: var(--ssm-glow);
    background-repeat: no-repeat;
    background-size: 100% 680px;
    color: var(--ssm-text);
    font-family: var(--ssm-font-family);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: var(--ssm-bottom-stack);
    overflow-x: clip;
}

.ssm-shell :where(h1, h2, h3, h4, h5, h6) {
    color: var(--ssm-heading);
    line-height: 1.2;
    margin: 0 0 0.5em;
}

.ssm-shell :where(img, svg, video) {
    max-width: 100%;
}

.ssm-shell :where(img) {
    height: auto;
}

/* Spezifität 0,1,0 wie .ssm-chip/.ssm-page-btn – gewinnt per Reihenfolge,
   daher eine lesbare Farbe (4.122.0) */
.ssm-shell :where(a) {
    color: var(--ssm-link, var(--ssm-primary-hover));
}

.ssm-shell :where(button, input, select, textarea) {
    font: inherit;
    color: inherit;
}

.ssm-shell :where(input, select, textarea) {
    max-width: 100%;
}

.ssm-shell :where(p) {
    margin: 0 0 1em;
}

.ssm-shell :focus-visible {
    outline: 3px solid var(--ssm-focus, #007C99);
    outline-offset: 2px;
}

/* 4.331.0: Fokus nach dem Seitenwechsel (H1, Sprungziel) nur bei Tastatur sichtbar */
.ssm-shell [tabindex="-1"]:focus:not(:focus-visible) {
    outline: none;
}

/* hidden gilt auch für Elemente, deren Klasse display setzt (Icon-Knöpfe,
   Regal-Pfeile, Panels) – ssm-shell.js blendet darüber ein und aus */
body.ssm-shell [hidden] {
    display: none !important;
}

.ssm-icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.ssm-container {
    width: 100%;
    max-width: calc(var(--ssm-container) + 2 * var(--ssm-gutter));
    margin-inline: auto;
    padding-inline: var(--ssm-gutter);
}

/* Inhalte, die selbst schon einen Container mitbringen, nicht doppelt einrücken */
.ssm-container .ssm-container {
    padding-inline: 0;
}

.ssm-main {
    display: block;
    min-height: 50vh;
    padding-top: clamp(8px, 2vw, 24px);
}

/* Ohne theme.json kennt WordPress keine Inhaltsbreite – Gutenberg-Gruppen
   mit „constrained“-Layout richten sich nach diesen Werten */
body.ssm-shell {
    --wp--style--global--content-size: 760px;
    --wp--style--global--wide-size: var(--ssm-container);
}

/* Wie bei Block-Themes: Kinder „constrained“-Gruppen/Cover in Inhaltsbreite,
   zentriert (WordPress gibt das ohne theme.json nicht aus) */
.ssm-shell .is-layout-constrained > :where(:not(.alignleft, .alignright, .alignfull, .alignwide)) {
    max-width: var(--wp--style--global--content-size);
    margin-left: auto;
    margin-right: auto;
}

.ssm-shell .is-layout-constrained > .alignwide {
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto;
    margin-right: auto;
}

/* .hero-subtext (ssm-site.css, Cover der Favoriten-/Startseite) hat nur eine
   Höchstbreite – die Zentrierung kam bisher von Blocksy */
.ssm-shell .wp-block-cover__inner-container > .hero-subtext {
    margin-left: auto;
    margin-right: auto;
}

/* Startseite im Übergang (Gutenberg-Inhalt der Seite, bis 4.113.0) */
.ssm-start-content > :not(.alignfull) {
    max-width: calc(var(--ssm-container) + 2 * var(--ssm-gutter));
    margin-inline: auto;
    padding-inline: var(--ssm-gutter);
}

.ssm-main:focus {
    outline: none;
}

.ssm-skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ssm-heading);
    color: var(--ssm-background);
    font-weight: 600;
    text-decoration: none;
    transition: top 0.15s;
}

.ssm-skip-link:focus {
    top: 12px;
}

.ssm-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   2b. GUTENBERG-TEXT (4.118.0)
   Bis 4.117.x Abschnitt 3 von ssm-site.css – die Datei lädt in der Hülle
   nicht mehr (der Rest ist Blocksys Mega-Menü, Hero, Sprach-Dropdown).
   :where(.ssm-shell) und die frühe Stelle halten Spezifität und Reihenfolge
   wie bisher; Farben als Tokens (hell gleich, dunkel jetzt lesbar).
   ========================================================================== */

:where(.ssm-shell) .wp-block-group:not(.soundnode-hero) h2:where(.wp-block-heading) {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--ssm-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

:where(.ssm-shell) .wp-block-group:not(.soundnode-hero) h4:where(.wp-block-heading) {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--ssm-text-light);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

:where(.ssm-shell) .wp-block-group:not(.soundnode-hero) h4:where(.wp-block-heading)::after {
    content: '';
    flex: 1;
    height: 1px;
    margin-left: 1rem;
    background: var(--ssm-border);
}

:where(.ssm-shell) .wp-block-group ul.wp-block-list {
    margin-top: 1rem;
    padding-left: 1rem;
}

:where(.ssm-shell) .wp-block-group ul.wp-block-list li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    list-style: none;
}

/* 4.367.0: Punkt als Kreis auf der Mitte der ersten Zeile (lh = Zeilenhöhe des
   Eintrags). Vorher das Zeichen „•“ mit fester Zeilenhöhe und top: -4px – bei der
   größeren Zeilenhöhe am Handy saß es rund 6 px über der Zeilenmitte. */
:where(.ssm-shell) .wp-block-group ul.wp-block-list li::before {
    content: "";
    position: absolute;
    top: calc(0.8em - 3px);
    top: calc(0.5lh - 3px);
    left: 0.25rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ssm-primary);
}

:where(.ssm-shell) .wp-block-group p:where(.wp-block-paragraph) {
    margin-bottom: 1.1rem;
    color: var(--ssm-text);
    font-size: 1.05rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    :where(.ssm-shell) .wp-block-group:not(.soundnode-hero) h2:where(.wp-block-heading) {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   3. BAUSTEINE
   ========================================================================== */

.ssm-ui-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--ssm-background);
    color: var(--ssm-heading);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s var(--ssm-ease), border-color 0.2s var(--ssm-ease), color 0.2s var(--ssm-ease), transform 0.2s var(--ssm-ease);
}

.ssm-ui-btn:hover {
    transform: translateY(-1px);
}

.ssm-ui-btn--primary {
    background: var(--ssm-gradient-primary);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 150, 183, 0.28);
}

.ssm-ui-btn--primary:hover {
    background: var(--ssm-gradient-primary-hover);
    color: #fff;
}

.ssm-ui-btn--outline {
    background: transparent;
    border-color: var(--ssm-border);
    color: var(--ssm-heading);
}

.ssm-ui-btn--outline:hover {
    border-color: var(--ssm-text-muted);
    background: var(--ssm-iconbtn-bg);
}

.ssm-ui-btn--ghost {
    background: var(--ssm-iconbtn-bg);
    border-color: var(--ssm-iconbtn-border);
}

.ssm-ui-btn--ghost:hover {
    background: var(--ssm-iconbtn-bg-hover);
}

.ssm-ui-iconbtn {
    width: 44px;
    height: 44px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--ssm-iconbtn-border);
    background: var(--ssm-iconbtn-bg);
    color: var(--ssm-heading);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s var(--ssm-ease), border-color 0.2s var(--ssm-ease), opacity 0.2s;
}

.ssm-ui-iconbtn:hover {
    background: var(--ssm-iconbtn-bg-hover);
    color: var(--ssm-heading);
}

.ssm-ui-iconbtn:disabled {
    opacity: 0.35;
    cursor: default;
}

.ssm-ui-iconbtn--sm {
    width: 36px;
    height: 36px;
}

.ssm-ui-iconbtn .ssm-icon {
    width: 20px;
    height: 20px;
}

.ssm-ui-search {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 640px;
    margin: 0 0 24px;
}

.ssm-ui-search > .ssm-icon {
    position: absolute;
    left: 18px;
    color: var(--ssm-text-light);
    pointer-events: none;
}

.ssm-ui-search input {
    width: 100%;
    min-height: 54px;
    padding: 12px 20px 12px 52px;
    border-radius: 999px;
    border: 1px solid var(--ssm-border);
    background: var(--ssm-background);
    color: var(--ssm-heading);
    font-size: 17px;
    box-shadow: var(--ssm-shadow-sm);
}

.ssm-ui-search input:focus {
    outline: none;
    border-color: var(--ssm-focus, #007C99);
    /* 4.331.0: sichtbarer Ring statt 10-%-Schatten */
    box-shadow: 0 0 0 3px var(--ssm-focus, #007C99);
}

.ssm-empty {
    padding: 32px 0;
    color: var(--ssm-text-light);
}

/* ==========================================================================
   4. KOPFZEILE
   ========================================================================== */

.ssm-shell-header {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 900;
    height: var(--ssm-header-h);
    border-bottom: 1px solid transparent;
    transition: background-color 0.25s var(--ssm-ease), border-color 0.25s var(--ssm-ease), box-shadow 0.25s var(--ssm-ease);
}

.ssm-shell-header.is-scrolled {
    background: var(--ssm-glass-bg);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom-color: var(--ssm-border);
}

.ssm-shell-header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}

.ssm-shell-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ssm-heading);
    text-decoration: none;
    flex: none;
}

.ssm-shell .ssm-shell-logo {
    color: var(--ssm-heading);
}

/* Logo „Welle mit Knoten“ (assets/images/soundnode-logo.png, 313 × 48 = 2×);
   dunkel die Fassung mit weißer Schrift, umgeschaltet in ssm_shell_print_theme_css().
   Fremdes Logo per Filter (--mono): alte Höhe */
.ssm-shell-logo-img {
    display: block;
    width: auto;
    height: 21px;
}

.ssm-shell-logo-img--dark {
    display: none;
}

.ssm-shell-logo-img--mono {
    height: 40px;
}

.ssm-shell-nav {
    margin-left: auto;
}

.ssm-shell-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssm-shell-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--ssm-text-light);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s var(--ssm-ease), background-color 0.2s var(--ssm-ease);
}

.ssm-shell .ssm-shell-nav a {
    color: var(--ssm-text-light);
}

.ssm-shell .ssm-shell-nav a:hover {
    color: var(--ssm-heading);
    background: var(--ssm-iconbtn-bg);
}

.ssm-shell .ssm-shell-nav a[aria-current="page"] {
    color: var(--ssm-heading);
}

.ssm-shell-nav a[aria-current="page"] .ssm-icon {
    color: var(--ssm-primary);
}

.ssm-shell-nav a[aria-current="page"]::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 18px;
    height: 3px;
    margin-left: -9px;
    border-radius: 3px;
    background: var(--ssm-primary);
}

.ssm-shell-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobil: Einstellungen · Logo · Suche – Navigation sitzt in der Tab-Leiste */
@media (max-width: 899.98px) {
    .ssm-shell-header-inner {
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        gap: 8px;
    }

    .ssm-shell-nav {
        display: none;
    }

    .ssm-shell-actions {
        display: contents;
    }

    .ssm-shell-settings-btn {
        grid-column: 1;
        grid-row: 1;
    }

    .ssm-shell-header .ssm-shell-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .ssm-shell-search-btn {
        grid-column: 3;
        grid-row: 1;
    }

    .ssm-shell-logo-img {
        height: 17px;
    }

    .ssm-shell-logo-img--mono {
        height: 32px;
    }
}

@media (min-width: 900px) and (max-width: 1099.98px) {
    .ssm-shell-nav a {
        padding: 10px;
    }

    .ssm-shell-nav a > span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }
}

/* ==========================================================================
   5. TAB-LEISTE (MOBIL)
   ========================================================================== */

.ssm-tabbar {
    display: none;
}

@media (max-width: 899.98px) {
    .ssm-tabbar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 950;
        height: var(--ssm-tabbar-h);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: var(--ssm-glass-bg);
        -webkit-backdrop-filter: saturate(1.4) blur(16px);
        backdrop-filter: saturate(1.4) blur(16px);
        border-top: 1px solid var(--ssm-border);
    }

    .ssm-tabbar ul {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        height: 64px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .ssm-tabbar a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        height: 100%;
        color: var(--ssm-text-light);
        font-size: 11px;
        font-weight: 600;
        line-height: 1.1;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    .ssm-shell .ssm-tabbar a {
        color: var(--ssm-text-light);
    }

    .ssm-tabbar a .ssm-icon {
        width: 24px;
        height: 24px;
    }

    .ssm-shell .ssm-tabbar a[aria-current="page"],
    .ssm-tabbar a[aria-current="page"] {
        color: var(--ssm-primary-hover);
    }
}

/* ==========================================================================
   6. FUSSZEILE
   ========================================================================== */

.ssm-shell-footer {
    margin-top: clamp(48px, 8vw, 96px);
    padding: 48px 0 32px;
    background-color: var(--ssm-footer-bg);
    background-image: linear-gradient(var(--ssm-background-page), transparent 160px);
    color: var(--ssm-text-light);
    font-size: 15px;
}

.ssm-shell-footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--ssm-border);
}

/* v4.156.0: „Sender eintragen“ + „Podcast einreichen“ */
.ssm-shell-footer-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ssm-shell-footer-claim {
    margin: 10px 0 16px;
    color: var(--ssm-text-light);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
}

.ssm-shell-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssm-shell-footer-links {
    padding: 24px 0;
    border-bottom: 1px solid var(--ssm-border);
}

/* footer-links.css bringt Pills und Überschriften mit; Abstand regelt die Hülle */
.ssm-shell-footer-links .ssm-footer-links {
    margin: 0;
}

.ssm-shell-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding-top: 24px;
}

.ssm-shell-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssm-shell .ssm-shell-legal a,
.ssm-shell-consent {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ssm-text-light);
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.ssm-shell .ssm-shell-legal a:hover,
.ssm-shell-consent:hover {
    color: var(--ssm-heading);
    text-decoration: underline;
}

.ssm-shell-footer .ssm-lang-switch ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssm-shell-footer .ssm-lang-switch a {
    color: var(--ssm-text-light);
    font-size: 14px;
    text-decoration: none;
}

.ssm-shell-footer .ssm-lang-switch a[aria-current] {
    color: var(--ssm-heading);
    font-weight: 600;
}

.ssm-shell-copy {
    width: 100%;
    margin: 0;
    color: var(--ssm-text-muted);
    font-size: 13px;
}

/* ==========================================================================
   7. SEITENKOPF, PROSA, BLOG, 404
   ========================================================================== */

.ssm-page-head {
    padding: clamp(16px, 3vw, 32px) 0 clamp(12px, 2vw, 24px);
}

.ssm-page-title {
    margin: 0;
    font-size: var(--ssm-fs-h1);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ssm-heading);
}

.ssm-page-lead {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--ssm-text-light);
    font-size: 1.05rem;
}

.ssm-prose {
    max-width: 760px;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ssm-text);
}

/* Inhaltsseiten: Fließtext in der Lesespalte (zentriert), Blöcke und
   Plugin-Ausgaben in Containerbreite, .alignfull bis an den Rand.
   .ssm-page-text: Plugin-Ausgabe, die nur Text ist (Sonos-Seite,
   Bildnachweise) – der Titel richtet sich danach (ssm_shell_page_is_wide) */
.ssm-page-head--text,
.ssm-page-body > :where(p, h2, h3, h4, h5, h6, ul, ol, dl, blockquote, pre, table, hr, .ssm-page-text, .wpforms-container,
    .wp-block-paragraph, .wp-block-heading, .wp-block-list, .wp-block-quote, .wp-block-table,
    .wp-block-separator, .wp-block-image:not(.alignwide, .alignfull), .wp-block-embed:not(.alignwide, .alignfull)) {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* 4.460.0: Seiten mit breiten Blöcken (.ssm-page--wide, ssm_shell_page_is_wide):
   Seitenkopf und Fließtext linksbündig an der Containerkante, bündig mit den
   Blöcken – Breite der Lesespalte bleibt */
.ssm-page--wide > .ssm-page-body > :where(p, h2, h3, h4, h5, h6, ul, ol, dl, blockquote, pre, table, hr, .ssm-page-text, .ssm-page-hero, .wpforms-container,
    .wp-block-paragraph, .wp-block-heading, .wp-block-list, .wp-block-quote, .wp-block-table,
    .wp-block-separator, .wp-block-image:not(.alignwide, .alignfull), .wp-block-embed:not(.alignwide, .alignfull)) {
    margin-left: 0;
}

.ssm-page-body {
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ==========================================================================
   KONTAKT (4.461.0, contact-page.php)
   Formular als Karte wie das Sender-Formular (ssm-form.css), Wegweiser
   daneben – am Handy zuerst. WPForms über seine CSS-Variablen.
   ========================================================================== */

.ssm-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    grid-template-areas: "form routes";
    gap: 32px;
    align-items: start;
    margin: 0 0 clamp(32px, 5vw, 64px);
    line-height: 1.5;
}

.ssm-contact-form {
    grid-area: form;
    padding: 28px;
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius, 16px);
    background: var(--ssm-background);
    scroll-margin-top: 96px;
}

.ssm-contact-routes {
    grid-area: routes;
}

.ssm-contact .ssm-contact-h2 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ssm-heading);
}

.ssm-contact-intro {
    margin: 4px 0 20px;
    font-size: 14px;
    color: var(--ssm-text-light);
}

.ssm-contact .ssm-contact-route-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius, 16px);
    background: var(--ssm-background);
    overflow: hidden;
}

.ssm-contact .ssm-contact-route-list > li {
    margin: 0;
}

.ssm-contact .ssm-contact-route-list > li + li {
    border-top: 1px solid var(--ssm-border);
}

.ssm-contact .ssm-contact-route {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s var(--ssm-ease);
}

.ssm-contact .ssm-contact-route:hover {
    background: var(--ssm-iconbtn-bg);
}

.ssm-contact .ssm-contact-route:focus-visible {
    outline: 2px solid var(--ssm-focus, var(--ssm-primary));
    outline-offset: -2px;
}

.ssm-contact-route-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ssm-contact-route-arrow {
    display: inline-flex;
    color: var(--ssm-text-muted);
}

.ssm-contact-route-arrow .ssm-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s var(--ssm-ease);
}

.ssm-contact .ssm-contact-route:hover .ssm-contact-route-arrow .ssm-icon {
    transform: translateX(2px);
}

.ssm-contact-route-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--ssm-iconbtn-bg);
    color: var(--ssm-primary-hover);
}

.ssm-contact-route-icon .ssm-icon {
    width: 20px;
    height: 20px;
}

.ssm-contact .ssm-contact-route-title {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--ssm-heading);
}

.ssm-contact .ssm-contact-route-text {
    font-size: 14px;
    line-height: 1.45;
    color: var(--ssm-text-light);
}

.ssm-contact .ssm-contact-legal {
    margin: 16px 0 0;
    font-size: 14px;
    color: var(--ssm-text-light);
}

.ssm-contact-legal a {
    color: inherit;
}

/* ==========================================================================
   EINREICHEN: SENDER UND PODCAST (4.462.0, submit-layout.php)
   Formular links, Ablauf + Voraussetzungen rechts (am Handy davor),
   Vorteile als Kacheln, Tipps und Fragen nebeneinander.
   ========================================================================== */

.ssm-submit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    grid-template-areas: "main aside";
    gap: 32px;
    align-items: start;
    margin: 0 0 clamp(40px, 6vw, 72px);
}

.ssm-submit-main {
    grid-area: main;
    min-width: 0;
}

.ssm-submit-aside {
    grid-area: aside;
    display: grid;
    gap: 16px;
    align-items: start;
}

.ssm-shell .ssm-submit .ssm-app-section,
.ssm-shell .ssm-submit-benefits .ssm-app-section,
.ssm-shell .ssm-submit-more .ssm-app-section {
    max-width: none;
    margin: 0;
    padding: 0;
}

.ssm-shell .ssm-submit .ssm-sf,
.ssm-shell .ssm-submit .ssm-pod-submit {
    max-width: none;
    margin: 0;
}

.ssm-shell .ssm-submit-aside > .ssm-app-section {
    padding: 20px 22px;
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius, 16px);
    background: var(--ssm-background);
}

.ssm-shell .ssm-submit-aside h2.wp-block-heading {
    margin: 0 0 14px;
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0;
}

/* Ablauf: nummerierte Schritte */
.ssm-shell .ssm-submit-aside ol.ssm-app-checklist.wp-block-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: ssm-step;
}

.ssm-shell .ssm-submit-aside ol.ssm-app-checklist.wp-block-list li {
    position: relative;
    margin: 0;
    padding-left: 36px;
    font-size: 14.5px;
    line-height: 1.5;
    list-style: none;
    counter-increment: ssm-step;
}

.ssm-shell .ssm-submit-aside ol.ssm-app-checklist.wp-block-list li::before {
    content: counter(ssm-step);
    position: absolute;
    top: -1px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ssm-iconbtn-bg);
    color: var(--ssm-primary-hover);
    font-size: 13px;
    font-weight: 700;
}

/* Voraussetzungen: Haken statt Punkte */
.ssm-shell .ssm-submit-aside ul.ssm-app-facts.wp-block-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssm-shell .ssm-submit-aside ul.ssm-app-facts.wp-block-list li {
    position: relative;
    margin: 0;
    padding-left: 26px;
    font-size: 14.5px;
    line-height: 1.5;
    list-style: none;
}

.ssm-shell .ssm-submit-aside ul.ssm-app-facts.wp-block-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--ssm-primary-hover);
    font-weight: 800;
}

@media (min-width: 1025px) and (min-height: 760px) {
    .ssm-submit-aside {
        position: sticky;
        top: 96px;
    }
}

/* Überschriften der Abschnitte darunter: ruhig wie die Regale */
.ssm-shell .ssm-submit-benefits h2.wp-block-heading,
.ssm-shell .ssm-submit-more h2.wp-block-heading {
    margin: 0 0 16px;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    line-height: 1.25;
}

/* Vorteile als Kacheln */
.ssm-submit-benefits {
    margin: 0 0 clamp(40px, 6vw, 72px);
}

.ssm-shell .ssm-submit-benefits ul.ssm-app-checklist.wp-block-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 1024px) {
    .ssm-shell .ssm-submit-benefits ul.ssm-app-checklist.wp-block-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .ssm-shell .ssm-submit-benefits ul.ssm-app-checklist.wp-block-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

.ssm-shell .ssm-submit-benefits ul.ssm-app-checklist.wp-block-list li {
    margin: 0;
    padding: 16px 16px 16px 44px;
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius, 16px);
    background: var(--ssm-background);
    font-size: 14.5px;
}

.ssm-shell .ssm-submit-benefits ul.ssm-app-checklist.wp-block-list li::before {
    top: 15px;
    left: 18px;
}

/* Tipps und Fragen nebeneinander, weitere Abschnitte (Hinweis) als Karte darunter */
.ssm-submit-more {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 56px;
    margin: 0 0 clamp(32px, 5vw, 64px);
}

.ssm-submit-more--single {
    grid-template-columns: minmax(0, 760px);
}

.ssm-shell .ssm-submit-note {
    grid-column: 1 / -1;
    padding: 20px 22px;
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius, 16px);
    background: var(--ssm-background);
}

.ssm-shell .ssm-submit-note h2.wp-block-heading {
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.ssm-shell .ssm-submit-benefits ul.ssm-app-checklist.wp-block-list + p {
    margin-top: 16px;
}

.ssm-shell .ssm-submit-more h3.wp-block-heading {
    margin: 20px 0 4px;
    font-size: 1rem;
    line-height: 1.35;
}

.ssm-shell .ssm-submit-more h2.wp-block-heading + h3.wp-block-heading {
    margin-top: 0;
}

.ssm-shell .ssm-submit-more p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .ssm-submit {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "aside" "main";
        gap: 24px;
    }

    .ssm-submit-aside {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 760px) {
    .ssm-submit-more {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

/* WPForms (modern markup): Farben und Maße der Seite – alle Formulare der
   Website (Kontakt, Konto löschen), wie das Sender-Formular */
.ssm-shell .wpforms-container {
    --wpforms-field-border-radius: var(--ssm-radius-sm, 10px);
    --wpforms-field-border-color: var(--ssm-border);
    --wpforms-field-background-color: var(--ssm-background-alt, var(--ssm-background));
    --wpforms-field-text-color: var(--ssm-text);
    --wpforms-label-color: var(--ssm-heading);
    --wpforms-label-sublabel-color: var(--ssm-text-light);
    --wpforms-field-size-input-height: 46px;
    --wpforms-field-size-font-size: 16px;
    --wpforms-label-size-font-size: 15px;
    --wpforms-button-border-radius: 999px;
    --wpforms-button-background-color: var(--ssm-primary);
    --wpforms-button-text-color: #fff;
    margin-top: 0;
    margin-bottom: 0;
}

/* Kästchen sonst kaum sichtbar (Rand der Felder auf heller Fläche) */
.ssm-shell .wpforms-container .wpforms-field-checkbox,
.ssm-shell .wpforms-container .wpforms-field-radio,
.ssm-shell .wpforms-container .wpforms-field-gdpr-checkbox {
    --wpforms-field-border-color: var(--ssm-text-muted);
}

.ssm-shell .wpforms-container .wpforms-field {
    padding: 0 0 18px;
}

.ssm-shell .wpforms-container .wpforms-field-label {
    margin: 0 0 6px;
    font-weight: 600;
}

.ssm-shell .wpforms-container input.wpforms-field-medium,
.ssm-shell .wpforms-container .wpforms-field-row.wpforms-field-medium {
    max-width: none;
}

.ssm-shell .wpforms-container .wpforms-field-sublabel {
    margin-top: 4px;
    font-size: 13px;
}

.ssm-shell .wpforms-container input[type="text"],
.ssm-shell .wpforms-container input[type="email"],
.ssm-shell .wpforms-container textarea {
    max-width: none;
    font-family: inherit;
}

.ssm-shell .wpforms-container textarea {
    min-height: 160px;
}

.ssm-shell .wpforms-container input:focus,
.ssm-shell .wpforms-container textarea:focus {
    outline: 2px solid var(--ssm-focus, var(--ssm-primary));
    outline-offset: 1px;
    border-color: transparent;
    box-shadow: none;
}

.ssm-shell .wpforms-container .wpforms-submit-container {
    padding-top: 4px;
}

.ssm-shell .wpforms-container button.wpforms-submit {
    min-height: 46px;
    height: auto;
    padding: 10px 26px;
    border: 0;
    background: var(--ssm-gradient-primary);
    box-shadow: 0 8px 22px rgba(0, 150, 183, 0.28);
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s var(--ssm-ease), background 0.2s var(--ssm-ease);
}

.ssm-shell .wpforms-container button.wpforms-submit:hover {
    background: var(--ssm-gradient-primary-hover);
    transform: translateY(-1px);
}

.ssm-shell .wpforms-confirmation-container-full {
    padding: 16px;
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius-sm, 10px);
    background: var(--ssm-background-alt, var(--ssm-background));
    color: var(--ssm-text);
}

@media (max-width: 960px) {
    .ssm-contact {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "routes" "form";
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .ssm-contact-form {
        padding: 20px 16px;
    }

    .ssm-contact .ssm-contact-route {
        grid-template-columns: 36px minmax(0, 1fr) 18px;
        gap: 12px;
        padding: 12px 14px;
    }

    .ssm-contact-route-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
}

.ssm-page-body > .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Inhalt von Vollbreiten-Blöcken nicht an den Fensterrand kleben (App-Seite);
   :where() hält die Spezifität bei 0 – eigene Abstände des Blocks gewinnen */
.ssm-page-body > :where(.alignfull) {
    padding-left: var(--ssm-gutter);
    padding-right: var(--ssm-gutter);
}

.ssm-page-body > :where(h2) {
    margin-top: 1.8em;
    font-size: 1.5rem;
}

/* Lange Adressen (Impressum: ec.europa.eu/…) brechen um – sonst wird die
   Seite mobil breiter als der Bildschirm und der Browser zoomt heraus */
.ssm-shell .entry-content,
.ssm-prose {
    overflow-wrap: anywhere;
}

.ssm-prose :where(h2) {
    margin: 1.8em 0 0.6em;
    font-size: 1.5rem;
    font-weight: 750;
}

.ssm-prose :where(h3) {
    margin: 1.6em 0 0.5em;
    font-size: 1.2rem;
    font-weight: 700;
}

.ssm-prose :where(ul, ol) {
    padding-left: 1.3em;
    margin: 0 0 1.2em;
}

.ssm-prose :where(li) {
    margin: 0.3em 0;
}

.ssm-prose :where(a) {
    color: var(--ssm-primary-hover);
    text-underline-offset: 2px;
}

.ssm-prose :where(blockquote) {
    margin: 1.4em 0;
    padding: 4px 0 4px 18px;
    border-left: 3px solid var(--ssm-primary);
    color: var(--ssm-text-light);
}

.ssm-prose :where(img) {
    border-radius: var(--ssm-radius-tile);
}

/* Einreichungsformular (ssm-form.css): Die ACF-Reiter stehen nowrap
   nebeneinander – auf schmalen Bildschirmen wischbar statt Überbreite */
@media (max-width: 479.98px) {
    .ssm-shell .acf-tab-group {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .ssm-shell .acf-tab-group li {
        flex: 1 0 auto;
    }
}

/* --- Blog (4.120.0, shell-blog.php + templates/shell/blog.php) -------- */

.ssm-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 24px;
}

.ssm-blog-head .ssm-page-kicker,
.ssm-blog-head .ssm-page-kicker .ssm-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ssm-blog-head .ssm-page-kicker .ssm-icon {
    width: 18px;
    height: 18px;
}

/* Karte */
.ssm-post-card {
    min-width: 0;
}

.ssm-post-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius-cover);
    background: var(--ssm-background);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s var(--ssm-ease), box-shadow 0.25s var(--ssm-ease), border-color 0.25s var(--ssm-ease);
}

.ssm-post-card-link:hover {
    border-color: transparent;
    box-shadow: var(--ssm-shadow-md);
    transform: translateY(-3px);
}

.ssm-post-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background: var(--ssm-background-alt);
    color: var(--ssm-text-muted);
    overflow: hidden;
}

.ssm-post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ssm-ease);
}

.ssm-post-card-link:hover .ssm-post-card-media img {
    transform: scale(1.03);
}

.ssm-post-card-media.is-empty .ssm-icon {
    width: 42px;
    height: 42px;
    stroke-width: 1.5;
}

.ssm-post-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 22px;
}

.ssm-post-card-meta,
.ssm-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--ssm-text-muted);
    font-size: 13px;
    font-weight: 600;
}

.ssm-post-card-title {
    margin: 0;
    color: var(--ssm-heading);
    font-size: 1.15rem;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.ssm-post-card-text {
    color: var(--ssm-text-light);
    font-size: 15px;
    line-height: 1.55;
}

/* Neuester Beitrag groß */
.ssm-post-card--feature {
    margin: 0 0 28px;
}

.ssm-post-card--feature .ssm-post-card-title {
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    line-height: 1.2;
}

.ssm-post-card--feature .ssm-post-card-text {
    font-size: 16px;
}

.ssm-post-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
    color: var(--ssm-primary-hover);
    font-weight: 700;
}

.ssm-post-card-more .ssm-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.25s var(--ssm-ease);
}

.ssm-post-card-link:hover .ssm-post-card-more .ssm-icon {
    transform: translateX(3px);
}

@media (min-width: 900px) {
    .ssm-post-card--feature .ssm-post-card-link {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    }

    .ssm-post-card--feature .ssm-post-card-media {
        aspect-ratio: auto;
        min-height: 320px;
    }

    .ssm-post-card--feature .ssm-post-card-body {
        justify-content: center;
        gap: 12px;
        padding: 36px 40px;
    }
}

/* Regal „Aus dem Blog“ */
.ssm-shelf--posts .ssm-shelf-row {
    grid-auto-columns: min(340px, 82vw);
}

.ssm-shelf--posts .ssm-post-card-body {
    padding: 14px 16px 18px;
}

.ssm-shelf--posts .ssm-post-card-title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 1rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Beitrag */
.ssm-post {
    padding-top: clamp(16px, 3vw, 32px);
}

.ssm-post-head,
.ssm-post-layout,
.ssm-post-foot {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.ssm-post-title {
    margin: 10px 0 0;
    color: var(--ssm-heading);
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.ssm-post-lead {
    margin: 16px 0 0;
    color: var(--ssm-text-light);
    font-size: 1.2rem;
    line-height: 1.6;
}

.ssm-post-cover {
    max-width: 1100px;
    margin: clamp(24px, 4vw, 40px) auto clamp(28px, 4vw, 48px);
}

.ssm-post-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: var(--ssm-radius-cover);
}

.ssm-post:not(:has(.ssm-post-cover)) .ssm-post-head {
    margin-bottom: 32px;
}

.ssm-post-content {
    max-width: none;
    font-size: 1.125rem;
    line-height: 1.75;
}

.ssm-post-content :where(p) {
    margin: 0 0 1.15em;
}

.ssm-post-content :where(h2) {
    scroll-margin-top: calc(var(--ssm-header-h) + 16px);
    margin: 2em 0 0.6em;
    color: var(--ssm-heading);
    font-size: 1.6rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.ssm-post-content :where(h3) {
    margin: 1.6em 0 0.5em;
    color: var(--ssm-heading);
    font-size: 1.25rem;
}

.ssm-post-content :where(strong) {
    color: var(--ssm-heading);
}

.ssm-post-content :where(figure, .wp-block-image) {
    margin: 1.8em 0;
}

.ssm-post-content :where(figcaption) {
    margin-top: 8px;
    color: var(--ssm-text-muted);
    font-size: 14px;
    text-align: center;
}

/* Inhaltsverzeichnis: mobil aufklappbar über dem Text, breit daneben */
.ssm-post-toc {
    margin: 0 0 28px;
}

.ssm-post-toc details {
    padding: 14px 18px;
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius-tile);
    background: var(--ssm-background);
}

.ssm-post-toc summary {
    color: var(--ssm-text-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.ssm-post-toc ol {
    display: grid;
    gap: 2px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: ssm-toc;
}

.ssm-post-toc li {
    counter-increment: ssm-toc;
}

.ssm-post-toc a {
    display: flex;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    color: var(--ssm-text);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}

.ssm-post-toc a::before {
    content: counter(ssm-toc);
    flex: none;
    min-width: 1.2em;
    color: var(--ssm-primary-hover);
    font-weight: 700;
}

.ssm-post-toc a:hover {
    background: var(--ssm-background-alt);
    color: var(--ssm-heading);
}

@media (min-width: 1180px) {
    .ssm-post-layout.has-toc {
        display: grid;
        grid-template-areas: "content toc";
        grid-template-columns: minmax(0, 760px) 250px;
        gap: 48px;
        max-width: calc(760px + 48px + 250px);
    }

    .ssm-post-layout.has-toc .ssm-post-content {
        grid-area: content;
    }

    .ssm-post-layout.has-toc .ssm-post-toc {
        grid-area: toc;
        align-self: start;
        position: sticky;
        top: calc(var(--ssm-header-h) + 24px);
        margin: 0;
    }

    .ssm-post-layout.has-toc .ssm-post-toc summary {
        pointer-events: none;
        list-style: none;
    }

    .ssm-post-layout.has-toc .ssm-post-toc summary::-webkit-details-marker {
        display: none;
    }

    /* Kopf und Fuß auf derselben linken Kante wie der Text */
    .ssm-post:has(.ssm-post-layout.has-toc) .ssm-post-head,
    .ssm-post-layout.has-toc ~ .ssm-post-foot {
        max-width: calc(760px + 48px + 250px);
        padding-right: calc(48px + 250px);
    }
}

.ssm-post-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--ssm-border);
}

.ssm-post-more {
    margin-top: clamp(48px, 7vw, 80px);
}

.ssm-post-more .ssm-shelf-title {
    margin-bottom: 18px;
}

/* Seitennavigation der Übersicht */
.ssm-blog .navigation.pagination {
    margin-top: 32px;
}

.ssm-404-code {
    margin: 0;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 1;
    background: var(--ssm-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Seitennavigation (the_posts_pagination) */
.ssm-shell .navigation.pagination {
    margin: 32px 0 0;
}

.ssm-shell .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ssm-shell .nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--ssm-border);
    background: var(--ssm-background);
    color: var(--ssm-heading);
    font-weight: 600;
    text-decoration: none;
}

.ssm-shell .nav-links .page-numbers.current {
    background: var(--ssm-heading);
    border-color: var(--ssm-heading);
    color: var(--ssm-background);
}

/* ==========================================================================
   8. REGAL
   Wischbare Reihe, rechts angeschnitten (läuft bis an den Seitenrand).
   ========================================================================== */

/* 4.334.0 Sprachleiste: seit 4.346.0 eine Karte im Hinweis-Stapel (ssm-notices.css) */

.ssm-shelf {
    margin: 0 0 clamp(28px, 4vw, 44px);
}

/* 4.331.0: „Weiterhören“ – Platzhalter in Regalhöhe, bis ssm-shell.js füllt
   (Kopf ~46 px + Logo-Kachel + Titel/Badges ~70 px) */
.ssm-slot-pending {
    display: block;
    min-height: calc(var(--ssm-tile-w) + 116px);
    margin: 0 0 clamp(28px, 4vw, 44px);
}

.ssm-shelf-head,
.ssm-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
}

.ssm-shelf-title,
.ssm-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    font-size: var(--ssm-fs-h2);
    font-weight: 750;
    letter-spacing: -0.015em;
    color: var(--ssm-heading);
}

.ssm-shelf-title .ssm-icon,
.ssm-section-title .ssm-icon {
    width: 0.95em;
    height: 0.95em;
    color: var(--ssm-primary);
}

.ssm-shelf-title span,
.ssm-section-title span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ssm-shelf-more {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    color: var(--ssm-text-light);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.ssm-shell .ssm-shelf-more {
    color: var(--ssm-text-light);
}

.ssm-shell .ssm-shelf-more:hover {
    color: var(--ssm-heading);
}

.ssm-shelf-more .ssm-icon {
    width: 16px;
    height: 16px;
}

.ssm-shelf-nav {
    display: flex;
    gap: 8px;
    flex: none;
}

.ssm-shelf-head .ssm-shelf-more + .ssm-shelf-nav {
    margin-left: 4px;
}

.ssm-shelf-title + .ssm-shelf-nav {
    margin-left: auto;
}

@media (hover: none), (max-width: 899.98px) {
    .ssm-shelf-nav {
        display: none;
    }
}

.ssm-shelf-note {
    margin: -6px 0 14px;
    color: var(--ssm-text-light);
    font-size: 14px;
}

.ssm-shelf-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--ssm-tile-w);
    gap: var(--ssm-shelf-gap);
    /* 4.122.1: oben 8 px Luft – Anheben (3 px) + Fokusring (3 px) wurden von
       overflow-x abgeschnitten; der negative Rand hält den Abstand wie vorher */
    margin: -4px calc(-1 * var(--ssm-gutter)) 0;
    padding: 8px var(--ssm-gutter) 10px;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--ssm-gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ssm-shelf-row::-webkit-scrollbar {
    display: none;
}

.ssm-shelf-item {
    min-width: 0;
    scroll-snap-align: start;
}

.ssm-shelf--podcast .ssm-shelf-row {
    grid-auto-columns: min(300px, 78vw);
}

.ssm-shelf--category .ssm-shelf-row {
    grid-auto-columns: clamp(150px, 40vw, 230px);
}

.ssm-shelf--country .ssm-shelf-row {
    grid-auto-columns: clamp(160px, 44vw, 210px);
}

.ssm-shelf--wide .ssm-shelf-row {
    grid-auto-columns: min(320px, 80vw);
}

/* ==========================================================================
   9. KACHELN
   ========================================================================== */

/* --- 9a. Senderkachel: bestehendes Kartenmarkup als Logo-Kachel --------- */

.ssm-shell .ssm-shelf .ssm-station-card,
.ssm-shell .ssm-tiles .ssm-station-card {
    min-height: 0;
    height: auto;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
    isolation: auto;
}

.ssm-shell .ssm-shelf .ssm-station-card:hover,
.ssm-shell .ssm-tiles .ssm-station-card:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.ssm-shell .ssm-shelf .ssm-station-card:focus-within,
.ssm-shell .ssm-tiles .ssm-station-card:focus-within {
    box-shadow: none;
}

.ssm-shell .ssm-shelf .ssm-station-card .ssm-station-logo,
.ssm-shell .ssm-tiles .ssm-station-card .ssm-station-logo {
    aspect-ratio: 1 / 1;
    max-height: none;
    border-radius: var(--ssm-radius-tile);
    border: 1px solid var(--ssm-tile-plate-border);
    background: var(--ssm-tile-plate);
    box-shadow: var(--ssm-shadow-xs);
    overflow: hidden;
    transition: box-shadow 0.3s var(--ssm-ease);
}

/* Anheben über die ganze Kachel, NIE über .ssm-station-logo: ein transform
   dort macht das Logo zum Stapelkontext, dann liegt der Stretched Link
   (.ssm-card-link::after, z-index 3) über dem Play-Knopf (z-index 5) und
   ein Klick darauf öffnet die Senderseite statt abzuspielen */
.ssm-shell .ssm-shelf .ssm-station-card,
.ssm-shell .ssm-tiles .ssm-station-card {
    transition: transform 0.3s var(--ssm-ease);
}

.ssm-shell .ssm-shelf .ssm-station-card:hover .ssm-station-logo,
.ssm-shell .ssm-tiles .ssm-station-card:hover .ssm-station-logo {
    box-shadow: var(--ssm-shadow-md);
}

.ssm-shell .ssm-shelf .ssm-station-card:focus-within .ssm-station-logo,
.ssm-shell .ssm-tiles .ssm-station-card:focus-within .ssm-station-logo {
    box-shadow: 0 0 0 3px var(--ssm-primary);
}

/* Logos sind für Weiß gestaltet: ruhige Platte statt Unschärfe-Fläche */
.ssm-shell .ssm-shelf .ssm-card-backdrop,
.ssm-shell .ssm-tiles .ssm-card-backdrop,
.ssm-shell .ssm-shelf .ssm-station-logo::after,
.ssm-shell .ssm-tiles .ssm-station-logo::after {
    display: none;
}

.ssm-shell .ssm-shelf .ssm-station-card .ssm-station-logo img.ssm-card-image,
.ssm-shell .ssm-tiles .ssm-station-card .ssm-station-logo img.ssm-card-image {
    max-width: 80%;
    max-height: 80%;
    filter: none;
}

.ssm-shell .ssm-shelf .ssm-station-card:hover .ssm-station-logo img.ssm-card-image,
.ssm-shell .ssm-tiles .ssm-station-card:hover .ssm-station-logo img.ssm-card-image {
    transform: none;
}

.ssm-shell .ssm-shelf .ssm-station-logo .ssm-btn-stream,
.ssm-shell .ssm-tiles .ssm-station-logo .ssm-btn-stream {
    right: 8px;
    bottom: 8px;
    width: 40px;
    height: 40px;
}

.ssm-shell .ssm-shelf .ssm-station-logo .ssm-btn-stream .dashicons,
.ssm-shell .ssm-tiles .ssm-station-logo .ssm-btn-stream .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
}

@media (hover: none) {
    .ssm-shell .ssm-shelf .ssm-station-logo .ssm-btn-stream,
    .ssm-shell .ssm-tiles .ssm-station-logo .ssm-btn-stream {
        width: 34px;
        height: 34px;
        right: 6px;
        bottom: 6px;
    }
}

.ssm-shell .ssm-shelf .ssm-station-card .ssm-live-dot,
.ssm-shell .ssm-tiles .ssm-station-card .ssm-live-dot {
    display: none;
}

.ssm-shell .ssm-shelf .ssm-station-card .ssm-card-content,
.ssm-shell .ssm-tiles .ssm-station-card .ssm-card-content {
    padding: 8px 2px 0;
    gap: 2px;
}

/* v4.134.0: zwei Zeilen wie im Raster – einzeilig blieb von „laut.fm - 1st
   House“ nur „laut.fm -…“ übrig (live die Hälfte von „Beliebt in …“).
   Feste Höhe für zwei Zeilen, damit Genre · Land in einer Linie bleibt. */
.ssm-shell .ssm-shelf .ssm-station-card .ssm-station-title,
.ssm-shell .ssm-tiles .ssm-station-card .ssm-station-title {
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    min-height: 2.6em;
}

/* Genre · Land als ruhige Textzeile statt Farb-Badges (wie in der App) */
.ssm-shell .ssm-shelf .ssm-card-badges,
.ssm-shell .ssm-tiles .ssm-card-badges {
    display: flex;
    gap: 0;
    overflow: hidden;
    white-space: nowrap;
}

.ssm-shell .ssm-shelf .ssm-card-badges .ssm-badge,
.ssm-shell .ssm-tiles .ssm-card-badges .ssm-badge {
    min-height: 0;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--ssm-text-light);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ssm-shell .ssm-shelf .ssm-card-badges .ssm-badge + .ssm-badge::before,
.ssm-shell .ssm-tiles .ssm-card-badges .ssm-badge + .ssm-badge::before {
    content: '·';
    margin: 0 5px;
    color: var(--ssm-text-muted);
}

/* v4.134.0: „Beliebt in Deutschland“ – das Land steht schon in der
   Überschrift; mobil schnitt „· Deutschla…“ sonst das Genre ab */
.ssm-shell .ssm-shelf[data-ssm-market] .ssm-card-badges .ssm-badge-country {
    display: none;
}

.ssm-shell .ssm-shelf .ssm-card-badges .ssm-badge-verified,
.ssm-shell .ssm-tiles .ssm-card-badges .ssm-badge-verified,
.ssm-shell .ssm-shelf .ssm-card-badges .ssm-badge::after,
.ssm-shell .ssm-tiles .ssm-card-badges .ssm-badge::after {
    display: none;
}

.ssm-shell .ssm-shelf .ssm-station-excerpt,
.ssm-shell .ssm-tiles .ssm-station-excerpt {
    display: none;
}

/* --- 9b. Kategoriekachel (4.118.2) ------------------------------------
   Genre/Jahrzehnt/Podcast-Kategorie: Name und Anzahl als Schrift auf dem
   Markenverlauf, dahinter 1–2 Logos der beliebtesten Sender (sonst das
   Symbol) als Wasserzeichen – groß, gedreht, entsättigt, zur Schrift hin
   ausgeblendet. Beim Überfahren zieht ein Lichtschimmer durch. */

.ssm-cat-tile {
    display: block;
    color: var(--ssm-heading);
    text-decoration: none;
}

.ssm-cat-tile-art {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    aspect-ratio: 16 / 9;
    padding: 12px 14px;
    border-radius: var(--ssm-radius-tile);
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
    transition: transform 0.3s var(--ssm-ease), box-shadow 0.3s var(--ssm-ease);
}

/* Lesbarkeit der Schrift: Schatten von unten links */
.ssm-cat-tile-art::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(20deg, rgba(2, 6, 23, 0.42) 0%, rgba(2, 6, 23, 0.12) 45%, transparent 70%);
}

/* Lichtschimmer */
.ssm-cat-tile-art::before {
    content: '';
    position: absolute;
    inset: -20% -40%;
    z-index: 1;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
    transform: translateX(-70%);
    pointer-events: none;
}

.ssm-cat-tile:hover .ssm-cat-tile-art::before,
.ssm-cat-tile:focus-visible .ssm-cat-tile-art::before {
    transform: translateX(70%);
    transition: transform 0.9s var(--ssm-ease);
}

.ssm-cat-tile:hover .ssm-cat-tile-art {
    transform: translateY(-3px);
    box-shadow: var(--ssm-shadow-md);
}

.ssm-cat-tile-logos {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(200deg, #000 30%, rgba(0, 0, 0, 0.35) 62%, transparent 85%);
    mask-image: linear-gradient(200deg, #000 30%, rgba(0, 0, 0, 0.35) 62%, transparent 85%);
}

.ssm-cat-tile-logos img {
    position: absolute;
    top: -16%;
    right: -7%;
    width: 64%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 18%;
    opacity: 0.34;
    filter: grayscale(1) contrast(1.15);
    mix-blend-mode: luminosity;
    /* Kanten deckender Logo-Flächen ausblenden – nur das Zeichen schimmert */
    -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
    transform: rotate(-9deg);
    transition: transform 0.6s var(--ssm-ease), opacity 0.6s var(--ssm-ease);
}

.ssm-cat-tile-logos img + img {
    top: auto;
    right: 38%;
    bottom: -34%;
    width: 46%;
    opacity: 0.2;
    transform: rotate(7deg);
}

.ssm-cat-tile:hover .ssm-cat-tile-logos img {
    opacity: 0.38;
    transform: rotate(-6deg) scale(1.04);
}

.ssm-cat-tile:hover .ssm-cat-tile-logos img + img {
    opacity: 0.26;
    transform: rotate(4deg) scale(1.04);
}

/* Ohne Logos: das Symbol als Wasserzeichen */
.ssm-cat-tile-logos.is-icon .ssm-icon {
    position: absolute;
    top: -12%;
    right: -4%;
    width: 58%;
    height: auto;
    aspect-ratio: 1;
    opacity: 0.22;
    stroke-width: 1.4;
    transform: rotate(-9deg);
}

.ssm-shell .ssm-cat-tile .ssm-cat-tile-name {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: clamp(17px, 1.5vw, 21px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 14px rgba(2, 6, 23, 0.3);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ssm-shell .ssm-cat-tile .ssm-cat-tile-count {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Verläufe aus der Markenwelt (Cyan, Indigo, Gelb, Slate) – je Begriff fest */
.ssm-tone-1 { background-image: linear-gradient(135deg, #00B4D8 0%, #4F46E5 100%); }
.ssm-tone-2 { background-image: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); }
.ssm-tone-3 { background-image: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%); }
.ssm-tone-4 { background-image: linear-gradient(135deg, #0D9488 0%, #00B4D8 100%); }
.ssm-tone-5 { background-image: linear-gradient(135deg, #475569 0%, #0F172A 100%); }
.ssm-tone-6 { background-image: linear-gradient(135deg, #E11D48 0%, #F59E0B 100%); }
.ssm-tone-7 { background-image: linear-gradient(135deg, #0EA5E9 0%, #14B8A6 100%); }
.ssm-tone-8 { background-image: linear-gradient(135deg, #7C3AED 0%, #00B4D8 100%); }

.ssm-cat-tile-art.has-image::after {
    background: linear-gradient(to top, rgba(2, 6, 23, 0.5), transparent 70%);
}

/* --- 9c. Länderkachel ------------------------------------------------- */

.ssm-country-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 10px 14px 10px 10px;
    border: 1px solid var(--ssm-border);
    border-radius: 999px;
    background: var(--ssm-background);
    color: var(--ssm-heading);
    text-decoration: none;
    transition: border-color 0.2s var(--ssm-ease), transform 0.2s var(--ssm-ease), box-shadow 0.2s var(--ssm-ease);
}

.ssm-shell .ssm-country-tile {
    color: var(--ssm-heading);
}

.ssm-country-tile:hover {
    border-color: var(--ssm-text-muted);
    transform: translateY(-2px);
    box-shadow: var(--ssm-shadow-sm);
}

.ssm-country-tile-flag {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--ssm-border);
}

.ssm-country-tile-flag.is-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ssm-background-alt);
    color: var(--ssm-text-light);
}

.ssm-country-tile-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ssm-country-tile-name {
    font-size: 15px;
    font-weight: 650;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ssm-country-tile-count {
    color: var(--ssm-text-light);
    font-size: 12px;
}

/* --- 9d. Podcastkachel ------------------------------------------------ */

.ssm-pod-tile {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--ssm-text);
    text-decoration: none;
}

.ssm-shell .ssm-pod-tile {
    color: var(--ssm-text);
}

.ssm-pod-tile-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    flex: none;
    border-radius: var(--ssm-radius-tile);
    background: var(--ssm-background-alt);
    color: var(--ssm-text-muted);
    overflow: hidden;
    box-shadow: var(--ssm-shadow-xs);
    transition: transform 0.3s var(--ssm-ease), box-shadow 0.3s var(--ssm-ease);
}

.ssm-pod-tile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ssm-pod-tile-cover .ssm-icon {
    width: 36px;
    height: 36px;
}

.ssm-pod-tile:hover .ssm-pod-tile-cover {
    transform: translateY(-3px);
    box-shadow: var(--ssm-shadow-md);
}

.ssm-pod-tile-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ssm-pod-tile-title {
    color: var(--ssm-heading);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ssm-pod-tile-meta {
    color: var(--ssm-text-muted);
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ssm-pod-tile-text {
    color: var(--ssm-text-light);
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   10. RASTER DER ÜBERSICHTEN
   .ssm-tiles: kompaktes Logo-Raster (Archiv, Favoriten, Suche).
   ========================================================================== */

.ssm-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 24px var(--ssm-shelf-gap);
}

@media (max-width: 599.98px) {
    .ssm-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 10px;
    }
}

@media (max-width: 339.98px) {
    .ssm-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   11. PANELS (SUCHE, EINSTELLUNGEN) – <dialog>
   ========================================================================== */

html.ssm-dialog-open {
    overflow: hidden;
}

/* 4.404.0 (INP): Die Panels öffnen nicht-modal (dialog.show()). Modal berechnete der Browser bei
   jedem Öffnen und Schließen den Stil der ganzen Seite neu, weil sie dahinter „inert“ wird
   (Startseite: 1.757 statt 312 Elemente, 76 statt 32 ms; auf einem Mittelklasse-Handy rund
   300 ms bis zum ersten Bild). Was der modale Modus mitbrachte, steht jetzt hier und in
   ssm-shell.js: feste Lage über allem (über Kopfzeile 900, Player 940, Leiste 950 und dem
   Hinweis-Stapel 99990), Schleier und Klick-Sperre als ::before, Tab bleibt im Panel. */
.ssm-dialog {
    position: fixed;
    z-index: 100000;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: auto;
    background: transparent;
    color: var(--ssm-text);
    font-family: var(--ssm-font-family);
}

.ssm-dialog:focus {
    outline: none;
}

/* Schleier über die ganze Seite, hinter dem Inhalt des Panels. Ein Klick darauf trifft das
   <dialog> selbst und schließt (ssm-shell.js); die Seite dahinter bekommt keine Klicks. */
.ssm-dialog::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(2, 6, 23, 0.45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.ssm-dialog-inner {
    background: var(--ssm-background);
    color: var(--ssm-text);
    box-shadow: var(--ssm-shadow-lg);
}

.ssm-dialog-label {
    margin: 0 0 10px;
    color: var(--ssm-text-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* --- Suche: oben über die Breite, mobil Vollbild --------------------- */

.ssm-search-dialog {
    inset: 0 0 auto 0;
    width: 100%;
}

.ssm-search-dialog .ssm-dialog-inner {
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 96px);
    margin: 64px auto 0;
    padding: 18px;
    border-radius: 24px;
    overflow: auto;
}

.ssm-search-dialog[open] .ssm-dialog-inner {
    animation: ssm-dialog-in 0.22s var(--ssm-ease);
}

.ssm-search-dialog-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ssm-search-dialog-field {
    flex: 1;
    min-width: 0;
}

.ssm-search-dialog .ssm-ui-search {
    max-width: none;
    margin: 0;
}

.ssm-search-dialog .ssm-ui-search input {
    min-height: 52px;
    box-shadow: none;
    background: var(--ssm-background-alt);
    border-color: transparent;
}

.ssm-search-dialog .ssm-ui-search input:focus {
    background: var(--ssm-background);
}

.ssm-search-dialog-head > .ssm-ui-iconbtn {
    margin-top: 4px;
}

.ssm-search-dialog-suggest {
    display: grid;
    gap: 20px;
    padding: 20px 4px 6px;
}

.ssm-search-dialog-suggest[hidden] {
    display: none;
}

/* Live-Treffer (ssm-live-search.js, ssm-search.css) im Panel statt Blocksy-Overlay */
.ssm-search-dialog .ssm-sx-panel {
    position: static;
    max-width: none !important;
    margin: 14px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ssm-text);
}

@media (max-width: 599.98px) {
    .ssm-search-dialog,
    .ssm-search-dialog .ssm-dialog-inner {
        height: 100%;
    }

    .ssm-search-dialog .ssm-dialog-inner {
        width: 100%;
        max-height: none;
        margin: 0;
        padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 16px;
        border-radius: 0;
    }

    /* v4.430.0: Treffer unter Suchfeld UND Schließen-Knopf (44 px + 10 px Abstand),
       sonst bleibt rechts ein leerer Streifen */
    .ssm-search-dialog .ssm-sx-panel {
        width: auto;
        margin-right: -54px;
    }
}

/* --- Einstellungen: Seitenblatt rechts, mobil von unten ---------------- */

.ssm-sheet {
    inset: 0 0 0 auto;
    height: 100%;
}

.ssm-sheet .ssm-dialog-inner {
    width: min(420px, 100vw);
    height: 100%;
    padding: 18px 22px 28px;
    overflow: auto;
    border-left: 1px solid var(--ssm-border);
}

.ssm-sheet[open] .ssm-dialog-inner {
    animation: ssm-sheet-in 0.25s var(--ssm-ease);
}

.ssm-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 20px;
}

.ssm-sheet-title {
    margin: 0;
    color: var(--ssm-heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.ssm-set-group {
    padding: 0 0 22px;
    margin: 0 0 22px;
    border-bottom: 1px solid var(--ssm-border);
}

.ssm-set-group:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.ssm-set-hint {
    margin: -4px 0 12px;
    color: var(--ssm-text-light);
    font-size: 14px;
    line-height: 1.5;
}

.ssm-set-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ssm-set-links .ssm-ui-btn[hidden] {
    display: none;
}

.ssm-auth-panel {
    margin: 0;
}

@media (max-width: 599.98px) {
    .ssm-sheet {
        inset: auto 0 0 0;
        width: 100%;
        height: auto;
    }

    .ssm-sheet .ssm-dialog-inner {
        width: 100%;
        max-height: 88vh;
        height: auto;
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
        border-left: 0;
        border-radius: 24px 24px 0 0;
    }

    .ssm-sheet[open] .ssm-dialog-inner {
        animation-name: ssm-sheet-up;
    }
}

@keyframes ssm-dialog-in {
    from { opacity: 0; transform: translateY(-8px) scale(0.99); }
    to { opacity: 1; transform: none; }
}

@keyframes ssm-sheet-in {
    from { transform: translateX(24px); opacity: 0.6; }
    to { transform: none; opacity: 1; }
}

@keyframes ssm-sheet-up {
    from { transform: translateY(24px); opacity: 0.6; }
    to { transform: none; opacity: 1; }
}

/* --- Chips, Umschalter, Auswahl ---------------------------------------- */

.ssm-ui-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ssm-ui-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid var(--ssm-chip-border, var(--ssm-border));
    border-radius: 999px;
    background: var(--ssm-chip-bg, var(--ssm-background));
    color: var(--ssm-chip-text, var(--ssm-text));
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s var(--ssm-ease), background-color 0.2s var(--ssm-ease);
}

.ssm-shell .ssm-ui-chip,
.ssm-dialog .ssm-ui-chip {
    color: var(--ssm-chip-text, var(--ssm-text));
}

.ssm-ui-chip:hover {
    border-color: var(--ssm-text-muted);
}

/* Gewählt = dunkel invertiert, nicht Markenfarbe (wie die Chips der App) */
.ssm-ui-chip[aria-current] {
    background: var(--ssm-heading);
    border-color: var(--ssm-heading);
    color: var(--ssm-background);
}

.ssm-shell .ssm-ui-chip[aria-current],
.ssm-dialog .ssm-ui-chip[aria-current] {
    color: var(--ssm-background);
}

.ssm-ui-segmented {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    background: var(--ssm-background-alt);
}

.ssm-ui-segmented button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 64px;
    padding: 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ssm-text-light);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.ssm-ui-segmented button[aria-checked="true"] {
    background: var(--ssm-background);
    color: var(--ssm-heading);
    box-shadow: var(--ssm-shadow-sm);
}

.ssm-ui-segmented button[aria-checked="true"] .ssm-icon {
    color: var(--ssm-primary);
}

.ssm-ui-select {
    position: relative;
}

.ssm-ui-select select {
    width: 100%;
    min-height: 48px;
    padding: 10px 44px 10px 16px;
    border: 1px solid var(--ssm-border);
    border-radius: 12px;
    background: var(--ssm-background);
    color: var(--ssm-heading);
    font-size: 15px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.ssm-ui-select > .ssm-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    color: var(--ssm-text-light);
    pointer-events: none;
}

/* ==========================================================================
   12. PLAYER-LEISTEN ÜBER DER TAB-LEISTE
   Gestaltung kommt mit Phase 6 – hier nur Lage und Platz.
   ========================================================================== */

body.ssm-shell #ssm-sticky-player {
    bottom: var(--ssm-tabbar-h);
    z-index: 940;
}

/* ssm-podcasts.js setzt bottom inline (Höhe des Sender-Players) –
   der Abstand zur Tab-Leiste kommt als Rand dazu */
body.ssm-shell .ssm-pod-player {
    margin-bottom: var(--ssm-tabbar-h);
    z-index: 939;
}

/* Gegen style.css/ssm-podcasts.css (body.ssm-player-active …, bis 0,2,1):
   den Abstand misst ssm-shell.js (--ssm-player-h) */
body.ssm-shell.ssm-shell.ssm-shell {
    padding-bottom: var(--ssm-bottom-stack);
}

/* ==========================================================================
   13. STARTSEITE + ENTDECKEN (4.113.0)
   ========================================================================== */

.ssm-start-head {
    max-width: 760px;
    padding: clamp(20px, 5vw, 56px) 0 clamp(24px, 4vw, 44px);
}

.ssm-start-title {
    margin: 0 0 10px;
    font-size: var(--ssm-fs-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    /* v4.134.0: kein einzelnes „Welt“ in der zweiten Zeile (Desktop) */
    text-wrap: balance;
}

.ssm-start-lead {
    margin: 0 0 22px;
    color: var(--ssm-text-light);
    font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
}

.ssm-start-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    min-height: 56px;
    padding: 0 14px 0 20px;
    border: 1px solid var(--ssm-border);
    border-radius: 999px;
    background: var(--ssm-background);
    box-shadow: var(--ssm-shadow-md);
    color: var(--ssm-text-light);
    font-size: 16px;
    text-decoration: none;
    transition: border-color 0.2s var(--ssm-ease), box-shadow 0.2s var(--ssm-ease);
}

.ssm-shell .ssm-start-search {
    color: var(--ssm-text-light);
}

.ssm-start-search:hover {
    border-color: var(--ssm-primary);
    box-shadow: 0 0 0 4px var(--ssm-primary-light), var(--ssm-shadow-md);
}

.ssm-start-search > span {
    flex: 1;
}

.ssm-start-search kbd {
    padding: 2px 8px;
    border: 1px solid var(--ssm-border);
    border-radius: 6px;
    background: var(--ssm-background-alt);
    color: var(--ssm-text-muted);
    font: 600 12px/1.4 var(--ssm-font-family);
}

@media (hover: none) {
    .ssm-start-search kbd {
        display: none;
    }
}

.ssm-start-about {
    margin-top: clamp(32px, 6vw, 72px);
    padding-top: clamp(24px, 4vw, 40px);
    border-top: 1px solid var(--ssm-border);
    color: var(--ssm-text);
    /* v4.134.0: Die Gruppe im Seiteninhalt bringt oben und unten je ~81 px
       Abstand mit (spacing--80 aus der Blocksy-Zeit) – zusammen mit Rand und
       Fußzeile klafften über 150 px leere Fläche über und unter dem Text. */
    --wp--preset--spacing--80: 0px;
}

/* --- Startseite: Abschnitt „Über SoundNode“ (4.135.0) ------------------
   Inhalt der Seite „Sender“ in Gruppen mit .ssm-about (immer gezeigt,
   ssm_shell_front_about_html): Kicker, Überschrift, Einleitung, Kennzahlen
   (.ssm-app-stats), Feature-Karten, Text mit Genre-Chips, Knöpfe. */

.ssm-shell .ssm-start-about .ssm-about {
    margin: 0;
}

.ssm-shell .ssm-start-about .ssm-about + .ssm-about {
    margin-top: clamp(22px, 3.4vw, 36px);
}

.ssm-shell .ssm-about p.ssm-about-kicker {
    margin: 0 0 8px;
    color: var(--ssm-link);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ssm-shell .ssm-about h2.wp-block-heading {
    max-width: 26ch;
    margin: 0 0 12px;
    color: var(--ssm-heading);
    font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-wrap: balance;
}

.ssm-shell .ssm-about p {
    margin: 0 0 18px;
    color: var(--ssm-text);
    font-size: 15.5px;
    line-height: 1.65;
}

.ssm-shell .ssm-about p.ssm-about-lead {
    max-width: 68ch;
    margin: 0;
    color: var(--ssm-text-light);
    font-size: clamp(1rem, 0.95rem + 0.35vw, 1.15rem);
    line-height: 1.6;
}

/* auto-fit: blendet [ssm_count] eine Kachel aus (Anzahl 0), bleibt keine Lücke */
.ssm-shell .ssm-about .ssm-app-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin: 0 0 clamp(12px, 1.6vw, 16px);
}

.ssm-shell .ssm-about .ssm-app-stat p {
    margin: 0;
}

/* Feature-Karten als Raster (4 → 2 → 1) statt WordPress-Spalten */
.ssm-shell .ssm-about .ssm-about-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 16px);
    margin: 0;
}

.ssm-shell .ssm-about-features > .soundnode-feature-card {
    margin: 0;
}

.ssm-shell .ssm-about-features .soundnode-feature-card::before {
    content: "";
    display: block;
    width: 28px;
    height: 4px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--ssm-gradient-primary);
}

.ssm-shell .ssm-about-features .soundnode-feature-card p {
    margin: 0;
}

/* Fließtext links, Genre-Kasten rechts */
.ssm-shell .ssm-about .ssm-about-split {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: clamp(18px, 3.4vw, 48px);
    align-items: start;
    margin: 0;
}

.ssm-shell .ssm-about-split > .wp-block-column {
    margin: 0;
}

.ssm-shell .ssm-about-split > .wp-block-column > :last-child {
    margin-bottom: 0;
}

.ssm-shell .ssm-about h3.wp-block-heading {
    margin: 0 0 6px;
    color: var(--ssm-heading);
    font-size: 1.15rem;
    font-weight: 750;
    line-height: 1.3;
}

.ssm-shell .ssm-about .ssm-about-box {
    padding: clamp(18px, 2.4vw, 24px);
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius-cover);
    background: var(--ssm-background);
}

.ssm-shell .ssm-about-box h3.wp-block-heading {
    font-size: 1rem;
}

.ssm-shell .ssm-about-box p.ssm-about-note {
    margin: 0;
    color: var(--ssm-text-light);
    font-size: 14px;
    line-height: 1.5;
}

/* Genre-Chips – schlägt die Punkt-Liste aus :where(.ssm-shell) .wp-block-group */
.ssm-shell .ssm-about ul.ssm-about-chips.wp-block-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 18px;
    padding: 0;
}

.ssm-shell .ssm-about ul.ssm-about-chips.wp-block-list li {
    margin: 0;
    padding: 0;
}

.ssm-shell .ssm-about ul.ssm-about-chips.wp-block-list li::before {
    content: none;
}

.ssm-shell .ssm-about .ssm-about-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid var(--ssm-border);
    border-radius: 999px;
    background: var(--ssm-background-alt);
    color: var(--ssm-heading);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 0.2s var(--ssm-ease), color 0.2s var(--ssm-ease);
}

.ssm-shell .ssm-about .ssm-about-chips a:hover,
.ssm-shell .ssm-about .ssm-about-chips a:focus-visible {
    border-color: var(--ssm-primary);
    color: var(--ssm-link);
}

/* Knöpfe: beide im Inhalt mit is-style-outline (lesbar auch ohne dieses CSS),
   .ssm-about-primary wird zum Hauptknopf mit Verlauf wie im Seitenkopf.
   0,4,0/0,5,0 schlagen die Outline-Regeln aus block-library (bis 0,4,0). */
.ssm-shell .ssm-about .ssm-about-actions {
    gap: 10px;
    margin: clamp(20px, 2.8vw, 28px) 0 0;
}

.ssm-shell .ssm-about-actions .wp-block-button > .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.ssm-shell .ssm-about-actions .wp-block-button.ssm-about-primary > .wp-block-button__link {
    border: 0;
    background: var(--ssm-gradient-primary);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 150, 183, 0.28);
}

.ssm-shell .ssm-about-actions .wp-block-button.ssm-about-primary > .wp-block-button__link:hover {
    background: var(--ssm-gradient-primary-hover);
    color: #fff;
}

.ssm-shell .ssm-about-actions .wp-block-button:not(.ssm-about-primary) > .wp-block-button__link {
    border: 1px solid var(--ssm-border);
    background: var(--ssm-background);
    color: var(--ssm-heading);
    box-shadow: none;
}

.ssm-shell .ssm-about-actions .wp-block-button:not(.ssm-about-primary) > .wp-block-button__link:hover {
    border-color: var(--ssm-primary);
    color: var(--ssm-link);
}

@media (max-width: 1099.98px) {
    .ssm-shell .ssm-about .ssm-about-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 859.98px) {
    .ssm-shell .ssm-about .ssm-about-split {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 599.98px) {
    .ssm-shell .ssm-about .ssm-about-features {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* --- Sammlungskachel (breit, Bild oder Mosaik aus Logos) ---------------- */

.ssm-col-tile {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--ssm-heading);
    text-decoration: none;
}

.ssm-shell .ssm-col-tile {
    color: var(--ssm-heading);
}

.ssm-col-tile-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    margin-bottom: 8px;
    border-radius: var(--ssm-radius-tile);
    background-size: cover;
    background-position: center;
    color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition: transform 0.3s var(--ssm-ease), box-shadow 0.3s var(--ssm-ease);
}

.ssm-col-tile-art .ssm-icon {
    width: 34px;
    height: 34px;
}

/* v4.134.0: Bild als <img> (lazy) statt background-image */
.ssm-col-tile-art.has-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ssm-col-tile:hover .ssm-col-tile-art {
    transform: translateY(-3px);
    box-shadow: var(--ssm-shadow-md);
}

.ssm-col-tile-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 86%;
}

.ssm-col-tile-mosaic img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 6%;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(2, 6, 23, 0.25);
}

.ssm-col-tile-name {
    font-size: 15px;
    font-weight: 650;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ssm-col-tile-count {
    color: var(--ssm-text-light);
    font-size: 12px;
}

/* --- Reiter (Sender | Podcasts) und Menü (Länderwahl) ------------------ */

.ssm-discover-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.ssm-ui-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--ssm-background-alt);
}

.ssm-ui-tabs a {
    padding: 9px 18px;
    border-radius: 999px;
    color: var(--ssm-text-light);
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
}

.ssm-shell .ssm-ui-tabs a {
    color: var(--ssm-text-light);
}

.ssm-shell .ssm-ui-tabs a[aria-current="page"] {
    background: var(--ssm-background);
    color: var(--ssm-heading);
    box-shadow: var(--ssm-shadow-sm);
}

.ssm-ui-menu {
    position: relative;
}

.ssm-ui-menu > summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 14px 6px 8px;
    border: 1px solid var(--ssm-border);
    border-radius: 999px;
    background: var(--ssm-background);
    color: var(--ssm-heading);
    font-weight: 650;
    list-style: none;
    cursor: pointer;
}

.ssm-ui-menu > summary::-webkit-details-marker {
    display: none;
}

.ssm-ui-menu > summary img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.ssm-ui-menu > summary .ssm-icon {
    width: 16px;
    height: 16px;
    color: var(--ssm-text-light);
}

.ssm-ui-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 50;
    width: min(320px, calc(100vw - 32px));
    max-height: 60vh;
    padding: 14px;
    overflow: auto;
    border: 1px solid var(--ssm-border);
    border-radius: 16px;
    background: var(--ssm-background);
    box-shadow: var(--ssm-shadow-lg);
}

.ssm-ui-menu-panel ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssm-ui-menu-panel a {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--ssm-text);
    font-size: 14px;
    text-decoration: none;
}

.ssm-shell .ssm-ui-menu-panel a {
    color: var(--ssm-text);
}

.ssm-shell .ssm-ui-menu-panel a:hover {
    background: var(--ssm-background-alt);
}

.ssm-shell .ssm-ui-menu-panel a[aria-current] {
    background: var(--ssm-heading);
    color: var(--ssm-background);
}

@media (max-width: 599.98px) {
    .ssm-ui-menu-panel {
        right: auto;
        left: 0;
    }
}

/* --- Karte „Künstlersuche“ ------------------------------------------- */

.ssm-discover-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
    margin: 8px 0 0;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius-cover);
    background: var(--ssm-background);
}

.ssm-discover-card > div {
    flex: 1 1 280px;
}

.ssm-discover-card p {
    margin: 6px 0 0;
    color: var(--ssm-text-light);
}

.ssm-discover-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--ssm-gradient-primary);
    color: #fff;
}

.ssm-discover-card-icon .ssm-icon {
    width: 28px;
    height: 28px;
}

/* ==========================================================================
   14. SENDERSEITE (4.114.0, shell-station.php)
   ========================================================================== */

/* Breadcrumb: schlichte Textzeile statt Kasten */
.ssm-shell .ssm-breadcrumbs {
    margin: 4px 0 18px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    font-size: 14px;
}

.ssm-shell .ssm-breadcrumbs a {
    color: var(--ssm-text-light);
}

/* v4.157.0: Hover ruhig wie die Symbolknöpfe – vorher setzte style.css eine
   Cyan-Fläche, die graue Schrift der Hülle blieb (1,9 : 1, dunkel 1,1 : 1) */
.ssm-shell .ssm-breadcrumbs a:hover,
.ssm-shell .ssm-breadcrumbs a:focus-visible {
    background: var(--ssm-iconbtn-bg-hover);
    color: var(--ssm-heading);
}

/* 4.459.0: Breadcrumbs auf allen Seiten – über Textseiten in der Lesespalte
   wie der Titel, danach rückt der Seitenkopf an die Leiste heran (Abstand
   wie auf den Senderlisten) */
.ssm-shell .ssm-breadcrumbs--text {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Lange Titel (Blogbeiträge) in der Leiste mit „…“ kürzen statt in eine
   zweite Zeile umbrechen – die aktuelle Seite steht darunter als
   Überschrift. Mobil zeigt style.css nur den Schritt zurück. */
@media (min-width: 601px) {
    .ssm-shell .ssm-breadcrumb-current {
        min-width: 0;
        max-width: 32ch;
    }

    .ssm-shell .ssm-breadcrumb-current .ssm-breadcrumb-text {
        min-width: 0;
        max-width: 100%;
    }

    .ssm-shell .ssm-breadcrumb-current .ssm-breadcrumb-text > span:not(.dashicons) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.ssm-shell .ssm-breadcrumbs + .ssm-page-head,
.ssm-shell .ssm-breadcrumbs + .ssm-page-body > .ssm-page-hero:first-child {
    padding-top: 8px;
}

.ssm-station-hero {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(8px, 2vw, 24px) 0 clamp(24px, 3vw, 36px);
    isolation: isolate;
}

/* Farbschimmer aus dem Logo hinter dem Kopf (dezent, wie radioline) */
.ssm-station-hero-glow {
    position: absolute;
    left: 0;
    top: 0;
    width: min(70%, 640px);
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    filter: blur(70px) saturate(1.4);
    opacity: 0.18;
    pointer-events: none;
}

.ssm-station-cover {
    width: clamp(160px, 22vw, 280px);
    aspect-ratio: 1;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ssm-radius-cover);
    border: 1px solid var(--ssm-tile-plate-border);
    background: var(--ssm-tile-plate);
    box-shadow: var(--ssm-shadow-lg);
    overflow: hidden;
}

.ssm-station-cover img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.ssm-station-cover-empty .ssm-icon {
    width: 64px;
    height: 64px;
    color: var(--ssm-text-muted);
}

.ssm-station-head {
    min-width: 0;
}

.ssm-station-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
}

.ssm-ui-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 4px 12px;
    border: 1px solid var(--ssm-border);
    border-radius: 999px;
    background: var(--ssm-background);
    color: var(--ssm-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.ssm-shell a.ssm-ui-badge {
    color: var(--ssm-text);
}

.ssm-shell a.ssm-ui-badge:hover {
    border-color: var(--ssm-text-muted);
}

.ssm-ui-badge .ssm-icon {
    width: 15px;
    height: 15px;
}

/* Bewertungs-Badge (frontend-display.php) wie die übrigen Badges; die alte
   Kachel-Regel .ssm-badge (max-width 100px, overflow hidden) schnitt es ab */
.ssm-shell .ssm-station-badges .ssm-badge-rating {
    max-width: none;
    min-height: 30px;
    padding: 4px 12px;
    overflow: visible;
    border: 1px solid var(--ssm-border);
    background: var(--ssm-background);
    color: var(--ssm-text);
}

.ssm-shell .ssm-station-badges .ssm-badge-rating:hover {
    border-color: var(--ssm-text-muted);
    background: var(--ssm-background);
    color: var(--ssm-heading);
}

.ssm-shell .ssm-station-badges .ssm-badge-rating-count {
    color: var(--ssm-text-muted);
}

.ssm-ui-badge--ok {
    border-color: var(--ssm-badge-verified-border, rgba(34, 197, 94, 0.3));
    background: var(--ssm-badge-verified-bg, rgba(34, 197, 94, 0.1));
    color: var(--ssm-badge-verified-text, #15803d);
}

.ssm-station-name {
    margin: 0 0 18px;
    font-size: var(--ssm-fs-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.ssm-station-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.ssm-station-play {
    position: relative;
    width: 64px;
    height: 64px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ssm-gradient-primary);
    color: #fff;
    box-shadow: 0 10px 26px rgba(0, 150, 183, 0.35);
    cursor: pointer;
    transition: transform 0.2s var(--ssm-ease), box-shadow 0.2s var(--ssm-ease);
}

.ssm-station-play:hover {
    transform: scale(1.05);
    background: var(--ssm-gradient-primary-hover);
}

.ssm-station-play .ssm-icon {
    width: 28px;
    height: 28px;
}

.ssm-station-play .ssm-i-play {
    margin-left: 3px;
}

.ssm-station-play .ssm-i-pause,
.ssm-station-play.is-playing .ssm-i-play {
    display: none;
}

.ssm-station-play.is-playing .ssm-i-pause {
    display: block;
}

.ssm-station-play-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ssm-heading);
    font-weight: 700;
}

/* 4.336.0 (Konzept Website U3): „Verbinde...“ am gedrückten Knopf – Ring dreht sich,
   bis der Stream wirklich spielt (der Player-Wächter beendet es nach 13 s) */
.ssm-station-play.is-connecting + .ssm-station-play-label .ssm-station-play-text {
    display: none;
}

.ssm-station-play.is-connecting + .ssm-station-play-label::after {
    content: attr(data-connecting);
}

.ssm-station-play.is-connecting::after,
.ssm-station-logo .ssm-btn-stream.is-connecting::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--ssm-primary, #0096b7);
    animation: ssm-connecting-spin 0.9s linear infinite;
    pointer-events: none;
}

.ssm-station-logo .ssm-btn-stream.is-connecting {
    opacity: 1;
    transform: none;
}

/* 4.338.0 (Konzept Website N1): „Jetzt läuft“ auf den Kacheln */
.ssm-card-np {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 0;
    min-width: 0;
    color: var(--ssm-text-light, #64748b);
    font-size: 12.5px;
    line-height: 1.35;
}

.ssm-card-np::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ssm-live, #ef4444);
}

.ssm-card-np-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 4.338.0 (N4): Teilen in Archivkopf und Podcast-Seite */
.ssm-archive-header .ssm-archive-share {
    margin-top: 8px;
}

.ssm-pod-hero .ssm-pod-share {
    float: right;
    margin: -4px 0 0 8px;
}

/* 4.339.0 (Konzept Website E14 a): Podcasts folgen, Folge auf dem Chromecast */
.ssm-pod-follow {
    margin-top: 8px;
}

/* 4.352.0 (Erweiterung Hinweis-Stapel E20 a): Folgen + Glocke in einer Zeile */
.ssm-pod-follow-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    vertical-align: middle;
}

.ssm-pod-follow-row .ssm-pod-follow {
    margin-top: 0;
}

.ssm-pod-notify[hidden] {
    display: none;
}

.ssm-pod-notify[aria-pressed="true"] .ssm-i-bell-off,
.ssm-pod-notify:not([aria-pressed="true"]) .ssm-i-bell-on {
    display: none;
}

.ssm-pod-notify[aria-pressed="true"] {
    color: var(--ssm-primary, #0096b7);
}

.ssm-pod-follow[aria-pressed="true"] .ssm-i-follow,
.ssm-pod-follow:not([aria-pressed="true"]) .ssm-i-following {
    display: none;
}

.ssm-pod-follow[aria-pressed="true"] {
    border-color: var(--ssm-primary, #0096b7);
    color: var(--ssm-primary, #0096b7);
}

.ssm-pod-player.is-casting .ssm-pod-player-cast {
    color: var(--ssm-primary, #0096b7);
}

/* 4.340.0 (Konzept Website E15 a): Folgenseite */
.ssm-ep-page .ssm-ep-meta {
    margin: 4px 0 12px;
    color: var(--ssm-text-light, #64748b);
}

.ssm-ep-page .ssm-ep-share-at {
    margin-top: 10px;
}

.ssm-ep-page-notes,
.ssm-ep-page-p20 {
    margin-top: 20px;
}

.ssm-ep-page-notes h2 {
    margin: 0 0 10px;
    font-size: 1.125rem;
}

.ssm-ep-page-p20 .ssm-ep-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssm-ep-page-more {
    margin: 24px 0 0;
    text-align: center;
}

.ssm-ep-title a {
    color: inherit;
    text-decoration: none;
}

.ssm-ep-title a:hover,
.ssm-ep-title a:focus-visible {
    text-decoration: underline;
}

/* 4.338.0 (N5): Tastenkürzel */
.ssm-keys-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.ssm-keys-list > div {
    display: grid;
    grid-template-columns: minmax(96px, auto) 1fr;
    gap: 12px;
    align-items: baseline;
}

.ssm-keys-list dt,
.ssm-keys-list dd {
    margin: 0;
}

.ssm-keys-list kbd {
    display: inline-block;
    min-width: 28px;
    padding: 2px 8px;
    border: 1px solid var(--ssm-border, rgba(148, 163, 184, 0.45));
    border-bottom-width: 2px;
    border-radius: 6px;
    font: 600 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
    text-align: center;
}

/* 4.336.0 (Konzept Website U16): Suchfeld der Ergebnisseite, Leerzustand mit Ausweg */
.ssm-search-page-form {
    max-width: 560px;
    margin: 0 0 20px;
}

.ssm-empty-state .ssm-ui-chips {
    margin: 8px 0 16px;
}

.ssm-empty-state .ssm-empty-hint {
    margin: 12px 0 0;
    color: var(--ssm-text-muted, #64748b);
}

.ssm-error [data-ssm-filter-retry] {
    margin-top: 12px;
}

/* 4.336.0 (Konzept Website U14): Folgen im Regal „Weiterhören“ – Fortschritt am Cover */
.ssm-recent-episode .ssm-station-logo {
    position: relative;
}

.ssm-recent-progress {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 8px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.45);
    overflow: hidden;
    pointer-events: none;
}

.ssm-recent-progress > span {
    display: block;
    height: 100%;
    background: var(--ssm-primary, #0096b7);
}

@keyframes ssm-connecting-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ssm-station-play.is-connecting::after,
    .ssm-station-logo .ssm-btn-stream.is-connecting::after {
        animation: none;
        border-color: var(--ssm-primary, #0096b7);
        opacity: 0.6;
    }
}

.ssm-live-dot-inline {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ssm-live, #EF4444);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.ssm-station-actions-end {
    display: inline-flex;
    gap: 10px;
}

.ssm-ui-iconbtn--lg {
    width: 52px;
    height: 52px;
}

.ssm-ui-iconbtn--lg .ssm-icon {
    width: 22px;
    height: 22px;
}

.ssm-station-fav .ssm-i-star-fill,
.ssm-station-fav[aria-pressed="true"] .ssm-i-star {
    display: none;
}

/* Favorit = Stern in Akzentgelb (wie die Herz-/Sternknöpfe der Kacheln) */
.ssm-station-fav[aria-pressed="true"] .ssm-i-star-fill {
    display: block;
    color: var(--ssm-accent);
}

.ssm-station-nostream {
    margin: 0;
    color: var(--ssm-text-light);
}

/* v4.230.0: Toter Stream. Der Text steht dort, wo sonst der Play-Knopf ist */
.ssm-station-offline {
    flex: 1 1 260px;
    min-width: 0;
    line-height: 1.5;
}

/* v4.317.0/v4.318.0: Knopf zum offiziellen Player – Form des Play-Knopfs, Beschriftung wie
   „Live hören“, der Grund als eigene ruhige Zeile (.ssm-station-geo). Die Hülle nimmt nicht am
   Layout teil, ihre Teile stehen direkt in der Aktionszeile. */
.ssm-station-external-wrap {
    display: contents;
}

.ssm-station-external-wrap[hidden],
.ssm-station-play[hidden],
.ssm-station-play-label[hidden] {
    display: none;
}

a.ssm-station-ext {
    text-decoration: none;
}

.ssm-station-ext .ssm-icon {
    width: 24px;
    height: 24px;
}

/* v4.308.0: Geosperre – ruhiger Hinweis unter dem Play-Knopf, eigene Zeile */
.ssm-station-geo {
    flex: 1 1 100%;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ssm-text-light);
}

.ssm-station-geo__icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.ssm-station-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-top: 18px;
}

/* Website, „Änderung vorschlagen“ und „Bearbeiten“ als einheitliche ruhige
   Knöpfe – schlägt die alten Kasten-Stile aus style.css
   (.ssm-website-btn/.ssm-suggest-btn/.ssm-owner-edit-btn samt :hover) */
.ssm-ui-btn--sm {
    min-height: 38px;
    padding: 7px 14px;
    font-size: 14px;
}

.ssm-shell .ssm-station-links :is(.ssm-ui-btn, .ssm-owner-edit-btn) {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 14px;
    border: 1px solid var(--ssm-iconbtn-border);
    border-radius: 999px;
    background: var(--ssm-iconbtn-bg);
    box-shadow: none;
    color: var(--ssm-heading);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transform: none;
}

.ssm-shell .ssm-station-links :is(.ssm-ui-btn, .ssm-owner-edit-btn):hover,
.ssm-shell .ssm-station-links .ssm-owner-edit-btn[aria-expanded="true"] {
    border-color: var(--ssm-text-muted);
    background: var(--ssm-iconbtn-bg-hover);
    color: var(--ssm-heading);
}

.ssm-shell .ssm-station-links .ssm-icon {
    width: 17px;
    height: 17px;
    color: var(--ssm-text-light);
}

.ssm-shell .ssm-station-links .dashicons {
    width: 17px;
    height: 17px;
    font-size: 17px;
    color: var(--ssm-text-light);
}

@media (max-width: 699.98px) {
    .ssm-station-hero {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }

    .ssm-station-hero-glow {
        width: 100%;
    }

    .ssm-station-badges,
    .ssm-station-actions,
    .ssm-station-links {
        justify-content: center;
    }

    .ssm-station-name {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
    }
}

/* --- Sprungleiste --------------------------------------------------- */

.ssm-station-jump {
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ssm-header-h));
    z-index: 20;
    margin: 0 calc(-1 * var(--ssm-gutter)) 8px;
    padding: 8px var(--ssm-gutter);
    background: var(--ssm-glass-bg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ssm-border);
}

.ssm-station-jump ul {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.ssm-station-jump ul::-webkit-scrollbar {
    display: none;
}

.ssm-station-jump a {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--ssm-text-light);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.ssm-shell .ssm-station-jump a {
    color: var(--ssm-text-light);
}

.ssm-shell .ssm-station-jump a:hover {
    background: var(--ssm-iconbtn-bg);
    color: var(--ssm-heading);
}

/* --- Abschnitte (bestehende Bausteine) ------------------------------- */

.ssm-station-section {
    padding: clamp(20px, 3vw, 32px) 0;
    border-top: 1px solid var(--ssm-border);
    scroll-margin-top: calc(var(--ssm-header-h) + 64px);
}

.ssm-station-section:first-of-type {
    border-top: 0;
}

/* Alle Abschnittsköpfe im Maß der Regal-Überschriften */
.ssm-shell .ssm-station-section :is(.ssm-schema-info-title, .ssm-brand-stations-title, .ssm-rating-heading),
.ssm-shell .ssm-station-section .ssm-top-artists > :is(h2, h3),
.ssm-shell .ssm-station-section > .ssm-section-title,
.ssm-shell .ssm-station-section > div > :is(h2, h3):first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    color: var(--ssm-heading);
    font-size: var(--ssm-fs-h2);
    font-weight: 750;
    letter-spacing: -0.015em;
}

.ssm-shell .ssm-station-section h3 .dashicons {
    display: none;
}

.ssm-shell .ssm-station-section :is(.ssm-schema-info, .ssm-brand-stations, .ssm-top-artists, .ssm-star-rating-widget, .ssm-verify-section) {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

/* 4.426.0: Häufigste Künstler als Pills wie in der App, ohne Spielzahl;
   jede führt zur Künstlersuche */
.ssm-artist-chips {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssm-artist-chips > li {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.ssm-shell .ssm-artist-chip {
    max-width: 100%;
    overflow: hidden;
    color: var(--ssm-heading);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ssm-shell a.ssm-artist-chip:hover,
.ssm-shell a.ssm-artist-chip:focus-visible {
    border-color: var(--ssm-text-muted);
    color: var(--ssm-heading);
    text-decoration: none;
}

/* 4.426.0: Kreisdiagramm „Genre“ wie in der App (1.41.0). Farben je Fläche als
   Tokens, die dunklen Stufen setzt ssm_shell_print_theme_css() inline */
:root {
    --ssm-genre-1: #2A78D6;
    --ssm-genre-2: #EB6834;
    --ssm-genre-3: #1BAF7A;
    --ssm-genre-4: #EDA100;
    --ssm-genre-5: #E87BA4;
    --ssm-genre-other: #AAB4C2;
}

.ssm-genre-chart {
    margin: 0;
    padding: 0;
}

.ssm-top-artists + .ssm-genre-chart {
    margin-top: 28px;
}

.ssm-shell .ssm-station-section .ssm-genre-chart > h3.ssm-genre-chart-title {
    margin: 0 0 12px;
    color: var(--ssm-text-muted);
    font-size: 15px;
    font-weight: 650;
    letter-spacing: 0;
}

.ssm-genre-chart-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.ssm-genre-pie {
    flex: none;
    width: 132px;
    height: 132px;
}

.ssm-genre-c1 { fill: var(--ssm-genre-1); background: var(--ssm-genre-1); }
.ssm-genre-c2 { fill: var(--ssm-genre-2); background: var(--ssm-genre-2); }
.ssm-genre-c3 { fill: var(--ssm-genre-3); background: var(--ssm-genre-3); }
.ssm-genre-c4 { fill: var(--ssm-genre-4); background: var(--ssm-genre-4); }
.ssm-genre-c5 { fill: var(--ssm-genre-5); background: var(--ssm-genre-5); }
.ssm-genre-other { fill: var(--ssm-genre-other); background: var(--ssm-genre-other); }

.ssm-genre-legend {
    flex: 1 1 220px;
    max-width: 340px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssm-genre-legend > li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 4px 0;
    font-size: 14px;
    line-height: 1.4;
}

.ssm-genre-swatch {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.ssm-genre-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--ssm-heading);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ssm-shell a.ssm-genre-name {
    color: var(--ssm-heading);
    text-decoration: none;
}

.ssm-shell a.ssm-genre-name:hover,
.ssm-shell a.ssm-genre-name:focus-visible {
    text-decoration: underline;
}

.ssm-genre-pct {
    flex: none;
    color: var(--ssm-text-light);
    font-variant-numeric: tabular-nums;
}

.ssm-genre-source {
    margin: 10px 0 0;
    color: var(--ssm-text-muted);
    font-size: 13px;
}

/* Beschreibung: eingeklappt mit „Mehr anzeigen“ (ssm-shell.js) */
.ssm-station-about {
    max-width: 820px;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ssm-text);
}

[data-ssm-clamp].is-clamped:not(.is-open) {
    max-height: 13.5em;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 65%, transparent);
    mask-image: linear-gradient(#000 65%, transparent);
}

[data-ssm-clamp="short"].is-clamped:not(.is-open) {
    max-height: 5.2em;
}

/* 4.118.0: Klapphöhe schon vor ssm-shell.js (defer) – .ssm-js setzt ein
   Inline-Skript im Kopf. Sonst klappte das Skript den Text erst nach dem
   Zeichnen ein und alles darunter sprang hoch (CLS). Verlauf und „Mehr“
   kommen mit .is-clamped; kurze Texte markiert das Skript als .is-short. */
.ssm-js .ssm-shell [data-ssm-clamp]:not(.is-open):not(.is-short) {
    max-height: 13.5em;
    overflow: hidden;
}

.ssm-js .ssm-shell .ssm-archive-description:not(.is-open):not(.is-short),
.ssm-js .ssm-shell [data-ssm-clamp="short"]:not(.is-open):not(.is-short) {
    max-height: 5.2em;
    overflow: hidden;
}

.ssm-station-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 8px 0 0;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--ssm-primary-hover);
    font-weight: 700;
    cursor: pointer;
}

.ssm-station-more .ssm-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s var(--ssm-ease);
}

.ssm-station-more.is-open .ssm-icon {
    transform: rotate(180deg);
}

/* Senderfamilie / Ähnliche: wischbare Reihe statt Raster */
.ssm-shell .ssm-station-section .ssm-brand-stations-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(132px, 34vw, 168px);
    gap: var(--ssm-shelf-gap);
    /* 4.122.1: oben 8 px Luft – Anheben (3 px) + Fokusring (3 px) wurden von
       overflow-x abgeschnitten; der negative Rand hält den Abstand wie vorher */
    margin: -4px calc(-1 * var(--ssm-gutter)) 0;
    padding: 8px var(--ssm-gutter) 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--ssm-gutter);
    scrollbar-width: none;
}

.ssm-shell .ssm-station-section .ssm-brand-stations-grid::-webkit-scrollbar {
    display: none;
}

/* 4.216.0: Pfeile wie bei den Regalen, sonst erreicht die Maus den Rest der Reihe nicht */
.ssm-shell .ssm-station-section .ssm-brand-stations-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
}

.ssm-shell .ssm-station-section .ssm-brand-stations-head .ssm-brand-stations-title {
    margin: 0;
}

.ssm-brand-stations-head .ssm-shelf-nav {
    margin-left: auto;
}

.ssm-shell .ssm-station-section .ssm-brand-station-card {
    scroll-snap-align: start;
    border-radius: var(--ssm-radius-tile);
    border: 1px solid var(--ssm-border);
    background: var(--ssm-background);
    box-shadow: none;
}

.ssm-shell .ssm-station-section .ssm-brand-station-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ssm-shadow-md);
}

/* 4.334.0: „So hörst du X“ – Wege als Liste mit Symbol, Fakten wie die Sender-Infos */
.ssm-shell .ssm-listen-ways {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 4px 32px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.ssm-shell .ssm-listen-ways li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--ssm-border-light);
    color: var(--ssm-text);
    line-height: 1.45;
}

.ssm-shell .ssm-listen-ways .ssm-icon {
    flex: none;
    margin-top: 1px;
    color: var(--ssm-link);
}

.ssm-shell .ssm-listen-ways strong {
    color: var(--ssm-heading);
}

.ssm-shell .ssm-listen-app {
    margin: 4px 0 12px;
}

.ssm-shell .ssm-listen-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 0 32px;
    margin: 0;
}

.ssm-shell .ssm-listen-facts div {
    padding: 10px 0;
    border-bottom: 1px solid var(--ssm-border-light);
}

.ssm-shell .ssm-listen-facts dt {
    color: var(--ssm-text-light);
    font-size: 13px;
}

.ssm-shell .ssm-listen-facts dd {
    margin: 2px 0 0;
    color: var(--ssm-heading);
    font-weight: 600;
}

/* Sender-Infos: zwei Spalten, ruhig */
.ssm-shell .ssm-schema-info-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 0 32px;
    border: 0;
    background: none;
}

.ssm-shell .ssm-schema-info-row {
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--ssm-border-light);
    background: none;
}

/* ==========================================================================
   15. ÜBERSICHTEN: KOMPAKTES LOGO-RASTER (4.114.0)
   Archive, Suche, Favoriten – dieselbe Kachel wie in den Regalen.
   ========================================================================== */

/* Volle Containerbreite wie Startseite, Entdecken, Blog und Suche – die alten
   1200 px aus style.css (vor der Hülle) rückten alle Senderlisten ein (4.458.0) */
.ssm-shell .ssm-archive-wrapper {
    max-width: none;
    padding: 0;
}

.ssm-shell .ssm-archive-header {
    margin: 0 0 18px;
    padding: 8px 0 0;
    border: 0;
    text-align: left;
}

.ssm-shell .ssm-archive-title {
    margin: 0;
    color: var(--ssm-heading);
    font-size: var(--ssm-fs-h1);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ssm-shell .ssm-archive-count {
    margin: 6px 0 0;
    color: var(--ssm-text-light);
    font-size: 15px;
}

/* Podcast-Übersicht: Anzahl und Länderwahl in einer Zeile (4.121.0) */
.ssm-pod-countrybar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-top: 12px;
}

.ssm-shell .ssm-pod-countrybar .ssm-archive-count {
    margin: 0;
}

/* Menü steht rechts – Panel auch mobil rechtsbündig öffnen */
.ssm-pod-countrybar .ssm-ui-menu-panel {
    right: 0;
    left: auto;
    text-align: left;
}

.ssm-shell .ssm-archive-description {
    max-width: 820px;
    margin: 12px 0 0;
    color: var(--ssm-text);
    text-align: left;
}

.ssm-shell .ssm-archive-header-has-image {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 24px;
}

.ssm-shell .ssm-archive-header-has-image .ssm-archive-image {
    grid-row: span 3;
    width: clamp(96px, 14vw, 160px);
    height: auto;
    border-radius: var(--ssm-radius-cover);
}


/* --------------------------------------------------------------------------
   4.393.0: Land × Genre-Seite („Rock-Radio aus Deutschland“)
   Kopf als ruhige Fläche mit Land und Genre, die Sender direkt darunter,
   die Querverweise als Regale nach der Senderliste (archive-combos.php).
   -------------------------------------------------------------------------- */

.ssm-shell .ssm-archive-header--combo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 12px;
    margin: 6px 0 20px;
    padding: clamp(18px, 2.6vw, 30px);
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius-cover);
    background:
        radial-gradient(520px 260px at 100% 0, var(--ssm-primary-light), transparent 70%),
        var(--ssm-background);
    box-shadow: var(--ssm-shadow-xs);
}

.ssm-shell .ssm-archive-header--combo > * {
    flex: 0 0 100%;
    min-width: 0;
}

.ssm-shell .ssm-archive-header--combo .ssm-archive-title {
    overflow-wrap: anywhere;
}

.ssm-shell .ssm-archive-header--combo .ssm-archive-description {
    max-width: none;
    margin: 0;
    /* Text höchstens 820 px breit, das Feld füllt die Zeile (Anzahl und Teilen stehen darunter) */
    padding-right: max(0px, calc(100% - 820px));
}

/* Anzahl und Teilen in einer Zeile */
.ssm-shell .ssm-archive-header--combo .ssm-archive-count,
.ssm-shell .ssm-archive-header--combo .ssm-archive-share {
    flex: 0 0 auto;
    margin: 0;
}

.ssm-shell .ssm-archive-header--combo .ssm-archive-count {
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--ssm-primary-light);
    color: var(--ssm-link);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
}

/* Land × Genre über dem Titel */
.ssm-archive-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ssm-combo-facet {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 4px 16px 4px 6px;
    border: 1px solid var(--ssm-border);
    border-radius: 999px;
    background: var(--ssm-background);
    color: var(--ssm-heading);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 0.15s var(--ssm-ease), box-shadow 0.15s var(--ssm-ease);
}

.ssm-combo-facet:hover,
.ssm-combo-facet:focus-visible {
    border-color: var(--ssm-primary);
    box-shadow: var(--ssm-shadow-sm);
    color: var(--ssm-heading);
}

.ssm-combo-facet__flag,
.ssm-combo-facet__icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.ssm-combo-facet__flag {
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--ssm-border);
}

.ssm-combo-facet__icon {
    display: inline-grid;
    place-items: center;
    background: var(--ssm-primary-light);
    color: var(--ssm-link);
}

.ssm-combo-facet__icon .ssm-icon {
    width: 15px;
    height: 15px;
}

.ssm-combo-facet__x {
    color: var(--ssm-text-light);
    font-size: 15px;
}

/* Logos der ersten Sender als Collage rechts im Kopf – nur breite Bildschirme */
.ssm-combo-collage {
    display: none;
}

@media (min-width: 960px) {
    .ssm-shell .ssm-archive-header--combo {
        position: relative;
        min-height: 196px;
        /* Platz der Collage: fünf Logos, je 20 px überlappt, plus Abstand zum Rand und zum Text */
        padding-right: calc(5 * var(--ssm-combo-logo) - 80px + clamp(24px, 3vw, 44px) + 36px);
        --ssm-combo-logo: clamp(68px, 7vw, 100px);
    }

    .ssm-combo-collage {
        position: absolute;
        top: 50%;
        right: clamp(24px, 3vw, 44px);
        display: flex;
        align-items: center;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .ssm-combo-collage__logo {
        width: var(--ssm-combo-logo);
        height: var(--ssm-combo-logo);
        margin-left: -20px;
        padding: 6px;
        border: 1px solid var(--ssm-tile-plate-border);
        border-radius: 20px;
        background: var(--ssm-tile-plate);
        box-shadow: var(--ssm-shadow-md);
        object-fit: contain;
    }

    .ssm-combo-collage__logo:first-child {
        margin-left: 0;
    }

    .ssm-combo-collage__logo:nth-child(odd) {
        transform: rotate(-4deg) translateY(8px);
    }

    .ssm-combo-collage__logo:nth-child(even) {
        transform: rotate(3deg) translateY(-8px);
    }
}

/* Regale nach der Senderliste */
.ssm-combo-more {
    display: grid;
    gap: clamp(28px, 4vw, 44px);
    margin: clamp(28px, 4vw, 48px) 0 clamp(8px, 2vw, 16px);
    padding-top: clamp(24px, 3vw, 36px);
    border-top: 1px solid var(--ssm-border);
}

.ssm-combo-more .ssm-shelf {
    margin: 0;
    min-width: 0;
}

/* Die Überschriften nennen Land und Genre – umbrechen statt abschneiden */
.ssm-combo-more .ssm-shelf-title span {
    overflow: visible;
    white-space: normal;
    text-wrap: balance;
}

@media (max-width: 599.98px) {
    .ssm-shell .ssm-archive-header--combo {
        margin-top: 2px;
        padding: 16px;
        border-radius: 16px;
    }

    .ssm-combo-facet {
        min-height: 36px;
        padding-right: 12px;
        font-size: 13px;
    }

    .ssm-combo-facet__flag,
    .ssm-combo-facet__icon {
        width: 24px;
        height: 24px;
    }
}
/* Anmelden steht in den Einstellungen (der alte Darstellungs-Umschalter ist seit 4.336.0 weg) */
.ssm-shell .ssm-archive-wrapper .ssm-auth-header {
    display: none;
}

.ssm-shell .ssm-stations-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 26px var(--ssm-shelf-gap);
    grid-auto-flow: row dense;
}

@media (max-width: 599.98px) {
    .ssm-shell .ssm-stations-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 10px;
    }
}

@media (max-width: 339.98px) {
    .ssm-shell .ssm-stations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ssm-shell .ssm-stations-grid .ssm-station-card {
    min-height: 0;
    height: auto;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
    isolation: auto;
}

.ssm-shell .ssm-stations-grid .ssm-station-card {
    transition: transform 0.3s var(--ssm-ease);
}

.ssm-shell .ssm-stations-grid .ssm-station-card:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.ssm-shell .ssm-stations-grid .ssm-station-card:focus-within {
    box-shadow: none;
}

.ssm-shell .ssm-stations-grid .ssm-station-card .ssm-station-logo {
    aspect-ratio: 1 / 1;
    max-height: none;
    border-radius: var(--ssm-radius-tile);
    border: 1px solid var(--ssm-tile-plate-border);
    background: var(--ssm-tile-plate);
    box-shadow: var(--ssm-shadow-xs);
    overflow: hidden;
    transition: box-shadow 0.3s var(--ssm-ease);
}

.ssm-shell .ssm-stations-grid .ssm-station-card:hover .ssm-station-logo {
    box-shadow: var(--ssm-shadow-md);
}

.ssm-shell .ssm-stations-grid .ssm-station-card:focus-within .ssm-station-logo {
    box-shadow: 0 0 0 3px var(--ssm-primary);
}

.ssm-shell .ssm-stations-grid .ssm-card-backdrop,
.ssm-shell .ssm-stations-grid .ssm-station-logo::after,
.ssm-shell .ssm-stations-grid .ssm-live-dot,
.ssm-shell .ssm-stations-grid .ssm-station-excerpt,
.ssm-shell .ssm-stations-grid .ssm-card-badges .ssm-badge-verified {
    display: none;
}

.ssm-shell .ssm-stations-grid .ssm-station-card .ssm-station-logo img.ssm-card-image {
    max-width: 80%;
    max-height: 80%;
    filter: none;
    transform: none;
}

.ssm-shell .ssm-stations-grid .ssm-station-logo .ssm-btn-stream {
    right: 8px;
    bottom: 8px;
    width: 40px;
    height: 40px;
}

.ssm-shell .ssm-stations-grid .ssm-station-logo .ssm-btn-stream .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
}

@media (hover: none) {
    .ssm-shell .ssm-stations-grid .ssm-station-logo .ssm-btn-stream {
        width: 34px;
        height: 34px;
        right: 6px;
        bottom: 6px;
    }
}

.ssm-shell .ssm-stations-grid .ssm-station-card .ssm-card-content {
    padding: 8px 2px 0;
    gap: 2px;
}

.ssm-shell .ssm-stations-grid .ssm-station-card .ssm-station-title {
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
    -webkit-line-clamp: 2;
}

.ssm-shell .ssm-stations-grid .ssm-card-badges {
    display: flex;
    gap: 0;
    overflow: hidden;
    white-space: nowrap;
}

.ssm-shell .ssm-stations-grid .ssm-card-badges .ssm-badge {
    min-height: 0;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--ssm-text-light);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ssm-shell .ssm-stations-grid .ssm-card-badges .ssm-badge + .ssm-badge::before {
    content: '·';
    margin: 0 5px;
    color: var(--ssm-text-muted);
}

/* 4.122.0: Tippziele mindestens 24 px hoch (WCAG 2.5.8, PageSpeed) – Genre-/
   Land-Links in Kacheln waren 17 px hoch und lagen 2 px unter dem Titel-Link */
.ssm-shell :is(.ssm-stations-grid, .ssm-shelf, .ssm-tiles) .ssm-card-badges {
    align-items: center;
    margin-top: 2px;
}

/* inline-block statt flex: die Auslassungspunkte (text-overflow) bleiben */
.ssm-shell :is(.ssm-stations-grid, .ssm-shelf, .ssm-tiles) .ssm-card-badges a.ssm-badge-link {
    display: inline-block;
    min-height: 24px;
    line-height: 24px;
}

/* 4.147.0: „Pop“ (21 px) und „Jazz“ (22 px) sind schmaler als 24 px und
   brauchen dann Abstand zum Nachbarn (Lighthouse „Berührungszielbereiche …
   unzureichender Abstand“). Der Trennpunkt saß samt beider Abstände im
   nächsten Link, „Deutschland“ schloss direkt an. Der linke Abstand liegt
   jetzt außerhalb des Links – gleiches Bild, 5 px Luft zwischen den Zielen. */
.ssm-shell :is(.ssm-stations-grid, .ssm-shelf, .ssm-tiles) .ssm-card-badges .ssm-badge + .ssm-badge {
    margin-left: 5px;
}

.ssm-shell :is(.ssm-stations-grid, .ssm-shelf, .ssm-tiles) .ssm-card-badges .ssm-badge + .ssm-badge::before {
    margin: 0 5px 0 0;
}

/* „Verifiziert“ ist in Kacheln ausgeblendet – das Genre danach ist dann das
   erste sichtbare Badge und bekommt keinen Trennpunkt (stand bei verifizierten
   Sendern als „· Pop · Deutschland“ da) */
.ssm-shell :is(.ssm-stations-grid, .ssm-shelf, .ssm-tiles) .ssm-card-badges .ssm-badge-verified + .ssm-badge {
    margin-left: 0;
}

.ssm-shell :is(.ssm-stations-grid, .ssm-shelf, .ssm-tiles) .ssm-card-badges .ssm-badge-verified + .ssm-badge::before {
    content: none;
}

/* Werbekachel: eine ganze Zeile statt einer schmalen Zelle */
.ssm-shell .ssm-stations-grid > .ssm-ad-tile {
    grid-column: 1 / -1;
    min-height: 130px;
}

.ssm-shell .ssm-stations-grid > .ssm-ad-tile .ssm-ad-ins {
    min-height: 100px;
}

/* 4.128.0: Absenden-Knöpfe der Sender-Formulare (Bearbeitungslink,
   Beanspruchen) wie die Hauptknöpfe der Website – vorher dunkle Schrift auf
   Grün (.ssm-shell button), dunkel Hellgrün mit heller Schrift */
.ssm-shell .ssm-verify-form__submit {
    min-height: 44px;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--ssm-gradient-primary);
    box-shadow: 0 8px 22px rgba(0, 150, 183, 0.28);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.ssm-shell .ssm-verify-form__submit:hover {
    background: var(--ssm-gradient-primary-hover);
    color: #fff;
    opacity: 1;
}

.ssm-shell .ssm-verify-form__submit:focus-visible {
    outline: 3px solid var(--ssm-primary);
    outline-offset: 2px;
}

/* Seitennavigation der Übersichten (ssm_render_pagination) */
.ssm-shell .ssm-pagination-wrapper {
    margin-top: 32px;
}

/* ==========================================================================
   16. PODCASTS (4.115.0) – Podcast-Seite im Stil der Senderseite
   Markup aus podcast-frontend.php (ssm_podcast_render_view) bleibt, nur die
   alte Kartenoptik (.ssm-station-wrapper > .ssm-card) wird aufgehoben.
   ========================================================================== */

.ssm-shell .ssm-pod-wrapper {
    position: relative;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
    isolation: isolate;
}

.ssm-shell .ssm-pod-wrapper > .ssm-bg-blur {
    inset: 0 auto auto 0;
    width: min(70%, 640px);
    height: 340px;
    z-index: -1;
    filter: blur(70px) saturate(1.4);
    opacity: 0.18;
    transform: none;
}

.ssm-shell .ssm-pod-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    gap: clamp(20px, 3vw, 40px);
    margin: 0;
    padding: clamp(8px, 2vw, 24px) 0 clamp(24px, 3vw, 36px);
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

/* Dunkel setzt ssm_print_theme_css() .ssm-card auf --ssm-glass-bg (Spezifität 0,3,0) */
.ssm-shell .ssm-pod-wrapper .ssm-card.ssm-pod-hero {
    background: none;
}

.ssm-shell .ssm-pod-hero .ssm-pod-cover {
    width: clamp(160px, 22vw, 280px);
    height: auto;
    aspect-ratio: 1;
    margin: 0;
    border-radius: var(--ssm-radius-cover);
    overflow: hidden;
    box-shadow: var(--ssm-shadow-lg);
}

.ssm-shell .ssm-pod-hero .ssm-pod-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.ssm-shell .ssm-pod-hero .ssm-info {
    min-width: 0;
    padding: 0;
}

.ssm-shell .ssm-pod-hero .ssm-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.ssm-shell .ssm-pod-hero .ssm-meta-top .ssm-badge {
    max-width: none;
    min-height: 30px;
    padding: 4px 12px;
    overflow: visible;
    border: 1px solid var(--ssm-border);
    border-radius: 999px;
    background: var(--ssm-background);
    color: var(--ssm-text);
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
}

.ssm-shell .ssm-pod-hero .ssm-meta-top .ssm-badge .dashicons {
    display: none;
}

.ssm-shell .ssm-pod-hero .ssm-title {
    margin: 0 0 6px;
    color: var(--ssm-heading);
    font-size: var(--ssm-fs-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    overflow-wrap: anywhere;
    text-align: left;
}

.ssm-shell .ssm-pod-byline {
    margin: 0 0 18px;
    color: var(--ssm-text-light);
}

.ssm-shell .ssm-pod-playbox {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.ssm-shell .ssm-pod-hero .ssm-action-buttons {
    justify-content: flex-start;
}

.ssm-shell .ssm-pod-wrapper > .ssm-description,
.ssm-shell .ssm-pod-wrapper > .ssm-pod-section {
    margin: 0;
    padding: clamp(20px, 3vw, 32px) 0;
    border: 0;
    border-top: 1px solid var(--ssm-border);
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.ssm-shell .ssm-pod-wrapper > .ssm-description :is(h2, h3),
.ssm-shell .ssm-pod-section-title {
    margin: 0 0 16px;
    color: var(--ssm-heading);
    font-size: var(--ssm-fs-h2);
    font-weight: 750;
    letter-spacing: -0.015em;
}

.ssm-shell .ssm-pod-wrapper > .ssm-description .ssm-text-content {
    max-width: 820px;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.ssm-shell .ssm-pod-wrapper .dashicons:not(.ssm-play-icon .dashicons) {
    vertical-align: middle;
}

/* Podcast-Kacheln im kompakten Raster: Cover füllt die Fläche */
.ssm-shell .ssm-stations-grid .ssm-podcast-card .ssm-station-logo img.ssm-card-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

@media (max-width: 699.98px) {
    .ssm-shell .ssm-pod-hero {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }

    .ssm-shell .ssm-pod-hero .ssm-title {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
        text-align: center;
    }

    .ssm-shell .ssm-pod-hero .ssm-meta-top,
    .ssm-shell .ssm-pod-hero .ssm-action-buttons {
        justify-content: center;
    }
}

/* ==========================================================================
   17. PLAYER-LEISTE + VOLLBILD-PLAYER (4.116.0)
   Markup und IDs aus player.js bleiben (hls-metadata.js, chromecast.js);
   Glasfläche statt dunklem Verlauf, Logos auf heller Platte. Mobil ein
   Mini-Player über der Tab-Leiste – Tipp öffnet #ssm-player-sheet.
   ========================================================================== */

body.ssm-shell #ssm-sticky-player {
    background: var(--ssm-glass-bg);
    -webkit-backdrop-filter: saturate(1.4) blur(18px);
    backdrop-filter: saturate(1.4) blur(18px);
    color: var(--ssm-heading);
    border-top: 1px solid var(--ssm-border);
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.10);
    font-family: var(--ssm-font-family);
}

body.ssm-shell #ssm-sticky-player .ssm-player-container {
    max-width: calc(var(--ssm-container) + 2 * var(--ssm-gutter));
    min-height: 72px;
    padding: 10px var(--ssm-gutter);
    gap: 14px;
}

body.ssm-shell #ssm-sticky-player .ssm-player-thumb {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid var(--ssm-tile-plate-border);
    background: var(--ssm-tile-plate);
}

body.ssm-shell #ssm-sticky-player .ssm-player-thumb img {
    padding: 4px;
    object-fit: contain;
    border-radius: inherit;
}

body.ssm-shell #ssm-sticky-player .ssm-player-no-thumb {
    color: var(--ssm-text-muted);
}

body.ssm-shell #ssm-sticky-player .ssm-player-title {
    color: var(--ssm-heading);
    font-weight: 700;
}

body.ssm-shell #ssm-sticky-player :is(.ssm-player-meta, .ssm-player-now-playing) {
    color: var(--ssm-text-light);
}

/* 4.429.0 (Konzept Proxy-Plätze E8): „In der App hören“ hinter dem Grund einer Ablehnung */
body.ssm-shell #ssm-sticky-player .ssm-player-app-link {
    color: var(--ssm-link, var(--ssm-primary));
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}

body.ssm-shell #ssm-sticky-player .ssm-player-btn {
    border: 1px solid var(--ssm-iconbtn-border);
    background: var(--ssm-iconbtn-bg);
    color: var(--ssm-heading);
}

body.ssm-shell #ssm-sticky-player .ssm-player-btn:hover {
    background: var(--ssm-iconbtn-bg-hover);
    transform: none;
}

body.ssm-shell #ssm-sticky-player .ssm-player-play {
    width: 50px;
    height: 50px;
    border: 0;
    background: var(--ssm-gradient-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 150, 183, 0.30);
}

body.ssm-shell #ssm-sticky-player .ssm-player-play:hover {
    background: var(--ssm-gradient-primary-hover);
}

/* Lautstärke (4.118.0): Der weiße Knopf auf der hellen Glasfläche und der
   hellgraue 4-px-Balken waren kaum zu sehen. Jetzt kräftiger Balken, gefüllt
   bis zum Pegel (--ssm-vol setzt player.js), Knopf mit farbigem Rand. */
body.ssm-shell #ssm-sticky-player .ssm-player-volume-slider {
    width: 96px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--ssm-range-fill-a) 0, var(--ssm-range-fill-b) var(--ssm-vol, 80%), var(--ssm-range-track) var(--ssm-vol, 80%));
    accent-color: var(--ssm-range-fill-b);
    cursor: pointer;
}

body.ssm-shell #ssm-sticky-player .ssm-player-volume-slider::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border: 3px solid var(--ssm-range-fill-b);
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.35);
}

body.ssm-shell #ssm-sticky-player .ssm-player-volume-slider::-moz-range-thumb {
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    border: 3px solid var(--ssm-range-fill-b);
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.35);
}

body.ssm-shell #ssm-sticky-player .ssm-player-volume-slider::-moz-range-track {
    background: transparent;
}

body.ssm-shell #ssm-sticky-player .ssm-player-volume-slider:focus-visible {
    outline: 2px solid var(--ssm-range-fill-b);
    outline-offset: 6px;
}

body.ssm-shell #ssm-sticky-player .ssm-player-live {
    color: var(--ssm-text-light);
}

body.ssm-shell #ssm-sticky-player .ssm-player-close {
    background: transparent;
    color: var(--ssm-text-light);
}

body.ssm-shell #ssm-sticky-player .ssm-player-close:hover {
    color: var(--ssm-heading);
    background: var(--ssm-iconbtn-bg);
}

@media (max-width: 899.98px) {
    body.ssm-shell #ssm-sticky-player .ssm-player-container {
        min-height: 64px;
        padding: 8px 12px;
        gap: 10px;
    }

    body.ssm-shell #ssm-sticky-player .ssm-player-thumb {
        width: 44px;
        height: 44px;
    }

    /* Mini-Player: Lautstärke und Live-Hinweis im Vollbild; Schließen bleibt
       (4.121.0, Wunsch des Nutzers) */
    body.ssm-shell #ssm-sticky-player :is(.ssm-player-volume, .ssm-player-live) {
        display: none;
    }

    body.ssm-shell #ssm-sticky-player .ssm-player-close {
        display: inline-flex;
        flex: none;
        width: 36px;
        height: 36px;
    }

    body.ssm-shell #ssm-sticky-player .ssm-player-info {
        cursor: pointer;
    }

    body.ssm-shell #ssm-sticky-player .ssm-player-play {
        width: 44px;
        height: 44px;
    }
}

/* App-Banner: seit 4.346.0 eine Karte im Hinweis-Stapel (ssm-notices.css) */

/* --- Podcast-Leiste (ssm-podcasts.js) in denselben Farben ------------- */

body.ssm-shell .ssm-pod-player {
    background: var(--ssm-glass-bg);
    -webkit-backdrop-filter: saturate(1.4) blur(18px);
    backdrop-filter: saturate(1.4) blur(18px);
    color: var(--ssm-heading);
    border-top: 1px solid var(--ssm-border);
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.10);
}

body.ssm-shell .ssm-pod-player-title {
    color: var(--ssm-heading);
}

body.ssm-shell .ssm-pod-player-podcast,
body.ssm-shell .ssm-pod-player-seek {
    color: var(--ssm-text-light);
}

body.ssm-shell .ssm-pod-player-podcast:hover {
    color: var(--ssm-heading);
}

body.ssm-shell .ssm-pod-player-thumb {
    background: var(--ssm-background-alt);
}

body.ssm-shell .ssm-pod-player-btn,
body.ssm-shell .ssm-pod-player-speed {
    border-color: var(--ssm-iconbtn-border);
    background: var(--ssm-iconbtn-bg);
    color: var(--ssm-heading);
}

body.ssm-shell .ssm-pod-player-btn:hover,
body.ssm-shell .ssm-pod-player-speed:hover {
    background: var(--ssm-iconbtn-bg-hover);
}

body.ssm-shell .ssm-pod-player-close {
    color: var(--ssm-text-light);
}

body.ssm-shell .ssm-pod-range {
    background: linear-gradient(90deg, #00B4D8 0%, #4F46E5 100%) 0 0 / var(--p, 0%) 100% no-repeat, var(--ssm-border);
}

/* --- 4.159.0: Sender-Leiste – Favorit und „Erweitern“ (nur Desktop) ---- */

body.ssm-shell #ssm-sticky-player .ssm-player-fav .ssm-icon,
body.ssm-shell #ssm-sticky-player .ssm-player-expand .ssm-icon {
    width: 22px;
    height: 22px;
}

/* Chevron des Sprites zeigt nach unten – „Erweitern“ nach oben */
body.ssm-shell .ssm-player-expand .ssm-icon,
body.ssm-shell .ssm-pod-player-expand .ssm-icon {
    transform: rotate(180deg);
}

body.ssm-shell .ssm-pod-player-expand .ssm-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 899.98px) {
    body.ssm-shell #ssm-sticky-player :is(.ssm-player-fav, .ssm-player-expand) {
        display: none;
    }

    /* Folgen-Mini-Player schlank wie der Sender (Entscheidung 10.1): Cover ·
       Titel · Play · ×, Stand als Linie oben; Spulen, Tempo, Kapitel und
       Transkript im Vollbild (Tipp auf die Infozeile) */
    body.ssm-shell .ssm-pod-player-inner {
        grid-template-columns: 44px minmax(0, 1fr) auto auto;
        grid-template-areas: "thumb info controls close";
        gap: 10px;
        padding: 8px 12px;
    }

    body.ssm-shell .ssm-pod-player :is(.ssm-pod-player-seek, .ssm-pod-player-speed, .ssm-pod-player-extra, [data-act="back"], [data-act="fwd"]) {
        display: none;
    }

    body.ssm-shell .ssm-pod-player-thumb {
        width: 44px;
        height: 44px;
    }

    body.ssm-shell .ssm-pod-player-info {
        cursor: pointer;
    }

    body.ssm-shell .ssm-pod-player-play {
        width: 44px;
        height: 44px;
    }

    body.ssm-shell .ssm-pod-player::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: var(--ssm-pod-p, 0%);
        height: 2px;
        background: var(--ssm-gradient-primary);
        pointer-events: none;
    }
}

/* --- Vollbild-Player ---------------------------------------------------- */

.ssm-player-sheet {
    inset: 0;
    width: 100%;
    height: 100%;
}

.ssm-player-sheet .ssm-dialog-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(480px, 100%);
    height: 100%;
    margin: 0 auto;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 22px calc(28px + env(safe-area-inset-bottom, 0px));
    overflow: auto;
    text-align: center;
    background-image: var(--ssm-glow);
    background-repeat: no-repeat;
    background-size: 100% 520px;
}

.ssm-player-sheet[open] .ssm-dialog-inner {
    animation: ssm-sheet-up 0.28s var(--ssm-ease);
}

.ssm-player-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: clamp(16px, 5vh, 40px);
}

.ssm-player-sheet-head .ssm-dialog-label {
    margin: 0;
}

.ssm-player-sheet-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(78vw, 320px);
    aspect-ratio: 1;
    margin: 0 0 clamp(18px, 4vh, 32px);
    border-radius: 28px;
    border: 1px solid var(--ssm-tile-plate-border);
    background: var(--ssm-tile-plate);
    box-shadow: var(--ssm-shadow-lg);
    overflow: hidden;
}

.ssm-player-sheet-cover img {
    width: 84%;
    height: 84%;
    object-fit: contain;
}

.ssm-player-sheet-cover .ssm-icon {
    width: 72px;
    height: 72px;
    color: var(--ssm-text-muted);
}

.ssm-player-sheet-title {
    margin: 0 0 4px;
    color: var(--ssm-heading);
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ssm-player-sheet-meta {
    margin: 0 0 10px;
    color: var(--ssm-text-light);
}

.ssm-player-sheet-np {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    margin: 0 0 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--ssm-primary-light);
    color: var(--ssm-heading);
    font-size: 14px;
    font-weight: 600;
}

.ssm-player-sheet-np span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ssm-player-sheet-np .ssm-icon {
    width: 16px;
    height: 16px;
    color: var(--ssm-primary-hover);
}

.ssm-player-sheet-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: clamp(18px, 4vh, 32px) 0;
}

.ssm-player-sheet-play {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ssm-gradient-primary);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 150, 183, 0.35);
    cursor: pointer;
}

.ssm-player-sheet-play .ssm-icon {
    width: 34px;
    height: 34px;
}

.ssm-player-sheet-play .ssm-i-play {
    margin-left: 4px;
}

.ssm-player-sheet-play .ssm-i-pause,
.ssm-player-sheet.is-playing .ssm-player-sheet-play .ssm-i-play {
    display: none;
}

.ssm-player-sheet.is-playing .ssm-player-sheet-play .ssm-i-pause {
    display: block;
}

/* 4.159.0: zwei Modi – data-only blendet aus, was zum anderen gehört */
.ssm-player-sheet[data-mode="live"] [data-only="episode"],
.ssm-player-sheet[data-mode="episode"] [data-only="live"] {
    display: none !important;
}

.ssm-player-sheet-main {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.ssm-player-sheet-page {
    margin-top: auto;
}

/* Quadrat bleibt Quadrat – in der Desktop-Spalte schrumpfte es sonst */
.ssm-player-sheet-cover {
    flex: none;
}

/* Folgen-Cover füllt die Fläche (Senderlogos bleiben eingerückt) */
.ssm-player-sheet-cover.is-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ssm-player-sheet.is-loading .ssm-player-sheet-play {
    animation: ssm-sheet-pulse 1.2s ease-in-out infinite;
}

@keyframes ssm-sheet-pulse {
    50% { opacity: 0.7; }
}

.ssm-player-sheet-error {
    margin: 0 0 6px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 600;
}

.ssm-player-sheet-seek {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 440px;
    margin: 14px 0 0;
    color: var(--ssm-text-light);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.ssm-player-sheet-range {
    flex: 1;
    height: 6px;
    margin: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #00B4D8 0%, #4F46E5 100%) 0 0 / var(--p, 0%) 100% no-repeat, var(--ssm-border);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.ssm-player-sheet-range::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #4F46E5;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.3);
    -webkit-appearance: none;
    appearance: none;
}

.ssm-player-sheet-range::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #4F46E5;
}

.ssm-player-sheet-range:focus-visible {
    outline: 2px solid var(--ssm-primary-hover);
    outline-offset: 4px;
}

/* −15/+30: Zahl in der Mitte des Kreispfeils */
.ssm-player-sheet-skip {
    position: relative;
}

.ssm-player-sheet-skip b {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    pointer-events: none;
}

.ssm-player-sheet-extras {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 18px;
}

.ssm-player-sheet-extras .ssm-ui-btn {
    min-width: 72px;
    min-height: 44px;
    font-variant-numeric: tabular-nums;
}

/* Listen: Kapitel (Folge), Streams (Sender) */
.ssm-player-sheet-side {
    width: 100%;
    text-align: left;
}

.ssm-player-sheet-side:not(:has(.ssm-player-sheet-list:not([hidden]))) {
    display: none;
}

.ssm-player-sheet-list {
    margin: 24px 0 0;
}

.ssm-player-sheet-list :is(ol, ul) {
    display: grid;
    /* lange Titel ohne Umbruch dürfen die Spalte nicht dehnen (4.161.0) */
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssm-player-sheet-list button {
    display: flex;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--ssm-heading);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.ssm-player-sheet-list button:hover {
    background: var(--ssm-background-alt);
}

.ssm-player-sheet-list button:focus-visible {
    outline: 2px solid var(--ssm-primary-hover);
    outline-offset: -2px;
}

.ssm-player-sheet-list button.is-now,
.ssm-player-sheet-list button[aria-pressed="true"] {
    background: var(--ssm-primary-light);
    font-weight: 700;
}

.ssm-player-sheet-list time,
.ssm-player-sheet-list small {
    flex: none;
    color: var(--ssm-text-light);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.ssm-player-sheet-list [data-ssm-sheet-streams] button {
    flex-direction: column;
    gap: 2px;
}

/* --- 4.160.0: Fehlerhilfe, Schlaf-Timer, Zuletzt gespielt, ähnliche Sender */

body.ssm-shell #ssm-sticky-player .ssm-player-retry {
    flex: none;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid var(--ssm-iconbtn-border);
    border-radius: 999px;
    background: var(--ssm-iconbtn-bg);
    color: var(--ssm-heading);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

body.ssm-shell #ssm-sticky-player .ssm-player-retry:hover {
    background: var(--ssm-iconbtn-bg-hover);
}

@media (max-width: 899.98px) {
    /* Mini-Player: Hilfe im Vollbild (Tipp auf die Infozeile) */
    body.ssm-shell #ssm-sticky-player .ssm-player-retry {
        display: none;
    }
}

.ssm-player-sheet-erroractions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 4px 0 6px;
}

.ssm-player-sheet-erroractions .ssm-ui-btn {
    min-height: 44px;
}

.ssm-player-sheet-extras [data-ssm-sheet="sleep"].is-active {
    border-color: var(--ssm-primary-hover);
    color: var(--ssm-primary-hover);
}

.ssm-player-sheet-sleep {
    justify-content: center;
    margin: -6px 0 18px;
}

.ssm-player-sheet-sleep .ssm-ui-chip {
    min-height: 40px;
    cursor: pointer;
}

.ssm-player-sheet-sleep .ssm-ui-chip[aria-pressed="true"] {
    border-color: var(--ssm-primary-hover);
    background: var(--ssm-primary-light);
    color: var(--ssm-heading);
}

.ssm-player-sheet-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 8px 12px;
    color: var(--ssm-heading);
}

.ssm-player-sheet-list .ssm-player-sheet-station {
    align-items: center;
}

.ssm-player-sheet-station img {
    flex: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--ssm-tile-plate-border);
    border-radius: 10px;
    background: var(--ssm-tile-plate);
    object-fit: contain;
}

.ssm-player-sheet-station span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ssm-player-sheet-station strong,
.ssm-player-sheet-station small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ssm-player-sheet-station strong {
    font-weight: 700;
}

/* --- 4.161.0: „Als Nächstes“ (Folgen) ------------------------------------ */

.ssm-player-sheet-queueitem {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.ssm-player-sheet-list .ssm-player-sheet-queueitem > [data-ssm-sheet-queueplay] {
    flex: 1;
    min-width: 0;
}

.ssm-player-sheet-queueitem span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ssm-player-sheet-queueitem strong,
.ssm-player-sheet-queueitem small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ssm-player-sheet-list .ssm-player-sheet-queueremove {
    flex: none;
    width: 40px;
    min-height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}

.ssm-player-sheet-hint {
    margin: 0 12px 6px;
    color: var(--ssm-text-light);
    font-size: 14px;
}

.ssm-player-sheet-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    color: var(--ssm-heading);
    font-size: 14px;
    cursor: pointer;
}

.ssm-player-sheet-toggle input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--ssm-primary-hover);
}

/* --- 4.159.0: Desktop – erweiterte Ansicht (Entscheidung 10.5) ----------
   Groß über dem Inhalt, zweispaltig: links Steuerung, rechts Listen. */
@media (min-width: 900px) {
    .ssm-player-sheet .ssm-dialog-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr);
        column-gap: 40px;
        align-items: start;
        width: min(1000px, calc(100vw - 64px));
        height: min(720px, calc(100vh - var(--ssm-player-h, 0px) - 56px));
        margin: 28px auto 0;
        padding: 20px 32px 28px;
        border: 1px solid var(--ssm-border);
        border-radius: 28px;
        background-size: 100% 100%;
    }

    .ssm-player-sheet:not(:has(.ssm-player-sheet-list:not([hidden]))) .ssm-dialog-inner {
        grid-template-columns: minmax(0, 1fr);
        width: min(560px, calc(100vw - 64px));
    }

    .ssm-player-sheet-head {
        grid-column: 1 / -1;
        margin-bottom: 18px;
    }

    .ssm-player-sheet-main {
        grid-column: 1;
        height: 100%;
        overflow: auto;
        scrollbar-width: thin;
    }

    .ssm-player-sheet-cover {
        width: min(240px, 28vh);
        margin-bottom: 20px;
    }

    .ssm-player-sheet-controls {
        margin: 20px 0;
    }

    /* Der Pfeil im Kopf führt schon zur Sender-/Folgenseite */
    .ssm-player-sheet .ssm-player-sheet-page {
        display: none;
    }

    .ssm-player-sheet-title {
        font-size: 1.6rem;
    }

    .ssm-player-sheet-side {
        grid-column: 2;
        height: 100%;
        overflow: auto;
        scrollbar-width: thin;
    }

    .ssm-player-sheet-list:first-child,
    .ssm-player-sheet-list[hidden] + .ssm-player-sheet-list {
        margin-top: 0;
    }
}

/* ==========================================================================
   18. INHALTSSEITEN: SEITENKOPF STATT HERO, FEATURE-KARTEN (4.117.0)
   ========================================================================== */

/* Seitenkopf aus dem früheren Cover „soundnode-hero“ (shell-pages.php) */
.ssm-page-hero {
    max-width: 760px;
    margin: 0 auto clamp(24px, 4vw, 40px);
    padding: clamp(16px, 4vw, 48px) 0 0;
}

.ssm-page-kicker {
    margin: 0 0 10px;
    color: var(--ssm-primary-hover);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ssm-page-hero .ssm-page-title {
    font-size: var(--ssm-fs-display);
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.ssm-page-hero .ssm-page-lead {
    max-width: none;
    margin-top: 14px;
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
    line-height: 1.6;
}

.ssm-page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.ssm-page-hero-actions > * {
    margin: 0;
}

/* Gutenberg-Knöpfe im Seitenkopf wie der Primärknopf der Hülle (die Blöcke
   bringen Farben als Inline-Style mit) */
.ssm-shell .ssm-page-hero-actions .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--ssm-gradient-primary) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 150, 183, 0.28);
}

.ssm-shell .ssm-page-hero-actions .wp-block-button__link:hover {
    background: var(--ssm-gradient-primary-hover) !important;
}

/* Feature-Karten (ssm-site.css: zentriert, weiß, Schatten) ruhig wie die
   Karten der Hülle */
.ssm-shell .soundnode-feature-card {
    padding: 22px 24px;
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius-cover);
    background: var(--ssm-background);
    box-shadow: none;
    text-align: left;
    transform: none;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.ssm-shell .soundnode-feature-card:hover {
    transform: none;
    box-shadow: var(--ssm-shadow-sm);
    border-color: var(--ssm-border);
}

.ssm-shell .soundnode-feature-card h3 {
    margin: 0 0 6px;
    color: var(--ssm-heading);
    font-size: 1.05rem !important; /* Block-Inline-Style */
    font-weight: 700;
    text-align: left;
}

.ssm-shell .soundnode-feature-card p {
    margin: 0;
    color: var(--ssm-text-light);
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
}

/* Weiße Vollbreiten-Gruppen (Künstlersuche, Sender eintragen) ohne Fläche –
   die Seite hat schon ihren Hintergrund; WordPress setzt die Farbe mit !important */
.ssm-shell .ssm-page-body .has-white-background-color.alignfull {
    background-color: transparent !important;
}

/* --- App-Seite (4.131.0, includes/app-page.php) ------------------------ */

.ssm-shell .ssm-app-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.6vw, 16px);
    margin: 0 auto clamp(8px, 2vw, 16px);
}

/* Klassische Themes: WordPress legt einen inneren Container in die Gruppe */
.ssm-shell .ssm-app-stats > .wp-block-group__inner-container {
    display: contents;
}

/* Anzahl 0 ([ssm_count] gibt dann nichts aus): Kachel weglassen */
.ssm-shell .ssm-app-stat:has(.ssm-app-stat__num:empty) {
    display: none;
}

.ssm-shell .ssm-app-stat {
    padding: 18px 14px;
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius-cover);
    background: var(--ssm-background);
    text-align: center;
}

.ssm-shell .ssm-app-stat .ssm-app-stat__num {
    margin: 0;
    color: var(--ssm-heading);
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ssm-shell .ssm-app-stat .ssm-app-stat__label {
    margin: 4px 0 0;
    color: var(--ssm-text-light);
    font-size: 14px;
    line-height: 1.4;
}

.ssm-shell .ssm-app-plans {
    gap: clamp(14px, 2vw, 24px);
    margin-top: 20px;
}

.ssm-shell .ssm-app-plan {
    padding: clamp(18px, 2.4vw, 26px);
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius-cover);
    background: var(--ssm-background);
}

.ssm-shell .ssm-app-plan.is-premium {
    border: 2px solid var(--ssm-primary);
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.10);
}

.ssm-shell .ssm-app-plan h3:where(.wp-block-heading) {
    margin: 0 0 4px;
    font-size: 1.35rem;
    font-weight: 800;
}

.ssm-shell .ssm-app-plan .ssm-app-plan__lead {
    margin: 0 0 14px;
    color: var(--ssm-text-light);
    font-size: 15px;
}

.ssm-shell .ssm-app-plan .ssm-app-plan__note {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--ssm-border);
    color: var(--ssm-text-light);
    font-size: 14px;
}

/* Haken statt Punkt – schlägt :where(.ssm-shell) .wp-block-group ul.wp-block-list li::before.
   4.206.0: auch ohne umgebende Gruppe (Beiträge), sonst Punkt und Haken zugleich */
.ssm-shell ul.ssm-app-checklist.wp-block-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.ssm-shell ul.ssm-app-checklist.wp-block-list li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1.75rem;
    font-size: 15.5px;
    line-height: 1.5;
    list-style: none;
}

.ssm-shell ul.ssm-app-checklist.wp-block-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    /* 4.368.0: Kreis der Punkt-Regel (4.367.0) zurücksetzen – sonst Punkt und Haken zugleich */
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--ssm-primary-hover);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.5;
}

.ssm-app-screens {
    display: flex;
    gap: clamp(12px, 2vw, 20px);
    margin: 18px 0 0;
    padding: 4px 4px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.ssm-app-screens:focus-visible {
    outline: 2px solid var(--ssm-primary);
    outline-offset: 4px;
    border-radius: 12px;
}

.ssm-app-screen {
    flex: none;
    margin: 0;
    scroll-snap-align: start;
}

.ssm-app-screens--phone .ssm-app-screen {
    width: clamp(170px, 44vw, 230px);
}

.ssm-app-screens--tv .ssm-app-screen {
    width: min(560px, 86vw);
}

.ssm-app-screen img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--ssm-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--ssm-shadow-sm);
}

.ssm-app-screens--tv .ssm-app-screen img {
    border-radius: 14px;
    background: #0b1220;
}

.ssm-app-screen figcaption {
    margin-top: 8px;
    color: var(--ssm-text-light);
    font-size: 13.5px;
    line-height: 1.4;
}

/* 4.331.0: Sonos-Badge in der Form der Store-Badges (53 px, dunkel) */
.ssm-sonos-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 53px;
    padding: 0 16px 0 12px;
    border: 1px solid #A6A6A6;
    border-radius: 9px;
    background: #000;
    color: #fff;
    text-decoration: none;
    line-height: 1.1;
}

.ssm-sonos-badge:hover,
.ssm-sonos-badge:focus-visible {
    color: #fff;
    text-decoration: none;
}

.ssm-sonos-badge .ssm-icon {
    width: 28px;
    height: 28px;
}

.ssm-sonos-badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.ssm-sonos-badge-text small {
    font-size: 11px;
    opacity: .85;
}

.ssm-sonos-badge-text b {
    font-size: 17px;
    font-weight: 600;
}

/* 4.336.0 (Konzept Website U20): Store-Badges der App-Seite aus einer Quelle */
.ssm-app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

/* 4.334.0: Seite /sonos/ */
.ssm-shell .ssm-sonos-lead {
    font-size: 1.125rem;
}

.ssm-shell .ssm-sonos-note {
    padding: 10px 14px;
    border-left: 3px solid var(--ssm-border);
    color: var(--ssm-text-light);
}

.ssm-sonos-badge--image {
    padding: 0;
    border: 0;
    background: none;
}

.ssm-sonos-badge--image img {
    display: block;
    width: auto;
    height: 53px;
}

.ssm-shell .ssm-app-cta {
    text-align: center;
}

@media (max-width: 599.98px) {
    .ssm-shell .ssm-app-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* --- Bausteine für Beiträge (4.206.0, Klassen im MCP-Stilhandbuch) ------ */

/* Fließtext-Checkliste: so groß wie der Text, in Tarifkarten bleibt sie klein */
.ssm-shell .ssm-post-content ul.ssm-app-checklist.wp-block-list {
    margin: 0 0 1.2em;
}

.ssm-shell .ssm-post-content ul.ssm-app-checklist.wp-block-list li {
    margin-bottom: 0.6em;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.ssm-shell .ssm-post-content .ssm-app-plan h3:where(.wp-block-heading) {
    margin-bottom: 12px;
}

.ssm-shell .ssm-post-content .ssm-app-plan ul.ssm-app-checklist.wp-block-list {
    margin: 0;
}

.ssm-shell .ssm-post-content .ssm-app-plan ul.ssm-app-checklist.wp-block-list li {
    margin-bottom: 0.5rem;
    font-size: 15.5px;
    line-height: 1.5;
}

/* Kennzeichen unter der Überschrift: Plattform, Premium */
.ssm-shell ul.ssm-post-chips.wp-block-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 1.1em;
    padding: 0;
    list-style: none;
}

.ssm-shell ul.ssm-post-chips.wp-block-list li {
    margin: 0;
    padding: 3px 11px;
    border: 1px solid var(--ssm-border);
    border-radius: 999px;
    color: var(--ssm-text-light);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
    list-style: none;
}

.ssm-shell ul.ssm-post-chips.wp-block-list li.is-premium {
    border-color: var(--ssm-primary);
    color: var(--ssm-primary-hover);
}

/* Text neben einem Screenshot; im Quelltext immer erst der Text, damit er
   mobil oben steht – is-shot-left zieht das Bild nur breit nach links */
.ssm-shell .ssm-post-split.wp-block-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(190px, 31%, 240px);
    gap: clamp(20px, 3.5vw, 36px);
    align-items: start;
    margin: 0 0 1.4em;
}

.ssm-shell .ssm-post-split.is-shot-left.wp-block-columns {
    grid-template-columns: clamp(190px, 31%, 240px) minmax(0, 1fr);
}

.ssm-shell .ssm-post-split.is-shot-left > .wp-block-column:last-child {
    order: -1;
}

.ssm-shell .ssm-post-split > .wp-block-column {
    min-width: 0;
}

.ssm-shell .ssm-post-split > .wp-block-column > :last-child {
    margin-bottom: 0;
}

.ssm-shell .ssm-post-shot {
    margin: 0;
}

.ssm-shell .ssm-post-shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--ssm-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--ssm-shadow-sm);
}

/* Karte mit Zeilen: Voraussetzungen, Eckdaten */
.ssm-shell ul.ssm-post-facts.wp-block-list {
    margin: 0 0 1.4em;
    padding: 4px 20px;
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius-cover);
    background: var(--ssm-background);
    list-style: none;
}

.ssm-shell ul.ssm-post-facts.wp-block-list li {
    margin: 0;
    padding: 13px 0;
    border-top: 1px solid var(--ssm-border);
    font-size: 1rem;
    line-height: 1.55;
    list-style: none;
}

.ssm-shell ul.ssm-post-facts.wp-block-list li:first-child {
    border-top: 0;
}

/* Hinweis: leiser als der Text, ohne Warnfarbe */
.ssm-shell p.ssm-post-note {
    padding: 14px 18px;
    border-radius: var(--ssm-radius-tile);
    background: var(--ssm-background-alt);
    color: var(--ssm-text-light);
    font-size: 15.5px;
    line-height: 1.6;
}

.ssm-shell .ssm-post-content .ssm-app-cta {
    margin-top: 2.4em;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--ssm-border);
    border-radius: var(--ssm-radius-cover);
    background: var(--ssm-background);
}

.ssm-shell .ssm-post-content .ssm-app-cta h2 {
    margin-top: 0;
}

@media (max-width: 599.98px) {
    .ssm-shell .ssm-post-split.wp-block-columns,
    .ssm-shell .ssm-post-split.is-shot-left.wp-block-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .ssm-shell .ssm-post-split.is-shot-left > .wp-block-column:last-child {
        order: 0;
    }

    .ssm-shell .ssm-post-shot {
        max-width: 260px;
        margin: 0 auto;
    }
}

/* --- Anmeldeknöpfe (ssm-auth.css) in den Theme-Farben ------------------ */
/* Apple erlaubt Schwarz, Weiß und Weiß mit Rahmen; Google ein neutrales
   Design. Beide als ruhige Rahmenknöpfe – im hellen Theme hell, dunkel dunkel. */
.ssm-shell .ssm-auth-btn-google,
.ssm-shell .ssm-auth-btn-apple,
.ssm-dialog .ssm-auth-btn-google,
.ssm-dialog .ssm-auth-btn-apple {
    border: 1px solid var(--ssm-border);
    background: var(--ssm-background);
    color: var(--ssm-heading);
    font-weight: 600;
}

.ssm-shell .ssm-auth-btn-google:hover,
.ssm-shell .ssm-auth-btn-apple:hover,
.ssm-dialog .ssm-auth-btn-google:hover,
.ssm-dialog .ssm-auth-btn-apple:hover {
    border-color: var(--ssm-text-muted);
    background: var(--ssm-background-alt);
}

/* ==========================================================================
   19. WERBESTREIFEN (4.117.0, adsense.php → ssm_ads_band_html)
   Zwischen Regalen, nach „Über den Sender“, vor den Podcast-Folgen – nie in
   Kopfzeile, Tab-Leiste, Player oder als Overlay. Leere Blöcke verschwinden.
   ========================================================================== */

.ssm-ad-band {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 130px;
    margin: 0 0 clamp(28px, 4vw, 44px);
    padding: 26px 12px 12px;
    border: 1px solid var(--ssm-border-light);
    border-radius: var(--ssm-radius-cover);
    background: var(--ssm-background);
}

/* 4.333.0 (Konzept Website P18): mobil Platz für das übliche Rechteck (250 px +
   Beschriftung) – sonst schob die Anzeige beim Laden den Inhalt darunter weg */
@media (max-width: 599.98px) {
    .ssm-ad-band:not(.ssm-ad-band--tile) {
        min-height: 300px;
    }
}

.ssm-ad-band .ssm-ad-label {
    position: absolute;
    top: 8px;
    left: 14px;
    color: var(--ssm-text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ssm-ad-band .ssm-ad-ins {
    width: 100%;
    max-width: 100%;
    min-height: 100px;
}

/* 4.121.0: Anzeigen nie breiter als ihre Box (Streifen und Rasterkachel) */
.ssm-shell :is(.ssm-ad-band, .ssm-ad-tile) {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.ssm-shell :is(.ssm-ad-band, .ssm-ad-tile) .ssm-ad-ins {
    max-width: 100%;
}

@media (max-width: 599.98px) {
    .ssm-ad-band {
        padding: 26px 8px 8px;
    }
}

/* In-Feed-Block (fluid) ohne eigenen Streifen-Block: kachelbreit statt
   bildschirmbreit – fluid wächst sonst mit der Breite in die Höhe */
.ssm-ad-band--tile .ssm-ad-ins {
    max-width: 360px;
    margin-inline: auto;
}

.ssm-ad-band:has(ins[data-ad-status="unfilled"]) {
    display: none;
}

.ssm-station-section + .ssm-ad-band {
    margin-top: 8px;
}

/* ==========================================================================
   20. BEWEGUNG REDUZIEREN
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .ssm-shell *,
    .ssm-shell *::before,
    .ssm-shell *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .ssm-cat-tile-art::before {
        display: none;
    }
}

/* ==========================================================================
   UX-RUNDE 4.132.0 (tests/ux-audit.mjs)
   ========================================================================== */

/* Tab-Leiste mobil: 11 px war unter der Lesbarkeitsgrenze */
@media (max-width: 899.98px) {
    .ssm-tabbar a {
        font-size: 12px;
    }
}

/* Sprungmarken: Verlauf am Rand, solange die Leiste weitergeht */
.ssm-station-jump ul.has-more-end {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
}

.ssm-station-jump ul.has-more-start {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px);
    mask-image: linear-gradient(90deg, transparent, #000 40px);
}

.ssm-station-jump ul.has-more-start.has-more-end {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}

/* „Alle anzeigen“ der Regale: Tippfläche 40 px, optisch unverändert */
.ssm-shell .ssm-shelf-more {
    min-height: 40px;
    margin-block: -9px;
    padding-inline: 4px;
}

/* Bewertungssterne: mindestens 40 × 40 px zum Antippen */
.ssm-shell .ssm-star-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

/* Kleine Zusatzzeilen der Senderseite: 12 px und Kontrast ≥ 4,5:1
   (Grau auf hellgrauer Fläche lag bei 4,35:1) */
.ssm-shell .ssm-similar-reason,
.ssm-shell .ssm-brand-station-genre,
.ssm-shell .ssm-station-badges .ssm-badge-rating-count {
    font-size: 12px;
    color: var(--ssm-text);
}

.ssm-shell .ssm-social-label {
    color: var(--ssm-heading);
}

/* 4.464.0: Beim Überfahren füllt sich die Pille mit der Markenfarbe
   (X/TikTok fast schwarz) – die Beschriftung nimmt dann das Weiß der Pille,
   sonst stand dunkle Schrift auf schwarzer Fläche. */
.ssm-shell .ssm-schema-social-link:hover .ssm-social-label {
    color: inherit;
}

/* Segment-Umschalter (Entdecken: Radiosender/Podcasts) – inaktiver Teil lesbar */
.ssm-shell .ssm-ui-tabs a:not([aria-current]) {
    color: var(--ssm-text);
}


/* --------------------------------------------------------------------------
   4.397.0: Länder- und Genre-Seiten (Konzept vom 16.11.2026)
   Kopf wie auf der Land × Genre-Seite (.ssm-archive-header--combo), dazu das
   Zeichen neben dem Titel, EINE Kachelzeile unter dem Kopf und eine schlanke
   Filterzeile – die Sender beginnen auf dem Handy im ersten Bildschirm
   (archive-term-pages.php).
   -------------------------------------------------------------------------- */

/* Zeichen vor dem Titel: Flagge oder Genre-Symbol */
.ssm-shell .ssm-archive-header--term .ssm-archive-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ssm-archive-mark {
    display: inline-flex;
    flex: none;
}

.ssm-term-mark {
    width: clamp(34px, 4vw, 46px);
    height: clamp(34px, 4vw, 46px);
    border-radius: 50%;
}

.ssm-term-mark--flag {
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--ssm-border);
}

.ssm-term-mark--icon,
.ssm-term-mark--genre {
    display: inline-grid;
    place-items: center;
    color: #fff;
}

.ssm-term-mark--icon {
    background: var(--ssm-primary-light);
    color: var(--ssm-link);
}

.ssm-term-mark .ssm-icon {
    width: 52%;
    height: 52%;
}

/* Genre-Gruppe hinter dem Link zur Übersicht */
.ssm-term-group {
    color: var(--ssm-text-light);
    font-size: 14px;
    font-weight: 600;
}

/* Genre: Farbe der Genre-Kachel als ruhiger Verlauf in der Ecke des Kopfes */
.ssm-archive-header--tone-1 { --ssm-term-tone: #00B4D8; }
.ssm-archive-header--tone-2 { --ssm-term-tone: #4F46E5; }
.ssm-archive-header--tone-3 { --ssm-term-tone: #F59E0B; }
.ssm-archive-header--tone-4 { --ssm-term-tone: #0D9488; }
.ssm-archive-header--tone-5 { --ssm-term-tone: #475569; }
.ssm-archive-header--tone-6 { --ssm-term-tone: #E11D48; }
.ssm-archive-header--tone-7 { --ssm-term-tone: #0EA5E9; }
.ssm-archive-header--tone-8 { --ssm-term-tone: #7C3AED; }

@supports (color: color-mix(in srgb, red 10%, transparent)) {
    .ssm-shell .ssm-archive-header--genre {
        background:
            radial-gradient(520px 260px at 100% 0, color-mix(in srgb, var(--ssm-term-tone, #00B4D8) 18%, transparent), transparent 70%),
            var(--ssm-background);
    }
}

.ssm-shell .ssm-archive-header--term {
    margin-bottom: 16px;
}

/* --- Kachelzeile unter dem Kopf --------------------------------------- */

.ssm-shell .ssm-shelf[data-ssm-term-nav] {
    margin: 0 0 14px;
}

.ssm-shelf[data-ssm-term-nav] .ssm-shelf-head {
    margin-bottom: 4px;
}

.ssm-shelf[data-ssm-term-nav] .ssm-shelf-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}

/* Genre-Kacheln flach: Name und Anzahl, kein Bild */
.ssm-shelf[data-ssm-term-nav="country"] .ssm-shelf-row {
    grid-auto-columns: clamp(132px, 36vw, 178px);
}

.ssm-shelf[data-ssm-term-nav="country"] .ssm-cat-tile-art {
    aspect-ratio: auto;
    height: 60px;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 16px;
}

.ssm-shell .ssm-shelf[data-ssm-term-nav="country"] .ssm-cat-tile .ssm-cat-tile-name {
    font-size: 15px;
    -webkit-line-clamp: 1;
}

.ssm-shell .ssm-shelf[data-ssm-term-nav="country"] .ssm-cat-tile .ssm-cat-tile-count {
    margin-top: 1px;
    font-size: 11px;
}

.ssm-shelf[data-ssm-term-nav="country"] .ssm-cat-tile-logos.is-icon .ssm-icon {
    top: -30%;
    width: 38%;
}

/* Länder-Kacheln: Flagge, Name, Anzahl */
.ssm-shelf[data-ssm-term-nav="genre"] .ssm-shelf-row {
    grid-auto-columns: clamp(150px, 42vw, 200px);
}

.ssm-shelf[data-ssm-term-nav="genre"] .ssm-country-tile {
    padding: 9px 14px 9px 9px;
}

/* Das Land des Besuchers steht vorn (ssm-shell.js) */
.ssm-shell .ssm-country-tile.is-local {
    border-color: var(--ssm-primary);
    background: var(--ssm-primary-light);
}

.ssm-country-tile.is-local .ssm-country-tile-count {
    color: var(--ssm-link);
    font-weight: 600;
}

/* --- Filterzeile ------------------------------------------------------- */

.ssm-archive-header--term ~ .ssm-filter-bar {
    margin-bottom: 16px;
}

@media (max-width: 599.98px) {
    /* Der Weg zur Übersicht steht schon in den Breadcrumbs direkt darüber */
    .ssm-shell .ssm-archive-header--term .ssm-archive-kicker {
        display: none;
    }

    .ssm-shell .ssm-archive-header--term {
        gap: 8px 10px;
        margin-bottom: 12px;
    }

    /* Einleitung zwei Zeilen; „Mehr anzeigen“, Anzahl und Teilen in EINER Zeile */
    .ssm-js .ssm-shell .ssm-archive-header--term .ssm-archive-description:not(.is-open):not(.is-short) {
        max-height: 3.4em;
    }

    .ssm-shell .ssm-archive-header--term .ssm-station-more {
        flex: 0 0 auto;
        margin: 0 auto 0 0;
        padding: 4px 0;
    }

    /* … auch bei 360 px Breite (sonst rutschen Anzahl und Teilen in eine eigene Zeile) */
    .ssm-shell .ssm-archive-header--term .ssm-archive-count {
        padding: 6px 10px;
        font-size: 13px;
    }

    .ssm-shell .ssm-shelf[data-ssm-term-nav] {
        margin-bottom: 10px;
    }

    .ssm-shelf[data-ssm-term-nav="country"] .ssm-cat-tile-art {
        height: 56px;
    }

    /* „Deutschland“ soll neben der Flagge ganz zu lesen sein */
    .ssm-shelf[data-ssm-term-nav="genre"] .ssm-shelf-row {
        grid-auto-columns: clamp(164px, 47vw, 200px);
    }

    .ssm-archive-header--term ~ .ssm-filter-bar {
        margin-bottom: 12px;
    }

    /* Zwei Auswahlfelder nebeneinander: auf der Länder-Seite Genre und Sortierung, auf der
       Genre-Seite Land und Sortierung. Das Feld der eigenen Seite und „Filter zurücksetzen“
       bleiben im DOM (frontend.js liest sie), stehen auf dem Handy aber nicht im Weg. */
    .ssm-archive-header--term ~ .ssm-filter-bar .ssm-filter-controls {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .ssm-archive-header--country ~ .ssm-filter-bar .ssm-filter-group--country,
    .ssm-archive-header--genre ~ .ssm-filter-bar .ssm-filter-group--genre,
    .ssm-archive-header--term ~ .ssm-filter-bar .ssm-filter-actions {
        display: none;
    }

    .ssm-archive-header--term ~ .ssm-filter-bar .ssm-filter-group {
        min-width: 0;
    }

    /* Beschriftung nur für Vorleseprogramme – die Felder nennen ihren Inhalt selbst */
    .ssm-archive-header--term ~ .ssm-filter-bar .ssm-filter-group label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .ssm-archive-header--term ~ .ssm-filter-bar .ssm-filter-select {
        width: 100%;
        max-width: none;
    }
}


/* --------------------------------------------------------------------------
   4.399.0: Senderliste der Länder-, Genre- und Land × Genre-Seiten –
   „1–24 von 18.169 Sendern“ über der Liste, „Weitere Sender laden“ darunter
   -------------------------------------------------------------------------- */

.ssm-list-range {
    margin: 0 0 10px;
    color: var(--ssm-text-light);
    font-size: 13px;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}

/* Der Knopf braucht frontend.js – ohne JavaScript bleiben die Seitenzahlen */
.ssm-load-more {
    display: none;
    justify-content: center;
    margin: clamp(18px, 3vw, 28px) 0 4px;
}

.ssm-js .ssm-load-more:not([hidden]) {
    display: flex;
}

.ssm-load-more__btn {
    min-width: min(100%, 260px);
    justify-content: center;
}

/* „Passende Sammlungen“ unter der Liste: oft nur eine oder zwei – kleiner als auf der Startseite */
.ssm-term-more .ssm-shelf--wide .ssm-shelf-row {
    grid-auto-columns: min(250px, 64vw);
}

@media (max-width: 599.98px) {
    .ssm-archive-header--term ~ .ssm-filter-bar {
        margin-bottom: 8px;
    }

    .ssm-list-range {
        margin-bottom: 8px;
        font-size: 12px;
    }
}

/* ==========================================================================
   LÄNDERÜBERSICHT /land/ ALS WELTKARTE (4.479.0, taxo-atlas.php)
   Kopf nachtblau mit Punktraster der Erde, Länder als leuchtende Punkte, Funkwellen
   der fünf größten. Darunter ruhig: Sprungmarken und Raster je Erdteil.
   ========================================================================== */

.ssm-atlas {
    --ssm-atlas-night: #0A1628;
    --ssm-atlas-night-2: #11264A;
    --ssm-atlas-land: #29426B;
    --ssm-atlas-signal: #22D3EE;
    --ssm-atlas-dim: #34507A;
    --ssm-atlas-lead: #B4C3DA;
    margin-top: clamp(4px, 1vw, 12px);
}

.ssm-atlas-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 3.6vw, 48px) clamp(20px, 3.6vw, 48px) clamp(12px, 2vw, 28px);
    border-radius: var(--ssm-radius-cover);
    background:
        radial-gradient(900px 420px at 8% -10%, rgba(0, 180, 216, 0.20), transparent 65%),
        radial-gradient(800px 460px at 100% 110%, rgba(79, 70, 229, 0.26), transparent 62%),
        linear-gradient(180deg, var(--ssm-atlas-night) 0%, var(--ssm-atlas-night-2) 100%);
    color: #fff;
    isolation: isolate;
}

.ssm-atlas-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    position: relative;
    z-index: 2;
}

.ssm-atlas-intro {
    max-width: 680px;
}

.ssm-atlas .ssm-atlas-title {
    margin: 0;
    color: #fff;
    font-size: var(--ssm-fs-display);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.ssm-atlas-lead {
    margin: 12px 0 0;
    color: var(--ssm-atlas-lead);
    font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.125rem);
    line-height: 1.5;
}

.ssm-atlas-search {
    position: relative;
    flex: 0 1 340px;
    min-width: 220px;
}

.ssm-atlas-search .ssm-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--ssm-atlas-lead);
    transform: translateY(-50%);
    pointer-events: none;
}

.ssm-atlas-search input {
    width: 100%;
    height: 50px;
    padding: 0 18px 0 46px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s var(--ssm-ease), background 0.2s var(--ssm-ease);
}

.ssm-atlas-search input::placeholder {
    color: var(--ssm-atlas-lead);
    opacity: 1;
}

.ssm-atlas-search input:hover {
    background: rgba(255, 255, 255, 0.12);
}

.ssm-atlas-search input:focus {
    outline: none;
    border-color: var(--ssm-atlas-signal);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.32);
}

.ssm-atlas-search input::-webkit-search-cancel-button {
    filter: invert(1);
}

.ssm-atlas-map {
    position: relative;
    margin: clamp(12px, 2.4vw, 28px) auto 0;
    max-width: 1240px;
}

.ssm-atlas-svg {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 180 / 71;
    overflow: visible;
}

.ssm-atlas-land {
    fill: none;
    stroke: var(--ssm-atlas-land);
    stroke-width: 0.56;
    stroke-linecap: round;
}

.ssm-atlas-dot circle {
    fill: var(--ssm-atlas-signal);
    stroke: rgba(34, 211, 238, 0.28);
    stroke-width: 0.9;
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.2s var(--ssm-ease), fill 0.2s var(--ssm-ease), stroke 0.2s var(--ssm-ease);
    animation: ssm-atlas-on 0.7s var(--ssm-ease) backwards;
}

/* Beim Laden leuchten die Länder von West nach Ost auf – wie ein Sendersuchlauf */
.ssm-atlas-dot.is-d1 circle { animation-delay: 0.09s; }
.ssm-atlas-dot.is-d2 circle { animation-delay: 0.18s; }
.ssm-atlas-dot.is-d3 circle { animation-delay: 0.27s; }
.ssm-atlas-dot.is-d4 circle { animation-delay: 0.36s; }
.ssm-atlas-dot.is-d5 circle { animation-delay: 0.45s; }
.ssm-atlas-dot.is-d6 circle { animation-delay: 0.54s; }
.ssm-atlas-dot.is-d7 circle { animation-delay: 0.63s; }
.ssm-atlas-dot.is-d8 circle { animation-delay: 0.72s; }
.ssm-atlas-dot.is-d9 circle { animation-delay: 0.81s; }

@keyframes ssm-atlas-on {
    0% { opacity: 0; transform: scale(0.2); }
    55% { opacity: 1; transform: scale(1.7); fill: #fff; }
    100% { transform: scale(1); }
}

.ssm-atlas-dot:hover circle,
.ssm-atlas-dot.is-hover circle {
    fill: #fff;
    stroke: rgba(255, 255, 255, 0.35);
    transform: scale(1.6);
}

.ssm-atlas.is-filtering .ssm-atlas-dot circle {
    fill: var(--ssm-atlas-dim);
    stroke: transparent;
}

.ssm-atlas.is-filtering .ssm-atlas-dot.is-hit circle {
    fill: #fff;
    stroke: rgba(34, 211, 238, 0.55);
    stroke-width: 1.4;
    transform: scale(1.3);
}

/* Funkwellen der fünf größten Radioländer */
.ssm-atlas-wave {
    fill: none;
    stroke: var(--ssm-atlas-signal);
    stroke-width: 1.2px;
    vector-effect: non-scaling-stroke;
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    animation: ssm-atlas-wave 5.4s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
}

.ssm-atlas-wave.is-w1 { animation-delay: 1.1s; }
.ssm-atlas-wave.is-w2 { animation-delay: 2.2s; }
.ssm-atlas-wave.is-w3 { animation-delay: 3.3s; }
.ssm-atlas-wave.is-w4 { animation-delay: 4.4s; }
.ssm-atlas-wave.is-w5 { animation-delay: 5.5s; }

@keyframes ssm-atlas-wave {
    0% { opacity: 0.85; transform: scale(1); }
    100% { opacity: 0; transform: scale(9); }
}

.ssm-atlas.is-filtering .ssm-atlas-waves {
    display: none;
}

.ssm-atlas-tip {
    position: absolute;
    z-index: 3;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--ssm-shadow-lg);
    color: var(--ssm-heading);
    font-size: 0.875rem;
    line-height: 1.3;
    white-space: nowrap;
    transform: translate(-50%, calc(-100% - 14px));
    pointer-events: none;
}

.ssm-atlas-tip[hidden] {
    display: none;
}

.ssm-atlas-tip strong {
    display: block;
    font-weight: 700;
}

.ssm-atlas-tip span {
    color: var(--ssm-text-muted);
}

/* Sprungmarken und Liste */
.ssm-atlas-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: clamp(20px, 3vw, 32px) 0 0;
}

.ssm-atlas-group {
    margin-top: clamp(28px, 4vw, 48px);
    scroll-margin-top: calc(var(--ssm-header-h) + 16px);
}

.ssm-atlas-group[hidden] {
    display: none;
}

.ssm-atlas-group-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    margin-bottom: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ssm-border);
}

.ssm-atlas .ssm-atlas-group-title {
    margin: 0;
    color: var(--ssm-heading);
    font-size: var(--ssm-fs-h2);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ssm-atlas-group-meta {
    margin: 0;
    color: var(--ssm-text-muted);
    font-size: 0.9375rem;
}

.ssm-atlas .ssm-atlas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 2px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssm-atlas-grid li {
    margin: 0;
}

.ssm-atlas-grid li[hidden] {
    display: none;
}

.ssm-atlas .ssm-atlas-country {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 8px 10px;
    border-radius: 12px;
    color: var(--ssm-heading);
    text-decoration: none;
    transition: background 0.15s var(--ssm-ease);
}

.ssm-atlas .ssm-atlas-country:hover,
.ssm-atlas .ssm-atlas-country.is-hover {
    background: var(--ssm-background-alt);
}

.ssm-atlas .ssm-atlas-country:focus-visible {
    outline: 2px solid var(--ssm-focus);
    outline-offset: 1px;
}

.ssm-atlas-flag {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.ssm-atlas-flag.is-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ssm-background-alt);
    color: var(--ssm-text-muted);
}

.ssm-atlas-flag.is-empty .ssm-icon {
    width: 18px;
    height: 18px;
}

.ssm-atlas-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.9875rem;
    font-weight: 600;
    line-height: 1.25;
}

.ssm-atlas-count {
    flex: 0 0 auto;
    color: var(--ssm-text-muted);
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
}

.ssm-atlas-empty {
    margin: 32px 0 0;
    color: var(--ssm-text-muted);
    text-align: center;
}

.ssm-atlas-empty[hidden] {
    display: none;
}

@media (max-width: 640px) {
    /* Kopf bis an den Rand, damit die Karte so groß wie möglich wird */
    .ssm-atlas-hero {
        margin-inline: calc(-1 * var(--ssm-gutter));
        border-radius: 0;
        padding-bottom: 6px;
    }

    .ssm-atlas-search {
        flex-basis: 100%;
    }

    .ssm-atlas-map {
        margin-inline: calc(-0.6 * var(--ssm-gutter));
    }

    .ssm-atlas-jump {
        flex-wrap: nowrap;
        margin-inline: calc(-1 * var(--ssm-gutter));
        padding: 2px var(--ssm-gutter) 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .ssm-atlas-jump::-webkit-scrollbar {
        display: none;
    }

    .ssm-atlas .ssm-atlas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px 8px;
    }

    /* Zahl unter den Namen, damit lange Namen ganz bleiben (Nordmazedonien) */
    .ssm-atlas .ssm-atlas-country {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 1px 10px;
        padding: 8px 6px;
    }

    .ssm-atlas-flag {
        grid-row: span 2;
        align-self: center;
        width: 28px;
        height: 28px;
    }

    .ssm-atlas-name {
        font-size: 0.9375rem;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: auto;
    }

    .ssm-atlas-count {
        grid-column: 2;
        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ssm-atlas-dot circle {
        animation: none;
        transition: none;
    }

    .ssm-atlas-waves {
        display: none;
    }
}
