:root{
  --review-sidebar-h: 720px;
  --review-sidebar-w: 420px;
  --review-sticky-offset: calc(var(--header-height, 88px) + 12px);
}

/* ===== BASE ===== */
.latest{
  margin:0;
  padding:0;
}

.review-two-col{
  display:flex;
  gap:24px;
  align-items:flex-start;
}

.review-main{
  flex:1 1 auto;
  min-width:0;
  order:1;
}

.review-sidebar{
  order:2;
  position:relative;
  flex:0 0 var(--review-sidebar-w);
  width:var(--review-sidebar-w);
  min-width:var(--review-sidebar-w);
  max-width:var(--review-sidebar-w);
}

/* ===== ANALYSIS ===== */
.analysis-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:visible;
  margin-top:20px;
  display:none;
  animation:fadeIn .3s ease;
  position:relative;
  z-index:1;
}

.analysis-wrap p{
  margin:0 0 1em;
  text-align:justify;
  letter-spacing:.02em;
}

.analysis-topbar{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:0 0 18px;
  margin:0;
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.analysis-hide-btn,
.analysis-hide-btn-top{
  padding:10px 18px;
  border-radius:10px;
  border:2px solid #8aa4ff;
  background:rgba(18,18,34,.9);
  color:#fff;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 0 0 rgba(138,164,255,.4);
  transition:all .25s ease;
}

.analysis-hide-btn:hover,
.analysis-hide-btn-top:hover{
  background:rgba(138,164,255,.15);
  color:#8aa4ff;
  box-shadow:0 0 12px rgba(138,164,255,.6);
  transform:translateY(-1px);
}

.analysis-hide-btn{
  display:block;
  margin:30px auto 0;
}

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

/* ===== HERO ===== */
.artist-hero{
  position:relative;
  border-radius:14px;
  margin:12px 0 0px;
  background:#000;
  overflow:visible;
  box-shadow:
    0 30px 80px rgba(0,0,0,.75),
    0 10px 30px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.08);
  transform:translateZ(0);
}

.artist-hero-bg{
  width:100%;
  height:450px;
  object-fit:cover;
  border-radius:14px;
  display:block;
  filter:contrast(1.08) saturate(1.12) brightness(1.05);
}

.artist-hero::before{
  content:"";
  position:absolute;
  inset:-20px;
  border-radius:inherit;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 30%, var(--grad-1), transparent 50%),
    radial-gradient(circle at 80% 20%, var(--grad-2), transparent 55%),
    radial-gradient(circle at 50% 100%, var(--grad-3), transparent 60%);
  opacity:.55;
  filter:blur(40px);
}

.artist-hero::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.12), transparent 25%),
    linear-gradient(to top, rgba(0,0,0,.65), transparent 55%);
  mix-blend-mode:soft-light;
}

.artist-hero-overlay{
  position:absolute;
  inset:0;
  border-radius:14px;
  background:linear-gradient(180deg,rgba(0,0,0,.2) 0%,rgba(0,0,0,.75) 70%);
  -webkit-mask-image:linear-gradient(#000 85%,transparent);
  mask-image:linear-gradient(#000 85%,transparent);
  overflow:visible;
  z-index:5;
}

.hero-toolbar{
  position:absolute;
  top:14px;
  right:14px;
  display:flex;
  gap:12px;
  align-items:center;
  z-index:20;
}

.cta{
  appearance:none;
  border:0;
  background:none;
  cursor:pointer;
  font:inherit;
  outline:none;
  padding:10px 18px;
  border-radius:10px;
  border:2px solid #8aa4ff;
  background:rgba(18,18,34,.9);
  color:#fff;
  font-weight:700;
  box-shadow:0 0 8px rgba(138,164,255,.4);
  transition:all .25s ease;
}

.cta:hover{
  background:rgba(138,164,255,.15);
  color:#8aa4ff;
  box-shadow:0 0 12px rgba(138,164,255,.6);
  transform:translateY(-1px);
}

.analysis-cta.is-open{
  box-shadow:0 0 12px rgba(138,164,255,.6), 0 0 0 2px rgba(138,164,255,.35) inset;
}

.info-cta{
  display:none;
}

/* ===== INFO POPOVER ===== */
.info-popover{
  display:none;
  position:absolute;
  z-index:18;
  top:64px;
  right:14px;
  width:min(360px, calc(100% - 28px));
}

.info-popover .info-pop-content{
  border-radius:12px;
  padding:12px;
  background:linear-gradient(180deg,#141824,#0f111a);
  color:#f2f4f7;
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 10px 26px rgba(0,0,0,.35);
}

.info-pop-title{
  font-weight:800;
  margin-bottom:8px;
  color:#fff;
}

.info-pop-row{
  display:flex;
  gap:8px;
  font-size:.95rem;
  margin:6px 0;
  align-items:flex-start;
}

.info-pop-row strong{
  min-width:134px;
  opacity:.9;
}

.info-pop-close{
  margin-top:10px;
  width:100%;
  padding:8px 10px;
  border-radius:10px;
  cursor:pointer;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:700;
}

.info-pop-artist-btn{
  display:block;
  text-align:center;
  margin-top:10px;
  padding:10px 14px;
  border-radius:10px;
  text-decoration:none;
  border:2px solid #8aa4ff;
  background:rgba(18,18,34,.9);
  color:#fff;
  font-weight:700;
  box-shadow:0 0 8px rgba(138,164,255,.4);
  transition:all .25s ease;
}

.info-pop-artist-btn:hover{
  background:rgba(138,164,255,.15);
  color:#8aa4ff;
  box-shadow:0 0 12px rgba(138,164,255,.6);
  transform:translateY(-1px);
}

/* ===== TAGS / META ===== */
.genre-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.genre-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:28px;
  padding:0 10px;
  border-radius:999px;
  text-decoration:none;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  color:#e9edff;
  font-weight:700;
  font-size:.9rem;
  letter-spacing:.1px;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  white-space:nowrap;
}

.genre-tag:hover{
  transform:translateY(-1px);
  border-color:#8aa4ff;
  box-shadow:0 0 0 2px rgba(138,164,255,.2) inset;
  background:rgba(138,164,255,.12);
  color:#fff;
}

.meta-desktop{
  display:block;
  color:#e5e7eb;
}

.meta-line{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:8px;
  margin:6px 0;
}

.meta-line > strong{
  opacity:.95;
}

/* ===== PANEL ===== */
.album-panel{
  display:grid;
  gap:24px;
  align-items:center;
  grid-template-columns:minmax(220px,340px) 1fr;
  background:rgba(255,255,255,.08);
  border-radius:12px;
  padding:16px 18px;
  margin-top:140px;
  backdrop-filter:blur(5px);
  position:relative;
}

.album-cover-wrap{
  max-width:340px;
  border-radius:14px;
  overflow:hidden;
  position:relative;
  z-index:1;
  box-shadow:0 8px 24px rgba(0,0,0,.28);
}

.album-cover{
  width:100%;
  height:auto;
  object-fit:contain;
  display:block;
  border-radius:inherit;
}

.album-info h1{
  color:#fff;
  margin:0;
  font-size:3rem;
  line-height:1.02;
}

.album-title-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.album-note{
  color:#fff;
  background:rgba(255,255,255,0.1);
  border-radius:8px;
  padding:4px 10px;
  font-weight:700;
}

.album-note-badge-mobile{
  display:none;
}

.album-title-mobile{
  display:none;
}

.album-actions{
  margin-top:20px;
}

.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:16px;
  text-decoration:none;
  font-weight:700;
  color:#fff;
  background:rgba(18,18,34,.9);
  border:1px solid rgba(138,164,255,.45);
  box-shadow:0 0 12px rgba(138,164,255,.16);
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn-primary:hover{
  transform:translateY(-1px);
  background:rgba(138,164,255,.12);
  box-shadow:0 0 14px rgba(138,164,255,.28);
}

/* ===== DISCOGRAPHY / CAROUSEL ===== */
.discog-row{
  position:relative;
}

.discog-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 12px;
}

.discog-row-title{
  color:#fff;
  font-size:1.1rem;
  margin:0;
}

.discog-controls{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}

.discog-nav{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:24px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    opacity .18s ease;
}

.discog-nav:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.24);
}

.discog-nav:disabled{
  opacity:.35;
  cursor:default;
  transform:none;
}

.discog-carousel{
  position:relative;
}

.discog-scroll{
  display:flex;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:8px;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -ms-overflow-style:none;
  scrollbar-width:none;
  cursor:grab;
}

.discog-scroll.is-dragging{
  cursor:grabbing;
  user-select:none;
}

.discog-scroll::-webkit-scrollbar{
  display:none;
}

.discog-chip{
  flex:0 0 clamp(180px, 18vw, 230px);
  min-width:0;
  border-radius:16px;
  overflow:hidden;
  text-decoration:none;
  color:#e8e8e8;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:10px;
  scroll-snap-align:start;
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease;
}

.discog-chip:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.20);
  box-shadow:0 12px 28px rgba(0,0,0,.24);
}

.discog-chip.is-current{
  border-color:#8aa4ff;
  box-shadow:0 0 0 3px rgba(138,164,255,.24) inset;
  background:linear-gradient(180deg, rgba(138,164,255,.10), rgba(255,255,255,.03));
}

.discog-chip img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  display:block;
  border-radius:12px;
  background:#000;
}

.discog-name{
  font-size:1rem;
  font-weight:700;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  padding:0 2px 4px;
}

.discog-row--desktop{
  display:block;
}

.discog-row--mobile{
  display:none;
}

/* ===== PREV / NEXT ===== */
.album-neighbors .neighbor-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px;
}

.album-neighbors .neighbor-item{
  height:84px !important;
  min-height:84px !important;
}

.album-neighbors .neighbor-link{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:space-between;
  width:100% !important;
  height:100% !important;
  background:linear-gradient(180deg,rgba(255,255,255,0.08),rgba(255,255,255,0.03));
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  padding:10px 12px;
  color:#eaeaea;
  text-decoration:none;
  box-shadow:0 8px 22px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease, filter .12s ease;
  overflow:hidden !important;
  white-space:nowrap !important;
}

.album-neighbors .neighbor-link:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(0,0,0,.35);
  border-color:rgba(255,255,255,.28);
  background:linear-gradient(180deg,rgba(255,255,255,0.10),rgba(255,255,255,0.04));
  filter:saturate(1.05);
}

.album-neighbors .arrow{
  font-weight:800;
  opacity:.95;
  font-size:16px;
  flex:0 0 auto;
}

.album-neighbors .neighbor-thumb{
  width:48px !important;
  height:48px !important;
  border-radius:10px;
  overflow:hidden;
  background:#000;
  flex:0 0 auto;
  box-shadow:0 4px 12px rgba(0,0,0,.35);
}

.album-neighbors .neighbor-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block !important;
  opacity:1 !important;
  position:relative;
  z-index:1;
}

.album-neighbors .neighbor-texts{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
  flex:1 1 auto;
}

.album-neighbors .label{
  opacity:.85;
  font-size:11px;
}

/* ===== SIDEBAR ===== */
@media (min-width:1025px){
  .review-sidebar{
    position:sticky;
    top:var(--review-sticky-offset);
    align-self:start;
  }

  .review-sidebar .sidebar-scroll{
    height:var(--review-sidebar-h) !important;
    min-height:var(--review-sidebar-h) !important;
    max-height:var(--review-sidebar-h) !important;
    overflow:auto;
    padding-right:6px;
  }

  .review-sidebar .sidebar-scroll::-webkit-scrollbar{
    width:8px;
  }

  .review-sidebar .sidebar-scroll::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.18);
    border-radius:999px;
  }

  .album-neighbors{
    margin-top:12px !important;
  }
}

.sidebar-switch{
  display:flex;
  gap:8px;
  margin-bottom:8px;
}

.switch-btn{
  flex:1;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#eaeaea;
  cursor:pointer;
  font-weight:700;
  transition:all .15s ease;
}

.switch-btn.is-active{
  border-color:#8aa4ff;
  box-shadow:0 0 0 2px rgba(138,164,255,.25) inset;
}

.sidebar-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:12px;
  padding:12px;
}

.sidebar-card + .sidebar-card{
  margin-top:12px;
}

.sidebar-title{
  font-size:1rem;
  color:#fff;
  margin:0;
}

/* ===== TRACKLIST ===== */
.tracklist{
  list-style:none;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:0;
}

.tracklist.compact li{
  background:rgba(255,255,255,0.04);
  border-radius:10px;
  padding:8px 10px;
}

.track-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.track-main{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.track-pos{
  display:inline-grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-weight:800;
  font-size:12px;
  flex:0 0 auto;
}

.track-name{
  color:#f2f2f2;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:200px;
}

.track-actions{
  display:flex;
  gap:6px;
  align-items:center;
}

.btn-lyrics{
  padding:6px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(18,18,34,.85);
  color:#fff;
  font-weight:700;
  cursor:pointer;
  transition:all .2s ease;
  line-height:1;
}

.btn-preview{
  padding:6px 10px;
  border-radius:10px;
  border:1px solid #000;
  background:#000;
  color:#fff;
  font-weight:700;
  cursor:pointer;
  transition:opacity .2s ease, border-color .2s ease;
  line-height:1;
}

.btn-preview:hover{
  opacity:.85;
}

.btn-preview.is-playing{
  border-color:#fff;
}

/* ===== PLAYER ===== */
.sidebarPlayer{
  width:100%;
  margin:0 0 12px 0;
  padding:0;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}

.sidebarPlayer-meta{
  margin-bottom:4px;
  font-size:.85rem;
  color:#e5e7eb;
  font-weight:600;
  text-align:left;
}

.sidebarPlayer-embed{
  width:100%;
  margin:0;
  padding:0;
  border-radius:0;
  overflow:visible;
}

#spotifyEmbed{
  border:none !important;
  border-radius:0 !important;
  background:transparent !important;
}

@media (min-width:1025px){
  .sidebarPlayer{
    position:sticky;
    top:0;
    z-index:40;
  }
}

/* ===== MOBILE ===== */
.analysis-mobile-slot{
  display:none;
}

.mobile-toolbar-slot{
  display:none;
}

.mobile-info-panel{
  display:none;
}

@media (max-width:1024px){
  body{
    padding-bottom:120px !important;
  }

  .sidebarPlayer{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:1000;
    background:rgba(0,0,0,0.85) !important;
    padding:6px 10px;
    border-radius:12px 12px 0 0;
    box-shadow:0 -4px 20px rgba(0,0,0,.5);
    backdrop-filter:blur(8px);
  }

  .container.review-two-col{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .artist-hero-inner.container{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .discog-row--desktop{
    display:none !important;
  }

  .discog-row--mobile{
    display:block !important;
    order:99 !important;
    width:100%;
  }

  .discog-chip{
    flex:0 0 min(72vw, 260px);
  }

  .discog-controls{
    display:none;
  }

  .review-two-col{
    display:flex;
    flex-wrap:wrap;
    gap:0;
  }

  .review-main{
    order:1 !important;
    display:contents;
  }

  .artist-hero{
    order:1 !important;
    width:100%;
    margin:0 !important;
    padding-bottom:0 !important;
  }

  .artist-hero-bg{
    display:none !important;
  }

  .artist-hero-overlay{
    position:relative;
    inset:auto;
    border-radius:0;
    background:transparent;
    -webkit-mask-image:none;
    mask-image:none;
    min-height:72px;
    z-index:5;
  }

  .hero-toolbar{
    position:static;
    top:auto;
    left:auto;
    right:auto;
    padding:0;
    margin:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    z-index:auto;
  }

  .hero-toolbar .cta{
    flex:1 1 0;
    text-align:center;
  }

  .info-cta,
  .analysis-cta{
    margin:0;
  }

  .info-cta{
    display:inline-block;
  }

  .info-popover{
    display:none !important;
  }

  .album-panel{
    grid-template-columns:1fr !important;
    margin:12px auto 0 !important;
    background:transparent !important;
    padding:0 !important;
    max-width:min(560px,100vw) !important;
  }

  .album-cover-wrap{
    width:min(84vw,520px);
    margin:0 auto 6px;
    aspect-ratio:1/1;
    border-radius:12px;
    overflow:visible;
    background:transparent;
    box-shadow:none;
    position:relative;
    z-index:1;
    touch-action:pan-y;
    -webkit-user-select:none;
    user-select:none;
  }

  .album-cover,
  .mobile-info-panel{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    transition:opacity .25s ease, transform .25s ease;
  }

  .album-cover{
    object-fit:contain;
    object-position:center;
    display:block;
    border-radius:inherit;
    opacity:1;
    transform:translateX(0);
    z-index:1;
    background:#000;
    box-shadow:0 8px 24px rgba(0,0,0,.35);
  }

  .mobile-info-panel{
    display:flex;
    align-items:stretch;
    justify-content:stretch;
    padding:4px;
    opacity:0;
    transform:translateX(12px);
    pointer-events:none;
    z-index:2;
  }

  .mobile-info-panel .info-pop-content{
    width:100%;
    max-height:100%;
    overflow:auto;
  }

  .album-cover-wrap.is-showing-info .album-cover{
    opacity:0;
    transform:translateX(-12px);
    pointer-events:none;
  }

  .album-cover-wrap.is-showing-info .mobile-info-panel{
    opacity:1;
    transform:translateX(0);
    pointer-events:auto;
  }

  .album-note-badge-mobile{
    display:inline-flex;
    position:absolute;
    right:10px;
    bottom:10px;
    min-width:44px;
    height:44px;
    padding:0 12px;
    border-radius:999px;
    align-items:center;
    justify-content:center;
    font-weight:800;
    color:#fff;
    background:rgba(0,0,0,.65);
    border:1px solid rgba(255,255,255,.25);
    backdrop-filter:blur(6px);
    z-index:3;
    box-shadow:0 4px 10px rgba(0,0,0,.25);
  }

  .album-title-mobile{
    display:block;
    text-align:center;
    margin:2px 0 0;
  }

  .album-name-mobile{
    margin:0;
    font-size:1.22rem;
    color:#fff;
    font-weight:800;
    letter-spacing:.2px;
    line-height:1.2;
  }

  .album-info,
  .album-title-row,
  .album-actions{
    display:none !important;
  }

  .review-sidebar{
    order:2 !important;
    flex:1 1 100% !important;
    width:auto;
    min-width:0;
    max-width:none;
    margin-top:0 !important;
    padding-top:0 !important;
  }

  .review-sidebar .sidebar-scroll{
    height:auto;
    max-height:none;
    overflow:visible;
    padding-top:0 !important;
    margin-top:0 !important;
  }

  .analysis-mobile-slot{
    display:block;
    margin:0;
    padding:0;
  }

  #analysisSection,
  #mainLyrics{
    order:4 !important;
    width:100%;
  }

  .mobile-toolbar-slot{
    display:block;
    margin:0 0 8px 0;
    padding:0;
  }

  .mobile-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,0.55);
    color:#fff;
    font-size:28px;
    font-weight:700;
    border-radius:999px;
    text-decoration:none;
    z-index:4;
    backdrop-filter:blur(4px);
    border:1px solid rgba(255,255,255,.25);
    transition:background .2s ease, transform .2s ease;
  }

  .mobile-arrow-left{
    left:-52px;
  }

  .mobile-arrow-right{
    right:-52px;
  }

  .mobile-arrow:hover{
    background:rgba(255,255,255,0.15);
    transform:translateY(-50%) scale(1.05);
  }

  .album-neighbors{
    display:none !important;
  }
}

@media (max-width: 640px){
  .album-cover-wrap{
    width:min(80vw,420px);
  }

  .mobile-arrow-left{
    left:-44px;
  }

  .mobile-arrow-right{
    right:-44px;
  }
}

@media (max-width:768px){
  .discog-row-title{
    font-size:1rem;
  }

  .discog-scroll{
    gap:12px;
    padding:6px;
    border-radius:14px;
  }

  .discog-chip{
    flex:0 0 68vw;
    border-radius:14px;
    padding:8px;
  }

  .discog-name{
    font-size:.95rem;
  }
}

@media (min-width:1025px){
  .mobile-arrow{
    display:none !important;
  }
}

/* ===== AUTRES ALBUMS / STYLE INDEX ===== */
body[data-page="review"] .review-discog{
  position:relative;
  padding:6px 0 18px;
  overflow:hidden;
}

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

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

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

body[data-page="review"] .review-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="review"] .review-discog .hero-albums__slide.is-visible{
  pointer-events:auto;
}

body[data-page="review"] .review-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="review"] .review-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="review"] .review-discog .hero-albums__slide.is-hidden{
  pointer-events:none;
  opacity:0;
}

body[data-page="review"] .review-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="review"] .review-discog .hero-albums__card:focus-visible{
  outline:2px solid rgba(255,255,255,.55);
  outline-offset:4px;
}

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

body[data-page="review"] .review-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="review"] .review-discog .hero-albums__meta{
  position:absolute;
  left:22px;
  right:22px;
  bottom:20px;
  display:grid;
  gap:6px;
}

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

body[data-page="review"] .review-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="review"] .review-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="review"] .review-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="review"] .review-discog .hero-albums__nav--prev{ left:8px; }
body[data-page="review"] .review-discog .hero-albums__nav--next{ right:8px; }

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

body[data-page="review"] .review-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="review"] .review-discog .hero-albums__dot.is-active{
  background:#fff;
  transform:scale(1.18);
}

@media (max-width:1180px){
  body[data-page="review"] .review-discog .hero-albums__track{ min-height:284px; }
  body[data-page="review"] .review-discog .hero-albums__slide{ --slide-shift:190px; width:min(18vw,190px); }
  body[data-page="review"] .review-discog .hero-albums__slide.is-active{ width:min(38vw,390px); }
}

@media (max-width:980px){
  body[data-page="review"] .review-discog,
  body[data-page="review"] .review-discog .hero-albums__stage,
  body[data-page="review"] .review-discog .hero-albums__track{
    overflow-anchor:none;
  }

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

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

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

  body[data-page="review"] .review-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;
    overscroll-behavior-x:contain;
    overscroll-behavior-y:contain;
  }

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

  body[data-page="review"] .review-discog .hero-albums__slide,
  body[data-page="review"] .review-discog .hero-albums__slide.is-near,
  body[data-page="review"] .review-discog .hero-albums__slide.is-active,
  body[data-page="review"] .review-discog .hero-albums__slide.is-hidden,
  body[data-page="review"] .review-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="review"] .review-discog .hero-albums__slide .hero-albums__card{
    transform:scale(.84);
    transform-origin:center center;
    transition:transform .28s ease, opacity .28s ease;
  }

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

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

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

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

  body[data-page="review"] .review-discog .hero-albums__artist{ font-size:.95rem; }
  body[data-page="review"] .review-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="review"] .review-discog .hero-albums__play{
    width:56px;
    height:56px;
    font-size:1.2rem;
  }
}

@media (max-width:700px){
  body[data-page="review"] .review-discog{
    padding:8px 0 18px;
  }

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

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

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

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

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

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

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

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


/* ===== Fix carousel position + hide side titles ===== */
body[data-page="artist"] .artist-discog{
  margin-top: 48px;
}

body[data-page="review"] .review-discog{
  margin-top: 48px;
}

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

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


/* ===== Patch: review carousel position + side metadata + mobile placement ===== */
body[data-page="review"] .review-discog{
  margin-top:40px !important;
  padding-top:22px !important;
}

body[data-page="review"] .review-discog__content{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

body[data-page="review"] .review-discog .hero-albums__dots{
  display:none !important;
}

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

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

#reviewDiscogMobileSlot{
  display:none;
}

@media (max-width: 1024px){
  #reviewDiscogMobileSlot{
    display:block;
    margin-top:18px;
  }

  body[data-page="review"] #reviewDiscogMobileSlot .review-discog{
    margin-top:0 !important;
    padding-top:0 !important;
  }
}


/* ===== Patch: hide mobile "Pistes" switch + allow vertical page scroll on review mobile carousel ===== */
@media (max-width: 1024px){
  body[data-page="review"] .sidebar-switch{
    display:none !important;
  }
}

@media (max-width: 980px){
  body[data-page="review"] .review-discog .hero-albums__track{
    touch-action: pan-x pan-y !important;
    overscroll-behavior-y: auto !important;
    overscroll-behavior-x: contain !important;
  }
}

/* ===== Patch: review mobile discography without panel behind album ===== */
@media (max-width: 1024px){
  body[data-page="review"] #reviewDiscogMobileSlot,
  body[data-page="review"] #reviewDiscogMobileSlot .review-discog,
  body[data-page="review"] #reviewDiscogMobileSlot .review-discog__content,
  body[data-page="review"] #reviewDiscogMobileSlot .hero-albums__stage,
  body[data-page="review"] #reviewDiscogMobileSlot .hero-albums__track{
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
  }

  body[data-page="review"] #reviewDiscogMobileSlot .review-discog{
    padding-inline:0 !important;
    margin-inline:0 !important;
  }

  body[data-page="review"] #reviewDiscogMobileSlot .hero-albums__stage{
    padding-inline:0 !important;
  }
}


@media (max-width: 1024px){
  body[data-page="review"] #sidebarTracks .sidebar-card-head{
    display:none !important;
  }
}
