/* Контейнер плашки */
#music-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Кнопка с иконкой 🎵 */
.music-bar__toggle {
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.music-bar__toggle:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-1px);
}

/* Меню */
.music-bar__menu {
  margin-left: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

/* Кнопки-иконки внутри меню */
.music-bar__btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.music-bar__btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.music-bar__btn--active {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* На мобайле чуть ниже и компактнее */
@media (max-width: 768px) {
  #music-bar {
    bottom: 10px;
  }
}
