/* ODET FM — Refonte inspirée de la première maquette éditoriale (Nostalgie).
   Calque visuel : les flux audio et l'administration du CMS restent inchangés. */
:root{--od-n-magenta:#d50065;--od-n-fuchsia:#ed0875;--od-n-pink:#fa1683;--od-n-text:#17111c;--od-n-muted:#685f6a;--od-n-border:#eee9ee;--od-n-max:1490px}
html,body.nostalgia-theme{max-width:100%;overflow-x:clip}
body.nostalgia-theme{background:#fff;color:var(--od-n-text)}
/* Simple top strip with original working social links. */
.nostalgia-topline{height:39px;background:#fff;color:#26212a;font-size:12px;border-bottom:1px solid #eee;position:relative;z-index:32}
.nostalgia-topline-inner{max-width:var(--od-n-max);padding:0 24px;margin:auto;height:100%;display:flex;align-items:center;justify-content:space-between;gap:14px}
.nostalgia-topline-info,.nostalgia-social{display:flex;align-items:center;gap:17px;white-space:nowrap}
.nostalgia-topline-info strong,.nostalgia-local{font-weight:700}.nostalgia-local{color:#c6005b}
.nostalgia-topsep{height:17px;width:1px;background:#ded8de}
.nostalgia-social .social-icon{width:17px;height:17px;color:#d00063;fill:currentColor}
.nostalgia-social a{display:inline-flex;align-items:center;padding:2px;transition:transform .2s}.nostalgia-social a:hover{transform:translateY(-2px)}
/* Primary magenta navigation. */
body.nostalgia-theme header{background:linear-gradient(105deg,#b9005c 0%,#cf0065 54%,#de066f 100%);border-bottom:2px solid #fff4;height:82px;min-height:82px;gap:clamp(10px,1.8vw,28px);padding-inline:clamp(16px,2.4vw,38px);box-shadow:0 6px 20px #8b00502b}
body.nostalgia-theme header .brand{order:1;font-weight:900;font-style:italic;letter-spacing:-2px;color:#fff!important;font-size:36px;line-height:.9}
body.nostalgia-theme header .brand img{max-width:235px;max-height:51px;filter:brightness(0) invert(1)}
body.nostalgia-theme header .brand small{color:#fff!important;font-style:italic;font-size:12px;letter-spacing:0;line-height:1.2;margin-top:6px}
body.nostalgia-theme header .desktop{order:2;gap:clamp(16px,2.2vw,37px);margin:auto}
body.nostalgia-theme header .desktop a{font-weight:750;color:#fff!important;font-size:clamp(13px,1.05vw,16px);padding:12px 1px}
body.nostalgia-theme header .desktop a .menu-icon{display:none}
body.nostalgia-theme header .desktop a.active:after{background:#fff;height:3px;bottom:3px}
body.nostalgia-theme header .header-social{display:none}
body.nostalgia-theme header .header-search{order:3;color:#fff!important;border:0;background:transparent;padding:9px}
body.nostalgia-theme header .listen{order:4;background:#fff;color:#ca005f!important;border:0;font-size:15px;font-weight:850;border-radius:999px;padding:13px 25px;box-shadow:0 5px 17px #5c003836}
body.nostalgia-theme header .listen:hover{background:#fff0f7;transform:translateY(-2px)}
body.nostalgia-theme header .hamburger{order:5;position:relative;margin:0 0 0 2px;padding:8px;color:#fff!important;min-width:40px}
body.nostalgia-theme #menu{background:linear-gradient(155deg,#ed0a73,#bf005a 90%)}
/* Homepage only: full width editorial hero, then carefully aligned columns. */
body.nostalgia-home-page main{padding:0;max-width:none;background:#fff}
.nostalgia-home{color:var(--od-n-text);overflow:hidden}
.nostalgia-home *{box-sizing:border-box}
.nostalgia-hero{position:relative;isolation:isolate;min-height:315px;padding:24px clamp(22px,1.9vw,38px);display:grid;grid-template-columns:minmax(0,1.04fr) minmax(440px,0.94fr) minmax(365px,0.90fr);align-items:center;gap:25px;overflow:hidden;background:linear-gradient(110deg,#76003d 0%,#ae0055 36%,#cb0065 70%,#e00a73 100%)}
.nostalgia-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 54% 120%,#fb2b983a,transparent 55%),radial-gradient(ellipse at 65% -12%,#ec6ca82b,transparent 35%)}
.nostalgia-hero:after{content:'';pointer-events:none;position:absolute;right:23%;bottom:-160px;width:500px;height:450px;border-radius:50%;border:90px solid #ffffff0b;transform:rotate(-25deg);z-index:-1}
.nostalgia-hero-portrait{grid-column:1;position:absolute;left:0;top:0;bottom:0;width:34%;background:url('nostalgie-hero-host.webp') center 37%/cover no-repeat;mask-image:linear-gradient(90deg,#000 0%,#000 67%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 67%,transparent 100%);z-index:-1}
.nostalgia-hero-copy{grid-column:2;min-width:0;max-width:520px;position:relative;color:#fff;padding:8px 0}
.nostalgia-hero-copy .nostalgia-hero-eyebrow{margin:0 0 10px;color:#ffe0ef;font-size:11px;letter-spacing:.16em;font-weight:850}
.nostalgia-hero-copy h1{margin:0 0 18px;font-size:clamp(34px,3.5vw,59px);line-height:1.04;font-weight:900;letter-spacing:-.055em;color:#fff!important;text-shadow:0 3px 20px #67003133}
.nostalgia-hero-copy h1 em{font-style:normal;white-space:nowrap}
.nostalgia-hero-slogan{display:inline-block;margin:0;color:#9e004f!important;font-size:clamp(14px,1.4vw,21px);font-weight:900;font-style:italic;transform:rotate(-2deg);background:#fff1f8;padding:7px 14px;border-radius:7px;line-height:1.1;box-shadow:0 6px 20px #7900412f}
.nostalgia-hero-swoosh{display:block;margin:22px 0 0 auto;width:135px;height:10px;border-top:5px solid #fff;border-radius:50%;transform:rotate(-7deg)}
/* White live player matching the first visual, wired to existing .play/.live-artist/.live-title hooks. */
.nostalgia-home .nostalgia-live.panel{grid-column:3;position:relative;z-index:2;display:block;width:100%;margin:0;min-width:0;padding:17px 20px 14px;background:linear-gradient(145deg,#fff,#fff9fc)!important;border:1px solid #ffffffdf;border-radius:24px;color:#18121d!important;box-shadow:0 18px 42px #63003b56}
.nostalgia-live-head{display:flex;align-items:center;gap:14px;margin-bottom:12px;white-space:nowrap}
.nostalgia-home .nostalgia-live-head>strong{font-weight:900;color:#17121e!important;font-size:15px}
.nostalgia-live-badge{background:var(--od-n-fuchsia);color:#fff;display:inline-flex;align-items:center;gap:9px;border-radius:18px;padding:5px 15px;font-size:13px;font-weight:850}
.live-dot{display:inline-block;width:9px;height:9px;background:white;border-radius:50%;box-shadow:0 0 0 4px #ffffff44;animation:od-n-pulse 2s infinite}
.nostalgia-live-track{display:flex;align-items:center;gap:14px;min-width:0}
.nostalgia-home .nostalgia-live-track .live-cover{display:block;position:static;flex:0 0 105px;width:105px;height:105px;aspect-ratio:1;object-fit:cover;border-radius:12px;box-shadow:0 6px 18px #3100191e;animation:none}
.nostalgia-live-info{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.nostalgia-home .nostalgia-live-info .live-artist{font-size:19px;font-weight:900;letter-spacing:-.045em;color:#17121d!important;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nostalgia-home .nostalgia-live-info .live-title{font-size:15px;color:#3b323d!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.nostalgia-home .nostalgia-live .equalizer{display:flex;gap:3px;justify-content:flex-start;height:35px;align-items:center;max-width:200px;width:100%;margin:8px 0 0}
.nostalgia-home .nostalgia-live .equalizer i{width:3px;flex:none;height:22px;background:var(--od-n-fuchsia);border-radius:2px;box-shadow:none;animation:od-n-wave 1s infinite ease-in-out alternate}
.nostalgia-home .nostalgia-live .equalizer i:nth-child(3n){height:11px;animation-delay:-.4s}.nostalgia-home .nostalgia-live .equalizer i:nth-child(4n){height:30px;animation-delay:-.7s}
.nostalgia-home .nostalgia-live-track .round.play{background:var(--od-n-fuchsia)!important;color:#fff!important;min-width:59px;width:59px;height:59px;min-height:59px;padding:0;border-radius:50%;display:grid;place-items:center;font-size:20px;box-shadow:0 6px 19px #bb005559;margin:0}
.nostalgia-home .nostalgia-live-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid #eee6ed}
.nostalgia-home .nostalgia-live-actions button{width:100%;min-width:0;display:flex;align-items:center;justify-content:center;gap:7px;background:#fff!important;color:#322130!important;font-weight:700;font-size:12px;min-height:35px;padding:6px 8px;border:1px solid #ece3ea;border-radius:999px;box-shadow:0 2px 8px #5a1f3820;white-space:nowrap}
.nostalgia-home .nostalgia-live-actions button:hover{background:#fff0f7!important;color:#bb0058!important}
.nostalgia-home .nostalgia-live .stream-status{display:block;margin-top:8px;text-align:right;color:#7e6a76!important;font-size:10px}
.nostalgia-content{max-width:var(--od-n-max);margin:0 auto;padding:26px clamp(16px,2vw,30px) 48px}
.nostalgia-top-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1.11fr) minmax(0,.94fr);gap:25px;align-items:start}
.nostalgia-module{min-width:0}
.nostalgia-top-grid>.nostalgia-module:not(:first-child){padding-left:18px;border-left:1px solid #f0eaf0}
.nostalgia-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px;min-height:37px}
.nostalgia-section-title h2{font-size:clamp(19px,1.85vw,27px);line-height:1.12;letter-spacing:-.035em;margin:0;font-weight:950;text-transform:uppercase;color:#16101d!important;position:relative;padding-bottom:10px}
.nostalgia-section-title h2:after{content:'';position:absolute;width:44px;height:4px;border-radius:20px;background:var(--od-n-fuchsia);bottom:0;left:0}
.nostalgia-section-title a,.nostalgia-section-title button{display:inline-flex;align-items:center;gap:6px;color:#d00063!important;background:transparent!important;border:0;padding:0;white-space:nowrap;font-size:11px;font-weight:800;box-shadow:none!important}
.nostalgia-section-title a span,.nostalgia-section-title button span{font-size:17px}
/* Main, Forever and Noël stream buttons are retained from the CMS, not static images. */
.nostalgia-stations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nostalgia-home button.nostalgia-station{padding:0;margin:0;min-width:0;min-height:0;background:transparent!important;color:var(--od-n-text)!important;border:0;border-radius:0;box-shadow:none;display:block;text-align:left;overflow:visible}
.nostalgia-station-image{display:block;position:relative;overflow:hidden;aspect-ratio:1/1;border-radius:13px;background:#e4076d;box-shadow:0 5px 17px #4f0a2a1a}
.nostalgia-station-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.nostalgia-station:hover img{transform:scale(1.07)}
.nostalgia-station-over{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#ec0069;color:white;font-size:12px;box-shadow:0 3px 10px #33001a44}
.nostalgia-station-label{display:block;margin:9px 2px 0}.nostalgia-station-label strong{display:block;color:#1a1120;font-weight:850;font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nostalgia-station-label small{display:-webkit-box;color:#605966;font-size:10px;line-height:1.3;margin-top:2px;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}
/* Editorial news, real content from DB. */
.nostalgia-news .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.nostalgia-news .card{margin:0;min-width:0;background:#fff!important;border:1px solid #eee9ed;border-radius:12px;color:#19131c!important;box-shadow:0 6px 18px #510a2b12;overflow:hidden}
.nostalgia-news .card>a{display:block!important;height:100%;min-height:0;background:transparent}
.nostalgia-news .card img{display:block;position:static;width:100%;aspect-ratio:1.2/1;max-height:132px;height:auto;min-height:0;object-fit:cover}
.nostalgia-news .card-body{padding:8px 8px 10px}.nostalgia-news .card-body small{display:inline-block;color:#fff!important;background:var(--od-n-fuchsia);font-size:9px;font-weight:800;padding:2px 6px;border-radius:999px;line-height:1.1;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nostalgia-news .card h3{font-size:12px;line-height:1.24;color:#1d1721!important;letter-spacing:-.02em;margin:6px 0}
.nostalgia-news .card p{font-size:10px;line-height:1.4;color:#665965!important;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nostalgia-news .card time{font-size:9px;color:#7b6b77!important;margin-top:6px;display:block}
/* Emission tile */
.nostalgia-onair-card{position:relative;display:block;min-height:195px;aspect-ratio:1.8/1;border-radius:13px;overflow:hidden;background:#c30061;color:#fff;box-shadow:0 7px 18px #79004429}
.nostalgia-onair-card:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#650035ec 0%,#bf006025 62%,transparent 100%);pointer-events:none}
.nostalgia-onair-card img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .4s}.nostalgia-onair-card:hover img{transform:scale(1.04)}
.nostalgia-onair-text{position:absolute;left:16px;right:50px;bottom:12px;z-index:1;color:white;display:flex;flex-direction:column;gap:4px;text-shadow:0 2px 5px #2c001d88}
.nostalgia-onair-text small{font-size:10px;font-weight:800;color:#fff}.nostalgia-onair-text strong{font-size:21px;color:#fff;line-height:1.1}.nostalgia-onair-text>span{font-size:11px;color:#fff}
.nostalgia-onair-play{position:absolute;right:13px;bottom:14px;z-index:1;width:33px;height:33px;border-radius:50%;background:#fff;color:#d40068;display:grid;place-items:center;font-weight:900;font-size:24px}
.nostalgia-programme-link{display:block;margin:10px 2px 0;color:#c60060!important;font-size:12px;font-weight:750;text-align:right}
/* Podcasts / competitions in separate second row. */
.nostalgia-bottom-grid{display:grid;grid-template-columns:1.2fr .95fr;gap:28px;margin:33px 0 26px}
.nostalgia-bottom-grid>.nostalgia-module:not(:first-child){padding-left:20px;border-left:1px solid #f0eaf0}
.nostalgia-podcasts .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.nostalgia-podcasts .card{min-width:0;border:0;border-radius:10px;background:#fff!important;color:#19121d!important;box-shadow:none;overflow:hidden}
.nostalgia-podcasts .card a{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;align-items:start}
.nostalgia-podcasts .card img{width:88px;height:104px;aspect-ratio:1;object-fit:cover;border-radius:10px;position:static}
.nostalgia-podcasts .card-body{padding:4px 0}.nostalgia-podcasts .card-body small{display:none}.nostalgia-podcasts .card h3{color:#1a1520!important;font-size:13px;line-height:1.25;margin:2px 0 4px}.nostalgia-podcasts .card p{color:#625862!important;font-size:11px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0}.nostalgia-podcasts .card time{display:none}
.nostalgia-contests .cards{display:grid;grid-template-columns:1fr}
.nostalgia-contests .card{background:#e6086e!important;border:0;border-radius:13px;box-shadow:none;color:#fff!important;overflow:hidden;min-height:124px}
.nostalgia-contests .card a{display:flex;align-items:stretch;height:100%;min-height:128px}
.nostalgia-contests .card img{width:42%;height:auto;aspect-ratio:auto;object-fit:cover;min-height:124px}
.nostalgia-contests .card-body{flex:1;padding:12px 16px;min-width:0;display:flex;flex-direction:column;justify-content:center}.nostalgia-contests .card small{color:#fff!important;font-size:10px}.nostalgia-contests .card h3{font-size:19px;color:#fff!important;line-height:1.15;margin:5px 0}.nostalgia-contests .card p{font-size:11px;color:#ffe2f0!important;line-height:1.35;max-height:35px;overflow:hidden;margin:0}.nostalgia-contests .card time{display:none}
.nostalgia-history-section{padding-top:22px;border-top:1px solid #f1e9ef;margin-top:15px}
.nostalgia-history-section .history{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.nostalgia-history-section .history article{min-width:0;border:1px solid #eee7ee;border-radius:12px;padding:8px;background:#fff}
.nostalgia-history-section .history img{width:100%;aspect-ratio:1;object-fit:cover}
.nostalgia-history-section .history strong{font-size:11px;color:#211a24}.nostalgia-history-section .history small{font-size:10px;color:#716672}
.nostalgia-home .content-section,.nostalgia-home .daily-widgets,.nostalgia-home .rss-section,.nostalgia-home .mobile-apps-panel,.nostalgia-home .traffic-link{max-width:100%;margin-inline:auto}
.nostalgia-home .nostalgia-extra-section .cards{gap:15px}
.nostalgia-home .community{margin-top:24px}
/* Modern white fixed mini-player: keep original radio controls and ids. */
body.nostalgia-theme .bottom-player{background:linear-gradient(130deg,#fff,#fff6fa)!important;color:#221722!important;border:1px solid #f4dce7;border-bottom:0;box-shadow:0 -4px 26px #5a002820;border-radius:0;left:0;right:0;bottom:0;width:100%;max-width:none;margin:0;padding:10px clamp(12px,2vw,30px);gap:clamp(8px,1.2vw,18px);min-height:74px}
body.nostalgia-theme .bottom-player .track strong{color:#251822!important}body.nostalgia-theme .bottom-player .track small{color:#5d5360!important}
body.nostalgia-theme .bottom-player .round{background:#d90068!important;color:#fff!important;border:0}
body.nostalgia-theme .bottom-player .icon{color:#b90058!important;background:transparent!important;border:0;box-shadow:none}
body.nostalgia-theme .bottom-player select{background:#fff;color:#4f2640;border:1px solid #e6cbd8;box-shadow:none}
body.nostalgia-theme .bottom-player .volume{color:#4f2640}body.nostalgia-theme .bottom-player .volume input{accent-color:#d30065}
body.nostalgia-theme footer{border-color:#e8c8d9}
/* Keyboard and accessibility. */
body.nostalgia-theme button:focus-visible,body.nostalgia-theme a:focus-visible{outline:3px solid #fb76b4;outline-offset:2px}
@keyframes od-n-pulse{50%{box-shadow:0 0 0 6px #ffffff11;opacity:.65}}
@keyframes od-n-wave{to{height:7px}}
@media(max-width:1280px){
  .nostalgia-hero{grid-template-columns:minmax(0,.78fr) minmax(350px,1.04fr) minmax(340px,1fr);gap:16px}
  .nostalgia-hero-portrait{width:32%}
  .nostalgia-hero-copy h1{font-size:clamp(34px,3.7vw,49px)}
  .nostalgia-top-grid{gap:15px}.nostalgia-top-grid>.nostalgia-module:not(:first-child){padding-left:12px}
  .nostalgia-section-title a{font-size:10px}
  body.nostalgia-theme header .desktop{gap:18px}
  .nostalgia-podcasts .card a{grid-template-columns:72px minmax(0,1fr)}.nostalgia-podcasts .card img{width:72px;height:86px}
}
@media(max-width:1080px){
  body.nostalgia-theme header .desktop{gap:13px}body.nostalgia-theme header .desktop a{font-size:12px}
  .nostalgia-hero{min-height:330px;grid-template-columns:minmax(0,.45fr) minmax(300px,1fr) minmax(300px,1fr)}
  .nostalgia-hero-portrait{width:30%}.nostalgia-hero-copy h1{font-size:37px}
  .nostalgia-live-track .live-cover{width:80px!important;height:80px!important;flex-basis:80px!important}
  .nostalgia-top-grid{grid-template-columns:1fr 1.05fr}.nostalgia-top-grid>.nostalgia-emissions{grid-column:1/-1;padding-left:0!important;border-left:0!important;display:block}
  .nostalgia-onair-card{aspect-ratio:3.4/1;min-height:160px}
  .nostalgia-bottom-grid{grid-template-columns:1fr}.nostalgia-bottom-grid>.nostalgia-module:not(:first-child){padding-left:0;border-left:0}
}
@media(max-width:780px){
  .nostalgia-topline{height:32px}.nostalgia-topline-inner{padding:0 13px}
  .nostalgia-topline-info{gap:8px;font-size:10px}.nostalgia-topline-info>span:last-child,.nostalgia-topline-info .nostalgia-topsep:last-of-type{display:none}
  .nostalgia-social span{display:none}.nostalgia-social{gap:7px}.nostalgia-social .social-icon{width:14px;height:14px}
  body.nostalgia-theme header{height:70px;min-height:70px;gap:7px;padding-inline:12px}body.nostalgia-theme header .brand{font-size:28px}
  body.nostalgia-theme header .brand img{max-width:155px;max-height:45px}body.nostalgia-theme header .brand small{font-size:10px}
  body.nostalgia-theme header .desktop{display:none}
  body.nostalgia-theme header .listen{order:3;font-size:11px;padding:10px 12px;margin-left:auto}body.nostalgia-theme header .listen span{display:none}
  body.nostalgia-theme header .header-search{order:4;padding:8px}body.nostalgia-theme header .hamburger{order:5;margin:0;padding:8px;min-width:32px}
  .nostalgia-hero{display:grid;grid-template-columns:1fr;min-height:auto;gap:14px;padding:160px 18px 25px;background:linear-gradient(110deg,#9d0054,#db006a)}
  .nostalgia-hero-portrait{width:100%;height:220px;bottom:auto;background-size:cover;background-position:center 32%;mask-image:linear-gradient(#000 0%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0%,transparent 100%)}
  .nostalgia-hero-copy,.nostalgia-home .nostalgia-live.panel{grid-column:1;max-width:540px;width:100%;margin:0 auto}
  .nostalgia-hero-copy h1{font-size:clamp(37px,8vw,55px)}.nostalgia-hero-copy .nostalgia-hero-eyebrow{font-size:10px}
  .nostalgia-hero-slogan{font-size:16px}.nostalgia-hero-swoosh{display:none}
  .nostalgia-top-grid{grid-template-columns:1fr;gap:27px}.nostalgia-top-grid>.nostalgia-module:not(:first-child){padding-left:0;border-left:0}
  .nostalgia-onair-card{aspect-ratio:2/1}
  .nostalgia-content{padding:25px 17px 40px}
  .nostalgia-news .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .nostalgia-bottom-grid{margin-top:29px}
  .nostalgia-history-section .history{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:550px){
  .nostalgia-topline-info>span:nth-of-type(2),.nostalgia-topline-info strong{display:none}
  .nostalgia-hero{padding:165px 15px 22px}.nostalgia-hero-copy h1{font-size:clamp(34px,9vw,44px)}
  .nostalgia-live-track{gap:9px}.nostalgia-home .nostalgia-live-track .live-cover{flex-basis:70px!important;width:70px!important;height:70px!important}
  .nostalgia-home .nostalgia-live-info .live-artist{font-size:15px}.nostalgia-home .nostalgia-live-info .live-title{font-size:12px}
  .nostalgia-home .nostalgia-live-track .round.play{min-width:46px;width:46px;height:46px;min-height:46px;font-size:16px}
  .nostalgia-home .nostalgia-live.panel{padding:12px}
  .nostalgia-live-actions button span{font-size:11px}
  .nostalgia-stations{gap:7px}.nostalgia-station-label strong{font-size:10px}.nostalgia-station-label small{font-size:9px}
  .nostalgia-news .cards{grid-template-columns:1fr;gap:10px}.nostalgia-news .card>a{display:flex!important;align-items:stretch}.nostalgia-news .card img{width:38%;height:auto;max-height:none;aspect-ratio:1.5;object-fit:cover}.nostalgia-news .card-body{flex:1;padding:11px}
  .nostalgia-news .card h3{font-size:14px}.nostalgia-news .card p{font-size:11px}
  .nostalgia-podcasts .cards{grid-template-columns:1fr;gap:12px}.nostalgia-podcasts .card a{grid-template-columns:100px minmax(0,1fr)}.nostalgia-podcasts .card img{width:100px;height:94px}
  .nostalgia-contests .card img{width:38%}.nostalgia-contests .card h3{font-size:15px}
  .nostalgia-section-title h2{font-size:22px}.nostalgia-section-title a{font-size:10px}
  .nostalgia-history-section .history{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.nostalgia-home *, .nostalgia-home *:before,.nostalgia-home *:after{animation:none!important;transition:none!important}}


/* Correctifs novembre 2026 — lecteur fixe, historique, footer pleine largeur.
   Ces règles sont volontairement placées APRÈS theme-refresh et theme-palette. */
body.nostalgia-theme .bottom-player {
  position: fixed;
  inset: auto 0 0 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none !important; /* annule l'ancien translateX(-50%) */
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 8px clamp(14px, 2.2vw, 32px);
  gap: clamp(7px, 1.1vw, 16px);
  min-height: 78px;
  z-index: 65;
  overflow: visible;
  border-radius: 0;
  background: linear-gradient(115deg,#fff,#fff7fb)!important;
  border: 0;
  border-top: 1px solid #f3cde0;
  box-shadow: 0 -6px 30px rgba(89,0,45,.13);
}
body.nostalgia-theme .bottom-player .player-artwork {
  flex: 0 0 65px;
  width: 65px;
  height: 58px;
  min-width: 0;
}
body.nostalgia-theme .bottom-player .player-artwork>img {width:54px;height:54px;object-fit:cover}
body.nostalgia-theme .bottom-player .track {
  flex: 1 1 170px;
  width: auto;
  min-width: 90px;
  max-width: 310px;
  overflow: hidden;
}
body.nostalgia-theme .bottom-player .track strong,
body.nostalgia-theme .bottom-player .track small {
  color:#251822!important;
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.nostalgia-theme .bottom-player .track small{color:#675966!important}
body.nostalgia-theme .bottom-player .icon {
  flex: 0 0 36px;
  min-width:36px;
  width:36px;
  height:40px;
  padding:5px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
body.nostalgia-theme .bottom-player .round.play {
  flex: 0 0 54px;
  width:54px;
  height:54px;
  min-width:54px;
  min-height:54px;
  display:grid;
  place-items:center;
  margin:0;
  padding:0;
  background:#e00670!important;
  color:#fff!important;
  border:1px solid #e00670;
  box-shadow:0 5px 18px #a3004a2b;
}
body.nostalgia-theme .bottom-player .player-equalizer {
  flex:0 0 78px;
  width:78px;
  min-width:0;
  max-width:78px;
  display:flex;
  align-items:center;
  justify-content:center;
}
body.nostalgia-theme .bottom-player .player-equalizer>i{background:linear-gradient(0deg,#e50072,#ff71ae);box-shadow:none}
body.nostalgia-theme .bottom-player select {
  flex:0 1 155px;
  width:auto;
  min-width:100px;
  max-width:155px;
  color:#392331!important;
  background:#fff!important;
  border:1px solid #ebc8da;
  border-radius:12px;
  padding:9px 22px 9px 10px;
  font-size:12px;
}
body.nostalgia-theme .bottom-player select option{background:#fff;color:#251822}
body.nostalgia-theme .bottom-player .volume{display:flex;flex:0 1 145px;min-width:95px;max-width:145px;flex-direction:column;gap:4px;color:#4f2640!important;font-size:11px}
body.nostalgia-theme .bottom-player .volume input{width:100%;margin:0;accent-color:#d50065}
/* Historique affiché directement dans l'accueil, synchronisé sur la radio sélectionnée. */
body.nostalgia-theme .nostalgia-history-section .history {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
body.nostalgia-theme .nostalgia-history-section .history article {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  min-height:88px;
  padding:11px;
  border-radius:14px;
  border:1px solid #ecdce4;
  background:#fff!important;
  color:#281925!important;
  box-shadow:0 5px 19px #6118350b;
}
body.nostalgia-theme .nostalgia-history-section .history article img {
  flex:0 0 64px;
  width:64px!important;
  height:64px!important;
  max-width:64px;
  aspect-ratio:1;
  object-fit:cover;
  border-radius:9px;
  box-shadow:none;
  border:0;
  margin:0;
  transform:none;
}
body.nostalgia-theme .nostalgia-history-section .history article>div{min-width:0;flex:1;overflow:hidden;padding:0}
body.nostalgia-theme .nostalgia-history-section .history strong,
body.nostalgia-theme .nostalgia-history-section .history small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  margin:0;
  line-height:1.35;
}
body.nostalgia-theme .nostalgia-history-section .history strong{font-size:13px;font-weight:800;color:#261520!important}
body.nostalgia-theme .nostalgia-history-section .history small{font-size:12px;color:#695968!important}
body.nostalgia-theme .nostalgia-history-section .history article time{display:block;margin-top:3px;font-size:11px;color:#c5005e!important}
body.nostalgia-theme .nostalgia-history-section .history>p{grid-column:1/-1;color:#705868!important;margin:0;padding:12px 16px}
/* Le footer garde son propre fond fuchsia sur 100% de la fenêtre. */
body.nostalgia-theme footer {
  box-sizing:border-box;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:25px 36px;
  width:100%;
  max-width:none;
  min-width:0;
  margin:0;
  padding:46px clamp(20px,4vw,76px) 120px;
  border-radius:0;
  background:linear-gradient(110deg,#e90770,#c1005a);
  border-top:1px solid #f87cae;
  color:#fff;
}
body.nostalgia-theme footer>small{flex:0 0 100%;width:100%;margin:0;color:#fff}
body.nostalgia-theme footer>.footer-brand{flex:0 1 235px}
body.nostalgia-theme footer a,body.nostalgia-theme footer small{color:#fff}
/* Les pages chargées par navigation AJAX retrouvent leur bon espacement. */
body.nostalgia-theme main:has(> .nostalgia-home){padding:0;max-width:none;width:100%;background:#fff}
@media(max-width:1190px){
  body.nostalgia-theme .bottom-player .player-equalizer{display:none}
  body.nostalgia-theme .bottom-player .volume{display:none}
  body.nostalgia-theme .bottom-player{gap:clamp(7px,1.4vw,14px)}
  body.nostalgia-theme .bottom-player select{flex-basis:130px}
  body.nostalgia-theme .nostalgia-history-section .history{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:780px){
  body.nostalgia-theme .bottom-player {
    display:grid;
    grid-template-columns:48px minmax(0,1fr) 34px 34px 48px;
    grid-template-rows:48px 33px;
    grid-template-areas:'art track vote history play' 'select select eq camera share';
    gap:6px 7px;
    width:100%;
    max-width:100%;
    min-height:0;
    bottom:0;
    left:0;
    transform:none!important;
    padding:8px 12px max(8px, env(safe-area-inset-bottom));
    border-radius:0;
  }
  body.nostalgia-theme .bottom-player .player-artwork{grid-area:art;width:48px;height:47px;min-width:0;flex-basis:auto}
  body.nostalgia-theme .bottom-player .player-artwork>img{width:43px;height:43px;top:1px}
  body.nostalgia-theme .bottom-player .player-artwork>i{width:38px;height:38px;top:2px}
  body.nostalgia-theme .bottom-player .track{grid-area:track;min-width:0;max-width:none;width:auto;flex:auto}
  body.nostalgia-theme .bottom-player #vote{grid-area:vote}
  body.nostalgia-theme .bottom-player [data-dialog="history"]{grid-area:history}
  body.nostalgia-theme .bottom-player>.round.play{grid-area:play;width:46px;height:46px;min-width:46px;min-height:46px;flex:auto}
  body.nostalgia-theme .bottom-player .player-equalizer{grid-area:eq;display:flex;flex:auto;width:32px;max-width:32px;height:30px;gap:2px}
  body.nostalgia-theme .bottom-player .player-equalizer>i{width:2px;height:13px}
  body.nostalgia-theme .bottom-player select{grid-area:select;grid-column:1/3;min-width:0;max-width:none;width:100%;height:32px;padding:5px 22px 5px 8px;font-size:11px;flex:auto}
  body.nostalgia-theme .bottom-player #twitch-camera{grid-area:camera}
  body.nostalgia-theme .bottom-player #share{grid-area:share;display:flex}
  body.nostalgia-theme .bottom-player .icon{height:36px;width:32px;min-width:0;flex:auto;padding:4px;font-size:19px}
  body.nostalgia-theme .bottom-player .volume{display:none}
  body.nostalgia-theme .bottom-player [data-dialog="dedication"]{display:none}
  body.nostalgia-theme footer{padding:34px 22px 145px;gap:24px;flex-direction:column;align-items:flex-start}
  body.nostalgia-theme footer>.footer-brand{flex:initial}
  body.nostalgia-theme .nostalgia-history-section .history{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  body.nostalgia-theme .nostalgia-history-section .history article{padding:8px;gap:8px;min-height:74px}
  body.nostalgia-theme .nostalgia-history-section .history article img{width:51px!important;height:51px!important;max-width:51px;flex-basis:51px}
}
@media(max-width:440px){
  body.nostalgia-theme .bottom-player{grid-template-columns:43px minmax(0,1fr) 29px 29px 42px;gap:5px 4px;padding:6px 8px max(7px,env(safe-area-inset-bottom))}
  body.nostalgia-theme .bottom-player .player-artwork{width:43px}
  body.nostalgia-theme .bottom-player .player-artwork>img{width:39px;height:39px}
  body.nostalgia-theme .bottom-player .player-artwork>i{width:35px;height:35px}
  body.nostalgia-theme .bottom-player>.round.play{width:40px;height:40px;min-width:40px;min-height:40px}
  body.nostalgia-theme .bottom-player .track strong{font-size:11px}
  body.nostalgia-theme .bottom-player .track small{font-size:10px}
  body.nostalgia-theme .nostalgia-history-section .history{grid-template-columns:1fr}
  body.nostalgia-theme .nostalgia-history-section .history article{min-height:74px}
}


/* Contraste du bouton ÉCOUTER : l'ancien style global forçait ses spans en blanc
   (texte blanc sur bouton blanc). On rétablit fuchsia sur blanc, états compris. */
body.nostalgia-theme header button.listen {
  background:#fff!important;
  color:#bd0057!important;
  border:1px solid #fff!important;
  text-shadow:none!important;
  opacity:1;
}
body.nostalgia-theme header button.listen span,
body.nostalgia-theme header button.listen:hover span,
body.nostalgia-theme header button.listen:focus span,
body.nostalgia-theme header button.listen:active span {
  color:#bd0057!important;
  opacity:1!important;
  -webkit-text-fill-color:#bd0057;
  text-shadow:none!important;
}
body.nostalgia-theme header button.listen:hover,
body.nostalgia-theme header button.listen:focus-visible {
  background:#ffeaf3!important;
  color:#ae0052!important;
}
body.nostalgia-theme header button.listen:hover span,
body.nostalgia-theme header button.listen:focus-visible span {
  color:#ae0052!important;
  -webkit-text-fill-color:#ae0052;
}
body.nostalgia-theme header button.listen:focus-visible{
  outline:3px solid #fff!important;
  outline-offset:3px;
}
/* Sur fonds fuchsia, les contrôles secondaires restent visibles et les
   petites étiquettes ont un rose suffisamment sombre sous le blanc. */
body.nostalgia-theme .nostalgia-live-badge {background:#cd0064!important;color:#fff!important;}
body.nostalgia-theme .nostalgia-live-badge .live-dot {background:#fff;}
body.nostalgia-theme .nostalgia-home .nostalgia-live-actions button {
  color:#3c2633!important;
  background:#fff!important;
  border-color:#dec8d5!important;
}
body.nostalgia-theme .nostalgia-home .nostalgia-live-actions button:hover {
  color:#ae0052!important;
  background:#fff0f7!important;
  border-color:#cf8cac!important;
}
body.nostalgia-theme .nostalgia-home .nostalgia-section-title a,
body.nostalgia-theme .nostalgia-home .nostalgia-section-title button {
  color:#b90058!important;
}
body.nostalgia-theme footer {background:linear-gradient(110deg,#d00063,#b10055)!important;}
body.nostalgia-theme footer a,
body.nostalgia-theme footer small {color:#fff!important;}


/* ===== Correctif novembre 2026 : pochette REELLE en fond du bandeau =====
   Le calque est présent directement dans index.php, pas injecté à la volée.
   Il suit la même pochette que le player via les métadonnées de app.js. */
body.nostalgia-theme .nostalgia-hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(112deg,#690034 0%,#a30052 45%,#e60075 100%);
}
body.nostalgia-theme .nostalgia-hero > .nostalgia-hero-cover-bg {
  position:absolute;
  inset:0;
  z-index:0;
  display:block;
  overflow:hidden;
  pointer-events:none;
  opacity:0;
  visibility:hidden;
  transition:opacity .55s ease, visibility .55s ease;
}
body.nostalgia-theme .nostalgia-hero > .nostalgia-hero-cover-bg.is-ready {
  opacity:1;
  visibility:visible;
}
body.nostalgia-theme .nostalgia-hero-cover-bg > .nostalgia-hero-cover-photo {
  display:block;
  position:absolute;
  inset:-7%;
  width:114%;
  height:114%;
  max-width:none;
  object-fit:cover;
  object-position:50% 48%;
  filter:blur(16px) saturate(1.15) brightness(.85);
  transform:scale(1.06);
}
/* Voile assez léger pour RECONNAITRE la pochette, sans perdre le blanc du texte. */
body.nostalgia-theme .nostalgia-hero-cover-bg::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(96,0,49,.40) 0%,rgba(135,0,70,.43) 47%,rgba(183,0,89,.45) 100%);
}
body.nostalgia-theme .nostalgia-hero > .nostalgia-hero-portrait {z-index:1;}
body.nostalgia-theme .nostalgia-hero > .nostalgia-hero-copy {z-index:2;}
body.nostalgia-theme .nostalgia-hero > .nostalgia-live.panel {z-index:3;}
@media(max-width:780px){
 body.nostalgia-theme .nostalgia-hero-cover-bg>.nostalgia-hero-cover-photo{filter:blur(15px) saturate(1.1) brightness(.76)}
 body.nostalgia-theme .nostalgia-hero-cover-bg::after{background:linear-gradient(180deg,rgba(88,0,43,.28),rgba(130,0,67,.51) 40%,rgba(165,0,81,.66))}
}
@media(prefers-reduced-motion:reduce){body.nostalgia-theme .nostalgia-hero-cover-bg{transition:none}}

/* ===== Player flottant : carte indépendante du bord de l'écran ===== */
body.nostalgia-theme:not(.standalone) .bottom-player {
  position:fixed;
  top:auto;
  left:50%;
  right:auto;
  bottom:18px;
  transform:translateX(-50%) !important;
  display:flex;
  align-items:center;
  width:calc(100% - 44px);
  max-width:1360px;
  margin:0;
  padding:10px clamp(12px,1.8vw,23px);
  min-height:80px;
  border-radius:22px;
  border:1px solid rgba(232,177,204,.8);
  background:rgba(255,250,253,.97) !important;
  box-shadow:0 18px 48px rgba(80,0,45,.26),0 3px 10px rgba(80,0,45,.08);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  z-index:65;
  overflow:visible;
}
body.nostalgia-theme:not(.standalone) .bottom-player .round.play {
  box-shadow:0 4px 18px rgba(200,0,100,.26);
}
body.nostalgia-theme:not(.standalone) .bottom-player .track {min-width:0;}
body.nostalgia-theme .back-top {bottom:134px;}
body.nostalgia-theme .dedication-popup {bottom:139px;}
body.nostalgia-theme #toast {bottom:205px;}
body.nostalgia-theme #cookie-banner {bottom:139px;}
@media(max-width:780px) {
  body.nostalgia-theme:not(.standalone) .bottom-player {
    display:grid; /* conserver les deux lignes du mobile */
    left:50%;right:auto;
    bottom:max(10px,env(safe-area-inset-bottom));
    width:calc(100% - 22px);
    max-width:none;
    transform:translateX(-50%) !important;
    min-height:0;
    border-radius:19px;
    padding:8px 11px;
  }
  body.nostalgia-theme .back-top {bottom:158px;}
  body.nostalgia-theme .dedication-popup,
  body.nostalgia-theme #cookie-banner {bottom:158px;}
  body.nostalgia-theme #toast {bottom:212px;}
  body.nostalgia-theme footer{padding-bottom:164px;}
}
@media(max-width:440px){
  body.nostalgia-theme:not(.standalone) .bottom-player {
    bottom:max(8px,env(safe-area-inset-bottom));
    width:calc(100% - 16px);
    border-radius:17px;
    padding:7px 9px;
  }
  body.nostalgia-theme footer{padding-bottom:165px;}
}


/* ===== Odet FM : lecteur flottant fuchsia et navigation soulignée en blanc (V2) ===== */
/* Ne concerne que le lecteur flottant. Le grand lecteur du bandeau reste blanc. */
body.nostalgia-theme:not(.standalone) .bottom-player {
  background:linear-gradient(112deg,#ac0053 0%,#ca0062 48%,#e40075 100%) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.65) !important;
  box-shadow:0 18px 48px rgba(92,0,46,.32),inset 0 1px 0 rgba(255,255,255,.2);
}
body.nostalgia-theme:not(.standalone) .bottom-player .track strong,
body.nostalgia-theme:not(.standalone) .bottom-player .track small,
body.nostalgia-theme:not(.standalone) .bottom-player .volume {
  color:#fff !important;
  -webkit-text-fill-color:#fff;
}
body.nostalgia-theme:not(.standalone) .bottom-player button.icon,
body.nostalgia-theme:not(.standalone) .bottom-player button.round.play {
  background:#fff !important;
  color:#c1005d !important;
  -webkit-text-fill-color:#c1005d;
  border:1px solid rgba(255,255,255,.95) !important;
  box-shadow:0 3px 13px rgba(79,0,40,.17);
  opacity:1;
  transition:background .2s,color .2s,transform .2s,box-shadow .2s;
}
body.nostalgia-theme:not(.standalone) .bottom-player button.icon:hover,
body.nostalgia-theme:not(.standalone) .bottom-player button.round.play:hover,
body.nostalgia-theme:not(.standalone) .bottom-player button.icon:focus-visible,
body.nostalgia-theme:not(.standalone) .bottom-player button.round.play:focus-visible {
  background:#ffe8f2 !important;
  color:#a90052 !important;
  -webkit-text-fill-color:#a90052;
  transform:translateY(-2px);
}
body.nostalgia-theme:not(.standalone) .bottom-player button:focus-visible,
body.nostalgia-theme:not(.standalone) .bottom-player select:focus-visible {
  outline:2px solid #fff;
  outline-offset:3px;
}
body.nostalgia-theme:not(.standalone) .bottom-player select {
  background:#fff !important;
  color:#bb0059 !important;
  border:1px solid rgba(255,255,255,.95) !important;
  font-weight:700;
  color-scheme:light;
}
body.nostalgia-theme:not(.standalone) .bottom-player select option {
  background:#fff;
  color:#bb0059;
}
body.nostalgia-theme:not(.standalone) .bottom-player .volume input{accent-color:#fff}
body.nostalgia-theme:not(.standalone) .bottom-player .player-equalizer>i,
body.nostalgia-theme:not(.standalone) .bottom-player .equalizer-modern>i {
  background:linear-gradient(0deg,#fff,#ffd6e9) !important;
  box-shadow:0 0 6px rgba(255,255,255,.24);
}
body.nostalgia-theme:not(.standalone) .bottom-player .player-artwork>img{
  border:2px solid rgba(255,255,255,.7);
}
/* Liseré blanc sur chaque lien au survol et sous la page réellement active. */
body.nostalgia-theme header nav.desktop a {position:relative;}
body.nostalgia-theme header nav.desktop a::after {
  content:"";
  position:absolute;
  bottom:3px;
  left:0;
  right:0;
  height:3px;
  border-radius:6px;
  background:#fff !important;
  opacity:0;
  transform:scaleX(.35);
  transform-origin:center;
  transition:opacity .18s ease,transform .18s ease;
  pointer-events:none;
}
body.nostalgia-theme header nav.desktop a.active::after,
body.nostalgia-theme header nav.desktop a[aria-current="page"]::after,
body.nostalgia-theme header nav.desktop a:hover::after,
body.nostalgia-theme header nav.desktop a:focus-visible::after {
  opacity:1;
  transform:scaleX(1);
}
body.nostalgia-theme header nav.desktop a:focus-visible {outline:2px solid white;outline-offset:4px;border-radius:3px;}
@media(prefers-reduced-motion:reduce){
  body.nostalgia-theme header nav.desktop a::after,
  body.nostalgia-theme:not(.standalone) .bottom-player button {transition:none!important}
}
