/* =====================================================
   QUEUE DRAWER — clipping protection
   The drawer lives outside the visual player bar,
   so the outer shell must allow overflow.
===================================================== */

#wvNowDeck.wv-player-shell {
  overflow: visible !important;
  max-height: none !important;
}

#wvNowDeck.wv-player-shell .wv-player-bar {
  overflow: hidden;
}
#wvNowDeck.wv-player-shell #wvQueueDrawer {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.78rem);
  z-index: 999999;

  width: min(440px, calc(100vw - 1.4rem));
  max-height: min(650px, calc(100vh - 8rem));
  overflow: hidden;

  pointer-events: auto;

  border: 1px solid rgba(190, 255, 255, 0.25);
  border-radius: 26px;

  background:
    radial-gradient(circle at 16% 8%, rgba(125, 249, 255, 0.16), transparent 38%),
    radial-gradient(circle at 96% 0%, rgba(255, 79, 216, 0.13), transparent 36%),
    linear-gradient(180deg, rgba(6, 16, 25, 0.98), rgba(3, 6, 13, 0.98));

  box-shadow:
    0 26px 86px rgba(0, 0, 0, 0.76),
    0 0 38px rgba(125, 249, 255, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.17);

  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

#wvNowDeck.wv-player-shell #wvQueueDrawer[hidden] {
  display: none !important;
}

#wvNowDeck.wv-player-shell.is-queue-open #wvQueueDrawer:not([hidden]) {
  display: block !important;
}

#wvNowDeck.wv-player-shell .wv-queue-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;

  padding: 1rem;
  border-bottom: 1px solid rgba(125, 249, 255, 0.13);
  background: rgba(0, 0, 0, 0.22);
}

#wvNowDeck.wv-player-shell .wv-queue-drawer__head div {
  display: grid;
  gap: 0.22rem;
}

#wvNowDeck.wv-player-shell .wv-queue-drawer__head strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#wvNowDeck.wv-player-shell .wv-queue-drawer__head span {
  color: var(--wv-player-muted);
  font-size: 0.74rem;
  font-weight: 850;
}

#wvNowDeck.wv-player-shell .wv-queue-close {
  width: 38px;
  height: 38px;
}

#wvNowDeck.wv-player-shell .wv-queue-current,
#wvNowDeck.wv-player-shell .wv-queue-next {
  padding: 0.85rem 1rem;
}

#wvNowDeck.wv-player-shell .wv-queue-current {
  border-bottom: 1px solid rgba(125, 249, 255, 0.11);
}

#wvNowDeck.wv-player-shell .wv-queue-current h4,
#wvNowDeck.wv-player-shell .wv-queue-next h4 {
  margin: 0 0 0.65rem;

  color: rgba(238, 250, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

#wvNowDeck.wv-player-shell #wvNowList {
  position: relative;
  z-index: 1;

  display: grid;
  gap: 0.58rem;

  max-height: min(395px, 45vh);
  overflow: auto;

  padding: 0.1rem 0.1rem 0.35rem;
}

#wvNowDeck.wv-player-shell #wvNowList::-webkit-scrollbar {
  width: 10px;
}

#wvNowDeck.wv-player-shell #wvNowList::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

#wvNowDeck.wv-player-shell #wvNowList::-webkit-scrollbar-thumb {
  border: 2px solid rgba(5, 12, 18, 0.9);
  border-radius: 999px;
  background: rgba(125, 249, 255, 0.42);
}

#wvNowDeck.wv-player-shell .wv-now-empty {
  margin: 0;
  padding: 1rem;

  border: 1px dashed rgba(125, 249, 255, 0.23);
  border-radius: 18px;

  color: rgba(220, 240, 248, 0.68);
  font-size: 0.85rem;
  text-align: center;
}

#wvNowDeck.wv-player-shell .wv-now-row {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;

  min-height: 60px;
  padding: 0.58rem 0.7rem;

  border: 1px solid rgba(125, 249, 255, 0.14);
  border-radius: 19px;

  background:
    linear-gradient(135deg, rgba(125, 249, 255, 0.07), rgba(255, 79, 216, 0.04)),
    rgba(255, 255, 255, 0.036);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 7px 20px rgba(0, 0, 0, 0.27);
}

#wvNowDeck.wv-player-shell .wv-now-row.is-playing {
  border-color: rgba(125, 249, 255, 0.58);
  background:
    linear-gradient(135deg, rgba(125, 249, 255, 0.15), rgba(255, 79, 216, 0.09)),
    rgba(255, 255, 255, 0.06);

  box-shadow:
    inset 4px 0 0 var(--wv-player-cyan),
    0 0 24px rgba(125, 249, 255, 0.18);
}

#wvNowDeck.wv-player-shell .wv-now-preview {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

#wvNowDeck.wv-player-shell .wv-now-preview .wv-play {
  width: 42px;
  height: 42px;
  min-width: 42px;
  font-size: 0.9rem;
}

#wvNowDeck.wv-player-shell .wv-now-preview .wv-wave {
  display: none;
}

#wvNowDeck.wv-player-shell .wv-now-meta {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

#wvNowDeck.wv-player-shell .wv-now-meta strong {
  overflow: hidden;

  color: #f7fcff;
  font-size: 0.94rem;
  font-weight: 950;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#wvNowDeck.wv-player-shell .wv-now-meta span {
  overflow: hidden;

  color: rgba(210, 230, 240, 0.64);
  font-size: 0.74rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#wvNowDeck.wv-player-shell .wv-now-remove {
  display: grid;
  place-items: center;

  width: 34px;
  height: 34px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.055);
  color: #f5fbff;

  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
/* =========================================================
   WildVerse Player Shell — Queue Drawer: Current Track
   Location:
   public_html/wildverse/assets/css/player-shell/06-player-shell-queue-drawer.css
========================================================= */

/* Add the missing NOW PLAYING label without changing PHP */
#wvNowDeck.wv-player-shell .wv-queue-current::before {
  content: "Now playing";
  display: block;

  margin: 0 0 0.65rem;

  color: rgba(160, 235, 255, 0.95);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(125, 249, 255, 0.28);
}

/* Keep the current section structural only, not tab-like */
#wvNowDeck.wv-player-shell .wv-queue-current {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(125, 249, 255, 0.11);
  background: transparent;
}

/* Current track: clear but not user-action/tab styled */
#wvNowDeck.wv-player-shell .wv-queue-current .wv-now-row {
  position: relative;

  border-color: rgba(125, 249, 255, 0.5);
  background:
    linear-gradient(135deg, rgba(125, 249, 255, 0.10), rgba(145, 120, 255, 0.08)),
    rgba(255, 255, 255, 0.035);

  box-shadow:
    inset 4px 0 0 rgba(125, 249, 255, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 20px rgba(125, 249, 255, 0.12);

  transform: none;
}

/* Remove LIVE badge */
#wvNowDeck.wv-player-shell .wv-queue-current .wv-now-row::before {
  content: none;
}

/* Softer current-track text */
#wvNowDeck.wv-player-shell .wv-queue-current .wv-now-meta strong {
  color: #f7fcff;
  text-shadow: 0 0 8px rgba(125, 249, 255, 0.18);
}

#wvNowDeck.wv-player-shell .wv-queue-current .wv-now-meta span {
  color: rgba(210, 230, 240, 0.68);
}

/* Current play button: keep cyan identity, not gold */
#wvNowDeck.wv-player-shell .wv-queue-current .wv-play {
  box-shadow:
    0 0 14px rgba(125, 249, 255, 0.42),
    0 0 24px rgba(125, 249, 255, 0.16);
}

/* Keep UP NEXT spacing clean */
#wvNowDeck.wv-player-shell .wv-queue-next {
  padding-top: 0.85rem;
}

#wvNowDeck.wv-player-shell .wv-queue-next h4 {
  color: rgba(238, 250, 255, 0.92);
  opacity: 1;
}

/* =====================================================
   WildVerse album art in queue / now playing / shell
===================================================== */

.wv-now-art {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 42px;
  border: 1px solid rgba(120, 247, 255, 0.16);
  background:
    radial-gradient(circle at 30% 20%, rgba(120, 247, 255, 0.16), transparent 58%),
    linear-gradient(135deg, rgba(120, 247, 255, 0.08), rgba(255, 79, 216, 0.045)),
    rgba(3, 10, 18, 0.9);
}

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

.wv-now-art.is-empty {
  display: grid;
  place-items: center;
}

.wv-now-art.is-empty span {
  color: rgba(220, 252, 255, 0.72);
  font-size: 1.2rem;
  font-weight: 900;
}

.wv-now-meta small {
  overflow: hidden;
  color: rgba(210, 230, 240, 0.48);
  font-size: 0.64rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wv-player-bar__cover {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(120, 247, 255, 0.18);
  background:
    radial-gradient(circle at 30% 20%, rgba(120, 247, 255, 0.16), transparent 58%),
    linear-gradient(135deg, rgba(120, 247, 255, 0.08), rgba(255, 79, 216, 0.045)),
    rgba(3, 10, 18, 0.9);
}

.wv-player-bar__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wv-player-bar__cover.is-empty span {
  color: rgba(220, 252, 255, 0.72);
  font-size: 1.25rem;
  font-weight: 900;
}