﻿:root {
  --nb-ink: #080a0f;
  --nb-panel: #0f1318;
  --nb-surface: #141820;
  --nb-slate: #1a1f2e;
  --nb-border: rgba(255, 255, 255, 0.08);
  --nb-text: #f0f2f8;
  --nb-muted: #8892a4;
  --nb-soft: #505870;
  --nb-red: #ff3366;
  --nb-gold: #ffb800;
  --nb-cyan: #00e5ff;
  --nb-header-bg: rgba(8, 10, 15, 0.9);
  --nb-sidebar-bg: rgba(15, 19, 24, 0.98);
  --nb-bottom-bg: rgba(10, 12, 18, 0.98);
  --nb-hero-bg: radial-gradient(circle at 74% 40%, rgba(255, 184, 0, 0.2), transparent 32%), linear-gradient(135deg, #170413, #071622 58%, #080a0f);
  --nb-sidebar: 72px;
  --nb-sidebar-open: 260px;
  --nb-header: 64px;
  --nb-radius: 8px;
  --nb-shadow: 0 18px 52px rgba(0, 0, 0, 0.38);
}

[data-theme="light"] {
  --nb-ink: #f4f6fb;
  --nb-panel: #ffffff;
  --nb-surface: #eef2f8;
  --nb-slate: #e4e9f2;
  --nb-border: rgba(8, 10, 15, 0.1);
  --nb-text: #10141d;
  --nb-muted: #4d5869;
  --nb-soft: #7d8798;
  --nb-header-bg: rgba(244, 246, 251, 0.92);
  --nb-sidebar-bg: rgba(255, 255, 255, 0.98);
  --nb-bottom-bg: rgba(255, 255, 255, 0.98);
  --nb-hero-bg: radial-gradient(circle at 78% 34%, rgba(255, 184, 0, 0.24), transparent 30%), linear-gradient(135deg, #ffffff 0%, #edf4ff 52%, #fff7e1 100%);
  --nb-shadow: 0 18px 52px rgba(20, 28, 42, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.nb-home {
  margin: 0;
  min-height: 100vh;
  background: var(--nb-ink);
  color: var(--nb-text);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body.nb-home a { color: inherit; text-decoration: none; }
body.nb-home button,
body.nb-home input { font: inherit; }
body.nb-home > header.topbar,
body.nb-home > nav.bottomnav,
body.nb-home > .menuOverlay,
body.nb-home > .overlay,
body.nb-home > footer.footer {
  display: none !important;
}
.nb-layout { min-height: 100vh; }
.nb-layout::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.2s ease;
}

.nb-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--nb-sidebar);
  z-index: 50;
  background: var(--nb-sidebar-bg);
  border-right: 1px solid var(--nb-border);
  display: flex;
  flex-direction: column;
  overflow: visible;
  backdrop-filter: blur(18px);
  transition: width 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.nb-sidebar.is-open { width: var(--nb-sidebar-open); }
.nb-sidebar-head {
  height: var(--nb-header);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--nb-border);
}
.nb-sidebar:not(.is-open) .nb-sidebar-head {
  justify-content: center;
  padding: 0;
}
.nb-sidebar-toggle,
.nb-icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-surface);
  color: var(--nb-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.nb-sidebar-toggle:hover,
.nb-icon-btn:hover {
  border-color: rgba(255, 51, 102, 0.36);
  color: var(--nb-text);
  transform: translateY(-1px);
}
.nb-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--nb-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--nb-red), var(--nb-gold));
  box-shadow: 0 8px 28px rgba(255, 51, 102, 0.28);
  flex: 0 0 auto;
}
.nb-brand-text,
.nb-nav-label {
  opacity: 0;
  transform: translateX(-8px);
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.nb-sidebar:not(.is-open) .nb-brand-text,
.nb-sidebar:not(.is-open) .nb-nav-label {
  width: 0;
}
.nb-sidebar.is-open .nb-brand-text,
.nb-sidebar.is-open .nb-nav-label {
  width: auto;
  opacity: 1;
  transform: translateX(0);
}
.nb-brand-text {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}
.nb-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px;
  overflow-y: auto;
}
.nb-sidebar:not(.is-open) .nb-nav {
  overflow: visible;
}
.nb-nav-divider {
  display: block;
  height: 1px;
  margin: 8px 10px;
  background: var(--nb-border);
}
.nb-nav-link {
  min-height: 46px;
  border-radius: var(--nb-radius);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  color: var(--nb-muted);
  position: relative;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.nb-sidebar:not(.is-open) .nb-nav-link {
  justify-content: center;
  gap: 0;
  padding: 0;
}
.nb-nav-link i { width: 20px; text-align: center; font-size: 17px; flex: 0 0 auto; }
.nb-nav-link:hover,
.nb-nav-link:focus-visible,
.nb-nav-link.active {
  color: var(--nb-text);
  background: var(--nb-slate);
  box-shadow: inset 0 0 0 1px var(--nb-border);
}
.nb-nav-link.active {
  color: var(--nb-red);
  background: linear-gradient(90deg, rgba(255, 51, 102, 0.16), rgba(255, 184, 0, 0.08));
}
.nb-nav-link.active::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--nb-red);
  border-radius: 3px 0 0 3px;
}
.nb-sidebar:not(.is-open) .nb-nav-link::before {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 7px 10px;
  border-radius: var(--nb-radius);
  background: var(--nb-slate);
  color: var(--nb-text);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--nb-shadow);
  z-index: 80;
}
.nb-sidebar:not(.is-open) .nb-nav-link:hover::before { opacity: 1; }
.nb-sidebar-foot { margin-top: auto; padding: 10px; border-top: 1px solid var(--nb-border); }
.nb-sidebar-foot {
  display: flex;
  gap: 8px;
}
.nb-sidebar-foot .nb-sidebar-toggle { flex: 1 1 0; }
.nb-sidebar:not(.is-open) .nb-sidebar-foot {
  flex-direction: column;
}
.nb-sidebar:not(.is-open) .nb-sidebar-foot .nb-sidebar-toggle {
  flex: 0 0 auto;
}

.nb-main {
  margin-left: var(--nb-sidebar);
  min-height: 100vh;
  transition: margin-left 0.22s ease;
}
body.nb-sidebar-expanded .nb-main { margin-left: var(--nb-sidebar-open); }
.nb-header {
  height: var(--nb-header);
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  background: var(--nb-header-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nb-border);
}
[data-theme="light"] .nb-header { background: rgba(244, 246, 251, 0.92); }
[data-theme="light"] .nb-sidebar { background: rgba(255, 255, 255, 0.98); }
.nb-mobile-menu { display: none; }
.nb-header-brand {
  font-family: "Poppins", sans-serif;
  font-size: 21px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--nb-red), var(--nb-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.nb-search {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.nb-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nb-soft);
}
.nb-search input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--nb-border);
  border-radius: 999px;
  background: var(--nb-surface);
  color: var(--nb-text);
  padding: 0 16px 0 44px;
  outline: none;
}
.nb-search input:focus { border-color: rgba(255, 51, 102, 0.55); }
.nb-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nb-upload {
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nb-red), #c0144a);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

.nb-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 28px;
}
.nb-section { margin-bottom: 40px; }
.nb-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.nb-section-title {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 21px;
  line-height: 1.1;
}
.nb-view-all {
  color: var(--nb-soft);
  font-weight: 800;
  font-size: 12px;
}
.nb-view-all:hover { color: var(--nb-red); }

.nb-hero {
  position: relative;
  min-height: 356px;
  overflow: hidden;
  border-radius: var(--nb-radius);
  border: 1px solid var(--nb-border);
  background: var(--nb-hero-bg);
  box-shadow: var(--nb-shadow);
}
.nb-hero-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.nb-hero-track::-webkit-scrollbar { display: none; }
.nb-hero-slide {
  min-height: 356px;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
  gap: 24px;
  align-items: end;
  padding: 38px;
}
.nb-hero-copy { max-width: 680px; }
.nb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nb-red);
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.nb-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nb-red);
}
.nb-hero-title {
  margin: 0 0 8px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}
.nb-hero-meta { margin: 0 0 20px; color: var(--nb-muted); font-size: 16px; }
.nb-hero-stats { display: flex; gap: 16px; flex-wrap: wrap; color: var(--nb-muted); font-size: 13px; margin-bottom: 22px; }
.nb-hero-stats i { color: var(--nb-gold); }
.nb-hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nb-primary,
.nb-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 900;
  border: 1px solid transparent;
}
.nb-primary { background: linear-gradient(135deg, var(--nb-red), #c0144a); color: #fff; }
.nb-secondary { color: var(--nb-text); border-color: var(--nb-border); background: rgba(255, 255, 255, 0.05); }
.nb-hero-art {
  justify-self: end;
  width: min(280px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 18px;
  background: radial-gradient(circle, #20242d 0 18%, #07080b 19% 100%);
  box-shadow: 0 0 52px rgba(255, 51, 102, 0.24);
}
[data-theme="light"] .nb-hero-art {
  background: radial-gradient(circle, #f8fbff 0 18%, #d9e2ee 19% 100%);
  box-shadow: 0 0 42px rgba(255, 51, 102, 0.16);
}
.nb-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nb-slider-wrap { position: relative; }
.nb-slider-shell {
  position: relative;
  min-width: 0;
}
.nb-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(174px, 18%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 2px 2px 12px;
  scrollbar-width: thin;
}
.nb-slider-shell .nb-slider { min-width: 0; }
.nb-trending-slider { grid-auto-columns: minmax(210px, 22%); }
.nb-card {
  position: relative;
  overflow: visible;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-panel);
  min-width: 0;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.nb-card:hover { transform: translateY(-4px); border-color: rgba(255, 51, 102, 0.34); }
.nb-card-link { position: absolute; inset: 0; z-index: 2; }
.nb-card-art { aspect-ratio: 1; background: var(--nb-surface); overflow: hidden; }
.nb-card-art,
.nb-card-art img { border-radius: var(--nb-radius) var(--nb-radius) 0 0; }
.nb-card-art img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.24s ease; }
.nb-card:hover .nb-card-art img { transform: scale(1.05); }
.nb-card-body { padding: 12px 13px 14px; }
.nb-card-title {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: normal;
}
.nb-card-meta {
  margin-top: 4px;
  color: var(--nb-muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nb-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 15, 0.84);
  border: 1px solid var(--nb-border);
  font-family: "Poppins", sans-serif;
  font-weight: 900;
}
.nb-type-pill {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  border-radius: 999px;
  background: rgba(255, 51, 102, 0.9);
  color: #fff;
  font-weight: 900;
  font-size: 10px;
  padding: 5px 8px;
}
.nb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.nb-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  max-width: min(100%, 560px);
  margin-left: auto;
  margin-right: auto;
}
.nb-pagination:empty { display: none; }
.nb-pagination button {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--nb-border);
  border-radius: 999px;
  background: var(--nb-panel);
  color: var(--nb-muted);
  font-weight: 900;
  cursor: pointer;
}
.nb-page-ellipsis {
  min-width: 24px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nb-soft);
  font-weight: 900;
}
.nb-pagination button:hover,
.nb-pagination button.active {
  border-color: rgba(255, 51, 102, 0.5);
  color: var(--nb-red);
  background: rgba(255, 51, 102, 0.1);
}
.nb-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.nb-artist-card { text-align: center; padding: 16px 12px; }
.nb-artist-card .nb-card-art {
  width: 104px;
  border-radius: 999px;
  margin: 0 auto 12px;
}
.nb-artist-card .nb-card-art img { border-radius: 999px; }

.nb-side {
  position: sticky;
  top: calc(var(--nb-header) + 24px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nb-widget {
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-panel);
  overflow: hidden;
}
.nb-widget-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--nb-border);
  font-family: "Poppins", sans-serif;
  font-weight: 900;
}
.nb-list-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--nb-border);
  color: var(--nb-muted);
}
.nb-list-link:last-child { border-bottom: 0; }
.nb-list-link:hover { background: var(--nb-surface); color: var(--nb-text); }
.nb-list-link i { color: var(--nb-red); width: 18px; text-align: center; }
.nb-note { padding: 14px 16px; color: var(--nb-muted); line-height: 1.5; font-size: 13px; }
.nb-footer {
  margin: 12px 28px 0;
  padding: 24px 0 92px;
  border-top: 1px solid var(--nb-border);
  color: var(--nb-muted);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.nb-footer-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.nb-bottom-nav { display: none; }

@media (max-width: 1180px) {
  .nb-content { grid-template-columns: 1fr; }
  .nb-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root {
    --nb-sidebar: 0px;
    --nb-header: 60px;
  }
  body.nb-home {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 51, 102, 0.1), transparent 30%),
      radial-gradient(circle at 100% 20%, rgba(255, 184, 0, 0.08), transparent 28%),
      var(--nb-ink);
  }
  body.nb-menu-open { overflow: hidden; }
  body.nb-menu-open .nb-layout::after {
    background: rgba(0, 0, 0, 0.48);
    pointer-events: auto;
  }
  .nb-sidebar {
    transform: translateX(-100%);
    width: min(286px, 82vw);
    z-index: 60;
    box-shadow: 24px 0 60px rgba(0, 0, 0, 0.45);
    transition: transform 0.22s ease;
  }
  body.nb-menu-open .nb-sidebar { transform: translateX(0); }
  .nb-sidebar-head { padding: 0 14px; }
  .nb-logo-mark { width: 38px; height: 38px; }
  .nb-sidebar .nb-brand-text,
  .nb-sidebar .nb-nav-label { opacity: 1; transform: none; }
  .nb-nav { gap: 3px; padding: 10px; }
  .nb-nav-link { min-height: 44px; padding: 0 13px; font-size: 14px; }
  .nb-main,
  body.nb-sidebar-expanded .nb-main { margin-left: 0; }
  .nb-header {
    display: grid;
    grid-template-columns: 42px minmax(92px, auto) 1fr auto;
    gap: 9px;
    padding: 0 12px;
    background: var(--nb-header-bg);
    backdrop-filter: blur(24px);
  }
  .nb-mobile-menu { display: inline-flex; }
  .nb-icon-btn,
  .nb-sidebar-toggle {
    width: 38px;
    height: 38px;
    border-radius: 999px;
  }
  .nb-header-brand {
    font-size: 17px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nb-search {
    max-width: none;
    min-width: 0;
  }
  .nb-search input {
    height: 38px;
    padding-left: 38px;
    font-size: 13px;
  }
  .nb-search i { left: 14px; font-size: 13px; }
  .nb-header-actions { margin-left: 0; gap: 7px; }
  .nb-upload {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
  }
  .nb-upload span { display: none; }
  .nb-header-actions .nb-icon-btn:not(.nb-theme-toggle) { display: none; }
  .nb-header-actions .nb-theme-toggle {
    display: inline-flex;
    width: 38px;
    height: 38px;
  }
  .nb-content {
    display: block;
    padding: 14px 12px 0;
  }
  .nb-section { margin-bottom: 30px; }
  .nb-section-head { margin-bottom: 12px; }
  .nb-section-title {
    font-size: 18px;
    letter-spacing: 0;
  }
  .nb-view-all { font-size: 11px; }
  .nb-hero {
    min-height: 300px;
    margin-bottom: 30px;
    border-radius: 12px;
    background: var(--nb-hero-bg);
  }
  .nb-hero-slide {
    min-height: 300px;
    display: block;
    padding: 20px 18px;
    position: relative;
  }
  .nb-hero-copy {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 20px;
    z-index: 2;
    max-width: none;
  }
  .nb-kicker {
    font-size: 10px;
    margin-bottom: 9px;
  }
  .nb-hero-title {
    font-size: clamp(24px, 8vw, 34px);
    line-height: 1.04;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }
  .nb-hero-meta {
    font-size: 13px;
    margin-bottom: 12px;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }
  .nb-hero-stats {
    gap: 10px;
    font-size: 11px;
    margin-bottom: 14px;
  }
  .nb-primary,
  .nb-secondary {
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }
  .nb-hero-art {
    position: absolute;
    right: -38px;
    top: 36px;
    width: 190px;
    padding: 12px;
    opacity: 0.9;
  }
  .nb-hero-art::before {
    content: "";
    position: absolute;
    inset: 28%;
    border-radius: 50%;
    background: var(--nb-ink);
    z-index: 2;
    box-shadow: inset 0 0 0 8px rgba(255, 184, 0, 0.18);
    pointer-events: none;
  }
  .nb-slider,
  .nb-trending-slider {
    grid-auto-columns: minmax(138px, 45%);
    gap: 10px;
    padding-bottom: 10px;
  }
  .nb-trending-slider { grid-auto-columns: minmax(156px, 55%); }
  .nb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .nb-card {
    border-radius: 10px;
    background: var(--nb-panel);
  }
  .nb-card-body { padding: 10px 10px 11px; }
  .nb-card-title {
    font-size: 12.5px;
    line-height: 1.2;
  }
  .nb-card-meta {
    font-size: 11px;
    margin-top: 3px;
  }
  .nb-rank {
    top: 8px;
    left: 8px;
    min-width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .nb-type-pill {
    top: 8px;
    right: 8px;
    font-size: 9px;
    padding: 4px 7px;
  }
  .nb-artist-card { padding: 12px 8px; }
  .nb-artist-card .nb-card-art { width: 82px; margin-bottom: 9px; }
  .nb-side { display: none; }
  .nb-footer {
    margin: 4px 12px 0;
    padding: 18px 0 0;
    font-size: 12px;
  }
  .nb-pagination {
    gap: 6px;
    margin-top: 14px;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 2px 4px;
    scrollbar-width: none;
  }
  .nb-pagination::-webkit-scrollbar { display: none; }
  .nb-pagination button {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .nb-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(72px, 1fr);
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--nb-bottom-bg);
    border-top: 1px solid var(--nb-border);
    backdrop-filter: blur(24px);
    padding: 9px 4px calc(9px + env(safe-area-inset-bottom, 0px));
  }
  .nb-bottom-nav::-webkit-scrollbar { display: none; }
  .nb-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--nb-soft);
    font-size: 10px;
    font-weight: 800;
    min-height: 48px;
    border-radius: 8px;
    white-space: nowrap;
  }
  .nb-bottom-nav i {
    font-size: 19px;
    transition: transform 0.18s ease;
  }
  .nb-bottom-nav a.active {
    color: var(--nb-red);
    background: rgba(255, 51, 102, 0.08);
  }
  .nb-bottom-nav a.active i { transform: scale(1.08); }
}

@media (max-width: 390px) {
  .nb-header {
    grid-template-columns: 38px minmax(76px, auto) 1fr auto;
    gap: 7px;
    padding: 0 9px;
  }
  .nb-header-brand { font-size: 15px; }
  .nb-search input {
    font-size: 12px;
    padding-left: 32px;
  }
  .nb-search i { left: 11px; }
  .nb-hero-title { max-width: 100%; }
  .nb-hero-meta { max-width: 100%; }
  .nb-slider { grid-auto-columns: minmax(132px, 47%); }
  .nb-trending-slider { grid-auto-columns: minmax(150px, 58%); }
  .nb-bottom-nav a { font-size: 9px; }
}
