/* Continuum Landing — Soundtrack Player */
#cpl {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: 'Space Mono', monospace;
}

/* VU meter strip */
#cpl-vu-wrap {
  padding: 8px 16px 0;
}
#cpl-vu {
  width: 100%;
  height: 40px;
  display: block;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.3);
}

/* Main row */
#cpl-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  height: 56px;
}

/* Track info */
#cpl-info {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 192px;
  flex-shrink: 0;
}
#cpl-art {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.25);
}
#cpl-art svg { width: 16px; height: 16px; }
#cpl-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
#cpl-title {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
#cpl-pos {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  line-height: 1.3;
}

/* Controls */
#cpl-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.cpl-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s, background 0.15s, opacity 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.cpl-btn:hover { color: rgba(255,255,255,0.9); }
.cpl-btn:disabled { opacity: 0.3; cursor: default; }
.cpl-btn svg { width: 16px; height: 16px; }
.cpl-sm {
  padding: 6px;
  border-radius: 6px;
}
.cpl-sm:hover { background: rgba(255,255,255,0.06); }
.cpl-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #0B0F19;
  justify-content: center;
}
.cpl-play:hover { opacity: 0.8; background: rgba(255,255,255,0.9); }
.cpl-play svg { width: 16px; height: 16px; }

/* Progress */
#cpl-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.cpl-time {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  width: 32px;
  flex-shrink: 0;
}
#cpl-cur { text-align: right; }
#cpl-seek {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
#cpl-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  cursor: pointer;
}
#cpl-seek::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  cursor: pointer;
}

/* Volume + VU toggle */
#cpl-right {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 144px;
  flex-shrink: 0;
  justify-content: flex-end;
}
.cpl-icon-sm {
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.cpl-icon-sm svg { width: 14px; height: 14px; display: block; }
#cpl-vol {
  width: 64px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
#cpl-vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  cursor: pointer;
}
#cpl-vol::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  cursor: pointer;
}
.cpl-active {
  color: rgba(255,255,255,0.85) !important;
  background: rgba(255,255,255,0.06);
}

/* Mobile */
@media (max-width: 640px) {
  #cpl-info { width: auto; max-width: 120px; }
  #cpl-progress { display: none; }
  #cpl-right { width: auto; }
  #cpl-vol { display: none; }
  .cpl-icon-sm { display: none; }
  #cpl-row { gap: 8px; padding: 8px 12px; }
}
