.nwp-player{
  --nwp-bg:#1b1e21;
  --nwp-panel:#151719;
  --nwp-line:rgba(255,255,255,.12);
  --nwp-muted:rgba(255,255,255,.58);
  --nwp-accent:#8f63ff;
  width:100%;
  color:#fff;
  background:var(--nwp-panel);
  border:1px solid var(--nwp-line);
  border-radius:0;
  overflow:hidden;
  box-shadow:0 14px 42px rgba(0,0,0,.24);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.nwp-player *{box-sizing:border-box}

.nwp-bar{
  height:50px;
  min-height:50px;
  display:grid;
  grid-template-columns:auto 50px minmax(170px,1fr) auto auto auto;
  align-items:center;
  gap:0;
  padding:0;
  margin:0;
  background:
    radial-gradient(circle at 58% 0%,color-mix(in srgb,var(--nwp-accent) 12%,transparent),transparent 44%),
    #1b1e21;
}

.nwp-primary-controls,
.nwp-utility,
.nwp-services{
  height:50px;
  display:flex;
  align-items:center;
}

.nwp-primary-controls{
  gap:0;
  padding:0 4px;
  border-right:1px solid var(--nwp-line);
}

.nwp-icon-button,
.nwp-main-button{
  appearance:none;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
}

.nwp-icon-button{
  width:28px;
  height:50px;
  border-radius:0;
  opacity:.72;
  transition:.18s ease;
}
.nwp-icon-button:hover,
.nwp-icon-button.is-active{
  opacity:1;
  background:rgba(255,255,255,.07);
}
.nwp-icon-button svg{
  width:15px;
  height:15px;
  fill:currentColor;
}

.nwp-main-button{
  width:34px;
  height:34px;
  border-radius:50%;
  background:#fff;
  color:#111;
  margin:0 2px;
  transition:.18s ease;
}
.nwp-main-button:hover{transform:scale(1.04)}
.nwp-main-button svg{
  width:16px;
  height:16px;
  fill:currentColor;
}
.nwp-pause-icon{display:none}
.nwp-player.is-playing .nwp-play-icon{display:none}
.nwp-player.is-playing .nwp-pause-icon{display:grid}

.nwp-cover{
  display:block;
  width:50px;
  height:50px;
  min-width:50px;
  object-fit:cover;
  border-radius:0;
  margin:0;
  padding:0;
  background:#08090a;
  box-shadow:none;
}

.nwp-now-playing{
  min-width:0;
  height:50px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:0 10px;
  border-right:1px solid var(--nwp-line);
}
.nwp-track-title{
  font-size:11px;
  line-height:1.15;
  font-weight:750;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.nwp-track-artist{
  font-size:9px;
  line-height:1.1;
  color:var(--nwp-muted);
  margin-top:3px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.nwp-progress-row{
  height:5px;
  margin-top:5px;
  display:flex;
  align-items:center;
}

.nwp-progress,
.nwp-volume{
  --fill:0%;
  width:100%;
  appearance:none;
  height:2px;
  border-radius:50px;
  outline:none;
  cursor:pointer;
  background:linear-gradient(90deg,var(--nwp-accent) var(--fill),rgba(255,255,255,.18) var(--fill));
}
.nwp-progress::-webkit-slider-thumb,
.nwp-volume::-webkit-slider-thumb{
  appearance:none;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 2px rgba(255,255,255,.10);
}
.nwp-progress::-moz-range-thumb,
.nwp-volume::-moz-range-thumb{
  width:8px;
  height:8px;
  border:0;
  border-radius:50%;
  background:#fff;
}

.nwp-time{
  height:50px;
  padding:0 9px;
  display:flex;
  align-items:center;
  gap:4px;
  border-right:1px solid var(--nwp-line);
  font-size:9px;
  color:rgba(255,255,255,.74);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.nwp-time-divider{opacity:.34}

.nwp-services{
  gap:0;
  padding:0;
  border-right:1px solid var(--nwp-line);
}
.nwp-service{
  width:34px;
  height:50px;
  display:grid;
  place-items:center;
  padding:0;
  margin:0;
  border:0;
  border-left:1px solid rgba(255,255,255,.06);
  border-radius:0;
  color:#fff;
  text-decoration:none!important;
  transition:.18s ease;
}
.nwp-service:first-child{border-left:0}
.nwp-service:hover{
  background:#fff;
  color:#111;
}
.nwp-service svg{
  width:16px;
  height:16px;
  fill:currentColor;
}
.nwp-service span{display:none}
.nwp-service[hidden]{display:none!important}

.nwp-utility{
  gap:0;
  padding:0;
}
.nwp-volume{
  width:52px;
  margin:0 5px 0 0;
  --fill:85%;
}
.nwp-download[hidden]{display:none!important}

.nwp-playlist{
  background:#111315;
  border-top:1px solid var(--nwp-line);
}
.nwp-playlist[hidden]{display:none}

.nwp-playlist-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  padding:14px 18px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nwp-playlist-header>div{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.nwp-playlist-header strong{font-size:15px}
.nwp-playlist-header>span,
.nwp-eyebrow{
  font-size:9px;
  color:var(--nwp-muted);
  letter-spacing:.16em;
  text-transform:uppercase;
}

.nwp-track-list{
  list-style:none;
  padding:0;
  margin:0;
}
.nwp-track-item{
  display:grid;
  grid-template-columns:34px 42px minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
  min-height:56px;
  padding:7px 14px;
  border-bottom:1px solid rgba(255,255,255,.06);
  cursor:pointer;
  transition:.18s ease;
}
.nwp-track-item:last-child{border-bottom:0}
.nwp-track-item:hover{background:rgba(255,255,255,.04)}
.nwp-track-item.is-current{
  background:linear-gradient(90deg,color-mix(in srgb,var(--nwp-accent) 18%,transparent),transparent 65%);
}
.nwp-track-number{
  color:var(--nwp-muted);
  font-size:10px;
  text-align:center;
}
.nwp-track-item img{
  width:42px;
  height:42px;
  object-fit:cover;
  border-radius:0;
  background:#08090a;
}
.nwp-list-title{
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.nwp-list-artist{
  font-size:9px;
  color:var(--nwp-muted);
  margin-top:3px;
}
.nwp-list-services{display:flex;gap:3px}
.nwp-list-service{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:rgba(255,255,255,.65);
  text-decoration:none!important;
}
.nwp-list-service:hover{
  background:rgba(255,255,255,.08);
  color:#fff;
}
.nwp-list-service svg{
  width:13px;
  height:13px;
  fill:currentColor;
}
.nwp-list-service[hidden]{display:none!important}
.nwp-list-action{
  font-size:8px;
  letter-spacing:.12em;
  color:var(--nwp-muted);
}
.nwp-empty{
  padding:16px;
  background:#fff;
  border:1px solid #ddd;
  color:#222;
}

@media(max-width:980px){
  .nwp-bar{
    grid-template-columns:auto 50px minmax(130px,1fr) auto auto;
  }
  .nwp-time{display:none}
}

@media(max-width:720px){
  .nwp-bar{
    grid-template-columns:50px minmax(0,1fr) auto;
    height:50px;
    min-height:50px;
  }
  .nwp-cover{
    grid-column:1;
    grid-row:1;
  }
  .nwp-now-playing{
    grid-column:2;
    grid-row:1;
  }
  .nwp-primary-controls{
    grid-column:3;
    grid-row:1;
    border-right:0;
    border-left:1px solid var(--nwp-line);
  }
  .nwp-primary-controls .nwp-prev,
  .nwp-primary-controls .nwp-next,
  .nwp-primary-controls .nwp-shuffle,
  .nwp-primary-controls .nwp-repeat{
    display:none;
  }
  .nwp-services,
  .nwp-utility,
  .nwp-time{
    display:none;
  }
  .nwp-track-item{
    grid-template-columns:28px 38px minmax(0,1fr) auto;
    padding:7px 9px;
  }
  .nwp-track-item img{
    width:38px;
    height:38px;
  }
  .nwp-list-services{display:none}
}

@media(max-width:440px){
  .nwp-track-item{
    grid-template-columns:24px 36px minmax(0,1fr);
  }
  .nwp-track-item img{
    width:36px;
    height:36px;
  }
  .nwp-list-action{display:none}
}
