[data-slot="tabs-content"][inert] {
  display: none;
}

nav[aria-label="Primary"] a[aria-label] {
  position: relative;
}

nav[aria-label="Primary"] a[aria-label]::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px) scale(0.94);
  transform-origin: bottom center;
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--font-sans, "Geist", "Geist Fallback", ui-sans-serif, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(10, 10, 13, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 5px 9px;
  border-radius: 7px;
  box-shadow:
    0 10px 24px -8px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  z-index: 70;
  transition: opacity 0.15s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

nav[aria-label="Primary"] a[aria-label]:hover::after,
nav[aria-label="Primary"] a[aria-label]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  transition-delay: 0.12s;
}

@media (min-width: 640px) {
  nav[aria-label="Primary"] a[aria-label]::after {
    left: calc(100% + 10px);
    bottom: auto;
    top: 50%;
    transform: translate(-4px, -50%) scale(0.94);
    transform-origin: left center;
  }

  nav[aria-label="Primary"] a[aria-label]:hover::after,
  nav[aria-label="Primary"] a[aria-label]:focus-visible::after {
    transform: translate(0, -50%) scale(1);
  }

  nav[aria-label="Primary"] a[aria-label]::before {
    content: "";
    position: absolute;
    left: calc(100% + 3px);
    top: 50%;
    width: 6px;
    height: 6px;
    background: rgba(10, 10, 13, 0.92);
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    transform: translateY(-50%) rotate(45deg);
    opacity: 0;
    pointer-events: none;
    z-index: 71;
    transition: opacity 0.15s ease;
  }

  nav[aria-label="Primary"] a[aria-label]:hover::before,
  nav[aria-label="Primary"] a[aria-label]:focus-visible::before {
    opacity: 1;
    transition-delay: 0.12s;
  }
}

.nav-active-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    width 260ms cubic-bezier(0.16, 1, 0.3, 1),
    height 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .nav-active-indicator {
    transition: none;
  }
}

[data-slot="tabs-list"] {
  position: relative;
}

[data-slot="motion-highlight"] {
  display: none;
}

.tabs-active-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 0.375rem;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
  pointer-events: none;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    width 260ms cubic-bezier(0.16, 1, 0.3, 1),
    height 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .tabs-active-indicator {
    transition: none;
  }
}

#page-content.route-enter {
  opacity: 0.001;
}

#page-content.route-enter-active {
  opacity: 1;
  transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  #page-content.route-enter,
  #page-content.route-enter-active {
    opacity: 1;
    transition: none;
  }
}

@view-transition {
  navigation: none;
}

html {
  scrollbar-gutter: stable;
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

#page-content {
  max-width: 100%;
}

.now-playing-bg {
  background: rgba(0, 0, 0, 0.2);
}

.ticker-line {
  max-width: 100%;
}

.transport-btn {
  width: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
}

.transport-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.transport-btn-main {
  background: rgba(255, 255, 255, 0.1);
}

.transport-btn-main:hover {
  background: rgba(255, 255, 255, 0.15);
}

.bg-cardColor {
  background-color: rgb(24, 24, 27);
}

.bg-cardColor\/20 {
  background-color: rgba(24, 24, 27, 0.2);
}

.bg-cardColor\/30 {
  background-color: rgba(24, 24, 27, 0.3);
}

.hover\:bg-cardColor\/50:hover {
  background-color: rgba(24, 24, 27, 0.5);
}

.hover\:bg-cardColorForeground\/30:hover {
  background-color: rgba(250, 250, 250, 0.3);
}

.hover\:text-brand:hover {
  color: rgb(255, 255, 255);
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

@keyframes bg-pan-zoom {
  0% {
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
  }
  100% {
    top: -22%;
    left: -19%;
    width: 143%;
    height: 143%;
  }
}

#color-overlay {
  top: -15%;
  left: -15%;
  right: auto;
  bottom: auto;
  width: 130%;
  height: 130%;
  background-size: cover;
  background-position: center;
  filter: blur(70px) saturate(1.5) brightness(0.6);
  transition: opacity 1.4s ease, background-image 1.4s ease;
  opacity: 0;
  animation: bg-pan-zoom 50s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  #color-overlay {
    animation: none;
  }
}

#color-overlay.has-art {
  opacity: 1;
}

#color-scrim {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -9;
  background: rgba(10, 10, 12, 0.55);
}

.now-playing-link {
  transition: color 0.25s ease, opacity 0.2s ease;
  text-decoration: none;
}

.now-playing-link:hover {
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.py-0\.5 {
  padding-top: 0.0625rem;
  padding-bottom: 0.0625rem;
}

.px-1\.5 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
