.lounge-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  background: var(--bg-raised, rgba(22,27,34,0.9));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-muted, rgba(255,255,255,0.5));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.lounge-toggle:hover { background: var(--bg-surface, #1c2128); color: var(--text-bright, #fff); }
.lounge-toggle.active {
  background: var(--copper, #DE6D48);
  color: white;
  border-color: var(--copper, #DE6D48);
  transform: scale(1.08);
}
.lounge-toggle svg { width: 20px; height: 20px; }

.lounge-panel {
  position: fixed;
  bottom: 84px;
  right: 24px;
  z-index: 300;
  width: 280px;
  background: var(--bg-raised, rgba(22,27,34,0.97));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  overflow: hidden;
  display: none;
  animation: lounge-in 0.2s ease-out;
}
.lounge-panel.open { display: block; }

@keyframes lounge-in {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lounge-header { padding: 16px 16px 8px; }
.lounge-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted, rgba(255,255,255,0.35));
}
.lounge-track {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-bright, #fff);
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
}
.lounge-track-scroll {
  display: inline-block;
  animation: lounge-scroll 8s linear infinite;
}
@keyframes lounge-scroll {
  0% { transform: translateX(0); }
  10% { transform: translateX(0); }
  90% { transform: translateX(var(--scroll-dist, -50%)); }
  100% { transform: translateX(var(--scroll-dist, -50%)); }
}

.lounge-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
}
.lounge-ctrl {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted, rgba(255,255,255,0.5));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.lounge-ctrl:hover { color: var(--text-bright, #fff); background: rgba(255,255,255,0.08); }
.lounge-ctrl svg { width: 16px; height: 16px; }

.lounge-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--copper, #DE6D48);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.lounge-play:hover { background: var(--copper-light, #e8916a); }
.lounge-play svg { width: 18px; height: 18px; }

.lounge-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 16px;
}
.lounge-volume button {
  background: none;
  border: none;
  color: var(--text-muted, rgba(255,255,255,0.5));
  cursor: pointer;
  padding: 0;
  display: flex;
  transition: color 0.15s;
}
.lounge-volume button:hover { color: var(--text-bright, #fff); }
.lounge-volume button svg { width: 16px; height: 16px; }

.lounge-volume input[type="range"] {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.12);
  outline: none;
  cursor: pointer;
}
.lounge-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--copper, #DE6D48);
  cursor: pointer;
}
.lounge-volume input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--copper, #DE6D48);
  border: none;
  cursor: pointer;
}
