* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --sidebar-width: 290px;
  --pc-player-width: 290px;
  --page-background:
    radial-gradient(circle at 18% 18%, rgba(45, 212, 191, 0.2), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(56, 189, 248, 0.16), transparent 24%),
    linear-gradient(135deg, #08111f 0%, #111827 52%, #020617 100%);
}

body {
  background: var(--page-background);
  color: #fff;
  display: flex;
  -ms-overflow-style: none;
  scrollbar-width: none;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.5s ease;
}

body.bg-theme-tide {
  --page-background:
    radial-gradient(circle at 18% 18%, rgba(45, 212, 191, 0.2), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(56, 189, 248, 0.16), transparent 24%),
    linear-gradient(135deg, #08111f 0%, #111827 52%, #020617 100%);
}

body.bg-theme-sunset {
  --page-background:
    radial-gradient(circle at 16% 20%, rgba(251, 146, 60, 0.2), transparent 28%),
    radial-gradient(circle at 84% 10%, rgba(244, 114, 182, 0.18), transparent 24%),
    linear-gradient(135deg, #1a0f0b 0%, #3b1d24 50%, #12070a 100%);
}

body.bg-theme-lagoon {
  --page-background:
    radial-gradient(circle at 22% 16%, rgba(34, 197, 94, 0.18), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(59, 130, 246, 0.18), transparent 24%),
    linear-gradient(135deg, #031b1d 0%, #0f2b3b 54%, #07131d 100%);
}

body.bg-theme-violet {
  --page-background:
    radial-gradient(circle at 18% 14%, rgba(167, 139, 250, 0.2), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(96, 165, 250, 0.16), transparent 24%),
    linear-gradient(135deg, #140d23 0%, #1d2440 52%, #080b16 100%);
}

input,
textarea,
[contenteditable="true"] {
  user-select: text;
  -webkit-user-select: text;
}

html {
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body::-webkit-scrollbar,
.main-container::-webkit-scrollbar,
.songs-overlay::-webkit-scrollbar,
.playlist-overlay::-webkit-scrollbar,
.playlist-songs-overlay::-webkit-scrollbar,
.album-overlay::-webkit-scrollbar {
  display: none;
}

/* INTRO SCREEN */

.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.intro.intro-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-container {
  position: relative;
  width: min(300px, 72vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  position: relative;
  z-index: 2;
  animation: logoFadeIn 2s ease-out 1.5s forwards;
}

.wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

.wave:nth-child(2) {
  background: conic-gradient(#00f5ff, transparent);
  animation: wavePulse 2s infinite 0s ease-out;
}

.wave:nth-child(3) {
  background: conic-gradient(#8b5cf6, transparent);
  animation: wavePulse 2s infinite 0.5s ease-out;
}

.wave:nth-child(4) {
  background: conic-gradient(#00f5ff, transparent);
  animation: wavePulse 2s infinite 1s ease-out;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes wavePulse {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    width: 400px;
    height: 400px;
    opacity: 0;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 480px) {
  .intro-container {
    width: min(250px, 76vw);
  }

  .wave {
    width: 350px;
    height: 350px;
  }
}

/* NAVBAR */

.navbar {
  width: var(--sidebar-width);
  height: 100vh;
  background: #191414;
  border-radius: 15px;
  padding: 12px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 11002;
}

@media (min-width: 1025px) {
  .navbar {
    top: 0;
    bottom: 0;
    height: auto;
  }

  body.desktop-mini-visible .navbar {
    bottom: 96px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 0;
}

.logo img {
  margin-left: -6px;
  width: 56px;
  height: 56px;
}

.logo h2 {
  margin: 0;
  line-height: 1;
}

.nav-links {
  position: absolute;
  top: 84px;
  left: 20px;
  right: 20px;
  margin-top: 0;
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: #ffffff;
  padding: 7px 0;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #1db954;
}

.nav-links a.active {
  color: #1db954;
  font-weight: 600;
}

.nav-links .signup-link {
  margin-top: 12px;
  border: 1px solid rgba(29, 185, 84, 0.6);
  border-radius: 999px;
  text-align: center;
  padding: 9px 12px;
  font-weight: 600;
  background: rgba(29, 185, 84, 0.14);
}

.nav-links .signup-link:hover {
  color: #ffffff;
  background: rgba(29, 185, 84, 0.28);
}

.footer-links a.active {
  color: #1db954;
}

/* PLAYER */

.player {
  width: var(--pc-player-width);
  height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #1b1717 0%, #141212 100%);
  border-radius: 24px 0 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    -24px 0 60px rgba(0, 0, 0, 0.34),
    -1px 0 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 12020;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(calc(100% + 32px), 0, 0) scale(0.985);
  transform-origin: right center;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    box-shadow 0.32s ease,
    visibility 0s linear 0.42s,
    width 0.18s ease;
}

body.pc-player-open .player {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    box-shadow 0.32s ease,
    width 0.18s ease;
}

body.pc-player-resizing .player {
  transition: none;
}

@media (min-width: 1025px) {
  body::after {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: var(--sidebar-width);
    background:
      linear-gradient(90deg, rgba(3, 4, 8, 0.06), rgba(3, 4, 8, 0.28)),
      rgba(3, 4, 8, 0.32);
    opacity: 0;
    pointer-events: none;
    z-index: 12010;
    transition: opacity 0.28s ease;
  }

  body.pc-player-open::after {
    opacity: 0;
  }
}

.player > *:not(.player-resize-handle) {
  transition: opacity 0.28s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.player:not(.is-open) > *:not(.player-resize-handle) {
  opacity: 0;
  transform: translateX(18px);
}

.player.is-open > *:not(.player-resize-handle) {
  opacity: 1;
  transform: translateX(0);
}

.player-resize-handle {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: col-resize;
  touch-action: none;
}

.player-resize-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 4px;
  height: 72px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(29, 185, 84, 0.45));
  opacity: 0.56;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.player-resize-handle:hover::before,
body.pc-player-resizing .player-resize-handle::before {
  opacity: 1;
  transform: translateY(-50%) scaleX(1.1);
}

@media (min-width: 1025px) {
  .player {
    top: 0;
    bottom: 0;
    height: auto;
  }

  body.desktop-mini-visible .player {
    bottom: 96px;
  }
}

.cover {
  width: 100%;
  height: 250px;
  background: #333;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  margin-bottom: 15px;
  display: flex;
  flex-shrink: 0;
} 

.title {
  font-size: 18px;
  font-weight: 600;
}

.artist {
  font-size: 15px;
  color: #aaa;
  margin-bottom: 10px;
}

.progress {
  width: 100%;
  height: 4px;
  background: #333;
  border-radius: 5px;
  margin: 10px 0;
  cursor: pointer;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: #1db954;
  border-radius: 5px;
}

.controls {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  flex-shrink: 0;
}

.lyrics-panel {
  margin-top: 20px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lyrics-panel h4 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.lyrics-text {
  color: #cfcfcf;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.lyrics-label {
  margin: 10px 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8f8f8f;
}

.lyrics-line {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  transition: color 0.25s ease, font-weight 0.25s ease, transform 0.25s ease;
}

.lyrics-line.is-complete {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.lyrics-line.is-active {
  color: #ffffff;
  font-weight: 700;
  transform: translateX(2px);
}

.lyrics-spacer {
  height: 10px;
}

.pc-lyrics-panel {
  flex: 1 1 auto;
  min-height: 140px;
  overflow-y: auto;
}

.btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.btn:hover {
  color: #1db954;
}

/* MAIN CONTAINER */

.main-container {
  margin-left: var(--sidebar-width);
  margin-right: 0;
  padding: 30px 30px 140px;
  width: calc(100% - var(--sidebar-width));
  height: 100vh;
  overflow-y: auto;
  transition: margin-right 0.32s ease;
}

@media (min-width: 1025px) {
  body.pc-player-open .main-container {
    margin-right: var(--pc-player-width);
  }
}

/* TOP BAR */

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px; /* bigger spacing */
}

.top-bar h1 {
  font-weight: 600;
}

.notification-notice {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(120, 53, 15, 0.28);
  color: #fde68a;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.notification-notice.hidden {
  display: none;
}

.notification-notice-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.notification-notice-btn:hover {
  transform: translateY(-1px);
}

.notification-notice-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.featured-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  align-items: center;
  gap: 24px;
  min-height: 260px;
  margin-top: 18px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(29, 185, 84, 0.28), transparent 38%),
    linear-gradient(135deg, rgba(19, 20, 20, 0.96), rgba(27, 42, 31, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.featured-banner-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}

.featured-banner-eyebrow {
  margin: 0;
  color: #86efac;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}

.featured-banner h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.featured-banner p {
  margin: 0;
  max-width: 520px;
  color: #d1d5db;
  line-height: 1.6;
}

.featured-banner-btn {
  width: fit-content;
  justify-self: start;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1db954, #22c55e);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(29, 185, 84, 0.28);
}

.featured-banner-art {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 320px;
}

.featured-banner-art::after {
  content: "";
  position: absolute;
  inset: auto 18px -18px 18px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  filter: blur(18px);
}

.featured-banner-art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* SEARCH */

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 350px;
}

.search-box input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  outline: none;
  border-radius: 25px;
  background: #282828;
  color: #fff;
}

.search-box button {
  padding: 10px 18px;
  border: none;
  border-radius: 25px;
  background: #1db954;
  color: #fff;
  cursor: pointer;
}

/* SONG GRID */

.song-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 30px;
  align-items: stretch;
}

.song-card {
  background: #191414;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
}

.song-card:hover {
  background: #282828;
  transform: scale(1.05);
}

.song-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  min-height: 160px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.song-card p {
  margin: 10px 0 0;
  display: block;
  font-size: inherit;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-card.is-playing p {
  color: #1db954;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.see-all-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.see-all-btn:hover {
  background: rgba(29, 185, 84, 0.2);
  transform: translateY(-1px);
}

.songs-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(29, 185, 84, 0.24), transparent 30%),
    linear-gradient(180deg, #101010, #060606);
  display: none;
  flex-direction: column;
  padding: 28px 32px 120px;
  z-index: 10000;
  overflow-y: auto;
}

.songs-overlay.is-open {
  display: flex;
}

.playlist-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(29, 185, 84, 0.22), transparent 28%),
    linear-gradient(180deg, #0d0d0d, #050505);
  display: none;
  flex-direction: column;
  padding: 28px 32px 120px;
  z-index: 10000;
  overflow-y: auto;
}

.playlist-overlay.is-open {
  display: flex;
}

.playlist-songs-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(90, 142, 255, 0.2), transparent 32%),
    linear-gradient(180deg, #0d0d15, #05050a);
  display: none;
  flex-direction: column;
  padding: 28px 32px 120px;
  z-index: 10001;
  overflow-y: auto;
}

.playlist-songs-overlay.is-open {
  display: flex;
}

.album-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(244, 177, 131, 0.24), transparent 30%),
    linear-gradient(180deg, #140b07, #050505);
  display: none;
  flex-direction: column;
  padding: 28px 32px 120px;
  z-index: 10001;
  overflow-y: auto;
}

.album-overlay.is-open {
  display: flex;
}

@media (min-width: 1025px) {
  .songs-overlay,
  .playlist-overlay,
  .playlist-songs-overlay,
  .album-overlay {
    left: var(--sidebar-width);
    right: 0;
    width: auto;
  }

  body.pc-player-open .songs-overlay,
  body.pc-player-open .playlist-overlay,
  body.pc-player-open .playlist-songs-overlay,
  body.pc-player-open .album-overlay {
    right: var(--pc-player-width);
  }
}

.songs-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.songs-overlay-search {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.songs-overlay .search-box {
  width: min(100%, 420px);
}

.songs-overlay-search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.songs-overlay-search-meta p {
  color: #cbd5e1;
  font-size: 14px;
  margin: 0;
}

.overlay-eyebrow {
  color: #1db954;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}

.songs-overlay-header h2 {
  font-size: 36px;
}

.playlist-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.playlist-play-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.playlist-play-all-btn:hover {
  background: rgba(29, 185, 84, 0.24);
}

.playlist-play-all-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.songs-overlay-close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.songs-overlay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.music-overlay-hero {
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbcbcb;
}

.songs-search-hero {
  display: block;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 14px;
}

.songs-search-shell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.songs-search-toggle {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border: 1px solid rgba(125, 240, 168, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(29, 185, 84, 0.2), rgba(15, 23, 42, 0.92));
  color: #d8ffe6;
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.songs-search-toggle i {
  font-size: 17px;
}

.songs-search-toggle:hover,
.songs-search-shell.is-expanded .songs-search-toggle {
  transform: translateY(-1px);
  border-color: rgba(125, 240, 168, 0.42);
  box-shadow:
    0 20px 36px rgba(0, 0, 0, 0.32),
    0 0 0 4px rgba(29, 185, 84, 0.08);
}

.songs-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 6px 6px 14px;
  border-radius: 999px;
  flex: 1;
  min-width: 0;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-12px) scale(0.98);
  transform-origin: left center;
  background:
    linear-gradient(135deg, rgba(19, 30, 29, 0.95), rgba(17, 24, 39, 0.92)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid transparent;
  box-shadow: none;
  transition:
    max-width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.songs-search-shell.is-expanded .songs-search-box {
  max-width: 100%;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  border-color: rgba(125, 240, 168, 0.14);
  box-shadow:
    0 20px 36px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.songs-search-box:focus-within {
  border-color: rgba(125, 240, 168, 0.34);
  box-shadow:
    0 24px 40px rgba(0, 0, 0, 0.28),
    0 0 0 4px rgba(29, 185, 84, 0.08);
}

.songs-search-box input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  padding: 2px 0;
}

.songs-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.songs-search-box button,
.songs-search-clear {
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.songs-search-box button {
  flex-shrink: 0;
  padding: 11px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1db954, #22c55e);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(29, 185, 84, 0.22);
}

.songs-search-clear {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
}

.songs-search-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 28px 24px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.16);
}

.songs-search-empty strong {
  font-size: 18px;
  color: #ffffff;
}

.songs-search-empty span {
  color: #cbd5e1;
  line-height: 1.5;
}

.songs-overlay-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.songs-overlay-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 185, 84, 0.45);
  background: rgba(29, 185, 84, 0.12);
}

.songs-overlay-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.songs-overlay-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.songs-overlay-card.is-playing h3 {
  color: #1db954;
}

.songs-overlay-card p {
  font-size: 13px;
  color: #bdbdbd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#allSongsList.songs-overlay-grid,
#playlistSongsList.songs-overlay-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

#allSongsList .songs-overlay-card,
#playlistSongsList .songs-overlay-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 16px;
}

#allSongsList .songs-overlay-card img,
#playlistSongsList .songs-overlay-card img {
  width: 56px;
  height: 56px;
  aspect-ratio: auto;
  margin-bottom: 0;
  border-radius: 12px;
}

#allSongsList .all-songs-card-copy,
#playlistSongsList .all-songs-card-copy {
  min-width: 0;
}

#allSongsList .songs-overlay-card h3,
#playlistSongsList .songs-overlay-card h3 {
  margin-bottom: 2px;
  font-size: 14px;
}

#allSongsList .songs-overlay-card p,
#playlistSongsList .songs-overlay-card p {
  font-size: 12px;
}

#allSongsList .all-songs-card-meta,
#playlistSongsList .all-songs-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  padding-left: 8px;
}

#allSongsList .song-duration,
#playlistSongsList .song-duration {
  font-size: 12px;
  font-weight: 600;
  color: #a3a3a3;
  white-space: nowrap;
}

#allSongsList .all-songs-like-btn,
#playlistSongsList .all-songs-like-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#allSongsList .all-songs-like-btn:hover,
#playlistSongsList .all-songs-like-btn:hover {
  transform: translateY(-1px);
  background: rgba(29, 185, 84, 0.14);
  border-color: rgba(29, 185, 84, 0.3);
}

#allSongsList .all-songs-like-btn.is-liked,
#playlistSongsList .all-songs-like-btn.is-liked {
  background: rgba(29, 185, 84, 0.18);
  border-color: rgba(29, 185, 84, 0.34);
  color: #86efac;
}

#allSongsList .all-songs-like-btn i,
#playlistSongsList .all-songs-like-btn i {
  font-size: 13px;
  line-height: 1;
}

@media (max-width: 768px) {
  #allSongsList .songs-overlay-card,
  #playlistSongsList .songs-overlay-card {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 8px 10px;
  }

  #allSongsList .songs-overlay-card img,
  #playlistSongsList .songs-overlay-card img {
    width: 52px;
    height: 52px;
  }

  #allSongsList .all-songs-card-meta,
  #playlistSongsList .all-songs-card-meta {
    gap: 8px;
  }

  #allSongsList .song-duration,
  #playlistSongsList .song-duration {
    font-size: 11px;
  }

  #allSongsList .all-songs-like-btn,
  #playlistSongsList .all-songs-like-btn {
    width: 30px;
    height: 30px;
  }
}

body.theme-light #allSongsList .song-duration,
body.theme-light #playlistSongsList .song-duration {
  color: #64748b;
}

body.theme-light #allSongsList .all-songs-like-btn,
body.theme-light #playlistSongsList .all-songs-like-btn {
  background: #f8fafc;
  color: #0f172a;
  border-color: #d7e0ea;
}

body.theme-light #allSongsList .all-songs-like-btn.is-liked,
body.theme-light #playlistSongsList .all-songs-like-btn.is-liked {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.28);
  color: #16a34a;
}

.playlist-empty {
  color: #bdbdbd;
  font-size: 14px;
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
}

@media (min-width: 1025px) {
  .playlist-preview-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .playlist-preview-grid .playlist-card:nth-child(n + 7) {
    display: none;
  }
}

.playlist-card {
  background: #191414;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: 0.3s;
}

.playlist-card:hover {
  background: #282828;
  transform: scale(1.05);
}

.playlist-cover {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: start;
  padding: 14px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.playlist-cover.has-artwork {
  display: block;
  padding: 0;
  text-shadow: none;
  isolation: isolate;
}

.playlist-cover-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  padding: 2px;
  z-index: 0;
}

.playlist-cover-tile {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.playlist-cover-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.08);
}

.playlist-cover-sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 10, 18, 0.02) 0%, rgba(8, 10, 18, 0.58) 68%, rgba(8, 10, 18, 0.92) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.08) 100%);
}

.playlist-cover-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.playlist-cover-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.playlist-cover-copy strong {
  font-size: 22px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.playlist-cover-copy small {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
}

.playlist-cover-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.sad-vibes {
  background:
    linear-gradient(180deg, rgba(7, 12, 26, 0.08), rgba(7, 12, 26, 0.82)),
    linear-gradient(135deg, #63708c, #1a1f2f);
}

.romantic-vibes {
  background:
    linear-gradient(180deg, rgba(40, 6, 18, 0.08), rgba(40, 6, 18, 0.82)),
    linear-gradient(135deg, #ff8fb1, #7b183d);
}

.calm-vibes {
  background:
    linear-gradient(180deg, rgba(5, 24, 28, 0.08), rgba(5, 24, 28, 0.82)),
    linear-gradient(135deg, #88d4c7, #16464f);
}

.english-vibes {
  background:
    linear-gradient(180deg, rgba(12, 8, 33, 0.08), rgba(12, 8, 33, 0.82)),
    linear-gradient(135deg, #7aa8ff, #25145a);
}

.breakup-vibes {
  background:
    linear-gradient(180deg, rgba(28, 8, 12, 0.08), rgba(28, 8, 12, 0.82)),
    linear-gradient(135deg, #ff9f9f, #6b1f2d);
}

.reality-vibes {
  background:
    linear-gradient(180deg, rgba(18, 16, 8, 0.08), rgba(18, 16, 8, 0.82)),
    linear-gradient(135deg, #fbbf24, #854d0e);
}

.liked-playlist-card {
  position: relative;
  overflow: hidden;
}

.liked-vibes {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.92), transparent 42%),
    linear-gradient(145deg, #f8fafc, #cbd5e1 58%, #94a3b8 100%);
  color: #0f172a;
  text-shadow: none;
}

.liked-vibes i {
  font-size: 36px;
  color: #ffffff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111827, #334155);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.24);
}

.liked-vibes span {
  font-size: 20px;
  font-weight: 700;
}

.playlist-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.playlist-card p {
  color: #b8b8b8;
  line-height: 1.5;
  font-size: 13px;
  display: none;
}

.playlist-overlay-grid {
  margin-top: 8px;
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  gap: 24px;
}

.album-card {
  background: #191414;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.album-card:hover {
  background: #282828;
  transform: translateY(-4px);
}

.album-card:focus-visible {
  outline: 2px solid #1db954;
  outline-offset: 3px;
}

.album-cover {
  height: clamp(220px, 34vw, 320px);
  overflow: hidden;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.album-meta {
  padding: 18px;
}

.album-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(29, 185, 84, 0.16);
  color: #7df0a8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.album-meta h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.album-meta p {
  color: #b8b8b8;
  line-height: 1.6;
  font-size: 13px;
}

.album-overlay-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.album-overlay-cover {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 18px;
}

.album-overlay-cover img {
  display: block;
  width: min(100%, 320px);
  max-height: 48vh;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.album-overlay-content {
  padding: 10px 0;
}

.album-overlay-content h3 {
  font-size: 34px;
  margin-bottom: 14px;
}

.album-overlay-content p {
  color: #d1d1d1;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
  max-width: 680px;
}

.album-strip-section {
  margin-top: 28px;
  width: 100%;
}

.album-strip-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
  width: 100%;
}

.album-song-strip {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.album-song-strip:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(29, 185, 84, 0.4);
}

.album-song-strip.is-active {
  background: rgba(29, 185, 84, 0.16);
  border-color: rgba(29, 185, 84, 0.45);
}

.album-song-strip:focus-visible {
  outline: 2px solid #1db954;
  outline-offset: 3px;
}

.album-song-strip img {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
}

.album-song-meta {
  min-width: 0;
}

.album-song-meta h5 {
  font-size: 16px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-song-meta p {
  margin: 0;
  font-size: 13px;
  color: #b8b8b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-song-action {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 185, 84, 0.18);
  color: #8bf5b3;
  font-size: 16px;
  flex-shrink: 0;
}

.album-strip-empty {
  color: #bdbdbd;
  font-size: 14px;
}

.music-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.music-feature-card {
  padding: 22px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(29, 185, 84, 0.18), transparent 32%),
    #151515;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.music-feature-thumb {
  width: 100%;
  height: 180px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 16px;
  background: #111111;
}

.music-feature-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mashup-section {
  grid-template-columns: minmax(240px, 320px);
}

.mashup-card {
  padding: 18px;
}

.mashup-card .music-feature-thumb {
  height: 150px;
  margin-bottom: 14px;
  background: transparent;
}

.mashup-gradient-thumb {
  position: relative;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 172, 64, 0.95), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(255, 88, 88, 0.8), transparent 28%),
    radial-gradient(circle at 60% 82%, rgba(29, 185, 84, 0.72), transparent 34%),
    linear-gradient(135deg, #25120f 0%, #171717 45%, #0d0d0d 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mashup-gradient-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 32%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 8px,
      transparent 8px,
      transparent 18px
    );
  pointer-events: none;
}

.mashup-gradient-label {
  position: relative;
  z-index: 1;
  padding: 0 16px 16px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.music-feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.music-feature-card p {
  color: #b8b8b8;
  line-height: 1.6;
}

.site-footer {
  margin-top: 42px;
  padding: 24px 20px;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-brand p {
  color: #c2c2c2;
  margin-bottom: 14px;
}

.footer-stats {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-stat {
  min-width: 150px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-stat-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8a8a8;
  margin-bottom: 6px;
}

.footer-stat strong {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footer-links a {
  text-decoration: none;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: 0.2s ease;
}

.footer-links a:hover {
  background: rgba(29, 185, 84, 0.25);
  border-color: rgba(29, 185, 84, 0.5);
}

.footer-copy {
  font-size: 13px;
  color: #9f9f9f;
}

/* =========================
   PILL NAV (TOP LEFT)
========================= */

.mobile-nav {
  display: none; /* hidden by default */
  position: sticky;
  top: 0;
  width: 100%;
  padding: 4px 0 10px;
  z-index: 1000;
  justify-content: flex-start;
  gap: 10px;
  overflow-x: auto;
}

/* show only on mobile + tablet */
@media (max-width: 1024px) {
  .mobile-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    padding: 12px 18px 10px;
    z-index: 10020;
    background: linear-gradient(180deg, rgba(8, 17, 31, 0.96), rgba(8, 17, 31, 0.82), transparent);
    backdrop-filter: blur(12px);
  }
}

.mobile-nav::-webkit-scrollbar {
  display: none;
}

.pill {
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  background: #1e6f6a;
  color: #fff;
  cursor: pointer;
}

.pill.active {
  background: #fff;
  color: #000;
}

.mobile-nav a.pill {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.signup-pill {
  background: rgba(29, 185, 84, 0.28);
  border: 1px solid rgba(29, 185, 84, 0.7);
}

/* =========================
   MOBILE PLAYER
========================= */

.mobile-player {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #181818;
  padding: 10px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 11001;
}

.mobile-player img {
  width: 45px;
  height: 45px;
  border-radius: 5px;
  object-fit: cover;
}

.mobile-info {
  flex: 1;
  margin-left: 10px;
  min-width: 0;
}

.mobile-info h4,
.mobile-info p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  flex-shrink: 0;
}

.mobile-controls i {
  cursor: pointer;
}

#mobilePlay {
  font-size: 20px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {
  .navbar,
  .player {
    display: none;
  }

  .main-container {
    margin: 0;
    width: 100%;
    padding: 72px 18px 110px;
    padding-bottom: 110px;
  }

  .mobile-nav {
    display: flex;
  }

  .mobile-player {
    display: flex;
  }

  .songs-overlay,
  .playlist-overlay,
  .playlist-songs-overlay,
  .album-overlay {
    padding-top: 82px;
  }

  .song-list {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
  }

  .song-card img {
    min-height: 0;
  }

  .playlist-grid,
  .albums-grid {
    display: grid;
    grid-auto-flow: column;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 8px;
    padding-right: 18px;
    touch-action: pan-x;
  }

  .playlist-grid::-webkit-scrollbar,
  .albums-grid::-webkit-scrollbar {
    display: none;
  }

  .playlist-grid {
    grid-auto-columns: minmax(220px, 260px);
  }

  .playlist-overlay-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    padding-right: 0;
    touch-action: auto;
  }

  .albums-grid {
    grid-auto-columns: minmax(240px, 300px);
  }

  .playlist-card,
  .album-card {
    scroll-snap-align: start;
  }

  .playlist-card {
    min-height: 100%;
  }

  .playlist-card p,
  .album-meta p {
    display: none;
  }

  .album-card {
    min-height: auto;
  }

  .album-cover {
    height: clamp(170px, 24vw, 220px);
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .notification-notice {
    margin-top: 10px;
    font-size: 12px;
  }

  .featured-banner {
    grid-template-columns: minmax(0, 1fr) 138px;
    gap: 14px;
    min-height: 0;
    padding: 16px;
    border-radius: 24px;
    align-items: center;
  }

  .featured-banner-art {
    justify-self: end;
    width: 100%;
    max-width: 138px;
  }

  .featured-banner-art img {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    object-position: center;
  }

  .featured-banner h2 {
    font-size: clamp(22px, 6.8vw, 29px);
  }

  .featured-banner-btn {
    padding: 11px 16px;
  }

  .search-box {
    width: 100%;
  }

  .song-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .song-card {
    padding: 12px;
    border-radius: 16px;
  }

  .song-card img {
    width: 100%;
    aspect-ratio: 1;
    min-height: 0;
    border-radius: 14px;
  }

  .song-card p {
    margin-top: 8px;
    font-size: 13px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .songs-overlay {
    padding: 82px 18px 110px;
  }

  .playlist-overlay {
    padding: 82px 18px 110px;
  }

  .playlist-songs-overlay {
    padding: 82px 18px 110px;
  }

  .album-overlay {
    padding: 82px 18px 110px;
  }

  .songs-overlay-header h2 {
    font-size: 28px;
  }

  .songs-overlay-header {
    align-items: flex-start;
    margin-bottom: 22px;
  }

  .songs-overlay-close {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .songs-overlay .search-box {
    width: 100%;
    flex-wrap: wrap;
  }

  .songs-overlay .search-box input,
  .songs-overlay .search-box button {
    width: 100%;
  }

  .songs-overlay .search-box button {
    justify-content: center;
  }

  .songs-overlay-search-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .songs-overlay-search-meta p,
  .songs-search-clear {
    width: 100%;
  }

  .songs-search-clear {
    justify-content: center;
    padding: 8px 12px;
    font-size: 12px;
  }

  .songs-overlay-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .songs-overlay-card {
    border-radius: 16px;
    padding: 12px;
  }

  .songs-overlay-card img {
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .songs-search-hero {
    max-width: 100%;
    margin-bottom: 18px;
    padding: 8px 0;
  }

  .songs-search-shell {
    width: 100%;
  }

  .songs-search-shell {
    gap: 10px;
  }

  .songs-search-toggle {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 16px;
  }

  .songs-search-box {
    min-height: 42px;
    gap: 8px;
    padding: 4px 4px 4px 12px;
  }

  .songs-search-box input {
    width: auto;
    order: 0;
    font-size: 13px;
  }

  .songs-search-box button {
    width: auto;
    order: 0;
    padding: 7px 10px;
    font-size: 12px;
  }

  .playlist-grid {
    grid-auto-columns: minmax(190px, 78vw);
  }

  .playlist-overlay-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .music-section {
    grid-template-columns: 1fr;
  }

  .albums-grid {
    grid-auto-columns: minmax(200px, 74vw);
  }

  .playlist-card {
    padding: 10px;
  }

  .album-meta {
    padding: 14px;
  }

  .album-cover {
    height: clamp(150px, 46vw, 190px);
  }

  .album-overlay-layout {
    grid-template-columns: 1fr;
  }

  .album-overlay-content h3 {
    font-size: 28px;
  }

  .album-song-strip {
    grid-template-columns: 58px minmax(0, 1fr) 40px;
    gap: 12px;
    padding: 10px;
  }

  .album-song-strip img {
    width: 58px;
    height: 58px;
  }

  .site-footer {
    margin-top: 28px;
    padding: 18px 14px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-stats {
    gap: 10px;
  }

  .footer-stat {
    width: 100%;
  }

  .footer-links a {
    font-size: 12px;
  }

  .main-container {
    padding-top: 72px;
  }
}

@media (max-width: 480px) {
  .song-list {
    gap: 12px;
  }

  .song-card {
    padding: 10px;
    border-radius: 14px;
  }

  .song-card p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .mobile-nav {
    padding: 10px 12px 8px;
    gap: 8px;
  }

  .main-container {
    padding: 68px 12px 110px;
  }

  .songs-overlay,
  .playlist-overlay,
  .playlist-songs-overlay,
  .album-overlay {
    padding: 76px 12px 110px;
  }

  .songs-search-clear {
    width: auto;
    height: auto;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    justify-content: center;
  }

  .songs-overlay-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .pill {
    padding: 8px 14px;
  }

}

@media (max-width: 1024px) {
  .top-bar {
    align-items: flex-start;
    gap: 14px;
  }

  .featured-banner {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 32vw);
    align-items: center;
    gap: 18px;
    min-height: 0;
    padding: 20px;
  }

  .featured-banner-art {
    justify-self: end;
    width: 100%;
    max-width: 220px;
  }

  .featured-banner-art img {
    aspect-ratio: 16 / 9;
    object-position: center;
  }

  .search-box {
    display: flex;
    width: min(100%, 560px);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .top-bar {
    flex-direction: column;
  }

  .search-box {
    align-self: stretch;
  }

  .search-box input {
    padding: 13px 16px;
    font-size: 14px;
  }

  .search-box button {
    padding: 12px 16px;
  }
}

/* Hide search on mobile + tablet */
@media (max-width: 1024px) {
  .search-box {
    display: none;
  }

  .songs-overlay .search-box {
    display: flex;
  }

  .songs-overlay .search-box button {
    display: none;
  }
}

/* FULLSCREEN PLAYER */

.fullscreen-player {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 12000;
}

.fullscreen-player img {
  width: 250px;
  height: 250px;
  border-radius: 15px;
  margin-bottom: 20px;
}

.fullscreen-player h2 {
  font-size: 22px;
}

.fullscreen-player p {
  color: #aaa;
  margin-bottom: 20px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
}

/* FULLSCREEN PLAYER */

.fullscreen-player {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,#3a2c3a,#1b1b1b);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 12000;
  transition: background 0.25s ease, color 0.25s ease;
}

.close-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

.fs-container {
  width: 85%;
  max-width: 720px;
  max-height: calc(100vh - 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.fs-cover {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 25px;
  flex-shrink: 0;
}

#fsTitle {
  font-size: 20px;
  font-weight: 600;
}

#fsArtist {
  color: #bbb;
  margin-bottom: 20px;
}

/* PROGRESS */

.fs-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex-shrink: 0;
}

.progress {
  flex: 1;
  height: 5px;
  background: #444;
  border-radius: 10px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 10px;
}

/* CONTROLS */

.fs-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 35px;
  flex-shrink: 0;
}

.fs-controls i {
  font-size: 20px;
  cursor: pointer;
}

.fs-play {
  background: #fff;
  color: #000;
  padding: 18px;
  border-radius: 50%;
  font-size: 22px;
}

.fs-lyrics-panel {
  margin-top: 22px;
  text-align: left;
  width: 100%;
  max-width: 520px;
  min-height: 120px;
  max-height: 180px;
  overflow-y: auto;
}

/* EXTRA ICONS */

.fs-extra {
  margin-top: 25px;
  display: flex;
  width: 100%;
  max-width: 360px;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: #aaa;
}

.fs-extra i {
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.fs-extra i.is-active {
  color: #ffffff;
  transform: scale(1.08);
}

.volume-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.volume-control i.is-rotating {
  animation: volumeSpin 0.7s ease;
}

.volume-popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(8px);
  width: 112px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.volume-popover.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.volume-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.volume-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1db954, #7df0a8);
  transition: width 0.12s linear;
}

.fullscreen-player.is-light {
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  color: #111827;
}

.fullscreen-player.is-light #fsArtist {
  color: #4b5563;
}

.fullscreen-player.is-light .progress {
  background: #d6dce5;
}

.fullscreen-player.is-light .progress-bar {
  background: #111827;
}

.fullscreen-player.is-light .fs-controls i {
  color: #111827;
}

.fullscreen-player.is-light .fs-extra {
  color: #4b5563;
}

.fullscreen-player.is-light .close-btn {
  color: #111827;
}

.fullscreen-player.is-light .fs-extra i.is-active {
  color: #111827;
}

.fullscreen-player.is-light .volume-popover {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d7dfeb;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.fullscreen-player.is-light .volume-track {
  background: rgba(148, 163, 184, 0.28);
}

.fullscreen-player.is-light .volume-fill {
  background: linear-gradient(90deg, #16a34a, #4ade80);
}

/* DESKTOP PLAYER */

.desktop-player {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 70px;
  background: #000;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  cursor: pointer;
  z-index: 11001;
}

.dp-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dp-left img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
}

.dp-left span {
  font-size: 12px;
  color: #aaa;
}

.dp-center i {
  margin: 0 10px;
  font-size: 18px;
}

/* HIDE ON MOBILE */
@media (max-width: 1024px) {
  .desktop-player {
    display: none !important;
  }
}
/* DESKTOP PLAYER */
.desktop-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 96px;
  background: #121212;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 12px;
  border-top: 1px solid #282828;
  z-index: 11001;
}

/* LEFT */
.dp-left {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 240px;
  min-width: 0;
}

.dp-left img {
  width: 55px;
  height: 55px;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.dp-left p {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-left div {
  flex: 1;
  min-width: 0;
}

.dp-left span {
  font-size: 12px;
  color: #aaa;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-middle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 560px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.dp-time-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dp-time-row span {
  font-size: 11px;
  color: #b3b3b3;
  min-width: 34px;
  text-align: center;
}

/* CENTER */
.dp-center {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 18px;
  justify-content: center;
}

.dp-center i {
  cursor: pointer;
}

#dpPlay {
  font-size: 24px;
}

.dp-extra {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  width: 220px;
  margin-left: auto;
  color: #aaa;
}

.dp-extra i {
  font-size: 17px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.dp-extra i.is-active {
  color: #ffffff;
  transform: scale(1.08);
}

.queue-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 12500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.queue-modal.is-open {
  display: flex;
}

.queue-panel {
  width: min(520px, 100%);
  max-height: min(84vh, 700px);
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.queue-header h3 {
  font-size: 18px;
}

.queue-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
}

.queue-search-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  background: #171717;
  color: #fff;
  outline: none;
}

.queue-list {
  max-height: 48vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 2px;
}

.queue-song-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

.queue-song-item.is-selected {
  border-color: rgba(29, 185, 84, 0.8);
  background: rgba(29, 185, 84, 0.2);
}

.queue-song-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.queue-song-cover {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.queue-song-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.queue-song-meta strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-song-meta span {
  color: #bdbdbd;
  font-size: 12px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-order-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

.queue-start-btn {
  border: 1px solid rgba(29, 185, 84, 0.7);
  background: rgba(29, 185, 84, 0.2);
  color: #fff;
  border-radius: 10px;
  padding: 11px 14px;
  cursor: pointer;
  font-weight: 600;
}

.queue-start-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.queue-empty {
  color: #bdbdbd;
  padding: 10px 4px;
}

.queue-ad-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 12620;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.queue-ad-popup.is-open {
  display: flex;
}

.queue-ad-card {
  position: relative;
  width: min(420px, 100%);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(29, 185, 84, 0.22), transparent 36%),
    #101010;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  padding: 24px 18px 20px;
  text-align: center;
}

.queue-ad-card h3 {
  font-size: 24px;
  line-height: 1.35;
}

.queue-ad-card p {
  margin-top: 10px;
  color: #cfcfcf;
  font-size: 14px;
}

.queue-ad-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
}

.queue-ad-open-btn {
  margin-top: 16px;
  border: 1px solid rgba(29, 185, 84, 0.75);
  background: rgba(29, 185, 84, 0.24);
  color: #ffffff;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 600;
  cursor: pointer;
}

.signin-reminder-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 12630;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.signin-reminder-popup.is-open {
  display: flex;
}

.signin-reminder-card {
  position: relative;
  width: min(430px, 100%);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(29, 185, 84, 0.2), transparent 36%),
    #10161d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  padding: 26px 20px 22px;
  text-align: center;
}

.signin-reminder-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.signin-reminder-card h3 {
  margin-top: 16px;
  font-size: 24px;
  line-height: 1.35;
}

.signin-reminder-card p {
  margin-top: 10px;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.6;
}

.back-exit-prompt {
  position: fixed;
  inset: 0;
  z-index: 12600;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
}

.back-exit-prompt.is-open {
  display: flex;
}

.back-exit-sheet {
  width: min(460px, 100%);
  border-radius: 24px 24px 16px 16px;
  background:
    radial-gradient(circle at top right, rgba(29, 185, 84, 0.22), transparent 34%),
    #111111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  padding: 22px 18px 18px;
  animation: backExitSheetIn 0.24s ease;
}

.back-exit-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.back-exit-subtitle {
  margin-top: 8px;
  color: #cfcfcf;
  font-size: 13px;
  text-align: center;
}

.back-exit-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.back-exit-btn {
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.back-exit-btn-danger {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.back-exit-btn-primary {
  background: #1db954;
  color: #ffffff;
}

@keyframes backExitSheetIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RIGHT PROGRESS */
.dp-progress {
  flex: 1;
  height: 4px;
  background: #333;
  border-radius: 10px;
  cursor: pointer;
  overflow: visible;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, height 0.2s ease;
}

.dp-progress-bar {
  position: relative;
  height: 100%;
  width: 0%;
  background: #1db954;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(29, 185, 84, 0.45);
  transition: background 0.2s ease;
}

.dp-progress-bar::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dp-progress:hover {
  background: #4a4a4a;
  height: 6px;
}

.dp-progress:hover .dp-progress-bar {
  background: #2df06f;
}

.dp-progress:hover .dp-progress-bar::after {
  opacity: 1;
}

#closePC {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

#closePC i {
  display: block;
  font-size: 16px;
  line-height: 1;
  color: inherit;
}

#closePC:hover {
  background: rgba(29, 185, 84, 0.12);
  border-color: rgba(29, 185, 84, 0.28);
  transform: translateY(-1px);
}

@media (max-width: 1280px) {
  .dp-middle {
    width: min(430px, calc(100% - 560px));
  }
}

@media (max-width: 768px) {
  .fs-container {
    width: min(90%, 520px);
  }

  .fs-cover {
    max-width: 280px;
  }

  .fs-lyrics-panel {
    max-height: 150px;
  }

  .fs-extra {
    max-width: 100%;
    gap: 12px;
  }

  #fsVolumeControl .volume-popover {
    left: 0;
    transform: translateX(0) translateY(8px);
    width: min(132px, calc(100vw - 48px));
  }

  #fsVolumeControl .volume-popover.is-visible {
    transform: translateX(0) translateY(0);
  }
}

/* GLOBAL LIGHT THEME */
body.theme-light {
  background: linear-gradient(120deg, #f2f7ff, #e8eef7);
  color: #0f172a;
}

body.theme-light .navbar,
body.theme-light .player,
body.theme-light .song-card,
body.theme-light .playlist-card,
body.theme-light .mobile-player,
body.theme-light .desktop-player {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

body.theme-light .nav-links a,
body.theme-light .logo h2,
body.theme-light .top-bar h1,
body.theme-light .song-card p,
body.theme-light .playlist-card h3,
body.theme-light .title,
body.theme-light #dpTitle {
  color: #0f172a;
}

body.theme-light .song-card.is-playing p,
body.theme-light .songs-overlay-card.is-playing h3 {
  color: #16a34a;
}

body.theme-light .artist,
body.theme-light #dpArtist,
body.theme-light .playlist-card p,
body.theme-light .album-meta p,
body.theme-light .site-footer p,
body.theme-light .footer-copy {
  color: #475569;
}

body.theme-light .footer-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

body.theme-light .footer-stat-label {
  color: #64748b;
}

body.theme-light .footer-stat strong {
  color: #0f172a;
}

body.theme-light .search-box input {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #d6deea;
}

body.theme-light .songs-overlay,
body.theme-light .playlist-overlay,
body.theme-light .playlist-songs-overlay,
body.theme-light .album-overlay {
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
  color: #0f172a;
}

body.theme-light .fullscreen-player,
body.theme-light .fullscreen-player.is-light {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

body.theme-light .songs-overlay-card,
body.theme-light .music-feature-card,
body.theme-light .playlist-overlay-grid .playlist-card,
body.theme-light .album-card,
body.theme-light .album-overlay-cover,
body.theme-light .lyrics-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

body.theme-light .album-meta h3 {
  color: #0f172a;
}

body.theme-light .album-tag {
  background: rgba(29, 185, 84, 0.14);
  color: #15803d;
}

body.theme-light .album-overlay-content p {
  color: #475569;
}

body.theme-light .album-song-strip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

body.theme-light .album-song-strip.is-active {
  background: rgba(29, 185, 84, 0.12);
  border-color: rgba(29, 185, 84, 0.45);
}

body.theme-light .album-song-meta h5 {
  color: #0f172a;
}

body.theme-light .album-song-meta p,
body.theme-light .album-strip-empty {
  color: #475569;
}

body.theme-light .album-song-action {
  background: rgba(29, 185, 84, 0.14);
  color: #15803d;
}

body.theme-light .lyrics-text {
  color: #334155;
}

body.theme-light .lyrics-label {
  color: #64748b;
}

body.theme-light .lyrics-line {
  color: rgba(15, 23, 42, 0.55);
}

body.theme-light .lyrics-line.is-complete {
  color: rgba(15, 23, 42, 0.88);
}

body.theme-light .lyrics-line.is-active {
  color: #0f172a;
}

body.theme-light .section-head h4,
body.theme-light .overlay-eyebrow,
body.theme-light .songs-overlay-header h2,
body.theme-light .music-overlay-hero p {
  color: #0f172a;
}

body.theme-light .songs-search-hero h3,
body.theme-light .songs-search-label,
body.theme-light .songs-search-meta p,
body.theme-light .songs-search-empty strong {
  color: #0f172a;
}

body.theme-light .songs-search-hero span,
body.theme-light .songs-search-empty span {
  color: #475569;
}

body.theme-light .songs-search-empty {
  background:
    radial-gradient(circle at top right, rgba(29, 185, 84, 0.12), transparent 38%),
    #ffffff;
  border: 1px solid #d7dfeb;
}

body.theme-light .songs-search-toggle {
  border-color: rgba(22, 163, 74, 0.18);
  background:
    linear-gradient(160deg, rgba(34, 197, 94, 0.16), rgba(255, 255, 255, 0.96));
  color: #15803d;
  box-shadow:
    0 16px 28px rgba(148, 163, 184, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

body.theme-light .songs-search-box {
  background: #f8fafc;
  border: 1px solid transparent;
}

body.theme-light .songs-search-shell.is-expanded .songs-search-box {
  border-color: #d7dfeb;
}

body.theme-light .songs-search-box input,
body.theme-light .songs-search-clear {
  color: #0f172a;
}

body.theme-light .songs-search-box:focus-within {
  border-color: rgba(34, 197, 94, 0.34);
  box-shadow:
    0 20px 32px rgba(148, 163, 184, 0.18),
    0 0 0 4px rgba(34, 197, 94, 0.08);
}

body.theme-light .songs-search-box input::placeholder {
  color: #64748b;
}

body.theme-light .songs-search-clear {
  background: #ffffff;
  border: 1px solid #d7dfeb;
}

body.theme-light .see-all-btn {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #000000;
}

body.theme-light .see-all-btn:hover {
  background: #eef2f7;
  color: #0f172a;
}

body.theme-light .site-footer {
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid #dbe4ef;
}

body.theme-light .footer-links a {
  color: #0f172a;
}

body.theme-light .footer-links a:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.2);
}

body.theme-light * {
  border-color: #000000 !important;
}

body.theme-light .btn {
  color: #0f172a;
}

body.theme-light .btn:hover {
  color: #1db954;
}

body.theme-light #closePC {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(148, 163, 184, 0.35);
}

body.theme-light .songs-overlay-close {
  color: #0f172a;
  background: #ffffff;
}

body.theme-light .playlist-play-all-btn {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

body.theme-light .dp-extra {
  color: #475569;
}

body.theme-light .dp-extra i.is-active {
  color: #0f172a;
}

body.theme-light .volume-popover {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d7dfeb;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

body.theme-light .volume-track {
  background: rgba(148, 163, 184, 0.28);
}

body.theme-light .volume-fill {
  background: linear-gradient(90deg, #16a34a, #4ade80);
}

body.theme-light .queue-panel {
  background: #ffffff;
  border: 1px solid #d7dfeb;
}

body.theme-light .queue-close-btn {
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #d7dfeb;
}

body.theme-light .queue-search-input {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #d7dfeb;
}

body.theme-light .queue-song-item {
  background: #f8fafc;
  border: 1px solid #d7dfeb;
}

body.theme-light .queue-song-item.is-selected {
  background: rgba(29, 185, 84, 0.2);
  border-color: #1db954;
}

body.theme-light .queue-song-meta span,
body.theme-light .queue-empty {
  color: #475569;
}

body.theme-light .queue-song-meta strong {
  color: #0f172a;
}

body.theme-light .queue-order-badge {
  border: 1px solid #cbd5e1;
}

body.theme-light .queue-start-btn {
  background: #1db954;
  color: #ffffff;
}

body.theme-light .queue-ad-card {
  background:
    radial-gradient(circle at top right, rgba(29, 185, 84, 0.18), transparent 36%),
    #ffffff;
  border: 1px solid #d7dfeb;
}

body.theme-light .queue-ad-card h3 {
  color: #0f172a;
}

body.theme-light .queue-ad-card p {
  color: #475569;
}

body.theme-light .queue-ad-close {
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #d7dfeb;
}

body.theme-light .queue-ad-open-btn {
  background: #1db954;
  color: #ffffff;
}

body.theme-light .back-exit-sheet {
  background:
    radial-gradient(circle at top right, rgba(29, 185, 84, 0.18), transparent 34%),
    #ffffff;
  border: 1px solid #d7dfeb;
}

body.theme-light .back-exit-title {
  color: #0f172a;
}

body.theme-light .back-exit-subtitle {
  color: #475569;
}

body.theme-light .back-exit-btn-danger {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #d7dfeb;
}

.fs-icon-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 13050;
  max-width: min(240px, calc(100vw - 24px));
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  pointer-events: none;
  animation: fsToastIn 0.28s ease forwards;
}

@media (max-width: 768px) {
  .fs-icon-toast {
    right: 12px;
    bottom: 96px;
  }
}

.fs-icon-toast.is-hide {
  animation: fsToastOut 0.24s ease forwards;
}

body.theme-light .fs-icon-toast {
  background: rgba(15, 23, 42, 0.9);
  color: #f8fafc;
}

@keyframes fsToastIn {
  from {
    opacity: 0;
    transform: translateX(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes fsToastOut {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(10px) scale(0.96);
  }
}

@keyframes volumeSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
