/*
  Tumi Music — floating waveform player (lives inside <header>).
  Hidden by default; shown on first track play. See assets/js/player.js.
*/

.floating-player {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 900px;
  margin: 12px auto 0;
  padding: 8px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  text-align: left;
}

.floating-player[hidden] { display: none; }

.floating-player-playpause {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.75rem;
  transition: background 0.2s, color 0.2s;
}

.floating-player-playpause:hover {
  background: var(--gold);
}

.floating-player-playpause[hidden] { display: none; }

.floating-player-playpause .fa-pause { display: none; }
.floating-player-playpause.is-playing .fa-play { display: none; }
.floating-player-playpause.is-playing .fa-pause { display: block; }

.floating-player-title {
  flex-shrink: 0;
  width: 150px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-player-wave-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 36px;
}

.floating-player-waveform {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.floating-player-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
}

.floating-player-loading[hidden] { display: none; }

.floating-player-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.8rem;
  transition: background 0.2s, color 0.2s;
}

.floating-player-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

@media (max-width: 560px) {
  .floating-player-title { display: none; }
  .floating-player { gap: 10px; padding: 8px 10px; }
}
