/* Doctor Watts Sound Supply — Public Catalog */

:root {
  --dwss-bg: #0a0b0f;
  --dwss-panel: #111318;
  --dwss-panel-2: #161a21;
  --dwss-cyan: #00e5d0;
  --dwss-teal: #00d9c0;
  --dwss-magenta: #ff00aa;
  --dwss-gold: #f0c36b;
  --dwss-red: #e30613;
  --dwss-text: #e8eaed;
  --dwss-muted: #6f7683;
  --dwss-border: #252a33;
  --dwss-radius: 16px;
  /* Vibrant Neon Pulse waveform defaults (overridable in Settings → Theme) */
  --dwss-wave-1: #ff2bd6;
  --dwss-wave-2: #7b5cff;
  --dwss-wave-3: #00f0ff;
  --dwss-wave-unplayed: #4b5563;
  --dwss-wave-playhead: #ffffff;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background-color: var(--dwss-bg);
  color: var(--dwss-text);
  line-height: 1.55;
  background-image:
    linear-gradient(color-mix(in srgb, var(--dwss-cyan) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--dwss-cyan) 4%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  background-attachment: fixed;
}

a { color: var(--dwss-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--dwss-bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dwss-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand:hover { text-decoration: none; }

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  background: transparent;
}

.brand-text { min-width: 0; }

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.8px;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.4px;
  font-weight: 600;
  color: var(--dwss-cyan);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

.footer-brand-block {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}

.footer-tagline {
  font-size: 12px;
  color: var(--dwss-cyan);
  font-weight: 600;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--dwss-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: color .15s, background .15s;
}

.nav a:hover,
.nav a.active,
.nav button.nav-search:hover {
  color: var(--dwss-text);
  background: var(--dwss-panel-2);
  text-decoration: none;
}
.nav button.nav-search {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--dwss-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, background .15s;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--dwss-border);
  color: var(--dwss-text);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

/* Hero fallback */
.hero { padding: 56px 0 32px; }
.hero-kicker {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--dwss-cyan);
  margin-bottom: 12px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 0 0 14px;
  max-width: 16ch;
}
.hero p {
  color: var(--dwss-muted);
  font-size: 1.05rem;
  max-width: 48ch;
  margin: 0 0 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter .15s, transform .1s;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--dwss-cyan); color: #0a0b0f; }
.btn-ghost {
  background: transparent;
  color: var(--dwss-text);
  border: 1px solid var(--dwss-border);
}
.btn-magenta { background: var(--dwss-magenta); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 12px; border-radius: 8px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Sections */
.section { padding: 28px 0 48px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  margin: 0;
}
.section-head .label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dwss-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

/* ===== Hero slideshow — constrained to page width ===== */
.hero-slideshow-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 20px auto 12px;
}

.featured-hero.hero-slideshow {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  outline: none;
  min-height: clamp(420px, 58vh, 560px);
  background: var(--dwss-panel);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.featured-hero.hero-slideshow.has-border {
  border: 1px solid var(--dwss-border);
}

.featured-hero.hero-slideshow.no-border {
  border: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s ease, visibility 0.65s ease;
  display: none; /* hard-hide inactive — prevents double stack */
  align-items: center;
  padding: 48px 0 64px;
  overflow: hidden;
}

.hero-slide.is-active {
  display: flex;
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* When JS ready, keep absolute stacking for smoother transitions */
.hero-slideshow.is-ready .hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slideshow.is-ready .hero-slide {
  display: flex;
}
.hero-slideshow.is-ready .hero-slide:not(.is-active) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-slideshow.is-ready .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-slideshow[data-transition="slide"] .hero-slide {
  transform: translateX(3%);
  transition: opacity 0.55s ease, visibility 0.55s ease, transform 0.55s ease;
}
.hero-slideshow[data-transition="slide"] .hero-slide.is-active {
  transform: translateX(0);
}

.featured-hero-bg {
  position: absolute;
  inset: -15%;
  background-image: var(--art);
  background-size: cover;
  background-position: center;
  filter: blur(40px) saturate(1.1);
  opacity: 0.32;
  transform: scale(1.05);
  z-index: 0;
  pointer-events: none;
}

/* Multi-type hero frames (release / product / blog / artist) */
.featured-type-post {
  color: color-mix(in srgb, var(--dwss-gold, #e8b84a) 90%, var(--dwss-text));
}
.featured-type-artist {
  color: color-mix(in srgb, var(--dwss-cyan) 70%, #c4b5fd);
}
.featured-type-product {
  color: color-mix(in srgb, var(--dwss-cyan) 85%, #86efac);
}
.featured-album-frame.featured-frame-circle,
.featured-album.featured-frame-circle .featured-album-frame {
  border-radius: 50%;
  overflow: hidden;
}
.featured-album-frame.featured-frame-circle .featured-album-img,
.featured-album.featured-frame-circle .featured-album-img {
  border-radius: 50%;
  object-fit: cover;
}
.featured-album.featured-frame-circle .featured-album-shadow {
  border-radius: 50%;
  filter: blur(18px);
}
.featured-album-frame.featured-frame-wide,
.featured-album.featured-frame-wide .featured-album-frame {
  aspect-ratio: 4 / 3;
  width: min(100%, 420px);
  margin-left: auto;
  margin-right: auto;
}
.featured-album.featured-frame-wide .featured-album-img {
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.hero-kind-artist .featured-album-frame {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--dwss-cyan) 35%, transparent),
              0 20px 40px rgba(0, 0, 0, 0.35);
}
.hero-kind-post .featured-album-frame {
  border-radius: 14px;
}

.featured-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 78% 45%, color-mix(in srgb, var(--dwss-cyan) 10%, transparent), transparent 55%),
    linear-gradient(180deg, color-mix(in srgb, var(--dwss-bg) 50%, transparent) 0%, color-mix(in srgb, var(--dwss-bg) 88%, transparent) 55%, var(--dwss-bg) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--dwss-bg) 92%, transparent) 0%, color-mix(in srgb, var(--dwss-bg) 50%, transparent) 55%, color-mix(in srgb, var(--dwss-bg) 78%, transparent) 100%);
}

.featured-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 380px);
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
  width: 100%;
}

.featured-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.featured-pill {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--dwss-cyan) 14%, transparent);
  color: var(--dwss-cyan);
  border: 1px solid color-mix(in srgb, var(--dwss-cyan) 35%, transparent);
}

.featured-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dwss-muted);
}

.featured-counter {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--mono);
  color: var(--dwss-muted);
  letter-spacing: 0.5px;
}

.featured-title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.8vw, 3.1rem);
  letter-spacing: -1.4px;
  line-height: 1.05;
  margin: 0 0 10px;
  max-width: 14ch;
}
.featured-title a { color: inherit; text-decoration: none; }
.featured-title a:hover { color: var(--dwss-cyan); text-decoration: none; }

.featured-artist {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 600;
  margin: 0 0 14px;
}
.featured-artist a {
  color: var(--dwss-text);
  text-decoration: none;
}
.featured-artist a:hover { color: var(--dwss-cyan); text-decoration: none; }

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  font-size: 13px;
  color: var(--dwss-muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.featured-meta .dot { opacity: 0.5; margin: 0 4px; }

.featured-desc {
  color: var(--dwss-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 42ch;
  margin: 0 0 22px;
}

.featured-actions { margin-top: 4px; }

.featured-hero-art-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.featured-album {
  position: relative;
  display: block;
  width: min(100%, 360px);
  text-decoration: none;
  color: inherit;
}
.featured-album:hover { text-decoration: none; }

.featured-album-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #0c0d12;
  border: 1px solid color-mix(in srgb, var(--dwss-text) 8%, transparent);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 24px 48px rgba(0, 0, 0, 0.55),
    0 8px 16px rgba(0, 0, 0, 0.35),
    0 0 60px color-mix(in srgb, var(--dwss-cyan) 10%, transparent);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease;
  z-index: 2;
}
.featured-album:hover .featured-album-frame {
  transform: translateY(-4px) scale(1.012);
}

.featured-album-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.featured-album-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 28%, transparent 48%);
  mix-blend-mode: soft-light;
}

.featured-album-shadow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -14px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.5), transparent 70%);
  filter: blur(8px);
  z-index: 1;
  pointer-events: none;
}

/* Slideshow chrome */
.hero-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: color-mix(in srgb, var(--dwss-text) 6%, transparent);
  z-index: 8;
}
.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--dwss-cyan), var(--dwss-teal));
}
.hero-slideshow.is-paused .hero-progress-bar { opacity: 0.45; }

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--dwss-text) 12%, transparent);
  background: color-mix(in srgb, var(--dwss-bg) 65%, transparent);
  color: var(--dwss-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: border-color .15s, color .15s, background .15s;
}
.hero-nav:hover {
  border-color: var(--dwss-cyan);
  color: var(--dwss-cyan);
}
.hero-nav-prev { left: 12px; }
.hero-nav-next { right: 12px; }

.hero-dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 14px;
  z-index: 8;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}
.hero-dots .hero-dot { pointer-events: auto; }
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--dwss-text) 28%, transparent);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.hero-dot.is-active {
  background: var(--dwss-cyan);
  border-color: var(--dwss-cyan);
  transform: scale(1.2);
}

/* Release grid */
.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.release-grid-clean { gap: 22px; }

.release-card {
  background: transparent;
  border: none;
  overflow: visible;
  transition: transform .2s ease;
}
.release-card:hover { transform: translateY(-3px); }
.release-card a.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.cover {
  aspect-ratio: 1;
  background: #0c0d12;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--dwss-text) 7%, transparent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.release-card:hover .cover {
  border-color: color-mix(in srgb, var(--dwss-cyan) 25%, transparent);
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.cover-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--dwss-bg) 82%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--dwss-text) 10%, transparent);
  color: var(--dwss-cyan);
  padding: 4px 8px;
  border-radius: 6px;
}
.card-body { padding: 12px 4px 4px; }
.card-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta { font-size: 12px; color: var(--dwss-muted); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.filter-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--dwss-border);
  color: var(--dwss-muted);
  text-decoration: none;
  background: transparent;
}
.filter-chip:hover,
.filter-chip.active {
  color: var(--dwss-text);
  border-color: var(--dwss-cyan);
  background: color-mix(in srgb, var(--dwss-cyan) 8%, transparent);
  text-decoration: none;
}

/* Release detail */
.release-hero {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 36px;
  align-items: start;
  padding: 40px 0 24px;
}
.release-art {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--dwss-text) 8%, transparent);
  background: #0c0d12;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}
.release-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.release-info .type-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dwss-cyan);
  font-weight: 700;
  margin-bottom: 8px;
}
.release-info h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -1px;
  margin: 0 0 8px;
  line-height: 1.1;
}
.release-info .artist-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dwss-text);
}
.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 16px 0;
  font-size: 13px;
  color: var(--dwss-muted);
}
.release-meta span strong { color: var(--dwss-text); font-weight: 600; }
.release-desc {
  color: var(--dwss-muted);
  max-width: 60ch;
  margin: 0 0 20px;
}
.external-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

/* Player */
.player-panel {
  background: var(--dwss-panel);
  border: 1px solid var(--dwss-border);
  border-radius: 20px;
  overflow: hidden;
  margin: 12px 0 40px;
}
.player-panel.pro-player {
  background: linear-gradient(180deg, color-mix(in srgb, var(--dwss-panel) 90%, var(--dwss-text)) 0%, var(--dwss-panel) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.now-playing {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--dwss-border);
  background: linear-gradient(90deg, color-mix(in srgb, var(--dwss-cyan) 6%, transparent), transparent);
}
.now-playing .np-art {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--dwss-panel-2);
  border: 1px solid color-mix(in srgb, var(--dwss-text) 6%, transparent);
  flex-shrink: 0;
}
.now-playing .np-meta { flex: 1; min-width: 0; }
.now-playing .np-title {
  font-weight: 600;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.now-playing .np-sub { font-size: 12px; color: var(--dwss-muted); }
.np-volume { margin-left: auto; }

.waveform-shell {
  position: relative;
  padding: 10px 16px 4px;
  background: color-mix(in srgb, var(--dwss-bg) 80%, #000);
  border-bottom: 1px solid var(--dwss-border);
}
.waveform-shell.is-active {
  background: linear-gradient(180deg, color-mix(in srgb, var(--dwss-cyan) 8%, transparent), color-mix(in srgb, var(--dwss-bg) 80%, #000) 70%);
}
.waveform-canvas {
  display: block;
  width: 100%;
  height: 72px;
  border-radius: 8px;
}
.mini-waveform-wrap {
  padding: 0;
  border-bottom: 1px solid var(--dwss-border);
  background: color-mix(in srgb, var(--dwss-bg) 90%, #000);
}
.mini-waveform { height: 36px !important; border-radius: 0; }

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  flex-wrap: wrap;
}
.player-controls button {
  background: var(--dwss-panel-2);
  border: 1px solid var(--dwss-border);
  color: var(--dwss-text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.player-controls button.play-main {
  width: 48px;
  height: 48px;
  background: var(--dwss-cyan);
  color: #0a0b0f;
  border: none;
  font-size: 16px;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--dwss-cyan) 25%, transparent);
}
.progress-wrap {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--dwss-muted);
}
.progress-bar {
  flex: 1;
  height: 4px;
  background: var(--dwss-border);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--dwss-cyan), var(--dwss-teal));
  border-radius: 999px;
}
.volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.volume-wrap input[type="range"] {
  width: 80px;
  accent-color: var(--dwss-cyan);
}

/* Release player stack: player + playlist, then lyrics underneath */
.release-player-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 12px 0 40px;
}
.release-player-stack .player-panel {
  margin: 0;
}
/* legacy class kept for safety */
.release-player-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 12px 0 40px;
}
.release-player-layout.has-lyrics {
  grid-template-columns: none;
}
.release-player-layout .player-panel {
  margin: 0;
}

.track-table { width: 100%; border-collapse: collapse; }
.track-table th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dwss-muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--dwss-border);
}
.track-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--dwss-border);
  font-size: 14px;
  vertical-align: middle;
}
.track-row { cursor: pointer; transition: background .15s; }
.track-row:hover,
.track-row.is-playing { background: color-mix(in srgb, var(--dwss-cyan) 5%, transparent); }
.track-row.is-playing td:first-child,
.track-row.is-playing .track-title { color: var(--dwss-cyan); }
.track-num { width: 40px; color: var(--dwss-muted); font-family: var(--mono); font-size: 12px; }
.track-title {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.track-lyrics-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  font-size: 10px;
  color: var(--dwss-cyan);
  background: color-mix(in srgb, var(--dwss-cyan) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--dwss-cyan) 28%, transparent);
  flex-shrink: 0;
}
.track-price-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--dwss-cyan);
  background: color-mix(in srgb, var(--dwss-cyan) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--dwss-cyan) 28%, transparent);
  border-radius: 999px;
  padding: 2px 8px;
  flex-shrink: 0;
}
.inline-buy-form { display: inline; margin: 0; padding: 0; }
.track-buy-form { display: inline-grid; vertical-align: middle; }
.track-buy-btn {
  color: var(--dwss-cyan) !important;
  border-color: color-mix(in srgb, var(--dwss-cyan) 35%, var(--dwss-border)) !important;
}
.track-buy-btn:hover {
  background: color-mix(in srgb, var(--dwss-cyan) 12%, transparent) !important;
}
.track-duration {
  text-align: right;
  color: var(--dwss-muted);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}
.track-actions { text-align: right; white-space: nowrap; }
.lyrics-jump-btn {
  margin-left: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 36px;
}
/* Keep Lyrics control visible on narrow players */
.player-controls {
  flex-wrap: wrap;
  row-gap: 8px;
}

/* ===== Lyrics panel (below playlist) ===== */
.lyrics-panel {
  position: relative;
  top: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 360px;
  max-height: min(58vh, 560px);
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, color-mix(in srgb, var(--dwss-cyan) 10%, transparent), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--dwss-panel) 92%, var(--dwss-text)) 0%, var(--dwss-panel) 100%);
  border: 1px solid var(--dwss-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.lyrics-panel-below {
  order: 2;
}
.lyrics-panel.is-collapsed,
.lyrics-panel[hidden] {
  display: none !important;
}
.lyrics-panel.is-open {
  display: flex !important;
  animation: lyrics-panel-in 0.28s ease;
}
@keyframes lyrics-panel-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.lyrics-jump-btn.is-active {
  border-color: color-mix(in srgb, var(--dwss-cyan) 40%, var(--dwss-border));
  color: var(--dwss-cyan);
  background: color-mix(in srgb, var(--dwss-cyan) 10%, transparent);
}
.lyrics-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--dwss-border);
  flex-shrink: 0;
}
.lyrics-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--dwss-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.lyrics-track-title {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.2;
}
.lyrics-track-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--dwss-muted);
}
.lyrics-head-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.lyrics-mode-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--dwss-cyan) 30%, transparent);
  color: var(--dwss-cyan);
  background: color-mix(in srgb, var(--dwss-cyan) 10%, transparent);
  white-space: nowrap;
}
.lyrics-mode-badge.is-estimated {
  border-color: color-mix(in srgb, var(--dwss-gold) 35%, transparent);
  color: var(--dwss-gold);
  background: color-mix(in srgb, var(--dwss-gold) 10%, transparent);
}
.lyrics-mode-badge.is-plain {
  border-color: var(--dwss-border);
  color: var(--dwss-muted);
  background: var(--dwss-panel-2);
}
.lyrics-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--dwss-border);
  background: var(--dwss-panel-2);
  color: var(--dwss-muted);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.lyrics-icon-btn:hover,
.lyrics-icon-btn.is-active {
  color: var(--dwss-cyan);
  border-color: color-mix(in srgb, var(--dwss-cyan) 35%, transparent);
  background: color-mix(in srgb, var(--dwss-cyan) 8%, transparent);
}
.lyrics-scroll {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 28px 8px 40px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
}
.lyrics-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px 48px;
}
.lyrics-line {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--dwss-muted) 88%, var(--dwss-text));
  font-family: var(--display);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.45;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: default;
  transition: color .2s ease, background .2s ease, transform .25s ease, opacity .2s ease;
  opacity: 0.55;
}
.lyrics-line.is-seekable { cursor: pointer; }
.lyrics-line.is-seekable:hover {
  opacity: 0.9;
  background: color-mix(in srgb, var(--dwss-text) 4%, transparent);
  color: var(--dwss-text);
}
.lyrics-line.is-past {
  opacity: 0.38;
  color: var(--dwss-muted);
}
.lyrics-line.is-active {
  opacity: 1;
  color: var(--dwss-text);
  background: color-mix(in srgb, var(--dwss-cyan) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dwss-cyan) 22%, transparent);
  transform: scale(1.02);
  font-weight: 650;
}
.lyrics-line.is-active .lyrics-line-text {
  background: linear-gradient(90deg, var(--dwss-text), color-mix(in srgb, var(--dwss-cyan) 70%, var(--dwss-text)));
  -webkit-background-clip: text;
  background-clip: text;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .lyrics-line.is-active .lyrics-line-text {
    color: transparent;
  }
}
.lyrics-line.is-upcoming { opacity: 0.62; }
.lyrics-line.is-section {
  font-size: clamp(0.78rem, 1.6vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--dwss-cyan);
  opacity: 0.75;
  padding-top: 18px;
  padding-bottom: 4px;
}
.lyrics-line.is-section.is-active {
  transform: none;
  background: transparent;
  box-shadow: none;
  color: var(--dwss-cyan);
  opacity: 1;
}
.lyrics-line.is-section .lyrics-line-text {
  background: none !important;
  color: inherit !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}
.lyrics-line.is-direction {
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-style: italic;
  opacity: 0.5;
}
.lyrics-line.is-adlib {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  opacity: 0.65;
}
.lyrics-line-time {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--dwss-muted);
  margin-bottom: 2px;
  opacity: 0;
  transition: opacity .2s;
}
.lyrics-line.is-active .lyrics-line-time,
.lyrics-line.is-seekable:hover .lyrics-line-time {
  opacity: 0.85;
  color: var(--dwss-cyan);
}
.lyrics-empty {
  text-align: center;
  color: var(--dwss-muted);
  font-size: 14px;
  padding: 48px 20px;
  margin: 0;
  line-height: 1.5;
}
.lyrics-empty[hidden],
.lyrics-lines:empty + .lyrics-empty { display: block; }
.lyrics-lines:not(:empty) ~ .lyrics-empty,
.lyrics-empty[hidden] { display: none !important; }
.lyrics-foot {
  flex-shrink: 0;
  padding: 10px 16px 12px;
  border-top: 1px solid var(--dwss-border);
  font-size: 11px;
  color: var(--dwss-muted);
  line-height: 1.4;
  background: color-mix(in srgb, var(--dwss-bg) 35%, transparent);
}
.lyrics-panel.is-synced .lyrics-foot { color: color-mix(in srgb, var(--dwss-cyan) 55%, var(--dwss-muted)); }

@media (max-width: 960px) {
  .lyrics-panel {
    max-height: min(52vh, 480px);
    min-height: 300px;
  }
}
.icon-btn {
  background: transparent;
  border: 1px solid var(--dwss-border);
  color: var(--dwss-muted);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  margin-left: 4px;
}
.icon-btn:hover {
  color: var(--dwss-cyan);
  border-color: var(--dwss-cyan);
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
  gap: 16px;
}
.artist-card {
  background: var(--dwss-panel);
  border: 1px solid var(--dwss-border);
  border-radius: var(--dwss-radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: border-color .2s;
}
.artist-card:hover { border-color: color-mix(in srgb, var(--dwss-text) 20%, transparent); }
.artist-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--dwss-panel-2);
  flex-shrink: 0;
}
.artist-photo.placeholder {
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--dwss-cyan);
  font-family: var(--display);
}

.prose { max-width: 68ch; color: var(--dwss-muted); }
.prose h1, .prose h2, .prose h3 {
  color: var(--dwss-text);
  font-family: var(--display);
}
.prose a { color: var(--dwss-cyan); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--dwss-muted);
  border: 1px dashed var(--dwss-border);
  border-radius: var(--dwss-radius);
  background: var(--dwss-panel);
}

.site-footer {
  border-top: 1px solid var(--dwss-border);
  margin-top: 40px;
  padding: 32px 0 48px;
  color: var(--dwss-muted);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}
.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  color: var(--dwss-text);
  letter-spacing: -0.5px;
}
.footer-right { text-align: right; }
.footer-loc {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--dwss-muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--dwss-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--dwss-cyan); }

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.pagination a,
.pagination span {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--dwss-border);
  color: var(--dwss-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.pagination a:hover,
.pagination .current {
  border-color: var(--dwss-cyan);
  color: var(--dwss-cyan);
}

/* Mini player — sticky industry bar */
.mini-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: color-mix(in srgb, var(--dwss-bg) 94%, #000);
  border-top: 1px solid color-mix(in srgb, var(--dwss-border) 90%, transparent);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  transform: translateY(110%);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  padding: 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}
.mini-player.visible { transform: translateY(0); }
.mini-progress {
  height: 3px;
  width: 100%;
  background: color-mix(in srgb, var(--dwss-text) 10%, transparent);
  cursor: pointer;
  position: relative;
}
.mini-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--dwss-wave-1, var(--dwss-cyan)), var(--dwss-wave-2, var(--dwss-magenta)), var(--dwss-wave-3, var(--dwss-cyan)));
  box-shadow: 0 0 10px color-mix(in srgb, var(--dwss-cyan) 45%, transparent);
  transition: width .08s linear;
}
.mini-progress:hover { height: 5px; }
.mini-inner {
  width: min(var(--dwss-maxw, 1120px), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 12px;
}
.mini-inner .np-art {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--dwss-text) 8%, transparent);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.mini-meta { flex: 1; min-width: 0; }
.mini-meta .np-title {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-meta .np-sub {
  font-size: 12px;
  color: var(--dwss-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.mini-times {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dwss-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.mini-time-sep { opacity: 0.5; margin: 0 2px; }
.mini-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.mini-play {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  flex-shrink: 0;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--dwss-cyan) 35%, transparent);
}
.mini-controls .icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}
.mini-controls .icon-btn:hover { opacity: 1; background: color-mix(in srgb, var(--dwss-text) 8%, transparent); }
.mini-queue-btn {
  position: relative;
  flex-shrink: 0;
}
.mini-queue-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--dwss-cyan, #00e5d0);
  color: #061018;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.mini-queue-panel {
  width: min(var(--dwss-maxw, 1120px), 100%);
  margin: 0 auto;
  max-height: min(40vh, 340px);
  overflow: auto;
  border-top: 1px solid var(--dwss-border);
  padding: 12px 18px 16px;
  background: color-mix(in srgb, var(--dwss-panel) 94%, #000);
  scrollbar-width: thin;
}
.mini-queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.mini-queue-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.mini-queue-head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mini-queue-hint {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--dwss-muted);
}
.mini-queue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-queue-item {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
}
.mini-queue-item.is-playing {
  border-color: color-mix(in srgb, var(--dwss-cyan) 45%, transparent);
  background: color-mix(in srgb, var(--dwss-cyan) 10%, transparent);
}
.mini-queue-play-item {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
}
.mini-queue-play-item img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.mq-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mq-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mq-sub {
  font-size: 11px;
  color: var(--dwss-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-queue-remove {
  flex-shrink: 0;
  margin-right: 4px;
}
.playlist-toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 220;
  max-width: min(92vw, 420px);
  padding: 10px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--dwss-panel) 92%, #000);
  border: 1px solid color-mix(in srgb, var(--dwss-cyan) 40%, transparent);
  color: var(--dwss-text);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  pointer-events: none;
}
body.has-mini-player { padding-bottom: 108px; }

/* Shop product player */
.product-listen-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.shop-player-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 28px 0 14px;
}
.shop-player-title {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}
.shop-player-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.release-player-stack.is-compact {
  margin-top: 8px;
  margin-bottom: 28px;
}
.product-no-stream {
  margin: 24px 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--dwss-border);
  background: var(--dwss-panel);
  color: var(--dwss-muted);
}
.product-no-stream a { color: var(--dwss-cyan); }

/* Homepage */
.pro-stats {
  border-block: 1px solid var(--dwss-border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--dwss-panel) 90%, transparent), color-mix(in srgb, var(--dwss-bg) 40%, transparent));
  margin-bottom: 8px;
}
.pro-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 22px 0;
}
.pro-stat {
  padding: 8px 12px;
  border-left: 1px solid var(--dwss-border);
}
.pro-stat:first-child { border-left: 0; }
.pro-stat-num {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--dwss-text);
  line-height: 1.1;
}
.pro-stat-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--dwss-muted);
  margin-top: 4px;
}
.pro-stat-brand .pro-stat-text {
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 4px;
  color: var(--dwss-cyan);
}
.home-section { padding-top: 36px; }
.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--dwss-muted);
  text-decoration: none;
}
.section-link:hover { color: var(--dwss-cyan); text-decoration: none; }
.pro-artist-card {
  text-decoration: none !important;
  color: inherit;
  position: relative;
  padding-right: 36px;
}
.artist-card-name { font-weight: 700; }
.artist-card-meta { font-size: 12px; color: var(--dwss-muted); margin-top: 2px; }
.artist-card-chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dwss-muted);
  font-size: 12px;
  opacity: 0.6;
}
.pro-artist-card:hover .artist-card-chevron { color: var(--dwss-cyan); opacity: 1; }

.home-cta {
  margin: 20px 0 0;
  padding: 48px 0 56px;
  border-top: 1px solid var(--dwss-border);
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, color-mix(in srgb, var(--dwss-cyan) 8%, transparent), transparent 55%),
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--dwss-panel) 60%, transparent));
}
.home-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.home-cta-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.8px;
  margin: 6px 0 10px;
}
.home-cta-text {
  color: var(--dwss-muted);
  margin: 0;
  max-width: 42ch;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.blog-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.post-card {
  background: var(--dwss-panel);
  border: 1px solid var(--dwss-border);
  border-radius: var(--dwss-radius);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
  height: 100%;
}
.post-card:hover {
  border-color: color-mix(in srgb, var(--dwss-text) 18%, transparent);
  transform: translateY(-2px);
}
.post-card-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.post-card-link:hover { text-decoration: none; }
.post-card-image {
  aspect-ratio: 16 / 9;
  background: var(--dwss-panel-2);
  position: relative;
  overflow: hidden;
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.post-card-date {
  font-size: 11px;
  color: var(--dwss-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
}
.post-card-title {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.25;
}
.post-card-excerpt {
  font-size: 14px;
  color: var(--dwss-muted);
  margin: 0;
  line-height: 1.5;
  flex: 1;
}
.post-card-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--dwss-cyan);
  margin-top: 6px;
}
.post-single { max-width: 760px; }
.post-title {
  font-family: var(--display);
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 8px 0 12px;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--dwss-muted);
  margin-bottom: 24px;
}
.post-hero-image {
  margin: 0 0 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--dwss-border);
}
.post-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}
.post-lead {
  font-size: 1.15rem;
  color: var(--dwss-muted);
  line-height: 1.55;
  margin: 0 0 24px;
  border-left: 3px solid var(--dwss-cyan);
  padding-left: 16px;
}
.post-body { font-size: 1.05rem; line-height: 1.7; }
.post-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 1rem 0; }
.post-body h2, .post-body h3 {
  color: var(--dwss-text);
  font-family: var(--display);
  margin-top: 1.5em;
}
.post-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--dwss-border);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dwss-cyan);
  color: #0a0b0f;
  padding: 10px 16px;
  z-index: 9999;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

img, video, svg { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
html, body { overflow-x: hidden; }

/* ===== Mobile / tablet =====
   Hero slides are absolute-stacked (desktop + mobile). Parent MUST keep a
   real min-height — never min-height:auto — or the slider collapses to 0. */
@media (max-width: 900px) {
  .hero-slideshow-wrap {
    width: min(1120px, calc(100% - 24px));
    margin: 14px auto 10px;
  }

  /* Fixed height so absolute slides always paint a visible stage */
  .featured-hero.hero-slideshow,
  .featured-hero.hero-slideshow.is-ready {
    min-height: clamp(480px, 78vh, 640px);
    border-radius: 16px;
  }

  /* Higher specificity than base .is-ready rules — keep absolute stack */
  .hero-slideshow.is-ready .hero-slides,
  .hero-slides {
    position: absolute;
    inset: 0;
    min-height: 100%;
    height: 100%;
  }

  .hero-slideshow.is-ready .hero-slide,
  .hero-slideshow.is-ready .hero-slide.is-active,
  .hero-slide,
  .hero-slide.is-active {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 24px 0 56px;
    align-items: center;
    box-sizing: border-box;
  }

  /* [hidden] uses display:none !important — keep active slide flex */
  .hero-slideshow.is-ready .hero-slide.is-active,
  .hero-slide.is-active {
    display: flex !important;
  }

  .featured-hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    padding-inline: 12px;
    max-height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .featured-title { max-width: none; margin-inline: auto; }
  .featured-desc {
    margin-inline: auto;
    font-size: 0.92rem;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .featured-kicker,
  .featured-meta,
  .featured-actions { justify-content: center; }
  .featured-hero-art-wrap { order: -1; }
  .featured-album { width: min(52vw, 220px); }
  .featured-album-shadow { display: none; }

  /* Larger touch targets for arrows / dots */
  .hero-nav {
    width: 44px;
    height: 44px;
    touch-action: manipulation;
  }
  .hero-nav-prev { left: 6px; }
  .hero-nav-next { right: 6px; }
  .hero-dots { bottom: 10px; gap: 10px; }
  .hero-dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
  }

  .release-hero { grid-template-columns: 1fr; gap: 20px; }
  .release-art { max-width: 280px; margin-inline: auto; }
  .volume-wrap { display: none; }
  .pro-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .pro-stat { border-left: 0; border-top: 1px solid var(--dwss-border); }
  .pro-stat:nth-child(-n+2) { border-top: 0; }
  .filters-bar,
  .toolbar,
  .catalog-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* Mobile menu backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.55);
}
body.nav-open .nav-backdrop { display: block; }
body.nav-open { overflow: hidden; }

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 130;
  }
  .site-header .header-inner {
    position: relative;
    gap: 10px;
  }
  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    order: 3;
    margin-left: auto;
  }
  .nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 88vw);
    max-height: none;
    background: var(--dwss-panel);
    border-left: 1px solid var(--dwss-border);
    border-bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: max(16px, env(safe-area-inset-top)) 14px max(20px, env(safe-area-inset-bottom));
    gap: 4px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 120;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.45);
    transform: translateX(105%);
    transition: transform .22s ease;
  }
  .nav.open {
    display: flex;
    transform: translateX(0);
  }
  .nav a,
  .nav button.nav-search {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    min-height: 48px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
  }
  .mini-times { display: none; }
  .footer-right { text-align: left; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  body.has-mini-player { padding-bottom: max(100px, calc(88px + env(safe-area-inset-bottom, 0px))); }
  .progress-wrap { width: 100%; order: 10; flex-basis: 100%; }

  .now-playing {
    padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
  }
  .track-list .track-row,
  .track-item {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 24px); }
  .header-inner { padding: 12px 0; gap: 10px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { max-width: 52vw; font-size: 0.9rem; }
  .brand-sub { max-width: 52vw; font-size: 9px; }

  .hero { padding: 36px 0 24px; }
  .hero h1 { max-width: none; font-size: 1.85rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; min-height: 44px; }

  /* Slightly shorter stage on phones; still never collapses */
  .featured-hero.hero-slideshow,
  .featured-hero.hero-slideshow.is-ready {
    min-height: clamp(440px, 82vh, 580px);
  }
  .featured-title { font-size: 1.6rem; letter-spacing: -1px; }
  .featured-album { width: min(48vw, 190px); }
  .featured-desc { display: none; } /* free vertical space for art + CTA */
  .featured-meta { font-size: 12px; }
  .hero-nav { width: 40px; height: 40px; }
  .hero-nav-prev { left: 4px; }
  .hero-nav-next { right: 4px; }

  .section { padding: 20px 0 36px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .release-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .artist-grid { grid-template-columns: 1fr; }
  .blog-grid, .blog-featured-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-brand-block { flex-wrap: wrap; }
  .btn { min-height: 44px; touch-action: manipulation; }

  .form-grid,
  .comment-form .form-grid,
  .search-form,
  .filters {
    grid-template-columns: 1fr !important;
  }

  input, select, textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    max-width: 100%;
  }

  .table-wrap,
  .data-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 380px) {
  .release-grid { grid-template-columns: 1fr; }
  .featured-hero.hero-slideshow,
  .featured-hero.hero-slideshow.is-ready {
    min-height: clamp(420px, 85vh, 560px);
  }
  .featured-album { width: min(56vw, 180px); }
  .hero-actions .btn { width: 100%; }
}

@media (min-width: 769px) {
  .nav-toggle { display: none !important; }
  .nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    max-height: none;
    flex-direction: row;
    box-shadow: none;
  }
}

/* ===== Shop / E-commerce ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.nav-cart { position: relative; }
.cart-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--dwss-cyan); color: #0a0b0f; font-size: 10px; font-weight: 800;
  margin-left: 4px;
}
.nav-cart .cart-badge {
  position: absolute; top: 2px; right: 2px; margin: 0;
}
.shop-subtitle { color: var(--dwss-muted); margin: 6px 0 0; max-width: 48ch; }
.shop-filters { margin: 0 0 22px; }
.shop-filter-row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.shop-filter-row select,
.shop-filter-row input[type="search"] {
  background: var(--dwss-panel); border: 1px solid var(--dwss-border); color: var(--dwss-text);
  border-radius: 10px; padding: 10px 12px; font: inherit; min-height: 44px;
}
.shop-filter-row input[type="search"] { flex: 1; min-width: 160px; }
.shop-featured-label {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--dwss-muted); margin-bottom: 12px;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

/* ===== Shop homepage: banner + sections ===== */
.shop-banner-wrap { margin-bottom: 8px; }
.shop-hero .shop-banner-price {
  font-weight: 800;
  color: var(--dwss-cyan);
  font-size: 1.15rem;
}
.shop-hero .shop-banner-compare {
  text-decoration: line-through;
  opacity: .7;
}
.shop-banner-add { display: inline-flex; margin: 0; }
.shop-banner-add .btn { min-height: 44px; }
.shop-page-home .shop-head { margin-bottom: 18px; }
.shop-section {
  margin: 36px 0 8px;
  padding-top: 8px;
}
.shop-section + .shop-section { border-top: 1px solid color-mix(in srgb, var(--dwss-border) 80%, transparent); padding-top: 28px; }
.shop-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.shop-section-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.shop-section-title i {
  color: var(--dwss-cyan);
  font-size: .9em;
  opacity: .9;
}
.shop-section-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--dwss-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--dwss-border);
  background: var(--dwss-panel);
  transition: color .15s, border-color .15s, background .15s;
}
.shop-section-more:hover {
  color: var(--dwss-cyan);
  border-color: color-mix(in srgb, var(--dwss-cyan) 35%, var(--dwss-border));
  text-decoration: none;
}
.shop-section-all { margin-top: 40px; }
.shop-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 18px;
}
.shop-filter-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--dwss-cyan) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--dwss-cyan) 28%, transparent);
  color: var(--dwss-cyan);
}
.shop-grid-section {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.shop-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.product-card {
  background: var(--dwss-panel);
  border: 1px solid var(--dwss-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.product-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--dwss-cyan) 30%, var(--dwss-border)); }
.product-card-link { color: inherit; text-decoration: none; flex: 1; }
.product-card-link:hover { text-decoration: none; }
.product-cover {
  position: relative; aspect-ratio: 1; background: #0c0d12; overflow: hidden;
}
.product-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  background: color-mix(in srgb, var(--dwss-bg) 85%, transparent); color: var(--dwss-cyan);
  border: 1px solid color-mix(in srgb, var(--dwss-cyan) 30%, transparent);
  padding: 4px 8px; border-radius: 6px; backdrop-filter: blur(8px);
}
.product-badge-digital { left: auto; right: 10px; }
.product-badge-bundle { top: auto; bottom: 10px; left: 10px; }
.product-badge-oos { background: color-mix(in srgb, var(--dwss-red) 20%, transparent); color: #ff8a8a; border-color: color-mix(in srgb, var(--dwss-red) 40%, transparent); }
.product-card-body { padding: 12px 14px 8px; }
.product-cat { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--dwss-muted); margin-bottom: 4px; }
.product-title { font-size: 1rem; font-weight: 650; margin: 0 0 6px; line-height: 1.25; font-family: var(--display); }
.product-excerpt { font-size: 12px; color: var(--dwss-muted); margin: 0 0 8px; line-height: 1.4; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; }
.product-price { font-weight: 800; color: var(--dwss-cyan); font-size: 1.05rem; }
.product-price-lg .product-price { font-size: 1.6rem; }
.product-compare { font-size: 13px; color: var(--dwss-muted); text-decoration: line-through; }
.product-card-actions {
  display: flex; gap: 8px; padding: 0 14px 14px; margin-top: auto;
}
.product-detail {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: start;
  margin-bottom: 28px;
}
.product-detail-art {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--dwss-border);
  background: var(--dwss-panel); box-shadow: 0 20px 40px rgba(0,0,0,.35);
}
.product-detail-art img { width: 100%; height: auto; display: block; aspect-ratio: 1; object-fit: cover; }
.product-meta-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.product-meta-pills .pill {
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  background: var(--dwss-panel-2); border: 1px solid var(--dwss-border); color: var(--dwss-text);
}
.product-meta-pills .pill.muted { color: var(--dwss-muted); }
.product-meta-pills .pill.danger { color: #ff8a8a; border-color: color-mix(in srgb, var(--dwss-red) 40%, transparent); }
.product-lead { color: var(--dwss-muted); font-size: 1.05rem; line-height: 1.55; }
.product-buy-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 18px 0; }
.product-buy-form .qty-input {
  width: 72px; background: var(--dwss-panel); border: 1px solid var(--dwss-border);
  color: var(--dwss-text); border-radius: 10px; padding: 10px; font: inherit;
}
.product-note {
  display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--dwss-muted);
  padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--dwss-cyan) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--dwss-cyan) 15%, transparent); margin: 8px 0;
}
.product-note i { color: var(--dwss-cyan); margin-top: 2px; }
.product-description { padding: 20px; border-radius: 16px; border: 1px solid var(--dwss-border); background: var(--dwss-panel); }
.product-description h2 { margin-top: 0; font-family: var(--display); font-size: 1.1rem; }
.breadcrumb { font-size: 13px; color: var(--dwss-muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.breadcrumb a { color: var(--dwss-muted); }
.cart-layout, .checkout-layout {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr); gap: 18px; align-items: start;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left; font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--dwss-muted); padding: 10px 12px; border-bottom: 1px solid var(--dwss-border);
}
.cart-table td { padding: 14px 12px; border-bottom: 1px solid var(--dwss-border); vertical-align: middle; }
.cart-item { display: flex; gap: 12px; align-items: center; }
.cart-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.cart-qty-form input { width: 64px; background: var(--dwss-panel-2); border: 1px solid var(--dwss-border); color: var(--dwss-text); border-radius: 8px; padding: 8px; }
.cart-summary h2 { margin: 0 0 14px; font-size: 1.1rem; font-family: var(--display); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin: 8px 0; color: var(--dwss-muted); }
.summary-row.summary-total { color: var(--dwss-text); font-weight: 800; font-size: 1.05rem; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--dwss-border); }
.summary-hr { border: 0; border-top: 1px solid var(--dwss-border); margin: 12px 0; }
.btn-block { display: flex; width: 100%; }
.panel { background: var(--dwss-panel); border: 1px solid var(--dwss-border); border-radius: 16px; padding: 18px; }
.checkout-form h2, .checkout-pay h2 { margin-top: 0; font-family: var(--display); font-size: 1.15rem; }
.checkout-form .form-grid, .checkout-page .form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.checkout-form .form-grid .full { grid-column: 1 / -1; }
.checkout-form label { display: block; font-size: 12px; font-weight: 700; color: var(--dwss-muted); margin-bottom: 6px; }
.checkout-form input, .checkout-form textarea, .checkout-form select {
  width: 100%; background: var(--dwss-panel-2); border: 1px solid var(--dwss-border);
  color: var(--dwss-text); border-radius: 10px; padding: 11px 12px; font: inherit; box-sizing: border-box;
}
.checkout-actions { margin-top: 18px; }
.paypal-buttons { margin-top: 14px; min-height: 48px; }
.order-hero { text-align: center; padding: 28px 20px; margin-bottom: 18px; }
.order-status-icon { font-size: 2.4rem; margin-bottom: 8px; }
.order-status-icon.ok { color: var(--dwss-cyan); }
.order-status-icon.wait { color: var(--dwss-gold); }
.order-number { color: var(--dwss-muted); margin-top: 10px; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.download-list { list-style: none; padding: 0; margin: 0; }
.download-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--dwss-border); flex-wrap: wrap;
}
.flash { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }
.flash.success { background: color-mix(in srgb, #22c55e 15%, transparent); border: 1px solid color-mix(in srgb, #22c55e 35%, transparent); }
.flash.error { background: color-mix(in srgb, var(--dwss-red) 12%, transparent); border: 1px solid color-mix(in srgb, var(--dwss-red) 35%, transparent); color: #ffb4b4; }
.empty-state { text-align: center; padding: 48px 16px; color: var(--dwss-muted); }
@media (max-width: 900px) {
  .product-detail, .cart-layout, .checkout-layout, .order-grid { grid-template-columns: 1fr; }
  .checkout-form .form-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .shop-grid { grid-template-columns: 1fr; }
}

/* ===== Cross-browser base (desktop + mobile) ===== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  -webkit-tap-highlight-color: color-mix(in srgb, var(--dwss-cyan) 18%, transparent);
}
img, video, canvas, svg { max-width: 100%; height: auto; }
.site-header, .section, .container, .player-panel, .release-player-stack,
.cart-page, .checkout-page, .shop-page, .post-single, main {
  max-width: 100%;
  min-width: 0;
}
/* Track table stays a real table on desktop */
.track-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
.track-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Desktop / laptop professional polish */
@media (min-width: 901px) {
  .container { width: min(1120px, calc(100% - 48px)); }
  .player-controls {
    flex-wrap: nowrap;
    align-items: center;
  }
  .player-controls .progress-wrap {
    flex: 1 1 auto;
    min-width: 180px;
  }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  .hero-actions .inline-buy-form {
    display: inline-flex;
  }
  .track-table {
    display: table;
    width: 100%;
  }
  .track-actions {
    white-space: nowrap;
  }
  .lyrics-panel {
    max-height: min(58vh, 560px);
  }
  .cart-layout,
  .checkout-layout {
    align-items: start;
  }
  .cart-summary {
    position: sticky;
    top: 88px;
  }
  /* Hover feedback without breaking keyboard/focus */
  .btn:focus-visible,
  .icon-btn:focus-visible,
  .nav a:focus-visible,
  .lyrics-jump-btn:focus-visible {
    outline: 2px solid var(--dwss-cyan);
    outline-offset: 2px;
  }
  a, .btn, .icon-btn {
    -webkit-user-select: text;
    user-select: text;
  }
  .btn, .icon-btn, .nav-toggle, .hero-nav, .hero-dot {
    -webkit-user-select: none;
    user-select: none;
  }
}

/* ===== Phone / tablet polish ===== */
@media (max-width: 900px) {
  .container { width: calc(100% - 28px); }
  body { overscroll-behavior-y: contain; }
  .btn, .icon-btn, .hero-nav, .hero-dot, .track-buy-btn, .lyrics-icon-btn, .nav-toggle {
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
  }
  input, select, textarea {
    font-size: 16px; /* prevent iOS zoom */
    max-width: 100%;
    border-radius: 10px;
  }
  /* Scrollable track table on small screens only */
  .track-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .hero-actions { width: 100%; }
  .hero-actions .btn,
  .hero-actions .inline-buy-form .btn {
    min-height: 44px;
    flex: 1 1 auto;
  }
  .inline-buy-form { display: flex; flex: 1 1 auto; }
  .inline-buy-form .btn { width: 100%; }
  .player-controls {
    gap: 8px;
    padding: 12px;
  }
  .player-controls .progress-wrap {
    flex: 1 1 100%;
    order: 5;
    min-width: 0;
  }
  .lyrics-jump-btn {
    min-height: 44px;
    padding-inline: 14px;
  }
  .track-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
  }
  .track-actions .icon-btn,
  .track-actions .track-buy-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
  .lyrics-panel {
    max-height: min(60vh, 520px);
    min-height: 280px;
    border-radius: 16px;
  }
  .lyrics-line {
    font-size: clamp(0.95rem, 4.2vw, 1.15rem);
    padding: 12px 12px;
  }
  .product-detail { gap: 18px; }
  .product-buy-form {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .product-buy-form .btn { flex: 1 1 auto; min-height: 46px; }
  .cart-table td, .cart-table th { padding: 10px 8px; font-size: 13px; }
  .cart-item { gap: 8px; }
  .cart-item img { width: 48px; height: 48px; }
  .cart-summary .btn-block { min-height: 48px; }
  .checkout-form input,
  .checkout-form select,
  .checkout-form textarea {
    min-height: 46px;
    font-size: 16px;
  }
  .checkout-actions .btn { width: 100%; min-height: 48px; }
  .paypal-buttons { min-height: 55px; }
  .download-list li {
    flex-direction: column;
    align-items: stretch;
  }
  .download-list .btn { width: 100%; min-height: 44px; justify-content: center; }
  .post-single { padding-inline: 0; }
  .post-hero-image { border-radius: 12px; }
  .home-cta-inner { flex-direction: column; align-items: flex-start; }
  .home-cta .btn { min-height: 46px; }
  .shop-filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-filter-row select,
  .shop-filter-row input[type="search"],
  .shop-filter-row .btn {
    width: 100%;
    min-height: 46px;
  }
}

@media (max-width: 768px) {
  .mini-player {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mini-inner {
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
    flex-wrap: wrap;
  }
  .mini-meta { min-width: 0; flex: 1 1 auto; max-width: calc(100% - 140px); }
  .mini-waveform-wrap { order: -1; flex: 1 1 100%; }
  .mini-waveform { height: 28px !important; }
  body.has-mini-player {
    padding-bottom: max(108px, calc(96px + env(safe-area-inset-bottom, 0px)));
  }
  .now-playing {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
  }
  .now-playing .np-meta { min-width: 0; flex: 1 1 140px; }
  .release-hero {
    text-align: center;
  }
  .release-meta {
    justify-content: center;
  }
  .external-links {
    justify-content: center;
  }
  .nav a {
    min-height: 48px;
  }
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 20px); }
  .brand-name { max-width: 48vw; }
  .brand-sub { max-width: 48vw; }
  .section-head h2 { font-size: 1.2rem; }
  .release-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-title { font-size: 0.88rem; }
  .player-controls button {
    width: 42px;
    height: 42px;
  }
  .player-controls button.play-main {
    width: 50px;
    height: 50px;
  }
  .track-table th:nth-child(3),
  .track-table td.track-duration {
    /* keep duration visible but compact */
    font-size: 11px;
  }
  .track-title { font-size: 0.92rem; gap: 6px; }
  .lyrics-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .lyrics-head-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .order-grid { gap: 12px; }
  .blog-grid, .blog-featured-grid {
    grid-template-columns: 1fr;
  }
  .stats, .pro-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Prevent sticky horizontal scroll jank */
  .form-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 400px) {
  .release-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .brand-sub { display: none; }
  .mini-inner .icon-btn { width: 36px; height: 36px; }
}

/* Landscape phones */
@media (max-height: 420px) and (orientation: landscape) {
  .featured-hero.hero-slideshow,
  .featured-hero.hero-slideshow.is-ready {
    min-height: min(92vh, 420px);
  }
  .lyrics-panel {
    max-height: 70vh;
  }
  .mini-waveform-wrap { display: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .lyrics-panel.is-open { animation: none; }
  .product-card, .release-card, .post-card { transition: none; }
  html { scroll-behavior: auto; }
}

/* —— Site-wide search overlay (player stays running) —— */
body.site-search-open { overflow: hidden; }
.site-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(12vh, 48px) 16px 24px;
}
.site-search-overlay[hidden] { display: none !important; }
.site-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-search-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--dwss-border) 90%, transparent);
  background: color-mix(in srgb, var(--dwss-panel) 96%, #000);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: siteSearchIn .18s ease-out;
}
@keyframes siteSearchIn {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-search-panel { animation: none; }
}
.site-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--dwss-border);
}
.site-search-icon {
  color: var(--dwss-muted);
  font-size: 15px;
  flex-shrink: 0;
}
.site-search-input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  color: var(--dwss-text) !important;
  font-size: 16px !important;
  font-weight: 500;
  padding: 8px 0 !important;
  outline: none;
  margin: 0 !important;
  box-shadow: none !important;
}
.site-search-input::placeholder { color: var(--dwss-muted); opacity: 0.85; }
.site-search-esc {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dwss-muted);
  border: 1px solid var(--dwss-border);
  border-radius: 6px;
  padding: 3px 6px;
  text-transform: uppercase;
}
.site-search-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--dwss-muted);
  cursor: pointer;
}
.site-search-status {
  padding: 8px 16px 0;
  font-size: 12px;
  color: var(--dwss-muted);
  min-height: 1.4em;
}
.site-search-results {
  flex: 1;
  overflow: auto;
  padding: 8px 10px 12px;
  scrollbar-width: thin;
}
.site-search-section { margin-bottom: 10px; }
.site-search-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--dwss-muted);
  padding: 8px 8px 6px;
}
.site-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .12s, border-color .12s;
}
.site-search-item:hover,
.site-search-item.is-active {
  background: color-mix(in srgb, var(--dwss-cyan) 10%, transparent);
  border-color: color-mix(in srgb, var(--dwss-cyan) 28%, transparent);
  text-decoration: none;
}
.site-search-item-media {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--dwss-panel-2);
  border: 1px solid color-mix(in srgb, var(--dwss-text) 6%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--dwss-cyan);
}
.site-search-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-search-item-media.is-icon {
  color: var(--dwss-muted);
  font-size: 14px;
}
.site-search-item-body { flex: 1; min-width: 0; }
.site-search-item-title {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-search-item-sub {
  font-size: 12px;
  color: var(--dwss-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.site-search-item-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--dwss-muted);
  border: 1px solid var(--dwss-border);
  border-radius: 999px;
  padding: 3px 8px;
  flex-shrink: 0;
}
.site-search-play {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: color-mix(in srgb, var(--dwss-cyan) 18%, transparent);
  color: var(--dwss-cyan);
  cursor: pointer;
}
.site-search-play:hover {
  background: var(--dwss-cyan);
  color: #061018;
}
.site-search-all {
  display: block;
  text-align: center;
  padding: 12px;
  margin: 4px 6px 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dwss-cyan);
  border: 1px dashed color-mix(in srgb, var(--dwss-cyan) 35%, transparent);
  text-decoration: none;
}
.site-search-all:hover { background: color-mix(in srgb, var(--dwss-cyan) 8%, transparent); }
.site-search-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 10px 16px 12px;
  border-top: 1px solid var(--dwss-border);
  font-size: 11px;
  color: var(--dwss-muted);
}
.site-search-foot kbd,
.search-page kbd {
  font-family: var(--mono);
  font-size: 10px;
  border: 1px solid var(--dwss-border);
  border-radius: 4px;
  padding: 1px 5px;
  margin: 0 1px;
}

/* Full search page track list */
.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.search-form input[type="search"] {
  flex: 1;
  min-width: 200px;
}
.search-heading {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 14px;
}
.search-track-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.search-track-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--dwss-border);
  background: var(--dwss-panel);
  cursor: pointer;
}
.search-track-row:hover,
.search-track-row.is-playing {
  border-color: color-mix(in srgb, var(--dwss-cyan) 40%, transparent);
  background: color-mix(in srgb, var(--dwss-cyan) 6%, var(--dwss-panel));
}
.search-track-art {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.search-track-meta { flex: 1; min-width: 0; }
.search-track-title { font-weight: 600; font-size: 14px; }
.search-track-sub { font-size: 12px; color: var(--dwss-muted); margin-top: 2px; }
.search-track-sub a { color: var(--dwss-cyan); }
.search-track-dur {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dwss-muted);
  flex-shrink: 0;
}
.search-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.search-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--dwss-border);
}
.search-list a { font-weight: 600; color: var(--dwss-text); }
.search-list a:hover { color: var(--dwss-cyan); }

/* Soft navigation progress (player shell stays mounted) */
.soft-nav-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 500;
  pointer-events: none;
  opacity: 0;
  background: transparent;
  overflow: hidden;
}
.soft-nav-progress.is-active { opacity: 1; }
.soft-nav-progress.is-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--dwss-cyan), var(--dwss-magenta, #ff00aa));
  animation: softNavSlide 0.9s ease-in-out infinite;
  box-shadow: 0 0 12px color-mix(in srgb, var(--dwss-cyan) 50%, transparent);
}
.soft-nav-progress.is-done::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  background: var(--dwss-cyan);
  animation: softNavDone 0.25s ease-out forwards;
}
@keyframes softNavSlide {
  0% { left: -40%; }
  100% { left: 100%; }
}
@keyframes softNavDone {
  from { opacity: 1; }
  to { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .soft-nav-progress.is-loading::after { animation: none; width: 100%; left: 0; opacity: 0.6; }
}

/* Soft-nav: keep UI responsive while content swaps */
body.soft-nav-busy #main-content {
  opacity: 0.78;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
body.soft-nav-busy #mini-player {
  pointer-events: auto;
}

/* ===== Public share bar ===== */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 18px 0 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--dwss-border);
  background: color-mix(in srgb, var(--dwss-panel) 88%, transparent);
  position: relative;
}
.share-bar-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--dwss-muted);
  flex-shrink: 0;
}
.share-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--dwss-border);
  background: var(--dwss-panel-2);
  color: var(--dwss-text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .15s, color .15s, background .15s;
}
.share-btn:hover {
  border-color: color-mix(in srgb, var(--dwss-cyan) 45%, var(--dwss-border));
  color: var(--dwss-cyan);
  text-decoration: none;
}
.share-btn-primary {
  background: color-mix(in srgb, var(--dwss-cyan) 16%, var(--dwss-panel-2));
  border-color: color-mix(in srgb, var(--dwss-cyan) 35%, var(--dwss-border));
  color: var(--dwss-cyan);
}
.share-btn i { font-size: 13px; }
.share-bar-toast {
  position: absolute;
  right: 12px;
  bottom: calc(100% + 6px);
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--dwss-panel-2);
  border: 1px solid var(--dwss-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--dwss-cyan);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.share-bar-toast.is-visible { display: inline-block; }
@media (max-width: 600px) {
  .share-bar { padding: 12px; }
  .share-btn span { /* keep labels on mobile for clarity */ }
  .share-bar-actions { width: 100%; }
}

/* ===== 313 LIVE radio site ===== */
:root {
  --dwss-bg: #0a0c10;
  --dwss-cyan: #00f0ff;
  --dwss-magenta: #ff00aa;
  --dwss-accent: #00f0ff;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00f0ff, #ff00aa);
  color: #000;
  font-family: var(--display);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: -1px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.18);
}
.brand-mark-sm { width: 36px; height: 36px; font-size: 0.8rem; border-radius: 12px; }
.admin-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #00f0ff, #ff00aa);
  color: #000; font-weight: 900; font-size: 0.75rem; font-family: var(--display);
}

.header-live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 11px; font-weight: 600; color: #34d399;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399;
  animation: livepulse 2s ease-in-out infinite;
  display: inline-block;
}
@keyframes livepulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.live-listeners { color: var(--dwss-muted); font-weight: 500; font-variant-numeric: tabular-nums; }

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #00f0ff, #00d4e0) !important;
  color: #041016 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.nav-cta:hover { filter: brightness(1.06); text-decoration: none !important; }

.hero-313 {
  padding: 48px 0 32px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(0,240,255,0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255,0,170,0.06), transparent 50%);
}
.hero-313-visual {
  /* Fluid layout rules live in 313-shell.css (loads after this file) */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #05070c;
  background-image:
    linear-gradient(120deg, rgba(5,7,12,0.92) 0%, rgba(5,7,12,0.78) 42%, rgba(5,7,12,0.55) 100%),
    var(--hero-bg, none);
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
.hero-313-visual .hero-313-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 75% 20%, rgba(0,240,255,0.12), transparent 55%),
    radial-gradient(ellipse 50% 45% at 15% 85%, rgba(255,0,170,0.10), transparent 50%),
    linear-gradient(to top, #05070c 0%, transparent 35%);
}
.hero-313-visual .hero-inner {
  position: relative;
  z-index: 1;
  /* Match site container — background stays full-bleed on the section */
  width: var(--container, min(72rem, calc(100% - clamp(1.25rem, 4vw, 2.5rem))));
  max-width: 100%;
  margin-inline: auto;
}
.hero-313-visual .hero-title { text-shadow: 0 2px 28px rgba(0,0,0,0.55); }
.hero-313-visual .hero-sub { color: #c8d0da; max-width: 42ch; }
.hero-313-visual .hero-panel {
  background: rgba(10, 12, 16, 0.72);
  border-color: rgba(0, 240, 255, 0.18);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
.hero-bullets {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #b8c2ce;
}
.hero-bullets i { color: #00f0ff; font-size: 0.85rem; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--dwss-muted); font-weight: 600; margin: 0 0 12px;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.hero-sub { color: var(--dwss-muted); font-size: 1.1rem; max-width: 40ch; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.glass-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  padding: 22px;
}
.hero-panel-label {
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--dwss-muted); font-weight: 600; margin-bottom: 14px;
}
.hero-panel-row { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.hero-panel-title { font-weight: 700; font-size: 1.1rem; }
.hero-panel-meta { color: var(--dwss-muted); font-size: 0.9rem; margin-top: 4px; }

.eq-mini { display: flex; align-items: flex-end; gap: 3px; height: 28px; }
.eq-mini span {
  width: 4px; border-radius: 2px; background: var(--dwss-cyan);
  animation: eq 1s ease-in-out infinite;
}
.eq-mini span:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq-mini span:nth-child(2) { height: 80%; animation-delay: .15s; }
.eq-mini span:nth-child(3) { height: 55%; animation-delay: .3s; }
.eq-mini span:nth-child(4) { height: 90%; animation-delay: .1s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #00f0ff, #00d4e0);
  color: #041016;
}
.btn-primary:hover { filter: brightness(1.05); text-decoration: none; color: #041016; }
.btn-ghost {
  background: transparent; border-color: var(--dwss-border); color: var(--dwss-text);
}
.btn-ghost:hover { border-color: var(--dwss-cyan); color: var(--dwss-cyan); text-decoration: none; }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }

.section { padding: 40px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}
.section-head h2 {
  font-family: var(--display); margin: 0; font-size: 1.4rem; letter-spacing: -0.02em;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
  gap: 16px;
}
.card {
  background: var(--dwss-panel);
  border: 1px solid var(--dwss-border);
  border-radius: 16px;
  padding: 16px;
}
.card-link { display: block; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: rgba(0,240,255,0.35); transform: translateY(-2px); text-decoration: none; color: inherit; }
.card-kicker { font-size: 11px; letter-spacing: .8px; text-transform: uppercase; color: var(--dwss-cyan); font-weight: 600; margin-bottom: 8px; }
.card-title { font-family: var(--display); font-size: 1.05rem; margin: 0 0 6px; }
.card-meta { color: var(--dwss-muted); font-size: 0.9rem; margin: 0; }

.dj-photo {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 12px;
  background: var(--dwss-panel-2);
}
.dj-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,240,255,.15), rgba(255,0,170,.12));
  font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--dwss-cyan);
}
.dj-photo-lg {
  width: 100%; max-width: 280px; aspect-ratio: 1; object-fit: cover; border-radius: 20px;
}
.dj-profile-grid {
  display: grid; grid-template-columns: 280px 1fr; gap: 32px; margin-top: 16px;
}
@media (max-width: 700px) {
  .dj-profile-grid { grid-template-columns: 1fr; }
}
.social-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.back-link { font-size: 0.9rem; color: var(--dwss-muted); }

.page-hero { padding: 36px 0 8px; }
.page-hero h1 {
  font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 8px; letter-spacing: -0.02em;
}
.page-hero .lead { color: var(--dwss-muted); margin: 0; }
.page-hero-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 48px 0 28px;
  min-height: 200px;
  background-color: #05070c;
  background-image:
    linear-gradient(105deg, rgba(5,7,12,0.94) 0%, rgba(5,7,12,0.72) 55%, rgba(5,7,12,0.5) 100%),
    var(--page-hero-bg, none);
  background-size: cover;
  background-position: center;
}
.page-hero-visual .container { position: relative; z-index: 1; }
.page-hero-visual .lead { color: #c4ccd6; max-width: 52ch; }

/* About page */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 800px) {
  .about-layout { grid-template-columns: 1fr; }
}
.about-visual {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0a0c10;
}
.about-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.about-side-card h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 10px;
}
.about-side-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--dwss-muted);
  line-height: 1.55;
}
.about-side-card li { margin-bottom: 6px; }
.about-side-card .hero-actions { margin-top: 16px; }

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: start;
  max-width: 920px;
}
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-aside h2 {
  font-family: var(--display);
  font-size: 1.1rem;
  margin: 0 0 10px;
}
.contact-aside p { color: var(--dwss-muted); margin: 0 0 12px; line-height: 1.55; }
.contact-aside ul {
  list-style: none; margin: 0 0 16px; padding: 0;
}
.contact-aside li {
  padding: 8px 0;
  border-top: 1px solid var(--dwss-border);
  color: var(--dwss-muted);
  font-size: 0.95rem;
}
.contact-aside li:first-child { border-top: 0; }
.contact-aside li strong { color: var(--dwss-text); display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px; }
.contact-aside a { color: var(--dwss-cyan); }

/* DJ cards polish */
.dj-card .card-meta { margin-top: 4px; }
.dj-photo {
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.dj-photo-lg {
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.schedule-day h2 {
  font-family: var(--display); font-size: 1rem; margin: 0 0 12px;
  color: var(--dwss-cyan);
}
.show-list { list-style: none; margin: 0; padding: 0; }
.show-list li { padding: 10px 0; border-top: 1px solid var(--dwss-border); }
.show-list li:first-child { border-top: 0; padding-top: 0; }
.show-time { font-size: 12px; color: var(--dwss-muted); font-variant-numeric: tabular-nums; }
.show-title { font-weight: 600; margin-top: 2px; }
.show-dj { font-size: 0.9rem; color: var(--dwss-muted); }
.show-desc { font-size: 0.85rem; color: var(--dwss-muted); margin: 6px 0 0; }
.show-list-flat { display: grid; gap: 10px; margin-top: 12px; }
.show-list-flat li { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }

.section-cta { padding-bottom: 56px; }
.cta-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cta-banner h2 { font-family: var(--display); margin: 0 0 6px; }
.cta-banner p { margin: 0; color: var(--dwss-muted); }

.contact-form label {
  display: block; font-size: 12px; font-weight: 600; color: var(--dwss-muted);
  text-transform: uppercase; letter-spacing: .4px; margin-bottom: 14px;
}
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--dwss-border); background: var(--dwss-panel-2);
  color: var(--dwss-text); font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--dwss-cyan);
}
.narrow { max-width: 560px; }
.empty-state { padding: 28px; text-align: center; color: var(--dwss-muted); }
.muted { color: var(--dwss-muted); }
.flash { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; }
.flash.success { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); }
.flash.error { background: rgba(227,6,19,.12); border: 1px solid rgba(227,6,19,.3); color: #ff8a8a; }
.prose { line-height: 1.65; }

.footer-copy { margin: 8px 0 0; max-width: 40ch; color: var(--dwss-muted); font-size: 0.9rem; }
.footer-email { margin: 8px 0 0; }

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--dwss-bg);
    border-bottom: 1px solid var(--dwss-border);
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 4px;
  }
  .nav.open { display: flex; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .header-live-badge { order: 3; }
}

/* ===== WordPress-like post/page content (TinyMCE output) ===== */
.prose {
  max-width: 72ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dwss-text);
}
.prose > *:first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 1.6em 0 0.5em;
}
.prose h2 { font-size: 1.55rem; }
.prose h3 { font-size: 1.25rem; }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--dwss-cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--dwss-magenta); }
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.25em 0;
  border: 1px solid var(--dwss-border);
}
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.35em; }
.prose li { margin: 0.35em 0; }
.prose blockquote {
  margin: 1.4em 0;
  padding: 0.75em 1.1em;
  border-left: 3px solid var(--dwss-cyan);
  color: var(--dwss-muted);
  background: rgba(255,255,255,0.03);
  border-radius: 0 12px 12px 0;
}
.prose pre, .prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}
.prose pre {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--dwss-panel-2);
  border: 1px solid var(--dwss-border);
  overflow-x: auto;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25em 0;
  font-size: 0.95rem;
}
.prose th, .prose td {
  border: 1px solid var(--dwss-border);
  padding: 8px 12px;
  text-align: left;
}
.prose th { background: rgba(255,255,255,0.04); }
.prose iframe, .prose video {
  max-width: 100%;
  border-radius: 12px;
  margin: 1.25em 0;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--dwss-border);
  margin: 2em 0;
}

/* Hand off sticky layout to 313-shell.css */
body.site-313.has-sticky-player { /* padding set in 313-shell.css */ }
body.site-313 .site-header { display: none !important; }
