/* Bounty Cortez – HTML5-Audio-Player (assets/js/player.js), Farben angelehnt an den früheren jPlayer-Skin "pink.flag" */
.bc-player {
  --bc-bg: #3b2747;
  --bc-bg-dark: #2a1b33;
  --bc-fg: #f3eaf6;
  --bc-muted: #b6a3c2;
  --bc-accent: #d64fcf;
  --bc-line: rgba(255, 255, 255, 0.12);

  max-width: 520px;
  margin: 20px auto;
  padding: 18px 20px;
  background: var(--bc-bg);
  color: var(--bc-fg);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.9rem;
  text-align: left;
  box-sizing: border-box;
}
.bc-player *, .bc-player *::before, .bc-player *::after { box-sizing: border-box; }

.bc-title {
  text-align: center;
  font-weight: 600;
  margin-bottom: 10px;
  min-height: 1.4em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bc-progress { display: flex; align-items: center; gap: 10px; }
.bc-time { font-size: 0.75rem; color: var(--bc-muted); font-variant-numeric: tabular-nums; min-width: 2.6em; }
.bc-duration { text-align: right; }

.bc-player input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  margin: 0;
  background: var(--bc-bg-dark);
  border-radius: 3px;
  accent-color: var(--bc-accent);
  cursor: pointer;
}
.bc-player input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bc-accent); border: 2px solid var(--bc-fg);
}
.bc-player input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bc-accent); border: 2px solid var(--bc-fg);
}
.bc-player input[type="range"]::-moz-range-progress { background: var(--bc-accent); height: 6px; border-radius: 3px; }

.bc-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 14px;
}
.bc-transport, .bc-toggles, .bc-volume { display: flex; align-items: center; gap: 6px; }
.bc-volume { flex: 0 1 160px; }
.bc-volume input[type="range"] { min-width: 70px; }

.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  padding: 0;
  border: 1px solid var(--bc-line);
  border-radius: 50%;
  background: var(--bc-bg-dark);
  color: var(--bc-fg);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}
.bc-btn svg { width: 20px; height: 20px; fill: currentColor; }
.bc-btn:hover { background: var(--bc-accent); }
.bc-btn:active { transform: scale(0.94); }
.bc-btn:focus-visible { outline: 2px solid var(--bc-accent); outline-offset: 2px; }
.bc-play { width: 48px; height: 48px; background: var(--bc-accent); }
.bc-play svg { width: 26px; height: 26px; }
.bc-toggles .bc-btn { width: 32px; height: 32px; color: var(--bc-muted); }
.bc-toggles .bc-btn svg { width: 17px; height: 17px; }
.bc-toggles .bc-btn.is-on { color: var(--bc-fg); background: var(--bc-accent); }
.bc-volume .bc-btn { width: 32px; height: 32px; border: 0; background: transparent; }
.bc-volume .bc-btn:hover { background: transparent; color: var(--bc-accent); }

.bc-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid var(--bc-line);
  max-height: 600px;
  overflow-y: auto;
}
.bc-list li { border-bottom: 1px solid var(--bc-line); }
.bc-item {
  display: block;
  width: 100%;
  padding: 7px 6px;
  border: 0;
  background: transparent;
  color: var(--bc-fg);
  text-align: left;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.bc-item:hover { background: rgba(255, 255, 255, 0.06); }
.bc-item.is-current { background: var(--bc-bg-dark); color: var(--bc-accent); font-weight: 600; }
.bc-item-artist { font-size: 0.75rem; color: var(--bc-muted); font-weight: 400; }

@media (max-width: 480px) {
  .bc-player { padding: 14px 12px; }
  .bc-controls { justify-content: center; }
  .bc-volume { flex-basis: 100%; justify-content: center; }
}
