:root {
  color-scheme: dark;
  --page: #070809;
  --ink: #f5f0e8;
  --muted: #aaa39b;
  --quiet: #746f69;
  --line: #242525;
  --glass: #111212;
  --glass-strong: #181919;
  --panel: #101111;
  --panel-solid: #141515;
  --accent: #d98b63;
  --accent-2: #e4bd7a;
  --mint: #6bcf9d;
  --amber: #e5b75f;
  --danger: #e96a73;
  --radius: 16px;
  --section-radius: 28px;
  --radius-sm: 10px;
  --icon-size: 42px;
  --icon-radius: 16px;
  --shadow: none;
  --nav-h: 82px;
  --player-h: 72px;
  --gap: clamp(10px, 1.5vw, 18px);
  --page-pad: clamp(12px, 3vw, 28px);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: var(--page);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #070809;
  color: var(--ink);
  overflow-x: hidden;
}

.page-loader {
  position: fixed;
  top: 0;
  left: var(--nav-w, 0);
  right: 0;
  z-index: 70;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
}

.page-loader::before {
  content: "";
  width: 38%;
  height: 100%;
  display: block;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(-110%);
}

.route-loading .page-loader {
  opacity: 1;
}

.route-loading .page-loader::before {
  animation: page-load 420ms ease forwards;
}

@keyframes page-load {
  to {
    transform: translateX(280%);
  }
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-touch-callout: none;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-touch-callout: none;
}

button,
a,
label,
.btn,
.nav-link,
.album-card,
.mini {
  -webkit-tap-highlight-color: transparent;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: 0;
}

img,
iframe,
audio {
  max-width: 100%;
}

::selection {
  background: #3a2a22;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid #8f5f47;
  outline-offset: 3px;
}

* {
  scrollbar-color: #2c2d2d transparent;
  scrollbar-width: thin;
}

.shell {
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + 44px);
  overflow-x: hidden;
}

.shell.no-player {
  padding-bottom: calc(var(--nav-h) + 36px);
}

.main {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: var(--page-pad);
}

.auth-shell {
  min-height: 100vh;
  background: #070809;
}

.auth-main {
  width: min(100%, 520px);
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 14px;
  margin-inline: auto;
  padding: clamp(16px, 4vw, 28px);
}

.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.auth-close {
  flex: 0 0 auto;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  background: #070809;
}

.admin-side {
  display: none;
}

.admin-main {
  width: min(100%, 1480px);
  margin-inline: auto;
  padding: var(--page-pad);
}

.admin-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--gap);
  padding: clamp(16px, 3vw, 28px);
  border-radius: var(--section-radius);
  background: #0b0c0c;
}

.admin-top h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border-radius: 16px;
  color: var(--muted);
  font-weight: 760;
}

.admin-nav a:hover {
  background: #111212;
  color: var(--ink);
}

.admin-nav .icon-glyph {
  width: 18px;
  height: 18px;
}

.ops-readiness {
  display: grid;
  gap: 14px;
  margin-bottom: var(--gap);
  padding: clamp(14px, 2.4vw, 22px);
  border-radius: var(--section-radius);
  background: #0b0c0c;
}

.ops-readiness.ready {
  background: #0b0d0c;
}

.ops-readiness.needs-work {
  background: #100d0d;
}

.ops-readiness-head,
.readiness-footer,
.readiness-issues span,
.readiness-grid article {
  min-width: 0;
}

.ops-readiness-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.readiness-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 22px;
  background: #171818;
  color: var(--accent-2);
}

.readiness-icon .icon-glyph {
  width: 25px;
  height: 25px;
}

.ops-readiness.ready .readiness-icon {
  background: #142017;
  color: var(--mint);
}

.ops-readiness.needs-work .readiness-icon {
  background: #241716;
  color: var(--danger);
}

.ops-readiness h2 {
  margin: 0 0 5px;
  font-size: clamp(1.06rem, 2.4vw, 1.5rem);
  line-height: 1.14;
}

.ops-readiness p {
  margin: 0;
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.readiness-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: #111212;
}

.readiness-grid article > span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: #191a1a;
  color: var(--accent-2);
}

.readiness-grid .icon-glyph {
  width: 18px;
  height: 18px;
}

.readiness-grid strong {
  min-width: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.readiness-grid small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
}

.readiness-issues,
.readiness-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.readiness-issues span,
.readiness-footer span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #171818;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
}

.readiness-issues:not(.calm) span {
  background: #241716;
  color: #f0b0a7;
}

.readiness-issues .icon-glyph,
.readiness-footer .icon-glyph {
  width: 15px;
  height: 15px;
}

.sidebar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 9px max(12px, env(safe-area-inset-left)) calc(9px + env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-right));
  background: #090a0a;
  border-radius: 24px 24px 0 0;
}

.brand,
.nav-title,
.nav-group:nth-of-type(2) {
  display: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: var(--accent);
  color: #150d09;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav-group {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.nav-link {
  min-height: 64px;
  display: grid;
  place-items: center;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 22px;
  color: var(--muted);
  font-size: 22px;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.nav-link b {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: #111212;
  color: var(--muted);
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.nav-link b .icon-glyph {
  width: 23px;
  height: 23px;
}

.desktop-only {
  display: none;
}

.icon-glyph {
  width: 1.25em;
  height: 1.25em;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.icon-glyph svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-glyph svg path {
  vector-effect: non-scaling-stroke;
}

.inline-icon,
.search > .icon-glyph,
.pill .icon-glyph,
.stat .icon-glyph,
.mini-go {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #111212;
}

.inline-icon .icon-glyph,
.search > .icon-glyph,
.pill .icon-glyph,
.stat .icon-glyph,
.mini-go .icon-glyph {
  width: 16px;
  height: 16px;
}

.nav-link span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 760;
}

.nav-link.active {
  color: var(--ink);
  background: #111212;
  border-color: #303131;
}

.nav-link.active b {
  background: var(--accent);
  color: #150d09;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link:hover b {
  background: #181919;
}

.nav-link.active:hover b {
  background: var(--accent);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 32;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: calc(var(--page-pad) * -1) calc(var(--page-pad) * -1) clamp(14px, 3vw, 24px);
  padding: var(--page-pad);
  border-radius: 0 0 24px 24px;
  background: #090a0a;
}

.topbar-context {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.top-page-title {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.top-page-title small,
.top-page-title strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-page-title small {
  color: var(--quiet);
  font-size: 0.7rem;
  font-weight: 850;
}

.top-page-title strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.1;
}

.top-now {
  min-width: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  color: inherit;
  text-align: left;
}

.top-now-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 17px;
  background: #111212;
  color: var(--accent-2);
}

.top-now-icon .icon-glyph {
  width: 19px;
  height: 19px;
}

.top-now span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.top-now small,
.top-now strong,
.top-now em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-now small {
  color: var(--accent-2);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.top-now strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.top-now em {
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 720;
}

.search {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.topbar-search {
  grid-column: 1 / -1;
}

.search:focus-within {
  border-color: #6e4a38;
  background: #141515;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search input::placeholder {
  color: var(--quiet);
}

.search-cue {
  min-height: 28px;
  display: none;
  align-items: center;
  gap: 5px;
  padding: 0 8px 0 6px;
  border-radius: 999px;
  background: #0b0c0c;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  white-space: nowrap;
}

.search-cue .icon-glyph {
  width: 16px;
  height: 16px;
}

.search-clear {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 12px;
  appearance: none;
  background: #0b0c0c;
  color: var(--muted);
}

.search-clear:hover,
.search-clear:focus-visible {
  background: #181919;
  color: var(--ink);
}

.search-clear .icon-glyph {
  width: 15px;
  height: 15px;
}

.hero {
  position: relative;
  min-height: clamp(360px, 58vh, 480px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 0;
  border-radius: var(--section-radius);
  background: #0b0c0c;
}

.hero-copy {
  width: min(100%, 540px);
  padding: clamp(22px, 5vw, 42px);
}

.hero-art {
  min-height: 220px;
  display: block;
  align-self: stretch;
  background: url("/assets/brand/mm-brand-background.webp")
    center top / cover;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 10px;
  font-size: 2.55rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.48;
  font-size: 0.95rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--gap);
  padding: clamp(14px, 2.8vw, 24px);
  border-radius: var(--section-radius);
  background: #0b0c0c;
}

.page-title h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 760;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.btn:hover {
  border-color: #303131;
  background: #171818;
}

.btn:active,
.nav-link:active,
.filter-chip:active,
.recent-item:active,
.album-card:active {
  transform: none;
}

.btn.primary:hover,
.btn.orange:hover {
  background: #e49a73;
}

.btn.primary,
.btn.orange {
  border-color: transparent;
  background: var(--accent);
  color: #150d09;
}

.btn.icon {
  width: var(--icon-size);
  min-height: var(--icon-size);
  border-radius: var(--icon-radius);
  padding: 0;
  font-size: 1.1rem;
}

.btn.icon .icon-glyph {
  width: 1.2rem;
  height: 1.2rem;
}

.btn.icon.active {
  background: #2a1818;
  color: var(--danger);
}

.btn:not(.icon) .icon-glyph {
  width: 17px;
  height: 17px;
}

.account-btn {
  width: 42px;
  min-height: 42px;
  max-width: none;
  padding: 0;
  border-radius: 999px;
  justify-self: end;
  background: #111212;
  border-color: #222323;
}

.account-btn .icon-glyph {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-2);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}

.content-section {
  margin-block: clamp(18px, 4vw, 34px);
  padding: clamp(12px, 2.4vw, 20px);
  border-radius: var(--section-radius);
  background: transparent;
}

.section-head h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.28rem;
  line-height: 1.15;
}

.head-icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: #111212;
  color: var(--accent-2);
}

.head-icon .icon-glyph {
  width: 18px;
  height: 18px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.filter-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  appearance: none;
  background: #111212;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.filter-chip .icon-glyph {
  width: 25px;
  height: 25px;
  padding: 5px;
  border-radius: 10px;
  background: #0b0c0c;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: #313232;
  background: #181919;
  color: var(--ink);
}

.filter-chip.active .icon-glyph {
  background: var(--accent);
  color: #150d09;
}

.recent-row {
  display: grid;
  gap: 8px;
}

.recent-item {
  min-width: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  padding: 6px 8px;
  border: 0;
  border-radius: 22px;
  appearance: none;
  background: #111212;
  color: var(--ink);
  text-align: left;
}

.recent-item > .icon-glyph {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 16px;
  background: #181919;
  color: var(--accent-2);
}

.recent-item img {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  object-fit: cover;
}

.recent-item strong,
.recent-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-item small {
  margin-top: 3px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(172px, 100%), 1fr));
  gap: var(--gap);
}

.album-card {
  min-width: 0;
  display: grid;
  gap: 11px;
  border-radius: 20px;
  padding: 9px;
  background: #0b0c0c;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
  content-visibility: auto;
  contain-intrinsic-size: 260px;
}

.album-card:hover {
  background: #101111;
  transform: translateY(-2px);
}

.cover {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--panel-solid);
}

.cover-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 64px);
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 12px;
  background: #0b0c0c;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
  white-space: nowrap;
}

.cover-action {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f0b179;
  color: #160e0a;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.cover-action .icon-glyph {
  width: 17px;
  height: 17px;
}

.album-card:hover .cover-action,
.album-card:focus-visible .cover-action {
  transform: scale(1.04);
}

.cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.album-card-copy {
  position: relative;
  min-width: 0;
  padding: 0 2px 2px;
}

.album-card h3 {
  margin: 0 0 4px;
  display: -webkit-box;
  min-height: 2.2em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.95rem;
  line-height: 1.15;
}

.album-card p,
.muted {
  color: var(--muted);
}

.album-card p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 8px;
  font-size: 0.78rem;
}

.album-card-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: var(--quiet);
  font-size: 0.74rem;
  font-weight: 760;
}

.album-card-meta span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.album-card-meta span:last-child {
  justify-self: end;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.album-card-meta .icon-glyph {
  width: 14px;
  height: 14px;
}

.album-card-meta span:first-child {
  color: var(--ink);
}

.album-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.album-card-actions span {
  min-width: 0;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.album-card-actions span:first-child {
  display: none;
}

.album-card-actions span:nth-child(2) {
  justify-self: end;
  min-height: 28px;
  max-width: 100%;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #181919;
  color: var(--accent-2);
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-card-status.is-ready {
  background: #142018;
  color: var(--mint);
}

.album-card-actions .icon-glyph {
  width: 14px;
  height: 14px;
}

.panel {
  border: 0;
  border-radius: 22px;
  background: var(--panel);
}

.panel:hover {
  background: #121313;
}

.panel h3 {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.panel-pad {
  padding: clamp(14px, 2.3vw, 20px);
}

.support-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
  align-items: start;
}

.support-compose,
.support-thread,
.support-note {
  min-width: 0;
  border-radius: 24px;
  background: #0b0c0c;
}

.support-compose,
.support-thread {
  padding: clamp(14px, 2.4vw, 20px);
}

.support-compose {
  display: grid;
  gap: 12px;
}

.support-thread {
  display: grid;
  gap: 10px;
}

.support-note {
  display: grid;
  gap: 7px;
  padding: 14px;
  background: #101111;
}

.support-note span {
  width: max-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #181919;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 900;
}

.support-note p {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.support-note small {
  color: var(--muted);
}

.compact-empty {
  min-height: 180px;
}

.gate {
  width: min(100%, 620px);
  min-height: 0;
  display: grid;
  align-items: center;
  gap: var(--gap);
  margin-inline: auto;
  padding: clamp(18px, 6vw, 32px);
  border: 0;
  border-radius: var(--section-radius);
  background: #0b0c0c;
}

.gate-copy {
  max-width: 600px;
}

.gate h1 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 10vw, 3.1rem);
  line-height: 0.98;
}

.gate p {
  color: var(--muted);
  line-height: 1.5;
}

.split {
  display: grid;
  gap: var(--gap);
}

.album-detail {
  display: block;
  padding: 0;
  border-radius: var(--section-radius);
  background: transparent;
}

.album-hero {
  width: min(100%, 760px);
  display: grid;
  justify-items: center;
  gap: 9px;
  margin: 0 auto clamp(10px, 2vw, 16px);
  text-align: center;
}

.album-art-stack {
  width: clamp(96px, 22vw, 116px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.album-cover {
  width: 100%;
  border-radius: 24px;
  background: #101111;
}

.album-main {
  min-width: 0;
}

.album-detail h1 {
  margin-bottom: 7px;
  font-size: clamp(2rem, 7vw, 2.9rem);
  line-height: 1;
}

.album-flow {
  margin-top: clamp(12px, 2vw, 18px);
  padding-bottom: 24px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 12px 0;
}

.pill {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
}

.pill .icon-glyph {
  width: 21px;
  height: 21px;
  margin-left: -4px;
  padding: 5px;
  border-radius: 9px;
  background: #181919;
  color: var(--accent-2);
}

.tracks {
  display: grid;
  gap: 7px;
}

.track {
  min-height: 64px;
  display: grid;
  grid-template-columns: 30px 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 6px 10px;
  border: 0;
  border-radius: 22px;
  background: var(--glass);
}

.track > small:last-child {
  display: block;
  justify-self: end;
  white-space: nowrap;
}

.track-index {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  background: transparent;
  color: var(--quiet);
  font-size: 0.7rem;
  font-weight: 900;
}

.track:hover {
  background: #151616;
}

.track.active {
  background: #171715;
  color: var(--ink);
}

.track.active .track-index {
  background: transparent;
  color: var(--accent-2);
}

.track.active .btn.icon:first-of-type {
  background: var(--accent);
  color: #150d09;
}

.track .btn.icon {
  background: #181919;
}

.track .btn.icon:hover {
  background: var(--accent);
  color: #150d09;
}

.track .btn.icon.track-play {
  width: 54px;
  height: 54px;
  border-radius: 22px;
  background: var(--accent);
  color: #160f08;
  box-shadow: 0 10px 24px rgba(240, 167, 92, 0.18);
}

.track .btn.icon.track-play .icon-glyph {
  width: 23px;
  height: 23px;
}

.track .btn.icon.track-buy {
  width: 54px;
  height: 54px;
  border-radius: 22px;
  background: #181919;
  color: var(--accent-2);
}

.track .btn.icon.track-buy .icon-glyph {
  width: 22px;
  height: 22px;
}

.track.is-playable {
  background: #101211;
}

.track.is-playable strong {
  color: var(--ink);
}

.track.is-playable small {
  color: var(--muted);
  font-weight: 760;
}

.track.active small {
  color: var(--accent-2);
  font-weight: 800;
}

.play-cta .icon-glyph {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
}

.album-subnote {
  margin: 10px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.album-subnote .icon-glyph {
  width: 24px;
  height: 24px;
  padding: 6px;
  border-radius: 10px;
  background: #142018;
  color: #7fe0a2;
}

.track-lock {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--icon-radius);
  background: #131414;
  color: var(--quiet);
}

.track-lock .icon-glyph {
  width: 16px;
  height: 16px;
}

.track.is-locked {
  color: color-mix(in srgb, var(--ink) 84%, transparent);
}

.track.is-locked:hover {
  background: var(--glass);
}

.track.is-locked .track-index {
  color: var(--muted);
}

.track.is-locked strong {
  color: var(--ink);
}

.track strong,
.mini strong,
.mini span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track > span {
  min-width: 0;
}

.track small {
  color: var(--muted);
  font-size: 0.74rem;
}

.track > .btn:not(.icon) {
  display: none;
}

.artist-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  justify-content: start;
  gap: var(--gap);
  margin-top: var(--gap);
}

.artist-card {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  align-items: start;
  background: #0b0c0c;
  padding: 18px 12px 14px;
  border-radius: 24px;
  text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: 220px;
}

.artist-card > img {
  width: clamp(78px, 8vw, 104px);
  aspect-ratio: 1;
  border-radius: 999px;
  object-fit: cover;
  background: var(--panel-solid);
}

.artist-card h2,
.artist-card p {
  margin: 0;
}

.artist-card h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.05;
}

.artist-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
}

.artist-card-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px 0 7px;
  border-radius: 12px;
  background: #111212;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
}

.artist-card-meta .icon-glyph {
  width: 15px;
  height: 15px;
}

.artist-card > .btn.icon {
  width: 36px;
  min-height: 36px;
  margin-top: 2px;
  border-radius: 14px;
}

.artist-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(12px, 2.2vw, 20px);
  align-items: center;
  padding-block: clamp(10px, 2vw, 18px);
}

.artist-photo {
  width: clamp(92px, 16vw, 150px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 999px;
  background: var(--panel-solid);
}

.artist-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.artist-hero-copy {
  min-width: 0;
}

.artist-hero h1 {
  margin: 0 0 10px;
  max-width: 980px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.artist-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.artist-albums {
  padding: 0;
  background: transparent;
}

.artist-albums .section-head {
  margin-bottom: 10px;
}

.artist-albums .grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  align-items: start;
}

.artist-albums .album-card {
  gap: 8px;
  padding: 7px;
  border-radius: 18px;
}

.artist-albums .cover {
  border-radius: 17px;
}

.artist-albums .cover-badge {
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 54px);
  min-height: 24px;
  padding-inline: 8px;
  border-radius: 10px;
  font-size: 0.66rem;
}

.artist-albums .cover-action {
  right: 8px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  border-radius: 13px;
}

.artist-albums .cover-action .icon-glyph {
  width: 16px;
  height: 16px;
}

.artist-albums .album-card-copy {
  padding: 0 1px 1px;
}

.artist-albums .album-card h3 {
  font-size: 0.86rem;
}

.artist-albums .album-card p {
  display: none;
  margin-bottom: 0;
  font-size: 0.72rem;
}

.artist-albums .album-card-meta {
  grid-template-columns: 1fr;
  gap: 4px;
  font-size: 0.68rem;
}

.artist-albums .album-card-meta span:last-child {
  justify-self: start;
}

.artist-albums .album-card-actions {
  display: none;
}

.studio-title {
  align-items: center;
}

.studio-title .muted {
  max-width: 620px;
  margin: 10px 0 0;
  line-height: 1.5;
}

.studio-metrics {
  display: grid;
  gap: var(--gap);
  margin-bottom: var(--gap);
}

.studio-metrics article,
.studio-card {
  min-width: 0;
  border-radius: var(--section-radius);
  background: #0b0c0c;
}

.studio-metrics article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  padding: 14px;
}

.studio-metrics article > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  grid-row: span 2;
  border-radius: 19px;
  background: #111212;
  color: var(--accent-2);
}

.studio-metrics article > span .icon-glyph {
  width: 23px;
  height: 23px;
}

.studio-metrics strong,
.studio-metrics p {
  margin: 0;
}

.studio-metrics p {
  color: var(--muted);
  font-size: 0.82rem;
}

.studio-grid {
  display: grid;
  gap: var(--gap);
}

.studio-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.studio-card header {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.studio-card img {
  width: 62px;
  height: 62px;
  border-radius: 21px;
  object-fit: cover;
}

.studio-card h3,
.studio-card p {
  margin: 0;
}

.studio-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.studio-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.studio-card-stats span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 7px;
  border-radius: 999px;
  background: #111212;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.studio-card-stats .icon-glyph {
  width: 22px;
  height: 22px;
  padding: 5px;
  border-radius: 9px;
  background: #181919;
  color: var(--accent-2);
}

.avatar {
  width: 76px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: var(--panel-solid);
}

.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

.table th,
.table td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
}

.table td {
  background: #111212;
}

.table td:first-child {
  border-radius: 14px 0 0 14px;
}

.table td:last-child {
  border-radius: 0 14px 14px 0;
}

.table th {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mini-list {
  display: grid;
  gap: 9px;
}

.mini {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 62px;
  padding: 7px;
  border-radius: 22px;
  background: transparent;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.mini-go {
  color: var(--muted);
  background: #111212;
}

.mini:hover {
  background: #111212;
  transform: translateY(-1px);
}

.mini:hover .mini-go {
  background: var(--accent);
  color: #150d09;
}

.mini img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
}

.mini span {
  color: var(--muted);
  font-size: 12px;
}

.now-card {
  overflow: hidden;
}

.stream-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  display: grid;
  place-items: end stretch;
  overflow: hidden;
  position: relative;
  border: 0;
  background: #05030a;
}

.stream-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stream-frame audio,
.stream-frame span {
  position: relative;
  z-index: 1;
  width: calc(100% - 20px);
  margin: 10px;
}

.stream-frame span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 18px;
  background: #0b0c0c;
  color: var(--muted);
  font-size: 0.82rem;
}

.stat {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.86rem;
}

.stat span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stat strong {
  color: var(--amber);
}

.player {
  position: fixed;
  left: var(--page-pad);
  right: var(--page-pad);
  bottom: calc(var(--nav-h) + 8px);
  z-index: 35;
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px 9px;
  border: 1px solid var(--line);
  background: #0b0c0c;
  border-radius: 18px;
}

.player.live {
  background: #0d0f0e;
}

.live-bars {
  display: inline-flex;
  align-items: end;
  gap: 2px;
  width: 16px;
  height: 12px;
  margin-right: 5px;
  vertical-align: -1px;
}

.live-bars i {
  width: 3px;
  height: 7px;
  display: block;
  border-radius: 999px;
  background: var(--accent);
  animation: livebar 820ms ease-in-out infinite;
}

.live-bars i:nth-child(2) {
  height: 11px;
  animation-delay: 120ms;
}

.live-bars i:nth-child(3) {
  height: 8px;
  animation-delay: 240ms;
}

@keyframes livebar {
  0%,
  100% {
    transform: scaleY(0.55);
    opacity: 0.65;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.player-info {
  border: 0;
  appearance: none;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.player-info img {
  width: 48px;
  aspect-ratio: 1;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  background: #181919;
}

.player-info strong,
.player-info .muted {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-info strong {
  font-size: 0.9rem;
}

.player-info .muted {
  font-size: 0.78rem;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.player-controls .btn.primary.icon {
  width: 48px;
  min-height: 48px;
  border-radius: 19px;
}

.player-controls .btn.primary.icon .icon-glyph {
  width: 21px;
  height: 21px;
}

.progress,
.player-progress {
  position: relative;
  height: 7px;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  appearance: none;
  background: #202121;
  cursor: pointer;
}

.player > .progress {
  grid-column: 1 / -1;
  height: 4px;
}

.progress i,
.progress span,
.player-progress i,
.player-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  border-radius: inherit;
}

.progress i,
.player-progress i {
  background: #313232;
}

.progress span,
.player-progress span {
  background: var(--accent);
}

.player-progress {
  width: 100%;
  height: 10px;
  background: #0b0c0c;
}

.time-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.player-secondary {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.player-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: end center;
  padding: var(--page-pad);
  background: #070809;
}

.player-sheet {
  width: min(560px, 100%);
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 32px;
  background: #0b0c0c;
}

.player-sheet header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.player-sheet header .btn {
  transform: rotate(90deg);
}

.player-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.player-kicker .icon-glyph {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 12px;
  background: #111212;
  color: var(--accent-2);
}

.player-art {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 28px;
  object-fit: cover;
  background: var(--panel-solid);
}

.player-copy h2,
.player-copy p {
  margin: 0;
}

.player-copy h2 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1;
}

.player-copy p {
  margin-top: 6px;
  color: var(--muted);
}

.player-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.player-tab {
  min-height: 48px;
  display: grid;
  place-items: center;
  gap: 3px;
  border: 0;
  border-radius: 17px;
  appearance: none;
  background: #111212;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.player-tab .icon-glyph {
  width: 19px;
  height: 19px;
}

.player-tab.active {
  background: var(--accent);
  color: #150d09;
}

.player-panel {
  padding: 14px;
  border-radius: 24px;
  background: #111212;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-title-row strong,
.panel-title-row p {
  margin: 0;
}

.panel-title-row p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.player-audio {
  width: 100%;
}

.now-panel {
  display: grid;
  gap: 12px;
}

.now-panel-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.now-panel-head > span,
.player-locked > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #0b0c0c;
  color: var(--accent-2);
}

.now-panel-head > span .icon-glyph,
.player-locked > span .icon-glyph {
  width: 21px;
  height: 21px;
}

.now-panel strong,
.now-panel p,
.player-locked strong,
.player-locked p {
  margin: 0;
}

.now-panel p,
.player-locked p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.player-locked {
  min-height: 76px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  background: #111212;
  color: var(--muted);
}

.lyrics-pad {
  display: grid;
  gap: 12px;
  border-radius: 24px;
}

.lyrics-pad strong,
.lyrics-pad p {
  margin: 0;
}

.lyrics-pad textarea {
  width: 100%;
  min-height: 136px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: 0;
  background: #0b0c0c;
  color: var(--ink);
  line-height: 1.5;
}

.lyrics-pad textarea:focus {
  border-color: #6e4a38;
}

.album-panel,
.artist-panel {
  display: grid;
  gap: 12px;
}

.album-panel strong,
.artist-panel strong {
  font-size: 1.1rem;
}

.album-panel p,
.artist-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.mini-tracklist {
  display: grid;
  gap: 6px;
}

.mini-tracklist > span {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border-radius: 13px;
  background: #0b0c0c;
  color: var(--muted);
  font-size: 0.82rem;
}

.mini-tracklist button {
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 0;
  border-radius: 15px;
  appearance: none;
  background: #0b0c0c;
  color: var(--ink);
  text-align: left;
  font-size: 0.82rem;
}

.mini-tracklist button.active {
  background: #171715;
}

.mini-tracklist button.active > b {
  background: var(--accent);
  color: #150d09;
}

.mini-tracklist button > b {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: #181919;
  color: var(--accent-2);
}

.mini-tracklist button > b .icon-glyph {
  width: 18px;
  height: 18px;
}

.mini-tracklist button > span {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-tracklist button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.72rem;
}

.mini-tracklist > span > b {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #181919;
  color: var(--accent-2);
  font-size: 0.72rem;
}

.artist-panel {
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
}

.artist-panel img {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: cover;
}

.player-controls.large {
  justify-content: center;
}

.player-controls.large .btn.icon {
  width: 58px;
  min-height: 58px;
  border-radius: 22px;
}

.toast {
  position: fixed;
  left: var(--page-pad);
  right: var(--page-pad);
  bottom: calc(var(--nav-h) + 10px);
  z-index: 80;
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  width: min(520px, calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
  padding: 8px 8px 8px 16px;
  border: 1px solid #242525;
  border-radius: 22px;
  background: #111212;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 760;
}

.shell.has-player .toast {
  bottom: calc(var(--nav-h) + var(--player-h) + 6px);
}

.toast.success {
  border-color: #22362c;
}

.toast.warning {
  border-color: #4a3920;
}

.toast.info {
  border-color: #303131;
}

.toast span {
  min-width: 0;
  line-height: 1.35;
}

.toast .btn.icon {
  width: 42px;
  min-height: 42px;
  border-radius: 16px;
}

.public-links-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: var(--gap);
  padding: clamp(14px, 2vw, 18px);
  border-radius: 24px;
  background: #0b0c0c;
}

.public-links-panel h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.25;
}

.public-link-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.public-link-grid .btn {
  min-height: 42px;
  white-space: nowrap;
}

.legal-page {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: clamp(16px, 4vw, 24px);
  border-radius: 24px;
  background: #0b0c0c;
}

.legal-page h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
}

.legal-page > .muted {
  max-width: 440px;
  margin: 0;
  line-height: 1.5;
}

.legal-list {
  display: grid;
  gap: 8px;
}

.legal-row {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 18px;
  background: #101111;
}

.legal-row h2 {
  margin: 0;
  font-size: 0.98rem;
}

.legal-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.login-page {
  width: 100%;
  display: grid;
  gap: 14px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 22px);
  border-radius: 24px;
  background: #0b0c0c;
}

.login-page .auth-copy h1 {
  max-width: 11ch;
  margin: 0 0 8px;
  font-size: clamp(2rem, 8vw, 2.8rem);
  line-height: 1;
}

.auth-copy {
  padding: 2px 2px 0;
}

.auth-copy h2 {
  max-width: 440px;
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 8vw, 3.2rem);
  line-height: 1;
}

.auth-copy p {
  max-width: 390px;
  line-height: 1.5;
}

.auth-panel {
  display: grid;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.auth-status {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 16px;
  background: #101111;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.auth-status .icon-glyph {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 12px;
  background: #0b0c0c;
  color: var(--accent-2);
}

.auth-status span {
  min-width: 0;
}

.otp-panel {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.otp-panel[hidden] {
  display: none;
}

.btn.wide {
  width: 100%;
}

.field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  background: var(--glass);
  color: var(--ink);
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.field textarea {
  min-height: 140px;
  padding-block: 13px;
  line-height: 1.45;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #6e4a38;
  background: #141515;
}

.auth-send {
  min-height: 48px;
}

.auth-verify-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.auth-verify-row .btn {
  min-height: 46px;
}

@media (max-width: 679px) {
  :root {
    --nav-h: 56px;
    --player-h: 68px;
  }

  .shell {
    padding-bottom: calc(var(--nav-h) + 6px);
  }

  .shell.has-player {
    padding-bottom: calc(var(--nav-h) + var(--player-h) + 12px);
  }

  .sidebar {
    min-height: var(--nav-h);
    align-items: center;
    padding: 5px max(8px, env(safe-area-inset-left)) calc(5px + env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-right));
    background: #070809;
    border-top: 1px solid #101111;
    border-radius: 0;
  }

  .nav-group {
    gap: 4px;
  }

  .nav-link {
    min-height: 42px;
    display: inline-flex;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #8f8982;
    font-size: 15px;
  }

  .nav-link b {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: transparent;
  }

  .nav-link b .icon-glyph {
    width: 18px;
    height: 18px;
  }

  .nav-link span {
    width: auto;
    font-size: 10.5px;
    font-weight: 720;
  }

  .nav-link.active {
    border-color: transparent;
    background: transparent;
    color: var(--ink);
  }

  .nav-link.active b {
    background: transparent;
    color: var(--accent-2);
  }

  .nav-link:hover b,
  .nav-link.active:hover b {
    background: transparent;
  }

  .topbar,
  .topbar.has-search {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 9px 10px;
    padding: 10px 12px 12px;
    border-radius: 0 0 20px 20px;
  }

  .top-page-title small {
    font-size: 0.68rem;
  }

  .top-page-title strong {
    font-size: 1.04rem;
  }

  .topbar-search {
    grid-column: 1 / -1;
    min-height: 42px;
  }

  .ops-readiness {
    padding: 14px;
    border-radius: 24px;
  }

  .ops-readiness-head {
    align-items: start;
  }

  .readiness-icon {
    width: 48px;
    height: 48px;
    border-radius: 18px;
  }

  .readiness-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .readiness-grid article {
    grid-template-columns: 1fr;
    place-items: center;
    gap: 5px;
    padding: 9px 4px;
    text-align: center;
  }

  .readiness-grid article > span {
    grid-row: auto;
    width: 32px;
    height: 32px;
    border-radius: 14px;
  }

  .readiness-grid strong {
    width: 100%;
    font-size: 0.83rem;
  }

  .readiness-grid small {
    width: 100%;
    font-size: 0.62rem;
    line-height: 1.1;
  }

  .player {
    left: 0;
    right: 0;
    bottom: var(--nav-h);
    min-height: var(--player-h);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 6px 12px 7px;
    border: 0;
    border-radius: 0;
    background: #090a0a;
  }

  .player.live {
    background: #090a0a;
  }

  .player-info strong {
    font-size: 0.84rem;
  }

  .player-info {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .player-info img {
    width: 42px;
    border-radius: 15px;
  }

  .player-info .muted {
    font-size: 0.72rem;
  }

  .player-controls {
    gap: 4px;
  }

  .player .btn.icon {
    width: 38px;
    min-height: 38px;
    border-radius: 999px;
    border-color: transparent;
    background: transparent;
  }

  .player .btn.primary.icon {
    width: 46px;
    min-height: 46px;
    background: var(--accent);
  }

  .player > .progress {
    height: 2px;
    background: #171818;
  }

  .toast {
    bottom: calc(var(--nav-h) + 8px);
  }

  .shell.has-player .toast {
    bottom: calc(var(--nav-h) + var(--player-h) + 4px);
  }

  .auth-main {
    align-content: start;
    padding: 14px 12px 24px;
  }

  .auth-top {
    min-height: 48px;
  }

  .gate,
  .login-page {
    border-radius: 22px;
  }

  .login-page .auth-copy h1 {
    max-width: 12ch;
  }

  .auth-copy p,
  .gate p {
    font-size: 0.94rem;
  }

  .auth-panel {
    padding: 0;
  }

  .auth-surface .button-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .auth-surface .btn {
    width: 100%;
    min-height: 44px;
  }

  .auth-verify-row {
    grid-template-columns: 1fr;
  }

  .auth-status {
    align-items: flex-start;
    padding: 10px;
  }

  .public-links-panel {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .public-link-grid,
  .legal-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .public-link-grid .btn,
  .legal-actions .btn {
    width: 100%;
  }

  .hero {
    min-height: 330px;
  }

  .hero-copy {
    padding: 20px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .page-title {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .page-title h1 {
    font-size: 2rem;
  }

  .page-actions {
    justify-content: flex-start;
  }

  .content-section {
    margin-block: 16px;
    padding: 0;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .album-card {
    gap: 7px;
    padding: 7px;
    border-radius: 16px;
  }

  .album-card .cover {
    border-radius: 15px;
  }

  .cover-badge {
    display: none;
  }

  .cover-action {
    right: 6px;
    bottom: 6px;
    width: 30px;
    height: 30px;
  }

  .cover-action .icon-glyph {
    width: 14px;
    height: 14px;
  }

  .album-card h3 {
    min-height: 2.15em;
    margin-bottom: 2px;
    font-size: 0.78rem;
    line-height: 1.08;
  }

  .album-card p {
    margin-bottom: 5px;
    font-size: 0.66rem;
  }

  .album-card-meta {
    grid-template-columns: 1fr;
    gap: 3px;
    font-size: 0.64rem;
  }

  .album-card-meta span:last-child {
    justify-self: start;
  }

  .album-card-meta .icon-glyph {
    width: 12px;
    height: 12px;
  }

  .album-card-actions {
    margin-top: 6px;
  }

  .album-card-actions span:nth-child(2) {
    justify-self: start;
    min-height: 25px;
    padding: 0 8px;
    font-size: 0.66rem;
  }

  .album-art-stack {
    width: 104px;
    margin-inline: auto;
  }

  .album-cover {
    width: 100%;
    border-radius: 21px;
  }

  .album-detail h1 {
    font-size: 2.2rem;
  }

  .album-flow .section-head {
    align-items: end;
  }

  .support-page {
    grid-template-columns: 1fr;
  }

  .support-compose,
  .support-thread {
    border-radius: 22px;
  }

  .section-head {
    align-items: center;
    margin-bottom: 12px;
  }

  .section-head h2 {
    font-size: 1.05rem;
  }

  .head-icon {
    width: 32px;
    height: 32px;
    border-radius: 13px;
  }

  .artist-card {
    gap: 8px;
    padding: 14px 10px;
    border-radius: 22px;
  }

  .artist-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .artist-card > img {
    width: 64px;
    border-radius: 999px;
  }

  .artist-card h2 {
    min-height: 2.2em;
    white-space: normal;
    font-size: 0.82rem;
    line-height: 1.1;
  }

  .artist-card-meta {
    gap: 6px;
  }

  .artist-card-meta span {
    min-height: 24px;
    padding-inline: 7px;
    font-size: 0.62rem;
  }

  .artist-card-meta .icon-glyph {
    display: none;
  }

  .artist-card-meta span:nth-child(2) {
    display: none;
  }

  .artist-card > .btn.icon {
    display: none;
  }
}

.empty {
  min-height: 210px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 24px;
  border: 0;
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.empty > div:not(.empty-icon) {
  max-width: 420px;
}

.empty-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #111212;
  color: var(--accent-2);
}

.empty-icon .icon-glyph {
  width: 28px;
  height: 28px;
}

.shelf-grid {
  display: grid;
  gap: var(--gap);
}

.shelf-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 24px;
  background: #111212;
  content-visibility: auto;
  contain-intrinsic-size: 140px;
}

.shelf-card img {
  width: 92px;
  aspect-ratio: 1;
  border-radius: 20px;
  object-fit: cover;
}

.shelf-card h3,
.shelf-card p {
  margin: 0;
}

.shelf-card h3 {
  margin: 7px 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shelf-card p,
.shelf-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shelf-card p,
.shelf-card small {
  color: var(--muted);
}

.shelf-card small {
  display: block;
  margin: 8px 0 12px;
}

.shelf-badge {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 999px;
  background: #18211d;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 850;
}

.shelf-badge .icon-glyph {
  width: 14px;
  height: 14px;
}

.shelf-badge.ended {
  background: #241d14;
  color: var(--amber);
}

.saved-grid {
  display: grid;
  gap: var(--gap);
}

.saved-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: var(--section-radius);
  background: #111212;
}

.saved-card header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.saved-card header > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #0b0c0c;
  color: var(--accent-2);
}

.saved-card h3,
.saved-card p {
  margin: 0;
}

.saved-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

@media (hover: none) {
  .cover-action {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 680px) {
  .search-cue {
    display: inline-flex;
  }

  .studio-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .recent-row,
  .shelf-grid,
  .saved-grid,
  .studio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .artist-index {
    grid-template-columns: repeat(3, minmax(180px, 220px));
    justify-content: start;
  }

  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .album-hero {
    grid-template-columns: none;
  }

  .track {
    grid-template-columns: 28px 52px minmax(0, 1fr) auto;
  }

  .artist-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

}

@media (min-width: 1040px) {
  :root {
    --nav-w: 188px;
    --player-h: 68px;
    --nav-h: 66px;
    --icon-size: 42px;
    --icon-radius: 15px;
  }

  .shell {
    display: grid;
    grid-template-columns: var(--nav-w) minmax(0, 1fr);
    padding-bottom: 0;
  }

  .shell.no-player {
    padding-bottom: 0;
  }

  .admin-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .admin-side {
    position: sticky;
    top: 0;
    height: 100vh;
    display: block;
    padding: 24px 18px;
    background: #090a0a;
  }

  .admin-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 950;
  }

.admin-main {
    width: 100%;
    padding: 28px 44px;
  }

  .main {
    width: min(100%, 1160px);
    margin-inline: 0 auto;
    padding: 24px 28px;
  }

  .sidebar {
    position: sticky;
    inset: 0 auto auto 0;
    height: 100vh;
    align-self: start;
    display: block;
    padding: 24px 16px;
    background: #090a0a;
    border-radius: 0;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 950;
  }

  .nav-title,
  .nav-group:nth-of-type(2) {
    display: block;
  }

  .nav-title {
    margin: 20px 0 8px;
    color: var(--quiet);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav-group {
    display: block;
  }

  .desktop-only {
    display: flex;
  }

  .nav-link {
    min-height: 44px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 10px;
    margin: 3px 0;
    border-radius: 14px;
    font-size: 16px;
  }

  .nav-link b {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: #111212;
  }

  .nav-link b .icon-glyph {
    width: 18px;
    height: 18px;
  }

  .nav-link span {
    font-size: 12px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin: -28px -44px 20px;
    padding: 18px 44px;
    border-radius: 0 0 28px 28px;
  }

  .topbar.has-search {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 470px) auto;
  }

  .topbar-search {
    grid-column: auto;
    justify-self: end;
    width: min(100%, 470px);
  }

  .content-section {
    padding: 26px;
  }

  .album-detail {
    padding: 0;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .artist-albums .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    min-height: 360px;
    align-items: center;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
    background: #0b0c0c;
  }

  .hero-art {
    min-height: 100%;
    order: 2;
    background-position: center;
  }

  .hero h1 {
    font-size: 4.3rem;
  }

  .stream-frame {
    border-radius: 22px 22px 0 0;
  }

  .player {
    left: var(--nav-w);
    right: 0;
    bottom: 16px;
    grid-template-columns: minmax(0, 0.8fr) auto minmax(160px, 1fr);
    width: min(760px, calc(100vw - var(--nav-w) - 32px));
    margin-inline: auto;
    padding: 8px 12px;
    border-radius: 18px;
    min-height: 58px;
  }

  .toast {
    left: calc(var(--nav-w) + 22px);
    right: 22px;
    bottom: 22px;
  }

  .shell.has-player .toast {
    bottom: calc(var(--player-h) + 8px);
  }

  .progress {
    height: 5px;
    grid-column: auto;
  }
}

@media (min-width: 1380px) {
  :root {
    --nav-w: 196px;
  }

  .main {
    padding-inline: 32px;
  }

  .topbar {
    margin-inline: -32px;
    padding-inline: 32px;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }

  .artist-albums .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
