/* ── PLAYER SPECIFIC STYLES ── */
.music-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-height, 70px);
  background: var(--color-surface, #1A1A2E);
  border-top: 1px solid var(--color-border, #2a2a3e);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  gap: 16px;
}

.player-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.player-cover {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--color-border, #2a2a3e);
  flex-shrink: 0;
}

.player-cover-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2a2a3e, #1A1A2E);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.player-info { min-width: 0; }

.player-title {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-artist {
  font-size: 11px;
  color: var(--color-muted, #A0A0B0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1.5;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ctrl-btn {
  background: none;
  border: none;
  color: var(--color-muted, #A0A0B0);
  font-size: 16px;
  cursor: pointer;
  transition: color 150ms;
  display: flex;
  align-items: center;
  padding: 4px;
}

.ctrl-btn:hover { color: #FFFFFF; }

.play-pause-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-orange, #F5921E);
  border: none;
  color: white;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 150ms, transform 150ms;
  box-shadow: 0 2px 10px rgba(245, 146, 30, 0.35);
}

.play-pause-btn:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.player-progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
}

.player-time {
  font-size: 11px;
  color: var(--color-muted, #A0A0B0);
  white-space: nowrap;
  min-width: 32px;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: var(--color-border, #2a2a3e);
  border-radius: 2px;
  overflow: visible;
  cursor: pointer;
  position: relative;
}

.progress-bar:hover .progress-fill::after {
  opacity: 1;
}

.progress-fill {
  height: 100%;
  background: var(--color-orange, #F5921E);
  width: 0%;
  border-radius: 2px;
  transition: width 0.5s linear;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-orange, #F5921E);
  opacity: 0;
  transition: opacity 150ms;
}

.player-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
}

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-icon {
  font-size: 16px;
  color: var(--color-muted, #A0A0B0);
}

.volume-slider {
  width: 80px;
  height: 4px;
  accent-color: var(--color-orange, #F5921E);
  cursor: pointer;
}

.player-queue-btn,
.player-like-btn {
  background: none;
  border: none;
  color: var(--color-muted, #A0A0B0);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color 150ms;
}

.player-queue-btn:hover { color: #FFFFFF; }
.player-like-btn:hover  { color: #e91e63; }
.player-like-btn.liked  { color: #e91e63; }

@media (max-width: 700px) {
  .player-right   { display: none; }
  .player-progress-wrap { max-width: 180px; }
}

@media (max-width: 460px) {
  .player-center { display: none; }
}
