:root {
  --live-black: #050707;
  --live-panel: #0b1010;
  --live-line: #2b3838;
  --live-ink: #f4f7f3;
  --live-muted: #9aa7a4;
  --live-cyan: #00e7df;
  --live-pink: #ff287f;
  --live-yellow: #f7ed17;
  --live-green: #25db86;
  --live-orange: #ff842d;
}

html[data-theme="dark"] body {
  background: var(--live-black);
  color: var(--live-ink);
}

.crawler-live {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(280px, 1.45fr) minmax(230px, 1fr) minmax(180px, .65fr) 120px;
  min-height: 102px;
  margin: 0;
  overflow: visible;
  border: 1px solid var(--live-line);
  border-left: 4px solid var(--live-pink);
  background: #080c0c;
  color: var(--live-ink);
}

.crawler-live::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -4px;
  width: 4px;
  background: var(--live-pink);
  box-shadow: 0 0 20px rgba(255, 40, 127, .9);
}

.crawler-live > * {
  min-width: 0;
  border-right: 1px solid var(--live-line);
}

.crawler-live-kicker,
.crawler-live-artist,
.crawler-live-progress,
.crawler-live-meta {
  display: flex;
  align-items: center;
  padding: 16px 18px;
}

.crawler-live-kicker {
  gap: 10px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.crawler-live-kicker strong { color: var(--live-pink); }
.crawler-live-bolt { color: var(--live-yellow); font-size: 26px; }

.crawler-live-artist {
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.crawler-live-artwork {
  position: relative;
  display: grid;
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid #314747;
  background: #0b1212;
}

.crawler-live-artwork img { width: 100%; height: 100%; object-fit: cover; }
.crawler-live-artwork img[hidden],
.crawler-live-placeholder[hidden] { display: none; }
.crawler-live-placeholder { position: relative; display: block; width: 30px; height: 30px; border: 2px solid rgba(32, 220, 225, .38); border-radius: 50%; }
.crawler-live-placeholder::before,
.crawler-live-placeholder::after { content: ""; position: absolute; top: 50%; left: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.crawler-live-placeholder::before { width: 14px; height: 14px; border: 2px solid #20dce1; }
.crawler-live-placeholder::after { width: 6px; height: 6px; background: #2cdf82; box-shadow: 0 0 12px #2cdf82; }
.crawler-live[data-live="false"] .crawler-live-placeholder::before { animation: crawler-idle-ring 2s ease-out infinite; }
@keyframes crawler-idle-ring { 70%, 100% { width: 24px; height: 24px; opacity: 0; } }
#crawler-live-artist,
#crawler-live-sheet-artist { font-family: Arial, Helvetica, sans-serif !important; font-weight: 900; letter-spacing: 0; }

.crawler-live-copy,
.crawler-live-sheet-current > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.crawler-live-copy small,
.crawler-live-sheet-current small {
  color: var(--live-cyan);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.crawler-live-copy strong,
.crawler-live-sheet-current strong {
  overflow: hidden;
  color: #fff;
  font-size: 21px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crawler-live-copy > span,
.crawler-live-sheet-current > div > span {
  overflow: hidden;
  color: var(--live-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crawler-live-progress {
  align-content: center;
  display: grid;
  gap: 10px;
}

.crawler-live-progress-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.crawler-live-progress-label strong { font-size: 16px; }
.crawler-live-progress-label span { color: var(--live-yellow); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.crawler-live-track,
.crawler-live-sheet-progress { height: 7px; overflow: hidden; background: #202828; }
.crawler-live-track span,
.crawler-live-sheet-progress span { display: block; width: 0; height: 100%; background: var(--live-cyan); box-shadow: 0 0 14px rgba(0, 231, 223, .75); transition: width .45s ease; }
.crawler-live-status { display: flex; align-items: center; gap: 7px; color: var(--live-muted); font-weight: 700; }
.crawler-live-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--live-green); box-shadow: 0 0 10px var(--live-green); }
.crawler-live[data-live="true"] .crawler-live-status i { animation: live-pulse 1.5s infinite; }

@keyframes live-pulse { 50% { opacity: .35; transform: scale(.7); } }

.crawler-live-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.crawler-live-meta > span { display: grid; gap: 2px; min-width: 0; }
.crawler-live-meta small { color: var(--live-muted); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .8px; }
.crawler-live-meta strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }

.crawler-live-actions { display: grid; grid-template-rows: 1fr 1fr; min-width: 0; border-right: 0 !important; }
.crawler-live-submit { display: flex; min-width: 0; align-items: center; justify-content: center; padding: 8px; border: 0; border-bottom: 1px solid var(--live-line); background: var(--live-yellow); color: #080a09; cursor: pointer; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.crawler-live-submit:hover,
.crawler-live-submit:focus-visible { background: #fff82a; outline: 2px solid #fff; outline-offset: -3px; }
.crawler-live-submit b { display: none; }
.crawler-live-queue { position: relative; min-height: 0; border-right: 0; }
.crawler-live-queue > summary {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px;
  color: var(--live-ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  list-style: none;
  text-transform: uppercase;
}
.crawler-live-queue > summary::-webkit-details-marker { display: none; }
.crawler-live-queue > summary b { color: var(--live-cyan); font-size: 17px; }
.crawler-live-sheet {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  width: 390px;
  padding: 20px;
  border: 1px solid var(--live-cyan);
  background: #080c0c;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .7);
}
.crawler-live-queue:not([open]) > .crawler-live-sheet { display: none !important; }
.crawler-live-sheet-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.crawler-live-sheet-heading > div { display: grid; gap: 3px; }
.crawler-live-sheet-heading small,
.crawler-live-up-next > small { color: var(--live-pink); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.crawler-live-sheet-heading strong { font-size: 20px; text-transform: uppercase; }
.crawler-live-sheet-heading button { width: 34px; height: 34px; border: 1px solid var(--live-line); background: transparent; color: #fff; cursor: pointer; font-size: 25px; }
.crawler-live-sheet-current { display: flex; gap: 13px; align-items: center; }
.crawler-live-sheet-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 18px 0 12px; background: var(--live-line); }
.crawler-live-sheet-stats span { display: grid; gap: 5px; padding: 12px; background: #101515; }
.crawler-live-sheet-stats small { color: var(--live-muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.crawler-live-sheet-stats strong { font-size: 16px; }
.crawler-live-up-next { margin-top: 18px; }
.crawler-live-up-next ol { display: grid; gap: 1px; margin: 8px 0 0; padding: 0; list-style: none; background: var(--live-line); }
.crawler-live-up-next li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; background: #101515; }
.crawler-live-up-next li .crawler-live-artwork { width: 38px; height: 38px; background: #090d0d; }
.crawler-live-up-next li span { color: var(--live-cyan); font-size: 11px; }
.crawler-live-up-next li strong { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crawler-live-sheet-dismiss { width: 100%; min-height: 48px; margin-top: 18px; border: 1px solid #687170; border-radius: 4px; background: transparent; color: #d8dcda; font-size: 16px; font-weight: 900; cursor: pointer; }

.songs-table { width: 100%; table-layout: fixed; }
.songs-table th:nth-child(1) { width: 39%; }
.songs-table th:nth-child(2) { width: 30%; }
.songs-table th:nth-child(3) { width: 17%; }
.songs-table th:nth-child(4) { width: 14%; }
.jukebox-song-title,
.jukebox-release-ribbon,
.theme-pill-label {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
.jukebox-release-ribbon { display: block !important; width: 100% !important; font-size: 11px !important; }
.song-play-links { min-width: 42px !important; }

@media (min-width: 1121px) {
  .app-shell {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--live-black) !important;
    box-shadow: none !important;
  }

  .sidebar {
    position: static !important;
    display: grid !important;
    width: 100% !important;
    max-height: none !important;
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 18px 24px 12px !important;
    overflow: visible !important;
    border: 0 !important;
    background: var(--live-black) !important;
  }

  .sidebar-mobile-header {
    display: grid !important;
    grid-template-columns: 250px minmax(280px, 1fr) auto;
    align-items: center;
    gap: 22px;
  }

  .sidebar .brand { width: 235px !important; height: 76px !important; }
  .sidebar .brand img { width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: left center !important; }
  .sidebar .search-wrap { grid-column: 2; grid-row: 1; width: 100%; }
  .sidebar .mobile-utility-actions { display: flex !important; grid-column: 3; grid-row: 1; }
  .sidebar .mobile-catalog-actions { display: none !important; }
  .nav-stack { display: grid !important; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap: 8px !important; }
  .nav-section-label { display: none !important; }
  .nav-button { min-height: 42px !important; }
  .desktop-artist-rankings,
  .sidebar-year-explorer { display: none !important; }

  .workspace {
    width: 100% !important;
    max-width: none !important;
    padding: 0 24px 38px !important;
    background: var(--live-black) !important;
  }

  .topbar {
    min-height: 48px !important;
    padding: 5px 0 10px !important;
    border: 0 !important;
    background: transparent !important;
  }
  .topbar-identity { display: none !important; }
  .topbar-actions { width: 100%; justify-content: flex-end !important; }
  .desktop-catalog-stat { margin-right: auto; }
  .artist-marquee { margin: 10px 0 18px !important; border-color: var(--live-line) !important; background: #080c0c !important; }

  .dashboard-grid { grid-template-columns: minmax(0, 1.45fr) minmax(520px, 1fr) !important; gap: 18px !important; }
  .dashboard-column {
    display: grid !important;
    grid-column: auto !important;
    align-content: start !important;
    gap: 18px !important;
    min-width: 0 !important;
  }
  .hero-card,
  .cluster-panel,
  .leaderboard-panel,
  .albums-panel,
  .pipeline-panel {
    grid-column: auto !important;
    grid-row: auto !important;
    min-width: 0 !important;
  }
  .hero-card,
  .cluster-panel,
  .leaderboard-panel,
  .albums-panel,
  .pipeline-panel,
  .profile-rankings-section,
  .discovery-section {
    border: 1px solid var(--live-line) !important;
    border-radius: 0 !important;
    background: var(--live-panel) !important;
    color: var(--live-ink) !important;
    box-shadow: none !important;
  }
  .hero-card { grid-template-columns: minmax(260px, .8fr) minmax(360px, 1.2fr) !important; }
  .cluster-panel { min-height: 700px !important; }
  .artist-copy {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
  }
  .artist-copy h2 { color: var(--live-pink) !important; font-size: clamp(40px, 4.6vw, 82px) !important; line-height: .92 !important; }
  .artist-bio,
  .artist-bio-detail,
  .metric-label { color: var(--live-muted) !important; }
  .metric-row > div { border-color: var(--live-line) !important; background: #101515 !important; }
  .metric-value { color: var(--live-ink) !important; }
  .portrait { border-radius: 0 !important; background: #111 !important; }
  .portrait img { filter: saturate(.82) contrast(1.06); }
  .rank-strip { border-radius: 0 !important; background: var(--live-yellow) !important; color: #060606 !important; }
  .section-heading,
  .panel-heading,
  .profile-ranking-heading { border-color: var(--live-line) !important; }
  .song-table th,
  .song-table td,
  .songs-table th,
  .songs-table td,
  .profile-ranking-table th,
  .profile-ranking-table td { border-color: var(--live-line) !important; color: var(--live-ink) !important; }
  .song-table tbody tr:nth-child(even),
  .songs-table tbody tr:nth-child(even),
  .profile-ranking-table tbody tr:nth-child(even) { background: #101515 !important; }
  .leaderboard-panel .table-wrap { background: #080c0c !important; }
  .songs-table tbody tr { background: #0d1212 !important; }
  .songs-table .song-title-cell { font-size: 15px !important; }
}

@media (max-width: 1120px) {
  .crawler-live { grid-template-columns: 125px minmax(240px, 1.25fr) minmax(210px, 1fr) 160px 95px; }
  .crawler-live-kicker,
  .crawler-live-artist,
  .crawler-live-progress,
  .crawler-live-meta { padding: 12px; }
}

@media (max-width: 720px) {
  body { min-width: 0 !important; background: var(--live-black) !important; }
  .app-shell { width: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--live-black) !important; }
  .sidebar { padding: 10px 12px 8px !important; border: 0 !important; background: var(--live-black) !important; }
  .sidebar-mobile-header { grid-template-columns: 116px minmax(0, 1fr) !important; gap: 9px !important; }
  .sidebar .brand { grid-column: 1 !important; grid-row: 1 !important; width: 116px !important; height: 64px !important; }
  .sidebar .brand img { width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: left center !important; }
  .sidebar .search-wrap { grid-column: 2 !important; grid-row: 1 !important; min-width: 0 !important; }
  .sidebar .mobile-utility-actions { grid-column: 1 / -1 !important; grid-row: 2 !important; justify-self: end !important; min-height: 30px !important; }
  .sidebar .mobile-catalog-actions { grid-column: 1 / -1 !important; grid-row: 3 !important; }
  .nav-stack { display: flex !important; gap: 7px !important; overflow-x: auto !important; padding: 6px 0 8px !important; scrollbar-width: none; }
  .nav-stack::-webkit-scrollbar { display: none; }
  .nav-section-label { display: none !important; }
  .nav-button { flex: 0 0 auto !important; width: auto !important; min-width: 102px !important; min-height: 36px !important; padding: 7px 12px !important; }
  .workspace { padding: 0 12px 26px !important; background: var(--live-black) !important; }
  .topbar { display: none !important; }

  .crawler-live {
    grid-template-columns: 42px minmax(0, 1fr) 88px 38px;
    min-height: 68px;
    border-left-width: 3px;
  }
  .crawler-live::before { left: -3px; width: 3px; }
  .crawler-live-kicker { justify-content: center; padding: 8px 4px; }
  .crawler-live-kicker > span:last-child { display: none; }
  .crawler-live-bolt { font-size: 21px; }
  .crawler-live-artist { gap: 8px; padding: 8px; }
  .crawler-live-artist .crawler-live-artwork { width: 43px; height: 43px; border-width: 1px; }
  .crawler-live-copy { gap: 1px; }
  .crawler-live-copy small { font-size: 7px; letter-spacing: .5px; }
  .crawler-live-copy strong { font-size: 14px; }
  .crawler-live-copy > span { font-size: 10px; }
  .crawler-live-progress { gap: 7px; padding: 8px; }
  .crawler-live-progress-label { display: grid; gap: 1px; }
  .crawler-live-progress-label strong { font-size: 10px; }
  .crawler-live-progress-label span { font-size: 8px; }
  .crawler-live-track { height: 4px; }
  .crawler-live-status { font-size: 8px; gap: 4px; }
  .crawler-live-status i { width: 5px; height: 5px; }
  .crawler-live-meta { display: none; }
  .crawler-live-queue > summary { padding: 4px; }
  .crawler-live-queue > summary span { display: none; }
  .crawler-live-queue > summary b { font-size: 19px; }
  .crawler-live-sheet {
    position: fixed;
    z-index: 1000;
    inset: auto 0 0;
    width: 100%;
    max-height: min(78vh, 620px);
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border: 0;
    border-top: 3px solid var(--live-cyan);
    background: #070a0a;
    box-shadow: 0 -20px 55px rgba(0, 0, 0, .88);
  }
  .crawler-live-sheet-current .crawler-live-artwork { width: 72px; height: 72px; }
  .crawler-live-sheet-current strong { font-size: 22px; }
  .crawler-live-sheet-stats { margin-top: 16px; }
  .crawler-live-sheet-stats span { padding: 10px 8px; }
  .crawler-live-sheet-stats strong { font-size: 14px; }

  .artist-marquee { margin: 8px 0 12px !important; border-color: var(--live-line) !important; background: #080c0c !important; }
  .marquee-label { background: var(--live-black) !important; }
  .hero-card,
  .cluster-panel,
  .leaderboard-panel,
  .albums-panel,
  .pipeline-panel,
  .profile-rankings-section,
  .discovery-section { border-radius: 0 !important; border-color: var(--live-line) !important; box-shadow: none !important; }
  .hero-card {
    display: grid !important;
    grid-template-columns: minmax(130px, 44%) minmax(0, 56%) !important;
    align-items: start !important;
    background: var(--live-panel) !important;
    color: var(--live-ink) !important;
  }
  .dashboard-column { display: contents !important; }
  .artist-visual,
  .artist-copy {
    display: contents !important;
    min-width: 0 !important;
  }
  .portrait {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 270px !important;
    border-radius: 0 !important;
    aspect-ratio: auto !important;
  }
  .portrait img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .rank-strip { display: none !important; }
  .cluster-signal-card { grid-column: 1 / -1 !important; grid-row: 3 !important; }
  .artist-copy .section-heading {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    align-self: start !important;
    min-width: 0 !important;
    padding: 10px 8px !important;
  }
  .artist-bio { grid-column: 1 / -1 !important; grid-row: 4 !important; margin: 0 !important; padding: 14px 12px 6px !important; }
  .artist-bio-detail { grid-column: 1 / -1 !important; grid-row: 5 !important; margin: 0 !important; padding: 4px 12px 10px !important; }
  .profile-actions { grid-column: 1 / -1 !important; grid-row: 6 !important; padding: 0 12px 10px !important; }
  .artist-copy h2 { color: var(--live-pink) !important; font-size: clamp(25px, 8vw, 42px) !important; line-height: .94 !important; overflow-wrap: anywhere; }
  .artist-bio { font-size: 12px !important; line-height: 1.45 !important; }
  .artist-bio-detail { font-size: 10px !important; }
  .metric-row { grid-column: 1 / -1 !important; grid-row: 7 !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .metric-row > div { border-radius: 0 !important; background: #101515 !important; }
  .metric-value { color: var(--live-ink) !important; }
  .metric-label,
  .artist-bio,
  .artist-bio-detail { color: var(--live-muted) !important; }
  .profile-rank-summary { grid-template-columns: 1fr !important; }
  .profile-rank-pill { min-width: 0 !important; padding: 6px !important; }
}

@media (max-width: 390px) {
  .sidebar-mobile-header { grid-template-columns: 96px minmax(0, 1fr) !important; }
  .sidebar .brand { width: 96px !important; }
  .crawler-live { grid-template-columns: 34px minmax(0, 1fr) 78px 34px; }
  .crawler-live-artist .crawler-live-artwork { width: 37px; height: 37px; }
  .crawler-live-copy strong { font-size: 12px; }
  .crawler-live-progress-label strong { font-size: 9px; }
  .hero-card { grid-template-columns: minmax(112px, 42%) minmax(0, 58%) !important; }
}

/* Reference-layout rebuild. This block intentionally supersedes the legacy dashboard shell. */
.editorial-wordmark,
.editorial-site-nav,
.editorial-overview { display: none; }

@media (min-width: 901px) {
  body { background: #050808 !important; }
  .app-shell { max-width: none !important; background: #050808 !important; }
  .sidebar { gap: 0 !important; padding: 0 !important; border-bottom: 1px solid #303838 !important; }
  .sidebar-mobile-header {
    min-height: 88px;
    grid-template-columns: 305px minmax(320px, 450px) minmax(0, 1fr) !important;
    gap: 20px !important;
    padding: 14px 26px !important;
    border-bottom: 1px solid #303838;
  }
  .sidebar .brand { display: flex !important; width: 300px !important; height: 58px !important; align-items: center; text-decoration: none; }
  .sidebar .brand img { display: none !important; }
  .editorial-wordmark { display: flex; align-items: baseline; white-space: nowrap; font-family: Impact, "Arial Narrow", sans-serif; font-style: normal; letter-spacing: 0; }
  .editorial-wordmark b { color: #ff2f80; font-size: 52px; font-weight: 900; }
  .editorial-wordmark strong { color: #f4f5f1; font-size: 52px; font-weight: 900; }
  .editorial-wordmark i { color: #f3ea22; font-size: 21px; font-weight: 900; font-style: normal; }
  .sidebar .search-wrap { grid-column: 2 !important; grid-row: 1 !important; }
  .catalog-search-label { height: 50px !important; border: 1px solid #4b5555 !important; border-radius: 3px !important; background: #101616 !important; box-shadow: none !important; }
  #artist-search { color: #f4f5f1 !important; font-size: 16px !important; }
  .editorial-site-nav {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(9px, 1vw, 17px);
    font-family: Impact, "Arial Narrow", sans-serif;
    text-transform: uppercase;
  }
  .editorial-site-nav a,
  .editorial-site-nav button { border: 0; background: none; color: #f2f4f1; font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; }
  .editorial-site-nav a:hover { color: #20dce1; }
  .editorial-header-count { display: grid; min-width: 78px; padding-left: 18px; border-left: 1px solid #4b5555; line-height: 1; }
  .editorial-header-count strong { color: #20dce1; font-size: 17px; }
  .editorial-header-count small { margin-top: 4px; color: #8d9896; font: 700 8px Arial, sans-serif; }
  .editorial-sign-up { padding: 14px 16px !important; border-radius: 3px !important; background: #f3ea22 !important; color: #080a09 !important; }
  .editorial-tagline { color: #2cdf82; font-size: 14px; line-height: .95; }
  .editorial-tagline::first-line { color: #2cdf82; }
  .sidebar .mobile-utility-actions,
  .mobile-catalog-actions,
  .mobile-artist-picker { display: none !important; }

  .nav-stack {
    display: grid !important;
    grid-template-columns: .72fr repeat(10, 1fr) .95fr !important;
    gap: 0 !important;
    min-height: 64px;
    padding: 0 24px !important;
    overflow: hidden;
    background: #070b0b;
  }
  .nav-stack .nav-item {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 64px !important;
    justify-content: center !important;
    padding: 0 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #cbd0ce !important;
    font-family: Impact, "Arial Narrow", sans-serif !important;
    font-size: 18px !important;
    text-transform: uppercase;
    text-decoration: none;
  }
  .nav-stack .nav-item:hover,
  .nav-stack .nav-item.is-active,
  .nav-stack .editorial-genre-all { color: #20dce1 !important; }
  .nav-stack .editorial-genre-all { margin: 10px 0; min-height: 44px !important; border: 2px solid #20dce1 !important; }
  .nav-stack .editorial-genre-more { margin: 10px 0; min-height: 44px !important; border: 1px solid #596262 !important; }
  .nav-stack svg { display: none !important; }
  .desktop-artist-rankings,
  .sidebar-year-explorer,
  .topbar,
  .artist-marquee,
  .dashboard-grid,
  .artist-discovery { display: none !important; }
  .workspace { padding: 0 0 32px !important; }

  .crawler-live {
    grid-template-columns: 30% 24% 27% 10% 9% !important;
    min-height: 128px !important;
    border-width: 0 0 1px !important;
    border-color: #3a4242 !important;
    background: #070b0b !important;
  }
  .crawler-live::before { display: none; }
  .crawler-live-kicker {
    gap: 18px !important;
    justify-content: flex-start;
    padding: 18px 28px !important;
    border-right: 1px solid #566060 !important;
    font-family: Impact, "Arial Narrow", sans-serif;
    font-size: clamp(45px, 4vw, 69px) !important;
    line-height: .9;
  }
  .crawler-live-kicker strong { color: #20dce1 !important; }
  .crawler-live-kicker > span:last-child { color: #ff2f80; }
  .crawler-live-bolt { color: #20dce1 !important; font-size: 70px !important; }
  .crawler-live-artist { padding: 14px 24px !important; border-right: 0 !important; }
  .crawler-live-artist .crawler-live-artwork { width: 96px !important; height: 96px !important; border: 0 !important; }
  .crawler-live-artist .crawler-live-artwork img { filter: grayscale(.15) contrast(1.08); }
  .crawler-live-copy small { color: #f3ea22 !important; font-family: Impact, "Arial Narrow", sans-serif; font-size: 17px !important; }
  .crawler-live-copy strong { font-family: Arial, Helvetica, sans-serif; font-size: 24px !important; font-weight: 900; }
  .crawler-live-copy > span { color: #20dce1 !important; font-size: 18px !important; font-weight: 900; }
  .crawler-live-progress { padding: 22px 30px !important; border-right: 1px solid #566060 !important; }
  .crawler-live-progress-label strong { font-size: 18px !important; }
  .crawler-live-progress-label span { display: none; }
  .crawler-live-track { height: 16px !important; border-radius: 4px; }
  .crawler-live-status { color: #2cdf82 !important; font-size: 17px !important; }
  .crawler-live-meta { grid-template-columns: 1fr !important; gap: 5px !important; padding: 18px 16px !important; border-right: 1px solid #566060 !important; }
  .crawler-live-meta > span:first-child small { display: none; }
  .crawler-live-meta > span:first-child strong { font-size: 25px !important; }
  .crawler-live-meta > span:last-child { display: flex; gap: 5px; align-items: center; }
  .crawler-live-meta small { font-size: 11px !important; }
  .crawler-live-meta strong { font-size: 14px !important; }
  .crawler-live-actions { grid-template-rows: 1fr 1fr; }
  .crawler-live-submit { padding-inline: 3px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: 0; line-height: 1.1; white-space: nowrap; }
  .crawler-live-queue { position: relative !important; top: auto; right: auto; width: auto; height: auto; border: 0 !important; transform: none !important; }
  .crawler-live-queue > summary { border: 1px solid #20dce1; border-radius: 0; }

  .editorial-overview { display: block; padding: 18px 25px 0; }
  .editorial-profile-row { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(430px, .9fr); gap: 14px; min-height: 270px; }
  .editorial-artist-profile { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; min-width: 0; }
  .editorial-portrait-wrap { position: relative; height: 260px; overflow: hidden; background: #111; }
  .editorial-portrait-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
  .editorial-portrait-note { display: none; }
  .editorial-artist-details { position: relative; min-width: 0; padding: 4px 0; }
  .editorial-profile-actions { position: absolute; top: 0; right: 0; display: flex; gap: 10px; }
  .editorial-profile-actions button { min-height: 40px; padding: 0 17px; border: 1px solid #505a5a; border-radius: 3px; background: #080c0c; color: #fff; font-family: Impact, "Arial Narrow", sans-serif; font-size: 14px; text-transform: uppercase; }
  .editorial-mobile-kicker { display: none; }
  .editorial-artist-details h1 { max-width: calc(100% - 190px); margin: 0 0 5px; color: #ff2f80; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(49px, 5vw, 82px); line-height: .95; text-transform: uppercase; }
  .editorial-genre-tags { display: flex; gap: 8px; margin: 4px 0 14px; }
  .editorial-genre-tags span { color: #9ea8a5; font-family: Impact, "Arial Narrow", sans-serif; font-size: 18px; text-transform: uppercase; }
  .editorial-genre-tags span:not(:last-child)::after { content: " /"; }
  .editorial-stat-row { display: grid; grid-template-columns: repeat(4, minmax(90px, 1fr)); margin: 8px 0 18px; }
  .editorial-stat-row > span { display: grid; padding: 0 16px; border-right: 1px solid #475050; }
  .editorial-stat-row > span:first-child { padding-left: 0; }
  .editorial-stat-row > span:last-child { border-right: 0; }
  .editorial-stat-row strong { font-family: Impact, "Arial Narrow", sans-serif; font-size: 29px; }
  .editorial-stat-row small { color: #8f9997; font-family: Impact, "Arial Narrow", sans-serif; font-size: 11px; text-transform: uppercase; }
  .editorial-artist-summary { display: -webkit-box; max-width: 670px; margin: 0; overflow: hidden; color: #c9cecc; font-size: 14px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

  .editorial-themes-panel,
  .editorial-data-panel { min-width: 0; border: 1px solid #3a4444; border-radius: 4px; background: #080c0c; }
  .editorial-themes-panel header,
  .editorial-data-panel header { display: flex; min-height: 52px; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid #303939; }
  .editorial-themes-panel h2,
  .editorial-data-panel h2 { margin: 0; color: #f3ea22; font-family: Impact, "Arial Narrow", sans-serif; font-size: 25px; text-transform: uppercase; }
  .editorial-themes-panel a,
  .editorial-data-panel a { color: #d5d9d7; font-size: 12px; text-decoration: none; }
  .editorial-themes-panel ol { display: grid; gap: 12px; margin: 0; padding: 14px 18px 16px; list-style: none; }
  .editorial-themes-panel li { display: grid; grid-template-columns: 20px 120px minmax(90px, 1fr) 45px; gap: 10px; align-items: center; }
  .editorial-themes-panel li > span { color: #c9cecc; font-size: 12px; }
  .editorial-themes-panel li > strong { overflow: hidden; color: #eef1ef; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
  .editorial-themes-panel li > i { position: relative; height: 18px; overflow: hidden; border-radius: 3px; background: #202727; }
  .editorial-themes-panel li > i::after { content: ""; display: block; width: var(--meter-width); height: 100%; background: var(--meter-color); }
  .editorial-themes-panel li > b { color: #e5e8e6; font-size: 13px; text-align: right; }

  .editorial-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 13px; }
  .editorial-data-panel { min-height: 375px; }
  .editorial-data-panel ol { margin: 0; padding: 0 18px; list-style: none; }
  .editorial-signals-panel li { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; min-height: 73px; border-bottom: 1px solid #303939; }
  .editorial-signals-panel li > span { font-family: Georgia, serif; font-size: 58px; line-height: .5; }
  .editorial-signals-panel li > div { display: grid; gap: 3px; min-width: 0; }
  .editorial-signals-panel li strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
  .editorial-signals-panel li small { color: #889391; font-size: 11px; text-transform: capitalize; }
  .editorial-signals-panel li > b { color: #ff2f80; font-size: 15px; }
  .editorial-songs-panel li { display: grid; grid-template-columns: 26px minmax(0, 1fr) 48px; gap: 8px; align-items: center; min-height: 29px; border-bottom: 1px solid #303939; }
  .editorial-songs-panel li span { color: #ff2f80; font-size: 12px; }
  .editorial-songs-panel li strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .editorial-songs-panel li b { color: #cbd0ce; font-size: 12px; text-align: right; }
  .editorial-word-cloud { display: flex; min-height: 315px; align-content: center; align-items: center; justify-content: center; gap: 9px 16px; padding: 18px; flex-wrap: wrap; }
  .editorial-word-cloud span { color: var(--word-color); font-family: Impact, "Arial Narrow", sans-serif; font-size: var(--word-size); line-height: .88; text-transform: uppercase; }

  .editorial-footer { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 20px; align-items: center; min-height: 66px; margin-top: 17px; padding: 0 4px; border-top: 1px solid #313939; color: #727d7b; font-family: Impact, "Arial Narrow", sans-serif; font-size: 11px; text-transform: uppercase; }
  .editorial-footer-brand { color: #f5f5f2; font-size: 22px; }
  .editorial-footer-brand b { color: #ff2f80; }
  .editorial-footer-brand i { color: #f3ea22; font-size: 11px; font-style: normal; }
  .editorial-footer nav { display: flex; gap: 16px; }
  .editorial-footer a { color: #a5aeac; text-decoration: none; }
  .editorial-footer > span:last-child { text-align: right; }

  .profile-rankings-section { margin: 18px 25px 0 !important; background: #080c0c !important; }
}

/* Real catalog navigation shared by desktop genre links and mobile search. */
.catalog-autocomplete-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 11px 10px;
  border-top: 1px solid #303939;
  color: #f3ea22;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.catalog-autocomplete-all:hover,
.catalog-autocomplete-all:focus-visible { color: #20dce1; outline: none; }

.catalog-page[hidden] { display: none !important; }
.catalog-page {
  min-height: 620px;
  padding: 38px 25px 70px;
  border-bottom: 1px solid #303939;
  background: #050808;
  color: #f2f4f1;
}
body.catalog-page-open .editorial-overview,
body.catalog-page-open .profile-rankings-section { display: none !important; }
.catalog-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #303939;
}
.catalog-page-kicker {
  margin: 0 0 6px;
  color: #20dce1;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.catalog-page-header h1 {
  margin: 0;
  color: #ff2f80;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 900;
  line-height: .92;
  text-transform: uppercase;
}
.catalog-page-header p:last-child { max-width: 720px; margin: 12px 0 0; color: #9aa5a2; font-size: 15px; }
.catalog-page-close {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #596362;
  border-radius: 3px;
  color: #f4f5f1;
  font: 34px/1 Arial, sans-serif;
  text-decoration: none;
}
.catalog-page-close:hover,
.catalog-page-close:focus-visible { border-color: #ff2f80; color: #ff2f80; outline: none; }
.catalog-page-genres {
  display: flex;
  gap: 8px;
  margin: 22px 0;
  overflow-x: auto;
  padding-bottom: 5px;
  scrollbar-width: thin;
}
.catalog-page-genres a {
  flex: 0 0 auto;
  padding: 10px 13px;
  border: 1px solid #465050;
  border-radius: 3px;
  color: #cbd0ce;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}
.catalog-page-genres a:hover,
.catalog-page-genres a:focus-visible,
.catalog-page-genres a[aria-current="page"] { border-color: #20dce1; background: #101919; color: #20dce1; outline: none; }
.catalog-page-search {
  position: relative;
  display: block;
  width: min(560px, 100%);
}
.catalog-page-search .search-icon { top: 15px; left: 16px; }
.catalog-page-search input {
  width: 100%;
  height: 50px;
  padding: 0 18px 0 48px;
  border: 1px solid #4b5555;
  border-radius: 3px;
  outline: 0;
  background: #101616;
  color: #f4f5f1;
  font: 700 15px Arial, sans-serif;
}
.catalog-page-search input:focus { border-color: #20dce1; box-shadow: 0 0 0 2px rgba(32, 220, 225, .18); }
.catalog-page-count { margin: 16px 0 10px; color: #8d9896; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.catalog-page-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.catalog-artist-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto 20px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 82px;
  padding: 11px;
  border: 1px solid #303939;
  border-radius: 4px;
  background: #0a0f0f;
  color: #f2f4f1;
  text-decoration: none;
}
.catalog-artist-card:hover,
.catalog-artist-card:focus-visible { border-color: #20dce1; background: #101919; outline: none; transform: translateY(-1px); }
.catalog-artist-image {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  overflow: hidden;
  place-items: center;
  background: #182020;
  color: #20dce1;
  font-size: 15px;
  font-weight: 900;
}
.catalog-artist-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.catalog-artist-copy { display: grid; min-width: 0; gap: 4px; }
.catalog-artist-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.catalog-artist-copy small { overflow: hidden; color: #8d9896; font-size: 10px; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.catalog-artist-metrics { display: grid; grid-template-columns: auto auto; gap: 1px 4px; text-align: right; }
.catalog-artist-metrics b { color: #f3ea22; font-size: 11px; }
.catalog-artist-metrics small { color: #74807d; font-size: 8px; text-transform: uppercase; }
.catalog-artist-arrow { color: #ff2f80; font-size: 19px; }
.catalog-page-empty { grid-column: 1 / -1; padding: 50px 20px; border: 1px solid #303939; color: #9aa5a2; text-align: center; }

@media (max-width: 1280px) {
  .catalog-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .catalog-page { min-height: 0; padding: 28px 18px 50px; }
  .catalog-page-header h1 { font-size: clamp(44px, 14vw, 72px); }
  .catalog-page-header p:last-child { font-size: 14px; line-height: 1.45; }
  .catalog-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .catalog-page-grid { grid-template-columns: 1fr; }
  .catalog-artist-card { grid-template-columns: 54px minmax(0, 1fr) auto 18px; }
  .catalog-artist-image { width: 54px; height: 54px; }
  .catalog-page-close { width: 40px; height: 40px; }
}

@media (max-width: 900px) {
  body { background: #050808 !important; }
  .sidebar { padding: 0 !important; }
  .sidebar-mobile-header { display: grid !important; grid-template-columns: minmax(150px, .9fr) minmax(190px, 1.25fr) !important; grid-template-rows: 72px !important; min-height: 112px; align-content: center; gap: 16px !important; padding: 20px 24px !important; border-bottom: 1px solid #424949; }
  .sidebar .brand { display: flex !important; width: auto !important; height: 72px !important; align-items: center; text-decoration: none; }
  .sidebar .brand img { display: none !important; }
  .editorial-wordmark { display: flex; align-items: baseline; white-space: nowrap; font-family: Impact, "Arial Narrow", sans-serif; font-style: italic; letter-spacing: 0; transform: rotate(-3deg); }
  .editorial-wordmark b { color: #ff2f80; font-size: clamp(31px, 9vw, 54px); }
  .editorial-wordmark strong { color: #20dce1; font-size: clamp(31px, 9vw, 54px); }
  .editorial-wordmark i { color: #f5f5f2; font-size: 15px; font-style: normal; }
  .sidebar .search-wrap { grid-column: 2 !important; grid-row: 1 !important; }
  .catalog-search-label { height: 58px !important; border: 2px solid #555d5d !important; border-radius: 30px !important; background: #171b1b !important; box-shadow: none !important; }
  #artist-search { color: #f4f5f1 !important; font-size: 17px !important; }
  .editorial-site-nav,
  .mobile-utility-actions,
  .mobile-catalog-actions,
  .mobile-artist-picker,
  .nav-stack,
  .topbar,
  .artist-marquee,
  .dashboard-grid,
  .artist-discovery { display: none !important; }
  .workspace { padding: 0 0 30px !important; }
  .crawler-live { grid-template-columns: 70px 86px minmax(0, 1fr) 75px 52px !important; min-height: 130px; border: 0 !important; border-bottom: 1px solid #414949 !important; background: #080b0b !important; }
  .crawler-live::before { display: none; }
  .crawler-live-kicker { justify-content: center; gap: 8px !important; padding: 12px 8px !important; border-right: 0 !important; color: #2cdf82; font-size: 19px !important; }
  .crawler-live-kicker > span:last-child { display: block !important; }
  .crawler-live-kicker strong { color: #2cdf82 !important; }
  .crawler-live-kicker span:last-child { font-size: 0; }
  .crawler-live-kicker span:last-child::after { content: "LIVE"; font-size: 18px; }
  .crawler-live-bolt { display: none; }
  .crawler-live-artist { display: contents; }
  .crawler-live-artist .crawler-live-artwork { grid-column: 2; width: 78px !important; height: 100px !important; align-self: center; border: 0 !important; }
  .crawler-live-copy { grid-column: 3; align-self: center; padding: 12px 13px; }
  .crawler-live-copy small { color: #f3ea22 !important; font-family: Impact, "Arial Narrow", sans-serif; font-size: 15px !important; }
  .crawler-live-copy strong { font-size: 20px !important; }
  .crawler-live-copy > span { font-size: 15px !important; }
  .crawler-live-progress { grid-column: 3 / 5; position: absolute; left: 156px; right: 52px; bottom: 17px; display: block; padding: 0 13px !important; border: 0 !important; }
  .crawler-live-progress-label { position: absolute; right: -32px; top: -42px; }
  .crawler-live-progress-label strong { font-size: 18px !important; }
  .crawler-live-progress-label span,
  .crawler-live-status { display: none !important; }
  .crawler-live-track { height: 9px !important; border-radius: 6px; }
  .crawler-live-meta { display: none !important; }
  .crawler-live-actions { grid-column: 5; grid-row: 1; height: 100%; border: 0 !important; }
  .crawler-live-submit { min-height: 0; padding: 0 !important; border-bottom-color: #566060; background: #f3ea22; }
  .crawler-live-submit span { display: none; }
  .crawler-live-submit b { display: block; font-size: 29px; line-height: 1; }
  .crawler-live-queue { border: 0 !important; }
  .crawler-live-queue > summary { padding: 0 !important; }
  .crawler-live-queue > summary b { color: #f5f5f2 !important; font-size: 25px !important; transform: none; }
  .crawler-live-sheet { padding: 38px 28px calc(28px + env(safe-area-inset-bottom)) !important; border-top: 1px solid #697171 !important; border-radius: 32px 32px 0 0; background: #101414 !important; }
  .crawler-live-sheet-heading small { display: none; }
  .crawler-live-sheet-heading strong { color: #f3ea22; font-family: Impact, "Arial Narrow", sans-serif; font-size: 30px; }
  .crawler-live-sheet-current .crawler-live-artwork { width: 112px !important; height: 126px !important; }
  .crawler-live-sheet-current strong { font-size: 26px !important; }
  .crawler-live-sheet-stats { margin-top: 20px !important; }

  .editorial-overview { display: block; }
  .editorial-profile-row { display: block; }
  .editorial-artist-profile { position: relative; min-height: 720px; overflow: hidden; background: #050808; }
  .editorial-portrait-wrap { position: absolute; inset: 0; }
  .editorial-portrait-wrap::after { content: ""; position: absolute; inset: 0; background: rgba(5,8,8,.7); clip-path: polygon(58% 0, 100% 0, 100% 100%, 72% 100%); }
  .editorial-portrait-wrap img { width: 73%; height: 100%; object-fit: cover; object-position: 45% center; filter: grayscale(1) contrast(1.12); }
  .editorial-portrait-note { position: absolute; z-index: 2; left: 28px; bottom: 155px; display: block; color: #ff2f80; font-family: Impact, "Arial Narrow", sans-serif; font-size: 25px; font-style: italic; line-height: .88; text-transform: uppercase; transform: rotate(-5deg); }
  .editorial-artist-details { position: relative; z-index: 3; display: flex; min-height: 720px; flex-direction: column; align-items: flex-end; padding: 110px 28px 26px; text-align: right; }
  .editorial-profile-actions { display: none; }
  .editorial-mobile-kicker { display: block; max-width: 48%; margin: 135px 0 14px; color: #f4f5f1; font-family: Impact, "Arial Narrow", sans-serif; font-size: 15px; line-height: 1.65; text-transform: uppercase; }
  .editorial-artist-details h1 { max-width: 62%; margin: 0; color: #f6f6f2; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(62px, 18vw, 118px); line-height: .82; overflow-wrap: anywhere; text-transform: uppercase; }
  .editorial-artist-details h1::after { content: ""; display: block; width: 100%; height: 8px; margin-top: 12px; background: #ff2f80; transform: rotate(-2deg); }
  .editorial-genre-tags { display: flex; max-width: 66%; gap: 8px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }
  .editorial-genre-tags span { padding: 8px 12px; border: 2px solid var(--tag-color); color: var(--tag-color); font-family: Impact, "Arial Narrow", sans-serif; font-size: 15px; text-transform: uppercase; }
  .editorial-stat-row { position: absolute; right: 24px; bottom: 28px; display: grid; width: calc(100% - 48px); grid-template-columns: repeat(4, 1fr); }
  .editorial-stat-row > span { display: grid; padding: 0 12px; border-right: 1px solid #5c6464; text-align: center; }
  .editorial-stat-row > span:last-child { border: 0; }
  .editorial-stat-row strong { font-family: Impact, "Arial Narrow", sans-serif; font-size: 25px; }
  .editorial-stat-row small { color: #9aa3a1; font-family: Impact, "Arial Narrow", sans-serif; font-size: 10px; text-transform: uppercase; }
  .editorial-artist-summary { position: absolute; top: 100%; left: 0; width: 100%; margin: 0; padding: 30px 28px; color: #d6d9d8; text-align: left; font-size: 18px; line-height: 1.45; }
  .editorial-themes-panel { margin: 100px 18px 0; border: 1px solid #3a4444; background: #080c0c; }
  .editorial-themes-panel header,
  .editorial-data-panel header { display: flex; min-height: 56px; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid #303939; }
  .editorial-themes-panel h2,
  .editorial-data-panel h2 { margin: 0; color: #f3ea22; font-family: Impact, "Arial Narrow", sans-serif; font-size: 25px; text-transform: uppercase; }
  .editorial-themes-panel a,
  .editorial-data-panel a { color: #d7dbd9; font-size: 11px; text-decoration: none; }
  .editorial-themes-panel ol { display: grid; gap: 13px; margin: 0; padding: 18px 15px; list-style: none; }
  .editorial-themes-panel li { display: grid; grid-template-columns: 20px 95px minmax(60px, 1fr) 38px; gap: 8px; align-items: center; }
  .editorial-themes-panel li strong { overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .editorial-themes-panel li i { position: relative; height: 15px; background: #202727; }
  .editorial-themes-panel li i::after { content: ""; display: block; width: var(--meter-width); height: 100%; background: var(--meter-color); }
  .editorial-themes-panel li b { font-size: 11px; text-align: right; }
  .editorial-panels { display: grid; gap: 14px; margin: 14px 18px 0; }
  .editorial-data-panel { border: 1px solid #3a4444; background: #080c0c; }
  .editorial-data-panel ol { margin: 0; padding: 0 16px; list-style: none; }
  .editorial-signals-panel li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; min-height: 72px; border-bottom: 1px solid #303939; }
  .editorial-signals-panel li > span { font-family: Georgia, serif; font-size: 55px; line-height: .5; }
  .editorial-signals-panel li > div { display: grid; }
  .editorial-signals-panel li small { color: #8d9795; text-transform: capitalize; }
  .editorial-songs-panel li { display: grid; grid-template-columns: 28px 1fr 40px; gap: 8px; align-items: center; min-height: 38px; border-bottom: 1px solid #303939; }
  .editorial-songs-panel li span { color: #ff2f80; }
  .editorial-songs-panel li b { text-align: right; }
  .editorial-word-cloud { display: flex; min-height: 310px; align-content: center; align-items: center; justify-content: center; gap: 10px 15px; padding: 18px; flex-wrap: wrap; }
  .editorial-word-cloud span { color: var(--word-color); font-family: Impact, "Arial Narrow", sans-serif; font-size: min(var(--word-size), 43px); line-height: .9; text-transform: uppercase; }
  .profile-rankings-section { margin: 18px !important; }
  .editorial-footer { display: grid; gap: 12px; margin: 22px 18px 0; padding: 24px 0; border-top: 1px solid #313939; color: #7d8885; font-family: Impact, "Arial Narrow", sans-serif; font-size: 10px; text-transform: uppercase; }
  .editorial-footer-brand { color: #fff; font-size: 22px; }
  .editorial-footer-brand b { color: #ff2f80; }
  .editorial-footer-brand i { color: #f3ea22; font-size: 10px; font-style: normal; }
  .editorial-footer nav { display: flex; gap: 15px; }
  .editorial-footer a { color: #abb3b1; text-decoration: none; }
}

@media (max-width: 520px) {
  .sidebar-mobile-header { grid-template-columns: 145px minmax(0, 1fr) !important; gap: 10px !important; padding-inline: 16px !important; }
  .editorial-wordmark b,
  .editorial-wordmark strong { font-size: 31px; }
  .editorial-wordmark i { font-size: 11px; }
  #artist-search { font-size: 13px !important; }
  .crawler-live { grid-template-columns: 52px 66px minmax(0, 1fr) 62px 38px !important; }
  .crawler-live-kicker span:last-child::after { font-size: 13px; }
  .crawler-live-artist .crawler-live-artwork { width: 60px !important; height: 82px !important; }
  .crawler-live-progress { left: 118px; right: 38px; }
  .editorial-artist-profile,
  .editorial-artist-details { min-height: 620px; }
  .editorial-artist-details { padding: 70px 18px 20px; }
  .editorial-mobile-kicker { margin-top: 120px; font-size: 12px; }
  .editorial-artist-details h1 { max-width: 58%; font-size: clamp(45px, 16vw, 78px); }
  .editorial-stat-row { right: 14px; width: calc(100% - 28px); }
  .editorial-stat-row strong { font-size: 20px; }
  .editorial-stat-row small { font-size: 8px; }
}

/* Final reference parity and narrow-screen collision fixes. */
.crawler-live-mobile-count { display: none; }

@media (min-width: 901px) {
  .sidebar-mobile-header { grid-template-columns: 285px minmax(320px, 450px) minmax(0, 1fr) !important; }
  .sidebar .brand { width: 275px !important; overflow: hidden; }
  .editorial-wordmark b,
  .editorial-wordmark strong { font-size: 45px; }
  .editorial-wordmark i { font-size: 18px; }

  .editorial-site-nav { font-family: "Arial Narrow", Arial, sans-serif; font-weight: 800; }
  .nav-stack { grid-template-columns: .68fr repeat(12, 1fr) .9fr !important; }
  .nav-stack .nav-item { font-family: "Arial Narrow", Arial, sans-serif !important; font-size: 15px !important; font-weight: 800 !important; }
  .nav-stack .editorial-genre-all { order: 1; }
  .nav-stack .genre-rock { order: 2; }
  .nav-stack .genre-pop { order: 3; }
  .nav-stack .genre-hiphop { order: 4; }
  .nav-stack .genre-rnb { order: 5; }
  .nav-stack .genre-country { order: 6; }
  .nav-stack .genre-electronic { order: 7; }
  .nav-stack .editorial-genre-extra { order: 8; }
  .nav-stack .editorial-genre-more { order: 9; }

  .editorial-featured-quote { max-width: 650px; margin: -7px 0 9px; padding-left: 12px; border-left: 3px solid #f3ea22; color: #f0f2ef; font-size: 14px; font-weight: 800; line-height: 1.35; }
  .editorial-signals-panel li strong { white-space: normal; line-height: 1.2; }
  .editorial-signals-panel li small { text-transform: none; }
  .editorial-signals-panel li > span { font-family: "Arial Narrow", Arial, sans-serif; font-size: 14px; font-weight: 900; line-height: 1; }
  .editorial-column-label { margin-left: auto; color: #899492; font-size: 10px; font-weight: 800; text-transform: uppercase; }
  .editorial-songs-panel header a { margin-left: 12px; }
  .editorial-word-cloud { position: relative; display: block; min-height: 315px; overflow: hidden; padding: 18px; }
  .editorial-word-cloud span { position: absolute; left: var(--word-x); top: var(--word-y); color: var(--word-color); font-family: Impact, "Arial Narrow", sans-serif; font-size: var(--word-size); line-height: .88; text-transform: uppercase; transform: translate(-50%, -50%) rotate(var(--word-rotate)); white-space: nowrap; }
  .editorial-word-cloud span { z-index: 1; cursor: help; transition: transform .15s ease; }
  .editorial-word-cloud span::after { content: attr(data-tooltip); position: absolute; left: 50%; bottom: calc(100% + 10px); width: max-content; max-width: 220px; padding: 7px 9px; border: 1px solid #20dce1; border-radius: 3px; background: #080c0c; box-shadow: 0 8px 24px rgba(0,0,0,.45); color: #f4f5f1; font: 800 11px/1.25 Arial, sans-serif; text-align: center; text-transform: none; white-space: normal; opacity: 0; pointer-events: none; transform: translateX(-50%); }
  .editorial-word-cloud span[data-tooltip-edge="left"]::after { left: 0; transform: none; }
  .editorial-word-cloud span[data-tooltip-edge="right"]::after { right: 0; left: auto; transform: none; }
  .editorial-word-cloud span:hover,
  .editorial-word-cloud span:focus-visible { z-index: 20; outline: none; transform: translate(-50%, -50%) scale(1.06); }
  .editorial-word-cloud span:hover::after,
  .editorial-word-cloud span:focus-visible::after { opacity: 1; }

  .crawler-live-kicker { font-size: clamp(48px, 3.35vw, 64px) !important; }
  .crawler-live-kicker > span:last-child { display: inline-flex; align-items: baseline; gap: 12px; white-space: nowrap; }
  .crawler-live-kicker strong { display: inline; }
  .crawler-live-bolt { font-family: Impact, "Arial Narrow", sans-serif; color: #20dce1 !important; }
  .crawler-live-copy strong { font-size: clamp(23px, 1.4vw, 27px) !important; }
  .crawler-live-copy > span { font-size: clamp(14px, .85vw, 16px) !important; }
  .crawler-live-copy small { font-size: clamp(14px, .8vw, 16px) !important; }
  .crawler-live-progress-label strong { white-space: nowrap; }
}

@media (max-width: 900px) {
  .sidebar .brand { overflow: hidden; }
  .editorial-signals-panel li > span { font-family: "Arial Narrow", Arial, sans-serif; font-size: 14px; font-weight: 900; line-height: 1; }
  .crawler-live { grid-template-columns: 62px 82px minmax(0, 1fr) 78px 50px !important; }
  .crawler-live-copy { min-width: 0; }
  .crawler-live-copy small,
  .crawler-live-copy strong,
  .crawler-live-copy > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .crawler-live[data-live="false"][data-history="false"] #crawler-live-artist,
  .crawler-live[data-live="false"][data-history="false"] #crawler-live-song { font-size: 0 !important; }
  .crawler-live[data-live="false"][data-history="false"] #crawler-live-artist::after { content: "Awaiting artist"; font-size: 20px; }
  .crawler-live[data-live="false"][data-history="false"] #crawler-live-song::after { content: "Queue connected"; font-size: 14px; }
  .crawler-live-mobile-count { display: block; grid-column: 4; align-self: center; overflow: hidden; padding: 0 6px; color: #f4f5f1; font-family: Impact, "Arial Narrow", sans-serif; font-size: 18px; line-height: 1; text-align: center; }
  .crawler-live-progress { grid-column: 1 / -1; left: 144px; right: 50px; }
  .crawler-live-progress-label { display: none !important; }

  .editorial-portrait-wrap img { width: 100%; object-position: center; }
  .editorial-featured-quote { display: none; }
  .editorial-word-cloud { position: relative; display: block; min-height: 310px; overflow: hidden; padding: 18px; }
  .editorial-word-cloud span { position: absolute; left: var(--word-x); top: var(--word-y); color: var(--word-color); font-family: Impact, "Arial Narrow", sans-serif; font-size: min(var(--word-size), 43px); line-height: .9; text-transform: uppercase; transform: translate(-50%, -50%) rotate(var(--word-rotate)); white-space: nowrap; }
}

@media (max-width: 520px) {
  .sidebar-mobile-header { grid-template-columns: 132px minmax(0, 1fr) !important; gap: 10px !important; padding-inline: 14px !important; }
  .editorial-wordmark b,
  .editorial-wordmark strong { font-size: 27px; }
  .editorial-wordmark i { font-size: 10px; }
  .catalog-search-label { height: 52px !important; }

  .crawler-live { grid-template-columns: 44px 62px minmax(0, 1fr) 67px 38px !important; }
  .crawler-live-artist .crawler-live-artwork { width: 56px !important; height: 78px !important; }
  .crawler-live-copy { padding: 10px 6px; }
  .crawler-live-copy small { font-size: 12px !important; }
  .crawler-live-copy strong { font-size: 17px !important; }
  .crawler-live[data-live="true"] .crawler-live-copy strong { display: -webkit-box; line-height: 1.05; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .crawler-live-copy > span { font-size: 12px !important; }
  .crawler-live[data-live="false"][data-history="false"] #crawler-live-artist::after { font-size: 17px; }
  .crawler-live[data-live="false"][data-history="false"] #crawler-live-song::after { font-size: 12px; }
  .crawler-live-mobile-count { font-size: 15px; }
  .crawler-live-progress { grid-column: 1 / -1; left: 106px; right: 38px; bottom: 8px; }

  .editorial-artist-details h1 { max-width: 62%; font-size: clamp(38px, 14vw, 68px); }
  .editorial-stat-row > span { padding-inline: 4px; }
  .editorial-stat-row strong { font-size: 18px; }
  .editorial-stat-row small { font-size: 7px; }
}

/* Catalog evidence drill-downs. */
body.editorial-detail-open { overflow: hidden; }
.editorial-detail-trigger { cursor: pointer; }
#editorial-theme-list .editorial-detail-trigger:hover,
#editorial-theme-list .editorial-detail-trigger:focus-visible,
.editorial-data-panel li.editorial-detail-trigger:hover,
.editorial-data-panel li.editorial-detail-trigger:focus-visible { background: #121919; outline: 2px solid #20dce1; outline-offset: -2px; }
.editorial-data-panel header { gap: 12px; }
.editorial-data-panel header a { flex: 0 0 auto; }
.editorial-column-label { white-space: nowrap; }
.editorial-detail-surface { position: fixed; z-index: 2500; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .78); }
.editorial-detail-surface[hidden] { display: none; }
.editorial-detail-panel { display: grid; grid-template-rows: auto minmax(0, 1fr); width: min(920px, 100%); max-height: min(82vh, 820px); overflow: hidden; border: 2px solid #20dce1; border-radius: 4px; background: #080c0c; box-shadow: 0 24px 80px rgba(0, 0, 0, .72); color: #f2f4f1; }
.editorial-detail-panel > header { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid #384242; }
.editorial-detail-panel > header > div { min-width: 0; }
.editorial-detail-panel header small { color: #20dce1; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.editorial-detail-panel h2 { margin: 3px 0; color: #f3ea22; font-family: Impact, "Arial Narrow", sans-serif; font-size: 32px; letter-spacing: 0; line-height: 1; text-transform: uppercase; }
.editorial-detail-panel header p { margin: 0; color: #9aa5a2; font-size: 13px; line-height: 1.35; }
.editorial-detail-close { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid #596362; border-radius: 3px; background: transparent; color: #fff; cursor: pointer; font: 32px/1 Arial, sans-serif; }
.editorial-detail-close:hover,
.editorial-detail-close:focus-visible { border-color: #ff2f80; color: #ff2f80; outline: none; }
.editorial-detail-content { min-height: 180px; overflow: auto; padding: 18px 22px 24px; color: #cbd1ce; }
.editorial-detail-table-wrap { overflow-x: auto; }
.editorial-detail-table-wrap table { width: 100%; border-collapse: collapse; table-layout: auto; }
.editorial-detail-table-wrap th { position: sticky; z-index: 1; top: 0; padding: 10px 12px; background: #111717; color: #20dce1; font-size: 10px; text-align: left; text-transform: uppercase; }
.editorial-detail-table-wrap td { padding: 11px 12px; border-bottom: 1px solid #303939; color: #e9ecea; font-size: 13px; }
.editorial-detail-table-wrap tbody tr[role="button"] { cursor: pointer; }
.editorial-detail-table-wrap tbody tr[role="button"]:hover,
.editorial-detail-table-wrap tbody tr[role="button"]:focus-visible { background: #182020; outline: 2px solid #20dce1; outline-offset: -2px; }
.editorial-featured-quote.editorial-detail-trigger:hover,
.editorial-featured-quote.editorial-detail-trigger:focus-visible { color: #f3ea22; outline: none; }

@media (max-width: 700px) {
  .editorial-detail-surface { align-items: end; padding: 0; }
  .editorial-detail-panel { width: 100%; max-height: 88vh; border-width: 2px 0 0; border-radius: 0; }
  .editorial-detail-panel > header { min-height: 86px; padding: 15px 16px; }
  .editorial-detail-panel h2 { font-size: 27px; }
  .editorial-detail-content { padding: 12px 10px calc(18px + env(safe-area-inset-bottom)); }
  .editorial-detail-table-wrap th,
  .editorial-detail-table-wrap td { padding: 10px 8px; font-size: 11px; }
}
