/* ===== KOSHERMUSIK: native pointer (custom cursor + cursor:none caused freezes / invisible pointer) ===== */
body.koshermusik-page {
  cursor: auto !important;
}

body.koshermusik-page .cursor,
body.koshermusik-page .cursor-dot {
  display: none !important;
}

/* Library hidden via HTML `hidden`; enforce if another sheet resets [hidden] */
.koshermusik-playlist-section[hidden] {
  display: none !important;
}

/* ===== SECURITY: Prevent text selection and copying ===== */
.koshermusik-page,
.koshermusik-page * {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* Allow selection only on specific elements */
.koshermusik-page input,
.koshermusik-page textarea {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* ===== SECURITY: Prevent drag on media elements ===== */
.koshermusik-page audio,
.koshermusik-page img,
.koshermusik-page .artwork-placeholder-large,
.koshermusik-page .album-artwork img {
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  pointer-events: none !important;
}

/* Re-enable pointer events for interactive elements */
.koshermusik-page button,
.koshermusik-page a,
.koshermusik-page input[type="range"],
.koshermusik-page summary,
.koshermusik-page .playlist-item,
.koshermusik-page .playlist-share-btn,
.koshermusik-page .album-card,
.koshermusik-page .album-artwork,
.koshermusik-page .album-info,
.koshermusik-page .album-dropdown,
.koshermusik-page .album-song-item,
.koshermusik-page .album-song-row,
.koshermusik-page .album-song-share,
.koshermusik-page .album-share-btn,
.koshermusik-page .album-play-all-btn {
  pointer-events: auto !important;
}

/* Beat security img rule (0-2-1): cover must receive clicks for reliable hit-testing */
.koshermusik-page .album-card img.album-cover-img {
  pointer-events: auto !important;
}

.koshermusik-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== SECURITY: Hide audio element ===== */
#kmAudio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* ===== KOSHERMUSIK GLOBAL THEME (brand red; nav uses red on KM pages — see overrides below) ===== */
@keyframes kmPrismGlow {
  0%, 100% {
    opacity: 0.1;
    filter: drop-shadow(0 0 22px rgba(255, 45, 45, 0.28));
  }
  50% {
    opacity: 0.26;
    filter: drop-shadow(0 0 52px rgba(255, 45, 45, 0.52));
  }
}

body.koshermusik-page .bg-gradient {
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 45, 45, 0.09) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(255, 70, 70, 0.06) 0%, transparent 42%);
}

/* Top scroll progress bar (main.js scales transform) — brand red, not landing purple */
body.koshermusik-page .scroll-progress {
  background: linear-gradient(
    90deg,
    var(--ricky-red, #ff2d2d),
    rgba(255, 120, 100, 0.95)
  );
  box-shadow: 0 0 12px rgba(255, 45, 45, 0.35);
}

/* KosherMusik nav logo: KOSHER white, MUSIK red (matching the KosherMusik brand) */
body.koshermusik-page .nav-logo--koshermusik .nav-logo-km-kosher {
  color: var(--ricky-red, #ff2d2d);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

body.koshermusik-page .nav-logo--koshermusik .nav-logo-km-musik {
  color: var(--ricky-red, #ff2d2d);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

body.koshermusik-page .nav-logo--koshermusik:hover .nav-logo-km-kosher,
body.koshermusik-page .nav-logo--koshermusik:hover .nav-logo-km-musik {
  text-shadow: 0 0 22px rgba(255, 45, 45, 0.55);
}

/* Nav: KosherMusik logo + player chips visually separated */
body.koshermusik-page .nav-brand-group .nav-player-dock {
  margin-left: 0.75rem;
}

@media (min-width: 769px) {
  body.koshermusik-page .nav-brand-group .nav-player-dock {
    margin-left: 1rem;
  }
}

/* Primary nav: red separators, hovers, underline (match KosherMusik brand — not landing purple) */
body.koshermusik-page .nav-links > li + li::before {
  background: var(--ricky-red, #ff2d2d);
  opacity: 0.72;
  box-shadow: 0 0 10px rgba(255, 45, 45, 0.5);
}

body.koshermusik-page .nav-links > li + li::after {
  background: rgba(255, 95, 95, 0.88);
  opacity: 0.62;
}

body.koshermusik-page .nav-links a::before {
  background: var(--ricky-red, #ff2d2d);
}

body.koshermusik-page .nav-links a:hover {
  color: var(--ricky-red, #ff2d2d);
}

body.koshermusik-page .nav-toggle:hover,
body.koshermusik-page .nav-toggle:focus-visible {
  border-color: var(--ricky-red, #ff2d2d);
}

body.koshermusik-page .nav-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.35);
}

body.koshermusik-page .nav-links .nav-km-dropdown-list a:hover {
  color: var(--ricky-red, #ff2d2d);
  background: rgba(255, 45, 45, 0.1);
}

body.koshermusik-page .theme-toggle:hover {
  border-color: var(--ricky-red, #ff2d2d);
  background: rgba(255, 45, 45, 0.12);
}

[data-theme="light"] body.koshermusik-page .nav-links a:hover {
  color: var(--ricky-red, #ff2d2d);
}

body.koshermusik-page .geo-bg .prism {
  filter: drop-shadow(0 0 28px rgba(255, 45, 45, 0.32));
  animation: prismFloat 25s ease-in-out infinite, kmPrismGlow 8s ease-in-out infinite;
  will-change: transform, opacity;
}

body.koshermusik-page .geo-bg .prism-1 {
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.78) 0%, transparent 60%);
}

body.koshermusik-page .geo-bg .prism-2 {
  background: linear-gradient(225deg, rgba(255, 85, 85, 0.55) 0%, transparent 60%);
}

body.koshermusik-page .geo-bg .prism-3 {
  background: linear-gradient(45deg, rgba(255, 45, 45, 0.58) 0%, transparent 60%);
  filter: drop-shadow(0 0 32px rgba(255, 45, 45, 0.38));
}

body.koshermusik-page .geo-bg .prism-4 {
  background: linear-gradient(315deg, rgba(255, 110, 110, 0.62) 0%, transparent 60%);
}

/* ===== KOSHERMUSIK PAGE HEADER ===== */
.koshermusik-page-header {
  padding: clamp(8rem, 18vw, 12rem) var(--section-x) clamp(2rem, 5vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.koshermusik-page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 40% at 50% 30%,
    color-mix(in srgb, var(--accent) 14%, transparent),
    transparent 60%
  );
  pointer-events: none;
}

.koshermusik-header-content {
  position: relative;
  z-index: 1;
}

.koshermusik-brand-figure {
  margin: 0 auto clamp(1.25rem, 4vw, 2rem);
  max-width: min(920px, 100%);
}

.koshermusik-brand-header-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 437.4 / 310.9;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.45);
}

.koshermusik-header-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.5rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}

.koshermusik-header-title .kosher {
  color: var(--ricky-red, #ff2d2d);
  text-shadow: 0 0 50px rgba(255, 45, 45, 0.45);
}

.koshermusik-header-title .musik {
  color: var(--text, #ffffff);
  text-shadow: 0 0 50px rgba(255, 255, 255, 0.15);
}

.koshermusik-header-title .km-header-sep {
  color: var(--text-muted);
  font-weight: 600;
  opacity: 0.55;
  margin: 0 0.02em;
}

.koshermusik-header-title .km-header-radio {
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: none;
}

[data-theme="light"] .koshermusik-header-title .km-header-sep,
[data-theme="light"] .koshermusik-header-title .km-header-radio {
  color: var(--text-dim);
}

/* Hero Section */
.koshermusik-hero {
  min-height: 70vh;
  min-height: 70dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(6rem, 15vw, 10rem) var(--section-x) clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #0f0f0f 50%, var(--surface) 100%);
}

.koshermusik-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sound-wave-animation {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 8px;
  opacity: 0.15;
}

.wave-bar {
  width: 4px;
  background: linear-gradient(180deg, var(--ricky-red), transparent);
  border-radius: 2px;
  animation: waveBar 1.2s ease-in-out infinite;
  will-change: transform, opacity;
}

.wave-bar:nth-child(1) { height: 40px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 80px; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 120px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 60px; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 100px; animation-delay: 0.4s; }
.wave-bar:nth-child(6) { height: 140px; animation-delay: 0.5s; }
.wave-bar:nth-child(7) { height: 70px; animation-delay: 0.6s; }
.wave-bar:nth-child(8) { height: 110px; animation-delay: 0.7s; }
.wave-bar:nth-child(9) { height: 50px; animation-delay: 0.8s; }
.wave-bar:nth-child(10) { height: 90px; animation-delay: 0.9s; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.5); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

.koshermusik-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.koshermusik-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 45, 45, 0.1);
  border: 1px solid rgba(255, 45, 45, 0.3);
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.koshermusik-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
}

.kosher {
  color: var(--text);
}

.musik {
  color: var(--accent);
  text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 50%, transparent);
}

.koshermusik-tagline {
  font-family: "Syne", sans-serif;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.koshermusik-description {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Radio Section */
.koshermusik-radio-section {
  padding: clamp(2.5rem, 7vw, 4.5rem) var(--section-x) clamp(2rem, 6vw, 4rem);
  background: var(--surface);
  position: relative;
}

.koshermusik-radio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 45, 45, 0.05), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(255, 45, 45, 0.03), transparent 50%);
  pointer-events: none;
}

.koshermusik-radio-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Large Visualizer - Modern Circular Design */
.koshermusik-large-visualizer {
  width: 100%;
  height: clamp(120px, 20vw, 180px);
  background: linear-gradient(180deg, rgba(255, 45, 45, 0.03), rgba(0, 0, 0, 0.2));
  border-radius: 16px 16px 0 0;
  position: relative;
  overflow: hidden;
  border: none;
  border-bottom: 1px solid rgba(255, 45, 45, 0.1);
}

.koshermusik-large-visualizer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 45, 45, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.koshermusik-large-visualizer canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Main Player */
.koshermusik-main-player {
  background:
    linear-gradient(145deg, rgba(255, 45, 45, 0.06) 0%, transparent 42%),
    linear-gradient(135deg, #141414 0%, #080808 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 12px 12px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow:
    0 24px 64px -28px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 45, 45, 0.06) inset;
}

.player-main-row {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

/* Artwork */
.player-artwork-large {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.artwork-album-year {
  font-family: "Syne", sans-serif;
  font-size: clamp(0.62rem, 1.6vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin: 0;
  padding: 0 0.25rem;
  text-align: center;
  max-width: clamp(104px, 24vw, 200px);
  line-height: 1.25;
}

.artwork-spin-ring {
  width: clamp(100px, 18vw, 140px);
  height: clamp(100px, 18vw, 140px);
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ricky-red), #000, var(--ricky-red));
  padding: 3px;
  animation: spinRing 10s linear infinite;
  will-change: transform;
}

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

.artwork-placeholder-large {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinRing 10s linear infinite reverse;
  will-change: transform;
}

.artwork-placeholder-large svg {
  width: clamp(35px, 6vw, 50px);
  height: clamp(35px, 6vw, 50px);
  color: var(--ricky-red);
  opacity: 0.8;
}

/* Player Info */
.player-info-large {
  flex: 1;
  min-width: 0;
}

.track-info-header {
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.track-title-large {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.1rem, 3.5vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
  overflow: hidden;
  min-width: 0;
  line-height: 1.25;
}

.track-title-marquee-inner {
  display: inline-block;
  white-space: nowrap;
  vertical-align: bottom;
  max-width: none;
}

.track-title-large.is-marquee .track-title-marquee-inner {
  animation: km-track-title-marquee var(--km-marquee-duration, 12s) ease-in-out infinite;
  will-change: transform;
}

@keyframes km-track-title-marquee {
  0%, 10% { transform: translateX(0); }
  45%, 55% { transform: translateX(var(--km-marquee-shift, 0px)); }
  90%, 100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .track-title-large.is-marquee .track-title-marquee-inner {
    animation: none !important;
    transform: none !important;
  }
}

.track-artist-large {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--text-muted);
}

/* Progress Bar */
.player-progress-large {
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.progress-bar-large {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  margin-bottom: 0.5rem;
  touch-action: manipulation;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.progress-fill-large {
  height: 100%;
  background: linear-gradient(90deg, #ff1e1e, #ff6b6b 55%, #ff9a7a);
  border-radius: 999px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
  will-change: width;
  box-shadow: 0 0 16px rgba(255, 45, 45, 0.35);
}

.progress-handle {
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--ricky-red);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 45, 45, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.progress-bar-large:hover .progress-handle,
.progress-bar-large:active .progress-handle {
  opacity: 1;
}

.time-display-large {
  display: flex;
  justify-content: space-between;
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

/* Controls */
.player-controls-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.control-btn-large {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.control-btn-large:hover {
  border-color: var(--ricky-red);
  color: var(--ricky-red);
  transform: scale(1.05);
}

.control-btn-large:active {
  transform: scale(0.95);
}

.repeat-btn {
  width: clamp(36px, 8vw, 44px);
  height: clamp(36px, 8vw, 44px);
  border-radius: 8px;
}

.repeat-btn svg {
  width: clamp(16px, 4vw, 20px);
  height: clamp(16px, 4vw, 20px);
}

.repeat-btn.is-active {
  border-color: var(--ricky-red);
  color: var(--ricky-red);
  background: rgba(255, 45, 45, 0.12);
}

.skip-btn {
  width: clamp(44px, 10vw, 52px);
  height: clamp(44px, 10vw, 52px);
  border-radius: 50%;
}

.skip-btn svg {
  width: clamp(20px, 5vw, 24px);
  height: clamp(20px, 5vw, 24px);
}

.play-btn-large {
  width: clamp(56px, 14vw, 72px);
  height: clamp(56px, 14vw, 72px);
  border-radius: 50%;
  background: linear-gradient(160deg, #ff3d3d 0%, #c41e1e 100%);
  border-color: rgba(255, 80, 80, 0.5);
  color: #fff;
  box-shadow: 0 8px 28px -6px rgba(255, 45, 45, 0.55);
}

.play-btn-large:hover {
  background: #ff4444;
  border-color: #ff4444;
  transform: scale(1.05);
  box-shadow: 0 10px 30px -10px rgba(255, 45, 45, 0.6);
}

.play-btn-large:active {
  transform: scale(0.95);
}

.play-btn-large svg {
  width: clamp(24px, 6vw, 32px);
  height: clamp(24px, 6vw, 32px);
}

.control-btn-large.is-active {
  background: rgba(255, 45, 45, 0.15);
  border-color: var(--ricky-red);
  color: var(--ricky-red);
}

/* Volume Section */
.player-volume-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.volume-btn-large {
  width: clamp(36px, 8vw, 44px);
  height: clamp(36px, 8vw, 44px);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.volume-btn-large:hover {
  border-color: var(--ricky-red);
  color: var(--ricky-red);
}

.volume-btn-large svg {
  width: clamp(18px, 4vw, 22px);
  height: clamp(18px, 4vw, 22px);
}

.volume-slider-vertical {
  height: 80px;
  width: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  position: relative;
}

.volume-slider-vertical input[type="range"] {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  width: 80px;
  height: 6px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.volume-slider-vertical input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.volume-slider-vertical input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: var(--ricky-red);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255, 45, 45, 0.5);
}

/* Playlist Section */
.koshermusik-playlist-section {
  padding: clamp(2rem, 6vw, 4rem) var(--section-x);
  background: var(--bg);
  position: relative;
}

.koshermusik-playlist-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 30% at 50% 100%, rgba(255, 45, 45, 0.03), transparent 60%);
  pointer-events: none;
}

.playlist-full-details {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  overflow: visible;
}

.playlist-full-details[open] {
  border-radius: 0 0 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  background: rgba(12, 12, 12, 0.4);
  overflow: hidden;
}

.playlist-full-summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: "Syne", sans-serif;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  border: 1px solid rgba(255, 45, 45, 0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.12) 0%, rgba(18, 18, 18, 0.95) 55%);
  box-shadow: 0 4px 24px -12px rgba(0, 0, 0, 0.5);
}

.playlist-full-summary::-webkit-details-marker {
  display: none;
}

.playlist-full-summary-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  text-align: left;
}

.playlist-full-summary-chevron {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.15rem;
  border-right: 2px solid var(--ricky-red);
  border-bottom: 2px solid var(--ricky-red);
  opacity: 0.85;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.playlist-full-details[open] .playlist-full-summary-chevron {
  transform: rotate(-135deg);
  margin-top: 0.35rem;
}

.playlist-full-summary:hover {
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.18) 0%, rgba(22, 22, 22, 0.98) 55%);
  border-color: rgba(255, 45, 45, 0.45);
}

.playlist-full-details[open] .playlist-full-summary {
  border-radius: 12px 12px 0 0;
  border-bottom: none;
  box-shadow: none;
}

.playlist-full-summary:focus-visible {
  outline: 2px solid var(--ricky-red);
  outline-offset: 2px;
}

.playlist-full-summary-title {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.playlist-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(255, 45, 45, 0.1);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.playlist-full-details .playlist-container {
  margin: 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.playlist-container--scroll {
  max-height: min(52vh, 440px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.km-player-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.km-share-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  min-height: 0;
  line-height: 1.2;
  border-radius: 999px;
  font-family: "Syne", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 45, 45, 0.4);
  background: rgba(255, 45, 45, 0.12);
  color: var(--text);
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.km-share-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.95;
}

.km-share-btn:hover {
  background: rgba(255, 45, 45, 0.18);
  border-color: var(--ricky-red);
  color: #fff;
}

.km-share-btn--ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.km-share-btn--ghost:hover {
  border-color: rgba(255, 45, 45, 0.4);
  background: rgba(255, 45, 45, 0.1);
}

/* ===== PLAYER QUEUE (INSIDE PLAYER) ===== */
.player-queue-section {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.player-queue-title {
  font-family: "Syne", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ricky-red);
  margin: 0 0 0.75rem;
  text-align: left;
}

.player-queue-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.player-queue-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.player-queue-item:hover {
  background: rgba(255, 45, 45, 0.08);
  border-color: rgba(255, 45, 45, 0.2);
}

.player-queue-item-number {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ricky-red);
  background: rgba(255, 45, 45, 0.12);
  border-radius: 6px;
}

.player-queue-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.player-queue-item-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-queue-item-artist {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-queue-item-album {
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.92;
}

.player-queue-item-duration {
  flex-shrink: 0;
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Light Mode Mobile Glassmorphism */
@media (max-width: 768px) {
  [data-theme="light"] .koshermusik-main-player {
    background: linear-gradient(180deg, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(250, 250, 250, 0.98) 50%,
      rgba(245, 245, 245, 0.99) 100%);
    box-shadow: 
      0 20px 60px -20px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(0, 0, 0, 0.05) inset;
  }

  [data-theme="light"] .koshermusik-large-visualizer {
    background: linear-gradient(180deg, 
      rgba(255, 45, 45, 0.05) 0%, 
      rgba(0, 0, 0, 0.05) 100%);
  }

  [data-theme="light"] .artwork-placeholder-large {
    background: linear-gradient(135deg, 
      rgba(255, 255, 255, 0.9) 0%, 
      rgba(240, 240, 240, 0.95) 50%,
      rgba(230, 230, 230, 0.98) 100%);
  }

  [data-theme="light"] .player-volume-section {
    background: rgba(0, 0, 0, 0.03);
  }

  [data-theme="light"] .km-share-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
  }

  [data-theme="light"] .player-queue-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.04);
  }

  [data-theme="light"] .album-card {
    background: linear-gradient(165deg, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(250, 250, 250, 0.98) 100%);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 
      0 8px 24px -12px rgba(0, 0, 0, 0.15),
      0 0 0 1px rgba(0, 0, 0, 0.02) inset;
  }

  [data-theme="light"] .streaming-link {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
  }

  [data-theme="light"] .km-search-box {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
  }

  [data-theme="light"] .video-showcase-large {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.05);
  }
}

/* Playlist as table: header + body columns stay aligned */
.playlist-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: "Syne", "Space Grotesk", system-ui, sans-serif;
}

.playlist-table col.playlist-col-num {
  width: 44px;
}

.playlist-table col.playlist-col-title {
  width: auto;
}

.playlist-table col.playlist-col-album {
  width: 22%;
}

.playlist-table col.playlist-col-plays {
  width: 52px;
}

.playlist-table col.playlist-col-share {
  width: 72px;
}

.playlist-table col.playlist-col-dur {
  width: 56px;
}

.playlist-table thead th {
  padding: 0.875rem 0.65rem;
  background: rgba(20, 20, 20, 0.92);
  border-bottom: 1px solid rgba(255, 45, 45, 0.12);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  vertical-align: middle;
}

.playlist-container--scroll .playlist-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 1px 0 rgba(255, 45, 45, 0.08);
}

.playlist-table thead th.track-duration {
  text-align: right;
  padding-right: 1rem;
}

.playlist-table tbody tr {
  border-collapse: collapse;
}

.playlist-item td {
  padding: 0.875rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.playlist-item {
  cursor: pointer;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.playlist-item:hover td {
  background: rgba(255, 45, 45, 0.05);
}

.playlist-item.is-playing td {
  background: rgba(255, 45, 45, 0.1);
}

.playlist-item.is-playing td.track-num {
  color: var(--ricky-red);
  box-shadow: inset 3px 0 0 var(--ricky-red);
}

.track-num {
  font-family: "Syne", sans-serif;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.track-title {
  font-weight: 500;
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
  color: var(--text);
  white-space: normal;
  overflow: hidden;
  vertical-align: middle;
}

.track-title-line {
  display: block;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist-line {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78em;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-album {
  font-size: clamp(0.78rem, 1.8vw, 0.88rem);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-table th.track-duration,
.playlist-table td.track-duration {
  text-align: right;
  padding-right: 1rem;
}

.track-duration {
  font-family: "Syne", sans-serif;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.playlist-table th.track-plays,
.playlist-table td.track-plays {
  text-align: right;
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
}

.playlist-table th.track-share,
.playlist-table td.track-share {
  text-align: center;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

.playlist-share-btn {
  font-family: "Syne", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.playlist-share-btn:hover {
  color: var(--ricky-red);
  border-color: rgba(255, 45, 45, 0.4);
  background: rgba(255, 45, 45, 0.08);
}

.playlist-empty .playlist-empty-cell {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--text-muted);
  border-bottom: none;
}

.playlist-empty .playlist-empty-cell p {
  margin: 0;
}

/* Streaming Links Section */
.koshermusik-links-section {
  padding: clamp(2rem, 6vw, 4rem) var(--section-x);
  background: var(--surface);
  position: relative;
}

.streaming-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.streaming-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid rgba(255, 45, 45, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.streaming-link:hover {
  border-color: var(--ricky-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(255, 45, 45, 0.25);
}

.streaming-link:hover .streaming-icon {
  color: var(--ricky-red);
}

.streaming-icon {
  width: clamp(32px, 7vw, 40px);
  height: clamp(32px, 7vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.streaming-icon svg {
  width: clamp(22px, 5vw, 28px);
  height: clamp(22px, 5vw, 28px);
}

.streaming-name {
  font-family: "Syne", sans-serif;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
}

/* Discography */
.koshermusik-store-section {
  padding: clamp(2.5rem, 7vw, 5rem) var(--section-x);
  background: var(--bg);
  position: relative;
}

.koshermusik-discography .section-header {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

/* Dropdown is position:absolute, so it does not push the next section down; the logo block
   would paint on top without an explicit stack order. Keep discography (incl. open dropdowns)
   above the promo logo section. */
.koshermusik-store-section.koshermusik-discography {
  z-index: 2;
}

/* ===== SEARCH ===== */
.km-search-wrap {
  max-width: 72rem;
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
}
.km-search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.km-search-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,.4);
  pointer-events: none;
}
.km-search-input {
  width: 100%;
  padding: .75rem 2.5rem .75rem 2.5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  letter-spacing: .02em;
  outline: none;
  transition: border-color .2s, background .2s;
}
.km-search-input::placeholder { color: rgba(255,255,255,.3); }
.km-search-input:focus {
  border-color: var(--ricky-red, #ff2d2d);
  background: rgba(255,255,255,.08);
}
.km-search-clear {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: rgba(255,255,255,.4);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.km-search-clear:hover { color: #fff; }
[data-theme="light"] .km-search-input {
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.12);
  color: #111;
}
[data-theme="light"] .km-search-input::placeholder { color: rgba(0,0,0,.35); }
[data-theme="light"] .km-search-input:focus {
  border-color: var(--ricky-red, #d92525);
  background: rgba(0,0,0,.06);
}
[data-theme="light"] .km-search-icon { color: rgba(0,0,0,.35); }
[data-theme="light"] .km-search-clear { color: rgba(0,0,0,.35); }
[data-theme="light"] .km-search-clear:hover { color: #111; }

.km-search-results {
  margin-top: .5rem;
  background: rgba(18,18,18,.97);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  max-height: 360px;
  overflow-y: auto;
  backdrop-filter: blur(12px);
}
.km-search-results[hidden] { display: none; }
.km-search-empty {
  padding: 1.25rem;
  text-align: center;
  color: rgba(255,255,255,.35);
  font-size: .9rem;
}
.km-search-hit {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .15s;
}
.km-search-hit:last-child { border-bottom: none; }
.km-search-hit:hover { background: rgba(255,45,45,.1); }
.km-search-hit-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--ricky-red, #ff2d2d);
  opacity: .7;
}
.km-search-hit-info { flex: 1; min-width: 0; }
.km-search-hit-title {
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.km-search-hit-sub {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.km-search-hit-badge {
  flex-shrink: 0;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,45,45,.15);
  color: var(--ricky-red, #ff2d2d);
}
[data-theme="light"] .km-search-results {
  background: rgba(255,255,255,.97);
  border-color: rgba(0,0,0,.1);
}
[data-theme="light"] .km-search-empty { color: rgba(0,0,0,.35); }
[data-theme="light"] .km-search-hit { border-bottom-color: rgba(0,0,0,.06); }
[data-theme="light"] .km-search-hit:hover { background: rgba(255,45,45,.08); }
[data-theme="light"] .km-search-hit-title { color: #111; }
[data-theme="light"] .km-search-hit-sub { color: rgba(0,0,0,.45); }

/* Album card hidden by search filter */
.album-card.km-search-hidden { display: none !important; }

/* —— Album layout switcher (Grid | Compact | List) —— */
.km-album-view-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  max-width: 72rem;
  margin: 0 auto clamp(1rem, 3vw, 1.5rem);
  padding: 0 var(--section-x);
}

.km-album-view-label {
  font-family: "Syne", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.km-album-view-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 45, 45, 0.12);
  background: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .km-album-view-buttons {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(255, 45, 45, 0.18);
}

.km-album-view-btn {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  color: var(--text-muted);
  background: transparent;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.km-album-view-btn:hover {
  color: var(--text);
  background: rgba(255, 45, 45, 0.08);
}

.km-album-view-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.92), rgba(220, 35, 35, 0.85));
  box-shadow: 0 4px 14px -4px rgba(255, 45, 45, 0.45);
}

[data-theme="light"] .km-album-view-btn.is-active {
  color: #fff;
}

.km-album-view-btn:focus-visible {
  outline: 2px solid var(--ricky-red, #ff2d2d);
  outline-offset: 2px;
}

/* Compact: denser grid, smaller type */
.koshermusik-discography.km-album-view--compact .albums-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 7.25rem), 1fr));
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
}

@media (min-width: 640px) {
  .koshermusik-discography.km-album-view--compact .albums-grid {
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  }
}

.koshermusik-discography.km-album-view--compact .album-info {
  padding: 0.55rem 0.65rem 0.7rem;
}

.koshermusik-discography.km-album-view--compact .album-info .album-title {
  font-size: clamp(0.72rem, 1.6vw, 0.82rem);
  margin-bottom: 0.25rem;
}

.koshermusik-discography.km-album-view--compact .album-meta {
  font-size: 0.52rem;
  margin-bottom: 0.15rem;
}

.koshermusik-discography.km-album-view--compact .album-tracks {
  font-size: 0.55rem;
}

.koshermusik-discography.km-album-view--compact .album-card:hover {
  transform: translateY(-2px);
}

/* List: single column rows, thumb + meta */
.koshermusik-discography.km-album-view--list .albums-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 42rem;
  grid-template-columns: unset;
}

.koshermusik-discography.km-album-view--list .album-card {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: stretch;
  overflow: hidden;
}

.koshermusik-discography.km-album-view--list .album-artwork {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 4.75rem;
  height: 4.75rem;
  max-height: 4.75rem;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
}

.koshermusik-discography.km-album-view--list .album-info {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  border-top: none;
  padding: 0.5rem 0.85rem 0.5rem 0.25rem;
  min-width: 0;
}

.koshermusik-discography.km-album-view--list .album-card:hover {
  transform: translateX(3px);
}

.koshermusik-discography.km-album-view--list .album-info .album-title {
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
}

@media (max-width: 768px) {
  .koshermusik-discography.km-album-view--compact .albums-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .koshermusik-discography.km-album-view--list .album-card {
    grid-template-columns: 3.75rem minmax(0, 1fr);
  }

  .koshermusik-discography.km-album-view--list .album-artwork {
    width: 3.75rem;
    height: 3.75rem;
    max-height: 3.75rem;
    border-radius: 8px;
  }

  .km-album-view-toolbar {
    justify-content: flex-start;
  }
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr));
  gap: clamp(0.875rem, 2.5vw, 1.25rem);
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .albums-grid {
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  }
}

.album-card {
  cursor: pointer;
  position: relative;
  background: linear-gradient(165deg, rgba(22, 22, 22, 0.98) 0%, var(--surface) 48%, #0d0d0d 100%);
  border: 1px solid rgba(255, 45, 45, 0.07);
  border-radius: clamp(12px, 2vw, 16px);
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 4px 20px -10px rgba(0, 0, 0, 0.5);
  -webkit-tap-highlight-color: transparent;
}

.album-card.is-expanded {
  overflow: visible;
  z-index: 10;
}

.album-card:hover {
  border-color: rgba(255, 45, 45, 0.2);
  box-shadow:
    0 16px 40px -20px rgba(255, 45, 45, 0.15),
    0 0 0 1px rgba(255, 45, 45, 0.05);
  transform: translateY(-4px);
}

.album-artwork {
  position: relative;
  aspect-ratio: 1;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(255, 45, 45, 0.06), transparent 65%),
    #0c0c0c;
  overflow: hidden;
}

.album-artwork::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.album-artwork img,
.album-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.album-card:hover .album-artwork img {
  transform: scale(1.03);
}

/* Default mark: contained, breathing room */
.album-artwork.is-logo-fallback img {
  object-fit: contain;
  object-position: center;
  padding: clamp(1rem, 15%, 1.75rem);
  filter: drop-shadow(0 0 16px rgba(255, 45, 45, 0.1));
}

.album-card:hover .album-artwork.is-logo-fallback img {
  transform: scale(1.02);
}

.album-info {
  padding: 0.875rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.album-info .album-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.album-meta {
  margin: 0 0 0.25rem;
  font-family: "Syne", sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ricky-red, #ff2d2d);
  opacity: 0.7;
}

.album-tracks {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

[data-theme="light"] .album-card {
  background: linear-gradient(165deg, #fff 0%, #f4f4f4 100%);
  border-color: rgba(255, 45, 45, 0.1);
  box-shadow: 0 4px 16px -6px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .album-artwork {
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(255, 45, 45, 0.05), transparent 65%), #eee;
}

[data-theme="light"] .album-info {
  border-top-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .album-tracks {
  color: rgba(0, 0, 0, 0.45);
}

/* Animated logo (natural aspect, no frame / border) */
.koshermusik-logo-video-section {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 5vw, 3rem) var(--section-x);
  background: var(--bg);
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}

.koshermusik-logo-video-showcase {
  max-width: min(640px, 100%);
  margin: 0 auto;
}

.koshermusik-logo-video-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 437.4 / 310.9;
  max-height: min(48vh, 380px);
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  contain: layout style;
}

.koshermusik-logo-static-fallback {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
}

.koshermusik-logo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.koshermusik-logo-video-section.km-logo-video-static-only .koshermusik-logo-video {
  display: none !important;
}

.koshermusik-logo-video-section.km-logo-video-static-only .koshermusik-logo-static-fallback {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .koshermusik-logo-video-section .koshermusik-logo-video {
    display: none !important;
  }

  .koshermusik-logo-video-section .koshermusik-logo-static-fallback {
    display: block;
  }
}


/* Video Section */
.koshermusik-video-section {
  padding: clamp(2rem, 6vw, 4rem) var(--section-x);
  background: var(--bg);
}

.video-showcase-large {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(255, 45, 45, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper-large {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}

.video-wrapper-large iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info-large {
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.video-title-large {
  font-family: "Syne", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--text);
}

/* Footer links: red glow (KosherMusik pages) */
body.koshermusik-page .footer-links a {
  text-shadow: 0 0 10px rgba(255, 45, 45, 0.22);
}

body.koshermusik-page .footer-links a::after {
  background: var(--ricky-red, #ff2d2d);
  box-shadow: 0 0 12px rgba(255, 45, 45, 0.45);
}

body.koshermusik-page .footer-links a:hover {
  color: var(--ricky-red, #ff2d2d);
  text-shadow:
    0 0 12px rgba(255, 45, 45, 0.55),
    0 0 28px rgba(255, 45, 45, 0.35);
}

body.koshermusik-page .footer-brand-link:hover {
  color: var(--ricky-red, #ff2d2d);
  border-bottom-color: rgba(255, 45, 45, 0.45);
  text-shadow: 0 0 14px rgba(255, 45, 45, 0.35);
}

[data-theme="light"] body.koshermusik-page .footer-links a {
  text-shadow: 0 0 8px rgba(255, 45, 45, 0.18);
}

[data-theme="light"] body.koshermusik-page .footer-links a:hover {
  text-shadow:
    0 0 10px rgba(255, 45, 45, 0.4),
    0 0 22px rgba(255, 45, 45, 0.22);
}

/* Active nav link on KosherMusik pages */
body.koshermusik-page .nav-links a.active {
  color: var(--ricky-red, #ff2d2d);
}

body.koshermusik-page .nav-links a.active::before {
  transform: scaleX(1);
  background: var(--ricky-red, #ff2d2d);
}

/* ===== MOBILE GLASSMORPHISM - Sleek & Glossy ===== */
@media (max-width: 768px) {
  /* Glassy header for mobile */
  .koshermusik-page-header {
    padding: clamp(6rem, 15vw, 8rem) var(--section-x) clamp(1.5rem, 4vw, 2rem);
    background: linear-gradient(180deg, 
      rgba(255, 45, 45, 0.05) 0%, 
      rgba(0, 0, 0, 0.3) 50%,
      transparent 100%);
  }

  /* Glassy player container */
  .koshermusik-radio-section {
    padding: clamp(1rem, 4vw, 2rem) var(--section-x);
  }

  .koshermusik-radio-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
      0 20px 60px -20px rgba(0, 0, 0, 0.8),
      0 0 0 1px rgba(255, 255, 255, 0.05) inset,
      0 0 100px -40px rgba(255, 45, 45, 0.3);
  }

  /* Glassy visualizer */
  .koshermusik-large-visualizer {
    height: 140px;
    background: linear-gradient(180deg, 
      rgba(255, 45, 45, 0.08) 0%, 
      rgba(0, 0, 0, 0.4) 100%);
    border-radius: 20px 20px 0 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Glassy main player */
  .koshermusik-main-player {
    background: linear-gradient(180deg, 
      rgba(30, 30, 30, 0.95) 0%, 
      rgba(15, 15, 15, 0.98) 50%,
      rgba(10, 10, 10, 0.99) 100%);
    border-radius: 0 0 20px 20px;
    padding: clamp(1.25rem, 5vw, 1.75rem);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 
      0 20px 60px -20px rgba(0, 0, 0, 0.8),
      0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  }

  .player-main-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }

  /* Glossy artwork */
  .player-artwork-large {
    margin: 0 auto;
  }

  .artwork-spin-ring {
    width: 160px;
    height: 160px;
    border-radius: 16px;
    box-shadow: 
      0 16px 40px -12px rgba(255, 45, 45, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.1) inset,
      0 0 60px -20px rgba(255, 45, 45, 0.4);
  }

  .artwork-placeholder-large {
    border-radius: 16px;
    background: linear-gradient(135deg, 
      rgba(40, 40, 40, 0.9) 0%, 
      rgba(20, 20, 20, 0.95) 50%,
      rgba(10, 10, 10, 0.98) 100%);
  }

  /* Glassy track info */
  .track-info-header {
    margin-bottom: 1.25rem;
  }

  .track-title-large {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

  .track-artist-large {
    font-size: clamp(0.9rem, 3vw, 1rem);
    color: rgba(255, 255, 255, 0.6);
  }

  /* Glossy progress bar */
  .player-progress-large {
    margin-bottom: 1.25rem;
  }

  .progress-bar-large {
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
  }

  .progress-fill-large {
    background: linear-gradient(90deg, #ff2d2d 0%, #ff6b6b 50%, #ff9999 100%);
    box-shadow: 0 0 10px rgba(255, 45, 45, 0.5);
  }

  .progress-handle {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  /* Glassy controls */
  .player-controls-large {
    gap: clamp(0.875rem, 3vw, 1.25rem);
    margin-bottom: 1.25rem;
  }

  .control-btn-large {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .skip-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.06);
  }

  .skip-btn:hover {
    background: rgba(255, 45, 45, 0.2);
  }

  .play-btn-large {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #ff3d3d 0%, #e02020 100%);
    box-shadow: 
      0 8px 24px -6px rgba(255, 45, 45, 0.6),
      0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  }

  .play-btn-large:hover {
    box-shadow: 
      0 12px 32px -8px rgba(255, 45, 45, 0.7),
      0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  }

  .repeat-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
  }

  /* Glassy volume section */
  .player-volume-section {
    flex-direction: row;
    width: auto;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .volume-btn-large {
    width: 40px;
    height: 40px;
    background: transparent;
  }

  .volume-slider-vertical {
    display: none;
  }

  /* Mobile volume slider (horizontal) */
  .player-volume-section::after {
    content: '';
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
  }

  /* Glassy share buttons */
  .km-player-share-row {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    gap: 0.625rem;
  }

  .km-share-btn {
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .km-share-btn:hover {
    background: rgba(255, 45, 45, 0.2);
    border-color: rgba(255, 45, 45, 0.3);
  }

  /* Glassy queue */
  .player-queue-section {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .player-queue-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .player-queue-item:hover {
    background: rgba(255, 45, 45, 0.1);
    border-color: rgba(255, 45, 45, 0.15);
    transform: translateX(2px);
  }

  .player-queue-item-number {
    background: rgba(255, 45, 45, 0.15);
  }

  /* Glassy album cards */
  .albums-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }

  .album-card {
    border-radius: 16px;
    background: linear-gradient(165deg, 
      rgba(30, 30, 30, 0.95) 0%, 
      rgba(18, 18, 18, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 
      0 8px 24px -12px rgba(0, 0, 0, 0.6),
      0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .album-card:hover {
    transform: translateY(-3px);
    box-shadow: 
      0 16px 40px -16px rgba(255, 45, 45, 0.25),
      0 0 0 1px rgba(255, 45, 45, 0.1) inset;
  }

  .album-artwork {
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg, 
      rgba(255, 45, 45, 0.03) 0%, 
      transparent 60%);
  }

  .album-info {
    padding: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
  }

  /* Glassy streaming links */
  .streaming-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .streaming-link {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .streaming-link:hover {
    background: rgba(255, 45, 45, 0.1);
    border-color: rgba(255, 45, 45, 0.2);
    transform: translateY(-2px);
  }

  /* Glassy search */
  .km-search-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .km-search-input {
    background: transparent;
  }

  /* Glassy video section */
  .video-showcase-large {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .video-wrapper-large {
    border-radius: 12px 12px 0 0;
  }

  .video-info-large {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
  }

  /* Reduced motion for mobile */
  .player-queue-item:hover {
    transform: none;
  }
}

/* Small phones - extra glossy */
@media (max-width: 380px) {
  .koshermusik-header-title {
    font-size: 1.75rem;
  }

  .artwork-spin-ring {
    width: 140px;
    height: 140px;
  }

  .play-btn-large {
    width: 60px;
    height: 60px;
  }

  .skip-btn {
    width: 42px;
    height: 42px;
  }

  .albums-grid {
    gap: 0.75rem;
  }

  .album-card {
    border-radius: 14px;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .artwork-spin-ring,
  .artwork-placeholder-large,
  .wave-bar,
  body.koshermusik-page .geo-bg .prism {
    animation: none !important;
  }

  .album-card,
  .control-btn-large,
  .streaming-link,
  .playlist-item {
    transition: none !important;
  }
}

/* Light Mode Adjustments */
[data-theme="light"] .koshermusik-hero {
  background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 50%, #ececec 100%);
}

[data-theme="light"] .koshermusik-main-player {
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
}

[data-theme="light"] .koshermusik-large-visualizer {
  background: linear-gradient(180deg, rgba(255, 45, 45, 0.03), rgba(0, 0, 0, 0.05));
}

[data-theme="light"] .playlist-container {
  background: #fff;
}

[data-theme="light"] .playlist-table thead th {
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .playlist-full-details[open] {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .playlist-full-summary {
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.1) 0%, #fafafa 55%);
  border-color: rgba(255, 45, 45, 0.3);
}

[data-theme="light"] .streaming-link {
  background: #fff;
}

[data-theme="light"] .video-showcase-large {
  background: #fff;
}

[data-theme="light"] .koshermusik-logo-video-section {
  background: var(--bg);
}

/* ===== ALBUM DROPDOWN MENU ===== */
.album-card {
  position: relative;
  cursor: pointer;
}

.album-card.is-expanded {
  z-index: 20;
  overflow: visible;
  border-radius: 12px 12px 0 0;
  border-color: rgba(255, 45, 45, 0.3);
}

.album-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(165deg, rgba(30, 30, 30, 0.98) 0%, var(--surface) 100%);
  border: 1px solid rgba(255, 45, 45, 0.2);
  border-top: none;
  border-radius: 0 0 12px 12px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.album-card.is-expanded .album-dropdown {
  max-height: min(70vh, 420px);
  opacity: 1;
  overflow-y: auto;
}

/* List layout: dropdown in document flow (grid row below thumb + text) */
.koshermusik-discography.km-album-view--list .album-card > .album-dropdown {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  grid-column: 1 / -1;
  grid-row: 2;
  border-top: 1px solid rgba(255, 45, 45, 0.15);
  border-radius: 0 0 10px 10px;
}

.koshermusik-discography.km-album-view--list .album-card.is-expanded {
  border-radius: 12px;
  overflow: visible;
}

.album-dropdown-head {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.album-dropdown-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.album-play-all-btn {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 6rem;
  min-width: 0;
  font-family: "Syne", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.42rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.album-play-all-btn:hover {
  border-color: var(--ricky-red);
  color: var(--ricky-red);
  background: rgba(255, 45, 45, 0.1);
}

.album-share-btn {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 6rem;
  min-width: 0;
  font-family: "Syne", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.42rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 45, 45, 0.35);
  background: rgba(255, 45, 45, 0.1);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.album-share-btn:hover {
  background: rgba(255, 45, 45, 0.16);
  border-color: var(--ricky-red);
}

.album-song-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0.5rem;
}

.album-song-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.album-song-row:last-child {
  border-bottom: none;
}

.album-song-item {
  padding: 0.625rem 0.75rem 0.625rem 1rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  border-bottom: none;
}

.album-song-share {
  flex-shrink: 0;
  width: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.album-song-share:hover {
  color: var(--ricky-red);
  background: rgba(255, 45, 45, 0.08);
}

.album-song-item:hover {
  background: rgba(255, 45, 45, 0.1);
  color: var(--ricky-red);
}

.album-song-item::before {
  content: "▶";
  font-size: 0.6rem;
  opacity: 0.5;
}

.album-song-item:hover::before {
  opacity: 1;
}

.album-song-item.is-playing {
  background: rgba(255, 45, 45, 0.15);
  color: var(--ricky-red);
}

.album-song-item.is-playing::before {
  content: "♪";
  opacity: 1;
}

.album-dropdown-empty {
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.album-card.is-expanded .album-artwork::after {
  border-radius: 12px 12px 0 0;
}

/* Light mode */
[data-theme="light"] .album-dropdown {
  background: linear-gradient(165deg, #fff 0%, #f5f5f5 100%);
  border-color: rgba(255, 45, 45, 0.15);
}

[data-theme="light"] .album-song-item {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .album-song-item:hover {
  background: rgba(255, 45, 45, 0.08);
}
/* ===== MODERN PLAYER REDESIGN - Clean, Borderless ===== */

/* ===== MODERN MAIN PLAYER - NO BORDERS, SUBTLE RED GLOW ===== */
.koshermusik-main-player {
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.95) 0%, rgba(18, 18, 18, 0.98) 100%);
  border: none;
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow:
    0 32px 64px -24px rgba(0, 0, 0, 0.8),
    0 0 80px -30px rgba(255, 45, 45, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.player-main-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

/* Modern Artwork - No borders */
.player-artwork-large {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.artwork-spin-ring {
  width: clamp(120px, 20vw, 180px);
  height: clamp(120px, 20vw, 180px);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ricky-red) 0%, #8b0000 100%);
  padding: 0;
  animation: none;
  box-shadow: 0 16px 40px -12px rgba(255, 45, 45, 0.4);
  overflow: hidden;
  position: relative;
  border: none;
}

.artwork-spin-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.artwork-placeholder-large {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: none;
  border: none;
  overflow: hidden;
  position: relative;
}

.artwork-placeholder-large img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artwork-placeholder-large svg {
  width: clamp(40px, 8vw, 60px);
  height: clamp(40px, 8vw, 60px);
  color: var(--ricky-red);
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Playing state - subtle pulse */
.artwork-spin-ring.is-playing {
  animation: artworkPulse 2s ease-in-out infinite;
}

@keyframes artworkPulse {
  0%, 100% { box-shadow: 0 16px 40px -12px rgba(255, 45, 45, 0.4); }
  50% { box-shadow: 0 20px 50px -10px rgba(255, 45, 45, 0.6); }
}

/* Modern Track Info */
.track-info-header {
  margin-bottom: 1.5rem;
}

.track-title-large {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
  overflow: hidden;
  min-width: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.track-artist-large {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--text-muted);
  font-weight: 500;
}

.track-album-large {
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  color: var(--text-dim, rgba(255, 255, 255, 0.45));
  margin-top: 0.4rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-album-large::before {
  content: "Album · ";
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-size: 0.68em;
  text-transform: uppercase;
}

/* Modern Progress Bar - Minimal */
.player-progress-large {
  margin-bottom: 1.5rem;
}

.progress-bar-large {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  margin-bottom: 0.75rem;
  touch-action: manipulation;
  overflow: hidden;
  border: none;
}

.progress-fill-large {
  height: 100%;
  background: linear-gradient(90deg, #ff2d2d 0%, #ff6b6b 100%);
  border-radius: 999px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
  will-change: width;
  border: none;
}

.progress-handle {
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: none;
}

.progress-bar-large:hover .progress-handle,
.progress-bar-large:active .progress-handle {
  opacity: 1;
}

.time-display-large {
  display: flex;
  justify-content: space-between;
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* Modern Controls - Borderless buttons */
.player-controls-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 1.5rem;
}

.control-btn-large {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  border-radius: 50%;
}

.control-btn-large:hover {
  color: var(--ricky-red);
  transform: scale(1.1);
}

.control-btn-large:active {
  transform: scale(0.95);
}

.skip-btn {
  width: clamp(40px, 8vw, 48px);
  height: clamp(40px, 8vw, 48px);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 50%;
}

.skip-btn:hover {
  background: rgba(255, 45, 45, 0.15);
}

.skip-btn svg {
  width: clamp(18px, 4vw, 22px);
  height: clamp(18px, 4vw, 22px);
}

.play-btn-large {
  width: clamp(64px, 12vw, 80px);
  height: clamp(64px, 12vw, 80px);
  background: linear-gradient(135deg, #ff3d3d 0%, #e02020 100%);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(255, 45, 45, 0.5);
  border: none;
  border-radius: 50%;
}

.play-btn-large:hover {
  background: linear-gradient(135deg, #ff5252 0%, #f02525 100%);
  transform: scale(1.05);
  box-shadow: 0 12px 32px -8px rgba(255, 45, 45, 0.6);
}

.play-btn-large:active {
  transform: scale(0.95);
}

.play-btn-large svg {
  width: clamp(28px, 5vw, 32px);
  height: clamp(28px, 5vw, 32px);
  margin-left: 2px;
}

.repeat-btn {
  width: clamp(36px, 7vw, 44px);
  height: clamp(36px, 7vw, 44px);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 8px;
}

.repeat-btn svg {
  width: clamp(16px, 3.5vw, 20px);
  height: clamp(16px, 3.5vw, 20px);
}

.repeat-btn.is-active {
  background: rgba(255, 45, 45, 0.2);
  color: var(--ricky-red);
}

/* Modern Volume - Borderless */
.player-volume-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.volume-btn-large {
  width: clamp(40px, 8vw, 48px);
  height: clamp(40px, 8vw, 48px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.volume-btn-large:hover {
  background: rgba(255, 45, 45, 0.15);
  color: var(--ricky-red);
}

.volume-btn-large svg {
  width: clamp(20px, 4vw, 24px);
  height: clamp(20px, 4vw, 24px);
}

.volume-slider-vertical {
  height: 100px;
  width: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  border: none;
}

.volume-slider-vertical input[type="range"] {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  width: 100px;
  height: 4px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  border: none;
}

.volume-slider-vertical input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  border: none;
}

.volume-slider-vertical input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  margin-top: -5px;
  border: none;
}

/* Light mode volume slider fixes */
[data-theme="light"] .volume-slider-vertical {
  background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .volume-slider-vertical input[type="range"]::-webkit-slider-runnable-track {
  background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .volume-slider-vertical input[type="range"]::-webkit-slider-thumb {
  background: var(--ricky-red);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Modern Share Row - Minimal */
.km-player-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.km-share-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  min-height: 36px;
  border-radius: 999px;
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.km-share-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.km-share-btn:hover {
  background: rgba(255, 45, 45, 0.2);
  color: #fff;
  transform: translateY(-1px);
}

.km-share-btn--ghost {
  background: transparent;
}

.km-share-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Modern Player Queue - Clean */
.player-queue-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.player-queue-title {
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ricky-red);
  margin: 0 0 1rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.player-queue-title::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--ricky-red);
  border-radius: 50%;
}

.player-queue-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.player-queue-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.player-queue-item:hover {
  background: rgba(255, 45, 45, 0.1);
  transform: translateX(4px);
}

.player-queue-item-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ricky-red);
  background: rgba(255, 45, 45, 0.12);
  border-radius: 6px;
}

.player-queue-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.player-queue-item-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-queue-item-artist {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-queue-item-duration {
  flex-shrink: 0;
  font-family: "Syne", sans-serif;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* Mobile Layout */
@media (max-width: 768px) {
  .player-main-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .player-artwork-large {
    margin: 0 auto;
  }

  .artwork-spin-ring {
    width: 180px;
    height: 180px;
  }

  .player-volume-section {
    flex-direction: row;
    width: auto;
    justify-content: center;
    gap: 0;
  }

  .volume-slider-vertical {
    display: none;
  }

  .player-queue-item:hover {
    transform: none;
  }
}

/* Light Mode - Borderless */
[data-theme="light"] .koshermusik-main-player {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.98) 100%);
  border: none;
  box-shadow:
    0 32px 64px -24px rgba(0, 0, 0, 0.15),
    0 0 80px -30px rgba(255, 45, 45, 0.2);
}

[data-theme="light"] .artwork-placeholder-large {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

[data-theme="light"] .artwork-placeholder-large svg {
  color: var(--ricky-red);
  opacity: 0.7;
}

[data-theme="light"] .progress-bar-large {
  background: rgba(0, 0, 0, 0.12);
  border: none;
}

[data-theme="light"] .progress-fill-large {
  background: linear-gradient(90deg, #ff2d2d 0%, #ff6b6b 100%);
}

[data-theme="light"] .progress-handle {
  background: var(--ricky-red);
  box-shadow: 0 2px 8px rgba(255, 45, 45, 0.4);
}

[data-theme="light"] .time-display-large {
  color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .skip-btn,
[data-theme="light"] .repeat-btn,
[data-theme="light"] .volume-btn-large {
  background: rgba(0, 0, 0, 0.06);
  border: none;
  color: var(--text);
}

[data-theme="light"] .skip-btn:hover,
[data-theme="light"] .repeat-btn:hover,
[data-theme="light"] .volume-btn-large:hover {
  background: rgba(255, 45, 45, 0.15);
  color: var(--ricky-red);
}

[data-theme="light"] .play-btn-large {
  box-shadow: 0 8px 24px -6px rgba(255, 45, 45, 0.4);
}

[data-theme="light"] .control-btn-large {
  color: var(--text);
}

[data-theme="light"] .control-btn-large:hover {
  color: var(--ricky-red);
}

[data-theme="light"] .player-queue-item {
  background: rgba(0, 0, 0, 0.04);
  border: none;
}

[data-theme="light"] .player-queue-item:hover {
  background: rgba(255, 45, 45, 0.1);
}

[data-theme="light"] .player-queue-item-title {
  color: var(--text);
}

[data-theme="light"] .player-queue-item-number {
  background: rgba(255, 45, 45, 0.15);
}

[data-theme="light"] .km-share-btn {
  background: rgba(0, 0, 0, 0.06);
  border: none;
  color: var(--text);
}

[data-theme="light"] .km-share-btn:hover {
  background: rgba(255, 45, 45, 0.2);
  color: #fff;
}

[data-theme="light"] .km-share-btn--ghost {
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .km-share-btn--ghost:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text);
}

[data-theme="light"] .km-player-share-row {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .player-queue-section {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .track-title-large {
  color: var(--text);
}

[data-theme="light"] .track-artist-large {
  color: var(--text-muted);
}

[data-theme="light"] .track-album-large {
  color: var(--text-dim);
}

[data-theme="light"] .player-queue-title {
  color: var(--ricky-red);
}

[data-theme="light"] .player-queue-item-artist {
  color: var(--text-muted);
}

[data-theme="light"] .player-queue-item-album {
  color: var(--text-dim);
}

[data-theme="light"] .player-queue-item-duration {
  color: var(--text-dim);
}
