.cap-player {
  margin: 16px 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  padding: 12px 16px;
  max-width: 100%;
}

.cap-player__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
}

.cap-player__icon {
  font-size: 18px;
  line-height: 1;
}

.cap-player__title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ligne play + temps + barre de progression */
.cap-player__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cap-player__play {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #333;
  line-height: 0;
  flex-shrink: 0;
}

.cap-player__play:hover {
  color: #000;
}

.cap-player__time {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: #666;
  white-space: nowrap;
  flex-shrink: 0;
}

.cap-player__progress {
  flex: 1;
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-width: 40px;
}

.cap-player__progress-bar {
  height: 100%;
  width: 0;
  background: #333;
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* Ligne volume */
.cap-player__row--volume {
  margin-top: 8px;
}

.cap-player__volume-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #666;
  line-height: 0;
  flex-shrink: 0;
}

.cap-player__volume-btn:hover {
  color: #333;
}

.cap-player__volume {
  width: 80px;
  flex-shrink: 0;
  accent-color: #333;
  width: 90% !important;
}

/* Muted state */
.cap-player.is-muted .cap-volume-wave {
  display: none;
}
