/* =========================================================================
   KuGuo Music — Streamline home shell
   Locked 1180px centered product layout. Compact. New ice-teal palette.
   ========================================================================= */

:root {
  --nx-bg: #06040c;
  --nx-bg-lift: #0c0814;
  --nx-panel: #100e18;
  --nx-panel-2: #171422;
  --nx-line: rgba(255, 255, 255, 0.08);
  --nx-line-2: rgba(255, 255, 255, 0.14);

  --nx-text: #f7f5ff;
  --nx-soft: #d2cce0;
  --nx-mute: #9a93ab;

  /* Colorful music palette — teal + coral + violet + amber */
  --nx-accent: #2fd6c4;
  --nx-accent-2: #5aeff0;
  --nx-accent-dim: rgba(47, 214, 196, 0.18);
  --nx-accent-glow: rgba(47, 214, 196, 0.34);
  --nx-coral: #ff6b7a;
  --nx-coral-dim: rgba(255, 107, 122, 0.18);
  --nx-violet: #a78bfa;
  --nx-violet-dim: rgba(167, 139, 250, 0.2);
  --nx-amber: #ffb84d;
  --nx-amber-dim: rgba(255, 184, 77, 0.2);
  --nx-blue: #5b8cff;
  --nx-grad-play: linear-gradient(135deg, #2fd6c4 0%, #5b8cff 52%, #a78bfa 100%);
  --nx-grad-hot: linear-gradient(135deg, #ff6b7a 0%, #ffb84d 100%);
  --nx-grad-bar: linear-gradient(90deg, #2fd6c4, #5b8cff 45%, #ff6b7a 100%);
  --nx-chart-1: #ffb84d;
  --nx-chart-2: #a78bfa;
  --nx-chart-3: #ff6b7a;

  --nx-r: 14px;
  --nx-r-sm: 10px;
  --nx-r-lg: 18px;
  --nx-pill: 999px;

  --nx-font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nx-display: "Outfit", "DM Sans", system-ui, sans-serif;
  --nx-hero-font: "Fraunces", "Outfit", Georgia, "Times New Roman", serif;
  --nx-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* CRITICAL: never grow past this on 1440 / 1920 */
  --nx-max: 1180px;
  --nx-pad: 24px;
  --nx-header-h: 64px;
  --nx-hero-h: 320px;
  --nx-player-h: 60px;
  --nx-gap: 24px;
  --nx-card: 144px;
  --nx-charts-w: 340px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
svg { display: block; flex-shrink: 0; }

.nx-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.nx-sr-only:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  padding: 10px 14px; margin: 0; clip: auto; z-index: 999;
  background: var(--nx-accent); color: #04110f; border-radius: 10px; font-weight: 700;
}

.nx-body {
  background:
    radial-gradient(ellipse 70% 45% at 12% -5%, rgba(167, 139, 250, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 40% at 88% 8%, rgba(255, 107, 122, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 35% at 70% 55%, rgba(47, 214, 196, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(255, 184, 77, 0.08), transparent 50%),
    linear-gradient(180deg, #0a0612 0%, #06040c 40%, #080612 100%);
  color: var(--nx-text);
  font-family: var(--nx-font);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

.nx-grain {
  pointer-events: none;
  position: fixed; inset: 0; z-index: 1; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* App is a normal block flow — NOT a stretching flex dashboard */
.nx-app {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: block;
}

.nx-rail,
.nx-rail-scrim,
.nx-rail-toggle,
.nx-mast,
.nx-stage { display: none !important; }

/* Shared centered rail — header / main / footer MUST share this */
.nx-wrap {
  width: 100%;
  max-width: var(--nx-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--nx-pad);
  padding-right: var(--nx-pad);
}

/* ---------- Header ---------- */
.nx-top {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--nx-header-h);
  border-bottom: 1px solid rgba(167, 139, 250, 0.12);
  background:
    linear-gradient(90deg, rgba(167,139,250,.08), rgba(47,214,196,.06), rgba(255,107,122,.07)),
    rgba(8, 6, 14, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nx-top-inner {
  height: 100%;
  max-width: var(--nx-max);
  margin: 0 auto;
  padding: 0 var(--nx-pad);
  display: flex;
  align-items: center;
  gap: 16px;
}

.nx-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.nx-brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--nx-grad-play);
  box-shadow: 0 0 0 1px rgba(167,139,250,.35), 0 0 18px rgba(47,214,196,.28);
}
.nx-brand-mark img { width: 16px; height: 16px; object-fit: contain; }
.nx-brand-word {
  font-family: var(--nx-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nx-brand-word em {
  font-style: normal;
  color: var(--nx-soft);
  font-weight: 600;
  margin-left: 4px;
}

.nx-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.nx-nav-link {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 11px;
  border-radius: var(--nx-pill);
  color: var(--nx-mute);
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.nx-nav-link:hover { color: var(--nx-text); background: rgba(255,255,255,.04); }
.nx-nav-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(47,214,196,.22), rgba(167,139,250,.2));
  box-shadow: inset 0 0 0 1px rgba(167,139,250,.35);
}

.nx-nav-more { position: relative; }
.nx-nav-more-btn {
  display: inline-flex; align-items: center; gap: 4px;
  height: 32px; padding: 0 11px; border-radius: var(--nx-pill);
  color: var(--nx-mute); font-size: 13px; font-weight: 550;
}
.nx-nav-more-btn:hover,
.nx-nav-more.is-open .nx-nav-more-btn { color: #fff; background: rgba(255,255,255,.04); }
.nx-nav-more-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  min-width: 168px; padding: 6px;
  background: #0c1018;
  border: 1px solid var(--nx-line-2);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  z-index: 90;
}
.nx-nav-more.is-open .nx-nav-more-menu { display: block; }
.nx-nav-more-menu a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--nx-soft); font-size: 13px;
}
.nx-nav-more-menu a:hover,
.nx-nav-more-menu a.is-active { background: rgba(255,255,255,.05); color: #fff; }

.nx-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.nx-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  width: 200px;
  padding: 0 12px;
  border-radius: var(--nx-pill);
  background: var(--nx-panel-2);
  border: 1px solid transparent;
  transition: border-color .18s ease;
}
.nx-search:focus-within {
  border-color: rgba(167,139,250,.45);
  background: #1a1526;
  box-shadow: 0 0 0 3px rgba(167,139,250,.12);
}
.nx-search-icon { width: 14px; height: 14px; color: var(--nx-mute); }
.nx-search input {
  width: 100%; border: 0; outline: none !important; background: transparent;
  font-size: 12.5px; color: var(--nx-text); box-shadow: none !important;
}
.nx-search input::placeholder { color: var(--nx-mute); }
.nx-search input:focus,
.nx-search input:focus-visible { outline: none !important; box-shadow: none !important; }

.nx-login {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 14px; border-radius: var(--nx-pill);
  background: var(--nx-grad-play); color: #0a0612;
  font-size: 12.5px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(91, 140, 255, 0.28);
  transition: filter .18s ease, transform .18s ease;
}
.nx-login:hover { filter: brightness(1.08); transform: translateY(-1px); }

.nx-menu-toggle {
  display: none;
  width: 36px; height: 36px; border-radius: 10px;
  place-items: center; color: var(--nx-soft);
  background: rgba(255,255,255,.04);
}

.nx-mobile-nav {
  display: none;
  border-top: 1px solid var(--nx-line);
  background: #080b11;
  padding: 10px 16px 14px;
}
.nx-mobile-nav.is-open { display: grid; gap: 4px; }
.nx-mobile-nav a {
  display: flex; align-items: center; height: 40px; padding: 0 12px;
  border-radius: 10px; color: var(--nx-soft); font-size: 14px;
}
.nx-mobile-nav a.is-active { background: var(--nx-accent-dim); color: #fff; }

/* ---------- Main shell ---------- */
.nx-shell,
.nx-canvas {
  width: 100%;
  max-width: var(--nx-max);
  margin-left: auto;
  margin-right: auto;
  padding: 20px var(--nx-pad) 48px;
}

.nx-page { padding-top: 12px; }

/* ---------- Hero ---------- */
.nx-hero {
  position: relative;
  width: 100%;
  height: var(--nx-hero-h);
  border-radius: var(--nx-r-lg);
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.18);
  background:
    radial-gradient(ellipse 55% 75% at 85% 45%, rgba(255, 107, 122, 0.28), transparent 58%),
    radial-gradient(ellipse 45% 60% at 10% 80%, rgba(91, 140, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 50% at 40% 10%, rgba(167, 139, 250, 0.2), transparent 50%),
    radial-gradient(ellipse 35% 45% at 70% 90%, rgba(47, 214, 196, 0.16), transparent 50%),
    linear-gradient(135deg, #161022 0%, #0e0a18 48%, #141028 100%);
  box-shadow: 0 18px 48px rgba(80, 40, 120, 0.22);
}

.nx-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.16; filter: blur(32px) saturate(1.45);
  transform: scale(1.2);
  pointer-events: none;
}
.nx-hero-scrim,
.nx-hero-glow { display: none; }

.nx-hero-grid {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  padding: 28px 36px;
  gap: 12px;
}

.nx-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  min-width: 0;
}
.nx-hero-copy::before {
  content: none;
  display: none;
}

.nx-hero-label {
  position: relative; z-index: 1;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--nx-grad-hot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nx-hero-title {
  position: relative; z-index: 1;
  font-family: var(--nx-hero-font);
  font-optical-sizing: auto;
  font-size: clamp(38px, 3.8vw, 50px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin-bottom: 8px;
  font-variation-settings: "SOFT" 40, "WONK" 0;
  /* NEVER truncate the featured title */
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.nx-hero-artist {
  position: relative; z-index: 1;
  font-family: var(--nx-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--nx-soft);
  margin-bottom: 8px;
}

.nx-hero-desc {
  position: relative; z-index: 1;
  font-size: 13px;
  color: var(--nx-mute);
  line-height: 1.5;
  max-width: 360px;
  margin-bottom: 18px;
}

.nx-hero-actions {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 10px;
}

.nx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: var(--nx-pill);
  font-size: 13px; font-weight: 650;
  transition: transform .18s var(--nx-ease), background .18s ease, box-shadow .18s ease;
}
.nx-btn svg { width: 13px; height: 13px; }
.nx-btn--solid {
  background: var(--nx-grad-play);
  color: #0a0612;
  box-shadow: 0 8px 24px rgba(91, 140, 255, 0.32);
}
.nx-btn--solid:hover { filter: brightness(1.08); transform: translateY(-1px); }
.nx-btn--ghost {
  background: rgba(167,139,250,.1);
  color: var(--nx-text);
  border: 1px solid rgba(167,139,250,.28);
}
.nx-btn--ghost:hover { background: rgba(255,107,122,.12); border-color: rgba(255,107,122,.35); }

.nx-hero-art {
  position: relative;
  justify-self: center;
  width: 230px;
  height: 230px;
  transition: opacity .22s ease, transform .22s ease;
}
.nx-hero-art.is-fading { opacity: 0.4; transform: scale(0.98); }

.nx-hero-artring {
  position: absolute; inset: -20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,107,122,.45), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(91,140,255,.4), transparent 55%),
    radial-gradient(circle, var(--nx-accent-glow), transparent 68%);
  filter: blur(8px);
  opacity: 0.95;
  pointer-events: none;
}

.nx-hero-vinyl {
  position: absolute;
  right: -34px; top: 50%;
  transform: translateY(-50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 28%, #1a1e28 29%, #1a1e28 32%, #0c0e14 33%),
    repeating-radial-gradient(circle at center, #151821 0 2px, #0e1016 2px 4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
  z-index: 0;
}
.nx-hero-vinyl::after {
  content: "";
  position: absolute; inset: 34%;
  border-radius: 50%;
  background: var(--vinyl-label) center / cover no-repeat, #222;
  opacity: 0.9;
}

.nx-hero-cover {
  position: relative;
  z-index: 2;
  width: 100%; height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
}
.nx-hero-cover img { width: 100%; height: 100%; object-fit: cover; }

.nx-hero-dots {
  position: absolute; left: 36px; bottom: 16px; z-index: 3;
  display: flex; gap: 6px;
}
.nx-hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  transition: width .22s ease, background .22s ease;
}
.nx-hero-dot.is-active {
  width: 16px; border-radius: 999px;
  background: var(--nx-grad-hot);
}

.nx-hero-copy.is-switching { animation: nx-fade-up .32s var(--nx-ease); }

/* ---------- Player ---------- */
.nx-deck {
  margin-top: 16px;
  width: 100%;
  height: var(--nx-player-h);
  display: grid;
  grid-template-columns: 220px 1fr 160px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: var(--nx-r);
  background:
    linear-gradient(90deg, rgba(47,214,196,.08), rgba(167,139,250,.1), rgba(255,107,122,.08)),
    var(--nx-panel);
  border: 1px solid rgba(167,139,250,.16);
  box-shadow: 0 10px 28px rgba(60, 30, 100, 0.18);
}

.nx-deck-now {
  display: flex; align-items: center; gap: 10px; min-width: 0;
}
.nx-deck-thumb {
  width: 40px; height: 40px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
  background: var(--nx-panel-2);
}
.nx-deck-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nx-deck-meta { min-width: 0; }
.nx-deck-title {
  font-size: 13px; font-weight: 650;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-deck-artist {
  font-size: 11px; color: var(--nx-mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-deck-like {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; color: var(--nx-mute); flex-shrink: 0;
}
.nx-deck-like svg { width: 14px; height: 14px; }
.nx-deck-like:hover,
.nx-deck-like.is-liked { color: var(--nx-coral); }

.nx-deck-controls {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0;
}
.nx-deck-transport { display: flex; align-items: center; gap: 2px; }
.nx-deck-btn {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; color: var(--nx-soft);
}
.nx-deck-btn svg { width: 13px; height: 13px; }
.nx-deck-btn:hover { color: #fff; background: rgba(255,255,255,.05); }
.nx-deck-btn--play {
  width: 34px; height: 34px;
  background: var(--nx-grad-play); color: #0a0612;
  box-shadow: 0 6px 18px rgba(91, 140, 255, 0.4);
}
.nx-deck-btn--play:hover { filter: brightness(1.08); transform: scale(1.04); }
.nx-deck-btn--play.is-playing { background: #fff; color: #120e1c; }

.nx-deck-progress {
  display: flex; align-items: center; gap: 8px; width: min(320px, 100%);
}
.nx-deck-time {
  font-size: 11px; color: var(--nx-mute);
  font-variant-numeric: tabular-nums; width: 32px;
}
.nx-deck-time:last-child { text-align: right; }
.nx-deck-bar {
  flex: 1; height: 3px; border-radius: 999px;
  background: rgba(255,255,255,.08); overflow: hidden; cursor: pointer;
}
.nx-deck-bar-fill {
  display: block; height: 100%; border-radius: inherit;
  background: var(--nx-grad-bar);
}

.nx-deck-extra {
  display: flex; align-items: center; gap: 6px; justify-content: flex-end;
}
.nx-deck-volume {
  display: flex; align-items: center; gap: 6px; width: 100px;
}
.nx-deck-volume .nx-deck-bar { flex: 1; }
.nx-deck-queue {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; color: var(--nx-mute);
}
.nx-deck-queue svg { width: 14px; height: 14px; }
.nx-deck-queue:hover { color: #fff; background: rgba(255,255,255,.05); }

/* ---------- Sections ---------- */
.nx-section,
.nx-panel {
  margin-top: var(--nx-gap);
}
.nx-section-head,
.nx-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.nx-section-title,
.nx-panel-title {
  font-family: var(--nx-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff 0%, #e8d9ff 40%, #9af5ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nx-section-more,
.nx-panel-more {
  font-size: 12px;
  color: var(--nx-violet);
  font-weight: 550;
}
.nx-section-more:hover,
.nx-panel-more:hover { color: var(--nx-coral); }

.nx-panel--full { margin-top: var(--nx-gap); }

/* Two-column home rows — FIXED widths, never stretch to viewport */
.nx-row {
  display: grid;
  gap: 24px;
  margin-top: var(--nx-gap);
  width: 100%;
  align-items: start;
}
.nx-row--playlists {
  grid-template-columns: minmax(0, 1fr) var(--nx-charts-w);
}
.nx-row--releases {
  grid-template-columns: minmax(0, 1fr) var(--nx-charts-w);
}
.nx-row--desk {
  grid-template-columns: minmax(0, 1fr) 340px;
}
.nx-col { min-width: 0; }
.nx-col--side { width: 100%; }
.nx-columns { display: contents; }
.nx-primary, .nx-aside { min-width: 0; }

/* ---------- Featured mosaic (large + 2x2) ---------- */
.nx-feat-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.nx-feat-hero {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--nx-panel-2);
  box-shadow: 0 14px 36px rgba(80, 40, 120, 0.22);
}
.nx-feat-hero img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s var(--nx-ease);
}
.nx-feat-hero:hover img { transform: scale(1.04); }
.nx-feat-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8,4,18,.78) 100%);
}
.nx-feat-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px 0 9px;
  border-radius: 999px;
  background: rgba(8, 4, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: var(--nx-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
.nx-feat-badge::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #fff;
  opacity: 0.95;
  flex-shrink: 0;
}
.nx-feat-cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding-right: 0;
}
.nx-feat-cap strong {
  font-family: var(--nx-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.nx-feat-cap em {
  font-family: var(--nx-font);
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}
.nx-feat-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.nx-feat-tile {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--nx-panel-2);
}
.nx-feat-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s var(--nx-ease);
}
.nx-feat-tile:hover img { transform: scale(1.05); }
.nx-feat-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,4,18,.7) 100%);
}
.nx-feat-name {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  font-family: var(--nx-display);
  font-size: 12.5px; font-weight: 650; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-feat-tile .nx-feat-badge {
  top: 8px; right: 8px;
  height: 22px;
  padding: 0 9px 0 8px;
  font-size: 11px;
  gap: 5px;
}
.nx-feat-tile .nx-feat-badge::before {
  border-width: 3.5px 0 3.5px 6px;
}

/* ---------- Chart boards ---------- */
.nx-chart-boards {
  display: grid;
  gap: 10px;
}
.nx-chart-board {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.nx-chart-tile {
  display: block;
  width: 86px; height: 86px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.nx-chart-tile img { width: 100%; height: 100%; object-fit: cover; }
.nx-chart-songs {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.nx-chart-songs li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.nx-chart-songs span {
  font-size: 12px; font-weight: 700; color: var(--nx-mute);
  font-variant-numeric: tabular-nums;
}
.nx-chart-board:nth-child(1) .nx-chart-songs li:nth-child(1) span { color: #ffb84d; }
.nx-chart-board:nth-child(2) .nx-chart-songs li:nth-child(1) span { color: #7eb6ff; }
.nx-chart-board:nth-child(3) .nx-chart-songs li:nth-child(1) span { color: #c4a3ff; }
.nx-chart-songs strong {
  display: block;
  font-size: 12.5px; font-weight: 650;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-chart-songs em {
  display: block;
  font-style: normal;
  font-size: 11px; color: var(--nx-mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- New song premiere list ---------- */
.nx-premiere-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 14px;
}
.nx-premiere-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px 28px;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 4px;
  border-radius: 10px;
  transition: background .18s ease;
}
.nx-premiere-row:hover { background: rgba(255,255,255,.04); }
.nx-premiere-art {
  width: 44px; height: 44px; border-radius: 8px; overflow: hidden;
  background: var(--nx-panel-2);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: var(--nx-mute);
}
.nx-premiere-art img { width: 100%; height: 100%; object-fit: cover; }
.nx-premiere-meta {
  min-width: 0; display: grid; gap: 2px;
}
.nx-premiere-meta strong {
  font-size: 13px; font-weight: 650;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-premiere-meta em {
  font-style: normal; font-size: 11px; color: var(--nx-mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-premiere-play,
.nx-premiere-more {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  color: transparent; font-size: 11px;
}
.nx-premiere-row:hover .nx-premiere-play {
  color: #0a0612; background: var(--nx-grad-play);
}
.nx-premiere-row:hover .nx-premiere-more {
  color: var(--nx-mute); background: rgba(255,255,255,.06);
}

/* ---------- Recommended MV board ---------- */
.nx-mv-board { display: grid; gap: 10px; }
.nx-mv-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--nx-panel-2);
}
.nx-mv-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s var(--nx-ease);
}
.nx-mv-card:hover img { transform: scale(1.04); }
.nx-mv-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,4,18,.78) 100%);
}
.nx-mv-card .nx-mv-play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
}
.nx-mv-card .nx-mv-play::before {
  content: "";
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.nx-mv-card .nx-mv-play::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #120a1c;
  margin-left: 2px;
}
.nx-mv-card:hover .nx-mv-play::before { background: var(--nx-grad-hot); }
.nx-mv-card:hover .nx-mv-play::after {
  border-color: transparent transparent transparent #0a0612;
}
.nx-mv-copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 12px 14px;
}
.nx-mv-copy strong { display: block; font-size: 13px; font-weight: 700; }
.nx-mv-copy em {
  display: block; margin-top: 3px;
  font-style: normal; font-size: 11.5px; color: rgba(255,255,255,.72);
}
.nx-mv-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.nx-mv-card--hero { max-height: 190px; }
.nx-mv-pair .nx-mv-card .nx-mv-play::before { width: 34px; height: 34px; }
.nx-mv-pair .nx-mv-copy strong { font-size: 12px; }

/* ---------- Featured playlists — FIXED 148px cards ---------- */
.nx-pl-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
}
.nx-pl-card {
  flex: 0 0 var(--nx-card);
  width: var(--nx-card);
  max-width: var(--nx-card);
  min-width: 0;
  transition: transform .22s var(--nx-ease);
}
.nx-pl-card:hover { transform: translateY(-2px); }

.nx-pl-cover {
  position: relative;
  display: block;
  width: var(--nx-card);
  height: var(--nx-card);
  border-radius: 12px;
  overflow: hidden;
  background: var(--nx-panel-2);
  margin-bottom: 8px;
}
.nx-pl-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s var(--nx-ease);
}
.nx-pl-card:hover .nx-pl-cover img { transform: scale(1.03); }
.nx-pl-card:hover .nx-pl-cover {
  box-shadow:
    0 10px 28px rgba(167, 139, 250, 0.28),
    0 0 0 1px rgba(47, 214, 196, 0.25);
}
.nx-pl-card:nth-child(2):hover .nx-pl-cover {
  box-shadow: 0 10px 28px rgba(255, 107, 122, 0.3), 0 0 0 1px rgba(255,107,122,.3);
}
.nx-pl-card:nth-child(3):hover .nx-pl-cover {
  box-shadow: 0 10px 28px rgba(255, 184, 77, 0.3), 0 0 0 1px rgba(255,184,77,.3);
}
.nx-pl-card:nth-child(4):hover .nx-pl-cover {
  box-shadow: 0 10px 28px rgba(91, 140, 255, 0.3), 0 0 0 1px rgba(91,140,255,.3);
}
.nx-pl-card:nth-child(5):hover .nx-pl-cover {
  box-shadow: 0 10px 28px rgba(47, 214, 196, 0.3), 0 0 0 1px rgba(47,214,196,.3);
}

.nx-pl-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(20, 8, 36, 0.45);
  opacity: 0;
  transition: opacity .22s ease;
  font-size: 0; color: transparent;
}
.nx-pl-play::before {
  content: "";
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--nx-grad-play);
  box-shadow: 0 8px 20px rgba(91, 140, 255, 0.45);
}
.nx-pl-play::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 11px;
  border-color: transparent transparent transparent #0a0612;
  margin-left: 2px;
}
.nx-pl-card:hover .nx-pl-play { opacity: 1; }

.nx-pl-name {
  font-size: 13px; font-weight: 650;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-pl-desc {
  font-size: 11px; color: var(--nx-mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 2px;
}
.nx-pl-meta { display: none; }

/* ---------- Hot charts ---------- */
.nx-charts { width: 100%; max-width: var(--nx-charts-w); }
.nx-rank-list { display: grid; gap: 2px; }
.nx-rank-row {
  display: grid;
  grid-template-columns: 26px 40px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 4px;
  border-radius: 10px;
  transition: background .18s ease;
}
.nx-rank-row:hover { background: rgba(255,255,255,.035); }
.nx-rank-num {
  font-size: 13px; font-weight: 650; color: var(--nx-mute);
  font-variant-numeric: tabular-nums;
}
.nx-rank-row:nth-child(1) .nx-rank-num { color: var(--nx-chart-1); }
.nx-rank-row:nth-child(2) .nx-rank-num { color: var(--nx-chart-2); }
.nx-rank-row:nth-child(3) .nx-rank-num { color: var(--nx-chart-3); }
.nx-rank-thumb {
  width: 40px; height: 40px; border-radius: 8px; overflow: hidden;
  background: var(--nx-panel-2);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: var(--nx-mute);
}
.nx-rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nx-rank-info { min-width: 0; }
.nx-rank-song {
  display: block; font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-rank-artist {
  display: block; font-size: 11px; color: var(--nx-mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-rank-play {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  color: transparent; font-size: 10px;
}
.nx-rank-row:hover .nx-rank-play {
  color: #0a0612; background: var(--nx-grad-hot);
}

.nx-chip {
  height: 28px; padding: 0 12px; border-radius: var(--nx-pill);
  font-size: 12px; font-weight: 600; color: var(--nx-mute);
  background: transparent; border: 1px solid var(--nx-line);
  transition: all .18s ease;
}
.nx-chip:hover { color: #fff; border-color: rgba(167,139,250,.35); }
.nx-chip.is-active {
  color: #0a0612;
  background: var(--nx-grad-play);
  border-color: transparent;
  box-shadow: 0 0 18px rgba(91, 140, 255, 0.25);
}
.nx-chip[data-tab="west"].is-active { background: var(--nx-grad-hot); }
.nx-chip[data-tab="kr"].is-active {
  background: linear-gradient(135deg, #a78bfa, #5b8cff);
}
.nx-chip[data-tab="jp"].is-active {
  background: linear-gradient(135deg, #ff6b7a, #a78bfa);
}

/* ---------- Chips / tracks ---------- */
.nx-chip-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px;
}
.nx-tab-panel[hidden] { display: none !important; }

.nx-track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 16px;
}
.nx-track-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 28px 24px;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 4px;
  border-radius: 10px;
  transition: background .18s ease;
}
.nx-track-card:hover { background: rgba(255,255,255,.035); }
.nx-track-cover {
  width: 40px; height: 40px; border-radius: 8px; overflow: hidden;
  background: var(--nx-panel-2);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: var(--nx-mute);
}
.nx-track-cover img { width: 100%; height: 100%; object-fit: cover; }
.nx-track-card:hover .nx-track-cover {
  box-shadow: 0 0 0 1px rgba(167,139,250,.4), 0 0 14px rgba(255,107,122,.2);
}
.nx-track-main { min-width: 0; display: grid; gap: 1px; }
.nx-track-title {
  font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-track-artist {
  font-size: 11px; color: var(--nx-mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-track-play,
.nx-track-more {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  color: transparent; font-size: 11px;
}
.nx-track-card:hover .nx-track-play {
  color: #0a0612; background: var(--nx-grad-play);
}
.nx-track-card:hover .nx-track-more { color: var(--nx-mute); }
.nx-track-more:hover { color: #fff; background: rgba(255,255,255,.06); }

/* ---------- Videos ---------- */
.nx-mv-block { display: grid; gap: 10px; }
.nx-mv {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 190px;
  background: var(--nx-panel-2);
}
.nx-mv-thumb {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s var(--nx-ease);
}
.nx-mv:hover .nx-mv-thumb { transform: scale(1.04); }
.nx-mv::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.72) 100%);
}
.nx-mv-play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  font-size: 0; color: transparent;
}
.nx-mv-play::before {
  content: "";
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  transition: transform .18s ease, background .18s ease;
}
.nx-mv-play::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 11px;
  border-color: transparent transparent transparent #0b0d12;
  margin-left: 2px; z-index: 1;
}
.nx-mv:hover .nx-mv-play::before {
  background: var(--nx-grad-hot);
  transform: scale(1.05);
}
.nx-mv:hover .nx-mv-play::after {
  border-color: transparent transparent transparent #04110f;
}
.nx-mv-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 10px 12px;
}
.nx-mv-title { font-size: 12.5px; font-weight: 650; }
.nx-mv-sub { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 2px; }
.nx-mv-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.nx-mv--sm { max-height: none; }
.nx-mv--sm .nx-mv-play::before { width: 32px; height: 32px; }
.nx-mv--sm .nx-mv-title { font-size: 11.5px; }
.nx-mv--sm .nx-mv-overlay { padding: 8px 10px; }

/* ---------- Recommended / artists / audiobooks ---------- */
.nx-rec-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.nx-rec-card { min-width: 0; }
.nx-rec-cover {
  position: relative; display: block; aspect-ratio: 1;
  border-radius: 12px; overflow: hidden; margin-bottom: 8px;
  background: var(--nx-panel-2);
}
.nx-rec-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s var(--nx-ease);
}
.nx-rec-card:hover .nx-rec-cover img { transform: scale(1.03); }
.nx-rec-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(0,0,0,.4); opacity: 0; transition: opacity .22s ease;
}
.nx-rec-play span {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--nx-grad-play); color: #0a0612; font-size: 11px;
}
.nx-rec-card:hover .nx-rec-play { opacity: 1; }
.nx-rec-title {
  font-size: 12.5px; font-weight: 650;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-rec-artist {
  font-size: 11px; color: var(--nx-mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.nx-artist-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.nx-artist-card {
  display: grid; justify-items: center; gap: 8px; text-align: center;
}
.nx-artist-card img,
.nx-artist-fallback {
  width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover; background: var(--nx-panel-2);
}
.nx-artist-fallback {
  display: grid; place-items: center;
  font-size: 16px; font-weight: 700; color: var(--nx-mute);
}
.nx-artist-card span:last-child {
  font-size: 12.5px; font-weight: 600; color: var(--nx-soft);
}
.nx-artist-card:hover img {
  box-shadow: 0 0 0 2px rgba(46, 196, 182, 0.35);
}

.nx-ab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.nx-ab-row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px; border-radius: 12px;
  background: rgba(255,255,255,.02);
  transition: background .18s ease;
}
.nx-ab-row:hover { background: rgba(255,255,255,.04); }
.nx-ab-row img {
  width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.nx-ab-meta { min-width: 0; display: grid; gap: 2px; }
.nx-ab-name {
  font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-ab-sub { font-size: 11px; color: var(--nx-mute); }

/* ---------- Lower blocks ---------- */
.nx-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px; margin-bottom: 12px;
}
.nx-fact {
  padding: 14px 16px; border-radius: 12px;
  background: var(--nx-panel); border: 1px solid var(--nx-line);
  display: grid; gap: 4px;
}
.nx-fact strong { font-size: 15px; font-weight: 700; }
.nx-fact span { font-size: 12px; color: var(--nx-mute); }
.nx-fact code { font-size: 12px; color: var(--nx-soft); }
.nx-fact a { font-size: 12px; color: var(--nx-accent-2); }

.nx-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.nx-feat-card {
  padding: 14px 16px; border-radius: 12px;
  background: var(--nx-panel); border: 1px solid var(--nx-line);
  display: grid; gap: 6px;
  transition: border-color .18s ease, transform .18s ease;
}
.nx-feat-card:hover {
  border-color: rgba(46,196,182,.3);
  transform: translateY(-2px);
}
.nx-feat-card strong { font-size: 13.5px; }
.nx-feat-card span { font-size: 12px; color: var(--nx-mute); line-height: 1.45; }

.nx-compare {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--nx-line); background: var(--nx-panel);
}
.nx-compare-row {
  display: grid; grid-template-columns: 0.7fr 1.2fr 1.2fr;
  gap: 12px; padding: 12px 16px;
  border-top: 1px solid var(--nx-line);
  font-size: 13px;
}
.nx-compare-row:first-child { border-top: 0; }
.nx-compare-row--head {
  background: rgba(255,255,255,.03);
  font-size: 12px; font-weight: 650; color: var(--nx-mute);
  text-transform: uppercase; letter-spacing: 0.04em;
}

.nx-reviews {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.nx-review {
  padding: 16px; border-radius: 12px;
  background: var(--nx-panel); border: 1px solid var(--nx-line);
}
.nx-review p { font-size: 13.5px; color: var(--nx-soft); line-height: 1.55; }
.nx-review footer { margin-top: 10px; font-size: 11.5px; color: var(--nx-mute); }

.nx-getapp {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: var(--nx-r-lg);
  background:
    radial-gradient(ellipse 50% 80% at 92% 20%, rgba(255,107,122,.22), transparent 55%),
    radial-gradient(ellipse 40% 70% at 8% 80%, rgba(91,140,255,.18), transparent 50%),
    radial-gradient(ellipse 35% 50% at 50% 0%, rgba(167,139,250,.16), transparent 50%),
    var(--nx-panel);
  border: 1px solid rgba(167,139,250,.2);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.nx-getapp-title {
  font-family: var(--nx-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff, #ffb8c0 50%, #9af5ef);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nx-getapp-lead { margin-top: 4px; color: var(--nx-mute); font-size: 13px; }
.nx-getapp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-getapp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 14px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--nx-line);
  transition: background .18s ease, border-color .18s ease;
}
.nx-getapp-btn:hover {
  background: rgba(167,139,250,.12);
  border-color: rgba(255,107,122,.4);
}
.nx-getapp-icon { width: 18px; height: 18px; }
.nx-getapp-btn strong { display: block; font-size: 13px; }
.nx-getapp-btn span span { font-size: 11px; color: var(--nx-mute); }

/* ---------- Footer ---------- */
.nx-foot {
  border-top: 1px solid rgba(167,139,250,.12);
  background:
    radial-gradient(ellipse 50% 80% at 20% 0%, rgba(91,140,255,.08), transparent 50%),
    #090612;
  margin-top: 8px;
}
.nx-foot-inner {
  max-width: var(--nx-max);
  margin: 0 auto;
  padding: 36px var(--nx-pad) 24px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
}
.nx-foot-logo {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.nx-foot-logo img { width: 28px; height: 28px; border-radius: 8px; }
.nx-foot-logo strong { font-size: 14px; }
.nx-foot-tag { font-size: 12.5px; color: var(--nx-mute); max-width: 240px; }
.nx-foot-social { display: flex; gap: 8px; margin-top: 14px; }
.nx-foot-social a {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.04); color: var(--nx-mute); font-size: 13px;
}
.nx-foot-social a:hover { color: #fff; background: var(--nx-accent-dim); }
.nx-foot-heading {
  font-size: 12px; font-weight: 700; color: var(--nx-mute);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px;
}
.nx-foot-links { display: grid; gap: 8px; }
.nx-foot-links a { font-size: 13px; color: var(--nx-soft); }
.nx-foot-links a:hover { color: #fff; }
.nx-foot-bottom {
  max-width: var(--nx-max);
  margin: 0 auto;
  padding: 14px var(--nx-pad) 22px;
  border-top: 1px solid var(--nx-line);
  font-size: 12px; color: var(--nx-mute);
}

.nx-float-dl {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 14px 0 10px; border-radius: 999px;
  background: rgba(16, 12, 28, .92);
  border: 1px solid rgba(167,139,250,.4);
  box-shadow: 0 12px 32px rgba(80, 40, 140, .4);
  backdrop-filter: blur(10px);
}
.nx-float-dl-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--nx-grad-play); color: #0a0612;
}
.nx-float-dl-icon svg { width: 14px; height: 14px; }
.nx-float-dl-text { display: grid; line-height: 1.15; }
.nx-float-dl-text strong { font-size: 12px; }
.nx-float-dl-text span { font-size: 10.5px; color: var(--nx-mute); }

/* Language (shared with i18n.css) */
.lang-btn,
.nx-rail-lang-btn {
  border-color: rgba(167, 139, 250, 0.28) !important;
}
.lang-btn:hover,
.nx-rail-lang-btn:hover,
.lang-wrap.is-open .lang-btn,
.nx-rail-lang.is-open .nx-rail-lang-btn {
  background: var(--nx-violet-dim) !important;
  border-color: rgba(255, 107, 122, 0.45) !important;
}

@keyframes nx-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nx-nav { display: none; }
  .nx-menu-toggle { display: grid; }
  .nx-search { width: 160px; }
  .nx-row--playlists,
  .nx-row--releases,
  .nx-row--desk {
    grid-template-columns: 1fr;
  }
  .nx-charts { max-width: none; }
  .nx-feat-mosaic {
    grid-template-columns: 1fr;
  }
  .nx-feat-hero { max-height: 360px; aspect-ratio: 16 / 10; }
  .nx-premiere-grid { grid-template-columns: 1fr; }
  .nx-pl-row {
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .nx-pl-card { scroll-snap-align: start; }
  .nx-rec-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx-facts, .nx-feat-grid { grid-template-columns: 1fr 1fr; }
  .nx-foot-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --nx-pad: 16px; }
  .nx-shell, .nx-canvas { padding: 14px var(--nx-pad) 40px; }
  .nx-hero { height: auto; }
  .nx-hero-grid {
    grid-template-columns: 1fr;
    padding: 22px 20px 44px;
    gap: 16px;
  }
  .nx-hero-title { font-size: 34px; }
  .nx-hero-art {
    width: 200px; height: 200px;
    justify-self: center;
  }
  .nx-hero-vinyl { right: -26px; width: 168px; height: 168px; }
  .nx-hero-dots { left: 20px; bottom: 14px; }
  .nx-deck {
    height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }
  .nx-deck-controls { width: 100%; }
  .nx-deck-progress { width: 100%; }
  .nx-deck-extra { justify-content: space-between; }
  .nx-track-grid { grid-template-columns: 1fr; }
  .nx-mv-stack { grid-template-columns: 1fr; }
  .nx-mv { max-height: none; }
  .nx-rec-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-artist-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx-ab-grid { grid-template-columns: 1fr; }
  .nx-reviews { grid-template-columns: 1fr; }
  .nx-compare-row { grid-template-columns: 1fr; gap: 4px; }
  .nx-foot-inner { grid-template-columns: 1fr; }
  .nx-brand-word em { display: none; }
  .nx-search { display: none; }
}

/* NEVER expand container on large monitors */
@media (min-width: 1440px) {
  :root { --nx-max: 1180px; }
}
@media (min-width: 1920px) {
  :root { --nx-max: 1180px; }
}
