#music-player {
  position: fixed !important;
  bottom: 14px !important;
  left: 14px !important;
  z-index: 999999999 !important;
  pointer-events: none;
  transform: none !important;
  -webkit-transform: none !important;
}

/* Toggle Icon */
#music-toggle {
  position: fixed !important;
  bottom: 14px !important;
  left: 14px !important;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(55,65,81,0.9);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #e5e7eb;
  font-size: 1rem;
  pointer-events: auto;
  z-index: 999999999;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* Hover Glow */
#music-toggle:hover {
  box-shadow: 0 0 12px #f97316;
}

/* Animation bei Wiedergabe */
#music-toggle.is-playing {
  animation: pulseGlow 1.2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 6px #f97316; transform: scale(1); }
  50% { box-shadow: 0 0 18px #fb923c; transform: scale(1.08); }
  100% { box-shadow: 0 0 6px #f97316; transform: scale(1); }
}

/* Panel mit Smooth Fade */
#music-panel {
  position: fixed !important;
  bottom: 60px !important;
  left: 14px !important;
  width: 240px;
  padding: 0.55rem 0.7rem;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(55,65,81,0.7);
  border-radius: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  pointer-events: none;
}

#music-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Play/Pause Button */
#toggle-btn {
  border: none;
  background: rgba(30,41,59,0.9);
  color: #e5e7eb;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
}

#toggle-btn:hover {
  background: rgba(71,85,105,0.9);
}

/* Progress + Time */
.music-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

#progress-bar {
  width: 100%;
  height: 4px;
}

.music-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #9ca3af;
}

/* Volume */
.music-volume input {
  width: 55px;
  height: 4px;
  appearance: none;
  background: rgba(55,65,81,0.7);
  border-radius: 4px;
}

.music-volume input::-webkit-slider-thumb,
.music-volume input::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: #f97316;
  border-radius: 50%;
  cursor: pointer;
}
