/* ==========================================================================
   player.css — player bar, timeline, volume, antrean
   Bar pemutarnya berupa pill glass melayang sesuai desain "Vinyl";
   di layar ≤900px ia dock penuh seperti sebelumnya.
   Tinggi bar mengikuti --player-height (92) tinggal offset 16px.
   ========================================================================== */

#audio {
  display: none;
}

.player {
  position: fixed;
  z-index: 80;
  /* Tengah relatif terhadap area konten (sidebar melayang di kirinya). */
  left: calc(var(--sidebar-width) + 12px);
  right: 12px;
  bottom: 16px;
  height: calc(var(--player-height) - 16px);
  width: min(920px, calc(100vw - var(--sidebar-width) - 24px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(310px, 1.35fr) minmax(205px, 1fr);
  align-items: center;
  gap: var(--space-4);
  /* Ruang di kaki pill memberi jarak antara tombol transport dan bar progres. */
  padding: 0 var(--space-5) var(--space-2);
  font-family: var(--font-inter);
  color: var(--ink);
  background:
    radial-gradient(130% 90% at 4% 0%, var(--icy-tint), transparent 52%),
    radial-gradient(70% 90% at 100% 100%, var(--pink-tint), transparent 60%),
    linear-gradient(var(--pill-scrim), var(--pill-scrim)),
    var(--glass-2);
  border: 0;
  border-radius: var(--radius-bar);
  /* Tanpa backdrop-filter: di sebagian GPU (terutama laptop Intel),
     blur di layer ini di-raster ulang setengah resolusi saat area lain
     di-hover → seluruh pill tampak berkabut sesaat. Kesan kaca tetap
     dibawa oleh scrim + lapisan putih + tint di bawah. */
  box-shadow: var(--shadow-glass);
}

/* Di atas kaca, hover jangan mengecat lingkaran putih — cukup
   ikon yang berubah warna. */
.player .icon-btn:hover {
  background: transparent;
}

/* --------------------------------------------------------------------------
   Kiri — sekarang diputar
   -------------------------------------------------------------------------- */

.player__now {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.player__art {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius-tile);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

.player__art:hover {
  transform: scale(1.035);
}

.player__art:disabled {
  cursor: default;
  opacity: 0.65;
}

.player__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player__meta {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.player__title {
  max-width: 100%;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.008em;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--speed) var(--ease);
}

.player__title:hover:not(:disabled) {
  color: var(--pink);
}

.player__artist {
  max-width: 100%;
  color: var(--ink-2);
  font-size: var(--text-md);
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--speed) var(--ease);
}

.player__artist:hover:not(:disabled) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.player__title:disabled,
.player__artist:disabled {
  cursor: default;
}

.player__like {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--ink-3);
}

.player__like .icon {
  width: 18px;
  height: 18px;
}

.player__like:hover:not(:disabled) {
  color: var(--ink);
}

.player__like.is-liked {
  color: var(--pink);
  opacity: 1;
}

.player__download {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--ink-3);
}

.player__download .icon {
  width: 17px;
  height: 17px;
}

.player__download:hover:not(:disabled) {
  color: var(--ink);
}

.player__download:disabled {
  opacity: 0.35;
}

.player__lyrics {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--ink-3);
}

.player__lyrics:hover,
.player__lyrics[aria-pressed="true"] {
  color: var(--pink);
}

/* --------------------------------------------------------------------------
   Tengah — kontrol & progres
   -------------------------------------------------------------------------- */

/* Kolom tengah mengisi penuh tinggi pill supaya bar progres bisa diletakkan
   tepat di bawah kontrol transport, bukan melebar ke seluruh pill. */
.player__center {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 680px;
  justify-self: center;
  min-width: 0;
}

.player__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  height: 44px;
}

.player__ctl {
  width: 32px;
  height: 32px;
  color: var(--ink-2);
  border-radius: var(--radius-control);
}

.player__ctl .icon {
  width: 16px;
  height: 16px;
}

.player__ctl:hover {
  color: var(--ink);
}

.player__ctl:disabled {
  color: var(--ink-3);
  opacity: 0.45;
}

.player__skip {
  width: 32px;
  height: 32px;
  color: var(--ink);
}

.player__skip .icon {
  width: 18px;
  height: 18px;
}

.player__play {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 var(--space-2);
  border-radius: 50%;
  background: var(--pink);
  color: var(--surface);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
  flex: none;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease), opacity 140ms var(--ease);
}

.player__play .icon {
  width: 18px;
  height: 18px;
}

.player__play:hover:not(:disabled) {
  /* Tanpa scale — transform di atas backdrop-filter memicu artefak
     putih pada sebagian GPU; umpan baliknya diganti halo pink. */
  transform: none;
  background: var(--pink);
  box-shadow: 0 0 0 4px var(--pink-soft), var(--shadow-glass);
}

.player__play:active:not(:disabled) {
  transform: none;
  box-shadow: 0 0 0 2px var(--pink-soft), var(--shadow-glass);
}

.player__play:disabled {
  opacity: 0.35;
}

.player__repeat-one {
  position: absolute;
  right: 1px;
  bottom: 1px;
  display: grid;
  place-items: center;
  min-width: 12px;
  height: 12px;
  padding: 0 2px;
  border-radius: 3px;
  background: var(--surface-deep);
  color: var(--pink);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}

#btnRepeat {
  position: relative;
}

.player__ctl.is-active,
#btnShuffle[aria-pressed="true"] {
  color: var(--pink);
}

/* Timeline — garis tipis di bawah kontrol transport, selebar kolom tengah.
   Ruang label waktu selalu disisakan (walau tersembunyi) supaya bar tidak
   berubah panjang saat label muncul. Nilai bottom negatif menembus padding
   bawah pill agar bar tetap menempel di kaki pill (2px dari tepi). */

.player__timeline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * (var(--space-2) - 2px));
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: auto;
}

/* Zona garis progres di kaki pill hanya 12px agar tidak
   menabrak judul/artis di atasnya. */
.player__timeline .seek {
  height: 12px;
}

/* Label waktu tersembunyi secara default; muncul hanya saat kursor
   mengarah ke bar progres (atau saat bar difokus lewat keyboard).
   Lebarnya tetap dipesan agar bar tidak melompat. */
.time {
  width: 34px;
  flex: none;
  color: var(--ink-2);
  font-size: var(--text-micro);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  text-align: center;
  user-select: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 140ms var(--ease), visibility 140ms var(--ease);
}

.player__timeline:hover .time,
.player__timeline:focus-within .time {
  opacity: 1;
  visibility: visible;
}

.seek {
  flex: 1;
  height: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
  border-radius: 4px;
}

.seek__rail {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: var(--radius-tile);
  background: var(--glass-1);
  overflow: visible;
  transition: height 120ms var(--ease);
}

.seek:hover .seek__rail,
.seek.is-dragging .seek__rail,
.seek:focus-visible .seek__rail {
  height: 4px;
}

.seek__buffer {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--buffer, 0%);
  border-radius: inherit;
  background: var(--border-glass);
  transition: width 180ms linear;
}

.seek__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--pct, 0%);
  border-radius: inherit;
  background: var(--pink);
}

.seek__thumb {
  position: absolute;
  top: 50%;
  left: var(--pct, 0%);
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 120ms var(--ease), transform 120ms var(--ease);
}

.seek:hover .seek__thumb,
.seek.is-dragging .seek__thumb,
.seek:focus-visible .seek__thumb {
  opacity: 1;
  transform: scale(1);
}

.seek:focus-visible {
  outline: none;
}

.seek:focus-visible .seek__thumb {
  box-shadow: 0 0 0 4px var(--pink-soft), 0 1px 5px rgba(0, 0, 0, 0.35);
}

.player__like:disabled,
.player__download:disabled,
.player__lyrics:disabled,
#btnMute:disabled {
  opacity: 0.35;
}

/* --------------------------------------------------------------------------
   Kanan — timer tidur, volume, antrean
   -------------------------------------------------------------------------- */

.player__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-width: 0;
}

.player__right .icon-btn {
  color: var(--ink-2);
}

.player__right .icon-btn:hover {
  color: var(--ink);
}

.sleep-toggle {
  width: auto;
  min-width: 30px;
  height: 30px;
  gap: 4px;
  padding: 0 7px;
  border-radius: 999px;
}

.sleep-toggle__time {
  color: currentColor;
  font-size: var(--text-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.sleep-toggle.is-active {
  background: var(--pink-soft);
  color: var(--pink);
}

.sleep-toggle .icon {
  width: 16px;
  height: 16px;
}

/* Ketika area konten makin sempit (≤1120px), singkirkan dua tombol sekunder
   dari pill agar judul tetap terbaca. Fitur sama tetap di topbar/Now Playing;
   di ≤900px keduanya sudah tersembunyi. */
@media (max-width: 1120px) {
  .player__download,
  .player__lyrics {
    display: none;
  }
}

/* Dock penuh di layar ≤900px: sidebar sudah menjadi laci, pill tidak lagi
   berada di tengah area konten. */
@media (max-width: 900px) {
  .player {
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--player-height);
    width: auto;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    background: linear-gradient(var(--pill-scrim), var(--pill-scrim)), var(--glass-2);
    padding: 0 var(--space-4);
  }

  .player__timeline {
    position: static;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Lirik (gaya Apple Music)
   Baris aktif besar dan berwarna, baris lain memudar. Tata letak panel
   lirik diatur di blok Now Playing di bawah.
   -------------------------------------------------------------------------- */

/* Isi -------------------------------------------------------------------- */

.lyrics-panel__body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 42vh clamp(2px, 2vw, 26px) 62vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  outline: none;
  /* Baris memudar halus di tepi atas dan bawah. */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 11%, #000 74%, transparent 97%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 11%, #000 74%, transparent 97%);
}

.lyrics-panel__body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.lyrics-panel__body.is-static {
  padding-top: clamp(24px, 9vh, 96px);
  padding-bottom: 32vh;
  -webkit-mask-image: none;
  mask-image: none;
}

.lyrics-synced {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vh, 16px);
}

.lyrics-line {
  --dist: 6;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
  text-align: left;
  text-wrap: balance;
  cursor: pointer;
  opacity: calc(1 - min(var(--dist), 6) * 0.135);
  filter: blur(calc(min(var(--dist), 5) * 0.9px));
  transform: scale(calc(1 - min(var(--dist), 7) * 0.02));
  transform-origin: left center;
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 560ms cubic-bezier(0.22, 1, 0.36, 1),
    color 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lyrics-line:hover,
.lyrics-line:focus-visible {
  opacity: 0.85;
  filter: none;
  transform: scale(1.005);
}

.lyrics-line:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 6px;
  border-radius: 10px;
}

.lyrics-line.is-active {
  opacity: 1;
  filter: none;
  transform: none;
  color: #fff;
  text-shadow:
    0 0 34px rgba(255, 255, 255, 0.26),
    0 0 90px rgba(255, 255, 255, 0.1);
}

.lyrics-line__text {
  display: block;
}

.lyrics-line__translit {
  display: block;
  margin-top: 0.32em;
  font-family: var(--font-body, inherit);
  font-size: 0.46em;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.5);
}

.lyrics-line.is-active .lyrics-line__translit {
  color: rgba(255, 255, 255, 0.72);
}

.lyrics-plain p {
  margin: 0 0 clamp(14px, 2.2vh, 22px);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.82);
}

.lyrics-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46vh;
  padding: 32px 14px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.lyrics-empty .icon {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.6);
}

.lyrics-empty p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
}

.lyrics-empty strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .lyrics-synced {
    gap: 12px;
  }

  .lyrics-line {
    font-size: clamp(22px, 6.4vw, 30px);
  }
}

@media (max-height: 660px) {
  .lyrics-line {
    font-size: clamp(20px, 3.2vw, 34px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lyrics-line {
    transition: none;
    animation: none;
  }
}

#btnMute {
  width: 30px;
  height: 30px;
}

#btnMute .icon {
  width: 17px;
  height: 17px;
}

.volume {
  width: 96px;
  height: 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
  border-radius: 4px;
  margin-right: 6px;
}

.volume__rail {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: var(--radius-tile);
  background: var(--border-glass);
}

.volume__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--pct, 80%);
  border-radius: inherit;
  background: var(--ink-2);
}

.volume__thumb {
  position: absolute;
  top: 50%;
  left: var(--pct, 80%);
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 120ms var(--ease), transform 120ms var(--ease);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.volume:hover .volume__thumb,
.volume.is-dragging .volume__thumb,
.volume:focus-visible .volume__thumb {
  opacity: 1;
  transform: scale(1);
}

.volume:focus-visible {
  outline: none;
}

.volume:focus-visible .volume__thumb {
  box-shadow: 0 0 0 4px var(--accent-soft);
}

#btnQueue[aria-pressed="true"] {
  background: var(--pink-soft);
  color: var(--pink);
}

/* --------------------------------------------------------------------------
   Item antrean
   -------------------------------------------------------------------------- */

.queue-section {
  margin-top: 16px;
}

.queue-section:first-child {
  margin-top: 4px;
}

.queue-section__title {
  padding: 0 8px;
  margin-bottom: 5px;
  color: var(--text-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 7px;
  transition: background 120ms var(--ease);
}

.queue-item:hover {
  background: var(--bg-hover);
}

.queue-item.is-current {
  background: var(--bg-hover);
}

.queue-item__art {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.queue-item__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.queue-item__text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.queue-item__title {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-item.is-current .queue-item__title {
  color: var(--accent-text);
}

.queue-item__sub {
  margin-top: 2px;
  color: var(--text-3);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-item__remove {
  width: 26px;
  height: 26px;
  flex: none;
  opacity: 0;
  color: var(--text-3);
}

.queue-item__remove .icon {
  width: 13px;
  height: 13px;
}

.queue-item:hover .queue-item__remove,
.queue-item__remove:focus-visible {
  opacity: 1;
}

.queue-item__eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 12px;
  height: 12px;
  flex: none;
  color: var(--accent);
}

.queue-item__eq i {
  width: 2px;
  height: 100%;
  background: currentColor;
  border-radius: 1px;
  animation: eq-bounce 900ms var(--ease) infinite;
  transform-origin: bottom;
}

.queue-item__eq i:nth-child(2) {
  animation-delay: 160ms;
}

.queue-item__eq i:nth-child(3) {
  animation-delay: 320ms;
}

.queue-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 20px;
  color: var(--text-3);
  text-align: center;
}

.queue-empty .icon {
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
  opacity: 0.7;
}

.queue-empty p {
  font-size: 12.5px;
  line-height: 1.55;
  max-width: 210px;
}


/* --------------------------------------------------------------------------
   Tampilan pemutar penuh (Now Playing)
   Panel kaca di atas latar hitam; satu kolom tanpa lirik, dua kolom saat
   lirik dibuka (lihat blok Vinyl di bawah).
   -------------------------------------------------------------------------- */

/* ==========================================================================
   Now Playing — komposisi "Vinyl" (frame 05 & 06)
   Panel kaca penuh di atas latar hitam dengan tint lembut. Tanpa lirik:
   satu kolom 410px (sampul 344). Dengan lirik: kolom kiri 352px + lirik
   568px, dengan transisi lembut seperti Apple Music.
   ========================================================================== */

.now-playing {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: var(--font-inter);
  /* Token tema lokal: tampilan ini selalu gelap agar sampul lebih menonjol. */
  --text: #fff;
  --text-2: rgba(255, 255, 255, 0.74);
  --text-3: rgba(255, 255, 255, 0.52);
  --border-strong: rgba(255, 255, 255, 0.42);
  --bg-active: rgba(255, 255, 255, 0.22);
  --bg-hover: rgba(255, 255, 255, 0.12);
  --bg-hover-strong: rgba(255, 255, 255, 0.2);
  --accent-soft: rgba(255, 255, 255, 0.26);
  --accent-text: #fff;
  --ink: #f6eef1;
  --ink-2: rgba(246, 238, 241, 0.62);
  --ink-3: rgba(246, 238, 241, 0.38);
  --pink: #f29bbb;
  --pink-soft: rgba(242, 155, 187, 0.18);
  --icy: #a9d3f0;
  --surface: #000;
  --surface-deep: #120d11;
  --glass-1: rgba(255, 255, 255, 0.08);
  --glass-2: rgba(255, 255, 255, 0.12);
  --border-glass: rgba(255, 255, 255, 0.11);
  --border-glass-strong: rgba(255, 255, 255, 0.14);
  --shadow-glass: 0 6px 16px rgba(0, 0, 0, 0.16);
  --pill-scrim: rgba(21, 21, 24, 0.95);
  --np-accent: var(--pink);
  --np-col: 410px;
  --np-art: 344px;
  --np-narrow: 352px;
  --np-lyrics: 568px;
  --np-ease: cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  transition: opacity 340ms var(--ease);
  -webkit-user-select: none;
  user-select: none;
}

.now-playing[hidden] {
  display: none;
}

.now-playing.is-open {
  opacity: 1;
}

body.has-now-playing {
  overflow: hidden;
}

/* Latar: tint sudut halus, tanpa sampul buram. */
.now-playing__backdrop {
  display: none;
}

.now-playing__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(260px 180px at 0% 0%, rgba(169, 211, 240, 0.06), transparent 72%),
    radial-gradient(400px 220px at 100% 100%, rgba(242, 160, 190, 0.12), transparent 72%);
}

/* Panel ------------------------------------------------------------------- */

.now-playing__panel {
  position: fixed;
  inset: clamp(12px, 2.6vh, 24px) clamp(12px, 1.6vw, 24px);
  display: flex;
  flex-direction: column;
  width: auto;
  height: auto;
  max-width: 1392px;
  min-width: 0;
  margin-inline: auto;
  padding: clamp(14px, 2.6vh, 24px) clamp(16px, 2.2vw, 32px);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-panel);
  background: var(--glass-1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(14px) scale(0.996);
  transition: opacity 320ms var(--ease), transform 520ms var(--ease-out);
}

.now-playing.is-open .now-playing__panel {
  opacity: 1;
  transform: none;
}

/* Kepala ------------------------------------------------------------------ */

.now-playing__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  flex: none;
  min-height: 44px;
}

.now-playing__head-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  background: var(--glass-1);
  color: var(--ink-2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.now-playing__head-btn:first-child {
  justify-self: start;
}

.now-playing__head-btn:last-child {
  justify-self: end;
}

.now-playing__head-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--border-glass);
  color: var(--ink);
}

.now-playing__head-btn#npLyrics {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 104px;
  min-width: 0;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

.now-playing__head-btn#npLyrics .icon {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

.now-playing__head-btn#npLyrics[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--border-glass);
  color: var(--ink);
}

.now-playing__head-btn#npExpand {
  width: 44px;
  height: 44px;
}

.now-playing__head-btn#npExpand .icon {
  width: 20px;
  height: 20px;
}

.now-playing__context {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 0;
  text-align: center;
}

.now-playing__eyebrow {
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.now-playing__source {
  max-width: 42vw;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.now-playing__head-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

/* Panggung ---------------------------------------------------------------- */

.now-playing__stage {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 0px);
  grid-template-rows: minmax(0, 1fr);
  justify-content: center;
  align-content: start;
  align-items: start;
  column-gap: 0;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  padding-top: clamp(14px, 4vh, 36px);
  overflow: hidden;
  transition:
    grid-template-columns 720ms var(--np-ease),
    column-gap 720ms var(--np-ease),
    padding-top 720ms var(--np-ease);
}

.now-playing__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  justify-self: center;
  width: min(100%, var(--np-col));
  min-width: 0;
  margin: 0;
}

.now-playing__art {
  width: clamp(180px, 38.2vh, var(--np-art));
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0;
  border-radius: var(--radius-tile);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transform: none;
  transition: width 720ms var(--np-ease);
}

.now-playing__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.now-playing__details {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 80px;
  margin-top: clamp(14px, 3.4vh, 30px);
  text-align: center;
}

.now-playing__titles {
  display: grid;
  gap: 4px;
  flex: 1 1 auto;
  justify-items: center;
  min-width: 0;
}

.now-playing__title {
  color: var(--ink);
  font-family: var(--font-inter);
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.now-playing__artist {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
}

.now-playing__album {
  display: none;
}

.now-playing__actions {
  position: absolute;
  top: 50%;
  right: -68px;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
}

.now-playing__like {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  background: var(--glass-1);
  color: var(--np-accent);
}

.now-playing__like .icon {
  width: 20px;
  height: 20px;
}

.now-playing__like:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--border-glass);
  color: var(--np-accent);
}

.now-playing__like.is-liked {
  background: var(--pink-soft);
  border-color: var(--border-glass);
  color: var(--np-accent);
}

/* Waktu ------------------------------------------------------------------- */

.now-playing__timeline {
  width: 100%;
  max-width: none;
  margin: clamp(14px, 3.4vh, 30px) 0 0;
  flex: none;
}

.now-playing__seek {
  height: 16px;
}

.now-playing__seek .seek__rail {
  height: 4px;
  border-radius: var(--radius-sm);
  background: var(--border-glass-strong);
}

.now-playing__seek:hover .seek__rail,
.now-playing__seek.is-dragging .seek__rail,
.now-playing__seek:focus-visible .seek__rail {
  height: 5px;
}

.now-playing__seek .seek__buffer {
  background: rgba(255, 255, 255, 0.24);
}

.now-playing__seek .seek__fill {
  background: var(--np-accent);
}

.now-playing__seek .seek__thumb {
  width: 11px;
  height: 11px;
  background: var(--np-accent);
}

.now-playing__times {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.now-playing__times .time {
  width: auto;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  opacity: 1;
  visibility: visible;
}

/* Kontrol ----------------------------------------------------------------- */

.now-playing__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 32px);
  width: 100%;
  flex: none;
  margin: clamp(12px, 2.7vh, 24px) 0 clamp(24px, 5.8vh, 52px);
  padding: 0;
}

.now-playing__ctl {
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: transparent;
  opacity: 0.5;
}

.now-playing__ctl:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  opacity: 1;
}

.now-playing__ctl.is-active {
  background: transparent;
  color: var(--np-accent);
  opacity: 1;
}

.now-playing__ctl .icon {
  width: 20px;
  height: 20px;
}

.now-playing__skip .icon {
  width: 26px;
  height: 26px;
}

.now-playing__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--np-accent);
  color: var(--surface-deep);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.now-playing__play .icon {
  width: 28px;
  height: 28px;
}

.now-playing__play:hover:not(:disabled) {
  background: var(--np-accent);
  box-shadow: 0 8px 26px var(--pink-soft);
  filter: brightness(1.04);
}

.now-playing__play:active:not(:disabled) {
  transform: scale(0.96);
}

.now-playing__play:disabled {
  opacity: 0.42;
  box-shadow: none;
}

.now-playing__repeat {
  position: relative;
}

.now-playing__repeat.is-active {
  color: var(--np-accent);
  background: transparent;
}

.now-playing__repeat-one {
  position: absolute;
  right: 2px;
  bottom: 3px;
  display: grid;
  place-items: center;
  min-width: 12px;
  height: 12px;
  padding: 0 2px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}

/* Volume ------------------------------------------------------------------ */

.now-playing__volume {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 248px);
  flex: none;
  transform: none;
}

.now-playing__mute {
  width: 24px;
  height: 24px;
  color: var(--ink);
  opacity: 0.45;
}

.now-playing__mute .icon {
  width: 16px;
  height: 16px;
}

.now-playing__volume-max {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--ink);
  opacity: 0.45;
}

.now-playing__mute.is-active {
  opacity: 1;
}

.now-playing__volume-slider,
.now-playing .now-playing__volume-slider {
  display: flex;
  width: min(184px, 40vw);
  margin-right: 0;
  flex: 1 1 auto;
}

.now-playing__volume-slider .volume__rail {
  height: 4px;
  background: var(--border-glass-strong);
}

.now-playing__volume-slider .volume__fill {
  background: var(--ink-2);
}

.now-playing__volume-slider .volume__thumb {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--icy);
  opacity: 1;
  transform: none;
}

/* Animasi susunan saat lirik dibuka (gaya Apple Music) -------------------- */

.now-playing__details,
.now-playing__timeline,
.now-playing__controls,
.now-playing__volume,
.now-playing__actions {
  transition:
    width 720ms var(--np-ease),
    margin-top 720ms var(--np-ease),
    margin-bottom 720ms var(--np-ease),
    right 720ms var(--np-ease);
}

/* Kolom lirik ------------------------------------------------------------- */

.now-playing__lyrics {
  display: flex;
  flex-direction: column;
  justify-self: stretch;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: clamp(12px, 3.1vh, 28px) 0 clamp(16px, 4.1vh, 37px);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(48px);
  pointer-events: none;
  transition:
    opacity 360ms var(--ease),
    transform 680ms var(--np-ease),
    visibility 0s linear 680ms;
}

.now-playing--lyrics .now-playing__lyrics {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition:
    opacity 360ms var(--ease) 120ms,
    transform 680ms var(--np-ease),
    visibility 0s linear 0s;
}

.now-playing__lyrics .lyrics-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 4px 8px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  outline: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.now-playing__lyrics .lyrics-panel__body.is-static {
  padding: 4px 8px;
  -webkit-mask-image: none;
  mask-image: none;
}

.now-playing__lyrics .lyrics-synced {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.now-playing__lyrics .lyrics-line {
  color: var(--ink);
  font-family: var(--font-inter);
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-align: left;
  text-wrap: pretty;
  opacity: calc(1 - min(var(--dist, 6), 6) * 0.13);
  filter: blur(calc(min(var(--dist, 6), 5) * 0.9px));
  transform: scale(calc(1 - min(var(--dist, 6), 7) * 0.02));
  transform-origin: left center;
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 560ms cubic-bezier(0.22, 1, 0.36, 1),
    color 560ms cubic-bezier(0.22, 1, 0.36, 1),
    font-size 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.now-playing__lyrics .lyrics-line:hover {
  opacity: calc(1 - min(var(--dist, 6), 6) * 0.13);
}

.now-playing__lyrics .lyrics-line.is-active {
  color: var(--np-accent);
  font-size: clamp(25px, 2.5vw, 36px);
  opacity: 1;
  filter: none;
  transform: none;
  text-shadow: none;
}

.now-playing__lyrics .lyrics-line__text {
  display: block;
}

.now-playing__lyrics .lyrics-line__translit {
  margin-top: 0.24em;
  color: var(--ink-3);
  font-size: 0.5em;
}

.now-playing__lyrics .lyrics-line.is-active .lyrics-line__translit {
  color: var(--ink-2);
}

.now-playing__lyrics .lyrics-plain p {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: var(--font-inter);
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  opacity: 0.38;
}

.now-playing__lyrics .lyrics-empty {
  height: 100%;
  min-height: 0;
  color: var(--ink-3);
}

.now-playing__lyrics .lyrics-empty strong {
  color: var(--ink-2);
}

.now-playing__lyrics .lyrics-empty .icon {
  color: var(--ink-3);
}

.now-playing__lyrics-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 24px;
  padding: 0;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

#lyricsMeta::before {
  content: "♫  ";
}

/* Susunan dua kolom saat lirik aktif -------------------------------------- */

.now-playing--lyrics .now-playing__stage {
  grid-template-columns: minmax(0, var(--np-narrow)) minmax(0, var(--np-lyrics));
  column-gap: clamp(40px, 11.7vw, 170px);
  padding-top: clamp(20px, 9.3vh, 84px);
  padding-left: clamp(0px, 7.4vw, 108px);
}

.now-playing--lyrics .now-playing__main {
  align-items: center;
  justify-self: center;
  width: min(100%, var(--np-narrow));
}

.now-playing--lyrics .now-playing__art {
  align-self: center;
  width: clamp(180px, 39.1vh, var(--np-narrow));
  max-width: 100%;
  margin: 0;
}

.now-playing--lyrics .now-playing__details {
  width: min(100%, clamp(180px, 39.1vh, var(--np-narrow)));
  min-height: 80px;
  margin-top: clamp(16px, 3.6vh, 32px);
  margin-inline: auto;
  text-align: left;
}

.now-playing--lyrics .now-playing__titles {
  flex: 1;
  justify-items: start;
  text-align: left;
}

.now-playing--lyrics .now-playing__title {
  font-size: clamp(21px, 1.9vw, 27px);
}

.now-playing--lyrics .now-playing__actions {
  right: 0;
}

.now-playing--lyrics .now-playing__timeline {
  width: min(100%, clamp(180px, 39.1vh, var(--np-narrow)));
  margin-inline: auto;
  margin-top: clamp(12px, 2.2vh, 20px);
}

.now-playing--lyrics .now-playing__controls {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-top: clamp(14px, 2.9vh, 26px);
  margin-bottom: clamp(16px, 3.1vh, 28px);
}

@media (min-width: 1181px) {
  .now-playing--lyrics .now-playing__controls {
    width: 320px;
    max-width: none;
    margin-left: 0;
    gap: 14px;
  }
}

.now-playing--lyrics .now-playing__volume {
  align-self: center;
  width: min(100%, 240px);
}

/* Penyesuaian layar ------------------------------------------------------- */

@media (max-width: 1180px) {
  .now-playing--lyrics .now-playing__stage {
    padding-left: 0;
  }
}

@media (max-width: 960px) {
  .now-playing--lyrics .now-playing__stage {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(20px, 4vw, 40px);
    padding-top: clamp(16px, 5vh, 44px);
  }

  .now-playing--lyrics .now-playing__controls {
    width: 100%;
    margin-left: 0;
    gap: clamp(4px, 1vw, 10px);
  }

  .now-playing--lyrics .now-playing__art {
    width: min(100%, 280px);
  }

  .now-playing--lyrics .now-playing__title {
    font-size: clamp(19px, 2.6vw, 24px);
  }

  .now-playing__actions,
  .now-playing--lyrics .now-playing__actions {
    right: 0;
  }

  .now-playing--lyrics .now-playing__details {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .now-playing__panel {
    inset: 10px;
    padding: 12px clamp(14px, 3vw, 22px);
  }

  .now-playing__art {
    width: clamp(180px, 42vh, 340px);
  }

  .now-playing__title {
    font-size: clamp(22px, 4vw, 27px);
  }

  .now-playing--lyrics .now-playing__stage {
    column-gap: 28px;
    padding-top: 24px;
  }

  .now-playing--lyrics .now-playing__art {
    width: min(100%, 240px);
  }

  .now-playing__lyrics {
    padding-bottom: 24px;
  }

  .now-playing__lyrics .lyrics-line {
    font-size: clamp(18px, 2.6vw, 24px);
  }

  .now-playing__lyrics .lyrics-line.is-active {
    font-size: clamp(21px, 3vw, 30px);
  }
}

@media (max-width: 620px) {
  .now-playing__panel {
    inset: 12px;
    padding: 14px 20px max(20px, env(safe-area-inset-bottom));
  }

  .now-playing__head {
    min-height: 40px;
  }

  .now-playing__head-btn {
    width: 40px;
    height: 40px;
  }

  .now-playing__head-btn#npExpand {
    display: none;
  }

  .now-playing__head-btn#npLyrics {
    position: absolute;
    left: 20px;
    right: auto;
    bottom: max(20px, env(safe-area-inset-bottom));
    width: calc(100% - 40px);
    height: 44px;
    border-color: transparent;
    background: var(--glass-1);
    color: var(--ink-2);
  }

  .now-playing__head-btn#npLyrics .icon {
    opacity: 0.65;
  }

  .now-playing__eyebrow {
    display: none;
  }

  .now-playing__source {
    max-width: 46vw;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .now-playing__stage {
    padding-top: 16px;
    padding-bottom: 76px;
  }

  .now-playing__main {
    width: min(100%, 340px);
  }

  .now-playing__art {
    width: min(100%, 310px);
  }

  .now-playing__details {
    width: min(100%, 310px);
    min-height: 64px;
    margin-inline: auto;
    margin-top: 16px;
    text-align: left;
  }

  .now-playing__titles {
    justify-items: start;
  }

  .now-playing__title {
    font-size: 22px;
  }

  .now-playing__artist {
    font-size: 13px;
  }

  .now-playing__actions {
    position: static;
    transform: none;
  }

  .now-playing__like {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
  }

  .now-playing__timeline {
    margin-top: 16px;
  }

  .now-playing__controls {
    gap: 12px;
    margin: 16px 0 0;
  }

  .now-playing__ctl {
    width: 40px;
    height: 40px;
  }

  .now-playing__ctl .icon {
    width: 18px;
    height: 18px;
  }

  .now-playing__skip .icon {
    width: 24px;
    height: 24px;
  }

  .now-playing__play {
    width: 64px;
    height: 64px;
  }

  .now-playing__volume {
    width: 100%;
    margin-top: 14px;
  }

  .now-playing__volume-slider,
  .now-playing .now-playing__volume-slider {
    width: min(252px, 70vw);
  }

  /* Lirik di ponsel: pemutar mengecil lalu lirik mengalir di bawahnya. */
  .now-playing--lyrics .now-playing__stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    row-gap: 16px;
    column-gap: 0;
    padding-top: 12px;
    padding-bottom: 76px;
    overflow: hidden;
  }

  .now-playing--lyrics .now-playing__main {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 10px;
    align-items: center;
    width: 100%;
  }

  .now-playing--lyrics .now-playing__art {
    grid-row: 1 / 3;
    width: 96px;
    height: 96px;
  }

  .now-playing--lyrics .now-playing__details {
    grid-column: 2;
    width: 100%;
    min-height: 0;
    margin-top: 0;
    text-align: left;
  }

  .now-playing--lyrics .now-playing__timeline {
    grid-column: 2;
    width: 100%;
    margin-top: 0;
  }

  .now-playing--lyrics .now-playing__controls {
    grid-column: 1 / -1;
    margin: 10px 0 0;
  }

  .now-playing--lyrics .now-playing__play {
    width: 52px;
    height: 52px;
  }

  .now-playing--lyrics .now-playing__volume {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 10px;
  }

  .now-playing__lyrics {
    height: 100%;
    min-height: 0;
    padding: 0 0 16px;
  }

  .now-playing__lyrics .lyrics-line {
    font-size: 20px;
  }

  .now-playing__lyrics .lyrics-line.is-active {
    font-size: 24px;
  }

  .now-playing__lyrics-foot {
    flex-basis: 20px;
    font-size: 10px;
  }
}

/* Layar pendek: rapatkan jarak vertikal agar panel tidak terpotong. */
@media (min-width: 621px) and (max-height: 820px) {
  .now-playing__stage {
    padding-top: clamp(8px, 3.1vh, 24px);
  }

  .now-playing__art {
    width: clamp(150px, 38.2vh, 310px);
  }

  .now-playing__details {
    min-height: 64px;
    margin-top: clamp(10px, 2.6vh, 22px);
  }

  .now-playing__timeline {
    margin-top: clamp(10px, 2.2vh, 18px);
  }

  .now-playing__controls {
    margin: clamp(8px, 2vh, 16px) 0 clamp(12px, 3.2vh, 26px);
  }

  .now-playing__play {
    width: 64px;
    height: 64px;
  }

  .now-playing__play .icon {
    width: 26px;
    height: 26px;
  }

  .now-playing--lyrics .now-playing__stage {
    padding-top: clamp(20px, 8.3vh, 64px);
  }

  .now-playing--lyrics .now-playing__art {
    width: clamp(150px, 39.1vh, 320px);
  }

  .now-playing--lyrics .now-playing__details {
    min-height: 64px;
    margin-top: clamp(8px, 1.8vh, 14px);
  }

  .now-playing--lyrics .now-playing__timeline {
    margin-top: clamp(6px, 1.3vh, 10px);
  }

  .now-playing--lyrics .now-playing__controls {
    margin-top: clamp(6px, 1.3vh, 10px);
    margin-bottom: clamp(8px, 1.6vh, 12px);
  }

  .now-playing--lyrics .now-playing__volume {
    margin-top: 0;
  }
}

@media (min-width: 621px) and (max-height: 700px) {
  .now-playing--lyrics .now-playing__stage {
    padding-top: clamp(12px, 5vh, 40px);
  }

  .now-playing--lyrics .now-playing__art {
    width: clamp(150px, 34vh, 280px);
  }
}

@media (max-width: 620px) and (max-height: 740px) {
  .now-playing__art {
    width: min(100%, 240px);
  }

  .now-playing__play {
    width: 56px;
    height: 56px;
  }

  .now-playing__details {
    width: min(100%, 240px);
    min-height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .now-playing,
  .now-playing__panel,
  .now-playing__stage,
  .now-playing__art,
  .now-playing__details,
  .now-playing__timeline,
  .now-playing__controls,
  .now-playing__volume,
  .now-playing__actions,
  .now-playing__lyrics,
  .now-playing__lyrics .lyrics-line {
    transition: none;
  }
}


.queue-empty strong {
  color: var(--text-2);
  font-weight: 500;
}
