/* FredRaven V3.1 — lecteur isolé, sans héritage des anciens composants */
:root {
  --frv3-gold: #ca8a3f;
  --frv3-gold-soft: #e1b46d;
  --frv3-cream: #f4e0c0;
  --frv3-panel: #0a0908;
  --frv3-line: rgba(202, 138, 63, .52);
  --frv3-muted: #b99a72;
}

.v2-player-section {
  width: 100%;
  max-width: none;
  padding: 28px 0 18px;
  overflow: visible;
}
.v2-player-section > .section-title { display: none !important; }

.frv3-shell {
  position: relative;
  display: block;
  width: min(1480px, calc(100% - 40px));
  max-width: 1480px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
}
.frv3-shell::before,
.frv3-shell::after { display: none !important; }
.frv3-player { display: block; width: 100%; min-width: 0; }

.frv3-main {
  display: grid;
  grid-template-columns: 500px minmax(270px, .76fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(24px, 2.4vw, 38px);
  width: 100%;
  min-width: 0;
  min-height: 410px;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--frv3-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 48%, rgba(123, 72, 27, .10), transparent 31%),
    linear-gradient(145deg, #090807 0%, #0d0c0a 58%, #080706 100%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .02);
  overflow: hidden;
}

.frv3-media {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
}
.frv3-art {
  position: relative;
  display: block;
  width: min(100%, 540px);
  height: 330px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: visible;
}
.frv3-sleeve {
  position: absolute;
  z-index: 5;
  inset: 0 auto auto 0;
  width: 330px;
  height: 330px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
}
.frv3-sleeve img { width: 100%; height: 100%; display: block; object-fit: cover; }
.frv3-vinyl {
  position: absolute;
  z-index: 2;
  left: 190px;
  top: 0;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, .58));
  transition: transform .55s cubic-bezier(.22,.75,.25,1);
}
.frv3-shell.is-playing .frv3-vinyl { transform: translateX(10px); }
.frv3-vinyl-rotor { position: absolute; inset: 0; border-radius: 50%; transform-origin: 50% 50%; will-change: transform; }
.frv3-vinyl-rotor { animation: none !important; }
.frv3-vinyl-disc,
.frv3-vinyl-reflection { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 50%; }
.frv3-vinyl-reflection { z-index: 6; pointer-events: none; }
.frv3-vinyl-label {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(8, 8, 8, .82), 0 0 0 4px rgba(202, 138, 63, .34);
}
.frv3-vinyl-label img { width: 100%; height: 100%; display: block; object-fit: cover; }
@keyframes frv3-spin { to { transform: rotate(360deg); } }

.frv3-platforms {
  position: absolute;
  z-index: 8;
  left: 178px;
  bottom: 12px;
  display: flex;
  gap: 8px;
}
.frv3-platforms .lite-platform-pill {
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid rgba(202, 138, 63, .48);
  border-radius: 999px;
  background: rgba(8, 8, 8, .88);
  color: #fff2dc;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.frv3-copy { min-width: 0; align-self: center; }
.frv3-eyebrow {
  margin: 0 0 16px;
  color: var(--frv3-gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.frv3-copy h3 {
  margin: 0;
  max-width: 520px;
  color: var(--frv3-cream);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(48px, 4.2vw, 74px);
  line-height: .95;
  letter-spacing: -.035em;
  overflow-wrap: normal;
}
.frv3-subtitle { margin: 20px 0 28px; color: #d3b68c; font-family: Georgia, serif; font-size: 21px; }
.frv3-listen {
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid #d89a4b;
  border-radius: 9px;
  background: linear-gradient(135deg, #d49b51, #a66424);
  color: #fff5e7;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.frv3-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  width: 100%;
}
.frv3-time-row { display: flex; justify-content: space-between; color: #e3cfaf; font-size: 16px; }
.frv3-progress { position: relative; height: 4px; overflow: visible; border-radius: 999px; background: #393633; }
.frv3-progress span { display: block; width: var(--lite-progress, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #c37d2d, #e3ad60); }
.frv3-progress::after {
  content: '';
  position: absolute;
  left: var(--lite-progress, 0%);
  top: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #dda254;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(221, 162, 84, .12);
}
.frv3-control-row { display: flex; align-items: center; justify-content: center; gap: 42px; }
.frv3-skip,
.frv3-play { border: 0; cursor: pointer; }
.frv3-skip { padding: 10px; background: transparent; color: #fff; font-size: 24px; }
.frv3-play {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dfa75f, #a56729);
  color: white;
  font-size: 28px;
  box-shadow: 0 12px 28px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.2);
}
.frv3-waveform { width: 100%; height: 74px; border-radius: 10px; background: url('../img/player/waveform.svg') center / 100% 78% no-repeat; }
.frv3-lyrics {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid #a86d2c;
  border-radius: 10px;
  color: #fff0dc;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.frv3-carousel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 26px 14px 11px;
  border-bottom: 1px solid rgba(202, 138, 63, .22);
}
.frv3-carousel-head span { color: var(--frv3-muted); font-size: 13px; }
.frv3-carousel-wrap { position: relative; width: 100%; padding: 20px 54px 12px; }
.frv3-carousel {
  display: flex;
  gap: 18px;
  width: 100%;
  min-height: 430px;
  padding: 4px 2px 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.frv3-carousel::-webkit-scrollbar { display: none; }
.frv3-card {
  flex: 0 0 214px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 0 18px;
  overflow: hidden;
  border: 1px solid rgba(202, 138, 63, .43);
  border-radius: 21px;
  background: linear-gradient(180deg, #16130f, #0d0c0a);
  color: #f4dfbe;
  text-align: left;
  scroll-snap-align: start;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.frv3-card:hover { transform: translateY(-5px); border-color: #dba153; box-shadow: 0 18px 38px rgba(0,0,0,.38), 0 0 0 1px rgba(219,161,83,.16); }
.frv3-card.active { border-color: #e2aa5a; box-shadow: 0 0 0 2px rgba(226,170,90,.2), 0 18px 40px rgba(0,0,0,.45); }
.frv3-card-art { position: relative; display: block; width: 100%; aspect-ratio: 9 / 14; overflow: hidden; background:#080706; }
.frv3-card-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.frv3-card-art > span {
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f0d8aa;
  color: #24170a;
  font-size: 12px;
  font-weight: 900;
}
.frv3-card-copy { display: flex; flex-direction: column; gap: 7px; padding: 16px 16px 0; }
.frv3-card-copy strong { min-height: 38px; color: #f7e5c8; font-size: 16px; line-height: 1.2; }
.frv3-card-copy em { color: #b99d77; font-size: 13px; font-style: normal; }
.frv3-card-copy small { margin-top: 4px; color: #dbc09b; font-size: 13px; }
.frv3-carousel-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(202,138,63,.64);
  border-radius: 50%;
  background: #11100d;
  color: #f2d4a3;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.frv3-carousel-arrow.prev { left: 0; }
.frv3-carousel-arrow.next { right: 0; }
.frv3-lyrics-panel { margin-top: 18px; }
.frv3-shell [hidden] { display: none !important; }

/* Le mini-lecteur ne recouvre pas le module principal. */
body.frv3-main-visible .mini-player { opacity: 0; pointer-events: none; transform: translateY(120%); }

@media (max-width: 1220px) {
  .frv3-main { grid-template-columns: 460px minmax(245px, .72fr) minmax(320px, 1fr); gap: 24px; }
  .frv3-art { width:460px; height:290px; }
  .frv3-sleeve { width: 290px; height: 290px; }
  .frv3-vinyl { left: 190px; width: 290px; height: 290px; }
  .frv3-platforms { left: 150px; }
  .frv3-copy h3 { font-size: 50px; }
}
@media (max-width: 980px) {
  .frv3-main { grid-template-columns: minmax(340px, 1fr) minmax(300px, 1fr); }
  .frv3-media { grid-row: 1 / span 2; }
  .frv3-copy, .frv3-controls { grid-column: 2; }
}
@media (max-width: 760px) {
  .frv3-shell { width: min(100% - 18px, 700px); }
  .frv3-main { display: flex; flex-direction: column; min-height: 0; padding: 18px; }
  .frv3-media { width: 100%; justify-content: center; }
  .frv3-art { width: 100%; max-width: 450px; height: auto; aspect-ratio: 1.5 / 1; }
  .frv3-sleeve { width: 67%; height: auto; aspect-ratio: 1 / 1; }
  .frv3-vinyl { left: 41%; width: 67%; height: auto; aspect-ratio: 1 / 1; }
  .frv3-platforms { left: auto; right: 31%; bottom: 7px; }
  .frv3-copy, .frv3-controls { width: 100%; text-align: center; }
  .frv3-copy h3 { max-width: none; font-size: 43px; }
  .frv3-subtitle { margin: 12px 0; }
  .frv3-listen { display: none; }
  .frv3-lyrics { align-self: center; }
  .frv3-carousel-wrap { padding-inline: 42px; }
  .frv3-card { flex-basis: min(78vw, 210px); }
}

/* FredRaven V3.3 — pochettes intégrales et titres contenus */
.frv3-main {
  grid-template-columns: 520px minmax(330px, .86fr) minmax(380px, 1fr);
}
.frv3-media,
.frv3-art {
  width: 520px;
  max-width: 520px;
}
.frv3-sleeve {
  background: #080706;
}
.frv3-sleeve img {
  object-fit: contain !important;
  object-position: center !important;
  background: #080706;
}
.frv3-copy h3 {
  max-width: 430px;
  font-size: clamp(42px, 3.55vw, 66px);
  line-height: .96;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}
.frv3-copy h3.is-long-title {
  font-size: clamp(38px, 3.05vw, 56px);
  line-height: .98;
}
.frv3-copy h3.is-very-long-title {
  font-size: clamp(34px, 2.65vw, 48px);
  line-height: 1;
}
.frv3-card-art {
  aspect-ratio: 1 / 1;
  background: #080706;
}
.frv3-card-art img {
  object-fit: contain !important;
  object-position: center !important;
  background: #080706;
}
.frv3-card {
  flex-basis: 214px;
}
.frv3-carousel {
  min-height: 365px;
}
@media (max-width: 1320px) {
  .frv3-main {
    grid-template-columns: 480px minmax(300px, .82fr) minmax(340px, 1fr);
    gap: 22px;
  }
  .frv3-media,
  .frv3-art { width: 480px; max-width: 480px; }
  .frv3-copy h3 { font-size: clamp(38px, 3.2vw, 56px); }
  .frv3-copy h3.is-long-title { font-size: clamp(34px, 2.8vw, 48px); }
  .frv3-copy h3.is-very-long-title { font-size: clamp(31px, 2.45vw, 42px); }
}
@media (max-width: 1120px) {
  .frv3-main { grid-template-columns: 450px minmax(280px, 1fr); }
  .frv3-media,
  .frv3-art { width: 450px; max-width: 450px; }
  .frv3-controls { grid-column: 2; }
}
@media (max-width: 760px) {
  .frv3-media,
  .frv3-art { width: 100%; max-width: 450px; }
  .frv3-copy h3,
  .frv3-copy h3.is-long-title,
  .frv3-copy h3.is-very-long-title {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 46px);
  }
  .frv3-card { flex-basis: min(72vw, 210px); }
}

/* V3.8 — repère rotatif discret pour rendre la rotation perceptible. */
.frv3-vinyl-rotor::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 48.8%;
  top: 4.5%;
  width: 2.4%;
  height: 19%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(224, 172, 101, .42), rgba(224, 172, 101, 0));
  filter: blur(.2px);
  opacity: .55;
  pointer-events: none;
}

/* V3.9 — vinyle davantage rentré lorsqu'il ne tourne pas */
.frv3-vinyl {
  left: 112px;
  transform: translateX(0);
  transition: left .48s cubic-bezier(.22,.75,.25,1), filter .3s ease;
}
.frv3-shell.is-playing .frv3-vinyl {
  left: 190px;
  transform: translateX(0);
}

@media (max-width: 1220px) {
  .frv3-vinyl { left: 98px; }
  .frv3-shell.is-playing .frv3-vinyl { left: 168px; }
}

@media (max-width: 760px) {
  .frv3-vinyl { left: 24%; }
  .frv3-shell.is-playing .frv3-vinyl { left: 41%; }
}

@media (prefers-reduced-motion: reduce) {
  .frv3-vinyl { transition-duration: .01ms; }
}

/* V3.11 — respect strict des sections masquées depuis l'admin */
[data-winners-section][hidden],
[data-winners-nav][hidden] {
  display: none !important;
}

/* V3.13 — Equalizer audio réel */
.frv3-waveform {
  position: relative;
  width: 100%;
  height: 74px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(202,138,63,.035), rgba(202,138,63,.01));
}
.frv3-waveform::before {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218,157,77,.18), transparent);
  pointer-events: none;
}
.frv3-waveform canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.frv3-waveform.is-unavailable {
  background: url('../img/player/waveform.svg') center / 100% 78% no-repeat;
}

/* V3.15 — nouvelles jaquettes FredRaven */
.v2-cover-gallery{grid-template-columns:repeat(7,minmax(0,1fr))!important}
.v2-cover-gallery article{aspect-ratio:1/1!important;background:#080604!important}
.v2-cover-gallery img{object-fit:contain!important;object-position:center!important;background:#080604}
@media(max-width:1280px){.v2-cover-gallery{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:760px){.v2-cover-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* V3.18 — plateformes discrètes au survol de la pochette */
.frv3-sleeve::after {
  content: '';
  position: absolute;
  z-index: 6;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 4, 3, .32) 38%, rgba(5, 4, 3, .82) 100%);
  opacity: 0;
  transition: opacity .24s ease;
  pointer-events: none;
}

.frv3-platforms {
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  width: 330px;
  min-height: 64px;
  padding: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}

.frv3-platforms .lite-platform-pill {
  min-height: 31px;
  padding: 6px 11px;
  border-color: rgba(218, 157, 77, .58);
  background: rgba(8, 7, 6, .64);
  box-shadow: 0 7px 20px rgba(0, 0, 0, .32);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.frv3-platforms .lite-platform-pill:hover,
.frv3-platforms .lite-platform-pill:focus-visible {
  transform: translateY(-2px);
  background: rgba(20, 15, 10, .86);
  border-color: rgba(237, 183, 105, .88);
}

.frv3-media:hover .frv3-sleeve::after,
.frv3-media:focus-within .frv3-sleeve::after,
.frv3-media.is-platform-open .frv3-sleeve::after {
  opacity: 1;
}

.frv3-media:hover .frv3-platforms,
.frv3-media:focus-within .frv3-platforms,
.frv3-media.is-platform-open .frv3-platforms {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 1220px) {
  .frv3-platforms { width: 290px; }
}

@media (max-width: 760px) {
  .frv3-platforms {
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    width: 67%;
    min-height: 58px;
    padding: 10px;
    gap: 6px;
  }
  .frv3-platforms .lite-platform-pill {
    flex: 1 1 0;
    min-width: 0;
    padding: 6px 8px;
    font-size: 10px;
    text-align: center;
  }
}

@media (hover: none) and (pointer: coarse) {
  .frv3-media:not(.is-platform-open) .frv3-platforms {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
  }
}

/* V3.19 — parcours émotionnel et paroles immersives */
.emotion-selector {
  width: min(1180px, 100%);
  margin: 0 auto 28px;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(222, 164, 86, .24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 10%, rgba(210, 139, 53, .14), transparent 30%),
    linear-gradient(145deg, rgba(27, 19, 12, .96), rgba(8, 7, 6, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}
.emotion-intro { max-width: 720px; }
.emotion-intro h3 {
  margin: 5px 0 10px;
  color: #f3d7ae;
  font: 600 clamp(1.9rem, 4vw, 3.25rem)/1.05 "Cormorant Garamond", Georgia, serif;
}
.emotion-intro > p:last-child { margin: 0; color: #bfae99; line-height: 1.65; }
.emotion-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.emotion-choices button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 11px;
  min-height: 92px;
  padding: 17px;
  color: #f8eee0;
  text-align: left;
  border: 1px solid rgba(222, 164, 86, .2);
  border-radius: 17px;
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.emotion-choices button:hover,
.emotion-choices button.is-active {
  transform: translateY(-3px);
  border-color: rgba(240, 190, 116, .7);
  background: linear-gradient(135deg, rgba(211, 140, 51, .2), rgba(255, 255, 255, .035));
}
.emotion-choices button > span { grid-row: 1 / 3; color: #efbd74; font-size: 1.45rem; }
.emotion-choices strong { font-size: .86rem; line-height: 1.25; }
.emotion-choices small { color: #9e8e7b; font-size: .7rem; }
.emotion-results { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(222, 164, 86, .17); }
.emotion-results-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.emotion-results-head p { margin: 0; color: #efc990; font: 600 1.45rem/1.1 "Cormorant Garamond", Georgia, serif; }
.emotion-results-head span { color: #887c6d; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.emotion-track-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.emotion-track-list button {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px;
  color: #fff;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(0, 0, 0, .23);
  cursor: pointer;
}
.emotion-track-list button:hover { border-color: rgba(240, 190, 116, .55); }
.emotion-track-list img { width: 54px; height: 54px; object-fit: cover; border-radius: 9px; }
.emotion-track-list span { display: grid; gap: 4px; min-width: 0; }
.emotion-track-list strong { overflow: hidden; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.emotion-track-list small { color: #9f9180; font-size: .66rem; }
.emotion-track-list b { display: grid; width: 32px; height: 32px; place-items: center; color: #251608; border-radius: 50%; background: #eab86d; }
.frv3-lyrics { border: 1px solid rgba(231, 178, 100, .45); cursor: pointer; }

body.lyrics-immersive-open { overflow: hidden; }
.player-shell.is-lite-mode .lyrics-panel.is-immersive,
.lyrics-panel.is-immersive {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(20px, 5vw, 70px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 25%, rgba(153, 92, 32, .2), transparent 35%),
    linear-gradient(180deg, rgba(8, 6, 5, .97), rgba(2, 2, 2, .995));
  box-shadow: none;
  backdrop-filter: blur(22px);
}
.lyrics-panel.is-immersive .lyrics-head { width: min(900px, 100%); margin: 0 auto 22px; }
.lyrics-panel.is-immersive .lyrics-head h3 { color: #f1c987; font-size: clamp(1.8rem, 4vw, 3rem); }
.lyrics-panel.is-immersive pre {
  width: min(900px, 100%);
  max-height: none !important;
  margin: 0 auto;
  padding: 28vh 20px;
  color: rgba(255, 255, 255, .3);
  font: 500 clamp(1.25rem, 2.7vw, 2.15rem)/1.55 "Cormorant Garamond", Georgia, serif;
  text-align: center;
  scroll-behavior: smooth;
}
.lyrics-panel.is-immersive .lyric-line { opacity: .28; transform: scale(.96); transition: opacity .4s ease, color .4s ease, transform .4s ease; }
.lyrics-panel.is-immersive .lyric-line.active { color: #fff1d3; opacity: 1; transform: scale(1.05); text-shadow: 0 0 30px rgba(222, 157, 72, .42); }
.lyrics-panel.is-immersive .lyrics-status { width: min(900px, 100%); margin: 16px auto 0; text-align: center; }
.lyrics-panel [data-lyrics-close] { display: none; }
.lyrics-panel.is-immersive [data-lyrics-close] { display: inline-flex; }

@media (max-width: 880px) {
  .emotion-choices { grid-template-columns: repeat(2, 1fr); }
  .emotion-track-list { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .emotion-selector { padding: 20px 15px; border-radius: 18px; }
  .emotion-choices { grid-template-columns: 1fr 1fr; gap: 8px; }
  .emotion-choices button { min-height: 105px; padding: 13px 10px; }
  .emotion-choices button > span { display: none; }
  .emotion-results-head { align-items: start; flex-direction: column; gap: 6px; }
  .player-shell.is-lite-mode .lyrics-panel.is-immersive,
  .lyrics-panel.is-immersive { padding: 18px 12px 22px; }
  .lyrics-panel.is-immersive .lyrics-head { align-items: flex-start; gap: 12px; }
  .lyrics-panel.is-immersive .lyrics-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .lyrics-panel.is-immersive pre { padding: 24vh 8px; font-size: 1.35rem; }
}

/* V3.20 — accueil cinématographique, galerie vivante et récit musical */
.v2-hero { isolation: isolate; overflow: hidden; }
.v2-hero::before,
.v2-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}
.v2-hero::before {
  background:
    radial-gradient(circle at 16% 26%, rgba(241, 188, 108, .42) 0 1px, transparent 2px),
    radial-gradient(circle at 29% 72%, rgba(241, 188, 108, .28) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 18%, rgba(255, 226, 178, .28) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 61%, rgba(241, 188, 108, .3) 0 1px, transparent 2px);
  background-size: 190px 170px, 240px 220px, 310px 260px, 270px 300px;
  opacity: .3;
  animation: fredravenDust 18s linear infinite;
}
.v2-hero::after {
  background: linear-gradient(105deg, transparent 36%, rgba(238, 184, 105, .055) 48%, transparent 60%);
  transform: translateX(-45%);
  animation: fredravenLight 11s ease-in-out infinite;
}
.v2-hero-photo img { animation: fredravenHeroBreath 18s ease-in-out infinite alternate; }
.v2-hero-content h1,
.v2-hero-content .v2-rule,
.v2-hero-content .v2-intro,
.v2-hero-content .v2-hero-actions { opacity: 0; transform: translateY(18px); animation: fredravenReveal .85s ease forwards; }
.v2-hero-content .v2-rule { animation-delay: .18s; }
.v2-hero-content .v2-intro { animation-delay: .32s; }
.v2-hero-content .v2-hero-actions { animation-delay: .48s; }
@keyframes fredravenHeroBreath { from { transform: scale(1.01); } to { transform: scale(1.075); } }
@keyframes fredravenDust { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(28px, -34px, 0); } }
@keyframes fredravenLight { 0%, 25% { transform: translateX(-55%); opacity: 0; } 50% { opacity: 1; } 75%, 100% { transform: translateX(55%); opacity: 0; } }
@keyframes fredravenReveal { to { opacity: 1; transform: translateY(0); } }

.v2-video-grid article.is-audio-story { cursor: pointer; outline: none; }
.v2-video-grid article.is-audio-story::before {
  content: "Écouter";
  position: absolute;
  z-index: 3;
  top: 13px;
  left: 13px;
  padding: 6px 9px;
  color: #211307;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: #edba70;
  opacity: 0;
  transform: translateY(-5px);
  transition: .3s ease;
}
.v2-video-grid article.is-audio-story:hover::before,
.v2-video-grid article.is-audio-story:focus-visible::before { opacity: 1; transform: translateY(0); }
.v2-video-grid article.is-audio-story:hover,
.v2-video-grid article.is-audio-story:focus-visible { border-color: rgba(239, 185, 105, .75); box-shadow: 0 18px 48px rgba(0, 0, 0, .42); }
.v2-video-grid article.is-audio-story span { transition: transform .3s ease, background .3s ease; }
.v2-video-grid article.is-audio-story:hover span { transform: translate(-50%, -50%) scale(1.12); background: rgba(196, 126, 45, .82); }
.v2-video-grid article.is-visual-only span { opacity: .42; }

.v2-songs .songs-grid {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 32px 82px !important;
  padding: 24px 0;
}
.v2-songs .songs-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(225, 164, 82, .65) 8%, rgba(225, 164, 82, .25) 92%, transparent);
}
.v2-songs .song-card {
  position: relative;
  min-height: 260px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease, border-color .3s ease, box-shadow .3s ease;
}
.v2-songs .song-card::after {
  content: "";
  position: absolute;
  top: 42px;
  width: 13px;
  height: 13px;
  border: 3px solid #0b0806;
  border-radius: 50%;
  background: #e7ad60;
  box-shadow: 0 0 0 1px rgba(231, 173, 96, .38), 0 0 24px rgba(231, 173, 96, .38);
}
.v2-songs .song-card:nth-child(odd)::after { right: -48px; }
.v2-songs .song-card:nth-child(even)::after { left: -48px; }
.v2-songs .song-card:nth-child(even) { margin-top: 84px; }
.v2-songs .song-card.is-in-view { opacity: 1; transform: translateY(0); }
.v2-songs .song-card:hover { border-color: rgba(231, 173, 96, .5) !important; box-shadow: 0 25px 65px rgba(0, 0, 0, .38); }

@media (max-width: 760px) {
  .v2-hero::before { opacity: .2; }
  .v2-songs .songs-grid { grid-template-columns: 1fr !important; gap: 18px !important; padding-left: 25px; }
  .v2-songs .songs-grid::before { left: 5px; }
  .v2-songs .song-card:nth-child(even) { margin-top: 0; }
  .v2-songs .song-card::after,
  .v2-songs .song-card:nth-child(odd)::after,
  .v2-songs .song-card:nth-child(even)::after { top: 32px; left: -27px; right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-hero::before,
  .v2-hero::after,
  .v2-hero-photo img,
  .v2-hero-content h1,
  .v2-hero-content .v2-rule,
  .v2-hero-content .v2-intro,
  .v2-hero-content .v2-hero-actions { animation: none; }
  .v2-hero-content h1,
  .v2-hero-content .v2-rule,
  .v2-hero-content .v2-intro,
  .v2-hero-content .v2-hero-actions,
  .v2-songs .song-card { opacity: 1; transform: none; }
}
