/* The Legacy Builder — background music bar (shared by every page) */
#lp-player {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #0E0E0E;
  border-top: 1px solid rgba(201,168,76,0.25);
  height: 56px;
  display: flex; align-items: center;
  padding: 0 24px; gap: 16px;
  font-family: 'Barlow', Arial, sans-serif;
}
#lp-player[hidden] { display: none; }
body.lp-has-player { padding-bottom: 56px; }

#lp-player .lp-logo {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: #C9A84C; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
#lp-player .lp-logo::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: #C9A84C;
  animation: lp-pulse 2s infinite;
}
#lp-player .lp-logo.paused::before { animation: none; background: #555; }
@keyframes lp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}
#lp-player .lp-track {
  flex: 1; font-size: 12px; color: #888880;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#lp-player .lp-track strong { color: #F0EDE6; font-weight: 500; margin-right: 6px; }
#lp-player .lp-controls { display: flex; align-items: center; gap: 12px; }

#lp-play-btn {
  height: 36px; padding: 0 16px 0 12px; border-radius: 18px;
  background: #C9A84C; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #0A0A0A; font: 700 11px/1 'Barlow Condensed', Arial, sans-serif;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: background 0.2s; flex-shrink: 0;
}
#lp-play-btn:hover { background: #e0c070; }
#lp-play-btn:focus-visible { outline: 2px solid #F0EDE6; outline-offset: 2px; }
#lp-play-btn svg { width: 12px; height: 12px; fill: #0A0A0A; }

#lp-vol-label { font-size: 11px; color: #555; white-space: nowrap; }
#lp-volume { width: 80px; accent-color: #C9A84C; cursor: pointer; }

#lp-dismiss {
  background: none; border: none; cursor: pointer;
  color: #555; font-size: 16px; line-height: 1;
  padding: 6px; transition: color 0.2s;
}
#lp-dismiss:hover { color: #C9A84C; }

@media (max-width: 640px) {
  #lp-player { padding: 0 16px; gap: 10px; }
  #lp-player .lp-logo { display: none; }
  #lp-vol-label, #lp-volume { display: none; } /* phones use hardware volume */
}
