/* ==========================================================================
   DS93 skin for ds-player (assets/ds-player). Loaded after ds-player.css.
   Reduces the player to: a "Tracklist · Play All" bar with one play/pause
   button, and a round play/pause button beside each track.
   ========================================================================== */
.dsp{
  --dsp-accent:var(--signal);
  --dsp-fg:var(--paper);
  --dsp-fg-strong:var(--signal);
  --dsp-bg:transparent;
  --dsp-hover:transparent;
  --dsp-border:var(--line-strong);
  --dsp-radius:50%;
  margin:0;
  color:var(--paper);
}
.dsp[data-state="idle"], .dsp[data-state="loading"]{ min-height:120px; }
.dsp-msg{
  margin:0; padding:1rem 0; border:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  text-align:left; font-family:var(--f-mono); font-size:var(--t-micro); letter-spacing:.1em;
  text-transform:uppercase; color:var(--paper-faint);
}

/* ---- top bar: "Tracklist · Play All" + play/pause ---- */
.dsp-prev, .dsp-next, .dsp-stop, .dsp-seek{ display:none; }
.dsp-bar{
  display:flex; align-items:center; gap:0; margin:0 0 .15rem; padding-bottom:.85rem;
  font-family:var(--f-mono); font-size:var(--t-micro); letter-spacing:.1em; text-transform:uppercase;
}
.dsp-bar::before{ content:"Tracklist"; order:1; color:var(--paper-faint); }
.dsp-time{                      /* repurposed as the dot */
  order:2; min-width:0; padding:0; margin:0 .5em; border:0; background:none;
  font-size:0; color:var(--signal);
}
.dsp-time::before{ content:"\00B7"; font-size:var(--t-micro); }
.dsp-bar::after{ content:"Play All"; order:3; color:var(--paper); font-weight:700; letter-spacing:.1em; }
.dsp[data-playing="true"] .dsp-bar::after{ content:"Pause"; color:var(--signal); }
.dsp-play{
  order:4; margin-left:.85rem;
  width:32px; height:32px; padding:0; border-radius:50%;
  background:var(--signal); border:1px solid var(--signal); color:#fff;
  transition:background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.dsp-play svg{ width:14px; height:14px; }
.dsp-play:hover, .dsp-play:focus-visible{ background:var(--signal-dim); border-color:var(--signal-dim); color:#fff; }
.dsp-play:active{ transform:scale(.92); }

/* ---- track rows ---- */
.dsp-list li{ margin:0; border-bottom:1px solid var(--line); }
.dsp-list li:first-child{ border-top:1px solid var(--line); }
.dsp-track{
  display:flex; align-items:center; gap:.85rem; padding:.6rem .15rem;
  border:0; background:none; color:var(--paper);
  font-size:var(--t-sub); font-weight:500; line-height:1.3;
}
.dsp-track:hover, .dsp-track.is-current{ background:none; color:var(--paper); font-weight:500; }
.dsp[data-playing="true"] .dsp-track.is-current{ color:var(--signal); }
.dsp-n{ display:none; }
.dsp-t{ flex:1 1 auto; min-width:0; }

/* round play/pause button, drawn on the row's ::before */
.dsp-track::before{
  content:""; flex:none; width:32px; height:32px; border-radius:50%;
  border:1px solid var(--line-strong);
  background:center / 11px 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M4 2.5v11l10-5.5-10-5.5z'/%3E%3C/svg%3E");
  background-position:55% 50%;
  transition:border-color .2s var(--ease), background-color .2s var(--ease), transform .15s var(--ease);
}
.dsp-track:hover::before{ border-color:var(--signal); }
.dsp-track:active::before{ transform:scale(.92); }
.dsp[data-playing="true"] .dsp-track.is-current::before{
  background-color:var(--signal); border-color:var(--signal); background-position:center;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Crect x='4' y='3' width='3' height='10'/%3E%3Crect x='9' y='3' width='3' height='10'/%3E%3C/svg%3E");
}
.dsp-track:focus-visible, .dsp-btn:focus-visible{ outline:2px solid var(--signal); outline-offset:2px; }
