/* Mini Player */
.mini-player {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  z-index: 1001;
  color: white;
  user-select: none;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}

.mini-player img {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.mini-player .song-info {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  text-overflow: ellipsis;
}

.mini-player #songTitle {
  font-weight: 700;
  font-size: 1rem;
}

.mini-player #songArtist {
  font-size: 0.85rem;
  opacity: 0.8;
}

.mini-player button {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mini-player button:hover,
.mini-player button:focus {
  color: #4CAF50;
  outline: none;
}

.mini-player input[type=range] {
  width: min(100px, 30vw);
  cursor: pointer;
  accent-color: #4CAF50;
}

#muteBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  user-select: none;
}

/* Scroll animation span - applied only via JS when overflow */
.song-info span {
  display: inline-block;
  white-space: nowrap;
  padding-left: 0;
  animation: none;
}

@keyframes scroll-left {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}
