/* Extracted / regenerated for music/artist.php */

body[data-page="artist"] .bio-wrap{
  background:linear-gradient(180deg,#141824,#0f111a);
  padding:24px;
  border-radius:12px;
  box-shadow:0 6px 22px rgba(0,0,0,.25);
  color:#f2f4f7;
  line-height:1.75;
  font-size:16.5px;
  overflow:hidden;
  margin-top:20px;
  display:none;
  animation:fadeIn .3s ease;
}

body[data-page="artist"] .bio-photo{
  float:left;
  width:230px;
  margin:0 18px 10px 0;
  text-align:left;
}

body[data-page="artist"] .bio-photo img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
  box-shadow:0 4px 18px rgba(0,0,0,.25);
}

body[data-page="artist"] .bio-photo figcaption{
  font-size:12px;
  color:#9aa0b1;
  font-style:italic;
  opacity:.8;
  margin-top:4px;
}

body[data-page="artist"] .bio-text p{
  margin:0 0 1em;
  text-align:justify;
  letter-spacing:.02em;
}

body[data-page="artist"] .bio-text p:last-child{
  margin-bottom:0;
}

body[data-page="artist"] .bio-hide-btn{
  display:block;
  margin:30px auto 0;
  padding:10px 18px;
  border-radius:10px;
  border:2px solid #8aa4ff;
  background:rgba(18,18,34,.9);
  color:#ffffff;
  font-weight:700;
  cursor:pointer;
  text-align:center;
  box-shadow:0 0 8px rgba(138,164,255,.4);
  transition:all .25s ease;
}

body[data-page="artist"] .bio-hide-btn:hover{
  background:rgba(138,164,255,.15);
  color:#8aa4ff;
  box-shadow:0 0 12px rgba(138,164,255,.6);
  transform:translateY(-1px);
}

@keyframes fadeIn{
  from{ opacity:0; transform:translateY(8px); }
  to{ opacity:1; transform:translateY(0); }
}

@media (max-width:700px){
  body[data-page="artist"] .bio-photo{
    float:none;
    width:100%;
    margin:0 0 12px 0;
  }
}

body[data-page="artist"] .bio-cta{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background:none;
  cursor:pointer;
  font:inherit;
  outline:none;
  display:block;
  padding:10px 18px;
  border-radius:10px;
  border:2px solid #8aa4ff;
  background:rgba(18,18,34,.88);
  color:#ffffff;
  font-weight:700;
  text-align:center;
  box-shadow:0 0 8px rgba(138,164,255,.35);
  transition:all .25s ease;
}

body[data-page="artist"] .bio-cta:hover{
  background:rgba(138,164,255,.15);
  color:#8aa4ff;
  box-shadow:0 0 12px rgba(138,164,255,.55);
  transform:translateY(-1px);
}

body[data-page="artist"] .bio-cta.is-open{
  box-shadow:0 0 12px rgba(138,164,255,.55), 0 0 0 2px rgba(138,164,255,.3) inset;
}

/* =========================
   HERO ARTIST
========================= */

body[data-page="artist"] .artist-hero{
  position:relative;
  margin:12px 0 28px;
  border-radius:14px;
  overflow:hidden;
  background:#000;
  box-shadow:
    0 20px 50px rgba(0,0,0,.42),
    0 8px 22px rgba(0,0,0,.22);
}

body[data-page="artist"] .artist-hero-bg{
  width:100%;
  height:450px;
  display:block;
  object-fit:cover;
  object-position:center;
  border-radius:14px;
  filter:
    contrast(1.02)
    saturate(1.02)
    brightness(.98);
}

body[data-page="artist"] .artist-hero-overlay{
  position:absolute;
  inset:0;
  border-radius:14px;
  z-index:1;
}

/* overlay léger : image presque comme avant */
body[data-page="artist"] .artist-hero-overlay::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.56) 0%,
      rgba(0,0,0,.22) 34%,
      rgba(0,0,0,.06) 58%,
      rgba(0,0,0,0) 76%
    ),
    linear-gradient(
      to right,
      rgba(0,0,0,.40) 0%,
      rgba(0,0,0,.18) 24%,
      rgba(0,0,0,.08) 44%,
      rgba(0,0,0,0) 72%
    );
}

/* léger vignettage premium */
body[data-page="artist"] .artist-hero::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    inset 0 -80px 120px rgba(0,0,0,.16),
    inset 0 0 90px rgba(0,0,0,.18);
}

body[data-page="artist"] .artist-hero-inner{
  position:relative;
  z-index:2;
  height:100%;
  min-height:450px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  padding:34px 28px 34px;
}

body[data-page="artist"] .artist-hero-content{
  width:min(760px, 100%);
  padding:0;
  background:none;
  backdrop-filter:none;
  border:none;
  box-shadow:none;
}

body[data-page="artist"] .artist-hero-title{
  margin:0 0 10px;
  color:#fff;
  font-weight:900;
  line-height:.95;
  letter-spacing:-.03em;
  font-size:clamp(2rem, 3vw, 4rem);
  text-shadow:
    0 3px 10px rgba(0,0,0,.55),
    0 10px 30px rgba(0,0,0,.35);
}

body[data-page="artist"] .artist-hero-sub{
  margin:0 0 18px;
  color:rgba(255,255,255,.92);
  font-size:clamp(0.9rem, 0.9vw, 0.9rem);
  line-height:1.2;
  text-shadow:0 2px 10px rgba(0,0,0,.42);
}

body[data-page="artist"] .artist-hero-meta{
  color:rgba(255,255,255,.9);
  font-size:clamp(0.9rem, 0.9vw, 0.9rem);
  line-height:1.75;
  text-shadow:0 2px 10px rgba(0,0,0,.4);
  max-width:70ch;
}

body[data-page="artist"] .artist-hero-credit{
  position:absolute;
  right:20px;
  bottom:16px;
  z-index:2;
  font-size:.78rem;
  color:rgba(255,255,255,.68);
  text-shadow:0 1px 8px rgba(0,0,0,.4);
}

/* tons dynamiques si ton JS garde data-hero-tone */
body[data-page="artist"] .artist-hero[data-hero-tone="light"] .artist-hero-overlay::before{
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.62) 0%,
      rgba(0,0,0,.28) 34%,
      rgba(0,0,0,.10) 58%,
      rgba(0,0,0,0) 76%
    ),
    linear-gradient(
      to right,
      rgba(0,0,0,.48) 0%,
      rgba(0,0,0,.22) 24%,
      rgba(0,0,0,.08) 44%,
      rgba(0,0,0,0) 72%
    );
}

body[data-page="artist"] .artist-hero[data-hero-tone="dark"] .artist-hero-overlay::before{
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.46) 0%,
      rgba(0,0,0,.18) 34%,
      rgba(0,0,0,.04) 58%,
      rgba(0,0,0,0) 76%
    ),
    linear-gradient(
      to right,
      rgba(0,0,0,.34) 0%,
      rgba(0,0,0,.14) 24%,
      rgba(0,0,0,.04) 44%,
      rgba(0,0,0,0) 72%
    );
}

/* =========================
   DISCographie
========================= */

body[data-page="artist"] .grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
  gap:18px;
  align-items:stretch;
}

body[data-page="artist"] .grid .card{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.05);
  border-radius:12px;
  overflow:hidden;
  text-align:center;
  transition:transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

body[data-page="artist"] .grid .card:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.12);
  box-shadow:0 14px 40px rgba(0,0,0,.28);
}

body[data-page="artist"] .grid .card .thumb{
  position:relative;
  aspect-ratio:1/1;
  border-radius:12px;
  overflow:hidden;
}

body[data-page="artist"] .grid .card .cover{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  background:#0b0b10;
}

body[data-page="artist"] .grid .card .meta{
  padding:10px;
  text-align:center;
}

body[data-page="artist"] .grid .card .meta .title{
  color:#c0c0c0 !important;
  text-decoration:none !important;
  font-weight:700;
  margin:0;
  font-size:1.05rem;
}

body[data-page="artist"] .grid .card .meta .sub{
  color:#ffffff !important;
  font-size:.9rem;
  margin:4px 0 0;
  text-decoration:none;
}

body[data-page="artist"] .grid .card .link{
  text-decoration:none !important;
  color:inherit;
  display:block;
}

@media (max-width:1024px){
  body[data-page="artist"] .grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
    gap:18px;
    align-items:stretch;
    overflow:visible;
    padding:0;
    margin:0;
    scroll-snap-type:none;
  }

  body[data-page="artist"] .grid::-webkit-scrollbar{
    display:none;
  }

  body[data-page="artist"] .grid .card{
    flex:none;
    max-width:none;
    scroll-snap-align:none;
  }

  body[data-page="artist"] .grid .card .meta{
    text-align:center;
  }
}

@media (max-width:768px){
  body[data-page="artist"] .grid{
    grid-template-columns:repeat(2,1fr);
    gap:14px;
  }

  body[data-page="artist"] .grid .card .meta .title{
    font-size:1rem;
  }
}

/* =========================
   CARROUSEL DISCographie
========================= */

body[data-page="artist"] .artist-discog{
  position:relative;
  padding:6px 0 18px;
  overflow:hidden;
  margin-top:48px;
}

body[data-page="artist"] .artist-discog__content{
  max-width:980px;
  margin:0 auto 10px;
  text-align:center;
}

body[data-page="artist"] .artist-discog__heading{
  margin-top:4px;
  margin-bottom:10px;
}

body[data-page="artist"] .artist-discog__heading h2{
  margin:0;
}

body[data-page="artist"] .artist-discog .hero-albums__stage{
  position:relative;
  padding:0 56px;
}

body[data-page="artist"] .artist-discog .hero-albums__track{
  position:relative;
  min-height:292px;
  padding:0;
  outline:none;
}

body[data-page="artist"] .artist-discog .hero-albums__slide{
  --offset:0;
  --slide-shift:220px;
  position:absolute;
  top:50%;
  left:50%;
  width:min(16vw,180px);
  aspect-ratio:.72;
  transform:translate3d(calc(-50% + (var(--offset) * var(--slide-shift))), -50%, 0) rotateY(calc(var(--offset) * -6deg)) scale(.9);
  transform-origin:center center;
  opacity:.38;
  filter:blur(0) saturate(.95) brightness(.82);
  z-index:1;
  pointer-events:none;
  transition:transform .45s cubic-bezier(.22,.61,.36,1), opacity .35s ease, filter .35s ease;
}

body[data-page="artist"] .artist-discog .hero-albums__slide.is-visible{
  pointer-events:auto;
}

body[data-page="artist"] .artist-discog .hero-albums__slide.is-near{
  opacity:.88;
  filter:none;
  z-index:2;
  transform:translate3d(calc(-50% + (var(--offset) * var(--slide-shift))), -50%, 0) rotateY(calc(var(--offset) * -4deg)) scale(.94);
}

body[data-page="artist"] .artist-discog .hero-albums__slide.is-active{
  width:min(26vw,300px);
  aspect-ratio:1;
  opacity:1;
  filter:none;
  z-index:3;
  transform:translate3d(-50%,-50%,0) rotateY(0deg) scale(1);
}

body[data-page="artist"] .artist-discog .hero-albums__slide.is-hidden{
  pointer-events:none;
  opacity:0;
}

body[data-page="artist"] .artist-discog .hero-albums__card{
  position:relative;
  display:block;
  width:100%;
  height:100%;
  border-radius:30px;
  overflow:hidden;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 24px 60px rgba(0,0,0,.38);
  color:#fff;
  text-decoration:none;
}

body[data-page="artist"] .artist-discog .hero-albums__card:focus-visible{
  outline:2px solid rgba(255,255,255,.55);
  outline-offset:4px;
}

body[data-page="artist"] .artist-discog .hero-albums__card img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

body[data-page="artist"] .artist-discog .hero-albums__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.03) 0%, rgba(0,0,0,.12) 42%, rgba(0,0,0,.72) 100%);
}

body[data-page="artist"] .artist-discog .hero-albums__meta{
  position:absolute;
  left:22px;
  right:22px;
  bottom:20px;
  display:grid;
  gap:6px;
}

body[data-page="artist"] .artist-discog .hero-albums__artist{
  font-size:1rem;
  color:rgba(255,255,255,.82);
}

body[data-page="artist"] .artist-discog .hero-albums__title{
  display:block;
  max-width:calc(100% - 86px);
  font-size:clamp(1.4rem,2vw,2.25rem);
  line-height:1.04;
  overflow-wrap:anywhere;
}

body[data-page="artist"] .artist-discog .hero-albums__play{
  position:absolute;
  right:0;
  bottom:2px;
  width:70px;
  height:70px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.18);
  backdrop-filter:blur(10px);
  font-size:1.55rem;
}

body[data-page="artist"] .artist-discog .hero-albums__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
  width:48px;
  height:48px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:1.7rem;
  cursor:pointer;
}

body[data-page="artist"] .artist-discog .hero-albums__nav--prev{ left:8px; }
body[data-page="artist"] .artist-discog .hero-albums__nav--next{ right:8px; }

body[data-page="artist"] .artist-discog .hero-albums__dots{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
}

body[data-page="artist"] .artist-discog .hero-albums__dot{
  width:11px;
  height:11px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  background:rgba(255,255,255,.24);
  transition:transform .2s ease, background .2s ease, opacity .2s ease;
}

body[data-page="artist"] .artist-discog .hero-albums__dot.is-active{
  background:#fff;
  transform:scale(1.18);
}

body[data-page="artist"] .artist-discog .hero-albums__slide:not(.is-active) .hero-albums__artist,
body[data-page="artist"] .artist-discog .hero-albums__slide:not(.is-active) .hero-albums__title{
  opacity:0 !important;
  visibility:hidden !important;
}

body[data-page="artist"] .artist-discog .hero-albums__slide.is-active .hero-albums__artist,
body[data-page="artist"] .artist-discog .hero-albums__slide.is-active .hero-albums__title{
  opacity:1 !important;
  visibility:visible !important;
}

@media (max-width:1180px){
  body[data-page="artist"] .artist-discog .hero-albums__track{
    min-height:284px;
  }

  body[data-page="artist"] .artist-discog .hero-albums__slide{
    --slide-shift:190px;
    width:min(18vw,190px);
  }

  body[data-page="artist"] .artist-discog .hero-albums__slide.is-active{
    width:min(38vw,390px);
  }
}

@media (max-width:980px){
  body[data-page="artist"] .artist-hero-bg{
    height:420px;
  }

  body[data-page="artist"] .artist-hero-inner{
    min-height:420px;
    align-items:flex-end;
    justify-content:flex-start;
    padding:28px 22px 26px;
  }

  body[data-page="artist"] .artist-hero-content{
    width:min(100%, 640px);
    text-align:left;
  }

  body[data-page="artist"] .artist-hero-title{
    font-size:clamp(2rem, 3vw, 4rem);
  }

  body[data-page="artist"] .artist-hero-sub{
    font-size:clamp(0.9rem, 0.9vw, 0.9rem);
  }

  body[data-page="artist"] .artist-hero-meta{
    font-size:clamp(0.9rem, 0.9vw, 0.9rem);
    line-height:1.6;
    margin:0;
    max-width:50ch;
    white-space:normal;
  }

  body[data-page="artist"] .artist-hero-meta br{
    display:block;
  }
}

  body[data-page="artist"] .artist-discog,
  body[data-page="artist"] .artist-discog .hero-albums__stage,
  body[data-page="artist"] .artist-discog .hero-albums__track{
    overflow-anchor:none;
  }

  body[data-page="artist"] .artist-discog{
    padding:4px 0 14px;
  }

  body[data-page="artist"] .artist-discog .hero-albums__stage{
    padding:0;
  }

  body[data-page="artist"] .artist-discog .hero-albums__nav{
    display:none;
  }

  body[data-page="artist"] .artist-discog .hero-albums__track{
    position:relative;
    display:flex;
    align-items:stretch;
    gap:10px;
    min-height:0;
    padding:4px max(18px, 7vw) 10px;
    overflow-x:auto;
    overflow-y:visible;
    scroll-snap-type:x proximity;
    scroll-padding-inline:max(18px, 7vw);
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    touch-action:auto !important;
    overscroll-behavior-x:contain !important;
    overscroll-behavior-y:auto !important;
  }

  body[data-page="artist"] .artist-discog .hero-albums__track::-webkit-scrollbar{
    display:none;
  }

  body[data-page="artist"] .artist-discog .hero-albums__slide,
  body[data-page="artist"] .artist-discog .hero-albums__slide.is-near,
  body[data-page="artist"] .artist-discog .hero-albums__slide.is-active,
  body[data-page="artist"] .artist-discog .hero-albums__slide.is-hidden,
  body[data-page="artist"] .artist-discog .hero-albums__slide.is-visible{
    position:relative;
    top:auto;
    left:auto;
    flex:0 0 min(64vw,360px);
    width:min(64vw,360px);
    aspect-ratio:.94;
    opacity:1;
    z-index:auto;
    pointer-events:auto;
    filter:none;
    transform:none;
    scroll-snap-align:center;
    scroll-snap-stop:always;
    transition:opacity .26s ease;
  }

  body[data-page="artist"] .artist-discog .hero-albums__slide .hero-albums__card{
    transform:scale(.84);
    transform-origin:center center;
    transition:transform .28s ease, opacity .28s ease;
  }

  body[data-page="artist"] .artist-discog .hero-albums__slide.is-active .hero-albums__card{
    transform:scale(1);
  }

  body[data-page="artist"] .artist-discog .hero-albums__slide:not(.is-active){
    opacity:.9;
  }

  body[data-page="artist"] .artist-discog .hero-albums__card{
    border-radius:26px;
    min-height:320px;
  }

  body[data-page="artist"] .artist-discog .hero-albums__meta{
    left:16px;
    right:16px;
    bottom:16px;
    gap:4px;
  }

  body[data-page="artist"] .artist-discog .hero-albums__artist{
    font-size:.95rem;
  }

  body[data-page="artist"] .artist-discog .hero-albums__title{
    max-width:calc(100% - 72px);
    font-size:clamp(1.2rem, 3.7vw, 1.9rem);
    line-height:1.02;
  }

  body[data-page="artist"] .artist-discog .hero-albums__play{
    width:56px;
    height:56px;
    font-size:1.2rem;
  }
}

@media (max-width:700px){
  body[data-page="artist"] .artist-hero{
    border-radius:18px;
  }

  body[data-page="artist"] .artist-hero-bg{
    height:470px;
    border-radius:18px;
    object-position:center top;
  }

  body[data-page="artist"] .artist-hero-overlay{
    border-radius:18px;
  }

  body[data-page="artist"] .artist-hero-overlay::before{
    background:
      linear-gradient(
        to top,
        rgba(0,0,0,.72) 0%,
        rgba(0,0,0,.32) 34%,
        rgba(0,0,0,.10) 58%,
        rgba(0,0,0,0) 80%
      ),
      linear-gradient(
        to right,
        rgba(0,0,0,.18) 0%,
        rgba(0,0,0,.08) 24%,
        rgba(0,0,0,0) 58%
      );
  }

  body[data-page="artist"] .artist-hero-inner{
    min-height:470px;
    align-items:flex-end;
    justify-content:flex-start;
    padding:18px 16px 18px;
  }

  body[data-page="artist"] .artist-hero-content{
    width:100%;
    max-width:none;
    text-align:left;
    padding:0;
  }

  body[data-page="artist"] .artist-hero-title{
    font-size:clamp(2rem, 3vw, 4rem);
    line-height:.96;
    margin-bottom:10px;
  }

  body[data-page="artist"] .artist-hero-sub{
    font-size:clamp(0.9rem, 0.9vw, 0.9rem);
    margin-bottom:14px;
  }

  body[data-page="artist"] .artist-hero-meta{
    font-size:clamp(0.9rem, 0.9vw, 0.9rem);
    line-height:1.6;
    max-width:50ch;
    margin:0;
    white-space:normal;
  }

  body[data-page="artist"] .artist-hero-meta br{
    display:block;
  }
}

  body[data-page="artist"] .artist-hero-credit{
    right:12px;
    bottom:10px;
    font-size:.7rem;
  }

  body[data-page="artist"] .bio-cta{
    padding:10px 16px;
  }

  body[data-page="artist"] .artist-discog{
    padding:8px 0 18px;
  }

  body[data-page="artist"] .artist-discog .hero-albums__dots{
    gap:8px;
  }

  body[data-page="artist"] .artist-discog .hero-albums__dot{
    width:10px;
    height:10px;
  }

  body[data-page="artist"] .artist-discog .hero-albums__track{
    gap:8px;
    padding:6px max(14px, 4vw) 12px;
    scroll-padding-inline:max(14px, 4vw);
  }

  body[data-page="artist"] .artist-discog .hero-albums__slide,
  body[data-page="artist"] .artist-discog .hero-albums__slide.is-near,
  body[data-page="artist"] .artist-discog .hero-albums__slide.is-active,
  body[data-page="artist"] .artist-discog .hero-albums__slide.is-hidden,
  body[data-page="artist"] .artist-discog .hero-albums__slide.is-visible{
    flex-basis:min(78vw,320px);
    width:min(78vw,320px);
    aspect-ratio:.98;
  }

  body[data-page="artist"] .artist-discog .hero-albums__slide .hero-albums__card{
    transform:scale(.88);
  }

  body[data-page="artist"] .artist-discog .hero-albums__meta{
    left:14px;
    right:14px;
    bottom:14px;
  }

  body[data-page="artist"] .artist-discog .hero-albums__artist{
    font-size:.88rem;
  }

  body[data-page="artist"] .artist-discog .hero-albums__title{
    max-width:calc(100% - 64px);
    font-size:clamp(1.1rem, 5.2vw, 1.75rem);
  }

  body[data-page="artist"] .artist-discog .hero-albums__play{
    width:50px;
    height:50px;
    font-size:1.1rem;
  }
}