/* Radio Rempart · Lecteur 2.0 · Couleurs modifiables ci-dessous. */
:root {
  color-scheme: dark;
  --rr-bg: #222321;
  --rr-surface: #2c2c29;
  --rr-text: #f8f4e3;
  --rr-muted: #c0bbaf;
  --rr-pink: #ed668a;
  --rr-line: rgba(248,244,227,.14);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--rr-bg); color: var(--rr-text); }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
a { color: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--rr-text); outline-offset: 4px; }
[hidden] { display: none !important; }
.rr-icon { width: 21px; height: 21px; flex-shrink: 0; }
.rr-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rr-player { position: relative; }
.rr-artwork { flex-shrink: 0; background: var(--rr-surface); overflow: hidden; }
.rr-artwork img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rr-meta { min-width: 0; }
.rr-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--rr-pink); font: 600 10px/1.4 ui-monospace, Consolas, monospace; letter-spacing: .09em; text-transform: uppercase; }
.rr-station { color: var(--rr-muted); border-left: 1px solid var(--rr-line); padding-left: 10px; margin-left: 3px; }
.rr-equalizer { display: inline-flex; gap: 2px; align-items: center; height: 12px; }
.rr-equalizer i { display: block; width: 2px; height: 4px; background: currentColor; border-radius: 1px; }
.rr-equalizer i:nth-child(2) { height: 10px; animation-delay: -.3s !important; }
.rr-equalizer i:nth-child(3) { height: 7px; animation-delay: -.7s !important; }
[data-state="playing"] .rr-equalizer i { animation: rr-wave 1s ease-in-out infinite alternate; }
#npArtist { font-weight: 700; letter-spacing: -.02em; }
#npTitle { color: var(--rr-muted); }
.rr-status { display: flex; align-items: center; gap: 6px; color: var(--rr-muted); font-size: 11px; line-height: 1.3; }
.rr-status-dot { flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: #97988f; }
[data-state="playing"] .rr-status-dot { background: #a3d5a4; }
[data-state="loading"] .rr-status-dot, [data-state="retrying"] .rr-status-dot { background: #f0c477; }
[data-state="error"] .rr-status-dot, [data-state="offline"] .rr-status-dot { background: var(--rr-pink); }
.rr-controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.rr-play { display: grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; color: #211d1e; background: var(--rr-pink); transition: background .16s, transform .16s; }
.rr-play .rr-icon { width: 25px; height: 25px; grid-area: 1/1; }
.rr-icon-play { margin-left: 2px; }
.rr-icon-pause, .rr-spinner, .rr-icon-muted { display: none; }
[data-state="playing"] .rr-icon-play { display: none; }
[data-state="playing"] .rr-icon-pause { display: block; }
[data-state="loading"] .rr-icon-play, [data-state="retrying"] .rr-icon-play, [data-state="offline"] .rr-icon-play { display: none; }
[data-state="loading"] .rr-spinner, [data-state="retrying"] .rr-spinner, [data-state="offline"] .rr-spinner { display: block; }
.rr-spinner { grid-area: 1/1; width: 22px; height: 22px; border: 2px solid rgba(33,29,30,.25); border-top-color: #211d1e; border-radius: 50%; animation: rr-spin .9s linear infinite; }
.rr-icon-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--rr-text); text-decoration: none; }
.rr-volume { display: flex; align-items: center; gap: 2px; }
.rr-volume input { width: 90px; height: 28px; margin: 0 12px 0 0; accent-color: var(--rr-pink); cursor: pointer; }
.rr-volume [aria-pressed="true"] .rr-icon-volume { display: none; }
.rr-volume [aria-pressed="true"] .rr-icon-muted { display: block; }
.rr-popup { border-color: var(--rr-line); }
audio { display: none; }
noscript { display: block; padding: 10px; font-size: 12px; }
@media (hover: hover) {
 .rr-play:hover { background: #ff88a8; transform: translateY(-1px); }
 .rr-icon-button:hover { background: rgba(248,244,227,.07); }
 .rr-text-link:hover, .rr-page-footer a:hover { color: var(--rr-pink); }
}
/* Barre de bas de page : hauteur communiquée automatiquement à WordPress. */
.rr-embed { overflow: hidden; }
.rr-bar { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 18px; width: 100%; min-height: 104px; padding: 12px 24px; border-top: 1px solid rgba(237,102,138,.44); background: linear-gradient(110deg,#272824,#262425 72%,#30262b); }
.rr-bar .rr-artwork { width: 64px; height: 64px; border-radius: 10px; box-shadow: 0 4px 14px #0004; }
.rr-bar #npArtist { font-size: 17px; line-height: 1.25; margin: 4px 0 1px; }
.rr-bar #npTitle { font-size: 14px; line-height: 1.3; }
.rr-bar #npArtist, .rr-bar #npTitle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-bar .rr-status { margin-top: 5px; }
.rr-bar #rrStatusText { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Lecteur séparé. */
.rr-standalone { min-height: 100vh; min-height: 100svh; background: radial-gradient(ellipse at 84% 36%,rgba(229,68,109,.07),transparent 58%),#20211f; }
.rr-page { max-width: 1080px; margin: 0 auto; padding: 36px 36px 24px; }
.rr-page-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 25px; border-bottom: 1px solid var(--rr-line); }
.rr-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 500; text-decoration: none; letter-spacing: -.04em; }
.rr-brand img { border-radius: 9px; }
.rr-brand strong { color: var(--rr-pink); }
.rr-location { color: var(--rr-muted); font: 11px/1.5 ui-monospace,Consolas,monospace; text-transform: uppercase; letter-spacing: .06em; }
.rr-full { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(24px,5vw,66px); align-items: center; padding: 58px 0 48px; }
.rr-cover-column { min-width: 0; }
.rr-full .rr-artwork { width: 100%; aspect-ratio: 1; border-radius: 17px; box-shadow: 0 20px 50px #0005; }
.rr-cover-caption { display: block; margin-top: 20px; text-align: center; color: var(--rr-muted); font-size: 11px; line-height: 1.5; }
.rr-listen-column { min-width: 0; }
.rr-full .rr-eyebrow { font-size: 11px; }
.rr-full .rr-station { display: none; }
.rr-full #npArtist { font-size: clamp(27px,4.2vw,48px); line-height: 1.12; margin: 18px 0 10px; overflow-wrap: anywhere; }
.rr-full #npTitle { font-size: 19px; line-height: 1.5; overflow-wrap: anywhere; }
.rr-full .rr-status { margin-top: 20px; min-height: 17px; font-size: 12px; }
.rr-full .rr-controls { margin-top: 30px; gap: 22px; }
.rr-full .rr-play { width: 72px; height: 72px; }
.rr-full .rr-play .rr-icon { width: 31px; height: 31px; }
.rr-full .rr-volume input { width: 114px; }
.rr-listening-note { margin: 28px 0 26px; color: var(--rr-muted); font-size: 13px; line-height: 1.7; }
.rr-text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; text-decoration: none; padding-top: 24px; border-top: 1px solid var(--rr-line); width: 100%; }
.rr-text-link>span { margin-left: auto; color: var(--rr-pink); font-size: 19px; }
.rr-page-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--rr-line); padding-top: 24px; color: var(--rr-muted); font-size: 12px; }
.rr-page-footer a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.rr-page-footer .rr-icon { width: 16px; height: 16px; }
@media (max-width: 780px) {
 .rr-bar { padding-inline: 16px; gap: 14px; }
 .rr-bar .rr-volume { display: none; }
 .rr-page { max-width: 510px; padding: 22px 24px; }
 .rr-location { display: none; }
 .rr-full { grid-template-columns: 1fr; gap: 28px; padding: 30px 0; }
 .rr-full .rr-artwork { max-width: 340px; margin-inline: auto; }
 .rr-cover-caption { display: none; }
 .rr-full #npArtist { font-size: 32px; margin-top: 12px; }
 .rr-full #npTitle { font-size: 17px; }
 .rr-full .rr-status { margin-top: 14px; }
 .rr-full .rr-controls { margin-top: 22px; }
 .rr-listening-note { margin: 22px 0; }
 .rr-full .rr-play { width: 64px; height: 64px; }
 .rr-desktop-break { display: none; }
 .rr-page-footer>span { display: none; }
}
@media (max-width: 520px) {
 .rr-bar { grid-template-columns: 52px minmax(0,1fr) 92px; gap: 10px; padding: 12px; min-height: 106px; }
 .rr-bar .rr-artwork { width: 52px; height: 52px; border-radius: 8px; }
 .rr-bar .rr-station { display: none; }
 .rr-bar .rr-eyebrow { font-size: 9px; letter-spacing: .06em; }
 .rr-bar #npArtist { font-size: 14px; margin-top: 4px; }
 .rr-bar #npTitle { font-size: 12px; line-height: 1.35; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
 .rr-bar .rr-status { font-size: 10px; margin-top: 4px; }
 .rr-bar .rr-controls { gap: 4px; }
 .rr-bar .rr-play { width: 44px; height: 44px; }
 .rr-bar .rr-popup { border: none; }
 .rr-bar .rr-history { display: none; }
 .rr-page { padding: 18px 20px; }
 .rr-page-header { padding-bottom: 18px; }
 .rr-full .rr-artwork { max-width: 280px; }
 .rr-full { padding-top: 26px; }
 .rr-full #npArtist { font-size: 29px; }
}
/* Les boutons du téléphone règlent le volume sur les appareils tactiles. */
@media (pointer: coarse) { .rr-volume { display: none; } }
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation: none !important; transition: none !important; }
}
@keyframes rr-spin { to { transform: rotate(360deg); } }
@keyframes rr-wave { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
