.track-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.track-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line, #ddd6c8);
  cursor: pointer;
  background: transparent !important;
}

.track-item .track-title {
  color: var(--ink, #161513);
  font-weight: 500;
}

.track-item .track-artist,
.track-item .track-duration,
.track-item .track-number {
  color: var(--muted, #6a6560);
  font-size: 0.85rem;
}

.add-to-queue-btn,
.clear-queue-btn,
.fixed-player button {
  border: 0;
  background: none;
  color: var(--muted, #6a6560);
  font-family: inherit;
  cursor: pointer;
}

.add-to-queue-btn:hover,
.fixed-player button:hover,
.clear-queue-btn:hover {
  color: var(--accent, #1f4f4a);
}

.fixed-player {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: none;
  flex-direction: column;
  gap: 8px;
  width: 300px;
  padding: 12px 14px;
  background: var(--surface, #fffcf6);
  border: 1px solid var(--line, #ddd6c8);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(22, 21, 19, 0.12);
}

.fixed-player.visible {
  display: flex;
}

.fixed-player .player-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-bar {
  flex: 1;
  height: 3px;
  background: var(--line, #ddd6c8);
  border-radius: 99px;
  cursor: pointer;
}

.progress-bar .progress {
  height: 100%;
  width: 0;
  background: var(--accent, #1f4f4a);
  border-radius: 99px;
}

.time-current {
  min-width: 36px;
  color: var(--muted, #6a6560);
  font-size: 0.75rem;
}

.queue-panel {
  position: fixed;
  right: 18px;
  bottom: 118px;
  z-index: 61;
  display: flex;
  flex-direction: column;
  width: 300px;
  max-height: 340px;
  overflow: hidden;
  background: var(--surface, #fffcf6);
  border: 1px solid var(--line, #ddd6c8);
  border-radius: 16px;
  opacity: 0;
  pointer-events: none;
}

.queue-panel.open {
  opacity: 1;
  pointer-events: auto;
}

.queue-header {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line, #ddd6c8);
}

.queue-header h3 {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.queue-list {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: auto;
}

.queue-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  cursor: pointer;
}

.queue-badge {
  display: none;
}

@media screen and (max-width: 767px) {
  .fixed-player,
  .queue-panel {
    left: 10px;
    right: 10px;
    width: auto;
  }
}
