#playlist-section {
  padding: 24px 20px;
  background: rgba(255,255,255,0.3);
}

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

#playlist-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.playlist-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

#btn-delete-current {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--danger);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.1s;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.8), 0 2px 4px rgba(0,0,0,0.1);
}

#btn-delete-current svg {
  width: 24px;
  height: 24px;
}

#btn-delete-current:active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

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

.playlist-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #e6e6e6 100%);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.1s;
}

.playlist-track.current {
  background: linear-gradient(180deg, #d4e3f2 0%, #9cbddd 100%);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5), 0 2px 4px rgba(0,0,0,0.2);
}

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

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

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

.playlist-track.current .playlist-track-name {
  color: #000;
  font-weight: 800;
}

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

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

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

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

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

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