:root {
  color-scheme: dark;
  --bg: #000000;
  --accent-theme: #8b2635;
  --card-bg: rgba(28, 28, 30, 0.6);
  --card-inner: rgba(10, 10, 14, 0.6);
  --card-hover: rgba(44, 44, 46, 0.7);
  
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.24);
  
  --glass-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05),
                  inset 1.8px 3px 0px -2px rgba(255, 255, 255, 0.35),
                  inset -2px -2px 0px -2px rgba(255, 255, 255, 0.25),
                  inset -3px -8px 1px -6px rgba(255, 255, 255, 0.18),
                  0px 4px 16px rgba(0, 0, 0, 0.4);
  
  --text-main: #ffffff;
  --text-muted: #8e8e93;
  --text-sub: #aeaeb2;
  --accent: #ffffff;
  --like: #ff2a5f;
  --green: #30d158;
  
  --ease-ios: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg: 25px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  user-select: none; 
  -webkit-tap-highlight-color: transparent; 
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100%;
  overflow-x: hidden;
  position: relative;
  touch-action: manipulation;
  padding-bottom: calc(180px + var(--sab));
}

.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% -10%, var(--accent-theme) 0%, transparent 65%),
              radial-gradient(circle at 80% 20%, rgba(41, 169, 235, 0.08) 0%, transparent 50%);
  opacity: 0.35;
  transition: background 0.8s var(--ease-ios);
}

.grid-background {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 20%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, black 20%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

.tab-section {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease-ios), transform 0.3s var(--ease-ios);
}
.tab-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

nav.desktop-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: 100%;
  padding: calc(14px + var(--sat)) 32px 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.85) 0%, rgba(5, 5, 7, 0.4) 80%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.6px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  cursor: pointer;
}
.logo-img-wrapper {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
  transition: transform 0.3s var(--ease-ios);
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo:hover .logo-img-wrapper {
  transform: scale(1.08) rotate(-2deg);
}
.logo span {
  color: #71717a;
  font-weight: 600;
  font-size: 16px;
  margin-left: -2px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--card-bg);
  border-radius: 9999px;
  padding: 4px 6px;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: var(--glass-shadow);
}
.nav-link {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.25s var(--ease-ios);
}
.nav-link.active, .nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.auth-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  padding: 8px 18px;
  border-radius: 9999px;
  border: none;
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.2s var(--ease-ios);
}
.auth-btn:hover {
  background: var(--card-hover);
}
.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.wave-hero-container {
  max-width: 1100px;
  margin: 16px auto 12px auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.wave-card {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.5) 100%), var(--accent-theme);
  box-shadow: var(--glass-shadow), 0 20px 45px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: background 0.8s var(--ease-ios);
}

.wave-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wave-title-box h1 {
  font-size: clamp(34px, 5.5vw, 54px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  color: #ffffff;
}
.beta-badge {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  color: #ffd60a;
  backdrop-filter: blur(8px);
}

.wave-graphic-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.22;
}
.wave-graphic-bg path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 28;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wave-card.playing .wave-graphic-bg path:nth-child(1) {
  animation: appleWavePulse1 3.5s ease-in-out infinite alternate;
}
.wave-card.playing .wave-graphic-bg path:nth-child(2) {
  animation: appleWavePulse2 4.2s ease-in-out infinite alternate;
}

@keyframes appleWavePulse1 {
  0% { transform: scale(1) translateY(0); opacity: 0.2; }
  100% { transform: scale(1.04) translateY(-6px); opacity: 0.35; }
}
@keyframes appleWavePulse2 {
  0% { transform: scale(0.98) translateY(4px); opacity: 0.15; }
  100% { transform: scale(1.05) translateY(-8px); opacity: 0.3; }
}

.wave-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}
.wave-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: var(--glass-shadow);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.wave-big-play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #ffb5b5;
  color: #000000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s var(--ease-ios);
}
.wave-big-play-btn:active { transform: scale(0.94); }

.section-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 20px 0 12px 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.horizontal-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.horizontal-carousel::-webkit-scrollbar { display: none; }

.carousel-item {
  flex: 0 0 140px;
  width: 140px;
  max-width: 140px;
  scroll-snap-align: start;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
  width: 100%;
}

.track-feed-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  position: relative;
  width: 100%;
  min-width: 0;
}

.carousel-item .track-feed-card {
  width: 140px;
  max-width: 140px;
}

.tfc-thumb-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #111114;
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.carousel-item .tfc-thumb-box {
  width: 140px;
  height: 140px;
}

.tfc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tfc-heart-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 2;
}
.tfc-heart-btn.liked {
  color: var(--like) !important;
  background: rgba(255, 42, 95, 0.25);
}
.tfc-heart-btn.liked svg {
  fill: var(--like);
}
.tfc-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
  width: 100%;
}
.tfc-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tfc-artist {
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.search-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 10px auto 14px auto;
  padding: 0 20px;
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  padding: 10px 14px 10px 18px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 15px;
  font-family: inherit;
}
.search-input::placeholder { color: #52525b; }
.search-kbd {
  font-size: 11px;
  padding: 3px 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  color: #71717a;
}

.tracks-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 300px;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  width: 100%;
}
.search-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.sri-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  flex: 1;
  padding-right: 12px;
}
.sri-cover {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #18181b;
  flex-shrink: 0;
}
.sri-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}
.sri-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sri-artist {
  font-size: 12.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sri-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.sri-duration {
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.sri-heart-btn {
  background: none;
  border: none;
  color: #71717a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.sri-heart-btn.liked {
  color: var(--like) !important;
}
.sri-heart-btn.liked svg {
  fill: var(--like);
}

.eq-container {
  max-width: 820px;
  margin: 36px auto 120px auto;
  padding: 34px 40px;
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  display: flex;
  flex-direction: column;
}

.eq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}
.eq-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.eq-presets { 
  display: flex; 
  align-items: center;
  gap: 8px; 
}
.preset-btn {
  background: var(--card-inner);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-ios);
}
.preset-btn.active, .preset-btn:hover {
  background: #ffffff;
  color: #000000;
}

.eq-sliders {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 280px;
  padding: 20px 10px 10px 10px;
  width: 100%;
}
.eq-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  flex: 1;
}

.eq-slider {
  -webkit-appearance: slider-vertical;
  writing-mode: bt-lr;
  width: 12px;
  height: 180px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 10px 0;
}
.eq-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

.eq-val { 
  font-size: 13px; 
  font-weight: 700; 
  color: #ffffff; 
  font-variant-numeric: tabular-nums;
  height: 20px;
}
.eq-label { 
  font-size: 12px; 
  font-weight: 600;
  color: var(--text-muted); 
  height: 20px;
}

.playlists-container {
  max-width: 1100px;
  margin: 16px auto 120px auto;
  padding: 0 20px;
}

.pl-hero-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.pl-hero-card {
  height: 124px;
  border-radius: 22px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--border);
}
.pl-hero-card.favs {
  background: linear-gradient(145deg, #e11d48 0%, #881337 100%);
}
.pl-hero-card.downloads {
  background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  backdrop-filter: blur(20px);
}
.pl-hero-top {
  display: flex;
  align-items: flex-start;
}
.pl-hero-bottom h4 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.pl-hero-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

.pl-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.pl-left-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pl-right-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  border-radius: 9999px;
  padding: 3px 5px;
  border: 1px solid var(--border);
}
.pl-pill-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.pl-pill-btn.active {
  background: #ffffff;
  color: #000000;
}

.import-flow-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-ios);
}
.import-flow-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.import-flow-card {
  background: var(--card-bg);
  box-shadow: var(--glass-shadow), 0 25px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px 24px;
  width: 100%;
  max-width: 440px;
}

.import-preview-cover-box {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  border: 1px solid var(--border);
  background: #18181b;
}
.import-preview-cover-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.settings-wrapper {
  max-width: 520px;
  margin: 20px auto 120px auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.settings-subpage {
  display: none;
  width: 100%;
}
.settings-subpage.active {
  display: block;
}

.settings-user-card {
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  border-radius: 22px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
}
.suc-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.suc-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-inner);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
}
.suc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.suc-names h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.suc-names p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.suc-arrow {
  color: var(--text-muted);
}

.settings-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.settings-group-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 14px;
}
.settings-card {
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  cursor: pointer;
  color: #ffffff;
  position: relative;
}
.settings-row:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 52px;
  right: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
}
.sr-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  font-weight: 500;
}
.sr-left svg {
  color: var(--text-sub);
  flex-shrink: 0;
}
.sr-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
}

.ios-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 30px;
  flex-shrink: 0;
}
.ios-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.ios-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  transition: .25s var(--ease-ios);
}
.ios-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .25s var(--ease-ios);
}
.ios-switch input:checked + .ios-slider {
  background-color: #ffffff;
}
.ios-switch input:checked + .ios-slider:before {
  transform: translateX(20px);
  background-color: #000000;
}

.main-settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  position: relative;
}
.main-settings-item:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}
.msi-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 14px;
}
.msi-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
}
.msi-desc {
  font-size: 12.5px;
  color: var(--text-muted);
}

.profile-subview {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.profile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.circle-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.profile-big-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--card-inner);
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  overflow: hidden;
}
.profile-big-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.profile-name-text {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}
.profile-username-tag {
  font-size: 14px;
  color: var(--text-muted);
}
.profile-shield-btn {
  position: relative;
  width: 22px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-shield-lvl {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 900;
  color: #000;
}

.profile-date-grid {
  display: grid;
  gap: 10px;
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  padding: 14px 18px;
  border: 1px solid var(--border);
}
.pd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-sub);
}
.pd-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-balance-card {
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.balance-val {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.edit-subview {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.edit-avatar-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}
.edit-avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--card-inner);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid var(--border);
}
.edit-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.edit-badge-pencil {
  position: absolute;
  bottom: 2px;
  right: calc(50% - 44px);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.edit-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.edit-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 0 8px;
}
.edit-input-box {
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 16px;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  width: 100%;
}
.btn-main-action {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 15px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.btn-sec-action {
  background: transparent;
  color: var(--text-sub);
  border: none;
  padding: 13px;
  border-radius: 16px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.auth-card {
  background: var(--card-bg);
  box-shadow: var(--glass-shadow), 0 20px 45px rgba(0,0,0,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  position: relative;
}
.auth-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px;
}
.auth-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.xp-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.xp-level-badge {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--card-inner);
  border: 1px solid var(--border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
}
.xp-bar-container {
  width: 100%;
  height: 44px;
  background: var(--card-inner);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.xp-bar-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.22));
  z-index: 1;
}
.xp-bar-text {
  position: relative;
  z-index: 2;
}
.xp-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  font-size: 13.5px;
  color: var(--text-sub);
}
.xp-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.settings-guest-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 48px 24px;
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.device-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  display: inline-block;
}
.btn-trash-icon {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.dock-player {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 860px;
  height: 72px;
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-radius: var(--radius-lg);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}
.dock-left {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 30%;
}
.dock-cover-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}
.dock-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--card-inner);
}
.dock-cover-expand-hint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: white;
}
.dock-cover-wrap:hover .dock-cover-expand-hint {
  opacity: 1;
}

.dock-info { 
  overflow: hidden; 
  flex: 1;
}
.dock-info h5 {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dock-info p {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.dock-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 38%;
}
.control-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ctrl-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ctrl-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  color: black !important;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  font-size: 10px;
  color: var(--text-muted);
}
.range-input {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  background: linear-gradient(to right, #ffffff 0%, #ffffff 0%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.15) 100%);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.dock-right {
  width: 30%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.dock-action-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.dock-heart-btn.liked {
  color: var(--like) !important;
}
.dock-heart-btn.liked svg {
  fill: var(--like);
}

.lyrics-btn, .volume-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.lyrics-btn.active {
  color: white !important;
}

.volume-input {
  width: 70px;
  height: 4px;
  -webkit-appearance: none;
  background: linear-gradient(to right, #ffffff 100%, #ffffff 100%, rgba(255, 255, 255, 0.15) 100%, rgba(255, 255, 255, 0.15) 100%);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}
.volume-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: white;
}

.fullscreen-player {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 14, 0.94);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: all 0.3s var(--ease-ios);
}
.fullscreen-player.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.fs-close-btn {
  position: absolute;
  top: calc(20px + var(--sat));
  right: 24px;
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  color: var(--text-muted);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.fs-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 440px;
  width: 90%;
  text-align: center;
}
.fs-cover-box {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card-inner);
  box-shadow: var(--glass-shadow), 0 30px 80px rgba(0, 0, 0, 0.85);
  margin-bottom: 24px;
  position: relative;
  cursor: pointer;
}
.fs-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.canvas-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  z-index: 1;
}
.canvas-video.active {
  display: block;
}

.fs-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s var(--ease-ios);
  z-index: 3;
}
.fs-cover-box:hover .fs-cover-overlay {
  opacity: 1;
}
.fs-ctrl-center {
  display: flex;
  align-items: center;
  gap: 22px;
}
.fs-overlay-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fs-overlay-play {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  color: #000 !important;
}
.fs-overlay-heart {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}
.fs-overlay-heart.liked {
  color: var(--like) !important;
}
.fs-overlay-heart.liked svg {
  fill: var(--like);
}
.fs-overlay-queue {
  position: absolute;
  top: 20px;
  right: 20px;
}

.fs-meta {
  width: 100%;
  margin-bottom: 20px;
}
.fs-title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.fs-artist {
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.fs-progress-interactive-zone {
  width: 100%;
  padding: 10px 0;
  cursor: pointer;
}
.fs-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
}

.karaoke-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 16, 14, 0.95);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 8vw;
}
.karaoke-overlay.active {
  display: flex;
}
.karaoke-container {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: center;
  gap: 80px;
}
.karaoke-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.karaoke-cover-box {
  width: 360px;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--glass-shadow), 0 30px 70px rgba(0,0,0,0.65);
  margin-bottom: 20px;
  background: #18181b;
}
.karaoke-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.karaoke-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s var(--ease-ios);
  z-index: 3;
}
.karaoke-cover-box:hover .karaoke-cover-overlay {
  opacity: 1;
}

.karaoke-meta {
  width: 100%;
  margin-bottom: 16px;
}
.karaoke-meta h2 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.karaoke-meta p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.karaoke-progress-zone {
  width: 100%;
  padding: 6px 0;
  cursor: pointer;
}
.karaoke-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
}

.karaoke-right {
  height: 75vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-right: 40px;
  scroll-behavior: smooth;
  text-align: left;
}
.karaoke-right::-webkit-scrollbar { width: 0px; }

.k-line {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.25s ease;
  line-height: 1.25;
}
.k-line.active {
  color: #ffffff !important;
}

.mobile-lyrics-player-bar {
  display: none;
}

.toast-popup {
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  max-width: 90%;
  background: var(--card-bg);
  box-shadow: var(--glass-shadow);
  padding: 12px 22px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 800;
}
.toast-popup.show {
  opacity: 1;
}

.mobile-island-wrapper {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 360px;
  display: none;
  justify-content: center;
  z-index: 300;
  pointer-events: none;
  padding: 0 12px;
}
.mobile-island-nav {
  pointer-events: auto;
  width: 100%;
  height: 64px;
  background: var(--card-bg);
  border-radius: 9999px;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  position: relative;
}
.island-tabs-group {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
}

.liquid-pill-indicator {
  position: absolute;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.35);
  transition: transform 0.32s var(--ease-ios);
  pointer-events: none;
  z-index: 1;
  left: 0;
  top: 50%;
  margin-top: -24px;
}

.island-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.island-btn svg {
  color: #8E8E93;
}
.island-btn.active svg {
  color: #000000 !important;
  stroke-width: 2.6px;
}
.island-sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 6px;
}
.island-special-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
}

/* =================================================================
   ПОЛНАЯ МОБИЛЬНАЯ АДАПТАЦИЯ (СМАРТФОНЫ И ПЛАНШЕТЫ)
   ================================================================= */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(160px + var(--sab));
  }
  
  nav.desktop-nav {
    display: none !important;
  }

  .mobile-island-wrapper {
    display: flex;
    bottom: calc(12px + var(--sab));
    max-width: 360px;
    width: calc(100% - 24px);
  }

  .wave-hero-container {
    margin: calc(10px + var(--sat)) auto 12px auto;
    padding: 0 14px;
  }
  .wave-card {
    height: 260px;
    padding: 20px 18px;
    border-radius: 24px;
  }
  .wave-title-box h1 {
    font-size: 34px;
  }
  .wave-big-play-btn {
    width: 64px;
    height: 64px;
  }

  .search-container {
    padding: 0 14px;
    margin-bottom: 12px;
  }
  .tracks-wrapper, .playlists-container, .settings-wrapper {
    padding: 0 14px;
    overflow-x: hidden;
  }

  .tracks-grid, 
  #playlistsGrid, 
  #playlistTracksGrid, 
  #artistTracksGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  /* Док-плеер: четко над островком, на всю ширину экрана с отступами */
  .dock-player {
    bottom: calc(84px + var(--sab)) !important;
    left: 12px !important;
    right: 12px !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    height: 54px;
    padding: 0 12px;
    border-radius: 18px;
  }
  .dock-left {
    width: auto;
    flex: 1;
    max-width: calc(100% - 90px);
    gap: 10px;
  }
  .dock-cover-wrap {
    width: 38px;
    height: 38px;
  }
  .dock-info h5 {
    font-size: 13px;
  }
  .dock-info p {
    font-size: 11px;
  }
  
  .slider-container,
  .ctrl-btn.ctrl-step,
  .lyrics-btn,
  .volume-input,
  .volume-btn {
    display: none !important;
  }

  .dock-controls {
    width: auto;
    order: 3;
  }
  .dock-right {
    width: auto;
    order: 2;
    margin-right: 4px;
  }
  .ctrl-play {
    width: 32px;
    height: 32px;
    background: transparent !important;
    color: #ffffff !important;
    box-shadow: none;
  }
  .ctrl-play svg {
    width: 18px;
    height: 18px;
  }

  /* Полноэкранный плеер и караоке на динамическую высоту */
  .fullscreen-player {
    height: 100dvh;
    height: 100vh;
    padding: calc(20px + var(--sat)) 20px calc(24px + var(--sab)) 20px;
    justify-content: space-between;
  }
  .fs-close-btn {
    top: calc(16px + var(--sat));
    right: 16px;
  }
  .fs-cover-box {
    max-width: 300px;
    width: 75vw;
  }
  .fs-title {
    font-size: 18px;
  }

  .karaoke-overlay {
    height: 100dvh;
    height: 100vh;
    padding: 0;
  }
  .karaoke-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    gap: 0;
  }
  .karaoke-left {
    display: none;
  }
  .karaoke-right {
    flex: 1;
    height: auto;
    padding: calc(60px + var(--sat)) 20px 140px 20px;
    gap: 20px;
  }
  .k-line {
    font-size: 22px;
    line-height: 1.35;
  }

  .mobile-lyrics-player-bar {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: calc(14px + var(--sab));
    left: 14px;
    right: 14px;
    width: auto;
    padding: 14px 16px;
    background: var(--card-bg);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-radius: 18px;
    gap: 10px;
    z-index: 10;
  }
  .m-lyrics-track-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .m-lyrics-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    flex: 1;
  }
  .m-lyrics-cover {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
  }
  .m-lyrics-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .m-lyrics-play-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .m-lyrics-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
  }
  .m-lyrics-progress-bar {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
  }
  .m-lyrics-progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
  }

  .toast-popup {
    bottom: calc(148px + var(--sab));
  }
}
