#nowPlayingBg {
  background-size: cover;
  background-position: center;
	opacity:0;
}

/*
 * Line-only viz: gentle scale (spacing “breathes”). Hidden until .viz-playing. Opacity fades
 * via transition; motion only transform (no opacity in keyframes).
 */
#hearitViz.visualizer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#hearIt > #addBar,
#hearIt > #aPlayer {
  position: relative;
  z-index: 1;
}

/*
 * With .opacity-100 (Bootstrap): bar stays full strength while adding tracks.
 * revealPlayer() removes the class → opacity animates down to fade into the layout.
 */
#addBar.navbar {
  opacity: 0.38;
  transition: opacity 2s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  background: transparent !important;
  --bs-navbar-bg: transparent !important;
}

/* Dimmed after reveal: hover / keyboard focus brings the bar back to full strength */
#addBar.navbar:hover,
#addBar.navbar:focus-within {
  opacity: 1;
  transition-duration: 0.35s;
  transition-timing-function: ease;
}

#addBar .navbar-collapse {
  background: transparent !important;
}

/*
 * Glass pill: idle = subtle tint, blends in; hover / focus-within = frosted depth + SVG #glass-filter.
 */
.glass {
  position: relative;
  z-index: 0;
  border-radius: 9999px;
  transition:
    backdrop-filter 0.9s cubic-bezier(0.785, 0.135, 0.15, 0.86),
    -webkit-backdrop-filter 0.9s cubic-bezier(0.785, 0.135, 0.15, 0.86),
    background 0.9s cubic-bezier(0.785, 0.135, 0.15, 0.86),
    border-color 0.9s cubic-bezier(0.785, 0.135, 0.15, 0.86),
    box-shadow 0.9s cubic-bezier(0.785, 0.135, 0.15, 0.86),
    transform 0.25s ease;
}

/* Idle: almost nothing — fades into the page until hover / focus */
#addBar .glass {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.05);
  box-shadow: none;
  -webkit-backdrop-filter: blur(0) saturate(1);
  backdrop-filter: blur(0) saturate(1);
}

#addBar:hover .glass,
#addBar:focus-within .glass {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.14) 22%,
      rgba(255, 255, 255, 0.26) 50%,
      rgba(0, 0, 0, 0.14) 78%,
      rgba(0, 0, 0, 0.42) 100%
    ),
    rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 0 rgba(0, 0, 0, 0.18) inset,
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 14px 40px rgba(0, 0, 0, 0.28),
    0 6px 16px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(26px) saturate(1.45);
  backdrop-filter: blur(26px) saturate(1.45);
}

/* SVG stack: if url() is unsupported/invalid, prior blur+saturate still applies */
#addBar:hover .glass,
#addBar:focus-within .glass {
  -webkit-backdrop-filter: blur(26px) url("#glass-filter") saturate(1.45);
  backdrop-filter: blur(26px) url("#glass-filter") saturate(1.45);
}

/* Bootstrap defaults: outline-light → dark text + light fill on hover (looks like a dark smear on glass). */
#addBar .btn-outline-light:hover,
#addBar .btn-outline-light:focus,
#addBar .btn-outline-light:active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

#addBar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

#addBar .navbar-toggler:hover,
#addBar .navbar-toggler:focus {
  background-color: transparent !important;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Engaging glass: texture drift + border shimmer (empty state only) */
.glass-engage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.glass-engage > * {
  position: relative;
  z-index: 1;
}

#hearIt:not(.reveal) #addBar .glass-engage,
.empty-state:not(.is-hidden) .empty-state-card.glass-engage {
  animation: glassSurfaceBreath 22s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.empty-state:not(.is-hidden) .empty-state-card.glass-engage {
  animation-delay: -4s;
}

#hearIt:not(.reveal) #addBar .glass-engage::before,
.empty-state:not(.is-hidden) .empty-state-card.glass-engage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 22%,
    rgba(255, 255, 255, 0.06) 46%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(255, 255, 255, 0.06) 54%,
    transparent 18%,
    transparent 50%
  );
  background-size: 320% 100%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: glassBorderShimmer 20s linear infinite;
  pointer-events: none;
  z-index: 3;
}

.empty-state:not(.is-hidden) .empty-state-card.glass-engage::before {
  animation-delay: -6s;
}

#hearIt:not(.reveal) #addBar .glass-engage::after,
.empty-state:not(.is-hidden) .empty-state-card.glass-engage::after {
  content: "";
  position: absolute;
  inset: -15%;
  border-radius: inherit;
  background:#666;
  /* background: url("/glass-texture.svg") center / cover no-repeat; */
  opacity: 0.18;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
  animation: glassTextureDrift 26s ease-in-out infinite;
}

.empty-state:not(.is-hidden) .empty-state-card.glass-engage::after {
  animation-delay: -8s;
}

@keyframes glassSurfaceBreath {
  0%, 100% {
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.07) 50%,
        rgba(255, 255, 255, 0.04) 100%
      ),
      rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(8px) saturate(1.06);
    backdrop-filter: blur(8px) saturate(1.06);
  }
  50% {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.14) 0%,
        rgba(255, 255, 255, 0.16) 50%,
        rgba(0, 0, 0, 0.14) 100%
      ),
      rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.05),
      0 0 28px rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(14px) url("#glass-filter") saturate(1.22);
    backdrop-filter: blur(14px) url("#glass-filter") saturate(1.22);
  }
}

@keyframes glassBorderShimmer {
  0% {
    background-position: 200% 50%;
    opacity: 0.3;
  }
  50% {
    background-position: -100% 50%;
    opacity: 0.65;
  }
  100% {
    background-position: 200% 50%;
    opacity: 0.3;
  }
}

@keyframes glassTextureDrift {
  0%, 100% {
    transform: translate3d(-0.8%, 0, 0) scale(1.03);
    opacity: 0.14;
  }
  25% {
    transform: translate3d(0.4%, -0.35%, 0) scale(1.035);
    opacity: 0.19;
  }
  50% {
    transform: translate3d(0.9%, 0, 0) scale(1.04);
    opacity: 0.21;
  }
  75% {
    transform: translate3d(0.3%, 0.35%, 0) scale(1.035);
    opacity: 0.17;
  }
}

#hearIt:not(.reveal) #addBar:hover .glass-engage,
#hearIt:not(.reveal) #addBar:focus-within .glass-engage {
  animation: none;
}

#hearIt:not(.reveal) #addBar:hover .glass-engage::before,
#hearIt:not(.reveal) #addBar:focus-within .glass-engage::before,
#hearIt:not(.reveal) #addBar:hover .glass-engage::after,
#hearIt:not(.reveal) #addBar:focus-within .glass-engage::after {
  animation-play-state: paused;
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  #hearIt:not(.reveal) #addBar .glass-engage,
  .empty-state:not(.is-hidden) .empty-state-card.glass-engage,
  #hearIt:not(.reveal) #addBar .glass-engage::before,
  .empty-state:not(.is-hidden) .empty-state-card.glass-engage::before,
  #hearIt:not(.reveal) #addBar .glass-engage::after,
  .empty-state:not(.is-hidden) .empty-state-card.glass-engage::after {
    animation: none !important;
  }
}

#hearitViz.visualizer::after {
  content: "";
  position: absolute;
  inset: -5%;
  pointer-events: none;
  background: repeating-linear-gradient(
    105deg,
    transparent 0,
    transparent 14px,
    rgba(255, 255, 255, 0.08) 14px,
    rgba(255, 255, 255, 0.08) 17px
  );
  background-size: 44px 115%;
  mix-blend-mode: overlay;
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(0.25deg) scale(1);
  transform-origin: 50% 45%;
  transition: opacity 0.55s cubic-bezier(0.33, 1, 0.68, 1);
  mask-image: linear-gradient(
    118deg,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 18%,
    #000 50%,
    rgba(0, 0, 0, 0.45) 82%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    118deg,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 18%,
    #000 50%,
    rgba(0, 0, 0, 0.45) 82%,
    transparent 100%
  );
}

#hearitViz.visualizer.viz-playing::after {
  opacity: 0.52;
  animation: vizLines 24s cubic-bezier(0.37, 0.01, 0.22, 1) infinite;
  will-change: transform;
}

@keyframes vizLines {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0.2deg) scale(1);
  }
  18% {
    transform: translate3d(18px, -10px, 0) rotate(-0.32deg) scale(1.045);
  }
  40% {
    transform: translate3d(-14px, 16px, 0) rotate(0.38deg) scale(0.972);
  }
  61% {
    transform: translate3d(22px, 8px, 0) rotate(-0.18deg) scale(1.028);
  }
  82% {
    transform: translate3d(-8px, -12px, 0) rotate(0.28deg) scale(1.012);
  }
}

@media (prefers-reduced-motion: reduce) {
  #hearitViz.visualizer::after {
    transition: opacity 0.4s ease;
  }
  #hearitViz.visualizer.viz-playing::after {
    animation: none;
    transform: none;
    opacity: 0.42;
  }
}

#nowPlayingBg.reveal{
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: .1s;
  transition-behavior: allow-discrete;
	opacity: 100%;
}

#hearIt{
	--bs-bg-opacity: 100%;
}

#hearIt.reveal{
	transition-duration: 2s;
  transition-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
	 --bs-bg-opacity: 75%;
}

.empty-state {
  position: absolute;
  top: calc(50% + 3.25rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 22rem);
  z-index: 1;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}

.empty-state.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-0.5rem);
}

.empty-state-card {
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

.empty-state-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.empty-state-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 3.5rem;
  opacity: 0.32;
  transform: scale(0.9);
}

.empty-state-flow-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.empty-state-flow-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1;
}

.empty-state-flow-arrow {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.22);
  margin-bottom: 0.85rem;
  opacity: 0.25;
}

.empty-state-flow-step:nth-child(1) {
  animation: emptyStepActive 7.5s ease-in-out infinite;
}

.empty-state-flow-step:nth-child(3) {
  animation: emptyStepActive 7.5s ease-in-out infinite 2.5s;
}

.empty-state-flow-step:nth-child(5) {
  animation: emptyStepActive 7.5s ease-in-out infinite 5s;
}

.empty-state-flow-arrow:nth-child(2) {
  animation: emptyArrowFlow 7.5s ease-in-out infinite 1.25s;
}

.empty-state-flow-arrow:nth-child(4) {
  animation: emptyArrowFlow 7.5s ease-in-out infinite 3.75s;
}

.empty-state-flow-step:nth-child(1) .fa-link {
  animation: emptyLinkTilt 7.5s ease-in-out infinite;
}

.empty-state-flow-step:nth-child(3) .fa-ear-listen {
  animation: emptyEarPulse 7.5s ease-in-out infinite 2.5s;
}

.empty-state-flow-step:nth-child(5) .fa-share-nodes {
  animation: emptySharePop 7.5s ease-in-out infinite 5s;
}

@keyframes emptyStepActive {
  0%, 100%, 26%, 96% {
    opacity: 0.32;
    transform: scale(0.9);
  }
  6%, 20% {
    opacity: 1;
    transform: scale(1);
  }
}

.empty-state-flow-step:nth-child(1) .empty-state-flow-icon,
.empty-state-flow-step:nth-child(3) .empty-state-flow-icon,
.empty-state-flow-step:nth-child(5) .empty-state-flow-icon {
  animation: emptyIconRing 7.5s ease-in-out infinite;
}

.empty-state-flow-step:nth-child(3) .empty-state-flow-icon {
  animation-delay: 2.5s;
}

.empty-state-flow-step:nth-child(5) .empty-state-flow-icon {
  animation-delay: 5s;
}

@keyframes emptyIconRing {
  0%, 100%, 26%, 96% {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }
  6%, 20% {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
  }
}

@keyframes emptyArrowFlow {
  0%, 100%, 40%, 90% {
    opacity: 0.2;
    transform: translateX(0);
  }
  50% {
    opacity: 0.75;
    transform: translateX(3px);
  }
}

@keyframes emptyLinkTilt {
  0%, 100%, 26%, 96% { transform: rotate(0deg); }
  8% { transform: rotate(-10deg); }
  14% { transform: rotate(10deg); }
  20% { transform: rotate(0deg); }
}

@keyframes emptyEarPulse {
  0%, 100%, 26%, 96% { transform: scale(1); }
  10%, 18% { transform: scale(1.15); }
}

@keyframes emptySharePop {
  0%, 100%, 26%, 96% { transform: scale(1) rotate(0deg); }
  12% { transform: scale(1.12) rotate(-8deg); }
  18% { transform: scale(1.12) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .empty-state-flow-step,
  .empty-state-flow-arrow,
  .empty-state-flow-step .empty-state-flow-icon,
  .empty-state-flow-step i {
    animation: none !important;
  }

  .empty-state-flow-step {
    opacity: 0.85;
    transform: none;
  }

  .empty-state-flow-arrow {
    opacity: 0.5;
  }
}

.empty-state-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.35;
}

.empty-state-hint {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  line-height: 1.4;
}

.empty-state-tip {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.empty-state-tip kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.75rem;
}

#hearIt:not(.reveal) #addBar:focus-within ~ .empty-state:not(.is-hidden) .empty-state-card.glass-engage,
#hearIt:not(.reveal) #addBar:hover ~ .empty-state:not(.is-hidden) .empty-state-card.glass-engage {
  animation: none;
  /* background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    rgba(255, 255, 255, 0.12); */
  border-color: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(16px) url("#glass-filter") saturate(1.3);
  backdrop-filter: blur(16px) url("#glass-filter") saturate(1.3);
}

#hearIt:not(.reveal) #addBar:focus-within ~ .empty-state:not(.is-hidden) .empty-state-card.glass-engage::before,
#hearIt:not(.reveal) #addBar:hover ~ .empty-state:not(.is-hidden) .empty-state-card.glass-engage::before,
#hearIt:not(.reveal) #addBar:focus-within ~ .empty-state:not(.is-hidden) .empty-state-card.glass-engage::after,
#hearIt:not(.reveal) #addBar:hover ~ .empty-state:not(.is-hidden) .empty-state-card.glass-engage::after {
  animation-play-state: paused;
}

#hearIt:not(.reveal) #addBar:focus-within ~ .empty-state .empty-state-card,
#hearIt:not(.reveal) #addBar:hover ~ .empty-state .empty-state-card {
  border-color: rgba(255, 255, 255, 0.22);
}

#aPlayer.reveal{
  animation-name: fadeInOpacityDelay;
  animation-duration: 1.5s;
  transition: max-height 1s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  max-height:100%;
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes fadeInOpacityDelay {
  0% {
		opacity: 0;
	}
  50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.bg-none{
  background:none !important;
  background-color:none !important;
}

.h-0{
  height:0;
  max-height: 0 !important;
  overflow: hidden;
}

#player {
  width: 0;
  height: 0;
  overflow: hidden;
  display:none;
}

.range:not([disabled]){
  cursor: pointer;
}

#progress {
  width: 100%;
}

#progress{
  margin-top: -2rem;
}

#progress:focus,
#progress:focus-visible {
  outline: none;
  box-shadow: none;
}

#timeHolder{
  margin-top: -2.5rem;
}

/* Fixed row height enables virtual scrolling */
#playlist {
  --playlist-row-height: 52px;
}

#playlistVirtualTrack {
  min-height: 0;
}

#playlist .loaded-entry {
  height: var(--playlist-row-height);
  min-height: var(--playlist-row-height);
  max-height: var(--playlist-row-height);
  box-sizing: border-box;
  overflow: hidden;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

#playlist .loaded-entry.is-editing {
  cursor: pointer;
  opacity: 0.5;
}

#playlistViewer.is-editing .loaded-entry.selected {
  opacity: 1;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.9);
}

#playlistViewer.is-editing .loaded-entry.active.selected {
  background: rgba(255, 255, 255, 0.2);
}

#playlist .playlist-leading {
  width: 1.25rem;
}

#playlist .loaded-entry .playlist-row-remove {
  opacity: 0;
  width: 1.75rem;
  line-height: 1;
  transition: opacity 0.15s ease;
}

#playlist .loaded-entry:hover .playlist-row-remove,
#playlist .loaded-entry:focus-within .playlist-row-remove {
  opacity: 0.55;
}

#playlist .loaded-entry .playlist-row-remove:hover {
  opacity: 1 !important;
}

#playlistViewer.is-editing .loaded-entry .playlist-row-remove {
  display: none;
}

.playlist-edit-actions {
  background: rgba(0, 0, 0, 0.35);
}

#playlistScrollArea {
  min-height: 0;
}

.playlist-panel-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.625rem 0.875rem;
  padding-top: max(0.625rem, env(safe-area-inset-top, 0px));
}

.playlist-panel-header-edit {
  display: grid;
  grid-template-columns: minmax(3.5rem, auto) 1fr minmax(3.5rem, auto);
  align-items: center;
  column-gap: 0.5rem;
}

.playlist-header-main {
  min-width: 0;
}

.playlist-header-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95);
}

.playlist-header-meta {
  font-size: 0.75rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.1rem;
}

.playlist-header-actions {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex-shrink: 0;
}

.playlist-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.55rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.playlist-header-action:hover,
.playlist-header-action:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.playlist-header-action-text {
  min-width: auto;
  padding: 0.4rem 0.5rem;
  font-weight: 500;
}

.playlist-header-edit-center {
  text-align: center;
  padding: 0 0.25rem;
}

.playlist-header-edit-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
}

.playlist-header-action-label {
  font-weight: 500;
}

.playlist-select-all-short {
  display: none;
}

.playlist-header-action.is-copied {
  color: #75b798 !important;
}

.playlist-header-close {
  opacity: 0.7;
  padding: 0.5rem;
  margin: 0;
  min-width: 2.75rem;
  min-height: 2.75rem;
  background-position: center;
}

.playlist-header-close:hover,
.playlist-header-close:focus {
  opacity: 1;
}

@media (max-width: 575.98px) {
  #playlistViewer.offcanvas-end {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0;
    border-right: 0;
  }

  .playlist-panel-header {
    min-height: 3.5rem;
    padding-inline: 1rem;
  }

  .playlist-header-title {
    font-size: 1.0625rem;
  }

  .playlist-header-action-label,
  .playlist-select-all-long {
    display: none;
  }

  .playlist-select-all-short {
    display: inline;
  }

  .playlist-header-action {
    min-width: 2.875rem;
    min-height: 2.875rem;
  }

  .playlist-panel-header-edit {
    grid-template-columns: auto 1fr auto;
  }
}

@media (min-width: 576px) {
  #playlistViewer.offcanvas-end {
    width: min(22rem, 42vw);
  }

  .playlist-header-actions {
    gap: 0.25rem;
  }
}

#playlist .loaded-entry .loaded-thumb{
  max-width: 3rem;
  max-height: 3rem;
  flex-shrink: 0;
}

#playlist .loaded-entry .playlist-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
  max-height: calc(var(--playlist-row-height) - 12px);
}

#playlist li:not(.active):not(:hover):not(.drag-over-top):not(.drag-over-bottom):not(.selected) {
  background: transparent;
}

#playlist .loaded-entry:hover:not(.active):not(.selected) {
  background: rgba(255, 255, 255, 0.06);
}

#playlist .btn img {
  transform: scale(1.5);
}

.blur{
  /* Lighter blur = far less GPU cost on scroll/animations */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#playlistToggle{
  visibility: hidden
}

.drag-over-top { border-top: 2px solid white !important; }
.drag-over-bottom { border-bottom: 2px solid white !important; }

body:not(i){
  font-family: "Dongle", sans-serif;
  font-weight: 400;
  font-size: 125%;
}

*:not(i):not(footer *), nav .btn{
  font-family: "NTR", sans-serif;
  font-weight: 200;
  letter-spacing: -.01rem;
}

i{line-height: unset !important}
