#playlist-section {
  padding: 20px 20px 8px;
  background: var(--bg);
}

#playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

#playlist-header h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#playlist-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

#playlist-tracks {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.playlist-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid transparent;
  transition: all 0.15s;
}

.playlist-track.current {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.12);
}

.playlist-track-num {
  font-size: 0.72rem;
  color: var(--text-muted);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.playlist-track.current .playlist-track-num {
  color: var(--accent-light);
}

.playlist-track-name {
  flex: 1;
  font-size: 0.83rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-track.current .playlist-track-name {
  color: #fff;
  font-weight: 600;
}

.playlist-track-duration {
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.playing-indicator {
  display: none;
  align-items: center;
  gap: 2px;
  height: 16px;
}

.playlist-track.current .playing-indicator {
  display: flex;
}

.playing-indicator span {
  width: 3px;
  background: var(--accent-light);
  border-radius: 2px;
  animation: eq-bar 0.8s ease-in-out infinite;
}

.playing-indicator span:nth-child(1) { height: 6px; animation-delay: 0s; }
.playing-indicator span:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.playing-indicator span:nth-child(3) { height: 8px; animation-delay: 0.3s; }

@keyframes eq-bar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}