/* ══════════════════════════════════════
   COMMON — partagé sur toutes les pages
   LMP Radio — design 2026 (refonte "waouh")
   Toutes les couleurs passent par les variables ci-dessous : le thème
   choisi dans l'admin (applySiteTheme, common.js) repeint tout le site.
══════════════════════════════════════ */

:root {
  --red: #cc0000; --red-l: #ff2200; --red-d: #8b0000;
  --accent: #e63232;
  --orange: #ff7a00; --gold: #ffc23d;
  --bg: #07060b; --bg2: #0d0b14; --bg3: #14111d;
  --surface: rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --card: rgba(255,255,255,.035);
  --border: rgba(180,0,0,.2);
  --t1: #fff; --t1-rgb: 255,255,255; --t2: rgba(255,255,255,.68); --t3: rgba(255,255,255,.42);
  --g: #00ff88;
  --grad: linear-gradient(120deg, var(--red-l) 0%, var(--orange) 55%, var(--gold) 100%);
  --grad-btn: linear-gradient(120deg, var(--red) 0%, var(--red-l) 45%, var(--orange) 100%);
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --radius: 22px;
  --nav-h: 76px;
  --mp-h: 86px;
  --shadow: 0 24px 70px -20px rgba(0,0,0,.75);
  /* Le site est déjà en thème sombre : on le déclare pour empêcher les
     navigateurs mobiles (Chrome/Android notamment) d'appliquer leur propre
     "dark mode forcé", qui inverse parfois les couleurs des petites images
     (comme la pochette du mini-lecteur) sans toucher aux grandes. */
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  background: var(--bg);
  color: var(--t1);
  font-family: var(--font-body);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
  padding-bottom: calc(var(--mp-h) + 8px);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
/* Ambiance de fond : halos colorés fixes + grain léger (purement décoratif) */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 8% -5%, color-mix(in srgb, var(--red) 28%, transparent), transparent 70%),
    radial-gradient(800px 600px at 100% 10%, rgba(255,122,0,.12), transparent 70%),
    radial-gradient(900px 700px at 50% 110%, rgba(120,20,160,.14), transparent 70%),
    var(--bg);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--red); color: #fff; }
a { color: inherit; }
button, input, textarea, select { font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 28px;
  background: linear-gradient(180deg, rgba(7,6,11,.92), rgba(7,6,11,.72));
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
nav::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-l), var(--orange), transparent);
  opacity: .55;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo img { height: 68px; width: auto; filter: drop-shadow(0 4px 14px rgba(255,60,0,.35)); transition: transform .3s; }  /* agrandi le 27/11/2026 (avant 54) */
.logo:hover img { transform: rotate(-4deg) scale(1.05); }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }

.nbtn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; background: transparent; border: 1px solid transparent;
  cursor: pointer; transition: color .2s, background .2s, border-color .2s; text-decoration: none;
  white-space: nowrap; font-family: inherit; color: var(--t2);
}
.nbtn i { color: var(--orange); font-size: .85em; transition: color .2s; }
.nbtn:hover { color: #fff; background: rgba(255,255,255,.05); }
.nbtn:hover i { color: var(--gold); }
.nbtn.active {
  color: #fff;
  background: linear-gradient(120deg, color-mix(in srgb, var(--red) 30%, transparent), rgba(255,122,0,.14));
  border-color: color-mix(in srgb, var(--red-l) 35%, transparent);
}
.nbtn.active i { color: var(--gold); }
.admin-btn { display: none; }
.nbtn.admin-btn { border-color: rgba(255,194,61,.25); color: var(--gold); }
.nbtn.admin-btn i { color: var(--gold); }
.nbtn.admin-btn:hover { background: rgba(255,194,61,.08); border-color: rgba(255,194,61,.45); }
.nbtn.ext-btn { color: var(--t2); }
.nbtn.ext-btn:hover { color: #fff; }
.nav-sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 6px; }

/* ── BURGER ── */
.burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-2);
  border-radius: 12px; cursor: pointer; appearance: none; outline: none; padding: 0;
}
.burger svg { width: 20px; }
.burger svg rect { fill: #fff; transition: all .3s; }
.burger.open svg rect:nth-child(1) { transform-origin: 11px 3px; transform: rotate(45deg); }
.burger.open svg rect:nth-child(2) { opacity: 0; }
.burger.open svg rect:nth-child(3) { transform-origin: 11px 13px; transform: rotate(-45deg); }

/* ── DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown.open .dropdown-menu {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0); transition-delay: 0s;
}
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(16,13,22,.96); backdrop-filter: blur(20px);
  border: 1px solid var(--line-2); border-radius: 16px;
  padding: 8px; min-width: 210px;
  display: flex; flex-direction: column; gap: 2px;
  z-index: 2000; opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  transition-delay: .08s;
  box-shadow: 0 24px 60px rgba(0,0,0,.7);
}
.dropdown-menu::before {
  content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.drop-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  font-size: .86rem; font-weight: 600; text-decoration: none;
  color: var(--t2); transition: all .15s; white-space: nowrap;
  background: transparent; border: none; cursor: pointer;
  font-family: inherit; width: 100%;
}
.drop-item i {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  font-size: .8rem; color: var(--orange); background: rgba(255,122,0,.1); flex-shrink: 0;
}
.drop-item:hover, .drop-item.active { background: rgba(255,255,255,.06); color: #fff; }
.drop-item:hover i, .drop-item.active i { background: var(--grad-btn); color: #fff; }

/* ── MENU MOBILE ── */
.mob-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  z-index: 999; background: rgba(10,8,15,.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  flex-direction: column; padding: 10px 14px 24px; gap: 4px;
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.mob-menu.open { display: flex; animation: mobIn .22s ease; }
@keyframes mobIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mob-menu .nbtn {
  padding: 14px 16px; border-radius: 12px;
  font-size: .85rem; justify-content: flex-start;
  background: rgba(255,255,255,.03);
}
.mob-menu .nbtn i { width: 18px; text-align: center; }

@media (max-width: 1180px) {
  .nbtn { padding: 10px 10px; font-size: .74rem; }
}
@media (max-width: 1024px) {
  .nav-links, .nav-sep { display: none; }
  .burger { display: flex; }
  :root { --nav-h: 64px; }
  nav { padding: 0 16px; }
  .logo img { height: 56px; }  /* agrandi le 27/11/2026 (avant 44) */
}

/* ── LAYOUT ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }
.section { padding: 56px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.018) 20%, rgba(255,255,255,.018) 80%, transparent); }
@media (max-width: 700px) { .section { padding: 52px 0; } }

.section-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 24px;
}
.section-title i {
  width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; flex-shrink: 0;
  font-size: .85rem; color: #fff; background: var(--grad-btn);
  box-shadow: 0 6px 18px -6px var(--red-l);
}
.section-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }

/* En-tête de section "magazine" : surtitre + grand titre + sous-titre */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.sec-eyebrow i { font-size: .8rem; }
.sec-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -.4px;
}
.sec-sub { color: var(--t2); margin-top: 8px; font-size: .92rem; max-width: 620px; line-height: 1.6; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.grid-2.stretch { align-items: stretch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* 3 blocs à largeur égale. Le plugin Facebook n'a pas besoin d'une colonne dédiée plus
   large : sizeFbEmbed() (js/index.js) lit dynamiquement la largeur réelle du conteneur
   (plafonnée à 480px de toute façon) et redimensionne l'iframe en conséquence. */
.fb-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 1200px) { .fb-grid { grid-template-columns: 1fr 1fr; } .fb-grid > *:nth-child(3) { grid-column: 1 / -1; } }
@media (max-width: 900px) { .fb-grid { grid-template-columns: 1fr; } .fb-grid > *:nth-child(3) { grid-column: auto; } }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; backdrop-filter: blur(10px);
  transition: border-color .25s, box-shadow .25s;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }

/* ── APPARITION AU DÉFILEMENT ──
   Masqué uniquement si le JS a posé .reveal-on sur <html> : sans JS (ou
   sans IntersectionObserver) tout reste visible, jamais de zone vide. */
.reveal-on .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-on .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ── HERO (bannière, partagée et persistante sur toutes les pages) ── */
.hero-wrap { padding: 28px 0 0; }
.hero {
  position: relative; width: 100%;
  aspect-ratio: 3 / 1; margin-bottom: 30px;  /* valeur d'attente : common.js::loadBanners la remplace par le format de la 1re bannière (27/11/2026, bannière toujours entière) */
  background: #050008;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.hero-slide { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; opacity: 0; transform: scale(1.03); transition: opacity 1.2s ease, transform 6s ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }  /* jamais recadrée (27/11/2026) */
.hero-slide a { display: block; width: 100%; height: 100%; }
.hero-overlay { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,.45)); }
.hero-dots { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dot { width: 22px; height: 5px; border-radius: 3px; background: rgba(var(--t1-rgb),.2); cursor: pointer; transition: all .3s; }
.hero-dot.active { background: var(--grad); width: 44px; }

/* ── MINI LECTEUR FIXE (bas, flottant, persistant, toutes pages) ── */
#mini-player {
  position: fixed; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: min(1240px, calc(100% - 20px));
  height: calc(var(--mp-h) - 16px);
  background: rgba(18,14,24,.82); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid var(--line-2); border-radius: 20px;
  display: flex; align-items: center; gap: 14px; padding: 0 14px 0 10px;
  z-index: 1000; box-shadow: 0 20px 50px -10px rgba(0,0,0,.8);
  overflow: hidden;
}
#mini-player::before {
  content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--grad); opacity: .35; transition: opacity .3s;
}
.is-playing #mini-player::before { opacity: 1; animation: mpLine 3s linear infinite; background-size: 200% 100%; background-image: linear-gradient(90deg, var(--red-l), var(--orange), var(--gold), var(--orange), var(--red-l)); }
@keyframes mpLine { to { background-position: -200% 0; } }
/* color-scheme: only light — évite que Chrome/Android inverse les couleurs
   de cette pochette (son algorithme de "dark mode forcé" traite parfois les
   petites images différemment des grandes, même si le site est déjà en
   thème sombre). Idem pour la pochette du grand lecteur, par cohérence. */
#mp-cover, #mp-cover-ph, #pl-cover, #pl-cover-ph { color-scheme: only light; }
#mp-cover { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; flex-shrink: 0; display: none; }
#mp-cover-ph {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--grad-btn);
  display: flex; align-items: center; justify-content: center;
  color: rgba(var(--t1-rgb),.55); font-size: 18px; flex-shrink: 0;
}
#mp-info { flex: 1; min-width: 0; }
#mp-title { font-size: .9rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mp-artist { font-size: .78rem; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mp-mode {
  font-size: .62rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange); flex-shrink: 0; padding: 5px 10px; border-radius: 20px;
  background: rgba(255,122,0,.1); border: 1px solid rgba(255,122,0,.25);
}
#mp-mode.djon { color: var(--g); background: rgba(0,255,136,.08); border-color: rgba(0,255,136,.3); }
#mp-play-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-btn);
  border: none; color: #fff; font-size: 16px; cursor: pointer;
  transition: transform .2s, box-shadow .3s; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 6px 20px -4px var(--red-l);
}
#mp-play-btn:hover { transform: scale(1.08); }
#mp-play-btn.playing { box-shadow: 0 0 0 4px rgba(255,80,0,.15), 0 6px 24px -2px var(--red-l); }
#mp-play-btn.attention, #pl-play-btn.attention { animation: attention-pulse 1s ease-in-out infinite; }
@keyframes attention-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(230,50,50,.7); }
  50%     { box-shadow: 0 0 0 12px rgba(230,50,50,0); }
}
.mp-vol { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mp-vol i { color: var(--t3); font-size: .75rem; }
#mp-vol-range { width: 90px; }
.mp-vote-bar { flex-shrink: 0; gap: 6px; }
.mp-vote-bar .vote-btn { flex-direction: row; padding: 8px 10px; border-radius: 12px; }
.mp-vote-bar .vote-btn span.vicon { font-size: .95rem; }
#mp-listeners { font-size: .7rem; color: var(--t3); display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
#mp-listeners i { color: var(--accent); }

@media (max-width: 700px) {
  #mini-player .mp-vote-bar { display: none; }
}
@media (max-width: 600px) {
  .mp-vol { display: none; }
  #mp-mode { display: none; }
  #mp-listeners { display: none; }
  #mini-player { bottom: 8px; width: calc(100% - 16px); border-radius: 16px; }
}

/* ── GRAND LECTEUR (haut, persistant, identique sur toutes les pages) ── */
.big-player-wrap { padding: 14px 0 0; }
.big-player-wrap.bp-hidden, .coeurs-section.bp-hidden { display: none; }
.player-wrap { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 1060px) { .player-wrap { grid-template-columns: 1fr; } }

#big-player {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-2); border-radius: 30px;
  padding: 36px; display: flex; align-items: center; gap: 30px;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03) inset;
  background: #0b0710;
  min-height: 380px;
}
/* Pochette en fond, floutée : l'ambiance du lecteur prend la couleur du titre en cours */
#player-bg {
  position: absolute; inset: -60px; z-index: -2;
  background: linear-gradient(135deg, #3a0008, #0b0710 60%, #2a1200) center/cover;
  filter: blur(50px) brightness(.55) saturate(1.6);
  transform: scale(1.2);
  transition: background 1.2s ease;
}
#big-player::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,6,11,.1) 0%, rgba(7,6,11,.55) 70%),
    linear-gradient(0deg, rgba(7,6,11,.5), transparent 50%);
}
.bp-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bp-aurora span {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  filter: blur(80px); opacity: .35; mix-blend-mode: screen;
  animation: aurora 14s ease-in-out infinite alternate;
}
.bp-aurora span:nth-child(1) { background: var(--red-l); top: -160px; left: -120px; }
.bp-aurora span:nth-child(2) { background: var(--orange); bottom: -200px; right: -100px; animation-delay: -7s; opacity: .22; }
@keyframes aurora { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(80px,40px) scale(1.25); } }

.bp-cover-wrap { position: relative; flex-shrink: 0; width: 250px; height: 250px; margin-right: 30px; }
/* Vinyle qui dépasse de la pochette et tourne pendant l'écoute */
.bp-vinyl {
  position: absolute; top: 8px; left: 40px; width: 234px; height: 234px; border-radius: 50%; z-index: 0;
  background:
    radial-gradient(circle, var(--red-l) 0 13%, #111 13.5% 15%, transparent 15.5%),
    repeating-radial-gradient(circle, #121212 0 2px, #1c1c1c 2px 4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.05);
  transition: left .8s cubic-bezier(.2,.8,.2,1);
}
.bp-vinyl::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 20%, rgba(255,255,255,.08) 25%, transparent 30% 70%, rgba(255,255,255,.06) 75%, transparent 80%);
}
.is-playing .bp-vinyl { left: 66px; animation: spin 3.2s linear infinite; }
#pl-cover, #pl-cover-ph { position: relative; z-index: 1; }
#pl-cover { width: 250px; height: 250px; border-radius: 20px; object-fit: cover; display: none; box-shadow: 0 30px 60px -10px rgba(0,0,0,.9); }
#pl-cover-ph {
  width: 250px; height: 250px; border-radius: 20px;
  background: linear-gradient(135deg, #2a0006, var(--red-d), var(--red), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 90px; color: rgba(var(--t1-rgb),.18);
  box-shadow: 0 30px 60px -10px rgba(0,0,0,.9);
}
.live-badge {
  position: absolute; top: -11px; left: 16px; z-index: 2;
  display: none; align-items: center; gap: 7px;
  background: rgba(220,0,20,.9); backdrop-filter: blur(6px);
  color: #fff; font-size: .62rem; font-weight: 900; letter-spacing: 2px;
  padding: 6px 12px; border-radius: 20px;
  box-shadow: 0 6px 22px rgba(255,0,0,.55);
}
.live-badge.show { display: inline-flex; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; display: inline-block; animation: pulse 1.3s infinite; }

.bp-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bp-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.player-mode {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--orange); padding: 7px 14px; border-radius: 30px;
  background: rgba(255,122,0,.1); border: 1px solid rgba(255,122,0,.3);
}
.player-mode::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.player-mode.dj-on { color: var(--g); background: rgba(0,255,136,.08); border-color: rgba(0,255,136,.35); }
/* Égaliseur : figé à l'arrêt, s'anime pendant la lecture */
.bp-eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.bp-eq span { width: 4px; height: 30%; border-radius: 2px; background: var(--grad); transform-origin: bottom; }
.is-playing .bp-eq span { animation: eq 1s ease-in-out infinite; }
.bp-eq span:nth-child(2) { height: 60%; animation-delay: -.3s !important; }
.bp-eq span:nth-child(3) { height: 45%; animation-delay: -.6s !important; }
.bp-eq span:nth-child(4) { height: 80%; animation-delay: -.15s !important; }
.bp-eq span:nth-child(5) { height: 35%; animation-delay: -.45s !important; }
@keyframes eq { 0%,100% { height: 20%; } 50% { height: 100%; } }

#pl-dj { font-size: .95rem; font-weight: 700; color: var(--g); margin-bottom: 6px; display: none; }
#pl-dj.show { display: flex; align-items: center; gap: 10px; }
.pl-dj-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #0b0710; box-shadow: 0 0 0 2px var(--g), 0 0 16px -2px var(--g); }
@media (max-width: 860px) { #pl-dj.show { justify-content: center; } }
#pl-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.3vw, 2.8rem); line-height: 1.08; letter-spacing: -.8px;
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
#pl-artist { font-size: 1.15rem; font-weight: 600; color: var(--t2); margin-bottom: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bp-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
#pl-play-btn {
  position: relative;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--grad-btn);
  border: none; color: #fff; font-size: 24px; cursor: pointer;
  transition: transform .25s, box-shadow .3s; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 40px -8px var(--red-l); flex-shrink: 0;
}
#pl-play-btn .fa-play { margin-left: 4px; }
#pl-play-btn:hover { transform: scale(1.07); }
#pl-play-btn::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--red-l) 60%, transparent); opacity: 0;
}
#pl-play-btn.playing::after { animation: ring 1.8s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }

.vol-wrap { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 30px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.vol-wrap i { color: var(--t3); font-size: .78rem; }
#pl-vol { width: 100px; }
.stream-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: rgba(0,0,0,.25);
  border: 1px solid var(--line-2); border-radius: 50%;
  font-size: .85rem; color: var(--t2);
  cursor: pointer; transition: all .2s; font-family: inherit; flex-shrink: 0;
}
.stream-btn:hover { background: rgba(255,255,255,.12); color: #fff; }

.bp-bottom { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vote-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vote-btn {
  display: flex; flex-direction: row; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(0,0,0,.25); backdrop-filter: blur(6px);
  cursor: pointer; transition: all .2s; font-family: inherit; color: #fff;
}
.vote-btn:hover { transform: translateY(-2px); }
.vote-btn:active { transform: scale(.94); }
.vote-btn span.vicon  { font-size: 1.05rem; line-height: 1; }
.vote-btn span.vlabel { font-size: .68rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--t2); }
.vote-btn span.vcount { font-size: .68rem; font-weight: 800; color: var(--t3); }
.vote-btn.like-btn:hover,     .vote-btn.like-btn.voted     { background: rgba(0,200,80,.16); border-color: rgba(0,220,100,.5); }
.vote-btn.dislike-btn:hover,  .vote-btn.dislike-btn.voted  { background: rgba(255,60,60,.16); border-color: rgba(255,80,80,.5); }
.vote-btn.superlike-btn:hover,.vote-btn.superlike-btn.voted{ background: rgba(255,194,61,.16); border-color: rgba(255,194,61,.55); }
.vote-btn.voted { box-shadow: 0 0 22px -6px currentColor; }

.bp-meta { display: flex; align-items: center; gap: 14px; margin-left: auto; }
#pl-listeners { font-size: .72rem; color: var(--t3); display: flex; align-items: center; gap: 5px; }
#pl-listeners i { color: var(--accent); }
/* Score total du titre : 4e pastille DANS la rangée des votes (même taille que Like/Super/Dislike),
   en doré pour la distinguer — ce n'est pas un bouton. Totaux IRC + Discord + site (showVoteStats). */
.vote-score {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 12px;
  background: rgba(255,194,61,.12); border: 1px solid rgba(255,194,61,.4); cursor: default;
}
.vote-score .vicon { font-size: .95rem; line-height: 1; color: var(--gold); }
.vote-score .vlabel { font-size: .68rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--gold); }
.vote-score b { font-size: .9rem; font-weight: 900; color: #fff; }
.vote-btn span.vcount { color: #fff; }

input[type=range] {
  appearance: none; -webkit-appearance: none; height: 5px; border-radius: 3px;
  background: rgba(var(--t1-rgb),.18); outline: none; cursor: pointer; flex: 1;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 15px; height: 15px; border-radius: 50%;
  background: #fff; cursor: pointer; box-shadow: 0 0 0 4px color-mix(in srgb, var(--red-l) 45%, transparent);
}
input[type=range]::-moz-range-thumb {
  width: 15px; height: 15px; border-radius: 50%; border: none;
  background: #fff; cursor: pointer; box-shadow: 0 0 0 4px color-mix(in srgb, var(--red-l) 45%, transparent);
}

@media (max-width: 860px) {
  #big-player { flex-direction: column; text-align: center; padding: 28px 20px; gap: 26px; }
  /* min-width:0 — un élément de grille vaut min-width:auto par défaut et refuse donc de
     descendre sous la largeur minimale de son contenu : quand un DJ est en direct, le bloc
     supplémentaire (#pl-dj) portait ce minimum à ~384px et débordait de la grille (335px),
     faisant scroller toute la page horizontalement. Bug visible uniquement pendant un direct. */
  .player-wrap > * { min-width: 0; }
  #big-player { min-width: 0; }
  .bp-info { min-width: 0; width: 100%; align-items: center; }
  .bp-meta { margin-left: 0; }
  .bp-controls, .vote-bar, .bp-bottom, .bp-top { justify-content: center; }
  .bp-cover-wrap { width: 210px; height: 210px; margin-right: 0; margin-top: 10px; }
  .bp-vinyl { width: 196px; height: 196px; left: 7px; top: 7px; }
  .is-playing .bp-vinyl { left: 7px; }
  #pl-cover, #pl-cover-ph { width: 210px; height: 210px; }
  #pl-artist { margin-bottom: 20px; }
}
@media (max-width: 480px) {
  .recent-head .recent-live { display: none; }
  .stream-btn { display: none; }
  #pl-vol { width: 90px; }
  .vote-btn span.vlabel { display: none; }
}

/* ── DERNIERS TITRES (partagé, à droite du grand lecteur) ── */
.recent-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 30px;
  padding: 26px; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.recent-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.recent-card .section-title { margin-bottom: 0; font-size: .85rem; }
.recent-card .section-title::after { display: none; }
.recent-live { display: inline-flex; align-items: center; gap: 7px; font-size: .68rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--t3); }
.recent-live .live-dot { background: var(--g); box-shadow: 0 0 8px var(--g); }
.recent-list { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow: hidden; }
.recent-item {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px; border-radius: 16px;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, transform .2s; cursor: default;
}
.recent-item:hover { background: rgba(255,255,255,.05); border-color: var(--line); transform: translateX(3px); }
.recent-item:first-child { background: linear-gradient(120deg, color-mix(in srgb, var(--red) 18%, transparent), rgba(255,122,0,.06)); border-color: color-mix(in srgb, var(--red-l) 25%, transparent); }
.ri-cover { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: linear-gradient(135deg,#2a0006,var(--red-d)); box-shadow: 0 6px 16px -6px rgba(0,0,0,.8); }
.ri-info { flex: 1; min-width: 0; }
.ri-title { font-size: .9rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ri-artist { font-size: .78rem; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.ri-time { font-size: .7rem; font-weight: 700; color: var(--t3); flex-shrink: 0; font-variant-numeric: tabular-nums; padding: 4px 8px; border-radius: 8px; background: rgba(255,255,255,.04); }

/* ── COUPS DE CŒUR (partagé, sous le grand lecteur) : rail de pochettes ── */
.coeurs-section { padding: 40px 0 8px; }
.section-header { margin-bottom: 28px; }
.section-header .section-title { margin-bottom: 0; }
.section-header p { font-size: .9rem; color: var(--t3); margin-top: 8px; }
.rail-nav { display: flex; gap: 8px; flex-shrink: 0; }
.rail-btn {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--red); border: 1px solid transparent; color: #fff;
  transition: all .2s;
}
.rail-btn:hover { background: var(--red-l); }
.coeurs-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 18px; margin: 0 -2px;
  scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.coeurs-grid > .loader { grid-column: 1 / -1; width: 100%; }
.coeur-item {
  position: relative; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.coeur-item:hover { transform: translateY(-6px); }
.coeur-art { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -14px rgba(0,0,0,.9); }
.coeur-cover { width: 100%; height: 100%; object-fit: cover; display: block; background: linear-gradient(135deg,#2a0006,var(--red-d),var(--red)); transition: transform .5s ease; }
.coeur-item:hover .coeur-cover { transform: scale(1.08); }
.coeur-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.75)); }
.coeur-rank {
  position: absolute; left: 12px; bottom: 6px; z-index: 1;
  font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85);
  text-shadow: 0 4px 20px rgba(0,0,0,.6);
}
.coeur-item.top1 .coeur-rank, .coeur-item.top2 .coeur-rank, .coeur-item.top3 .coeur-rank { color: #fff; -webkit-text-stroke: 0; }
.coeur-item.top1 .coeur-rank { background: linear-gradient(180deg, #fff3b0, #ffc23d 60%, #c98a00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.coeur-item.top2 .coeur-rank { background: linear-gradient(180deg, #fff, #cfd5dc 60%, #8b95a1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.coeur-item.top3 .coeur-rank { background: linear-gradient(180deg, #ffd9b0, #e0914a 60%, #9b5a1f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.coeur-item.top1 .coeur-art { box-shadow: 0 0 0 2px rgba(255,194,61,.7), 0 18px 50px -12px rgba(255,160,0,.55); }
.coeur-item.top2 .coeur-art { box-shadow: 0 0 0 2px rgba(210,215,225,.5), 0 18px 40px -14px rgba(0,0,0,.9); }
.coeur-item.top3 .coeur-art { box-shadow: 0 0 0 2px rgba(224,145,74,.55), 0 18px 40px -14px rgba(0,0,0,.9); }
.coeur-score {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 800; color: #fff;
  background: rgba(0,0,0,.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px; padding: 4px 9px;
}
.coeur-score i { font-size: .65rem; color: #ff4d6d; }
.coeur-info { min-width: 0; padding: 0 4px; }
.coeur-title { font-size: .92rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coeur-artist { font-size: .8rem; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
@media (max-width: 600px) {
  .coeurs-grid { grid-auto-columns: 150px; gap: 14px; }
  .coeur-rank { font-size: 2.4rem; }
  .rail-nav { display: none; }
}

/* ── FOOTER ── */
footer {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.5));
  border-top: 1px solid var(--line);
  padding: 64px 0 28px; margin-top: 24px;
}
footer::before {
  content: ''; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-l), var(--orange), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 44px;
}
.footer-brand img { height: 60px; margin-bottom: 16px; filter: drop-shadow(0 4px 14px rgba(255,60,0,.3)); }
.footer-brand p { font-size: .9rem; color: var(--t2); line-height: 1.7; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.fsoc {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  display: flex; align-items: center; justify-content: center;
  color: var(--t2); text-decoration: none; font-size: .95rem; transition: all .2s;
}
.fsoc:hover { border-color: transparent; color: #fff; background: var(--grad-btn); transform: translateY(-3px); }
.fsoc.fb:hover { background: #1877f2; }
.fsoc.dc:hover { background: #5865f2; }
/* Réseaux optionnels : visibles seulement si leur lien est réglé dans l'admin (applySiteLinks) */
.link-opt { display: none !important; }
.link-opt.on { display: flex !important; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: #fff; margin-bottom: 18px;
}
.footer-col a { display: block; font-size: .9rem; color: var(--t3); text-decoration: none; margin-bottom: 10px; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--t1); transform: translateX(3px); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 22px;
  font-size: .8rem; color: var(--t3);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1/-1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── UTILITAIRES ── */
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.loader { display: flex; align-items: center; justify-content: center; padding: 32px; color: var(--t3); gap: 8px; font-size: .88rem; }
.loader i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.9); } }

/* ── BLOCS DE TEXTE LIBRES (rubrique "Textes du site" de l'admin) ──
   Conteneur vide par défaut : sans bloc créé, aucune marge ni bordure ne
   s'affiche (:empty), la page reste strictement identique à avant. Les
   couleurs viennent des variables du thème, donc les blocs suivent
   automatiquement la palette choisie dans l'admin. */
.site-blocks:empty { display: none; }
.site-blocks { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 40px; }
.site-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 16px;
  padding: 18px 20px;
}
.site-block h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--t1);
}
.site-block p {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--t2);
  white-space: pre-wrap;   /* les retours à la ligne saisis dans l'admin sont conservés */
}
.site-block h3:only-child, .site-block p:only-child { margin-bottom: 0; }

/* ══════════════════════════════════════
   KIT DE PAGE (refonte des pages intérieures, 2026-09-25)
   En-tête de page, séparateurs de section, puces, boutons, champs.
   Chaque page fixe sa couleur via --ph sur .page-hero (et la réutilise
   dans son propre CSS) : Planning bleu, Équipe rose, Émissions orange,
   Dédicace rouge, Chat vert, Livre d'or or, DialQUIZ violet — mêmes
   teintes que les tuiles de l'accueil.
══════════════════════════════════════ */
.page-hero { --ph: var(--orange); padding: 30px 0 8px; }
.ph-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 52px 52px; border-radius: 32px;
  background:
    radial-gradient(700px 420px at 0% 0%, color-mix(in srgb, var(--ph) 30%, transparent), transparent 62%),
    radial-gradient(600px 400px at 100% 100%, color-mix(in srgb, var(--ph) 14%, transparent), transparent 60%),
    linear-gradient(160deg, #131019, #0c0a11);
  border: 1px solid color-mix(in srgb, var(--ph) 30%, var(--line));
  box-shadow: var(--shadow);
}
.ph-card.solo { grid-template-columns: 1fr; }
.ph-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 90%);
  mask-image: linear-gradient(100deg, transparent 35%, #000 90%);
}
/* Grande icône décorative en fond, à droite */
.ph-art {
  position: absolute; right: -40px; bottom: -70px; z-index: -1; pointer-events: none;
  font-size: 320px; line-height: 1; transform: rotate(-12deg);
  color: color-mix(in srgb, var(--ph) 22%, transparent);
  filter: drop-shadow(0 0 60px color-mix(in srgb, var(--ph) 35%, transparent));
}
.ph-card.solo .ph-art { right: 20px; }
.ph-text { position: relative; min-width: 0; }
.ph-card .sec-eyebrow { color: color-mix(in srgb, var(--ph) 75%, #fff); }
.ph-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: pulse 1.6s infinite; }
.ph-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 5.2vw, 3.9rem); line-height: 1.02; letter-spacing: -1.5px;
  background: linear-gradient(120deg, #fff 45%, color-mix(in srgb, var(--ph) 65%, #fff));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 4px;
}
.ph-sub { color: var(--t2); font-size: 1.05rem; line-height: 1.65; margin-top: 16px; max-width: 560px; }
.ph-sub b { color: #fff; }
.ph-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.ph-stats { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ph-stat {
  padding: 18px 20px; border-radius: 20px;
  background: rgba(0,0,0,.28); border: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: transform .25s, border-color .25s;
}
.ph-stat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--ph) 45%, transparent); }
.ph-stat-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: .95rem; color: #fff; background: var(--ph); box-shadow: 0 8px 20px -8px var(--ph); margin-bottom: 14px; }
.ph-stat-val { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-stat-val.sm { font-size: 1.05rem; line-height: 1.3; white-space: normal; }
.ph-stat-lbl { font-size: .74rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--t3); margin-top: 8px; }
@media (max-width: 900px) {
  .ph-card { grid-template-columns: 1fr; padding: 36px 26px; gap: 28px; }
  .ph-art { font-size: 200px; right: -30px; bottom: auto; top: -30px; opacity: .7; }
}
@media (max-width: 480px) {
  .page-hero { padding-top: 18px; }
  .ph-card { padding: 28px 18px; border-radius: 24px; }
  .ph-sub { font-size: .95rem; }
  .ph-stat { padding: 14px; }
  .ph-stat-val { font-size: 1.5rem; }
}

/* Bouton principal / secondaire réutilisables */
.btn-grad, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; font-weight: 800; font-size: .92rem;
  text-decoration: none; cursor: pointer; border: none; font-family: inherit; color: #fff;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-grad { background: var(--grad-btn); box-shadow: 0 12px 30px -10px var(--red-l); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px var(--red-l); }
.btn-ghost { background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* Séparateur de section des pages (markup existant : .section-head > .line + .pill + .line) */
.section-head { display: flex; align-items: center; gap: 16px; margin: 0 0 26px; }
.section-head .line.left { display: none; }
.section-head .line.right { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.section-head .pill {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  padding: 0; background: none; border: none; border-radius: 0;
  font-family: var(--font-display); font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 700;
  letter-spacing: -.2px; text-transform: none; color: #fff; white-space: normal;
}
.section-head .pill i {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  font-size: .95rem; color: #fff; background: var(--sh, var(--grad-btn));
  box-shadow: 0 8px 22px -8px var(--sh, var(--red-l));
}

/* ══════════════════════════════════════
   STYLE « VRAI SITE DE RADIO » (2026-09-25, choix utilisateur : style NRJ / Fun Radio
   sombre, UNE seule couleur = rouge LMP, blocs compacts, rangées). Ce bloc surcharge
   les réglages précédents : plus de dégradés orange/or, plus de halos.
══════════════════════════════════════ */
:root {
  --orange: #ff4545;                                   /* ancien orange → rouge LMP clair */
  --grad: linear-gradient(120deg, var(--red), var(--red-l));
  --grad-btn: linear-gradient(120deg, var(--red-d), var(--red), var(--red-l));
  --radius: 16px;
  --shadow: 0 14px 34px -18px rgba(0,0,0,.8);
}
body::before {
  background:
    radial-gradient(900px 500px at 10% -10%, color-mix(in srgb, var(--red) 16%, transparent), transparent 70%),
    var(--bg);
}
/* Titres de rangée façon radio : trait rouge + majuscules */
.rr-head, .sec-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.rr-title, .sec-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .2px;
  text-transform: uppercase; padding-left: 12px; border-left: 4px solid var(--red-l); line-height: 1.2;
}
.rr-title i { color: var(--red-l); font-size: .95rem; }
.rr-sub, .sec-sub { color: var(--t3); font-size: .85rem; margin: 0; }
.sec-head > div { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.sec-eyebrow { display: none; }
.section { padding: 38px 0; }
.section-alt { background: none; }

/* ── Bouton « ▶ DIRECT » dans le menu ── */
.nav-live {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 9px 16px; border-radius: 30px; border: none; cursor: pointer;
  background: var(--red); color: #fff; font-family: inherit; font-weight: 800; font-size: .8rem;
  letter-spacing: 1px; text-transform: uppercase; transition: background .2s, transform .15s;
}
.nav-live:hover { background: var(--red-l); }
.nav-live:active { transform: scale(.96); }
.nav-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.nav-live.playing { background: #fff; color: var(--red); }
.nav-live.playing .nav-live-dot { background: var(--red); }
@media (max-width: 1024px) { .nav-live { margin-left: auto; margin-right: 10px; } }
@media (max-width: 420px) { .nav-live { padding: 8px 12px; } .nav-live span:last-child { display: none; } }

/* ── Bannière : un peu plus basse pour laisser la place au direct ── */
.hero-wrap { padding-top: 18px; }
.hero { border-radius: 16px; margin-bottom: 30px; box-shadow: none; }

/* ── Rangée « Top LMP » ── */
.coeurs-section { padding: 26px 0 0; }
.coeurs-section .rail-nav { margin-left: auto; }
.rail-btn { width: 34px; height: 34px; border-radius: 10px; }
.coeurs-grid { grid-auto-columns: 150px; gap: 12px; -webkit-mask-image: none; mask-image: none; padding-bottom: 8px; }
.coeur-art { border-radius: 12px; box-shadow: none; }
.coeur-rank { font-size: 2.2rem; left: 8px; bottom: 4px; }
.coeur-item.top1 .coeur-art, .coeur-item.top2 .coeur-art, .coeur-item.top3 .coeur-art { box-shadow: none; }
.coeur-item.top1 .coeur-rank, .coeur-item.top2 .coeur-rank, .coeur-item.top3 .coeur-rank { background: none; color: #fff; -webkit-text-stroke: 0; }
.coeur-item.top1 .coeur-art { outline: 2px solid var(--red-l); outline-offset: -2px; }
.coeur-title { font-size: .82rem; }
.coeur-artist { font-size: .72rem; }
.coeur-score { font-size: .66rem; padding: 3px 7px; }

/* ── Mini-lecteur plus sobre ── */
#mini-player::before { background: var(--red); }
.is-playing #mini-player::before { background-image: none; animation: none; background: var(--red-l); }
#mp-play-btn { background: var(--red); box-shadow: none; }
#mp-mode { color: var(--t2); background: rgba(255,255,255,.06); border-color: var(--line); }



/* ── LECTEUR D'ORIGINE rétabli (demande utilisateur : « je veux retrouver mon lecteur d'avant »).
   Le style radio est sobre en rouge seul, mais le grand lecteur garde ses couleurs d'origine
   (dégradé rouge → orange → or du bouton lecture, halos, vinyle). */
.big-player-wrap {
  --orange: #ff7a00;
  --grad: linear-gradient(120deg, var(--red-l) 0%, #ff7a00 55%, #ffc23d 100%);
  --grad-btn: linear-gradient(120deg, var(--red) 0%, var(--red-l) 45%, #ff7a00 100%);
  --shadow: 0 24px 70px -20px rgba(0,0,0,.75);
  padding: 4px 0 0;
}

/* ── Lecteur : titre et artiste moins gros (demandes utilisateur des 25 et 26/09 : « encore trop gros ») ── */
#pl-title { font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -.2px; line-height: 1.2; }
#pl-artist { font-size: .95rem; margin-bottom: 20px; }
@media (max-width: 860px) { #pl-title { font-size: 1.15rem; } }

/* ── Menu mobile (trois traits) : au-dessus du mini-lecteur + marge en bas.
   Bug 2026-09-25 : le mini-lecteur fixe (z-index 1000) recouvrait la dernière entrée
   du menu (« Admin », z-index 999) et le menu ne pouvait pas défiler plus loin. ── */
.mob-menu {
  z-index: 1001;
  max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h));
  padding-bottom: calc(var(--mp-h) + 24px);
}


/* Grand lecteur : Like / Super / Dislike + Score sur UNE seule ligne (demande 2026-09-26 : le score
   était décalé sous la rangée). Pastilles resserrées pour tenir dans ~390px. */
#big-player .vote-bar { gap: 6px; flex-wrap: nowrap; }
#big-player .vote-btn, #big-player .vote-score { padding: 8px 8px; gap: 5px; border-radius: 12px; }
#big-player .vote-btn span.vlabel, #big-player .vote-score .vlabel { letter-spacing: 0; font-size: .64rem; }
@media (max-width: 480px) { #big-player .vote-bar { flex-wrap: wrap; } }

/* Grand lecteur : votes sur UNE LIGNE PLEINE LARGEUR tout en bas du lecteur, sous la pochette ET
   le titre (demande 2026-09-26 : « toute une ligne » ; la grille 2×2 sous la pochette faisait tassé).
   .bp-left s'efface (display: contents) → pochette, infos et votes sont des éléments directs du
   lecteur, qui passe en flex-wrap ; la rangée prend 100 % et 4 pastilles de même largeur. */
#big-player { flex-wrap: wrap; row-gap: 22px; }
.bp-left { display: contents; }
.bp-left .bp-cover-wrap { order: 1; }
#big-player .bp-info { order: 2; }
#big-player .bp-votes { order: 3; flex: 0 0 100%; padding-top: 18px; border-top: 1px solid var(--line); }
#big-player .bp-votes .vote-bar { display: flex; flex-wrap: nowrap; gap: 10px; width: 100%; }
#big-player .bp-votes .vote-btn, #big-player .bp-votes .vote-score { flex: 1 1 0; justify-content: center; padding: 10px 12px; gap: 8px; border-radius: 12px; }
#big-player .bp-votes .vote-btn span.vlabel, #big-player .bp-votes .vote-score .vlabel { font-size: .7rem; letter-spacing: .6px; }
#big-player .bp-votes .vote-btn span.vicon, #big-player .bp-votes .vote-score .vicon { font-size: 1.05rem; }
#big-player .bp-votes .vote-btn span.vcount, #big-player .bp-votes .vote-score b { font-size: .9rem; font-weight: 900; }
@media (max-width: 860px) {
  /* lecteur empilé en colonne : pas de retour à la ligne (sinon les blocs partent en colonnes côte à côte) */
  #big-player { flex-wrap: nowrap; }
  #big-player .bp-votes { flex: 0 0 auto; width: 100%; padding-top: 16px; }
  #big-player .bp-votes .vote-bar { gap: 6px; }
  #big-player .bp-votes .vote-btn, #big-player .bp-votes .vote-score { padding: 9px 6px; gap: 5px; }
}

/* Pourcentage du volume à droite du curseur (ajouté par common.js) — s'allume pendant le glissement */
.vol-pct { min-width: 38px; text-align: right; font-size: .74rem; font-weight: 800; color: var(--t2); font-variant-numeric: tabular-nums; transition: color .15s, transform .15s; }
.vol-pct.active { color: #fff; transform: scale(1.12); }
.mp-vol .vol-pct { min-width: 34px; font-size: .7rem; }

/* ── Flèches rouges de chaque côté des rangées Top LMP / Artistes sur LMP (2026-09-26) ──
   Remplacent les 2 flèches groupées dans le titre : une à gauche, une à droite, centrées sur
   les pochettes (150px) / photos (140px). À moitié hors de la rangée sur grand écran,
   à l'intérieur (plus petites) sur mobile. Défilement : railScroll() inchangé. */
.rail-wrap { position: relative; --rail-mid: 75px; }
.rail-side {
  position: absolute; top: var(--rail-mid); transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: .95rem; color: #fff;
  background: var(--red); box-shadow: 0 6px 18px rgba(0,0,0,.55), 0 0 0 3px rgba(0,0,0,.35);
  transition: background .2s, transform .2s;
}
.rail-side:hover { background: var(--red-l); transform: translateY(-50%) scale(1.08); }
.rail-side.prev { left: -22px; }
.rail-side.next { right: -22px; }
@media (max-width: 1340px) { .rail-side.prev { left: -6px; } .rail-side.next { right: -6px; } }
@media (max-width: 600px) {
  .rail-side { width: 34px; height: 34px; font-size: .8rem; }
  .rail-side.prev { left: 2px; } .rail-side.next { right: 2px; }
}


/* ══ Anti « page brute » (2026-09-26) : le <style id="lmp-fond-immediat"> de chaque page met body à
   opacity:0 tant que cette feuille n'est pas appliquée (Firefox peignait la page sans styles à
   l'actualisation). Cette règle, en dernier, révèle la page une fois les styles chargés. ══ */
body { opacity: 1; }
/* Sentinelle lue par le petit script de <head> : common.css appliqué → transitions réactivées (.lmp-pret) */
:root { --lmp-css: 1; }

/* ── Partenaires : grandes cartes à la taille des animateurs (demande 2026-09-26).
   Déplacé de index.css vers common.css le 2026-09-27 : utilisé aussi sur le Livre d'or.
   Logo sur panneau blanc (les logos partenaires sont souvent noirs sur transparent).
   Agrandi le 2026-09-28 (demande utilisateur) : plaque plus haute + moins de marge intérieure,
   pour qu'une vraie photo de présentation (pas juste un logo) s'affiche grande — reste en
   object-fit:contain (jamais de recadrage moche) pour ne pas casser les logos existants. */
.partners-slot { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 360px)); gap: 20px; }
.pt-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; color: var(--t1); text-decoration: none; }
.pt-logo {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #fff; display: grid; place-items: center;
  padding: 10px; box-shadow: 0 0 0 2px var(--red-l), 0 14px 30px -12px rgba(0,0,0,.9); transition: transform .3s; margin-bottom: 8px;
}
.pt-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
/* Logo + image supplémentaire (ex. mascotte) côte à côte dans la même plaque. */
.pt-logo.pt-has-mascot { display: flex; align-items: center; justify-content: center; gap: 10px; }
/* Logo principal (1re image) plus grand que l'image supplémentaire (demande utilisateur 2026-09-28
   : « on peut grossir le Chaat.fr » — la mascotte prenait autant de place que le vrai logo). */
.pt-logo.pt-has-mascot img:first-child { max-width: 45%; max-height: 100%; }
.pt-logo.pt-has-mascot img:last-child { max-width: 60%; max-height: 100%; }
/* Logo au centre, une mascotte de chaque côté qui pointe vers lui (25/11/2026). */
.pt-logo.pt-has-mascot2 { display: flex; align-items: flex-end; justify-content: center; gap: 2%; padding: 10px 4px 0; overflow: hidden; }
.pt-logo.pt-has-mascot2 img { max-height: 96%; }
.pt-logo.pt-has-mascot2 img:first-child, .pt-logo.pt-has-mascot2 img:last-child { width: 26%; max-width: 26%; object-fit: contain; object-position: bottom; }
.pt-logo.pt-has-mascot2 img:nth-child(2) { width: 42%; max-width: 42%; align-self: center; }
@media (max-width: 600px) {
  .pt-logo.pt-has-mascot2 { align-items: center; padding: 8px 2px; gap: 1%; }
  .pt-logo.pt-has-mascot2 img:first-child, .pt-logo.pt-has-mascot2 img:last-child { width: 31%; max-width: 31%; }
  .pt-logo.pt-has-mascot2 img:nth-child(2) { width: 36%; max-width: 36%; }
}
.pt-logo > i { font-size: 2.6rem; color: #999; }
.pt-card:hover .pt-logo { transform: translateY(-4px); }
.pt-name { font-size: 1rem; font-weight: 800; }
.pt-desc { font-size: .8rem; color: var(--t3); }
.pt-btn {
  margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 8px 12px; border-radius: 10px; font-size: .78rem; font-weight: 800; color: #fff;
  background: var(--red); transition: background .2s;
}
.pt-btn i { font-size: .7rem; }
.pt-card:hover .pt-btn { background: var(--red-l); }
@media (max-width: 480px) { .partners-slot { grid-template-columns: 1fr; } .pt-card { max-width: 300px; margin: 0 auto; width: 100%; } }
/* Partenaire avec code intégré (pub / widget) : cadre isolé, carte ou pleine largeur */
.pt-embed { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 0; }
.pt-embed iframe { width: 100%; border: 0; border-radius: 12px; background: transparent; display: block; margin-bottom: 8px; }
.pt-embed.pt-wide { grid-column: 1 / -1; }
.pt-embed.pt-wide iframe { margin-bottom: 0; }
.pt-logo.dark { background: #000; }
/* Visuel complet du partenaire (fond « image », 25/11/2026) : l'image remplit la plaque, bord à bord. */
.pt-logo.plein { padding: 0 !important; overflow: hidden; background: #000; aspect-ratio: 16 / 9 !important; height: auto !important; }
.pt-logo.plein img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.pt-logo.dark > i { color: #777; }

/* ── Carte « fiche émission » : déplacée de emissions.css vers common.css le 2026-09-27
   pour être réutilisée par « Émission à la une » sur l'Accueil (même rendu, grande image). ── */
.emission-card {
  --ec: var(--orange);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s;
}
.emission-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--ec) 50%, transparent); box-shadow: 0 30px 60px -22px color-mix(in srgb, var(--ec) 55%, #000); }
.ec-cover {
  position: relative; height: 190px; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(260px 180px at 25% 15%, color-mix(in srgb, var(--ec) 70%, #fff 10%), transparent 65%),
    linear-gradient(135deg, color-mix(in srgb, var(--ec) 55%, #000), color-mix(in srgb, var(--ec) 20%, #07060b));
}
.ec-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 120%, rgba(0,0,0,.5), transparent 60%); }
.ec-ico { position: relative; z-index: 1; font-size: 4.2rem; color: #fff; filter: drop-shadow(0 14px 26px rgba(0,0,0,.45)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.emission-card:hover .ec-ico { transform: scale(1.15) rotate(-8deg); }
.ec-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .6rem; font-weight: 900; letter-spacing: 1.8px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 20px; color: #fff;
  background: rgba(0,0,0,.4); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2);
}
.ec-badge.live { background: #16a34a; border-color: transparent; animation: live-blink 1.6s infinite; }
.ec-day {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(0,0,0,.4); backdrop-filter: blur(8px);
  color: #fff; font-size: .7rem; font-weight: 800;
  padding: 5px 11px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18);
}
.ec-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ec-title { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; letter-spacing: -.3px; margin-bottom: 6px; line-height: 1.25; }
.ec-animateur { display: flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 700; color: var(--t2); margin-bottom: 12px; }
.ec-animateur i { color: color-mix(in srgb, var(--ec) 75%, #fff); font-size: .75rem; }
.ec-desc { font-size: .9rem; color: var(--t2); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.ec-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.ec-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 700; padding: 6px 12px; border-radius: 20px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--t2);
}
.ec-chip i { font-size: .66rem; color: var(--t3); }
.ec-chip.hl { color: #fff; background: color-mix(in srgb, var(--ec, var(--orange)) 22%, transparent); border-color: color-mix(in srgb, var(--ec, var(--orange)) 45%, transparent); }
.ec-chip.hl i { color: color-mix(in srgb, var(--ec, var(--orange)) 70%, #fff); }
.ec-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.emission-card:hover .ec-img { transform: scale(1.06); }
.emission-card.has-img .ec-cover { background: #0c0a11; }
.emission-card.has-img .ec-cover::after { background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)); }
@keyframes live-blink { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
