/* Radio MLK — slider « À la une » [mlk_alaune] (extension Radio MLK, 16/10/2026).
   Remplace la section « Slider NOUVEAUTÉS » de mlk-player.css ET le champ CSS de l'élément Code Bricks
   (slider-alaune-bloc.html) : valeurs reprises telles qu'elles s'affichaient sur le site au 16/10/2026
   (réglages Bricks compris : largeur mobile 270 px, écart des petits boutons 20 px).
   Le bouton play garde la classe .mlk-play-round du thème pour son animation « lecture en cours ». */

#mlk-une {
  /* RÉGLAGES */
  --pink: #D20658;
  --gap: 10px;
  --peek: 12%;            /* aperçu des vignettes voisines — ordinateur */
  --peek-m: 15%;          /* aperçu des vignettes voisines — mobile     */
  --rad: 0px;             /* coins carrés */
  --mlk-une-ratio: 4 / 5; /* forme de l'image */
  --mlk-une-scale: 1.5;   /* largeur = 1,5 × une vignette « Les émissions » (calculée en JS) */
  --mlk-une-w: 360px;     /* repli sans slider « Les émissions » */
  --mlk-une-w-m: 270px;   /* repli mobile (≤ 600 px) */
  --mlk-une-meta-h: 44px; /* cadre texte sous la vignette (2 lignes) */
  --mlk-une-btn: 54px;    /* play — ordinateur */
  --mlk-une-btn-m: 48px;  /* play — mobile (≤ 767 px) */
  --mlk-une-svg: 52%;     /* triangle dans le play */
  --mlk-une-btn-b: 18px;  /* distance play ↔ bas de l'image */
  --une-sh-size: 34px;    /* partager et « + » */
  --une-sh-gap: 20px;     /* écart entre le play et ces boutons */
  --mlk-une-playing-w: 2px;
  --mlk-une-playing-c: rgba(255,255,255,.85);

  position: relative;
  width: 100%;
}

#mlk-une .mlk-une-outer { overflow: hidden; padding: 0 var(--peek); }
#mlk-une .mlk-une-track { display: flex; gap: var(--gap); transition: transform .4s cubic-bezier(.4,0,.2,1); will-change: transform; }

.mlk-une-slide {
  flex-shrink: 0;
  width: var(--mlk-une-w);
  border-radius: var(--rad);
  overflow: hidden;
  background: #111;
  display: flex; flex-direction: column;
}
.mlk-une-art {
  width: 100%; aspect-ratio: var(--mlk-une-ratio);
  position: relative; overflow: hidden;
  flex-shrink: 0; background: #1a1a1a;
  container-type: inline-size;
}
.mlk-une-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Image qui n'est pas en 4/5 : entière sur fond flou (alaune.js, entierSiPas45) */
.mlk-une-art--entier > img:not(.mlk-une-flou) { object-fit: contain; }
.mlk-une-art > img.mlk-une-flou { object-fit: cover; filter: blur(14px) brightness(.55); transform: scale(1.15); }
.mlk-une-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.mlk-une-fallback svg { width: 48px; height: 48px; fill: #333; }

/* Play rond rose (mêmes valeurs que .mlk-play-round du thème, taille du slider) */
.mlk-une-slide .mlk-une-play {
  position: absolute; bottom: var(--mlk-une-btn-b); left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: var(--mlk-une-btn); height: var(--mlk-une-btn);
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--pink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,.45);
  transition: transform .15s, opacity .15s;
  padding: 0; outline: none; cursor: pointer;
  -webkit-appearance: none;
}
.mlk-une-slide .mlk-une-play svg { width: var(--mlk-une-svg); height: var(--mlk-une-svg); fill: #fff; flex-shrink: 0; }
.mlk-une-slide .mlk-une-play:hover { transform: translateX(-50%) scale(1.08); opacity: .9; }
.mlk-une-slide .mlk-une-play.mlk-play-round--active svg {
  animation: mlk-une-cassette 8s linear infinite;
  transform-origin: center; transform-box: fill-box;
}
body.mlk-live .mlk-une-slide .mlk-une-play.mlk-play-round--active svg { animation: none; }
@keyframes mlk-une-cassette { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Boutons ronds secondaires — partager, « + », télécharger */
.mlk-une-share, .mlk-une-plus, .mlk-une-get {
  box-sizing: border-box;
  width: var(--une-sh-size); height: var(--une-sh-size);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 0; outline: none; cursor: pointer;
  text-decoration: none;
  -webkit-appearance: none;
  transition: transform .15s, background .15s, border-color .15s;
}
.mlk-une-share i, .mlk-une-plus i, .mlk-une-get i {
  font-size: 14px; color: #fff; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  vertical-align: baseline;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.mlk-une-share:hover, .mlk-une-share.is-active, .mlk-une-plus:hover, .mlk-une-get:hover {
  background: rgba(0,0,0,.6); border-color: rgba(255,255,255,.8);
}
.mlk-une-get--locked { opacity: .55; }

/* Partager à gauche du play, « + » à droite, centres alignés sur celui du play */
.mlk-une-share, .mlk-une-plus {
  --une-sh-off: calc((var(--mlk-une-btn) + var(--une-sh-size)) / 2 + var(--une-sh-gap));
  position: absolute; left: 50%;
  bottom: calc(var(--mlk-une-btn-b) + (var(--mlk-une-btn) - var(--une-sh-size)) / 2);
  z-index: 2;
}
.mlk-une-share       { transform: translateX(calc(-50% - var(--une-sh-off))); }
.mlk-une-plus        { transform: translateX(calc(-50% + var(--une-sh-off))); }
.mlk-une-share:hover { transform: translateX(calc(-50% - var(--une-sh-off))) scale(1.08); }
.mlk-une-plus:hover  { transform: translateX(calc(-50% + var(--une-sh-off))) scale(1.08); }
.mlk-une-plus i      { font-size: 15px; }
.mlk-une-share.is-copied i { color: #4ade80; }

/* Bouton « i » (16/10/2026) : même habillage que les autres boutons ronds, en haut à droite de l'image */
.mlk-une-ibtn {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  box-sizing: border-box; width: var(--une-sh-size); height: var(--une-sh-size);
  border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
  padding: 0; outline: none; cursor: pointer; -webkit-appearance: none;
  transition: transform .15s, background .15s, border-color .15s;
}
.mlk-une-ibtn i { font-size: 13px; color: #fff; line-height: 1; }
.mlk-une-ibtn:hover, .mlk-une-ibtn[aria-expanded="true"] { background: rgba(0,0,0,.6); border-color: rgba(255,255,255,.8); transform: scale(1.08); }

/* Panneau du descriptif, par-dessus l'image (l'image est en overflow:hidden) */
.mlk-une-desc {
  position: absolute; inset: 0; z-index: 5; box-sizing: border-box;
  display: flex; flex-direction: column; padding: 16px 14px 14px;
  background: rgba(10,10,10,.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #f6f6f6; font-family: var(--mlk-font, inherit); text-align: left;
  opacity: 0; visibility: hidden; transition: opacity .18s, visibility 0s .18s;
}
.mlk-une-desc.is-open { opacity: 1; visibility: visible; transition: opacity .18s; }
/* Panneau ouvert : les boutons ronds de l'image s'effacent (ils restaient visibles à travers le voile) */
.mlk-une-art:has(.mlk-une-desc.is-open) :is(.mlk-une-play, .mlk-une-share, .mlk-une-plus, .mlk-une-ibtn) { visibility: hidden; }
.mlk-une-desc-x {
  position: absolute; top: 10px; right: 10px; width: var(--une-sh-size); height: var(--une-sh-size);
  box-sizing: border-box; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; -webkit-appearance: none;
}
.mlk-une-desc-x i { font-size: 14px; color: #fff; }
.mlk-une-desc-em { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #ff7aa8; padding-right: calc(var(--une-sh-size) + 4px); line-height: 1.3; }
.mlk-une-desc-t { display: block; margin: 4px 0 2px; font-size: 18px; font-weight: 600; line-height: 1.2; padding-right: calc(var(--une-sh-size) + 4px); }
.mlk-une-desc-q { font-size: 12px; color: rgba(240,237,232,.6); margin-bottom: 10px; }
.mlk-une-desc p { margin: 0; flex: 1; min-height: 0; overflow: auto; font-size: 13.5px; line-height: 1.45; }
.mlk-une-desc-play {
  align-self: flex-start; margin-top: 12px; display: inline-flex; align-items: center; gap: 7px;
  background: var(--pink, #D20658); color: #fff; border: 0; border-radius: 10px; padding: 7px 14px;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.mlk-une-desc-play svg { width: 13px; height: 13px; fill: #fff; }
@container (max-width: 179px) {
  .mlk-une-desc { padding: 12px 10px 10px; }
  .mlk-une-desc-t { font-size: 15px; }
  .mlk-une-desc p { font-size: 12.5px; }
}

/* Menu de partage (tactile) */
.mlk-une-sharemenu {
  --une-sh-off: calc((var(--mlk-une-btn) + var(--une-sh-size)) / 2 + var(--une-sh-gap));
  position: absolute; z-index: 4;
  left: max(8px, calc(50% - var(--une-sh-off) - var(--une-sh-size) / 2));
  bottom: calc(var(--mlk-une-btn-b) + var(--mlk-une-btn) + 10px);
  max-width: calc(100% - 16px);
  box-sizing: border-box;
  padding: 5px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(17,17,17,.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px); transform-origin: bottom left;
  transition: opacity .15s, transform .15s, visibility 0s .15s;
}
.mlk-une-sharemenu.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition: opacity .15s, transform .15s; }
.mlk-une-sm-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border: 0; border-radius: 8px;
  background: transparent; color: #f6f6f6;
  font-family: var(--mlk-font, "IBM Plex Sans Condensed", sans-serif); font-size: 13px; font-weight: 500;
  line-height: 1.2; text-align: left; white-space: nowrap;
  cursor: pointer; outline: none;
  -webkit-appearance: none; -webkit-tap-highlight-color: transparent;
}
.mlk-une-sm-item:hover, .mlk-une-sm-item:active, .mlk-une-sm-item:focus-visible { background: rgba(255,255,255,.1); }
.mlk-une-sm-item i, .mlk-une-sm-item svg { flex-shrink: 0; width: 16px; font-size: 14px; text-align: center; line-height: 1; }
.mlk-une-sm-item svg { height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.mlk-une-sm-item svg .dot { fill: currentColor; stroke: none; }
.mlk-une-sm-item span { overflow: hidden; text-overflow: ellipsis; }
.mlk-une-sm-short { display: none; }
@container (max-width: 179px) {
  .mlk-une-sharemenu { padding: 4px; }
  .mlk-une-sm-item { gap: 8px; padding: 8px 9px; font-size: 12px; }
  .mlk-une-sm-item i, .mlk-une-sm-item svg { width: 14px; font-size: 13px; }
  .mlk-une-sm-item svg { height: 14px; }
}
@container (max-width: 149px) {
  .mlk-une-sm-long { display: none; }
  .mlk-une-sm-short { display: inline; }
  .mlk-une-sharemenu { bottom: calc(var(--mlk-une-btn-b) + var(--mlk-une-btn) + 4px); }
  .mlk-une-sm-item { padding-top: 6px; padding-bottom: 6px; }
}

/* Vignette en cours de lecture : liseré blanc sur l'image seule */
.mlk-une-slide--playing .mlk-une-art::after {
  content: ''; position: absolute; inset: 0; z-index: 3;
  border: var(--mlk-une-playing-w) solid var(--mlk-une-playing-c);
  pointer-events: none;
}

/* Infos sous la vignette */
.mlk-une-meta {
  box-sizing: border-box;
  height: var(--mlk-une-meta-h);
  padding: 7px 6px 6px 4px;
  display: flex; align-items: flex-start; gap: 8px;
  flex-shrink: 0; overflow: hidden;
}
.mlk-une-info { flex: 1; min-width: 0; overflow: hidden; }
.mlk-une-name, .mlk-une-sub {
  font-family: var(--mlk-font, "IBM Plex Sans Condensed", sans-serif);
  line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mlk-une-name { font-size: 12px; font-weight: 500; color: var(--mlk-text, #f0ede8); }
.mlk-une-sub  { font-size: 11px; font-weight: 400; margin-top: 2px; color: rgba(240,237,232,.6); }
.mlk-une-get { --une-sh-size: 30px; margin-top: 2px; }
.mlk-une-get i { font-size: 18px; }

/* Points */
#mlk-une .mlk-une-dots {
  box-sizing: border-box; /* comme le reste du site (Bricks) */
  display: flex; justify-content: center; align-items: center; gap: 10px;
  min-height: 15px; margin-top: 16px; padding-bottom: 6px;
}
#mlk-une .mlk-une-dots:empty { display: none; }
.mlk-une-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.2); cursor: pointer;
  transition: background .2s, transform .2s;
}
.mlk-une-dot.active { background: var(--pink); transform: scale(1.3); }

/* Flèches — ordinateur seulement (≥ 768 px), une seule vignette : pas de flèches */
.mlk-une-nav-wrap { display: none; }
@media (min-width: 768px) {
  #mlk-une .mlk-une-nav-wrap { display: block; }
  #mlk-une.mlk-une--seul .mlk-une-nav-wrap { display: none; }
  #mlk-une .mlk-une-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 42px; height: 42px; border-radius: 50%;
    background: #111; border: 1px solid rgba(255,255,255,.18);
    color: #f0ede8; font-size: 15px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .15s, border-color .15s;
  }
  #mlk-une .mlk-une-nav:hover { background: #1e1e1e; border-color: rgba(255,255,255,.35); }
  #mlk-une .mlk-une-nav.prev { left: 6px; }
  #mlk-une .mlk-une-nav.next { right: 6px; }
}

/* Visuel temporaire « En préparation » (même dessin que dans l'espace Team) */
.mlk-une-art .mlk-une-tmp {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 18% 10px 22%; overflow: hidden; color: #fff;
}
.mlk-une-art .mlk-une-tmp.neuf { background: radial-gradient(circle at 30% 20%, #ff3d8a 0, #D20658 40%, #5b0630 100%); }
.mlk-une-art .mlk-une-tmp.flou { background: #000; }
.mlk-une-art .mlk-une-tmp.flou img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(10px) brightness(.5); transform: scale(1.2); }
.mlk-une-art .mlk-une-tmp > span { position: relative; }
.mlk-une-art .mlk-une-tmp-nom { font-family: "Londrina Solid", var(--mlk-font, sans-serif); font-weight: 900; font-size: clamp(18px, 11cqw, 40px); line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.mlk-une-art .mlk-une-tmp-quoi { margin-top: 10px; font-size: clamp(11px, 4.4cqw, 16px); letter-spacing: .12em; text-transform: uppercase; border: 1.5px solid #fff; border-radius: 7px; padding: 2px 10px; }
.mlk-une-art .mlk-une-tmp-bientot { margin-top: 10px; font-family: "Londrina Solid", sans-serif; font-size: clamp(18px, 8cqw, 30px); color: #ffd666; }
.mlk-une-art .mlk-une-tmp .mlk-une-tmp-logo { position: absolute; bottom: 7%; left: 0; right: 0; font-family: "Londrina Solid", sans-serif; font-size: clamp(12px, 5cqw, 18px); opacity: .9; }

@media (max-width: 767px) {
  html #mlk-une { --mlk-une-btn: var(--mlk-une-btn-m); --une-sh-size: 30px; }
  .mlk-une-share i, .mlk-une-plus i { font-size: 13px; }
}
@media (max-width: 600px) {
  html #mlk-une { --peek: var(--peek-m); --mlk-une-w: var(--mlk-une-w-m); }
}
