/*
file location: public_html/wildverse/Styles/wildverse-library/wildverse-library.css
*/
:root {
  --wv-bg: #05070d;
  --wv-panel: rgba(255, 255, 255, 0.065);
  --wv-panel-2: rgba(255, 255, 255, 0.105);
  --wv-text: #f1fbff;
  --wv-muted: #9ab0c3;
  --wv-line: rgba(255, 255, 255, 0.14);
  --wv-cyan: #78f7ff;
  --wv-pink: #ff4fd8;
  --wv-violet: #9b6cff;
  --wv-green: #54f2a7;
  --wv-yellow: #ffe06f;
  --wv-red: #ff5e7a;
  --wv-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --wv-radius: 8px;
}
/* Compact library sizing */
:root {
  --wv-row-pad-y: 7px;
  --wv-row-pad-x: 10px;
  --wv-play-size: 34px;
  --wv-action-height: 30px;
  --wv-compact-font: 12px;
}
.wv-library {
  background: linear-gradient(180deg, rgb(2 10 13), rgb(3 16 22)), rgb(3 16 22) !important;
  position: relative;
/*   margin: 0px 0px; */
  padding: 18px;
  color: var(--wv-text);
  isolation: isolate;
}

.wv-library::before {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(120, 247, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(255, 79, 216, 0.14), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(155, 108, 255, 0.15), transparent 30%);
  filter: blur(4px);
}

.wv-library::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border-radius: 30px;
    /* background: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); */
    /* background-size: 44px 44px; */
    /* mask-image: linear-gradient(to bottom, black, transparent 90%); */
}

.wv-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(4, minmax(150px, 0.7fr));
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--wv-line);
  border-radius: var(--wv-radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035)),
    rgba(0,0,0,0.25);
  box-shadow: var(--wv-shadow);
  backdrop-filter: blur(18px);
}

.wv-toolbar input,
.wv-toolbar select {
  width: 100%;
  min-height: 23px;
  padding: 9px 11px;
  border: 1px solid var(--wv-line);
  border-radius: 13px;
  color: var(--wv-text);
  background: rgba(0, 0, 0, 0.34);
  outline: none;
  font: inherit;
  font-size: 14px;
}

.wv-toolbar option {
  color: var(--wv-text);
  background: #111827;
}

.wv-toolbar input:focus,
.wv-toolbar select:focus {
  border-color: var(--wv-cyan);
  box-shadow: 0 0 0 4px rgba(120, 247, 255, 0.12);
}

.wv-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 10px 0;
}

.wv-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--wv-line);
  border-radius: var(--wv-radius);
  background: var(--wv-panel);
  box-shadow: 0 12px 36px rgba(0,0,0,0.23);
}

.wv-stat strong {
  font-size: 24px;
  line-height: 1;
  color: var(--wv-text);
}

.wv-stat span {
  color: var(--wv-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wv-table-shell {
    min-height: 220px;
    overflow: auto;
    background: #030e12;
    /* box-shadow: var(--wv-shadow); */
}

.wv-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  table-layout: fixed;
}

.wv-table th,
.wv-table td {
  padding: var(--wv-row-pad-y) var(--wv-row-pad-x);
/*   border-bottom: 1px solid var(--wv-line); */
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
}

.wv-table th {
  position: sticky;
  top: 0;
  z-index: 6;
  color: #ccecff;
  background: rgba(5, 7, 13, 0.96);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.wv-table th:nth-child(1),
.wv-table td:nth-child(1) {
  width: 81px;
}

.wv-table th:nth-child(2),
.wv-table td:nth-child(2) {
  width: 250px;
}

.wv-table th:nth-child(3),
.wv-table td:nth-child(3) {
  width: 140px;
}

.wv-table th:nth-child(4),
.wv-table td:nth-child(4) {
  width: 250px;
}

.wv-table th:nth-child(5),
.wv-table td:nth-child(5) {
  width: 145px;
}

.wv-table th:last-child,
.wv-table td:last-child {
  width: 230px;
  position: sticky;
  right: 0;
  z-index: 4;
  background: rgba(9, 13, 24, 0.98);
  box-shadow: -16px 0 28px rgba(0, 0, 0, 0.32);
}

.wv-table th:last-child {
  z-index: 8;
  background: rgba(5, 7, 13, 0.98);
}

.wv-track-row {
  transition:
    background 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.wv-track-row:hover {
  background: rgba(120, 247, 255, 0.045);
}

.wv-track-row.is-playing {
  background:
    linear-gradient(90deg, rgba(120, 247, 255, 0.12), rgba(255, 79, 216, 0.06));
  box-shadow: inset 3px 0 0 var(--wv-cyan);
}

.wv-preview {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wv-play {
  display: inline-grid;
  place-items: center;
  width: var(--wv-play-size);
  height: var(--wv-play-size);
  border: 1px solid rgba(120, 247, 255, 0.45);
  border-radius: 50%;
  color: #031016;
  background:
    radial-gradient(circle at 30% 20%, #ffffff, var(--wv-cyan) 58%, #36a9ff);
  box-shadow:
    0 0 18px rgba(120, 247, 255, 0.34),
    0 0 38px rgba(255, 79, 216, 0.12);
  cursor: pointer;
}

.wv-play:hover {
  transform: translateY(-1px) scale(1.04);
}

.wv-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.wv-wave span {
  display: block;
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: rgba(120, 247, 255, 0.45);
}

.wv-track-row.is-playing .wv-wave span {
  animation: wv-wave 680ms infinite ease-in-out;
}

.wv-track-row.is-playing .wv-wave span:nth-child(2) {
  animation-delay: 90ms;
}

.wv-track-row.is-playing .wv-wave span:nth-child(3) {
  animation-delay: 180ms;
}

.wv-track-row.is-playing .wv-wave span:nth-child(4) {
  animation-delay: 270ms;
}

@keyframes wv-wave {
  0%, 100% {
    height: 8px;
    opacity: 0.55;
  }

  50% {
    height: 24px;
    opacity: 1;
  }
}

.wv-track-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.wv-hot {
  padding: 3px 7px;
  border-radius: 999px;
  color: #1a060d;
  background: linear-gradient(90deg, var(--wv-yellow), var(--wv-pink));
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.1em;
}

.wv-muted {
  margin-top: 5px;
  color: var(--wv-muted);
  font-size: 12px;
  line-height: 1.35;
}

.wv-persona,
.wv-type,
.wv-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  white-space: nowrap;
}

.wv-persona {
  text-decoration: dashed;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--wv-text);
  background: rgba(255,255,255,0.08);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.wv-persona-reactiva {
  color: #ffd9f7;
  border-color: rgba(255, 79, 216, 0.42);
  background: rgba(255, 79, 216, 0.12);
}

.wv-persona-veloura {
  color: #fff0c0;
  border-color: rgba(255, 224, 111, 0.42);
  background: rgba(255, 224, 111, 0.11);
}

.wv-persona-oracle {
  color: #e8ddff;
  border-color: rgba(155, 108, 255, 0.45);
  background: rgba(155, 108, 255, 0.13);
}

.wv-persona-zar {
  color: #caffff;
  border-color: rgba(120, 247, 255, 0.45);
  background: rgba(120, 247, 255, 0.12);
}

.wv-persona-nyx {
  color: #d2dcff;
  border-color: rgba(106, 125, 255, 0.45);
  background: rgba(106, 125, 255, 0.13);
}

.wv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.wv-pill {
  padding: 4px 7px;
  border: 1px solid var(--wv-line);
  color: #dbeeff;
  background: rgba(255,255,255,0.055);
  font-size: 11px;
}

.wv-type {
  padding: 5px 9px;
  border: 1px solid rgba(84, 242, 167, 0.32);
  color: var(--wv-green);
  background: rgba(84, 242, 167, 0.09);
  font-size: 12px;
  font-weight: 900;
}

.wv-counts {
  display: grid;
  gap: 7px;
}

.wv-counts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dceeff;
}

.wv-counts i {
  color: var(--wv-cyan);
}


.wv-empty {
  padding: 34px 20px;
  text-align: center;
  color: var(--wv-muted);
  font-weight: 800;
}

.wv-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: none;
  max-width: min(520px, calc(100% - 32px));
  padding: 12px 14px;
  border: 1px solid rgba(120, 247, 255, 0.35);
  border-radius: 15px;
  color: #031016;
  background: linear-gradient(90deg, #e7fdff, var(--wv-cyan));
  box-shadow: var(--wv-shadow);
  font-weight: 1000;
}

.wv-toast.show {
  display: block;
}

@media (max-width: 1120px) {
  .wv-table th:last-child,
  .wv-table td:last-child {
    width: 57px;
  }

  .wv-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .wv-toolbar input {
    grid-column: 1 / -1;
  }

  .wv-table-shell {
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
.wv-library {
    width: min(100%, 1540px);
    padding: 10px 10px;
}

  .wv-toolbar {
    grid-template-columns: 1fr;
  }

  .wv-toolbar input {
    grid-column: auto;
  }

  .wv-stats {
    grid-template-columns: 1fr 1fr;
  }

  .wv-stat {
    padding: 10px;
  }

  .wv-stat strong {
    font-size: 20px;
  }

  .wv-table {
    min-width: 1040px;
  }

  .wv-table th:last-child,
  .wv-table td:last-child {
    width: 57px;
  }
}

#wvYoutubePlayerShell {
  position: fixed;
  width: 1px;
  height: 1px;
  left: -9999px;
  top: -9999px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.wv-yt-badge {
  background: linear-gradient(90deg, #ff0033, #ff7a7a);
  color: #fff;
}
/* =====================================================
   WILDVERSE TABLE SCROLLBAR
===================================================== */

.wv-table-shell {
    scrollbar-width: thin;
    scrollbar-color: var(--wv-cyan) rgb(3 14 18);
}

.wv-table-shell::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.wv-table-shell::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.055);
  border-radius: 999px;
}

.wv-table-shell::-webkit-scrollbar-thumb {
/*   border: 2px solid rgba(3, 16, 22, 0.95);
  border-radius: 999px; */
  background:
    linear-gradient(90deg, var(--wv-cyan), rgba(255, 79, 216, 0.85));
}

.wv-table-shell::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(90deg, #c9fbff, var(--wv-cyan), var(--wv-pink));
}

.wv-table-shell::-webkit-scrollbar-corner {
  background: transparent;
}

/* -------------------------------------------------
   WildVerse high-tech stats panel
------------------------------------------------- */

.wv-stats-panel {
  width: min(100%, 190px);
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid rgba(127, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(127, 255, 255, 0.08), transparent 48%),
    radial-gradient(circle at top left, rgba(127, 255, 255, 0.14), transparent 38%),
    rgba(3, 10, 18, 0.72);
  box-shadow:
    inset 0 0 18px rgba(127, 255, 255, 0.05),
    0 0 22px rgba(127, 255, 255, 0.05);
}

.wv-stat-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 0.55rem;
}

.wv-stat-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #79fbff;
  background: rgba(127, 255, 255, 0.1);
  border: 1px solid rgba(127, 255, 255, 0.16);
  box-shadow: 0 0 16px rgba(127, 255, 255, 0.08);
}

.wv-stat-main {
  display: grid;
  gap: 0.05rem;
}

.wv-stat-main b {
  color: #f3ffff;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.wv-stat-main small {
  color: rgba(221, 246, 255, 0.64);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.wv-stat-signal {
  margin-top: 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(127, 255, 255, 0.12);
}

.wv-stat-signal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  color: rgba(221, 246, 255, 0.68);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.wv-stat-signal-head strong {
  color: #79fbff;
  font-size: 0.72rem;
  text-shadow: 0 0 14px rgba(127, 255, 255, 0.34);
}

.wv-stat-meter {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.45);
}

.wv-stat-meter span {
  display: block;
  height: 100%;
  min-width: 6px;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(127, 255, 255, 0.55), rgba(127, 255, 255, 1));
  box-shadow: 0 0 16px rgba(127, 255, 255, 0.45);
}

@media (max-width: 760px) {
  .wv-stats-panel {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .wv-stat-signal {
    grid-column: 1 / -1;
  }
}

.wv-yt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #ff0033, #ff6b7a);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(255, 0, 51, 0.22);
}

.wv-yt-badge:hover {
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 0, 51, 0.38);
}

.wv-yt-badge i {
  font-size: 0.82em;
}

/* =====================================================
   WILDVERSE LIBRARY — TRUE COMPACT PLAYLIST ROWS
   Paste at END of CSS so it overrides previous rules
===================================================== */

.wv-table {
  min-width: 1080px;
}

.wv-table th {
  height: 34px;
  padding: 7px 10px;
  font-size: 10px;
}

.wv-table td {
  height: 58px;
  padding: 6px 10px;
  font-size: 12px;
}

/* tighter columns */
.wv-table th:nth-child(1),
.wv-table td:nth-child(1) {
  width: 81px;
}

.wv-table th:nth-child(2),
.wv-table td:nth-child(2) {
  width: 260px;
}

.wv-table th:nth-child(3),
.wv-table td:nth-child(3) {
  width: 160px;
}

.wv-table th:nth-child(4),
.wv-table td:nth-child(4) {
  width: 210px;
}

.wv-table th:nth-child(5),
.wv-table td:nth-child(5) {
  width: 140px;
}

.wv-table th:last-child,
.wv-table td:last-child {
  width: 175px;
}

/* preview cell */
.wv-preview {
  gap: 6px;
}

.wv-play {
  width: 32px;
  height: 32px;
  font-size: 0.78rem;
  box-shadow:
    0 0 12px rgba(120, 247, 255, 0.3),
    0 0 24px rgba(255, 79, 216, 0.08);
}

.wv-wave {
  height: 16px;
  gap: 3px;
}

.wv-wave span {
  width: 3px;
  height: 7px;
}

/* track text */
.wv-track-title {
  gap: 5px;
  font-size: 12.5px;
  line-height: 1.1;
}

.wv-muted {
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.15;
}

/* badges */
.wv-persona {
  padding: 3px 7px;
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.wv-pills {
  gap: 4px;
  margin-top: 4px;
}

.wv-pill {
  padding: 2px 6px;
  font-size: 9.5px;
}

.wv-type {
  padding: 3px 7px;
  font-size: 10px;
}


/* stats card compact */
.wv-track-stat-card {
  padding: 8px 10px;
  border-radius: 14px;
}

.wv-stat-pair {
  gap: 8px;
  margin-bottom: 5px;
}

.wv-stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
}

.wv-stat-copy strong {
  font-size: 14px;
  line-height: 1;
}

.wv-stat-copy span {
  font-size: 9px;
  letter-spacing: 0.1em;
}

/* date added compact */
.wv-stat-date {
  margin-top: 7px;
  padding-top: 7px;
}

.wv-stat-date > span {
  margin-bottom: 3px;
  font-size: 8.5px;
  letter-spacing: 0.13em;
}

.wv-stat-date strong {
  gap: 4px;
  font-size: 11px;
  line-height: 1.05;
}

.wv-stat-date em {
  padding: 0.08rem 0.45rem;
  font-size: 8px;
  letter-spacing: 0.16em;
}

/* make row feel like a playlist item, not a card block */
.wv-track-row {
  min-height: 58px;
}

.wv-track-row:hover {
  background: rgba(120, 247, 255, 0.06);
}

/* reduce playing wave animation height */
@keyframes wv-wave {
  0%, 100% {
    height: 5px;
    opacity: 0.55;
  }

  50% {
    height: 16px;
    opacity: 1;
  }
}
/* =====================================================
   WILDVERSE LIBRARY — COMPACT PLAYLIST ROWS, VERSION 2
===================================================== */

.wv-table {
  min-width: 1120px;
}

.wv-table th {
  height: 38px;
  padding-block: 8px;
}

.wv-table td {
  height: 76px;
}

.wv-track-title {
  gap: 5px;
  font-size: 13px;
  line-height: 1.15;
}

.wv-muted {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.2;
}

.wv-preview {
  gap: 7px;
}

.wv-wave {
  height: 18px;
}

.wv-wave span {
  width: 3px;
  height: 8px;
}

.wv-track-row.is-playing .wv-wave span {
  animation-duration: 620ms;
}

@keyframes wv-wave {
  0%, 100% {
    height: 6px;
    opacity: 0.55;
  }

  50% {
    height: 18px;
    opacity: 1;
  }
}

.wv-persona {
  padding: 3px 8px;
  font-size: 10px;
  letter-spacing: 0.07em;
}

.wv-pills {
  gap: 4px;
  margin-top: 5px;
}

.wv-pill {
  padding: 3px 6px;
  font-size: 10px;
}

.wv-type {
  padding: 4px 8px;
  font-size: 11px;
}


.wv-table th:nth-child(1),
.wv-table td:nth-child(1) {
  width: 81px;
}

.wv-table th:nth-child(2),
.wv-table td:nth-child(2) {
  width: 200px;
}

.wv-table th:nth-child(3),
.wv-table td:nth-child(3) {
  width: 134px;
}

.wv-table th:nth-child(4),
.wv-table td:nth-child(4) {
  width: 142px;
}

.wv-table th:nth-child(5),
.wv-table td:nth-child(5) {
  width: 170px;
}

.wv-table th:last-child,
.wv-table td:last-child {
  width: 190px;
}

/* Compact stats card */
.wv-track-stats,
.wv-stats-card,
.wv-stat-card {
  padding: 10px 12px;
  border-radius: 18px;
}

.wv-stat-date {
  margin-top: 9px;
  padding-top: 9px;
}

.wv-stat-date > span {
  margin-bottom: 4px;
  font-size: 9px;
}

.wv-stat-date strong {
  gap: 4px;
  font-size: 13px;
  line-height: 1.1;
}

.wv-stat-date em {
  padding: 0.12rem 0.52rem;
  font-size: 9px;
}

/* If your stat rows use icon + number blocks */
.wv-track-stats .wv-stat-line,
.wv-stats-card .wv-stat-line,
.wv-stat-card .wv-stat-line {
  gap: 8px;
  margin-bottom: 6px;
}

.wv-track-stats strong,
.wv-stats-card strong,
.wv-stat-card strong {
  font-size: 16px;
}

.wv-track-stats span,
.wv-stats-card span,
.wv-stat-card span {
  font-size: 10px;
}
/* =====================================================
   WILDVERSE LIBRARY — COMPACT TABLE
   Uses the real rendered classes: .wv-stats-panel / .wv-stat-row
===================================================== */

/* Force table rows to stop behaving like tall cards */
.wv-table {
  border-collapse: collapse;
  table-layout: fixed;
}

.wv-table th {
  height: 32px !important;
  padding: 6px 10px !important;
  line-height: 1 !important;
}

.wv-table td {
  height: 54px !important;
  max-height: 54px !important;
  padding: 5px 10px !important;
  line-height: 1.1 !important;
  vertical-align: middle !important;
}

/* Compact preview */
.wv-preview {
  gap: 6px !important;
}

.wv-play {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  font-size: 11px !important;
}

.wv-wave {
  height: 14px !important;
}

.wv-wave span {
  width: 3px !important;
  height: 7px !important;
}

/* Compact track text */
.wv-track-title {
  display: flex;
  gap: 4px !important;
  font-size: 12px !important;
  line-height: 1.05 !important;
}

.wv-muted {
  margin-top: 2px !important;
  font-size: 10px !important;
  line-height: 1.05 !important;
}

/* Compact persona / mood */
.wv-persona {
  padding: 2px 7px !important;
  font-size: 9px !important;
  line-height: 1.1 !important;
}

.wv-pills {
  gap: 3px !important;
  margin-top: 3px !important;
}

.wv-pill {
  padding: 2px 5px !important;
  font-size: 9px !important;
  line-height: 1 !important;
}

.wv-type {
  padding: 3px 7px !important;
  font-size: 10px !important;
  line-height: 1 !important;
}


/* REAL stats panel compacting */
.wv-stats-panel {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  gap: 4px 7px !important;
  width: 100% !important;
  padding: 6px 8px !important;
  border-radius: 12px !important;
  min-height: 0 !important;
  box-shadow: none !important;
}

.wv-stat-row {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  min-height: 22px !important;
}

.wv-stat-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  border-radius: 8px !important;
  font-size: 10px !important;
}

.wv-stat-main {
  display: grid !important;
  gap: 0 !important;
}

.wv-stat-main b,
.wv-download-count,
.wv-like-count {
  font-size: 12px !important;
  line-height: 1 !important;
}

.wv-stat-main small {
  font-size: 7.5px !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
}

/* Date added becomes one compact line */
.wv-stat-date {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  margin-top: 2px !important;
  padding-top: 4px !important;
  border-top: 1px solid rgba(120, 247, 255, 0.12) !important;
}

.wv-stat-date > span {
  margin: 0 !important;
  font-size: 7.5px !important;
  line-height: 1 !important;
  letter-spacing: 0.1em !important;
  white-space: nowrap !important;
}

.wv-stat-date strong {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.wv-stat-date em {
  padding: 0.07rem 0.38rem !important;
  font-size: 7px !important;
  line-height: 1 !important;
}

/* Narrow the sticky stats column */
.wv-table th:last-child,
.wv-table td:last-child {
  width: 200px !important;
}

/* Prevent hidden overflow from expanding the perceived row */
.wv-table td > * {
  max-height: 60px;
}

/* =====================================================
   WILDVERSE LIBRARY — NAV HEIGHT OFFSET
   Prevent first section from sitting under fixed nav
===================================================== */

:root {
  --wv-nav-offset: 53px;
}

.wv-library {
  padding-top: calc(18px + var(--wv-nav-offset));
  scroll-margin-top: var(--wv-nav-offset);
}
/* =====================================================
   WILDVERSE LIBRARY — MAIN TABLE ROW WAVE STATE FIX
   Only affects the small row bars in the library table.
   Does NOT affect the player-shell visualizer.
===================================================== */

.wv-table .wv-track-row .wv-preview .wv-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}

.wv-table .wv-track-row .wv-preview .wv-wave span {
  display: block;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: rgba(120, 247, 255, 0.48);
  opacity: 0.48;
  transform-origin: bottom center;
  animation: none;
}

.wv-table .wv-track-row.is-playing .wv-preview .wv-wave span,
.wv-table .wv-track-row.is-main-playing .wv-preview .wv-wave span,
.wv-table .wv-track-row .wv-preview .wv-play.is-playing ~ .wv-wave span {
  background:
    linear-gradient(
      to top,
      rgba(120, 247, 255, 1),
      rgba(255, 79, 216, 0.85)
    );
  opacity: 0.95;
  animation: wv-main-table-wave-bars 760ms ease-in-out infinite;
}

.wv-table .wv-track-row.is-playing .wv-preview .wv-wave span:nth-child(2),
.wv-table .wv-track-row.is-main-playing .wv-preview .wv-wave span:nth-child(2),
.wv-table .wv-track-row .wv-preview .wv-play.is-playing ~ .wv-wave span:nth-child(2) {
  animation-delay: 95ms;
}

.wv-table .wv-track-row.is-playing .wv-preview .wv-wave span:nth-child(3),
.wv-table .wv-track-row.is-main-playing .wv-preview .wv-wave span:nth-child(3),
.wv-table .wv-track-row .wv-preview .wv-play.is-playing ~ .wv-wave span:nth-child(3) {
  animation-delay: 190ms;
}

.wv-table .wv-track-row.is-playing .wv-preview .wv-wave span:nth-child(4),
.wv-table .wv-track-row.is-main-playing .wv-preview .wv-wave span:nth-child(4),
.wv-table .wv-track-row .wv-preview .wv-play.is-playing ~ .wv-wave span:nth-child(4) {
  animation-delay: 285ms;
}

@keyframes wv-main-table-wave-bars {
  0%, 100% {
    height: 5px;
    opacity: 0.55;
    transform: scaleY(0.75);
  }

  45% {
    height: 18px;
    opacity: 1;
    transform: scaleY(1);
  }

  70% {
    height: 10px;
    opacity: 0.78;
    transform: scaleY(0.9);
  }
}
/* =====================================================
   WILDVERSE LIBRARY — MAIN TABLE ALBUM ART
===================================================== */

.wv-track-main {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.wv-track-art {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  overflow: hidden;
  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);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 16px rgba(120, 247, 255, 0.08);
}

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

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

.wv-track-art.is-empty span {
  color: rgba(220, 252, 255, 0.72);
  font-size: 1.35rem;
  font-weight: 900;
  text-shadow: 0 0 14px rgba(120, 247, 255, 0.22);
}

.wv-track-main__meta {
  min-width: 0;
}

.wv-track-main__meta .wv-track-title,
.wv-track-main__meta .wv-muted,
.wv-track-album {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wv-track-album {
  margin-top: 3px;
  color: rgba(190, 224, 236, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
}
/* =====================================================
   WILDVERSE LIBRARY — SAFE DESKTOP APP LAYOUT
   Keeps the table intact. Does not convert rows to cards.
===================================================== */

@media (min-width: 1180px) {
  .wv-library-app {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr) 320px;
    gap: 16px;
    align-items: start;
  }

  .wv-library-app__left,
  .wv-library-app__right,
  .wv-library-app__center {
    min-width: 0;
  }

  .wv-library-app__left {
    display: grid;
    gap: 12px;
  }

  .wv-library-app__left .wv-toolbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 14px !important;
    border-radius: 20px;
  }

  .wv-library-app__left .wv-toolbar::before {
    content: "Library Filters";
    color: #bff8ff;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .wv-library-app__left .wv-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  .wv-library-app__left .wv-stat {
    min-height: 60px;
    padding: 13px !important;
    border-radius: 18px !important;
  }

  .wv-library-app__left .wv-library-foot {
    margin: 0 !important;
    padding: 14px !important;
    border: 1px solid rgba(120, 247, 255, 0.16);
    border-radius: 20px;
    background:
      radial-gradient(circle at 0% 0%, rgba(120, 247, 255, 0.10), transparent 42%),
      linear-gradient(135deg, rgba(120, 247, 255, 0.055), rgba(255, 79, 216, 0.035)),
      rgba(3, 10, 18, 0.88);
  }

  .wv-library-app__left .wv-library-foot::before {
    content: "Creator Credit";
    display: block;
    margin-bottom: 8px;
    color: #bff8ff;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .wv-library-app__center .wv-table-shell {
    width: 100%;
    min-width: 0;
    max-height: calc(100dvh - 245px);
    min-height: 520px;
    overflow-y: auto !important;
    overflow-x: auto !important;
/*     border-radius: 10px; */
  }

  .wv-library-app__center .wv-table {
    min-width: 980px;
  }

  .wv-library-app__center .wv-table th:last-child,
  .wv-library-app__center .wv-table td:last-child {
    position: static !important;
    right: auto !important;
    z-index: auto !important;
    box-shadow: none !important;
  }

  #wvAlbumContextMount {
    position: sticky;
    top: calc(var(--wv-nav-offset, 78px) + 12px);
  }

  #wvAlbumContextPanel {
    width: 100%;
    min-height: 520px;
    padding: 16px;
    border: 1px solid rgba(120, 247, 255, 0.18);
    border-radius: 24px;
    background:
      radial-gradient(circle at 50% 0%, rgba(120, 247, 255, 0.13), transparent 42%),
      linear-gradient(135deg, rgba(120, 247, 255, 0.06), rgba(255, 79, 216, 0.04)),
      rgba(3, 10, 18, 0.92);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 18px 40px rgba(0, 0, 0, 0.24);
  }

  .wv-album-panel__eyebrow {
    color: #bff8ff;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .wv-album-panel__art {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    margin: 14px 0;
    overflow: hidden;
    border: 1px solid rgba(120, 247, 255, 0.18);
    border-radius: 22px;
    background:
      radial-gradient(circle at 35% 20%, rgba(120, 247, 255, 0.18), transparent 58%),
      linear-gradient(135deg, rgba(120, 247, 255, 0.08), rgba(255, 79, 216, 0.055)),
      rgba(3, 10, 18, 0.96);
  }

  .wv-album-panel__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .wv-album-panel__art span {
    color: rgba(220, 252, 255, 0.74);
    font-size: 2.35rem;
    font-weight: 900;
  }

  .wv-album-panel__title {
    margin: 0;
    color: #f4fbff;
    font-size: 1.25rem;
    line-height: 1.08;
  }

  .wv-album-panel__meta {
    margin-top: 6px;
    color: rgba(210, 230, 240, 0.72);
    font-size: 0.86rem;
    font-weight: 800;
  }

  .wv-album-panel__list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
  }

  .wv-album-panel__track {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(120, 247, 255, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
  }

  .wv-album-panel__track.is-current {
    border-color: rgba(120, 247, 255, 0.38);
    background:
      linear-gradient(90deg, rgba(120, 247, 255, 0.13), rgba(255, 79, 216, 0.06)),
      rgba(255, 255, 255, 0.04);
    box-shadow: inset 3px 0 0 var(--wv-cyan);
  }

  .wv-album-panel__track strong {
    overflow: hidden;
    color: #eefcff;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wv-album-panel__track span {
    color: rgba(210, 230, 240, 0.62);
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
  }
}

@media (min-width: 1180px) and (max-width: 1450px) {
  .wv-library-app {
    grid-template-columns: 270px minmax(0, 1fr) 280px;
  }

  .wv-library-app__center .wv-table th:nth-child(4),
  .wv-library-app__center .wv-table td:nth-child(4) {
    display: none;
  }
}

@media (max-width: 1179px) {
  .wv-library-app {
    display: block;
  }

  .wv-library-app__right {
    display: none;
  }
}
/* =====================================================
   WILDVERSE LIBRARY — FIX STICKY TABLE HEADER + STATS
   Paste at END of wildverse-library.css
===================================================== */

@media (min-width: 1180px) {
  .wv-library-app__center .wv-table-shell {
    position: relative !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
  }

  /* Keep pagination pinned at the top of the scroll area */
  .wv-library-app__center .wv-pagination,
  .wv-library-app__center .wv-pagination-top {
    position: sticky !important;
    top: 0 !important;
    z-index: 80 !important;
    min-height: 78px !important;
    margin: 0 !important;
    background:linear-gradient(180deg, rgb(2 10 13), rgb(3 16 22)), rgb(3 16 22) !important
  }

  /* Make every table header cell sticky below pagination */
.wv-library-app__center .wv-table thead th {
    position: sticky !important;
    top: 78px !important;
    z-index: 70 !important;
    height: 52px !important;
    padding: 12px 14px !important;
    background: #031016;
    border-bottom: 1px solid rgba(120, 247, 255, 0.24) !important;
    color: #dffcff !important;
    box-shadow: 0 1px 0 rgba(120, 247, 255, 0.18),
      0 14px 22px rgba(0, 0, 0, 0.34) !important;
}

  /* CRITICAL: override old sticky-right stats header behavior */
  .wv-library-app__center .wv-table thead th:last-child {
    position: sticky !important;
    top: 78px !important;
    right: auto !important;
    z-index: 70 !important;
    background:#031016 !important;
  }

  /* Body stats column should scroll normally in this layout */
  .wv-library-app__center .wv-table tbody td:last-child {
    position: static !important;
    right: auto !important;
    z-index: auto !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Restore the row background on the stats cell after disabling sticky */
/*   .wv-library-app__center .wv-table tbody tr.wv-track-row > td:last-child {
    background:
      linear-gradient(90deg, rgba(120, 247, 255, 0.06), rgba(255, 79, 216, 0.018)),
      rgba(255, 255, 255, 0.018) !important;
  } */

/*   .wv-library-app__center .wv-table tbody tr.wv-track-row:hover > td:last-child {
    background:
      linear-gradient(90deg, rgba(120, 247, 255, 0.13), rgba(255, 79, 216, 0.035)),
      rgba(255, 255, 255, 0.028) !important;
  } */

  .wv-library-app__center .wv-table tbody tr.wv-track-row.is-playing > td:last-child,
  .wv-library-app__center .wv-table tbody tr.wv-track-row.is-main-playing > td:last-child {
    background:
      linear-gradient(90deg, rgba(120, 247, 255, 0.16), rgba(255, 79, 216, 0.095)),
      rgba(255, 255, 255, 0.035) !important;
  }

  /* Prevent body content from visually covering the sticky header */
  .wv-library-app__center .wv-table tbody td {
    position: relative;
    z-index: 1;
  }

  .wv-library-app__center .wv-table thead th {
    isolation: isolate;
  }
}
/* =====================================================
   WILDVERSE LIBRARY — CURRENT ALBUM SONG-LIST SCROLL
   Header/art/title stay visible. Song list scrolls only
   when there are many tracks.
===================================================== */

@media (min-width: 1180px) {
  #wvAlbumContextPanel {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #wvAlbumContextPanel .wv-album-panel__eyebrow,
  #wvAlbumContextPanel .wv-album-panel__art,
  #wvAlbumContextPanel .wv-album-panel__title,
  #wvAlbumContextPanel .wv-album-panel__meta {
    position: relative;
    z-index: 2;
  }

  #wvAlbumContextPanel .wv-album-panel__art {
    max-height: min(360px, 34dvh);
  }

  #wvAlbumContextPanel .wv-album-panel__list {
      max-height: clamp(150px, 27dvh, 360px);
      overflow-y: auto !important;
      overflow-x: hidden !important;
      margin-top: 16px !important;
      padding-right: 6px !important;
      padding-bottom: 8px !important;
      scrollbar-width: thin;
      scrollbar-color: var(--wv-cyan) rgb(12 17 27);
  }

  #wvAlbumContextPanel .wv-album-panel__list::-webkit-scrollbar {
    width: 9px;
  }

  #wvAlbumContextPanel .wv-album-panel__list::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(12, 17, 27, 0.055);
  }

  #wvAlbumContextPanel .wv-album-panel__list::-webkit-scrollbar-thumb {
    border: 2px solid rgba(3, 16, 22, 0.95);
    border-radius: 999px;
    background:
      linear-gradient(180deg, var(--wv-cyan), rgba(255, 79, 216, 0.85));
  }

  #wvAlbumContextPanel .wv-album-panel__list::-webkit-scrollbar-thumb:hover {
    background:
      linear-gradient(180deg, #c9fbff, var(--wv-cyan), var(--wv-pink));
  }
}
.wv-album-panel__track {
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.wv-album-panel__track strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wv-album-panel__duration {
  font-size: 0.9rem;
  opacity: 0.72;
  white-space: nowrap;
}

.wv-album-panel__bars {
  width: 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  opacity: 0.28;
}

.wv-album-panel__bars i {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleY(0.45);
}

.wv-album-panel__track.is-playing .wv-album-panel__bars,
.wv-album-panel__track.is-current .wv-album-panel__bars {
  opacity: 1;
}

.wv-album-panel__track.is-playing .wv-album-panel__bars i {
  animation: wvAlbumBars 0.72s ease-in-out infinite alternate;
}

.wv-album-panel__track.is-playing .wv-album-panel__bars i:nth-child(2) {
  animation-delay: 0.12s;
}

.wv-album-panel__track.is-playing .wv-album-panel__bars i:nth-child(3) {
  animation-delay: 0.24s;
}

.wv-album-panel__track.is-playing .wv-album-panel__bars i:nth-child(4) {
  animation-delay: 0.36s;
}

.wv-album-panel__hidden-preview {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

@keyframes wvAlbumBars {
  from {
    transform: scaleY(0.35);
  }

  to {
    transform: scaleY(1);
  }
}
.wv-album-panel__track {
  min-height: 42px;
  padding: 0.5rem 0.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px auto;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  cursor: pointer;
}

.wv-album-panel__track strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wv-album-panel__duration {
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.72;
  white-space: nowrap;
}

.wv-album-panel__bars {
  width: 34px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  opacity: 0.3;
}

.wv-album-panel__bars i {
  display: block;
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleY(0.4);
}

.wv-album-panel__track.is-current {
  border-color: rgba(111, 245, 255, 0.95);
}

.wv-album-panel__track.is-playing .wv-album-panel__bars {
  opacity: 1;
}

.wv-album-panel__track.is-playing .wv-album-panel__bars i {
  animation: wvAlbumBars 0.72s ease-in-out infinite alternate;
}

.wv-album-panel__track.is-playing .wv-album-panel__bars i:nth-child(2) {
  animation-delay: 0.12s;
}

.wv-album-panel__track.is-playing .wv-album-panel__bars i:nth-child(3) {
  animation-delay: 0.24s;
}

.wv-album-panel__track.is-playing .wv-album-panel__bars i:nth-child(4) {
  animation-delay: 0.36s;
}

.wv-album-panel__hidden-preview {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

@keyframes wvAlbumBars {
  from {
    transform: scaleY(0.35);
  }

  to {
    transform: scaleY(1);
  }
}

.wv-table {
  border-collapse: separate !important;
  border-spacing: 0 6px !important;
}

.wv-library-app__center .wv-table tbody tr.wv-track-row:hover > td {
  background: rgba(120, 247, 255, 0.06) !important;
}

.wv-library-app__center .wv-table tbody tr.wv-track-row:hover > td:first-child {
  border-radius: 14px 0 0 14px !important;
}

.wv-library-app__center .wv-table tbody tr.wv-track-row:hover > td:last-child {
  border-radius: 0 14px 14px 0 !important;
}

.wv-library-app__center .wv-table tbody tr.wv-track-row.is-playing > td:first-child,
.wv-library-app__center .wv-table tbody tr.wv-track-row.is-main-playing > td:first-child {
  border-radius: 14px 0 0 14px !important;
}

.wv-library-app__center .wv-table tbody tr.wv-track-row.is-playing > td:last-child,
.wv-library-app__center .wv-table tbody tr.wv-track-row.is-main-playing > td:last-child {
  border-radius: 0 14px 14px 0 !important;
}
/* =====================================================
   WILDVERSE LIBRARY — FULL WIDTH BOTTOM PLAYER SPACE
===================================================== */

:root {
  --wv-player-height: 136px;
  --wv-player-gap: 18px;
}

/* Make space so fixed player does not cover content */
/* .wv-library {
  padding-bottom: calc(var(--wv-player-height) + var(--wv-player-gap)) !important;
} */

/* Let the 3-column app fit above the player */
@media (min-width: 1180px) {
/*   .wv-library-app {
    min-height: calc(100dvh - var(--wv-nav-offset) - var(--wv-player-height) - var(--wv-player-gap)) !important;
  } */

  .wv-library-app__center .wv-table-shell {
    max-height: calc(100dvh - var(--wv-nav-offset) - var(--wv-player-height) - 160px) !important;
    min-height: 0 !important;
  }

  #wvAlbumContextMount {
    max-height: calc(100dvh - var(--wv-nav-offset) - var(--wv-player-height) - var(--wv-player-gap)) !important;
    overflow: hidden !important;
  }

  #wvAlbumContextPanel {
    max-height: calc(100dvh - var(--wv-nav-offset) - var(--wv-player-height) - var(--wv-player-gap)) !important;
    overflow: hidden !important;
  }

  #wvAlbumContextPanel .wv-album-panel__list {
    max-height: clamp(120px, 22dvh, 260px) !important;
  }
}

/* Full-screen bottom playbar */
.wv-player-shell,
.wv-main-player,
#wvPlayerShell,
#wvMainPlayer,
#wvBottomPlayer {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0px !important;
  z-index: 9990 !important;

  width: 100vw !important;
  max-width: none !important;
  transform: translateX(-50%) !important;
}

@media (min-width: 1180px) {
  .wv-library-app__left {
    gap: 8px !important;
  }

  .wv-library-app__left .wv-toolbar {
    padding: 10px !important;
    gap: 8px !important;
  }

.wv-library-app__left .wv-toolbar input, .wv-library-app__left .wv-toolbar select {
    min-height: 24px !important;
    padding: 7px 4px !important;
}

  .wv-library-app__left .wv-stat {
    min-height: 58px !important;
    padding: 10px !important;
  }

  .wv-library-app__left .wv-library-foot {
    padding: 11px !important;
  }
}

/* =====================================================
   WILDVERSE LIBRARY — RIGHT ALBUM CARD HEIGHT ONLY
   Paste at END of wildverse-library.css
===================================================== */

@media (min-width: 1180px) {
  #wvAlbumContextMount {
    max-height: calc(100dvh - var(--wv-nav-offset) - var(--wv-player-height) - 60px) !important;
    overflow: hidden !important;
  }

  #wvAlbumContextPanel {
    max-height: calc(100dvh - var(--wv-nav-offset) - var(--wv-player-height) - 60px) !important;
    padding: 12px !important;
    overflow: hidden !important;
  }

  #wvAlbumContextPanel .wv-album-panel__art {
    max-height: min(300px, 28dvh) !important;
    margin: 10px 0 !important;
  }

  #wvAlbumContextPanel .wv-album-panel__title {
    font-size: 1.12rem !important;
    line-height: 1.05 !important;
  }

  #wvAlbumContextPanel .wv-album-panel__meta {
    margin-top: 4px !important;
    font-size: 0.78rem !important;
  }

  #wvAlbumContextPanel .wv-album-panel__list {
    max-height: clamp(130px, 20dvh, 280px) !important;
    margin-top: 12px !important;
  }

  #wvAlbumContextPanel .wv-album-panel__track {
    min-height: 38px !important;
    padding: 0.42rem 0.65rem !important;
  }
}

/* =====================================================
   WILDVERSE LIBRARY — LEFT / RIGHT CARD OFFSET ONLY
===================================================== */

:root {
  --wv-side-card-offset: 5px;
}

@media (min-width: 1180px) {
  .wv-library-app__left,
  .wv-library-app__right {
    transform: translateY(var(--wv-side-card-offset));
  }

  #wvAlbumContextMount {
    top: calc(var(--wv-nav-offset) + var(--wv-side-card-offset) + 12px) !important;
  }

  .wv-library-app__left,
  #wvAlbumContextPanel {
    max-height: calc(
      100dvh - var(--wv-nav-offset) - var(--wv-side-card-offset) - var(--wv-player-height)
    ) !important;
  }
}
/* Include Sound Effects checkbox */
.wv-filter-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.9rem;
    padding: 0.085rem 0.2rem;
    border: 1px solid rgba(130, 255, 255, 0.18);
    border-radius: 15px;
    background: rgba(8, 18, 22, 0.72);
    color: rgba(245, 252, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    user-select: none;
}

.wv-filter-check:hover {
  border-color: rgba(116, 245, 255, 0.55);
  background: rgba(13, 28, 34, 0.82);
}

.wv-filter-check input {
    padding: 0px;
    appearance: none;
    -webkit-appearance: none;
    width: 30px;
    height: 22px;
    flex: 0 0 27px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(116, 245, 255, 0.55);
    border-radius: 7px;
    background: rgba(4, 10, 14, 0.9);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.wv-filter-check input::before {
    padding: 0px;
    content: "✓";
    transform: scale(0);
    color: #071014;
    font-size: 0.85rem;
    font-weight: 900;
    line-height: 0;
}

.wv-filter-check input:checked {
    border-color: rgba(118, 255, 255, 0.95);
    background: linear-gradient(135deg, #72f7ff, #ff5ce8);
    box-shadow: 0 0 18px rgba(116, 245, 255, 0.32);
}

.wv-filter-check input:checked::before {
  transform: scale(1);
}

.wv-filter-check input:focus-visible {
  outline: 2px solid rgba(118, 255, 255, 0.9);
  outline-offset: 3px;
}

/* Mobile: force Include Sound Effects into one compact row */
@media (max-width: 700px) {
  .wv-library .wv-filter-check {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 44px;
    margin: 0.75rem 0 0;
    padding: 0.65rem 0.8rem;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 0.65rem;
    border-radius: 16px;
    box-sizing: border-box;
  }

  .wv-library .wv-filter-check input[type="checkbox"] {
      padding: 0px;
      width: 30px !important;
      height: 28px !important;
      flex: 0 0 28px !important;
      margin: 0 !important;
  }

  .wv-library .wv-filter-check span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
    font-size: 0.9rem;
  }
}