:root {
  --shadow-sm: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.24);
  --shadow-md: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1), 0 0.125rem 0.25rem rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.15), 0 0.375rem 0.625rem rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.2), 0 0.625rem 1.25rem rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 1.5625rem 3.125rem rgba(0, 0, 0, 0.25), 0 0.9375rem 1.875rem rgba(0, 0, 0, 0.15);
  --shadow-nav: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18), 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12);
  --shadow-inset: inset 0 0.125rem 0.25rem rgba(0, 0, 0, 0.06);
  --blur-sm: blur(0.25rem);
  --blur-md: blur(0.5rem);
  --blur-lg: blur(1rem);
  --blur-xl: blur(1.5rem);
  --blur-nav: blur(0.75rem);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-elastic: 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  --radius-xs: 0.25rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 624.9375rem;
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-overlay: 30;
  --z-modal: 40;
  --z-popover: 50;
  --z-tooltip: 60;
  --z-notification: 70;
  --z-player: 100;
  --z-player-controls: 110;
  --z-nav: 100;
  --z-search: 100;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
}

[data-theme="dark"] {
  /* Core variables */
  --backgroundMain: #1c2128;
  --borderMain: #30363d;
  --textMain: #8b949e;
  --textMainHover: #f0f6fc;
  --textMainActive: #58a6ff;

  /* Background/Border scale */
  --background-100: #0d1117;
  --border-100: #21262d;
  --background-150: #131921;
  --border-150: #2a303a;
  --background-200: #161b22;
  --border-200: #30363d;
  --background-250: #1a2029;
  --border-250: #373e47;
  --background-300: #21262d;
  --border-300: #444c56;
  --background-350: #252c35;
  --border-350: #4c5761;
  --background-400: #2d333b;
  --border-400: #545d68;
  --background-450: #31383f;
  --border-450: #5c6770;
  --background-500: #373e47;
  --border-500: #656d76;
  --background-550: #3d454e;
  --border-550: #6e7783;
  --background-600: #444c56;
  --border-600: #768390;
  --background-650: #4a535e;
  --border-650: #7f8c9a;
  --background-700: #545d68;
  --border-700: #8b949e;
  --background-750: #5b666f;
  --border-750: #959ea8;
  --background-800: #636e7b;
  --border-800: #9fa8b2;
  --background-850: #6b7783;
  --border-850: #a8b1bc;
  --background-900: #768390;
  --border-900: #b1bac6;

  /* Component variables */
  --breadCrumbsBG: rgba(13, 17, 23, 0.8);
  --breadCrumbsBDR: rgba(33, 38, 45, 1);
  --breadCrumbsText: rgba(125, 133, 144, 1);
  --breadCrumbActive: rgba(88, 166, 255, 1);
  --breadCrumbsTextHover: rgba(201, 209, 217, 1);
  --breadCrumbActiveHover: rgba(121, 184, 255, 1);
  --chevronColor: rgba(68, 76, 86, 1);
  --shadowColor: rgba(1, 4, 9, 0.35);

  --background-canvas: #0d1117;
  --background-overlay: rgba(13, 17, 23, 0.9);
  --background-overlay-solid: #21262d;
  --background-inset: #161b22;
  --background-songs: rgba(22, 27, 34, 1);

  --fade-base: rgb(28, 33, 40);
  --background-gradient: linear-gradient(
    to bottom,
    rgba(28, 33, 40, 0) 0%,
    rgba(28, 33, 40, 0) 10%,
    rgba(28, 33, 40, 0) 20%,
    rgba(28, 33, 40, 0) 30%,
    rgba(28, 33, 40, 0.1) 35%,
    rgba(28, 33, 40, 0.2) 40%,
    rgba(28, 33, 40, 0.3) 45%,
    rgba(28, 33, 40, 0.4) 50%,
    rgba(28, 33, 40, 0.5) 55%,
    rgba(28, 33, 40, 0.6) 60%,
    rgba(28, 33, 40, 0.7) 65%,
    rgba(28, 33, 40, 0.8) 70%,
    rgba(28, 33, 40, 0.9) 75%,
    rgba(28, 33, 40, 0.95) 80%,
    rgba(28, 33, 40, 0.98) 85%,
    rgba(28, 33, 40, 0.99) 90%,
    rgba(28, 33, 40, 1) 95%,
    rgba(28, 33, 40, 1) 100%
  );

  --border-accent: #1f6feb;
  --text-100: #f0f6fc;
  --text-200: #c9d1d9;
  --text-300: #8b949e;
  --text-400: #6e7681;
  --text-500: #484f58;
  --text-inverse: #0d1117;
  --text-on-accent: #ffffff;
  --accent-primary: #1f6feb;
  --accent-primary-hover: #388bfd;
  --accent-primary-active: #0969da;
  --accent-secondary: #0969da;
  --accent-success: #238636;
  --accent-success-hover: #2ea043;
  --accent-warning: #9a6700;
  --accent-warning-hover: #bf8700;
  --accent-danger: #da3633;
  --accent-danger-hover: #f85149;
  --accent-info: #1f6feb;
  --accent-purple: #8957e5;
  --accent-pink: #db61a2;

  --scrollbar-track: var(--background-200);
  --scrollbar-thumb: var(--background-500);
  --scrollbar-thumb-hover: var(--background-600);
  --input-background: var(--background-100);
  --input-border: var(--border-200);
  --button-background: var(--background-400);
  --button-hover: var(--background-500);
  --button-active: var(--background-600);
}

[data-theme="dim"] {
  /* Core variables */
  --backgroundMain: #373e47;
  --borderMain: #545d68;
  --textMain: #B6BBC2;
  --textMainHover: #f0f6fc;
  --textMainActive: #1f6feb;

  /* Background/Border scale */
  --background-100: #1c2128;
  --border-100: #2d333b;
  --background-150: #212730;
  --border-150: #343d45;
  --background-200: #242b31;
  --border-200: #373e47;
  --background-250: #2a3036;
  --border-250: #3f474e;
  --background-300: #2d333b;
  --border-300: #444c56;
  --background-350: #313840;
  --border-350: #4c5560;
  --background-400: #373e47;
  --border-400: #545d68;
  --background-450: #3d454e;
  --border-450: #5c6571;
  --background-500: #444c56;
  --border-500: #656d76;
  --background-550: #4a535d;
  --border-550: #6e777f;
  --background-600: #545d68;
  --border-600: #768390;
  --background-650: #5b666f;
  --border-650: #7f8c9a;
  --background-700: #636e7b;
  --border-700: #8b949e;
  --background-750: #6c7783;
  --border-750: #959ea8;
  --background-800: #768390;
  --border-800: #9fa8b2;
  --background-850: #7f8c9a;
  --border-850: #a8b1bc;
  --background-900: #8b949e;
  --border-900: #b1bac6;
  
  --pwaThemeColor: #323A44;
  --pwaBorderColor: #1f2329;

  /* Component variables */
  --breadCrumbsBG: rgba(28, 33, 40, 0.8);
  --breadCrumbsBDR: rgba(45, 51, 59, 1);
  --breadCrumbsText: rgba(139, 148, 158, 1);
  --breadCrumbActive: rgba(56, 139, 253, 1);
  --breadCrumbsTextHover: rgba(201, 209, 217, 1);
  --breadCrumbActiveHover: rgba(121, 184, 255, 1);
  --chevronColor: rgba(84, 93, 104, 1);
  --shadowColor: rgba(1, 4, 9, 0.25);

  --background-canvas: #1c2128;
  --background-overlay: rgba(28, 33, 40, 1);
  --background-overlay-solid: #2d333b;
  --background-inset: #22272e;
  --background-songs: rgba(34, 39, 46, 1);

  --fade-base: rgb(42, 49, 57);
  --background-gradient: linear-gradient(
    to bottom,
    rgba(42, 49, 57, 0) 0%,
    rgba(42, 49, 57, 0) 10%,
    rgba(42, 49, 57, 0) 20%,
    rgba(42, 49, 57, 0) 30%,
    rgba(42, 49, 57, 0.1) 35%,
    rgba(42, 49, 57, 0.2) 40%,
    rgba(42, 49, 57, 0.3) 45%,
    rgba(42, 49, 57, 0.4) 50%,
    rgba(42, 49, 57, 0.5) 55%,
    rgba(42, 49, 57, 0.6) 60%,
    rgba(42, 49, 57, 0.7) 65%,
    rgba(42, 49, 57, 0.8) 70%,
    rgba(42, 49, 57, 0.9) 75%,
    rgba(42, 49, 57, 0.95) 80%,
    rgba(42, 49, 57, 0.98) 85%,
    rgba(42, 49, 57, 0.99) 90%,
    rgba(42, 49, 57, 1) 95%,
    rgba(42, 49, 57, 1) 100%
  );

  --border-accent: #388bfd;
  --text-100: #f0f6fc;
  --text-200: #c9d1d9;
  --text-300: #8b949e;
  --text-400: #768390;
  --text-500: #545d68;
  --text-inverse: #1c2128;
  --text-on-accent: #ffffff;
  --accent-primary: #388bfd;
  --accent-primary-hover: #58a6ff;
  --accent-primary-active: #1f6feb;
  --accent-secondary: #1f6feb;
  --accent-success: #2ea043;
  --accent-success-hover: #3fb950;
  --accent-warning: #bf8700;
  --accent-warning-hover: #d29922;
  --accent-danger: #f85149;
  --accent-danger-hover: #ff7b72;
  --accent-info: #388bfd;
  --accent-purple: #a475f9;
  --accent-pink: #f778ba;

  --scrollbar-track: var(--background-200);
  --scrollbar-thumb: var(--background-500);
  --scrollbar-thumb-hover: var(--background-600);
  --input-background: var(--background-100);
  --input-border: var(--border-200);
  --button-background: var(--background-400);
  --button-hover: var(--background-500);
  --button-active: var(--background-600);
}

[data-theme="light"] {
  /* Core variables */
  --backgroundMain: #f8f9fc;
  --borderMain: #d0d7e3;
  --textMain: #4a5568;
  --textMainHover: #1a202c;
  --textMainActive: #2b6cb0;

  /* Background/Border scale */
  --background-100: #ffffff;
  --border-100: #e2e8f0;
  --background-150: #fafbfd;
  --border-150: #dbe2ed;
  --background-200: #f4f6fa;
  --border-200: #d4dbe8;
  --background-250: #eef1f6;
  --border-250: #cdd4e3;
  --background-300: #e8ecf3;
  --border-300: #c6cfde;
  --background-350: #e2e7f0;
  --border-350: #bfc9d9;
  --background-400: #dce2ec;
  --border-400: #b8c2d4;
  --background-450: #d6dde8;
  --border-450: #b1bbcf;
  --background-500: #d0d7e3;
  --border-500: #a9b4ca;
  --background-550: #c9d1df;
  --border-550: #a2aec5;
  --background-600: #c3cbda;
  --border-600: #9aa7c0;
  --background-650: #bcc5d6;
  --border-650: #93a0bb;
  --background-700: #b6bfd1;
  --border-700: #8b99b6;
  --background-750: #afb9cd;
  --border-750: #8492b1;
  --background-800: #a9b3c8;
  --border-800: #7c8bac;
  --background-850: #a2adc3;
  --border-850: #7584a7;
  --background-900: #9ca7be;
  --border-900: #6d7da2;

  /* Component variables */
  --breadCrumbsBG: rgba(255, 255, 255, 0.95);
  --breadCrumbsBDR: #e2e8f0;
  --breadCrumbsText: #64748b;
  --breadCrumbActive: #2b6cb0;
  --breadCrumbsTextHover: #1a202c;
  --breadCrumbActiveHover: #2563eb;
  --chevronColor: #cbd5e1;
  --shadowColor: rgba(15, 23, 42, 0.08);

  --background-canvas: #ffffff;
  --background-overlay: rgba(255, 255, 255, 0.95);
  --background-overlay-solid: #ffffff;
  --background-inset: #f8fafc;
  --background-songs: #ffffff;

  --fade-base: rgb(248, 249, 252);
  --background-gradient: linear-gradient(
    to bottom,
    rgba(248, 249, 252, 0) 0%,
    rgba(248, 249, 252, 0) 10%,
    rgba(248, 249, 252, 0) 20%,
    rgba(248, 249, 252, 0) 30%,
    rgba(248, 249, 252, 0.1) 35%,
    rgba(248, 249, 252, 0.2) 40%,
    rgba(248, 249, 252, 0.3) 45%,
    rgba(248, 249, 252, 0.4) 50%,
    rgba(248, 249, 252, 0.5) 55%,
    rgba(248, 249, 252, 0.6) 60%,
    rgba(248, 249, 252, 0.7) 65%,
    rgba(248, 249, 252, 0.8) 70%,
    rgba(248, 249, 252, 0.9) 75%,
    rgba(248, 249, 252, 0.95) 80%,
    rgba(248, 249, 252, 0.98) 85%,
    rgba(248, 249, 252, 0.99) 90%,
    rgba(248, 249, 252, 1) 95%,
    rgba(248, 249, 252, 1) 100%
  );

  /* Accent colors */
  --border-accent: #2b6cb0;
  --text-100: #1a202c;
  --text-200: #2d3748;
  --text-300: #4a5568;
  --text-400: #64748b;
  --text-500: #94a3b8;
  --text-inverse: #ffffff;
  --text-on-accent: #ffffff;
  
  /* Primary actions */
  --accent-primary: #2b6cb0;
  --accent-primary-hover: #2563eb;
  --accent-primary-active: #1d4ed8;
  --accent-secondary: #3b82f6;
  
  /* Status colors */
  --accent-success: #059669;
  --accent-success-hover: #10b981;
  --accent-warning: #d97706;
  --accent-warning-hover: #f59e0b;
  --accent-danger: #dc2626;
  --accent-danger-hover: #ef4444;
  --accent-info: #2b6cb0;
  --accent-purple: #7c3aed;
  --accent-pink: #db2777;

  /* Interactive elements */
  --scrollbar-track: var(--background-200);
  --scrollbar-thumb: var(--background-400);
  --scrollbar-thumb-hover: var(--background-500);
  --input-background: var(--background-100);
  --input-border: var(--border-200);
  --button-background: var(--background-200);
  --button-hover: var(--background-300);
  --button-active: var(--background-400);
}


.artistTop {
  background: var(--background-400);
  border: 0.0938rem solid var(--border-750);
}

.artist-header {
  background: linear-gradient(to bottom, rgba(26, 30, 36, 0.2) 0%, var(--background-400) 80%);
}

.content-offset {
  background-color: transparent;
  color: var(--text-100);
}

.albumSongsArea {
  background: var(--background-songs);
  border: 0.0625rem solid var(--border-750);
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

*,
body,
html {
  scroll-behavior: smooth;
}

body,
html {
  position: relative;
  height: 100%;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

::-webkit-scrollbar,
body::-webkit-scrollbar,
html::-webkit-scrollbar {
  display: none;
}

body {
  background-color: var(--background-550);
  color: var(--text-200);
  line-height: 1;
  max-width: 100vw;
  overflow-x: hidden;
/**  overflow-y: auto;**/
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  padding: 0;
}

html {
  font-size: 0.75rem !important;
}

#pageWrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
/**  overflow-y: auto;**/
}

#main-container {
  border-radius: 0.75rem;
  transition: all var(--transition-base);
}


.notification {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  z-index: var(--z-nav);
  padding: 1rem 1.5rem;
  background: var(--background-700);
  border: 0.0625rem solid var(--border-accent);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: var(--blur-md);
  color: var(--text-on-accent);
  font-weight: 500;
  opacity: 1;
  transform: translateX(-50%);
  transition: all var(--transition-base);
}

.notification.fade-out {
  opacity: 0;
  transform: translateX(-50%) translateY(1.25rem) scale(0.95);
}

#contentWrapper {
  position: relative;
  height: 100vh;
  padding-bottom: 5rem;
/**  overflow-y: auto;**/
  overscroll-behavior: none;
  overscroll-behavior-y: contain;
}


/**
.music-player-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, visibility 0s linear 0.3s;
  z-index: calc(var(--z-player) - 1);
}

.music-player-overlay.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease-out, visibility 0s linear 0s;
}

#musicPlayer::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 0.25rem;
  background: var(--border-200);
  border-radius: 0.125rem;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

#musicPlayer:hover::before {
  opacity: 0.8;
}

#musicPlayer .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

#musicPlayer .close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
}

#musicPlayer .body {
  height: 100%;
  padding: 2rem;
  transition: all 0.65s ease-in-out;
}







#popUpTabsWrapper {
  position: relative;
  height: 15%;
  z-index: var(--z-player-controls);
}

.popup-tabs {
  position: absolute;
  bottom: 0.5rem;
  left: -50%;
  display: flex;
  justify-content: center;
  flex: 1;
  width: 100%;
  transform: translateX(50%);
}

.popup-tab {
  flex: 1;
  padding: 0.75rem 0;
  position: relative;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: color var(--transition-slow);
}

.popup-tab.active {
  color: white;
}

.popup-tab.active::after {
  content: "";
  position: absolute;
  bottom: -0.0625rem;
  left: 0;
  right: 0;
  height: 0.125rem;
  background: var(--accent-primary);
}

.popup-tab-content {
  display: none;
  height: 100%;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.45s ease-in-out;
}

.popup-tab-content[style*="block"] {
  display: block;
}

.popup-tab-content.show {
  opacity: 1;
  pointer-events: auto;
}

.popup-tab-content[data-tab="now-playing"] {
  opacity: 1;
  pointer-events: auto;
  transition: 0.45s ease-in-out;
  display: block;
}

.popup-tab-content[data-tab="queue"].show {
  opacity: 1;
  pointer-events: auto;
  transition: 0.45s ease-in-out;
}

.popup-tab-content[data-tab="recent"].show {
  opacity: 1;
  pointer-events: auto;
  transition: 0.45s ease-in-out;
}

.popup-song-item {
  pointer-events: auto;
}

.empty-state {
  padding: 2rem;
  color: var(--accent-primary);
  font-size: 0.875rem;
  text-align: center;
}

.popup-album-cover {
  width: 100%;
  aspect-ratio: 1/1;
  margin-bottom: 0.25rem;
  border: 0.0938rem dashed var(--background-600);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  transition: all var(--transition-base);
}

.popup-album-cover:hover {
  transform: scale(1.02);
}

.popup-song-info {
  margin: 1.5rem 0;
  text-align: center;
}

.popup-song-title {
  margin: 0 0 0.5rem;
  color: var(--text-100);
  font-size: 1.5rem;
  font-weight: 700;
}

.popup-artist-name {
  margin: 0 0 0.25rem;
  color: var(--text-300);
  font-size: 1rem;
}

.popup-album-name {
  margin: 0;
  color: var(--text-400);
  font-size: 0.875rem;
}





.playerControls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.45rem;
}

***/


.artist-card {
  position: relative;
  overflow: hidden;
  background: var(--background-600);
  border: 0.0625rem solid var(--border-200);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.artist-card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gradPrimary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.artist-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-xl);
  transform: translateY(-0.5rem) scale(1.02);
}

.artist-card:hover:before {
  opacity: 0.1;
}

.bento-card .album-card img {
  border-radius: 2rem;
  
}
.bento-card .album-card {
  position: relative;
  overflow: hidden;
  padding-top: 3rem;
  background: var(--background-400);
  transition: all var(--transition-base);
}





.bento-card .album-cover {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  border-radius: inherit;
  transition: all var(--transition-base);
  will-change: transform;
}

.bento-card .album-cover:hover {
  box-shadow: var(--shadow-lg);
}

.album-cover.image-loading {
  border-radius: inherit;
}

.album-cover.image-error {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-success), var(--accent-warning));
  color: #fff;
  border-radius: inherit;
}

.album-cover.image-error:after {
  content: "🎵";
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.play-overlay {
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  backdrop-filter: var(--blur-sm);
  transition: all var(--transition-base);
}

.group:hover .play-overlay {
  opacity: 1;
}





.album-grid-item {
  cursor: pointer;
  transition: all var(--transition-base);
}

.album-grid-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.375rem) scale(1.02);
}

.album-grid-item .album-image {
  border: 0.0625rem solid vat(--border-400);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.album-grid-item:hover .album-image {
  transform: scale(1.05);
}

.queue-item {
  transition: background-color var(--transition-fast);
}

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



#current-album-display.album-card {
  background: var(--fade-base);
  height: 18.75rem;
  border: 0.0625rem solid var(--border-300);
  border-radius: calc(var(--radius-xl) + 0.5rem);
  backdrop-filter: blur(0.375rem);
  -webkit-backdrop-filter: blur(0.375rem);
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}



.albumFade {
  padding: 0;
  border-radius: inherit;
}

.album-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 48rem) {
  .album-content {
    grid-template-columns: 20rem 1fr;
    align-items: start;
    padding: 1.25rem;
  }
}

.artistPage .album-image {
  position: relative;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0rem;
  border-bottom-left-radius: 0rem;
  overflow: hidden;
  background: #000;
}

.album-cover {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 26.25rem;
  object-fit: cover;
}

.album-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--background-gradient);
}

/* Play button */
.play-album {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: var(--play-size);
  height: var(--play-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 62.4375rem;
  background: var(--play-bg);
  box-shadow: 0 0.625rem 1.5rem rgba(0,0,0,0.35);
  transform: translateZ(0);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

.play-album:hover {
  background: var(--play-bg-hover);
  transform: scale(1.05);
  box-shadow: 0 0.75rem 1.75rem rgba(0,0,0,0.4);
}

.play-album svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: #fff;
}

/* Title + meta */
.albumMetadata {
  min-width: 0;
}

.metaAlbumName {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-on-accent);
  word-break: break-word;
}

.metaAlbumYear {
  margin: 0;
  font-size: 0.7375rem;
  color: var(--text-300);
}

/* Songs container inherits your theme color */
.songs-container {
  background: var(--fade-base);
  padding: 1rem;
  
  border-top-left-radius: 0rem;
  border-top-right-radius: 0rem;
  
  border-bottom-left-radius: 0.9375rem;
  border-bottom-right-radius: 0.9375rem;
}

/* Smoothness/respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .album-card,
  .play-album {
    transition: none;
  }
}
















.breadcrumb-navigation {
  position: sticky;
  top: 0.65rem; left: 0.65rem;
  z-index: var(--z-sticky);
  height: 3.5rem;
  padding: 1.5rem;
/**  background-color: var(--breadCrumbsBG);
  backdrop-filter: var(--blur-md);**/
  
  background: var(--pwaThemeColor);
  border-bottom: 0.0938rem solid var(--pwaBorderColor)
  color: var(--text-200);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.0219rem;
  line-height: 1.25;
  text-shadow: 0.125rem 0.125rem 0.375rem rgba(37,37,37, 0.35);
  
  align-content: center;
  margin: 2rem 0 1rem 1rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-item,
.breadcrumb-separator {
  display: flex;
  align-items: center;
}

.breadcrumb-separator {
  color: var(--header-borderColor-divider);
}

.popup-progress {
  --progress-height: 0.5rem;
  --thumb-size: 1.25rem;
  --primary-color: #3b82f6;
  --secondary-color: #60a5fa;
  --track-color: #4b5563;
  --thumb-color: #eff6ff;
  --text-color: #9ca3af;
  --glow-effect: 0 0 0.5rem rgba(96, 165, 250, 0.5);
  --transition-speed: 0.15s;
  margin: 1.5rem 0;
}

.progress-time {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-size: 0.8rem;
  font-weight: 500;
}

.popup-progress-bar {
  position: relative;
  height: var(--progress-height);
  background-color: var(--track-color);
  border-radius: 6.25rem;
  cursor: pointer;
  box-shadow: inset 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.3);
}

.popup-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  
background: linear-gradient(225deg, hsla(353, 61%, 57%, 1) 7%, hsla(353, 61%, 57%, 1) 38%, hsla(355, 40%, 53%, 1) 71%, hsla(4, 17%, 48%, 1) 100%);

background: -moz-linear-gradient(225deg, hsla(353, 61%, 57%, 1) 7%, hsla(353, 61%, 57%, 1) 38%, hsla(355, 40%, 53%, 1) 71%, hsla(4, 17%, 48%, 1) 100%);

background: -webkit-linear-gradient(225deg, hsla(353, 61%, 57%, 1) 7%, hsla(353, 61%, 57%, 1) 38%, hsla(355, 40%, 53%, 1) 71%, hsla(4, 17%, 48%, 1) 100%);
}

.popup-progress-thumb {
  position: absolute;
  top: 50%;
  width: var(--thumb-size);
  height: var(--thumb-size);
  background-color: var(--thumb-color);
  border: 0.1875rem solid var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.4), var(--glow-effect);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  cursor: grab;
  opacity: 1;
}

.popup-progress-bar:hover .popup-progress-thumb {
  transform: translate(-50%, -50%) scale(1.15);
}

.popup-progress-thumb.grabbing {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.25);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5), 0 0 0.75rem rgba(96, 165, 250, 0.7);
}

.breadcrumb {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  text-decoration: none;
  transition: all 0.45s ease;
}

.breadcrumb:hover {
  color: var(--accent-primary);
  transition: all 0.45s ease;
}


.image-loaded {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards 0.3s;
}

.playing-indicator {
  animation: pulse-glow 2s ease-in-out infinite;
  will-change: opacity;
}

.spinner {
  animation: spin 1s linear infinite;
  will-change: transform;
}

.content-fade-in {
  opacity: 0;
  transform: translateY(1.25rem);
  animation: content-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

.image-loading {
  position: relative;
  background: linear-gradient(90deg, var(--background-500) 25%, var(--background-600) 50%, var(--background-500) 75%);
  background-size: 400% 100%;
  animation: image-shimmer 1.5s ease-in-out infinite;
  opacity: 0.7;
}

.image-loading:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 1.5rem;
  height: 1.5rem;
  margin: -0.75rem 0 0 -0.75rem;
  border: 0.125rem solid var(--border-100);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.image-loaded {
  opacity: 1;
  animation: image-fade-in 0.5s ease-out;
}

.image-loading-pulse {
  animation: loading-pulse 2s ease-in-out infinite;
}

.lazy-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-image.loaded {
  opacity: 1;
}

.progressive-image {
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
}

.progressive-image.blur-up {
  filter: blur(0.625rem);
  transition: filter 0.5s ease;
}

.progressive-image.blur-up.loaded {
  filter: blur(0);
}

.showSongs {
  animation: showSongs 0.6s ease-out both;
}

.hideSongs {
  animation: hideSongs 0.5s ease-in both;
}

.page {
  opacity: 0;
  transform: translateY(0.625rem);
  transition: opacity 0.45s ease, transform 0.45s ease;
  animation: pageEnter 0.4s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
}

.search-dialog-opening .search-dialog-content {
  animation: slideInDown 0.4s ease-out;
}

.search-dialog-closing .search-dialog-content {
  animation: slideOutUp 0.3s ease-in;
}

.search-dialog {
  animation: fade-in 0.2s ease;
}

.search-dialog-content {
  animation: scale-in 0.3s ease;
}

.fade-out-breadcrumb {
  animation: fadeOutBreadcrumb 0.4s ease forwards;
}

.fade-in-breadcrumb {
  animation: fadeInBreadcrumb 0.4s ease forwards;
}

.image-error {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-700);
  border: 0.125rem dashed var(--border-100);
  opacity: 0.6;
}

.image-error:after {
  content: "🖼️";
  font-size: 2rem;
  opacity: 0.5;
}

.image-fallback {
  opacity: 0.8;
  filter: grayscale(20%);
}

.artist-avatar {
  transition: all var(--transition-base);
}

.artist-avatar,
.artist-avatar.image-loading {
  border-radius: 50%;
}

.artist-avatar.image-error {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
  color: #fff;
  font-weight: 700;
  text-align: center;
  border-radius: inherit;
}

.artist-avatar.image-error:after {
  content: attr(alt);
  font-size: 0.75rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-avatar-large.image-loading:before {
  width: 2rem;
  height: 2rem;
  margin: -1rem 0 0 -1rem;
  border-width: 0.1875rem;
}

.queue-item-cover {
  transition: all var(--transition-fast);
}

.queue-item-cover.image-loading {
  border-radius: 0.25rem;
}

.queue-item-cover.image-error {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-700);
  color: var(--text-300);
  font-size: 0.75rem;
  border-radius: 0.25rem;
}

.queue-item-cover.image-error:after {
  content: "♪";
}






#navbar .albumArtwork {
  transition: all var(--transition-base);
}

#navbar .albumArtwork.image-loading {
  border-radius: 0.5rem;
}

#navbar .albumArtwork.image-error {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  font-size: 0.75rem;
  border-radius: 0.5rem;
}

#navbar .albumArtwork.image-error:after {
  content: "🎵";
}

#now-playing-cover {
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-slow);
}

#now-playing-cover.image-loading {
  border-radius: 1rem;
}

#now-playing-cover.image-error {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple), var(--accent-pink));
  color: #fff;
  border-radius: 1rem;
}

#now-playing-cover.image-error:after {
  content: "🎼";
  font-size: 4rem;
  margin-bottom: 1rem;
}


.artist-card:hover .artist-avatar.image-loaded {
  box-shadow: var(--shadow-lg);
  filter: brightness(1.1) saturate(1.2);
}

.album-card:hover .album-cover.image-loaded {
  box-shadow: var(--shadow-xl);
  filter: brightness(1.1) contrast(1.1);
  transform: scale(1.05) rotateY(5deg);
}

.queue-item:hover .queue-item-cover.image-loaded {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  transform: scale(1.1);
}

#navbar .albumArtwork:hover.image-loaded {
  box-shadow: var(--shadow-md);
  transform: scale(1.15) rotate(-2deg);
}

.image-error-glitch {
  position: relative;
  overflow: hidden;
}

.image-error-glitch:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.1) 25%, transparent 50%, rgba(0, 255, 0, 0.1) 75%, transparent);
  animation: glitch-sweep 3s ease-in-out infinite;
}

.artist-context .image-error:after {
  content: "Artist\A Image\A Missing";
  white-space: pre;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.2;
}

.album-context .image-error:after {
  content: "Album\A Cover\A Missing";
  white-space: pre;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.2;
}

.breadcrumb-separator {
  color: var(--text-300);
  opacity: 0.35;
  margin: 0 0.25rem;
}

.breadcrumb-item {
  color: var(--text-300);
  opacity: 0.35;
  position: relative;
}

.breadcrumb-item:hover {
  opacity: 1;
  transform: translateY(-0.0625rem);
}

.breadcrumb-item[aria-current="page"] {
  opacity: 1;
  color: var(--text-100);
  font-weight: 400;
}

.breadcrumb-item[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 0.125rem;
  background: var(--text-100);
  border-radius: 0.125rem;
}

.breadcrumb-navigation:hover .breadcrumb-separator,
.breadcrumb-navigation:hover .breadcrumb-item:not([aria-current="page"]) {
  opacity: 1;
}

.artistBottom {
  width: 100%;
  height: auto;
  padding: 2rem 0;
}

.artistBottom h3 {
  padding: 0.1875rem 0.5rem;
  border-radius: 0.3125rem;
  color: whitesmoke;
  opacity: 0.35;
  backdrop-filter: blur(1.25rem);
  transform: translate(-0.9375rem, -3.125rem);
  transition: opacity 0.65s ease-in-out;
}

.artistBottom:hover h3 {
  opacity: 1;
}

.artistBottom > p {
  padding: 0.1875rem 0.5rem;
  border-radius: 0.3125rem;
  color: whitesmoke;
  opacity: 0.35;
  backdrop-filter: blur(1.25rem);
  transform: translate(-0.9375rem, -3.125rem);
  transition: opacity 0.65s ease-in-out 1s;
}

.artistBottom:hover p {
  opacity: 1;
}

#dropdown-menu {
  position: fixed;
  bottom: 6.5rem;
  left: 50%;
  z-index: 999999;
  width: 92vw;
  max-width: 31.25rem;
  max-height: 70vh;
  padding: 1.5rem;
  background: var(--background-600);
  border: 0.0625rem solid var(--text-300);
  border-radius: 0.9375rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--blur-lg);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transform: translateX(-50%) translateY(1.25rem) scale(0.95);
  transition: all var(--transition-smooth);
}

#dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 0.0625rem solid var(--border-100);
}

.dropdown-title {
  margin: 0;
  color: var(--text-100);
  font-size: 1.25rem;
  font-weight: 700;
}

.dropdown-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--text-300);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dropdown-close:hover {
  background: var(--background-500);
  color: var(--text-100);
}

.dropdown-section {
  margin-bottom: 2rem;
}

.dropdown-section:last-child {
  margin-bottom: 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--accent-primary);
  font-size: 1rem;
  font-weight: 600;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  padding: 1rem;
  border: 0.0625rem solid transparent;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--background-overlay);
  border-color: var(--border-accent);
  transform: translateX(0.25rem);
}

.dropdown-item:last-child {
  margin-bottom: 0;
}

.dropdown-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--background-600);
  border-radius: 0.5rem;
  color: var(--text-300);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.dropdown-item:hover .dropdown-item-icon {
  background: var(--accent-primary);
  color: var(--text-on-accent);
}

.dropdown-item-content {
  flex: 1;
  min-width: 0;
}

.dropdown-item-title {
  margin: 0 0 0.25rem;
  color: var(--text-100);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.dropdown-item-subtitle {
  margin: 0;
  color: var(--text-300);
  font-size: 0.8rem;
  line-height: 1.2;
}

.dropdown-item-badge {
  min-width: 1.5rem;
  padding: 0.25rem 0.5rem;
  background: var(--accent-primary);
  border-radius: 0.75rem;
  color: var(--text-on-accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  flex-shrink: 0;
}

.empty-state {
  padding: 2rem 1rem;
  color: var(--text-300);
  text-align: center;
}

.empty-state-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  opacity: 0.5;
}

.empty-state-text {
  font-size: 0.9rem;
  line-height: 1.4;
}

.search-dialog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-search);
  padding-top: 10vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(0.5rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-dialog:not(.hidden) {
  opacity: 1;
}

.search-dialog-content {
  width: 100%;
  max-width: 37.5rem;
  margin: 0 1rem;
  background: var(--background-600);
  border: 0.0625rem solid var(--border-200);
}

.search-tab {
  position: relative;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.search-tab.active,
.search-tab:hover {
  color: var(--accent-primary);
}

.search-tab.active {
  font-weight: 600;
}

.search-tab-content {
  transition: opacity 0.3s ease;
}

.genre-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.genre-tag {
  padding: 0.5rem 0.75rem;
  background: var(--background-500);
  border: 0.0625rem solid var(--border-100);
  border-radius: 624.9375rem;
  color: var(--text-300);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.genre-tag:hover {
  background: var(--background-600);
  color: var(--text-100);
}

.genre-tag.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-on-accent);
}

.empty-results {
  padding: 4rem 1rem;
  color: var(--text-300);
  text-align: center;
}

.popup-song-list {
  max-height: 18.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.popup-song-list::-webkit-scrollbar {
  display: none;
}

.popup-song-item {
  margin-bottom: 1rem;
  border-radius: 0.625rem;
  height: 1.875rem;
  background: var(--background-overlay);
  display: flex;
  padding: 0.5rem 0.625rem;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background-color 0.35s ease;
}

.popup-song-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.popup-song-item:active {
  background-color: rgba(255, 255, 255, 0.12);
}

.popup-song-item.playing {
  background-color: rgba(83, 155, 245, 0.1);
}

.popup-song-cover {
  width: 1.5625rem;
  height: 1.5625rem;
  margin-right: 0.75rem;
  background-color: var(--background-600);
  border-radius: 0.375rem;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.5);
}

.popup-song-info {
  flex: 1;
  min-width: 0;
  margin-right: 0.75rem;
}

.popup-song-title {
  margin: 0 0 0.125rem;
  color: var(--text-100);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-song-item.playing .popup-song-title {
  color: var(--accent-primary);
}

.popup-song-artist {
  margin: 0;
  color: var(--text-300);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-song-duration {
  min-width: 2.5rem;
  color: var(--text-300);
  font-size: 0.75rem;
  text-align: right;
  flex-shrink: 0;
}

.popup-song-item.playing .popup-song-duration {
  color: var(--accent-primary);
}

.popup-song-play {
  background: none;
  border: none;
  padding: 0.3rem;
  color: var(--text-300);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.popup-song-play:hover,
.popup-song-play:focus {
  color: var(--accent-primary);
  background: rgba(83, 155, 245, 0.1);
}

.popup-song-item:hover .popup-song-play {
  opacity: 1;
  transition: opacity 0.45s ease-in-out;
}

.popup-song-item:hover .popup-song-duration {
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}

.popup-song-play svg {
  width: 1.25rem;
  height: 1.25rem;
}

.similar-artists-carousel {
  --gradient-width: 6.25rem;
  --carousel-gap: 1rem;
  --item-width: 7.5rem;
  --border-radius: 0.9375rem;
  --arrow-size: 2.5rem;
  --arrow-offset: 0.5rem;
  --popover-width: 15rem;

  position: relative;
  width: 100%;
  margin: 1.5625rem 0;
}

.similar-artists-container {
  display: flex;
  gap: var(--carousel-gap);
  margin-bottom: 10rem;
  overflow: hidden;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.similar-artists-container::-webkit-scrollbar {
  display: none;
}

.similar-artists-carousel::before,
.similar-artists-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--gradient-width);
  z-index: var(--z-base);
  pointer-events: none;
}

.similar-artists-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--background-200), transparent);
}

.similar-artists-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--background-200), transparent);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  width: var(--arrow-size);
  height: var(--arrow-size);
  border-radius: 50%;
  background: var(--background-700);
  border: 0.0625rem solid var(--border-200);
  color: var(--text-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  backdrop-filter: var(--blur-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: all 0.3s ease-out;
}

.carousel-arrow.left {
  left: var(--arrow-offset);
}

.carousel-arrow.right {
  right: var(--arrow-offset);
}

.carousel-arrow:hover:not(.disabled) {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-lg);
}

.carousel-arrow.disabled {
  opacity: 0.3;
  background: var(--background-600);
  cursor: not-allowed;
}

.similar-artists-carousel:hover .carousel-arrow {
  opacity: 0.85;
  pointer-events: auto;
}

.similar-artists-carousel:hover .carousel-arrow:hover {
  opacity: 1;
}

.similar-artist-card {
  --scale-factor: 1.02;
  --lift-distance: -0.25rem;

  position: relative;
  z-index: 2;
  width: var(--item-width);
  text-align: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform var(--transition-base);
}

.similar-artist-card:hover {
  transform: translateY(var(--lift-distance)) scale(var(--scale-factor));
  z-index: 15;
}

.similar-artist-image img {
  width: 100%;
  aspect-ratio: 1;
  margin: 0 auto 0.5rem;
  object-fit: cover;
  border-radius: 25%;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.similar-artist-card:hover .similar-artist-image img {
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.similar-artist-name {
  margin-bottom: 0.25rem;
  color: var(--text-100);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artist-popover {
  position: absolute;
  left: 50%;
  min-width: 15rem;
  padding: 0;
  background: var(--background-overlay-solid);
  border: 0.0625rem solid var(--border-100);
  border-radius: 0.625rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--blur-lg);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translateX(-50%) translateY(-0.5rem);
  transition: all var(--transition-bounce);
  will-change: transform, opacity;
}

.artist-popover:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 0.375rem solid transparent;
  border-top: 0.375rem solid var(--border-accent);
  transform: translateX(-50%);
  filter: drop-shadow(0 0.125rem 0.125rem rgba(0, 0, 0, 0.2));
}

.artist-popover.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(-0.75rem);
}

.similar-artist-card:first-child .artist-popover,
.similar-artist-card:nth-child(2) .artist-popover {
  left: 0;
  transform: translateX(0) translateY(-0.5rem);
}

.similar-artist-card:first-child .artist-popover.visible,
.similar-artist-card:nth-child(2) .artist-popover.visible {
  transform: translateX(0) translateY(-0.75rem);
}

.similar-artist-card:last-child .artist-popover,
.similar-artist-card:nth-last-child(2) .artist-popover {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(-0.5rem);
}

.similar-artist-card:last-child .artist-popover.visible,
.similar-artist-card:nth-last-child(2) .artist-popover.visible {
  transform: translateX(0) translateY(-0.75rem);
}

.similar-artist-card:first-child .artist-popover:after,
.similar-artist-card:nth-child(2) .artist-popover:after {
  left: 2.5rem;
  transform: translateX(0);
}

.similar-artist-card:last-child .artist-popover:after,
.similar-artist-card:nth-last-child(2) .artist-popover:after {
  left: auto;
  right: 2.5rem;
  transform: translateX(0);
}

.popover-header {
  position: relative;
  background: linear-gradient(180deg, var(--artistTopBg), transparent);
  border-bottom: 0.0625rem solid var(--border-100);
}

.popover-artist-name {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
  color: var(--text-100);
  font-size: 1rem;
  font-weight: 600;
}

.popover-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all var(--transition-fast);
}

.stat-item:hover {
  background: var(--background-600);
  transform: translateY(-0.125rem);
}

.stat-value {
  margin-bottom: 0.125rem;
  color: var(--accent-primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.stat-label {
  color: var(--text-300);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.0312rem;
}

.popover-footer {
  padding: 0.75rem 1rem 1rem;
}

.popover-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.375rem;
  padding: 0.5rem;
  background: var(--accent-primary);
  border: 0.0625rem solid var(--border-200);
  border-radius: 0.5rem;
  color: var(--text-on-accent);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-bounce);
}

.popover-button:hover {
  background: var(--gradPrimary);
  box-shadow: var(--shadow-md);
  transform: translateY(-0.125rem) scale(1.02);
}

.popover-button:active {
  transform: translateY(0) scale(0.98);
}

.popover-button:after {
  content: "→";
  opacity: 0;
  transition: all var(--transition-fast);
}

.popover-button:hover:after {
  opacity: 1;
  transform: translateX(0.25rem);
}

.popover-portal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-overlay);
  width: 9.375rem;
  height: 12.5rem;
  pointer-events: none;
}

.popover-portal .artist-popover {
  position: absolute;
  pointer-events: all;
}

.glass-effect {
  background-color: rgba(30, 38, 47, 0.75);
  backdrop-filter: blur(0.75rem);
  -webkit-backdrop-filter: blur(0.75rem);
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.content-offset {
  min-height: 100vh;
  padding: 0;
}

.artist-body {
  margin-top: 3rem;
}

..artistAlbums .section-title {
  margin-bottom: 2rem;
}

.albumWrapper {
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.error-state {
  padding: 4rem 2rem;
  background: var(--background-500);
  border: 0.0625rem solid var(--border-200);
  border-radius: var(--radius-lg);
  color: var(--text-300);
  font-size: 1.2rem;
  text-align: center;
}

.single-album-display {
  max-width: 50rem;
  margin: 0 auto;
}

.single-album-display .album-card {
  overflow: hidden;
  border-radius: 1rem;
}

.single-album-display .album-info {
  padding: 1.5rem;
}

.single-album-display .album-cover-container {
  position: relative;
  padding-top: 60%;
}

.single-album-display .album-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artists-grid.grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 1.5rem;
}

.artists-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.artists-grid.list-view .artist-card {
  display: flex;
  align-items: center;
  padding: 0.75rem;
}

.artists-grid.list-view .artist-card .text-center {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
}

.artists-grid.list-view .artist-avatar {
  width: 3rem;
  height: 3rem;
  margin: 0 1rem 0 0;
}

.artists-grid.list-view .genre-tag {
  margin-left: auto;
}

#content-loading {
  position: fixed;
  left: 50%;
  bottom: 0;
  height: 100vh;
  width: 100vw;
  transform: translateX(-50%);
  justify-content: center;
  align-items: center;
  transition: opacity 0.45s ease-in-out;
  pointer-events: none;
}

#content-loading.hidden {
  transition: opacity 0.45s ease-in-out;
  pointer-events: none;
}

.loading-animation {
  text-align: center;
}

.spinner-container {
  position: relative;
  width: 3.75rem;
  height: 3.75rem;
  margin: 0 auto;
}

.spinner {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto;
  border: 0.1875rem solid rgba(83, 155, 245, 0.3);
  border-top: 0.1875rem solid var(--accent-primary);
  border-radius: 50%;
  animation: spinner 1s ease-in-out infinite;
}

.content-loading {
  position: absolute;
  inset: 0;
  z-index: 9999;
  background-color: rgba(13, 17, 23, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.content-loading.opacity-100 {
  opacity: 1;
  pointer-events: all;
}

#dynamic-content {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#dynamic-content.fade-out {
  opacity: 0;
  transform: translateY(0.625rem);
}

#dynamic-content.fade-in {
  animation: fade-in 0.3s ease forwards;
}

#theme-toggle:focus,
.dropdown-item:focus,
.menu-trigger:focus,
.nav-control-btn:focus,
.navbar-center:focus {
  outline: 0.125rem solid var(--accent-primary);
  outline-offset: 0.125rem;
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.dropdown-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.dropdown-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s;
}

.dropdown-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dropdown-section {
  padding: 1rem 0;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.05);
}

.dropdown-section:last-child {
  border-bottom: none;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0 1.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  gap: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-item-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.dropdown-item-content {
  flex: 1;
  min-width: 0;
}

.dropdown-item-title {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.125rem;
  color: #fff;
}

.dropdown-item-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.dropdown-item-badge {
  background: rgba(79, 70, 229, 0.2);
  color: #8b9dff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 0.625rem;
}

.empty-state {
  text-align: center;
  padding: 1.875rem 1.25rem;
}

.empty-state-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.empty-state-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.theme-toggle-container {
  position: fixed;
  bottom: 4rem;
  left: 1rem;
  z-index: var(--z-tooltip);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.theme-trigger {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-400);
  color: var(--text-100);
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.theme-trigger:hover {
  background: var(--background-500);
  transform: translateY(-0.125rem);
}

.theme-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.theme-toggle-container.active .theme-options {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.theme-options button {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-400);
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-100);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.theme-options button:hover {
  background: var(--background-500);
  transform: translateY(-0.125rem);
}

.theme-options button.active {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-sm);
}

.mainCard {
  background-color: var(--background-400);
  border-color: var(--background-200);
  color: var(--text-200);
  border-radius: 0.625rem;
}

.gradient-text {
  background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bento-grid {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.bento-card {
  background: var(--background-400);
  border: 0.0938rem solid var(--border-200);
}

.album-card {
  background: transparent;
}

.album-card .album-cover {
  border: 0.0625rem solid var(--border-400);
}

.album-overlay {
  backdrop-filter: blur(0.1875rem);
  width: 100%;
  height: 100%;
  transition: all 0.45s ease-in-out;
  object-fit: cover;
}

.album-cover:hover .album-overlay {
  width: 110%;
  height: 110%;
  transition: all 0.45s ease-in-out;
}

.album-play-btn {
  opacity: 0.65;
}

.more-actions-popover {
  width: 18.75rem;
  height: 12.5rem;
  box-shadow: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(0.625rem);
  background: var(--borderMain);
  border: 0.0938rem solid var(--backgroundMain);
  border-radius: 0.75rem;
  position: fixed;
  top: 5rem;
  left: 50%;
  right: 50%;
  z-index: 9999999999999999;
  backdrop-filter: blur(0.75rem);
  border-radius: 0.75rem;
  padding: 0.5rem;
  box-shadow: 0 1.25rem 1.5625rem -0.3125rem var(--background-800), 0 0.625rem 0.625rem -0.3125rem var(--background-900);
  min-width: 15rem;
  max-width: 17.5rem;
  animation: popover-in 0.15s ease-out;
}

.more-actions-popover.hidden {
  display: none;
}

.popover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
}

.popover-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  border-radius: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 4.375rem;
  color: var(--textMain);
}

.popover-action-btn:hover {
  background: var(--background-400);
  color: var(--textMainActive);
  transform: translateY(-0.0625rem);
}

.popover-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-bottom: 0.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.popover-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.breadcrumb-link {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.breadcrumb-link:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.1);
  color: #3b82f6;
}

.breadcrumb-link:disabled {
  cursor: default;
  opacity: 0.7;
}

.breadcrumb-link:focus {
  outline: 0.125rem solid #3b82f6;
  outline-offset: 0.125rem;
}





/****
.drawerSlide {
  width: 37.5rem;
  max-width: 100%;
  flex: 1 0 75dvh;
  position: relative;
  view-timeline: --drawer;
  will-change: flex;
  transition: flex 0.45s ease;
}

.drawerAnchors {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10;
}

.drawerAnchor {
  height: 3.125rem;
  width: 100%;
  scroll-snap-align: end;
}

.drawerAnchor:first-of-type {
  translate: 0 -100%;
  top: 35dvh;
}

.drawerAnchor:last-of-type {
  bottom: 0;
}

.drawerAnchors::before {
  content: "";
  position: absolute;
  top: 20dvh;
  height: 3.125rem;
  width: 100%;
  scroll-snap-align: end;
}

.drawer {
  inset: 0 0 0 0;
  margin: 0;
  width: unset;
  height: unset;
  border: 0;
  padding: 0;
  background: transparent;
  transition: inset 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
  overscroll-behavior: contain;
}

.drawer::backdrop {
  background: hsl(0 0% 0% / 0.35);
  transition-property: display, overlay;
  transition-behavior: allow-discrete;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
  opacity: 0;
}

.drawer:popover-open::backdrop {
  opacity: 1;
  backdrop-filter: blur(0.1875rem);
}

.drawerScroller {
  height: 100%;
  width: 90%;
  flex-direction: column;
  align-items: center;
  display: flex;
  overflow: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y mandatory;
  margin-left: auto;
  margin-right: auto;
  scroll-behavior: smooth;
}

.drawerScroller::after {
  content: "";
  width: 100%;
  height: 100dvh;
  order: -999999;
  flex: 1 0 100dvh;
}

.drawerCurtain {
  position: absolute;
  left: 50%;
  opacity: 0;
  height: 100dvh;
  width: 100%;
  bottom: 0;
  border: 0;
  translate: -50% 0;
}

.drawerContent {
  width: 100%;
  height: 100%;
  z-index: 2;
  position: absolute;
  display: flex;
  padding: 1.5rem;
  flex-direction: column;
  background: var(--backgroundMain);
  border: 0.0938rem solid var(--borderMain);
  border-radius: 0.75rem 0.75rem 0 0;
  transition-property: translate;
  transition-duration: 0.55s;
  transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
  translate: 0 100%;
  overflow: hidden;
  overscroll-behavior: contain;
  will-change: translate;
}

.drawer:popover-open .drawerContent {
  translate: 0 0;
}

.drawerDrag {
  position: absolute;
  top: 0;
  width: 100%;
  height: 3.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background: transparent;
  border: 0;
  font-size: 0.875rem;
  outline-color: transparent;
  color: inherit;
}

.drawerDrag span:first-of-type {
  width: 8ch;
  height: 0.375rem;
  border-radius: 0.625rem;
  background: color-mix(in hsl, canvasText, canvas 75%);
}

.drawerDrag p {
  margin: 0;
  font-weight: 600;
  color: #c9d1d9;
}

#reactionCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999999;
  display: none;
}

.tabsContainer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  z-index: 1;
  padding: 0.25rem;
  transition-property: translate, opacity;
  transition-duration: 0.1s;
  transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
  translate: 0 100%;
  opacity: 0;
}

.drawer:popover-open .tabsContainer {
  translate: 0 0;
  opacity: 1;
  transition-delay: 1s;
  transition-duration: 1.75s;
}

.tabsContainer .tabs {
  display: flex;
  background: transparent;
  border-radius: 0;
  padding: 0;
  gap: 0.5rem;
  width: 100%;
}

.tabsContainer .tab {
  flex: 1;
  padding: 1.255rem 1.5rem;
  background: #373e47;
  border: 0.0625rem solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #8b949e;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.tabsContainer .tab:hover {
  background: #444c56;
  color: #c9d1d9;
  border-color: rgba(255, 255, 255, 0.2);
}

.tabsContainer .tab.active {
  color: #89bbfe;
  border-color: #89bbfe;
}

#musicPlayer {
  width: 100%;
  position: relative;
  margin: 0;
  box-shadow: none;
  background: transparent;
  border: none;
  overflow: hidden;
  overscroll-behavior: none;
}

#musicPlayer .header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.15rem;
  background: transparent;
}

#musicPlayer .close {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 0.5rem;
  color: #8b949e;
  cursor: pointer;
  transition: all 0.2s ease;
}

#musicPlayer .close:hover {
  background: #da3633;
  color: #ffffff;
  transform: scale(1.05);
}

#musicPlayer .close .icon {
  width: 0.75rem;
  height: 0.75rem;
}

#musicPlayer .body {
  height: 100%;
  padding: 0 2rem 2rem;
  overflow: hidden;
  position: relative;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

#musicPlayer .body .content {
  display: none;
  height: 100%;
  width: 100%;
  opacity: 0;
  transform: translateY(0.625rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

#musicPlayer .body .content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#musicPlayer .body .cover {
  width: 100%;
  max-width: 17.5rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.3);
  margin: 0 auto 1.5rem;
  display: block;
  background: #444c56;
  border: 0.0625rem solid #545d68;
}

#musicPlayer .body .info {
  text-align: center;
  margin-bottom: 2rem;
}

#musicPlayer .body .info .title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f0f6fc;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

#musicPlayer .body .info .artist {
  font-size: 1rem;
  color: #1f6feb;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

#musicPlayer .body .info .album {
  font-size: 0.875rem;
  color: #8b949e;
  font-weight: 500;
}



#musicPlayer .body .controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}



*******
#musicPlayer .body .controls .btn {
  width: 2.375rem;
  height: 2.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #444c56;
  border: 0.0625rem solid #30363d;
  border-radius: 50%;
  color: #c9d1d9;
  cursor: pointer;
  transition: all 0.2s ease;
}

#musicPlayer .body .controls .btn:hover {
  background: #545d68;
  transform: scale(1.05);
  color: #f0f6fc;
  border-color: #656d76;
}

#musicPlayer .body .controls .btn.primary {
  width: 2.8125rem;
  height: 2.8125rem;
  background: var(--background-500);
  color: var(--text-on-accent);
  border-color: transparent;
  box-shadow: 0 0.25rem 0.75rem var(--text-300);
}

#musicPlayer .body .controls .btn.primary:hover {
  transform: scale(1.08);
  box-shadow: 0 0.375rem 1rem rgba(31, 111, 235, 0.4);
}

#musicPlayer .body .controls .btn .icon {
  width: 1.875rem;
  height: 1.875rem;
  fill: currentColor;
}

#musicPlayer .body .controls .btn.primary .icon {
  width: 2.125rem;
  height: 2.125rem;
}

#musicPlayer .body .controls .btn .icon.pause {
  display: none;
}

#musicPlayer .body .controls .btn.playing .icon.play {
  display: none;
}

#musicPlayer .body .controls .btn.playing .icon.pause {
  display: block;
}

#musicPlayer .body .actions .action {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  color: var(--text-300);
  cursor: pointer;
  transition: all 0.2s ease;
}

#musicPlayer .body .actions .action:hover {
  background: var(--background-500);
  color: var(--text-100);
  transform: scale(1.05);
}

#musicPlayer .body .actions .action.active {
  background: var(--accentSecondary);
  color: var(--text-on-accent);
}

#musicPlayer .body .actions .action .icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}
******




#musicPlayer .body .list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: calc(100% - 3.75rem);
  overflow-y: auto;
}

#musicPlayer .body .list::-webkit-scrollbar {
  width: 0.375rem;
}

#musicPlayer .body .list::-webkit-scrollbar-track {
  background: #444c56;
  border-radius: 0.1875rem;
}

#musicPlayer .body .list::-webkit-scrollbar-thumb {
  background: #545d68;
  border-radius: 0.1875rem;
}

#musicPlayer .body .list::-webkit-scrollbar-thumb:hover {
  background: #636e7b;
}

#musicPlayer .body .empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  height: 100%;
}

#musicPlayer .body .emptyIcon {
  width: 3rem;
  height: 3rem;
  color: #6e7681;
  margin-bottom: 1rem;
  opacity: 0.7;
}

#musicPlayer .body .emptyIcon .icon {
  width: 100%;
  height: 100%;
}

#musicPlayer .body .emptyText {
  color: #8b949e;
  font-size: 0.95rem;
  font-weight: 500;
}

.songItem {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  touch-action: manipulation;
}

.songItem:hover {
  background: rgba(255, 255, 255, 0.05);
}

.songCover {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  object-fit: cover;
  background: #444c56;
  flex-shrink: 0;
}

.songInfo {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.songTitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f0f6fc;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.artistName {
  font-size: 0.75rem;
  color: #8b949e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.songActions {
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.songItem:hover .songActions {
  opacity: 1;
}

.playButton,
.removeButton,
.queueButton {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0.25rem;
  color: #8b949e;
  cursor: pointer;
  transition: all 0.2s ease;
}

.playButton:hover,
.queueButton:hover {
  background: rgba(31, 111, 235, 0.2);
  color: #1f6feb;
}

.removeButton:hover {
  background: rgba(218, 54, 51, 0.2);
  color: #da3633;
}

.playButton .icon,
.removeButton .icon,
.queueButton .icon {
  width: 0.875rem;
  height: 0.875rem;
}

main {
  transition-property: --opened, --closed;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
  transform-origin: 50% 0%;
  --diff: calc(var(--opened) * var(--closed));
  --scale-down: 0.04;
  --rad: 0.75rem;
  --ty: calc(env(safe-area-inset-top) + var(--rad));
  scale: calc(1 - ((var(--opened) * var(--scale-down)) - (var(--diff) * var(--scale-down))));
  border-radius: calc((var(--opened) * var(--rad)) - (var(--diff) * var(--rad)));
  translate: 0 calc((var(--opened) * var(--ty)) - (var(--diff) * var(--ty)));
}

:root:has(.drawer:popover-open) main {
  transition-property: --opened;
  overflow: hidden;
  --opened: 1;
}

:root:has(.drawer:popover-open) {
  --closed: 0;
}

:root:has(.drawer:popover-open),
:root:has(.drawer:popover-open) main,
.drawer:popover-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.drawer:not([data-snapped="true"]) {
  transition-property: display, overlay;
  transition-behavior: allow-discrete;
  transition-duration: 0.5s;
}

[data-dragging="true"] .drawerScroller {
  scroll-snap-type: none;
}

#musicPlayer .actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

#musicPlayer .action {
  padding: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: currentColor;
  cursor: pointer;
  transition: all 0.2s ease;
}

#musicPlayer .action:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

#musicPlayer .favorite.active {
  color: #ef4444;
  transition: color 0.65s ease-in-out;
}

#musicPlayer .favorite {
  color: var(--text-300);
  opacity: 0.35;
  transition: all 0.25s ease-in-out;
}

#musicPlayer .favorite:hover {
  color: var(--text-100);
  opacity: 0.95;
  transform: scale(1.005);
  transition: all 0.45s ease-in-out;
}




.action-btn {
  padding: 0.5rem;
  border-radius: 0.25rem;
  background: transparent;
  border: none;
  color: currentColor;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.favorite-btn:hover {
  color: #ef4444;
}

.favorite-btn.active,
.favorite-btn[aria-pressed="true"] {
  color: #ef4444;
}

.favorite-btn.active svg {
  fill: currentColor;
  stroke: none;
}

.play-next-btn:hover {
  color: #3b82f6;
}

.add-queue-btn:hover {
  color: #10b981;
}

.add-playlist-btn:hover {
  color: #8b5cf6;
}

.share-btn:hover {
  color: #f59e0b;
}

.more-btn:hover {
  color: #6b7280;
}

.playlist-selector,
.more-options,
.song-info {
  max-width: 25rem;
  width: 100%;
}

.playlist-option:hover,
.option-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.playlist-icon {
  flex-shrink: 0;
}

.queue-item,
.recent-item {
  display: flex;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.queue-item:hover,
.recent-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.queue-item-content,
.recent-item-content {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.75rem;
}

.queue-item-cover,
.recent-item-cover {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.25rem;
  object-fit: cover;
  flex-shrink: 0;
}

.queue-item-info,
.recent-item-info {
  flex: 1;
  min-width: 0;
}

.queue-item-title,
.recent-item-title {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.125rem;
}

.queue-item-artist,
.recent-item-artist {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-item-actions,
.recent-item-actions {
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.queue-item:hover .queue-item-actions,
.recent-item:hover .recent-item-actions {
  opacity: 1;
}

.queue-item-play,
.queue-item-remove,
.recent-item-play,
.recent-item-queue {
  padding: 0.5rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: currentColor;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.queue-item-play:hover,
.recent-item-play:hover {
  background: rgba(59, 130, 246, 0.3);
}

.queue-item-remove:hover {
  background: rgba(239, 68, 68, 0.3);
}

.recent-item-queue:hover {
  background: rgba(34, 197, 94, 0.3);
}




******
.song-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
    background: var(--fade-base);
  border-radius: 0.5rem;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.song-item:hover {
  background-color: (var--background-400);
}



.song-item .track-number {
  transition: opacity 0.2s;
}

.song-item .play-button {
  transition: all 0.2s transform;
}

.song-item .play-button:hover {
  transform: scale(1.1);
  color: #3b82f6;
}

.song-item .song-actions {
  transition: opacity 0.2s;
}

.action-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  color: #9ca3af;
}

.action-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.action-btn.favorited {
  color: #ef4444;
}
*******



.more-actions-popover {
  animation: fadeIn 0.2s ease, scaleIn 0.2s ease;
  box-shadow: 0 1.25rem 1.5625rem -0.3125rem rgba(0, 0, 0, 0.3), 0 0.625rem 0.625rem -0.3125rem rgba(0, 0, 0, 0.1);
}

.popover-action-btn {
  transition: all 0.2s;
  text-align: center;
  min-height: 3.75rem;
}

.popover-action-btn:hover {
  transform: scale(1.05);
}

.song-item.loading {
  opacity: 0.5;
  pointer-events: none;
}

.song-item.loading .play-button {
  animation: spin 1s linear infinite;
}
****/







@media (min-width: 48rem) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .artist-card:hover {
    transform: translateY(-0.75rem) scale(1.03);
  }
}
@media (max-width: 48rem) {
  .view {
    padding: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .artists-grid {
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    gap: 1rem;
  }

  .artist-card {
    padding: 1.5rem;
  }

  .artist-avatar {
    width: 6.25rem;
    height: 6.25rem;
  }

  .artist-info {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .artist-avatar-large .artist-avatar {
    width: 8.75rem;
    height: 8.75rem;
  }

  .artist-details .artist-name {
    font-size: 2rem;
  }

  .artist-actions {
    justify-content: center;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .albumWrapper {
    padding: 1rem;
  }

  #navbar.floating {
    top: 1rem;
    width: 95vw;
  }

  .control-button.play-pause,
  .floating-add-button {
    width: 3.5rem;
    height: 3.5rem;
  }

  .floating-add-button {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .similar-artists-container {
    padding: 2rem 0;
  }

  .carousel-arrow {
    width: 1.875rem;
    height: 1.875rem;
  }

  .carousel-arrow.left {
    left: 0.25rem;
  }

  .carousel-arrow.right {
    right: 0.25rem;
  }

  .similar-artist-card {
    width: 6.25rem;
  }

  .similar-artist-image {
    width: 4rem;
    height: 4rem;
  }

  .artist-popover {
    min-width: 11.25rem;
    padding: 0.75rem;
  }

  .album-selector-tabs {
    gap: 1rem;
  }

  .album-tab {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }

  .album-cover.image-loading:before,
  .artist-avatar.image-loading:before {
    width: 1.25rem;
    height: 1.25rem;
    margin: -0.625rem 0 0 -0.625rem;
    border-width: 0.125rem;
  }

  .image-error:after {
    font-size: 1.5rem;
  }

  .artist-card:hover .artist-avatar.image-loaded {
    transform: scale(1.05);
  }

  #musicPlayer {
    padding: 1rem;
  }
/**
  .playerControls {
    gap: 0.75rem;
  }

  .playerControls > .button {
    width: 3.25rem;
    height: 3.25rem;
  }

  .playerControls > .button .play-pause {
    width: 5rem;
    height: 5rem;
  }
**/
  .popup-tab-content {
    max-height: 12.5rem;
  }

  .dropdown-menu,
  #musicPlayer {
    width: 95vw;
    padding: 0.25rem 1rem 0 1rem;
  }

  .dropdown-item {
    padding: 0.75rem;
  }

  #navbar .songName {
    font-size: 0.85rem;
  }

  #navbar .artistName {
    font-size: 0.75rem;
  }

  .popup-song-item {
    padding: 0.5rem 0.75rem;
    min-height: 3.25rem;
  }

  .popup-song-cover {
    width: 2.25rem;
    height: 2.25rem;
    margin-right: 0.75rem;
  }

  .popup-song-info {
    margin-right: 0.75rem;
  }

  .popup-song-title {
    font-size: 0.8125rem;
  }

  .popup-song-artist {
    font-size: 0.6875rem;
  }

  .popup-song-duration {
    font-size: 0.6875rem;
    min-width: 1.75rem;
  }
}

@media (min-width: 64rem) {
  html {
    font-size: 0.875rem;
  }

  #musicPlayer {
    max-width: 31.25rem;
  }

  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 64rem) {
  .artists-grid {
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    gap: 1.5rem;
  }

  .artist-info {
    gap: 0.5rem;
  }

  .artist-avatar-large .artist-avatar {
    width: 10rem;
    height: 10rem;
  }

  .artist-details .artist-name {
    font-size: 2.5rem;
  }
}


@media (max-width: 40rem) {
  html {
    font-size: 0.75rem;
  }

  .breadcrumb-navigation {
    padding: 1.5rem;
  }

  .artists-grid.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(9.375rem, 1fr));
    gap: 1rem;
  }

  .genre-tag {
    padding: 0.35rem 0.6rem;
    font-size: 0.7rem;
  }

  #navbar .nowPlaying .songInfo {
    max-width: calc(100% - 3.75rem);
  }

  #navbar .albumArtwork,
  #navbar-logo {
    width: 2rem;
    height: 2rem;
  }

  .drawerSlide {
    width: 100%;
  }

  #musicPlayer {
    height: calc(100vh - 2.5rem);
  }

  .drawerDrag {
    height: 2.5rem;
  }

  .tabsContainer {
    top: -3.125rem;
    padding: 0 0.5rem;
  }

  .tabsContainer .tab {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }
/*
  .song-item {
    padding: 0.5rem 0.75rem;
  }

  .song-item .song-actions {
    opacity: 1;
  }
*/
  .more-actions-popover {
    min-width: 12.5rem;
  }

  .more-actions-popover .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 34.375rem) {
  .bento-card:first-child {
    border-radius: 0.75rem 0.75rem 0.3125rem 0.3125rem;
  }

  .bento-card:nth-child(2),
  .bento-card:nth-child(3),
  .bento-card:nth-child(4) {
    border-radius: 0.3125rem;
  }

  .bento-card:nth-child(5) {
    border-radius: 0.3125rem 0.3125rem 0.75rem 0.75rem;
  }
}

@media (max-width: 30rem) {
  .hero-section {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .artists-grid {
    grid-template-columns: 1fr;
  }

  .artist-details .artist-name {
    font-size: 1.75rem;
  }

  .artist-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .navbar-content {
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
  }

  .navbar-right .nav-controls {
    display: none;
  }

  .navbar-center {
    padding: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }

  .gradient-text {
    animation: none;
    background: var(--accent-primary);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes gradient-flow {
  0%,
  to {
    background-position: 0 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0 100%;
  }
}

@keyframes loading-progress {
  0% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(0.8);
  }
  to {
    transform: scaleX(0) translateX(100%);
  }
}

@keyframes loading-complete {
  0% {
    transform: scaleX(1);
    opacity: 1;
  }
  to {
    transform: scaleX(1);
    opacity: 0;
  }
}

@keyframes content-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0%,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(1turn);
  }
}

@keyframes image-shimmer {
  0% {
    background-position: 100% 50%;
  }
  to {
    background-position: 0 50%;
  }
}

@keyframes image-fade-in {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes loading-pulse {
  0%,
  to {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

@keyframes glitch-sweep {
  0%,
  to {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

@keyframes navbar-float-in {
  0% {
    transform: translateX(-50%) translateY(-1.25rem) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes spinner {
  to {
    transform: rotate(1turn);
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(0.625rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pageEnter {
  0% {
    opacity: 0;
    transform: translateY(0.625rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-1.875rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-1.875rem);
  }
}

@keyframes fadeOutBreadcrumb {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-0.375rem);
  }
}

@keyframes fadeInBreadcrumb {
  0% {
    opacity: 0;
    transform: translateY(0.375rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dropdown-slide-in {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(1.25rem) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes showSongs {
  0% {
    opacity: 0;
    filter: blur(2.5rem);
  }
  60% {
    filter: blur(0rem);
    opacity: 0.6;
  }
  100% {
    filter: blur(0rem);
    opacity: 1;
  }
}

@keyframes hideSongs {
  0% {
    opacity: 1;
    filter: blur(0rem);
  }
  100% {
    opacity: 0;
    filter: blur(2.5rem);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: var(--glow-effect);
  }
  50% {
    box-shadow: 0 0 0.75rem rgba(83, 155, 245, 0.6);
  }
  100% {
    box-shadow: var(--glow-effect);
  }
}

@keyframes popover-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-0.3125rem);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@supports (animation-timeline: scroll()) {
  :root:has(.drawer:popover-open) {
    --closed: 1;
    animation: open both linear reverse;
    animation-timeline: --drawer;
    animation-range: entry;
  }

  @keyframes open {
    0% {
      --closed: 0;
    }
  }
}

@starting-style {
  .drawer:popover-open::backdrop {
    opacity: 0;
  }
}

@starting-style {
  .drawer:popover-open .drawerContent {
    translate: 0 100%;
  }
}

@starting-style {
  .drawer:popover-open .tabsContainer {
    translate: 0 200%;
    opacity: 0;
  }
}

@property --opened {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

@property --closed {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

.album-card:nth-child(1) {
  animation-delay: 0.1s;
}
.album-card:nth-child(2) {
  animation-delay: 0.2s;
}
.album-card:nth-child(3) {
  animation-delay: 0.3s;
}
.album-card:nth-child(4) {
  animation-delay: 0.4s;
}
.album-card:nth-child(5) {
  animation-delay: 0.5s;
}
.album-card:nth-child(6) {
  animation-delay: 0.6s;
}

.recent-track:nth-child(1) {
  animation-delay: 0.1s;
}
.recent-track:nth-child(2) {
  animation-delay: 0.2s;
}
.recent-track:nth-child(3) {
  animation-delay: 0.3s;
}
.recent-track:nth-child(4) {
  animation-delay: 0.4s;
}
.recent-track:nth-child(5) {
  animation-delay: 0.5s;
}

.artist-card:nth-child(1) {
  animation-delay: 0.1s;
}
.artist-card:nth-child(2) {
  animation-delay: 0.2s;
}
.artist-card:nth-child(3) {
  animation-delay: 0.3s;
}
.artist-card:nth-child(4) {
  animation-delay: 0.4s;
}
.artist-card:nth-child(5) {
  animation-delay: 0.5s;
}
.artist-card:nth-child(6) {
  animation-delay: 0.6s;
}

.playlist-card:nth-child(1) {
  animation-delay: 0.1s;
}
.playlist-card:nth-child(2) {
  animation-delay: 0.2s;
}
.playlist-card:nth-child(3) {
  animation-delay: 0.3s;
}

@media (hover: none) and (pointer: coarse) {
  .drawerSlide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #373e47;
    translate: 0 100%;
  }
}







#dynamic-content {
  padding: 0 2rem 5cm 2rem !important; /* Added bottom padding */
  width: 100dvw;
  height: auto;
  box-sizing: border-box; /* Ensures padding is included in width calculation */
}

.album-fade,
.artistTop {
  width: 100% !important;
  margin: 0;
  padding: 0 1rem !important;
}

.album-fade {
  border-radius: 0.3125rem 0.3125rem 0.625rem 0.625rem;
}

.album-selector {
padding: 0;
padding: auto;
display: flex !important;
gap: 1.75rem;
overflow-x: auto;
flex-wrap: nowrap;
}

.album-selector .album-tab {
flex-shrink: 0;
}





/* Container: grid ensures perfect vertical alignment */
.song-item {
  /* Layout */
  display: grid;
  grid-template-columns: 3.25rem 1fr auto auto auto; /* #/Play | Title | Duration | Heart | More */
  align-items: center;
  gap: 0.75rem;
  padding: 0.3125rem;

  /* Visuals */
  background: var(--fade-base);
  color: var(--textMain);
  border: none;
  border-radius: 0.75rem;

  /* Smoothest transitions without jank */
  transition:
    background-color 260ms cubic-bezier(.22,1,.36,1),
    color 220ms cubic-bezier(.22,1,.36,1),
    border-radius 220ms cubic-bezier(.22,1,.36,1),
    box-shadow 260ms cubic-bezier(.22,1,.36,1);
}

.song-item:hover {
  background: var(--background-450);
  color: var(--textMainHover);
  transition: color 0.45s ease-in-out;
}

/* Tight, centered cell boxes */
.song-item .cell {
  min-height: 1.875rem;           /* ensures consistent vertical rhythm */
  display: flex;
  align-items: center;
}

/* 1) Track number ↔ Play icon swap */
.index-play {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  justify-content: center;
}

/* Track number visible by default */
.track-number {
  font-weight: 600;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  line-height: 1; /* centers numeric glyph visually */
}

/* Play button hidden by default, floats above number */
.play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.92);
  border: 0;
  background: transparent;
  color: var(--accent-primary-hover);
  border-radius: 0.5rem;
  transition:
    opacity 450ms ease,
    transform 450ms ease,
    background-color 450ms ease;
}
.play-button svg { width: 1.125rem; height: 1.125rem; }

/* Swap on hover of the entire row */
.song-item:hover .track-number {
  opacity: 0;
  transform: translateY(0.125rem) scale(.98);
}
.song-item:hover .play-button {
  opacity: 1;
  transform: scale(1);
}

/* 2) Title: truncate gracefully, keeps vertical centering */
.title {
  min-width: 0; /* required for text-overflow in grid/flex */
}
.song-title {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

/* 3) Duration: mono-like alignment */
.duration span {
  font-variant-numeric: tabular-nums;
  opacity: .9;
}

/* 4/5) Icon buttons (Heart, More) */
.action-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--textMain);
  border-radius: 0.5rem;
  transition:
    background-color 200ms ease,
    opacity 180ms ease,
    transform 160ms ease,
    color 220ms ease;
}
.action-btn svg { width: 1.25rem; height: 1.25rem; }

/* Subtle hover focus treatment for icon buttons */
.action-btn:hover,
.action-btn:focus-visible {
  /* conservative mix to keep themes intact; replace if you have a helper */
  background-color: color-mix(in oklab, var(--background-450) 36%, transparent);
  outline: none;
  color: var(--textMainHover);
  transition: color 0.45s ease-in-out;
}

/* Heart state */
.favorite-btn.favorited svg {
  /* fill already set inline to keep your dynamic color; this preserves stroke color */
  filter: drop-shadow(0 0 0 transparent);
  fill: var(--accent-pink);
}

/* Keyboard focus for the whole row */
.song-item:focus-visible {
  box-shadow: 0 0 0 0.125rem color-mix(in oklab, var(--textMain) 22%, transparent);
}

/* Pointer affordance for the whole row */
.song-item { cursor: pointer; }



/****


.drawer content {
padding: 0;

}
#musicPlayer {
width: 100%;
overflow: hidden;
}


******/





/* homePage.css (injected as CSS_HOME_PAGE constant below if you prefer inline) */

/* Page header (from Tailwind: text-center, py, gradients) */

/* Playlists */
.playlists-list { display: flex; flex-direction: column; gap: .75rem; }
.playlist-card {
  position: relative;
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem; border-radius: .5rem;
  background: rgba(255,255,255,0.06);
  cursor: pointer; transition: background .2s ease, transform .18s ease;
}
.playlist-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-0.125rem); }
.playlist-icon {
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: .5rem;
  background: linear-gradient(45deg, #6366f1, #8b5cf6);
}
.playlist-info { flex: 1; min-width: 0; }
.playlist-name {
  font-weight: 600; margin-bottom: .125rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.playlist-tracks { font-size: .875rem; color: rgba(255,255,255,0.75); }

.create-playlist-btn {
  margin-top: .5rem;
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem; border-radius: .5rem;
  border: 0.0625rem dashed rgba(59,130,246,.45);
  color: rgb(59,130,246);
  background: rgba(59,130,246,.1);
  cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.create-playlist-btn:hover {
  transform: translateY(-0.0625rem);
  background: rgba(59,130,246,.18);
  border-color: rgba(59,130,246,.6);
}

/* Overlays & shared */
.play-button-overlay {
  position: absolute; inset: auto .5rem .5rem auto;
  width: 2rem; height: 2rem; border-radius: 62.4375rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(59,130,246,.95);
  opacity: 0; transition: opacity .2s ease;
}
.playlist-card:hover .play-button-overlay,
.artist-card:hover .play-button-overlay,
.recent-track:hover .play-button-overlay { opacity: 1; }

.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: 2rem 1rem;
  color: rgba(255,255,255,.6); font-size: .95rem; text-align: center;
}

/* Motion */
.animate-fade-in { animation: fadeIn .28s ease-out both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(0.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Quiet link button reset */
.link-quiet {
  appearance: none; background: none; border: 0; padding: 0;
  font: inherit; color: inherit; cursor: pointer;
}

/* Your .song-item styles are already in your sheet; ensure they load too */

















































































/**
 * 
 *  C R E A T E D  B Y
 * 
 *  William Hanson 
 * 
 *  Chevrolay@Outlook.com
 * 
 *  m.me/Chevrolay
 * 
 */