/* css/playlist-overlay.css */

/* full-page semi-transparent backdrop */
.playlist-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
}

/* slide-up playlist panel */
.playlist-slide {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  max-height: 80vh;
  background: #fff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  z-index: 1000;
}

/* “open” state */
.playlist-overlay.open {
  opacity: 1;
  visibility: visible;
}
.playlist-slide.open {
  transform: translateY(0);
}

.znz-playlist-toggle {
width: 100px;
height: 100px;
background-color: #2f0;
position: absolute;
z-index: 9999;
display: block;
right: 0;
}