/*
 * Thème « promomedia » : reprise du design du thème WordPress d'origine (PROMOMEDIA Radio).
 * Mode clair par défaut ; <html data-theme="dark"> bascule en sombre. La couleur d'accent vient des réglages
 * (--rt-accent est redéfinie dans la page). Police Inter hébergée ici : aucun appel à un service externe.
 */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --rt-accent: #ed261e;
    --rt-accent-solid: #e1241d;
    --rt-on-accent: #ffffff;
    --rt-accent-link: #cf211a;
    --rt-bg: #f4f4f4;
    --rt-surface: #ffffff;
    --rt-surface2: #ebebeb;
    --rt-border: rgba(0, 0, 0, .1);
    --rt-text: #111111;
    --rt-muted: rgba(0, 0, 0, .62);
    --rt-header-bg: rgba(244, 244, 244, .95);
    --rt-radius: 4px;
    --rt-radius-lg: 8px;
    --rt-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --rt-font-heading: var(--rt-font);
    color-scheme: light;
}

:root[data-theme='dark'] {
    --rt-bg: #0a0a0a;
    --rt-surface: #141414;
    --rt-surface2: #1e1e1e;
    --rt-border: rgba(255, 255, 255, .08);
    --rt-text: #ffffff;
    --rt-muted: rgba(255, 255, 255, .55);
    --rt-header-bg: rgba(10, 10, 10, .95);
    --rt-accent-link: #f04740;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Police des titres : celle du texte tant que la radio n'en choisit pas une autre (Apparence). */
h1, h2, h3, h4, .rt-title, .rt-logo, .rt-section-title, .rt-card-title { font-family: var(--rt-font-heading); }

html { scroll-behavior: smooth; }

body {
    background: var(--rt-bg);
    color: var(--rt-text);
    font-family: var(--rt-font);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--rt-accent-link); text-decoration: none; transition: opacity .15s; }
a:hover { opacity: .8; }
img, video { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--rt-accent); outline-offset: 2px; }

.rt-skip { position: absolute; left: -9999px; top: 0; background: var(--rt-accent-solid); color: var(--rt-on-accent); padding: 8px 14px; z-index: 2000; }
.rt-skip:focus { left: 8px; top: 8px; }

.rt-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; width: 100%; }
.rt-narrow { max-width: 780px; }
.rt-section { padding-block: 60px; }

/* ── En-tête ────────────────────────────────────────────────────── */
#rt-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--rt-header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rt-border);
}

#rt-main { padding-top: 60px; flex: 1; }

.rt-header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 20px; }

.rt-logo { font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--rt-text); display: flex; align-items: center; flex-shrink: 0; }
.rt-logo img { height: 40px; width: auto; max-width: 200px; object-fit: contain; }

.rt-nav { display: flex; align-items: center; gap: 4px; list-style: none; flex: 1; justify-content: center; }
.rt-nav li { list-style: none; position: relative; }
.rt-nav a {
    display: block;
    color: var(--rt-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: var(--rt-radius);
    transition: color .15s, background .15s;
}
.rt-nav a:hover, .rt-nav a[aria-current] { color: var(--rt-text); background: var(--rt-border); opacity: 1; }

/* Sous-menu : s'ouvre au survol et au focus clavier. */
.rt-nav .rt-sub {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    min-width: 200px;
    list-style: none;
    background: var(--rt-surface);
    border: 1px solid var(--rt-border);
    border-radius: var(--rt-radius-lg);
    padding: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.rt-nav li:hover > .rt-sub, .rt-nav li:focus-within > .rt-sub { display: block; }
.rt-nav .rt-sub a { text-transform: none; font-size: 14px; white-space: nowrap; }
.rt-nav .rt-has-sub > a::after { content: ' ▾'; font-size: 10px; }

.rt-header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.rt-icon-btn {
    background: none; border: 1px solid transparent; border-radius: 50%;
    width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    color: var(--rt-muted); cursor: pointer; transition: color .15s, background .15s;
}
.rt-icon-btn:hover { color: var(--rt-text); background: var(--rt-border); }
.rt-icon-btn svg { width: 18px; height: 18px; }
.rt-header-actions a.rt-icon-btn { text-decoration: none; }
.rt-header-ticket { order: -1; }
.rt-header-ticket { color: var(--rt-accent-link, var(--rt-accent)); background: color-mix(in srgb, var(--rt-accent) 12%, transparent); border-color: color-mix(in srgb, var(--rt-accent) 25%, transparent); }
.rt-header-ticket:hover { color: var(--rt-accent-link, var(--rt-accent)); background: color-mix(in srgb, var(--rt-accent) 20%, transparent); }
.rt-header-actions .rt-icon-btn { border-color: var(--rt-border); width: 38px; height: 38px; }
.rt-header-actions .rt-header-ticket { border-color: color-mix(in srgb, var(--rt-accent) 25%, transparent); }

/* Une seule des deux icônes s'affiche, selon le mode. */
.rt-icon-moon { display: block; }
.rt-icon-sun { display: none; }
:root[data-theme='dark'] .rt-icon-moon { display: none; }
:root[data-theme='dark'] .rt-icon-sun { display: block; }

#rt-menu-toggle { display: none; }

/* ── Titres, boutons, cartes ────────────────────────────────────── */
.rt-title { font-size: clamp(26px, 4vw, 38px); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 12px; }

.rt-section-title {
    font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em;
    margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
}
.rt-section-title::before { content: ''; display: block; width: 4px; height: 24px; background: var(--rt-accent); border-radius: 2px; flex-shrink: 0; }

.rt-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--rt-radius);
    font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
    transition: all .15s; border: none;
}
.rt-btn-primary { background: var(--rt-accent-solid); color: var(--rt-on-accent); }
.rt-btn-primary:hover { opacity: .85; }
.rt-btn-outline { background: transparent; border: 1px solid var(--rt-border); color: var(--rt-text); }
.rt-btn-outline:hover { border-color: var(--rt-accent); color: var(--rt-accent-link); opacity: 1; }

.rt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.rt-card {
    background: var(--rt-surface); border: 1px solid var(--rt-border); border-radius: var(--rt-radius-lg);
    overflow: hidden; transition: border-color .2s, transform .2s; display: flex; flex-direction: column;
}
.rt-card:hover { border-color: var(--rt-accent); transform: translateY(-2px); }
.rt-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--rt-surface2); display: block; }
.rt-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.rt-card:hover .rt-card-img img { transform: scale(1.04); }
.rt-card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rt-card-category { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rt-accent-link); }
.rt-card-title { font-size: 15px; font-weight: 700; line-height: 1.35; }
.rt-card-title a { color: var(--rt-text); }
.rt-card-text { font-size: 13px; color: var(--rt-muted); }
.rt-card-meta { font-size: 12px; color: var(--rt-muted); margin-top: auto; }

.rt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.rt-chips a {
    padding: 5px 14px; border: 1px solid var(--rt-border); border-radius: 999px; color: var(--rt-muted);
    font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.rt-chips a:hover { color: var(--rt-text); opacity: 1; }
.rt-chips a[aria-current] { background: var(--rt-accent-solid); border-color: var(--rt-accent-solid); color: var(--rt-on-accent); }

.rt-meta { color: var(--rt-muted); font-size: 13px; margin: 4px 0 18px; }
.rt-meta a { color: var(--rt-muted); text-decoration: underline; }
.rt-lead { font-size: 18px; color: var(--rt-muted); margin-bottom: 20px; }
.rt-hero-img { width: 100%; height: auto; border-radius: var(--rt-radius-lg); margin: 0 0 24px; }

.rt-pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; font-size: 13px; color: var(--rt-muted); }

/* Texte riche (pages et articles) */
.rt-prose { font-size: 16px; line-height: 1.75; }
.rt-prose > * + * { margin-top: 1.1em; }
.rt-prose h2 { font-size: 24px; font-weight: 800; margin-top: 1.6em; }
.rt-prose h3 { font-size: 19px; font-weight: 800; margin-top: 1.4em; }
.rt-prose ul, .rt-prose ol { padding-left: 1.4em; }
.rt-prose blockquote { padding-left: 1em; border-left: 4px solid var(--rt-accent); color: var(--rt-muted); }
.rt-prose a { text-decoration: underline; }
.rt-prose img { border-radius: var(--rt-radius-lg); }
.rt-prose .video-embed { position: relative; aspect-ratio: 16 / 9; margin: 1.5em 0; }
.rt-prose .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--rt-radius-lg); }

.rt-preview { background: var(--rt-accent-solid); color: var(--rt-on-accent); padding: 8px 16px; text-align: center; font-weight: 600; font-size: 13px; }

/* ── Pied de page ───────────────────────────────────────────────── */
#rt-footer { background: var(--rt-surface); border-top: 1px solid var(--rt-border); padding: 40px 0 20px; margin-top: 60px; }
#rt-footer ul { list-style: none; }
.rt-footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 24px; }
.rt-footer-tagline { margin-top: 10px; font-size: 13px; color: var(--rt-muted); max-width: 40ch; }
.rt-footer-title {
    font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px;
    padding-bottom: 10px; border-bottom: 2px solid var(--rt-accent); display: inline-block;
}
.rt-footer-nav a { display: block; padding: 5px 0; font-size: 13px; color: var(--rt-muted); transition: color .2s, padding-left .2s; }
.rt-footer-nav a:hover { color: var(--rt-accent-link); padding-left: 4px; opacity: 1; }

.rt-footer-social-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 24px 0 20px; }
.rt-socials, .rt-apps { display: flex; gap: 10px; flex-wrap: wrap; }
.rt-social-btn {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(127, 127, 127, .12); border: 1px solid var(--rt-border);
    display: flex; align-items: center; justify-content: center; color: var(--rt-muted); transition: background .2s, color .2s;
}
.rt-social-btn:hover { background: var(--rt-accent-solid); color: var(--rt-on-accent); opacity: 1; }
.rt-social-btn svg { width: 18px; height: 18px; }

.rt-apps { margin-top: 16px; }
.rt-footer-grid .rt-socials { margin-top: 16px; }
.rt-app-btn {
    display: flex; align-items: center; gap: 12px; background: rgba(127, 127, 127, .12); border: 1px solid var(--rt-border);
    border-radius: 10px; padding: 10px 18px; color: var(--rt-text); transition: background .2s;
}
.rt-app-btn svg { width: 28px; height: 28px; flex: none; }
.rt-app-text { display: flex; flex-direction: column; }
.rt-app-btn:hover { background: rgba(127, 127, 127, .22); opacity: 1; }
.rt-app-sub { font-size: 12px; color: var(--rt-muted); line-height: 1.2; }
.rt-app-name { font-size: 16px; font-weight: 700; line-height: 1.3; }

.rt-footer-bottom { border-top: 1px solid var(--rt-border); padding-top: 20px; font-size: 12px; color: var(--rt-muted); display: flex; justify-content: space-between; gap: 8px; }

/* ── Adaptation aux petits écrans ───────────────────────────────── */
@media (max-width: 1024px) {
    .rt-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Menu en bouton déroulant : theme.js ajoute « rt-nav-compact » dès que les entrées ne tiennent plus sur une ligne
   (le nombre d'entrées change d'un site à l'autre, un seuil de largeur fixe ne convient pas). */
#rt-header.rt-nav-compact .rt-nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--rt-surface); border-bottom: 1px solid var(--rt-border); padding: 8px 20px 14px;
    max-height: calc(100vh - 60px); overflow-y: auto;
}
#rt-header.rt-nav-compact.rt-menu-open .rt-nav { display: flex; }
#rt-header.rt-nav-compact .rt-nav a { padding: 10px 0; font-size: 14px; border-radius: 0; border-bottom: 1px solid var(--rt-border); white-space: normal; }
#rt-header.rt-nav-compact .rt-nav .rt-sub { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; background: none; }
#rt-header.rt-nav-compact .rt-nav .rt-has-sub > a::after { content: ''; }
#rt-header.rt-nav-compact .rt-header-inner { position: relative; }
#rt-header.rt-nav-compact #rt-menu-toggle { display: inline-flex; }

@media (max-width: 768px) {
    .rt-grid-3 { grid-template-columns: 1fr; }
    .rt-footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .rt-footer-social-row { flex-direction: column; align-items: flex-start; }
    .rt-footer-bottom { flex-direction: column; text-align: center; }
    .rt-section { padding-block: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* ── Blocs d'accueil et carrousel ───────────────────────────────── */
.rt-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rt-block { margin-bottom: 48px; }

.rt-carousel { position: relative; border-radius: 12px; overflow: hidden; background: var(--rt-surface2); }
.rt-slide { display: none; position: relative; aspect-ratio: 16 / 9; max-height: 560px; width: 100%; }
.rt-slide.is-active { display: block; }
.rt-slide > img { width: 100%; height: 100%; object-fit: cover; }
.rt-slide-caption {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px;
    padding: clamp(16px, 4vw, 48px); padding-bottom: clamp(56px, 7vw, 72px);
    background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 75%); color: #fff;
}
.rt-slide-title { font-size: clamp(22px, 4vw, 40px); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; max-width: 24ch; }
.rt-slide-subtitle { font-size: clamp(14px, 2vw, 18px); max-width: 52ch; opacity: .92; }

.rt-carousel-controls {
    position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px;
}
.rt-carousel-arrow {
    background: rgba(0, 0, 0, .55); color: #fff; border: 0; border-radius: 50%; width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s;
}
.rt-carousel-arrow:hover { background: var(--rt-accent-solid); color: var(--rt-on-accent); }
.rt-carousel-dots { display: flex; gap: 0; }
/* Zone cliquable de 24 px (WCAG 2.5.8) ; la pastille visible de 12 px est dessinée par ::before. */
.rt-carousel-dot { position: relative; width: 24px; height: 24px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.rt-carousel-dot::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .35); }
.rt-carousel-dot.is-active::before { background: #fff; transform: scale(1.25); }
.rt-icon-play { display: none; }
[data-rt-pause][aria-pressed='true'] .rt-icon-pause { display: none; }
[data-rt-pause][aria-pressed='true'] .rt-icon-play { display: block; }
@media (max-width: 768px) { .rt-slide { aspect-ratio: 4 / 3; } .rt-carousel-arrow[data-rt-prev], .rt-carousel-arrow[data-rt-next] { display: none; } }

/* ── Stations ───────────────────────────────────────────────────── */
.rt-station-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.rt-contact { margin-top: 48px; }
.rt-contact-form { max-width: 720px; }
.rt-station-logo { width: 100%; max-width: 160px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; margin: 4px 0 8px; border-radius: var(--rt-radius-lg, 12px); }
.rt-station .rt-card-title { font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--rt-accent-link); }
.rt-station-track { font-size: 12px; line-height: 1.4; color: var(--rt-muted); text-transform: uppercase; overflow-wrap: anywhere; }
.rt-station-tools { margin-bottom: 20px; }
.rt-station-tools[hidden], .rt-station-empty[hidden], .rt-station[hidden] { display: none; }
.rt-search { box-sizing: border-box; width: 100%; max-width: 420px; padding: 10px 16px; margin-bottom: 14px; border: 1px solid var(--rt-border); border-radius: 999px; background: var(--rt-surface2); color: var(--rt-text); font: inherit; font-size: 14px; }
.rt-chip {
    padding: 5px 14px; border: 1px solid var(--rt-border); border-radius: 999px; background: var(--rt-surface2); color: var(--rt-muted);
    font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
}
.rt-chip[aria-pressed='true'] { background: var(--rt-accent-solid); border-color: var(--rt-accent-solid); color: var(--rt-on-accent); }
.rt-station-tools .rt-chips { margin-bottom: 0; }
@media (max-width: 480px) { .rt-station-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .rt-station .rt-card-body { padding: 12px; } }

/* « C'est quoi ce titre ? » : filtres et liste des titres diffusés. */
.rt-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.rt-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 20px; padding: 16px 20px; background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); border-radius: 12px; font-size: 14px; }
.rt-filter-field { display: flex; flex-direction: column; gap: 4px; min-width: 150px; }
.rt-filter-grow { flex: 1 1 200px; }
.rt-filter-field label { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--rt-muted); }
.rt-filters input, .rt-filters select { box-sizing: border-box; min-height: 40px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--rt-text) 15%, transparent); border-radius: 8px; background: var(--rt-surface, #fff); color: var(--rt-text); font: inherit; font-size: 14px; }
.rt-tracks { list-style: none; margin: 0; padding: 0; }
.rt-tracks { display: flex; flex-direction: column; gap: 8px; }
.rt-track { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 10px 14px; background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); border-radius: 8px; }
.rt-track-when { order: 9; margin-left: auto; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.rt-track-station { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--rt-muted); padding: 2px 8px; border: 1px solid var(--rt-border, #e3e3e3); border-radius: 999px; }
.rt-track time { color: var(--rt-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.rt-track-name { display: flex; flex-direction: column; gap: 2px; }
.rt-track-name strong { font-size: 14px; font-weight: 700; }
.rt-track-artist { font-size: 13px; color: var(--rt-accent-link, var(--rt-accent)); }
.rt-track-name { flex: 1 1 240px; }
.rt-track-cover { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; flex: none; align-self: center; }
.rt-track-cover { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; flex: none; align-self: center; }

/* ── Lecteur radio : barre fixe en bas, sombre quelle que soit la couleur du thème (reprise du lecteur d'origine) ── */
body.rt-has-player { padding-bottom: 72px; }
html.rt-loading, html.rt-loading a { cursor: progress; }

.rt-player {
    --rt-pl-bg: #111111; --rt-pl-text: #ffffff; --rt-pl-muted: rgba(255, 255, 255, .72); --rt-pl-line: rgba(255, 255, 255, .12);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; height: 64px; box-sizing: border-box;
    display: flex; align-items: center; gap: 12px; padding: 0 16px;
    background: var(--rt-pl-bg); color: var(--rt-pl-text); border-top: 1px solid var(--rt-pl-line); box-shadow: 0 -2px 20px rgba(0, 0, 0, .4);
}
.rt-player button { font: inherit; color: inherit; }
.rt-player [hidden] { display: none !important; }
.rt-player-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rt-player-cover { flex: none; width: 44px; height: 44px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; color: var(--rt-pl-muted); }
.rt-player-cover img { width: 100%; height: 100%; object-fit: cover; }
.rt-player-cover svg { width: 24px; height: 24px; }

.rt-player-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rt-player-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; color: var(--rt-accent-on-dark, #ff6b64); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-player-badge::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: rt-pulse 1.5s ease-in-out infinite; }
.rt-player-title { font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-player-artist { font-size: 12px; color: var(--rt-pl-muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-player-artist:empty { display: none; }
@keyframes rt-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.rt-player-controls { flex: none; display: flex; align-items: center; gap: 8px; }
.rt-player-play { width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; background: var(--rt-accent-solid); color: var(--rt-on-accent); transition: transform .15s; }
.rt-player-play:hover { transform: scale(1.08); }
.rt-player-play svg { width: 22px; height: 22px; }
.rt-player-play .rt-pl-icon-pause, .rt-player-play[aria-pressed="true"] .rt-pl-icon-play { display: none; }
.rt-player-play[aria-pressed="true"] .rt-pl-icon-pause { display: block; }
.rt-player button:focus-visible, .rt-player input:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

.rt-player-stations { position: relative; flex: none; }
.rt-player-chip { display: flex; align-items: center; gap: 4px; padding: 6px 10px; min-height: 32px; background: transparent; border: 1px solid var(--rt-accent-on-dark, #ff6b64); border-radius: 4px; color: var(--rt-accent-on-dark, #ff6b64); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.rt-player-chip:hover { background: var(--rt-accent-solid); border-color: var(--rt-accent-solid); color: var(--rt-on-accent); }
.rt-player-chip svg { width: 14px; height: 14px; flex: none; }
.rt-player-chip[aria-expanded="true"] .rt-player-chip-arrow { transform: rotate(180deg); }
.rt-player-picker { position: absolute; right: 0; bottom: calc(100% + 10px); width: 260px; max-height: 320px; overflow-y: auto; padding: 6px; background: #1a1a1a; border: 1px solid rgba(255, 255, 255, .15); border-radius: 8px; box-shadow: 0 8px 32px rgba(0, 0, 0, .6); }
.rt-player-search { box-sizing: border-box; width: 100%; margin-bottom: 4px; padding: 7px 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px; color: #fff; font-size: 13px; }
.rt-player-search::placeholder { color: rgba(255, 255, 255, .6); }
.rt-player-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; background: none; border: 0; border-radius: 6px; color: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.rt-player-item:hover, .rt-player-item[aria-current="true"] { background: rgba(255, 255, 255, .1); color: #fff; }
.rt-player-item-logo { width: 32px; height: 32px; border-radius: 4px; object-fit: cover; flex: none; }
.rt-player-dot { width: 12px; height: 12px; margin: 0 10px 0 0; border-radius: 50%; background: var(--rt-accent-solid); flex: none; }
.rt-player-item-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.rt-player-volume { flex: none; display: flex; align-items: center; gap: 6px; }
.rt-player-mute { width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--rt-pl-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rt-player-mute:hover { color: #fff; }
.rt-player-mute svg { width: 18px; height: 18px; }
.rt-player-mute .rt-pl-icon-muted, .rt-player-mute[aria-pressed="true"] .rt-pl-icon-sound { display: none; }
.rt-player-mute[aria-pressed="true"] .rt-pl-icon-muted { display: block; }
.rt-player-slider { width: 80px; height: 4px; accent-color: #ffffff; cursor: pointer; }

@media (max-width: 560px) {
    .rt-player { gap: 8px; padding: 0 10px; }
    .rt-player-volume, .rt-player-chip-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .rt-player-badge::before { animation: none; }
    .rt-player-play { transition: none; }
}

/* ── Top 30 ── */
.rt-top { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rt-top-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); border-radius: 8px; }
.rt-top-item.is-top3 { border-left: 3px solid var(--rt-accent); }
.rt-top-rank { flex: none; width: 32px; text-align: center; }
.rt-top-medal { font-size: 22px; line-height: 1; }
.rt-top-num { font-size: 16px; font-weight: 900; color: var(--rt-muted); }
.rt-top-cover { width: 52px; height: 52px; flex: none; border-radius: 6px; object-fit: cover; }
.rt-top-cover-ph { display: flex; align-items: center; justify-content: center; background: var(--rt-border); color: var(--rt-muted); }
.rt-top-cover-ph svg { width: 22px; height: 22px; }
.rt-top-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rt-top-title, .rt-top-artist { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-top-title { font-size: 14px; }
.rt-top-artist { font-size: 12px; color: var(--rt-muted); }
.rt-top-vote { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rt-top-votes { font-size: 12px; font-weight: 700; color: var(--rt-muted); }
.rt-top-btn { padding: 5px 12px; font-size: 12px; border-radius: 20px; }
.rt-top-btn.is-voted, .rt-top-btn:disabled { background: var(--rt-accent-solid); border-color: transparent; color: var(--rt-on-accent); cursor: default; opacity: .9; }
.rt-player-vote:disabled { background: var(--rt-accent-solid); border-color: var(--rt-accent-solid); color: var(--rt-on-accent); cursor: default; }
@media (max-width: 480px) { .rt-player-vote { display: none; } }

/* ── Équipe ── */
.rt-artist-search { display: flex; gap: 8px; margin-bottom: 16px; }
.rt-artist-search input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--rt-border, #ccc); border-radius: var(--rt-radius-lg); background: var(--rt-surface); color: var(--rt-text); font: inherit; }
.rt-artist-alpha { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; }
.rt-artist-alpha a, .rt-artist-alpha span { min-width: 32px; padding: 4px 8px; text-align: center; border-radius: 6px; font-size: 13px; font-weight: 700; }
.rt-artist-alpha a { color: var(--rt-text); background: var(--rt-surface); }
.rt-artist-alpha a[aria-current] { background: var(--rt-accent); color: #fff; }
.rt-artist-alpha span { color: var(--rt-muted); opacity: .45; }
.rt-artist-count { font-size: 13px; color: var(--rt-muted); text-align: right; }
/* Paroles complètes */
.rt-lyrics-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 24px; }
.rt-lyrics-list a { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--rt-border, #ddd); color: var(--rt-text); }
.rt-lyrics-list a:hover .rt-lyrics-title { color: var(--rt-accent-link); }
.rt-lyrics-title { font-weight: 700; }
.rt-lyrics-artist { font-size: 13px; color: var(--rt-muted); }
.rt-lyrics-cover { width: 160px; height: 160px; object-fit: cover; border-radius: var(--rt-radius-lg); }
.rt-lyrics-stanza { font-size: 17px; line-height: 1.8; margin: 0 0 1.4em; }
.rt-lyrics-note { font-size: 12px; color: var(--rt-muted); }
.rt-team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px; }
.rt-team-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; color: var(--rt-text); transition: transform .2s; }
.rt-team-card:hover { transform: translateY(-4px); }
.rt-team-avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: var(--rt-accent-solid); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; border: 3px solid transparent; flex: none; transition: border-color .2s; }
.rt-team-card:hover .rt-team-avatar { border-color: var(--rt-accent); }
.rt-team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.rt-team-initials { font-size: 32px; font-weight: 900; color: var(--rt-on-accent); line-height: 1; }
.rt-team-name { font-size: 15px; font-weight: 800; }
.rt-team-role { font-size: 12px; color: var(--rt-muted); text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.rt-member-head { display: flex; align-items: center; gap: 28px; margin-bottom: 28px; }
.rt-member-avatar { width: 160px; height: 160px; margin: 0; }
.rt-member-back { margin-top: 36px; }
@media (max-width: 600px) {
    .rt-team-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }
    .rt-team-avatar { width: 90px; height: 90px; }
    .rt-member-head { flex-direction: column; text-align: center; }
    .rt-member-avatar { width: 140px; height: 140px; }
}

/* ── Émissions et grille ── */
.rt-breadcrumb { font-size: 13px; color: var(--rt-muted); margin-bottom: 20px; }
.rt-breadcrumb a { color: var(--rt-muted); text-decoration: underline; }
.rt-em-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; background: var(--rt-accent-solid); color: var(--rt-on-accent); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.rt-em-badge[hidden] { display: none; }
.rt-em-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: rt-pulse 1.2s ease-in-out infinite; }

.rt-em-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.rt-em-card { display: flex; flex-direction: column; height: 100%; border-radius: 10px; overflow: hidden; background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); color: var(--rt-text); transition: transform .2s, border-color .2s; }
.rt-em-card:hover { transform: translateY(-4px); border-color: var(--em-color, var(--rt-accent)); }
.rt-em-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--rt-border); }
.rt-em-cover img { width: 100%; height: 100%; object-fit: cover; }
.rt-em-cover-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--em-color, var(--rt-muted)); }
.rt-em-cover-ph svg { width: 40px; height: 40px; }
.rt-em-cover .rt-em-badge { position: absolute; top: 10px; left: 10px; }
.rt-em-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.rt-em-title { font-size: 16px; }
.rt-em-hosts, .rt-em-station { font-size: 12px; color: var(--rt-muted); }
.rt-em-summary { font-size: 13px; color: var(--rt-muted); }
.rt-em-more { margin-top: 28px; }

.rt-show-head { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 28px; border-left: 4px solid var(--em-color, var(--rt-accent)); padding-left: 20px; }
.rt-show-cover { width: 320px; max-width: 40%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; flex: none; }
.rt-show-info { flex: 1; min-width: 0; }
.rt-em-hostlist { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rt-em-host { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--rt-border); border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--rt-text); }
a.rt-em-host:hover { border-color: var(--em-color, var(--rt-accent)); }
.rt-em-host-avatar { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: var(--rt-accent-solid); color: var(--rt-on-accent); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex: none; }
.rt-em-host-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rt-em-times { margin: 16px 0 0; display: flex; flex-direction: column; gap: 6px; }
.rt-em-times-row { display: flex; gap: 14px; font-size: 14px; }
.rt-em-times-row dt { width: 90px; font-weight: 700; }
.rt-em-times-row dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rt-em-time { font-variant-numeric: tabular-nums; color: var(--rt-muted); }
.rt-show-desc { margin: 0 0 28px; }

.rt-sched-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.rt-sched-tabs[hidden] { display: none; }
.rt-sched-tab { position: relative; padding: 8px 16px; border: 1px solid var(--rt-border); border-radius: 4px; background: transparent; color: var(--rt-text); font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.rt-sched-tab[aria-selected="true"] { background: var(--rt-accent-solid); border-color: transparent; color: var(--rt-on-accent); }
.rt-sched-today { display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.rt-sched-day[hidden] { display: none; }
.rt-sched-day-title { font-size: 18px; margin: 28px 0 12px; }
.rt-sched.is-tabbed .rt-sched-day-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.rt-sched-slots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rt-sched-slot { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid var(--rt-border); border-left: 4px solid var(--em-color, var(--rt-accent)); border-radius: 8px; background: var(--rt-surface, #fff); }
.rt-sched-slot.is-on-air { border-color: var(--rt-accent); }
.rt-sched-time { display: flex; flex-direction: column; min-width: 48px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rt-sched-time-end { font-weight: 400; font-size: 12px; color: var(--rt-muted); }
.rt-sched-cover { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex: none; }
.rt-sched-cover-ph { display: flex; align-items: center; justify-content: center; background: var(--rt-border); color: var(--em-color, var(--rt-muted)); }
.rt-sched-cover-ph svg { width: 22px; height: 22px; }
.rt-sched-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rt-sched-name { font-weight: 700; color: var(--rt-text); }
.rt-sched-hosts { font-size: 12px; color: var(--rt-muted); }
.rt-sched-empty { color: var(--rt-muted); }

.rt-onair-card { display: flex; align-items: center; gap: 20px; padding: 16px; border: 1px solid var(--rt-border); border-radius: 12px; background: var(--rt-surface, #fff); }
.rt-onair-cover { width: 160px; max-width: 35%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; flex: none; }
.rt-onair-info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.rt-onair-title { font-size: 22px; margin: 0; }
.rt-onair-title a { color: var(--rt-text); }
.rt-onair-meta { margin: 0 0 6px; font-size: 14px; color: var(--rt-muted); }

@media (max-width: 640px) {
    .rt-show-head { flex-direction: column; }
    .rt-show-cover { max-width: 100%; width: 100%; }
    .rt-onair-card { flex-direction: column; align-items: flex-start; }
    .rt-onair-cover { max-width: 100%; width: 100%; }
    .rt-em-times-row dt { width: 80px; }
}
@media (prefers-reduced-motion: reduce) { .rt-em-dot { animation: none; } .rt-em-card { transition: none; } }

/* ── Replays : mode « replay » du lecteur ── */
.rt-player-podcast { flex: 1 1 220px; min-width: 0; display: flex; align-items: center; gap: 8px; max-width: 460px; }
.rt-player-seek { flex: 1; min-width: 60px; height: 4px; accent-color: #ffffff; cursor: pointer; }
.rt-player-seek:disabled { cursor: default; opacity: .5; }
.rt-player-time { flex: none; font-size: 11px; font-variant-numeric: tabular-nums; color: var(--rt-pl-muted); white-space: nowrap; }
.rt-player-skip { flex: none; min-width: 36px; min-height: 32px; padding: 0 6px; border: 1px solid var(--rt-pl-line); border-radius: 4px; background: none; font-size: 11px; font-weight: 700; cursor: pointer; }
.rt-player-skip:hover { background: rgba(255, 255, 255, .12); }
.rt-player-skip { display: inline-flex; align-items: center; justify-content: center; color: inherit; }
.rt-player-skip svg { width: 18px; height: 18px; }
.rt-player[data-mode="podcast"] .rt-player-badge::before { animation: none; }
.rt-player[data-mode="podcast"] .rt-player-info { flex: 1 1 120px; }
@media (max-width: 720px) { .rt-player-time { display: none; } }
@media (max-width: 480px) { .rt-player-skip { min-width: 32px; } .rt-player-podcast { flex-basis: 120px; } }

/* ── Replays : liste et fiche ── */
.rt-rp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.rt-rp-filter { padding: 6px 16px; border-radius: 20px; border: 1px solid var(--rt-border); color: var(--rt-muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rt-rp-filter:hover { border-color: var(--rt-accent); color: var(--rt-accent-link, var(--rt-accent)); }
.rt-rp-filter[aria-current="true"] { background: var(--rt-accent-solid); border-color: var(--rt-accent-solid); color: var(--rt-on-accent); }
.rt-rp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rt-rp-item { display: flex; align-items: center; gap: 16px; padding: 14px; background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); border-radius: 8px; transition: border-color .2s; }
.rt-rp-item:hover { border-color: var(--rt-accent); }
.rt-rp-cover { flex: none; width: 72px; height: 72px; border-radius: 6px; overflow: hidden; display: block; }
.rt-rp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rt-rp-cover-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--rt-border); color: var(--rt-muted); }
.rt-rp-cover-ph svg { width: 28px; height: 28px; }
.rt-rp-meta { flex: 1; min-width: 0; }
.rt-rp-show { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--rt-accent-link, var(--rt-accent)); }
.rt-rp-title { margin: 0 0 4px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.rt-rp-title a { color: var(--rt-text); }
.rt-rp-info { display: flex; gap: 12px; margin: 0 0 4px; font-size: 12px; color: var(--rt-muted); }
.rt-rp-excerpt { margin: 0; font-size: 13px; color: var(--rt-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rt-rp-play { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 6px; background: var(--rt-accent-solid); color: var(--rt-on-accent); font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.rt-rp-play:hover { opacity: .88; text-decoration: none; }
.rt-rp-play svg { width: 16px; height: 16px; }
.rt-rp-play .rt-pl-icon-pause, .rt-rp-play[aria-pressed="true"] .rt-pl-icon-play { display: none; }
.rt-rp-play[aria-pressed="true"] .rt-pl-icon-pause { display: block; }
.rt-rp-play[aria-pressed="true"] .rt-rp-play-label::before { content: 'Pause'; }
.rt-rp-play[aria-pressed="true"] .rt-rp-play-label { font-size: 0; }
.rt-rp-play[aria-pressed="true"] .rt-rp-play-label::before { font-size: 13px; }
.rt-rp-others { margin-top: 36px; }
.rt-replay-head { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 28px; }
.rt-replay-cover { width: 320px; max-width: 40%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; flex: none; }
.rt-replay-info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.rt-replay-info .rt-title { margin: 0; }
.rt-replay-summary { margin: 8px 0 0; color: var(--rt-muted); }
.rt-rp-play-big { padding: 12px 24px; font-size: 15px; }
@media (max-width: 640px) {
    .rt-replay-head { flex-direction: column; }
    .rt-replay-cover { max-width: 100%; width: 100%; }
    .rt-rp-item { flex-wrap: wrap; }
    .rt-rp-play { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .rt-rp-item { transition: none; } }
@media (max-width: 560px) {
    .rt-player[data-mode="podcast"] .rt-player-cover { display: none; }
    .rt-player[data-mode="podcast"] .rt-player-info { flex: 0 1 72px; }
    .rt-player[data-mode="podcast"] .rt-player-podcast { flex: 1 1 0; gap: 4px; }
    .rt-player[data-mode="podcast"] .rt-player-seek { min-width: 0; width: 100%; }
    .rt-player[data-mode="podcast"] .rt-player-skip { min-width: 30px; padding: 0 3px; }
    .rt-player[data-mode="podcast"] .rt-player-live-label { display: none; }
}

/* ── Formulaires publics (dédicaces, concours) ── */
.rt-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rt-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rt-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; position: relative; }
.rt-field label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rt-opt { font-weight: 400; color: var(--rt-muted); }
.rt-field input[type="text"], .rt-field input[type="email"], .rt-field input[type="tel"], .rt-field input[type="search"], .rt-field input[type="date"], .rt-field input[type="number"], .rt-field select, .rt-field textarea { box-sizing: border-box; width: 100%; padding: 12px 14px; font: inherit; font-size: 14px; color: var(--rt-text); background: var(--rt-surface, #fff); border: 1px solid color-mix(in srgb, var(--rt-text) 15%, transparent); border-radius: 8px; }
.rt-field textarea { resize: vertical; }
.rt-field input[type="search"], .rt-field input[type="date"] { min-height: 44px; }
.rt-apps-page { margin-top: 24px; }
.rt-field input:focus-visible, .rt-field textarea:focus-visible { outline: 2px solid var(--rt-accent-link, var(--rt-accent)); outline-offset: 1px; }
.rt-form-status { min-height: 1.4em; margin: 0 0 12px; font-weight: 600; }
.rt-form-status[data-state="ok"] { color: var(--rt-success, #15803d); }
.rt-form-status[data-state="error"] { color: var(--rt-danger, #b91c1c); }
.rt-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; font-size: 14px; }
.rt-check input { margin-top: 3px; flex: none; }
.cf-turnstile { margin-bottom: 16px; }
.rt-song-list { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; margin: 2px 0 0; padding: 4px; list-style: none; background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); border-radius: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); max-height: 260px; overflow-y: auto; }
.rt-song-list[hidden] { display: none; }
.rt-song-list li { padding: 8px 10px; border-radius: 4px; cursor: pointer; font-size: 14px; }
.rt-song-list li[aria-selected="true"], .rt-song-list li:hover { background: var(--rt-accent-solid); color: var(--rt-on-accent); }

/* ── Dédicaces ── */
.rt-ded-hero { background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); border-radius: 16px; padding: 32px; margin-bottom: 40px; }
.rt-ded-hero-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%; background: var(--rt-accent-solid); color: var(--rt-on-accent); }
.rt-ded-hero-title { margin: 0 0 12px; font-size: 20px; font-weight: 800; text-align: center; }
.rt-ded-hero-sub { margin: 0 auto 24px; max-width: 480px; text-align: center; color: var(--rt-muted); }
.rt-ded-form { max-width: none; margin: 0 auto; }
.rt-ded-submit { width: 100%; justify-content: center; padding: 14px 28px; border-radius: 8px; font-size: 14px; letter-spacing: 0; text-transform: none; }
.rt-ded-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rt-ded-item { padding: 16px; background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); border-left: 4px solid var(--rt-accent); border-radius: 8px; }
.rt-ded-item p { margin: 0; }
.rt-ded-message { margin-top: 6px !important; white-space: pre-line; overflow-wrap: anywhere; }
.rt-ded-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px !important; font-size: 12px; color: var(--rt-muted); }
.rt-ded-song { font-weight: 700; color: var(--rt-accent-link, var(--rt-accent)); }
.rt-ded-ticker { display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); border-radius: 8px; }
/* ── Accueil « radio » : même composition que l'ancien site (bande de fond, direct + carrousel à gauche, actus à droite) ── */
.rt-live-wrap { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: stretch; padding: 60px 0; margin-bottom: 0; background: var(--rt-surface); box-shadow: 0 0 0 100vmax var(--rt-surface); clip-path: inset(0 -100vmax); border-bottom: 1px solid var(--rt-border); }
.rt-live-alone { grid-template-columns: minmax(0, 1fr); }
.rt-live-main { gap: 24px; }
.rt-live { gap: 32px; flex-shrink: 0; }
.rt-live-cover { width: 180px; height: 180px; border-radius: 12px; }
.rt-live-info { flex: 1; }
.rt-live-badge { font-size: 10px; letter-spacing: .1em; margin-bottom: 10px; }
.rt-live-station { font-size: 13px; font-weight: 700; letter-spacing: .06em; margin-bottom: 4px; }
.rt-live-title { font-size: clamp(18px, 3vw, 28px); line-height: 1.2; text-transform: none; margin-bottom: 6px; }
.rt-live-artist { font-size: 15px; text-transform: none; margin-bottom: 20px; }
.rt-live-info .rt-btn { margin-top: 0; font-size: 14px; padding: 12px 28px; }
.rt-live-main > .rt-carousel { flex: 1; min-height: 200px; display: flex; flex-direction: column; }
.rt-live-main .rt-carousel-track { flex: 1; position: relative; min-height: 200px; }
.rt-live-main .rt-slide { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; overflow: hidden; }
.rt-live-main .rt-slide::before { content: ''; position: absolute; inset: 0; background: var(--rt-slide-bg) center / cover; filter: blur(18px) brightness(.7); transform: scale(1.15); }
.rt-live-main .rt-slide > img { position: relative; object-fit: contain; }
.rt-live-main .rt-slide-caption { background: none; padding: 0; justify-content: flex-end; align-items: flex-start; pointer-events: none; }
.rt-live-main .rt-slide-title, .rt-live-main .rt-slide-subtitle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rt-live-main .rt-slide-caption .rt-btn { position: absolute; left: 16px; bottom: 14px; padding: 6px 14px; border-radius: 6px; font-size: 12px; pointer-events: auto; }
.rt-live-main .rt-carousel-controls { position: static; padding: 0; }
.rt-live-main .rt-carousel-arrow[data-rt-prev], .rt-live-main .rt-carousel-arrow[data-rt-next] { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: rgba(0, 0, 0, .45); }
.rt-live-main .rt-carousel-arrow[data-rt-prev] { left: 10px; }
.rt-live-main .rt-carousel-arrow[data-rt-next] { right: 10px; }
.rt-live-main .rt-carousel-arrow:hover { background: rgba(0, 0, 0, .7); color: #fff; }
.rt-live-main .rt-carousel-dots { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); z-index: 5; }
.rt-live-main .rt-carousel-dot::before { inset: 9px; border: 0; background: rgba(255, 255, 255, .4); }
.rt-live-main .rt-carousel-dot.is-active::before { inset: 9px 3px; border-radius: 3px; background: #fff; transform: none; }
.rt-live-main .rt-carousel-arrow[data-rt-pause] { position: absolute; right: 10px; bottom: 10px; width: 24px; height: 24px; z-index: 5; background: rgba(0, 0, 0, .45); }
.rt-live-news-title { font-size: 10px; letter-spacing: .1em; margin-bottom: 10px; }
.rt-live-news li a { gap: 10px; padding: 8px 0; font-size: 13px; font-weight: 600; text-transform: none; }
.rt-live-news li:last-child { border-bottom: 0; }
.rt-live-news li img { width: 44px; height: 44px; border-radius: 4px; }
.rt-live-news-all { display: block; text-align: right; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
@media (max-width: 1024px) { .rt-live-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .rt-live { flex-direction: column; align-items: stretch; } .rt-live-cover { align-self: center; width: 140px; height: 140px; } .rt-live-info { text-align: center; } .rt-live-badge { justify-content: center; } .rt-live-info .rt-btn { width: 100%; justify-content: center; } .rt-live-main .rt-carousel-track { min-height: 200px; } }

/* Cartes de radios, comme sur l'ancien site : visuel carré, nom en couleur d'accent, genre en pastille, lecture au survol. */
.rt-station-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.rt-station { border-top-color: var(--rt-border) !important; }
.rt-station { position: relative; border-top-width: 1px !important; }
.rt-station:hover, .rt-station:focus-within { border-color: var(--rt-accent); transform: translateY(-2px); }
.rt-station .rt-card-body { padding: 0; gap: 0; }
.rt-station .rt-station-logo { order: -1; width: 100%; max-width: none; margin: 0; border-radius: 0; object-fit: cover; }
.rt-station .rt-card-title { order: 0; padding: 12px 12px 6px; }
.rt-station .rt-station-track { display: none; }
.rt-station .rt-card-category { order: 1; align-self: flex-start; margin: 0 12px 12px; padding: 2px 10px; border-radius: 20px; background: color-mix(in srgb, var(--rt-accent) 14%, transparent); font-size: 11px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.rt-station .rt-card-body > p:last-child:has(.rt-btn) { position: absolute; inset: 0 0 auto 0; aspect-ratio: 1; margin: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .2s; }
.rt-station:hover .rt-card-body > p:last-child:has(.rt-btn), .rt-station:focus-within .rt-card-body > p:last-child:has(.rt-btn) { opacity: 1; }
/* Listes d'actualités, comme sur l'ancien site : grand titre, pastilles de catégories avec leur total, catégorie en badge sur l'image. */
h1.rt-section-title { font-size: 36px; margin-bottom: 28px; }
.rt-chips a { padding: 9px 20px; border-radius: 22px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.rt-chip-count { margin-left: 6px; font-size: 11px; font-weight: 700; opacity: .5; }
.rt-chips a[aria-current] .rt-chip-count { opacity: .8; }
.rt-card-img { position: relative; }
.rt-card-badge { position: absolute; left: 12px; bottom: 12px; padding: 3px 10px; border-radius: 12px; background: var(--rt-accent-solid); color: var(--rt-on-accent); font-size: 11px; font-weight: 800; letter-spacing: .04em; line-height: 1.6; text-transform: uppercase; }
/* Blocs d'accueil : bandeau billetterie et jeu concours */
.rt-cta-bar { position: relative; isolation: isolate; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0; padding: 14px 0; }
.rt-cta-bar::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: linear-gradient(90deg, color-mix(in srgb, var(--rt-accent) 12%, transparent), color-mix(in srgb, var(--rt-accent) 4%, transparent)); border-top: 1px solid color-mix(in srgb, var(--rt-accent) 20%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--rt-accent) 20%, transparent); }
.rt-cta-bar .rt-btn { padding: 9px 20px; border-radius: 6px; font-size: 13px; }
@media (max-width: 600px) { .rt-cta-bar { justify-content: center; text-align: center; } .rt-cta-text { align-items: center; } }
.rt-cta-icon { font-size: 28px; line-height: 1; flex: none; }
.rt-cta-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 180px; }
.rt-cta-text strong { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.rt-cta-text span { font-size: 13px; color: var(--rt-muted); }
.rt-teaser-card { display: flex; gap: 20px; align-items: stretch; flex-wrap: wrap; color: var(--rt-text); background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); border-radius: 12px; overflow: hidden; }
.rt-teaser-card:hover { border-color: var(--rt-accent); text-decoration: none; }
.rt-teaser-img { flex: 0 0 320px; max-width: 100%; aspect-ratio: 16 / 9; background: var(--rt-surface2); }
.rt-teaser-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rt-teaser-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 16px 20px; flex: 1; min-width: 220px; }
.rt-teaser-name { font-size: 18px; font-weight: 800; }
.rt-teaser-dates { font-size: 12px; color: var(--rt-muted); }
.rt-teaser-summary { font-size: 14px; color: var(--rt-muted); }
.rt-teaser-btn { margin-top: auto; }
@media (max-width: 600px) { .rt-teaser-img { flex-basis: 100%; } }
/* Page d'accueil : le premier bloc (bande « direct ») démarre sous l'en-tête, sans le haut de page habituel. */
.rt-section:has(> .rt-live-wrap) { padding-top: 0; }
/* Bandeau en haut de toutes les pages : fixe au-dessus de l'en-tête (lui-même fixe), le contenu descend d'autant. */
.rt-ded-ticker--top { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; box-sizing: border-box; height: 40px; border-width: 0 0 1px; border-radius: 0; padding: 0 16px; }
body:has(.rt-ded-ticker--top) #rt-header { top: 40px; }
body:has(.rt-ded-ticker--top) #rt-main { padding-top: 100px; }
@media print { .rt-ded-ticker--top { display: none; } }
/* Habillage du bandeau du haut, repris de l'ancien site : fond sombre, filet d'accent, pastille « Dédicaces », texte en défilement, bouton « Déposer ». */
.rt-ded-ticker--top { background: #111; color: #fff; border-color: var(--rt-accent); border-bottom-width: 2px; gap: 0; padding: 0; font-size: 13px; overflow: hidden; user-select: none; }
.rt-ded-ticker--top .rt-ded-ticker-label { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 14px; border-radius: 0; background: var(--rt-accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.rt-ded-ticker--top .rt-ded-ticker-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: rt-ticker-pulse 1.2s ease-in-out infinite; flex: none; }
.rt-ded-ticker--top .rt-ded-viewport { height: 100%; overflow-x: hidden; }
.rt-ded-ticker--top .rt-ded-track { gap: 0; height: 100%; align-items: center; }
.rt-ded-ticker--top .rt-ded-track li { display: inline-flex; align-items: center; gap: 6px; padding: 0 28px; height: 100%; color: #fff; }
.rt-ded-ticker--top .rt-ded-track li > strong:first-child { font-weight: 400; font-size: 12px; opacity: .55; }
.rt-ded-ticker--top .rt-ded-track li > strong:nth-of-type(2) { color: var(--rt-accent-on-dark, var(--rt-accent)); font-weight: 700; }
.rt-ded-ticker--top .rt-ded-song { color: rgba(255, 255, 255, .8); font-weight: 400; }
.rt-ded-ticker--top .rt-ded-pause { order: 2; height: 100%; padding: 0 10px; border: 0; border-radius: 0; background: none; color: rgba(255, 255, 255, .4); font-size: 11px; cursor: pointer; }
.rt-ded-ticker--top .rt-ded-pause:hover { color: rgba(255, 255, 255, .9); }
.rt-ded-submit-link { order: 3; flex: none; display: flex; align-items: center; gap: 5px; height: 100%; padding: 0 14px; background: var(--rt-accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.rt-ded-submit-link:hover { color: #fff; opacity: .88; text-decoration: none; }
@keyframes rt-ticker-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (max-width: 600px) { .rt-ded-submit-text { display: none; } }
.rt-ded-ticker-label { flex: none; padding: 4px 12px; border-radius: 20px; background: var(--rt-accent-solid); color: var(--rt-on-accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rt-ded-ticker-label:hover { text-decoration: none; opacity: .9; }
.rt-ded-viewport { flex: 1; min-width: 0; overflow-x: auto; }
.rt-ded-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 48px; white-space: nowrap; width: max-content; }
.rt-ded-ticker.is-moving .rt-ded-viewport { overflow: hidden; }
.rt-ded-ticker.is-moving .rt-ded-track { animation: rt-ticker var(--rt-ticker-duration, 60s) linear infinite; }
.rt-ded-ticker.is-moving:hover .rt-ded-track, .rt-ded-ticker.is-moving:focus-within .rt-ded-track, .rt-ded-ticker.is-paused .rt-ded-track { animation-play-state: paused; }
.rt-ded-pause { flex: none; padding: 4px 10px; font: inherit; font-size: 12px; color: var(--rt-text); background: none; border: 1px solid var(--rt-border); border-radius: 4px; cursor: pointer; }
@keyframes rt-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .rt-form-grid { grid-template-columns: 1fr; gap: 0; } .rt-ded-hero { padding: 20px; } .rt-ded-ticker { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .rt-ded-ticker.is-moving .rt-ded-track { animation: none; } }

/* ── Jeux et concours ── */
.rt-contest-group { margin-bottom: 36px; }
.rt-contest-heading { margin: 0 0 16px; font-size: 20px; }
.rt-contest-cover { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.rt-contest-dates { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; color: var(--rt-muted); font-size: 14px; }
.rt-contest-box { margin: 32px 0; padding: 28px; background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); border-radius: 12px; }
.rt-contest-form { max-width: 640px; }
.rt-contest-closed { margin: 0; font-weight: 600; }
.rt-contest-rules { margin-top: 32px; }
.rt-check-links { display: flex; gap: 16px; margin-top: 4px; font-size: 13px; }
@media (max-width: 640px) { .rt-contest-box { padding: 18px; } }

/* ── Horoscope ── */
.rt-hor-date { margin: 0 0 20px; color: var(--rt-muted); text-transform: capitalize; }
.rt-hor-late { text-transform: none; font-size: 13px; }
.rt-hor-nav { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.rt-hor-nav[hidden] { display: none; }
.rt-hor-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border: 1px solid var(--rt-border); border-radius: 8px; color: var(--rt-text); font-size: 13px; font-weight: 700; text-align: center; }
.rt-hor-nav a:hover { border-color: var(--rt-accent); text-decoration: none; }
.rt-hor-nav a[aria-current="true"] { background: var(--rt-accent-solid); border-color: var(--rt-accent-solid); color: var(--rt-on-accent); }
.rt-hor-glyph { font-size: 22px; line-height: 1; }
.rt-hor-card { margin: 0 0 24px; padding: 24px; max-width: 760px; background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); border-radius: 12px; }
.rt-hor.is-tabbed .rt-hor-card { display: none; margin-left: 0; }
.rt-hor.is-tabbed .rt-hor-card.is-active { display: block; }
.rt-hor-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.rt-hor-glyph-big { font-size: 40px; color: var(--rt-accent-link, var(--rt-accent)); }
.rt-hor-sign { margin: 0; font-size: 24px; }
.rt-hor-dates { margin: 0; font-size: 13px; color: var(--rt-muted); }
.rt-hor-label { margin: 18px 0 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--rt-accent-link, var(--rt-accent)); }
.rt-hor-text { margin: 0; line-height: 1.7; }
.rt-hor-credit { margin-top: 8px; font-size: 12px; color: var(--rt-muted); }
.rt-hor-credit a { text-decoration: underline; }
@media (max-width: 640px) { .rt-hor-card { padding: 16px; } }
/* Messages de formulaire lisibles en mode sombre (contraste ≥ 4,5:1) */
html[data-theme="dark"] .rt-form-status[data-state="ok"] { color: #6ee7a0; }
html[data-theme="dark"] .rt-form-status[data-state="error"] { color: #ff9a9a; }

/* ── Partenaires et bannières ── */
.rt-partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; align-items: stretch; }
.rt-partner { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 88px; padding: 16px 20px; background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); border-radius: 8px; transition: border-color .2s; }
a.rt-partner:hover { border-color: var(--rt-accent); text-decoration: none; }
.rt-partner img { max-width: 100%; max-height: 60px; object-fit: contain; }
.rt-partner-name { font-size: 13px; font-weight: 700; text-align: center; color: var(--rt-muted); }
.rt-partners-block { margin: 32px 0; }
.rt-banner { position: relative; margin: 24px 0; text-align: center; }
.rt-banner a { display: inline-block; max-width: 100%; }
.rt-banner img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.rt-banner-tag { position: absolute; top: 6px; right: 6px; padding: 1px 6px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .6); border-radius: 3px; }

/* ── Billetterie ── */
.rt-bill-form { margin: 0 0 20px; }
.rt-bill-fields { grid-template-columns: 2fr 1fr 1fr; }
.rt-bill-status p { margin: 0 0 16px; color: var(--rt-muted); }
.rt-bill-credit { margin-top: 28px; font-size: 12px; color: var(--rt-muted); max-width: 70ch; }
@media (max-width: 640px) { .rt-bill-fields { grid-template-columns: 1fr; } }

/* ── Newsletter ── */
.rt-news-freq { margin: 0 0 16px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.rt-news-freq legend { float: left; margin-right: 16px; padding: 0; font-size: 13px; font-weight: 700; }
.rt-news-freq label { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
.rt-news-block { margin: 32px 0; padding: 24px; background: var(--rt-surface, #fff); border: 1px solid var(--rt-border); border-radius: 12px; }

/* ── Paroles (lien externe à côté d'un titre) ── */
.rt-track-link { font-size: 12px; font-weight: 700; text-decoration: underline; color: var(--rt-accent-link, var(--rt-accent)); white-space: nowrap; }
.rt-top-links { display: block; margin-top: 2px; }
.rt-top-links:empty { display: none; }
.rt-player-lyrics { text-decoration: none; }
@media (max-width: 480px) { .rt-player-lyrics { display: none; } }

/* ── Pages d'erreur ── */
.rt-error-code { font-size: clamp(64px, 14vw, 120px); font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--rt-accent-link, var(--rt-accent)); margin-bottom: 8px; }

/* ── Accueil : bandeau à mettre en avant, direct + actus ────────────── */
.rt-promo {
    display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 18px 24px;
    background: color-mix(in srgb, var(--rt-accent) 9%, var(--rt-surface)); border: 1px solid color-mix(in srgb, var(--rt-accent) 28%, var(--rt-border));
    border-radius: var(--rt-radius-lg);
}
.rt-promo-title { font-size: 15px; font-weight: 900; text-transform: uppercase; }
.rt-promo-sub { margin-top: 2px; font-size: 13px; color: var(--rt-muted); }
.rt-promo .rt-btn { flex: none; }
@media (max-width: 600px) { .rt-promo { flex-direction: column; align-items: flex-start; padding: 16px; } }

.rt-live-wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.rt-live-alone { grid-template-columns: minmax(0, 1fr); }
.rt-live-main { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.rt-live-main > .rt-carousel { margin: 0; }
.rt-live { display: flex; align-items: center; gap: 24px; }
.rt-live-cover { width: 160px; height: 160px; flex: none; object-fit: cover; border-radius: var(--rt-radius-lg); background: var(--rt-surface2); }
.rt-live-info { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rt-live-badge { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rt-accent-link); }
.rt-live-badge .rt-em-dot { background: currentColor; }
.rt-live-station { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--rt-muted); }
.rt-live-title { font-size: clamp(22px, 3.2vw, 32px); font-weight: 900; line-height: 1.15; text-transform: uppercase; overflow-wrap: anywhere; }
.rt-live-artist { font-size: 14px; color: var(--rt-muted); text-transform: uppercase; }
.rt-live-info .rt-btn { margin-top: 8px; }
.rt-live-news-title { margin-bottom: 12px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rt-muted); }
.rt-live-news ul { list-style: none; margin: 0; padding: 0; }
.rt-live-news li { border-bottom: 1px solid var(--rt-border); }
.rt-live-news li a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--rt-text); font-size: 13px; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.rt-live-news li img { width: 56px; height: 56px; flex: none; object-fit: cover; border-radius: var(--rt-radius); }
.rt-live-news-all { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 800; color: var(--rt-accent-link); }
@media (max-width: 900px) { .rt-live-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 480px) { .rt-live { gap: 16px; } .rt-live-cover { width: 104px; height: 104px; } }

/* Top 30 sur petit écran : le titre passe sur deux lignes plutôt que d'être coupé après quelques lettres. */
@media (max-width: 480px) {
    .rt-top-item { gap: 10px; padding: 10px 12px; }
    .rt-top-rank { width: 24px; }
    .rt-top-cover { width: 44px; height: 44px; }
    .rt-top-title, .rt-top-artist { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }
    .rt-top-artist { -webkit-line-clamp: 1; line-clamp: 1; }
}

/* Accueil : grille du jour (colonnes sur grand écran) et bandeau des derniers replays. */
.rt-today-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 8px 16px; }
.rt-rp-band .rt-rp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px 16px; }
.rt-rp-band .rt-rp-item { flex-wrap: wrap; }
.rt-rp-band .rt-rp-play { width: 100%; justify-content: center; }
