
/* Playlist page only - isolated to avoid conflict with style.css */
.playlist-shell{
  padding: 28px 0 42px;
}
.playlist-hero{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:22px;
  margin: 8px 0 24px;
}
.playlist-hero__copy,
.playlist-hero__card,
.playlist-section,
.site-footer-xlove .footer-panel{
  background: color-mix(in srgb,var(--surface) 85%,transparent);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.playlist-hero__copy,
.playlist-hero__card,
.playlist-section{
  padding: 26px;
}
.playlist-badge{
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(212,175,55,.12);
  border:1px solid rgba(212,175,55,.28);
  color:var(--gold2);
  font-size:13px;
  font-weight:800;
  margin-bottom:14px;
}
.playlist-hero__copy h1{
  margin:0 0 14px;
  font-size:clamp(2.2rem,4vw,3.6rem);
  line-height:1.05;
}
.playlist-hero__copy p,
.playlist-section__head p,
.playlist-card p,
.playlist-note,
.playlist-tip span{
  color:var(--muted);
}
.playlist-hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}
.playlist-hero__visual{
  display:grid;
}
.playlist-hero__card{
  display:grid;
  align-content:center;
  gap:14px;
  text-align:center;
}
.playlist-hero__card img{
  width:min(100%,320px);
  margin:0 auto;
}
.playlist-hero__card h2{
  margin:0;
  color:var(--gold2);
}

.playlist-section{
  margin-bottom:24px;
}
.playlist-section__head{
  margin-bottom:18px;
}
.playlist-section__head h3{
  margin:0 0 8px;
  font-size:clamp(1.8rem,3vw,2.5rem);
}
.playlist-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.playlist-card{
  border:1px solid var(--line);
  border-radius:24px;
  background:color-mix(in srgb,var(--surface) 78%,transparent);
  padding:22px;
  min-width:0;
}
.playlist-tag{
  display:inline-flex;
  padding:7px 11px;
  border-radius:12px;
  background:#111;
  border:1px solid rgba(212,175,55,.4);
  color:#f0d67f;
  font-size:14px;
  font-weight:700;
}
.playlist-card h4{
  margin:14px 0 10px;
  font-size:28px;
}
.playlist-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:14px 0 18px;
}
.playlist-meta span{
  border:1px solid var(--line);
  background:color-mix(in srgb,var(--surface2) 70%,transparent);
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
}
.playlist-note{
  margin:14px 0 0;
  font-size:15px;
  line-height:1.6;
}

.xp-player{
  border:1px solid rgba(212,175,55,.16);
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(14,14,20,.98), rgba(7,7,10,.98));
  box-shadow:0 18px 44px rgba(0,0,0,.34);
}
.xp-stage{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#000;
}
.xp-video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  background:#000;
}
.xp-video::-webkit-media-controls{ display:none !important; }
.xp-video::-webkit-media-controls-start-playback-button{ display:none !important; }
.xp-video::-webkit-media-controls-overlay-play-button{ display:none !important; }

.xp-overlay-play{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:72px;
  height:72px;
  border-radius:50%;
  border:0;
  background:linear-gradient(180deg,var(--gold2),var(--gold));
  color:#111;
  font-size:26px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 12px 26px rgba(0,0,0,.35);
  cursor:pointer;
  z-index:2;
}
.xp-overlay-play.is-hidden{
  opacity:0;
  pointer-events:none;
}

.xp-controls{
  padding:16px;
}
.xp-progress{
  width:100%;
  -webkit-appearance:none;
  appearance:none;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  cursor:pointer;
}
.xp-progress::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:18px;
  height:18px;
  border-radius:50%;
  border:0;
  background:linear-gradient(180deg,var(--gold2),var(--gold));
}
.xp-progress::-moz-range-thumb{
  width:18px;
  height:18px;
  border-radius:50%;
  border:0;
  background:linear-gradient(180deg,var(--gold2),var(--gold));
}
.xp-time{
  display:flex;
  justify-content:space-between;
  font-size:13px;
  color:var(--muted);
  margin-top:8px;
}
.xp-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.xp-btn{
  min-height:52px;
  border-radius:18px;
  border:1px solid var(--line);
  background:color-mix(in srgb,var(--surface2) 78%,transparent);
  color:var(--text);
  font:inherit;
  font-weight:800;
  cursor:pointer;
  padding:12px 14px;
}
.xp-btn--primary{
  background:linear-gradient(180deg,var(--gold2),var(--gold));
  color:#0b0b0f;
  border:0;
}
.xp-volume-row{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:12px;
  align-items:center;
  margin-top:14px;
}
.xp-volume-row input{
  width:100%;
}

.playlist-tips{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.playlist-tip{
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  background:color-mix(in srgb,var(--surface) 78%,transparent);
}
.playlist-tip strong{
  display:block;
  margin-bottom:8px;
  color:var(--gold2);
}

@media (max-width: 980px){
  .playlist-hero,
  .playlist-grid,
  .playlist-tips{
    grid-template-columns:1fr;
  }
}
@media (max-width: 768px){
  .playlist-shell{
    padding:18px 0 34px;
  }
  .playlist-hero__copy,
  .playlist-hero__card,
  .playlist-section,
  .playlist-card{
    padding:18px;
  }
  .xp-stage{
    aspect-ratio: 16/10;
  }
  .xp-overlay-play{
    width:64px;
    height:64px;
    font-size:22px;
  }
  .xp-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 520px){
  .playlist-shell .container{
    padding:0 12px;
  }
  .playlist-hero__copy h1{
    font-size:clamp(2rem,10vw,3rem);
  }
  .xp-stage{
    aspect-ratio:1/1;
  }
  .xp-overlay-play{
    width:58px;
    height:58px;
    font-size:20px;
  }
}
