:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --panel: rgba(18, 18, 18, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(28, 28, 28, 0.98);
  --line: rgba(255, 214, 10, 0.1);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f5f1e6;
  --muted: #a89f90;
  --yellow: #ffd60a;
  --yellow-strong: #ffca0a;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 214, 10, 0.08), transparent 22%),
    radial-gradient(circle at 100% 0%, rgba(255, 214, 10, 0.06), transparent 18%),
    linear-gradient(180deg, #040404 0%, #090909 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.solo-shell {
  width: min(100%, 1920px);
  min-height: 100vh;
  height: 100vh;
  margin: 0 auto;
  padding: 12px 16px 16px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  overflow: visible;
  isolation: isolate;
}

.panel-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 214, 10, 0.03), transparent 28%),
    rgba(14, 14, 14, 0.97);
  box-shadow: var(--shadow);
}

.solo-topbar {
  position: relative;
  z-index: 80;
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(9, 9, 9, 0.9);
  backdrop-filter: blur(20px);
}

.solo-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.solo-brand-mark {
  display: grid;
  place-items: center;
  width: 20px;
  height: 50px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 214, 10, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 214, 10, 0.18), rgba(255, 214, 10, 0.02)),
    rgba(255, 255, 255, 0.02);
}

.solo-brand-mark img {
  display: none;
}

.solo-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.solo-brand-copy strong,
.hero-copy h1,
.section-head h2,
.auth-card h2 {
  font-family: "Syne", sans-serif;
}

.solo-brand-copy strong {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 0.92;
  text-transform: uppercase;
}

.solo-brand-copy small,
.section-kicker,
.section-meta,
.mode-link {
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.solo-brand-copy small {
  font-size: 0.68rem;
  color: #c7bc97;
}

.solo-search-shell {
  min-width: 0;
  position: relative;
  display: block;
  align-items: center;
}

.solo-search-field {
  position: relative;
  min-width: 0;
}

.solo-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #d8cb98;
  font-size: 1rem;
  pointer-events: none;
}

.solo-search {
  width: 100%;
  min-height: 50px;
  padding: 0 22px 0 54px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.028);
  color: var(--text);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 220;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 214, 10, 0.14);
  border-radius: 22px;
  background: rgba(12, 12, 12, 0.98);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.42);
  max-height: min(56vh, 520px);
  overflow-y: auto;
}

.search-suggestions[hidden] {
  display: none !important;
}

.search-hit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.search-hit-copy strong,
.search-hit-copy span {
  display: block;
}

.search-hit-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.search-hit-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.solo-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.sidebar-nav-rail {
  display: grid;
  gap: 10px;
}

.rail-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  color: #ddd2b0;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.rail-link:hover,
.rail-link.is-active {
  transform: translateY(-1px);
  border-color: rgba(255, 214, 10, 0.22);
  background: rgba(255, 214, 10, 0.08);
  color: var(--yellow);
}

.mode-link,
.profile-pill,
.action-pill,
.shortcut-pill,
.round-button,
.google-button,
.auth-tab {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.mode-link,
.profile-pill,
.action-pill,
.shortcut-pill,
.google-button,
.auth-tab {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.mode-link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.05em;
  font-size: 0.88rem;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.mode-link-button:hover {
  color: #d8cb98;
  border-color: rgba(255, 214, 10, 0.16);
  background: rgba(255, 214, 10, 0.05);
}

#volume-panel {
  transition: opacity 180ms ease, transform 180ms ease, max-height 180ms ease;
}

.profile-pill,
.action-pill,
.shortcut-pill,
.round-button,
.google-button,
.auth-tab {
  cursor: pointer;
}

.profile-pill,
.action-pill.is-primary,
.round-button-primary {
  background: linear-gradient(180deg, #ffe46a 0%, var(--yellow-strong) 100%);
  color: #060606;
  font-weight: 800;
}

.solo-main {
  min-height: 0;
  display: grid;
  grid-template-columns: 280px minmax(0, 1.35fr) 340px;
  gap: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.solo-sidebar,
.queue-card,
.stats-card {
  min-height: 0;
  overflow: hidden;
}

.sidebar-scroll,
.center-scroll,
.queue-scroll {
  min-height: 0;
  height: 100%;
  overflow: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 214, 10, 0.22) transparent;
}

.sidebar-scroll::-webkit-scrollbar,
.center-scroll::-webkit-scrollbar,
.queue-scroll::-webkit-scrollbar {
  width: 7px;
}

.sidebar-scroll::-webkit-scrollbar-track,
.center-scroll::-webkit-scrollbar-track,
.queue-scroll::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.sidebar-scroll::-webkit-scrollbar-thumb,
.center-scroll::-webkit-scrollbar-thumb,
.queue-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 214, 10, 0.34), rgba(255, 214, 10, 0.14));
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
}

.sidebar-scroll {
  padding: 14px 10px 14px 14px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.user-panel {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
}

.user-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffe46a 0%, var(--yellow-strong) 100%);
  color: #050505;
  font-size: 1.35rem;
  font-weight: 800;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
}

.user-copy,
.hero-copy p,
.auth-brand p,
.queue-empty {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.user-panel strong,
.user-copy {
  display: block;
  min-width: 0;
}

.user-copy {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shortcut-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shortcut-pill.is-active,
.auth-tab.is-active {
  border-color: rgba(255, 214, 10, 0.46);
  background: rgba(255, 214, 10, 0.12);
  color: var(--yellow);
}

.side-block {
  padding: 4px 0 0;
}

.side-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.side-head p,
.side-head span,
.section-head h2,
.section-head p,
.section-head span {
  margin: 0;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.mini-item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.mini-item.is-clickable {
  cursor: pointer;
}

.mini-item.is-clickable:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mini-item strong,
.mini-item span {
  display: block;
}

.mini-item span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.solo-center {
  min-height: 0;
  overflow: hidden;
}

.center-scroll {
  display: grid;
  align-content: start;
  gap: 16px;
  padding-right: 4px;
}

.hero-card,
.shelf-card,
.queue-card,
.stats-card,
.auth-card {
  padding: 20px;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, clamp(220px, 28vw, 320px));
  align-items: center;
  gap: 22px;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 214, 10, 0.05), transparent 30%),
    linear-gradient(135deg, rgba(255, 214, 10, 0.06), transparent 48%),
    rgba(14, 14, 14, 0.97);
}

.hero-card > * {
  min-width: 0;
}

.hero-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.hero-copy h1 {
  max-width: 9.5ch;
  margin: 0;
  font-size: clamp(2.8rem, 4.2vw, 4.35rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.hero-copy p {
  max-width: 52ch;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-track-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-detail-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 10, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: #ddd2b0;
  font-size: 0.86rem;
}

.hero-art-card {
  position: relative;
  display: grid;
  align-content: start;
  justify-self: end;
  align-self: center;
  gap: 18px;
  min-width: 0;
  width: 100%;
  max-width: 288px;
  min-height: 0;
  padding: 18px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 214, 10, 0.1);
  background:
    radial-gradient(circle at top left, rgba(255, 214, 10, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 214, 10, 0.08), transparent 40%),
    #141414;
}

.hero-art-card img {
  display: block;
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 250px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  opacity: 0.98;
  border: 1px solid rgba(255, 214, 10, 0.16);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
}

.hero-track-meta {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
  padding-top: 0;
  display: grid;
  gap: 8px;
}

.hero-track-meta strong {
  display: block;
  font-size: 1.95rem;
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-track-meta span {
  display: block;
  color: #d7cba4;
  line-height: 1.45;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.catalog-grid,
.track-row {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

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

.catalog-grid.is-artist-view {
  grid-template-columns: minmax(0, 1fr);
}

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

.track-card {
  position: relative;
  padding: 16px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 34%),
    rgba(20, 20, 20, 0.94);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.track-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 10, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 214, 10, 0.05), transparent 34%),
    rgba(20, 20, 20, 0.97);
}

.track-card-album {
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.track-card-album:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 10, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 214, 10, 0.06), transparent 34%),
    rgba(20, 20, 20, 0.96);
}

.track-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 214, 10, 0.16), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

.artist-overview {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at left center, rgba(255, 214, 10, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 38%),
    rgba(20, 20, 20, 0.94);
}

.artist-overview-art {
  width: 112px;
  height: 112px;
  padding: 8px;
  border-radius: 28px;
  background: rgba(6, 6, 6, 0.72);
  border: 1px solid rgba(255, 214, 10, 0.12);
}

.artist-overview-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

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

.artist-overview-copy strong,
.artist-overview-copy span {
  display: block;
}

.artist-overview-copy strong {
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 0.98;
}

.artist-overview-copy span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.artist-overview-meta {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.artist-overview-meta small {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d7cba4;
}

.artist-tracklist {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%),
    rgba(16, 16, 16, 0.94);
}

.artist-tracklist-head,
.artist-track-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.4fr) minmax(120px, 0.85fr) 84px auto;
  gap: 14px;
  align-items: center;
}

.artist-tracklist-head {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(12, 12, 12, 0.96);
}

.artist-tracklist-body {
  display: grid;
}

.artist-track-row {
  padding: 12px 18px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.artist-track-row:hover {
  background: rgba(255, 214, 10, 0.05);
  border-color: rgba(255, 214, 10, 0.12);
  transform: translateX(2px);
}

.artist-track-row.is-current {
  background: linear-gradient(90deg, rgba(255, 214, 10, 0.12), rgba(255, 214, 10, 0.03));
  border-color: rgba(255, 214, 10, 0.18);
}

.artist-track-index,
.artist-track-duration {
  color: #c2b487;
  font-variant-numeric: tabular-nums;
}

.artist-track-row.is-current .artist-track-index,
.artist-track-row.is-current .artist-track-copy strong,
.artist-track-row.is-current .artist-track-duration {
  color: var(--yellow);
}

.artist-track-row.is-current .artist-track-copy span,
.artist-track-row.is-current .artist-track-album {
  color: #f1e5bb;
}

.artist-track-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.artist-track-thumb {
  width: 54px;
  height: 54px;
  padding: 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 214, 10, 0.08);
}

.artist-track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

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

.artist-track-copy strong,
.artist-track-copy span {
  display: block;
}

.artist-track-copy strong,
.artist-track-album {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-track-copy strong {
  font-size: 1rem;
}

.artist-track-copy span,
.artist-track-album {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.artist-track-actions {
  display: flex;
  justify-content: flex-end;
}

.artist-track-actions .ghost-button {
  min-width: 104px;
}

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

@media (max-width: 920px) {
  .artist-overview {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .artist-overview-meta {
    grid-column: 1 / -1;
    justify-items: start;
    grid-auto-flow: column;
  }

  .artist-tracklist-head,
  .artist-track-row {
    grid-template-columns: 36px minmax(0, 1fr) 74px auto;
  }

  .artist-track-album {
    display: none;
  }

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

@media (max-width: 640px) {
  .artist-overview {
    grid-template-columns: 1fr;
  }

  .artist-overview-art {
    width: 96px;
    height: 96px;
  }

  .artist-tracklist-head {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .artist-tracklist-head span:nth-child(4),
  .artist-tracklist-head span:nth-child(5) {
    display: none;
  }

  .artist-track-row {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .artist-track-duration,
  .artist-track-actions {
    display: none;
  }

  .artist-track-main {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
  }

  .artist-track-thumb {
    width: 46px;
    height: 46px;
  }

  .artist-discography-grid {
    grid-template-columns: 1fr;
  }
}

.track-cover {
  position: relative;
  width: 76px;
  height: 76px;
  padding: 8px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px solid rgba(255, 214, 10, 0.1);
  background: rgba(10, 10, 10, 0.74);
}

.track-card-album .track-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 10px;
  border-radius: 24px;
}

.track-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.track-card-album .track-cover img {
  border-radius: 18px;
}

.track-copy,
.track-actions {
  position: relative;
  z-index: 1;
}

.track-copy {
  margin-top: 14px;
}

.track-copy strong,
.queue-item strong {
  display: block;
  font-size: 1.05rem;
}

.track-copy span,
.queue-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.track-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.track-badges small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d7cba4;
}

.track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ghost-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.7);
  color: var(--text);
  cursor: pointer;
}

.ghost-button.is-liked {
  border-color: rgba(255, 214, 10, 0.45);
  color: var(--yellow);
}

.solo-right {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  overflow: hidden;
}

.queue-card {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.queue-list {
  display: grid;
  gap: 12px;
}

.queue-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.queue-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stats-grid article {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.stats-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-grid strong {
  font-size: 1.1rem;
}

.solo-dock {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr) 160px;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 26px;
}

.dock-now {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dock-cover {
  width: 72px;
  height: 72px;
  padding: 5px;
  border-radius: 22px;
  border: 1px solid rgba(255, 214, 10, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 214, 10, 0.06), transparent 65%),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dock-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.dock-copy {
  min-width: 0;
}

.dock-copy strong,
.dock-copy span {
  display: block;
}

.dock-copy strong,
.dock-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dock-copy strong {
  font-size: 1rem;
  line-height: 1.08;
}

.dock-copy span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.18;
}

.dock-center {
  display: grid;
  gap: 8px;
  min-width: 0;
  justify-items: center;
}

.dock-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.round-button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.round-button svg,
.icon-button svg,
.mode-link-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button-badge {
  position: absolute;
  right: 10px;
  bottom: 9px;
  font-size: 0.62rem;
  font-weight: 800;
  color: currentColor;
}

.round-button:hover {
  border-color: rgba(255, 214, 10, 0.22);
  color: var(--yellow);
  background: rgba(255, 214, 10, 0.06);
  transform: translateY(-1px);
}

.round-button.round-button-primary {
  width: 56px;
  height: 56px;
  font-size: 1rem;
  box-shadow:
    0 10px 24px rgba(255, 202, 10, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.icon-button {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.dock-side-control {
  width: 38px;
  min-width: 38px;
  height: 38px;
  color: #d8ccb1;
  background: rgba(255, 255, 255, 0.022);
}

.icon-button:hover,
.icon-button.is-active {
  color: var(--yellow);
  border-color: rgba(255, 214, 10, 0.34);
  background: rgba(255, 214, 10, 0.1);
  transform: translateY(-1px);
}

.icon-button.is-active-pulse {
  color: var(--yellow);
  border-color: rgba(255, 214, 10, 0.34);
  background: rgba(255, 214, 10, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 214, 10, 0.18), 0 0 20px rgba(255, 214, 10, 0.12);
}

.icon-button.is-static {
  cursor: default;
  transform: none;
}

.dock-progress {
  display: grid;
  width: min(100%, 680px);
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #d9cca1;
}

.progress-rail {
  width: 100%;
  height: 5px;
  padding: 1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff0a8 0%, var(--yellow) 55%, #c99900 100%);
}

.dock-side {
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: end;
  min-width: 0;
}

.dock-side-row {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.inline-select {
  display: grid;
  gap: 8px;
  width: 100%;
}

.inline-select span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inline-select input,
.inline-select select,
.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.inline-select-volume input {
  accent-color: var(--yellow);
  width: min(100%, 240px);
}

.inline-select-volume span {
  text-align: center;
}

#volume-panel {
  width: 142px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition:
    max-height 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

#volume-panel.is-open {
  max-height: 72px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.track-card-album .track-copy strong {
  font-size: 1.02rem;
  line-height: 1.18;
}

.track-card-album .track-copy span {
  font-size: 0.86rem;
  line-height: 1.3;
}

#queue-scroll.is-flashing,
#catalog-grid.is-flashing {
  box-shadow: 0 0 0 1px rgba(255, 214, 10, 0.22), 0 0 24px rgba(255, 214, 10, 0.12);
  border-radius: 24px;
}

.auth-layer {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  z-index: 999;
}

.auth-layer.is-open {
  display: grid;
}

.auth-card {
  width: min(92vw, 520px);
  max-height: min(90vh, 760px);
  overflow: auto;
  position: relative;
  z-index: 1;
  padding: 24px;
  border-radius: 32px;
}

.auth-brand {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.auth-brand img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(255, 214, 10, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.auth-brand h2,
.auth-brand p {
  margin: 0;
}

.auth-brand h2 {
  margin-top: 4px;
  font-size: 2rem;
  line-height: 1.02;
}

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

.auth-intro {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 214, 10, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 214, 10, 0.04), transparent 80%),
    rgba(255, 255, 255, 0.025);
}

.auth-intro strong {
  font-size: 1.02rem;
}

.auth-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form.is-hidden {
  display: none;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form span {
  color: #ddd2b0;
  font-weight: 700;
}

.full-width {
  width: 100%;
}

.auth-divider {
  position: relative;
  margin: 18px 0;
  text-align: center;
}

.auth-divider::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  position: relative;
  padding: 0 10px;
  background: rgba(14, 14, 14, 0.97);
  color: var(--muted);
}

.auth-feedback {
  min-height: 26px;
  margin: 14px 0 0;
  color: #f5cc70;
  line-height: 1.45;
}

.google-auth-block {
  display: grid;
  gap: 10px;
}

.google-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.08);
}

.google-button.is-disabled {
  opacity: 0.72;
}

.google-consent-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 214, 10, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.google-consent-card strong {
  font-size: 0.94rem;
}

.google-consent-card span {
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

.google-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
  color: #111111;
  font-size: 0.92rem;
  font-weight: 800;
}

.google-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.94rem;
}

.auth-form input {
  padding-right: 18px;
}

.auth-form input::placeholder {
  color: rgba(245, 241, 230, 0.38);
}

@media (max-width: 1380px) {
  .solo-main {
    grid-template-columns: 280px minmax(0, 1fr) 330px;
  }

  .hero-card {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
    gap: 18px;
    min-height: 360px;
  }

  .hero-art-card {
    max-width: 252px;
    padding: 16px;
  }

  .hero-art-card img {
    max-height: 220px;
    border-radius: 24px;
  }

  .hero-track-meta strong {
    font-size: 1.5rem;
  }

  .hero-track-meta span {
    font-size: 0.92rem;
  }

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

@media (max-width: 1100px) {
  .solo-shell {
    height: auto;
    min-height: 100vh;
    grid-template-rows: auto auto auto;
    overflow: visible;
  }

  .solo-topbar,
  .solo-main,
  .hero-card,
  .solo-dock {
    grid-template-columns: 1fr;
  }

  .solo-search-shell {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .solo-search-field {
    grid-column: 1 / -1;
  }

  .solo-search-button {
    width: 100%;
  }

  .solo-main,
  .solo-right {
    overflow: visible;
  }

  .sidebar-scroll,
  .center-scroll,
  .queue-scroll {
    height: auto;
    overflow: visible;
  }

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

  .dock-now,
  .dock-center,
  .dock-side {
    justify-items: stretch;
  }

  .dock-side {
    justify-items: stretch;
  }

  .dock-side-row {
    justify-content: center;
  }

  .dock-controls {
    flex-wrap: wrap;
  }

  .inline-select-volume span {
    text-align: left;
  }

  .inline-select-volume input {
    max-width: none;
  }

  .hero-art-card {
    min-height: 300px;
  }

  .hero-art-card img {
    width: min(100%, 240px);
    height: auto;
    justify-self: start;
  }

  .hero-track-meta {
    gap: 6px;
  }

  .queue-card {
    max-height: none;
  }
}

@media (max-width: 720px) {
  .solo-shell {
    height: auto;
    min-height: 100vh;
    padding: 8px 8px 96px;
    gap: 10px;
  }

  .solo-topbar {
    position: sticky;
    top: 0;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
  }

  .solo-brand {
    gap: 8px;
  }

  .solo-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .solo-brand-copy strong {
    font-size: 1.2rem;
    white-space: normal;
  }

  .solo-brand-copy small {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

  .solo-search-shell {
    order: 2;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
  }

  .solo-home-link {
    min-height: 52px;
    padding: 0 14px;
    font-size: 0.78rem;
  }

  .solo-search-field {
    min-width: 0;
  }

  .solo-search {
    min-height: 52px;
    padding-left: 44px;
    font-size: 0.96rem;
  }

  .solo-search-button {
    min-width: 64px;
    min-height: 52px;
    padding: 0 14px;
    font-weight: 800;
  }

  .search-suggestions {
    top: calc(100% + 8px);
    padding: 10px;
    border-radius: 18px;
    max-height: min(48vh, 380px);
  }

  .search-hit {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .search-hit-copy strong {
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .search-hit-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .search-hit-actions .ghost-button {
    width: 100%;
    min-height: 42px;
  }

  .solo-top-actions {
    order: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mode-link,
  .profile-pill {
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    white-space: normal;
    line-height: 1.15;
  }

  .profile-pill {
    grid-column: 1 / -1;
  }

  .solo-main {
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: visible;
  }

  .solo-center {
    order: 1;
  }

  .solo-right {
    order: 2;
    grid-template-rows: auto;
    gap: 12px;
  }

  .solo-sidebar {
    order: 3;
  }

  .sidebar-scroll,
  .center-scroll,
  .queue-scroll {
    padding-right: 0;
  }

  .sidebar-scroll {
    gap: 14px;
    padding: 14px;
  }

  .solo-top-actions,
  .hero-actions,
  .auth-tabs {
    flex-wrap: wrap;
  }

  .catalog-grid,
  .track-row,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .user-panel {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .user-avatar {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 1.15rem;
  }

  .shortcut-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .shortcut-pill {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
  }

  .side-block {
    display: none;
  }

  .hero-card,
  .shelf-card,
  .queue-card,
  .stats-card {
    padding: 14px;
    border-radius: 20px;
  }

  .hero-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .hero-copy {
    order: 2;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 2.05rem;
    line-height: 0.96;
  }

  .hero-copy p {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }

  .hero-actions .action-pill {
    width: 100%;
    min-height: 46px;
  }

  .hero-track-details {
    gap: 8px;
    margin-top: 12px;
  }

  .hero-detail-pill {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .hero-art-card {
    order: 1;
    min-height: 0;
    padding: 18px;
    border: 1px solid rgba(255, 214, 10, 0.08);
    background:
      radial-gradient(circle at top left, rgba(255, 214, 10, 0.12), transparent 50%),
      rgba(18, 18, 18, 0.92);
    display: grid;
    gap: 12px;
  }

  .hero-art-card img {
    position: static;
    width: min(100%, 220px);
    height: auto;
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  }

  .hero-track-meta {
    display: grid;
    gap: 5px;
  }

  .hero-track-meta strong {
    font-size: 1.4rem;
  }

  .hero-track-meta span {
    font-size: 0.92rem;
  }

  .section-head h2 {
    font-size: 1.12rem;
    line-height: 1.08;
  }

  .section-meta {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .track-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 20px;
  }

  .track-cover {
    width: 72px;
    height: 72px;
    padding: 6px;
    border-radius: 18px;
  }

  .track-cover img {
    border-radius: 14px;
  }

  .track-copy {
    margin-top: 0;
    min-width: 0;
  }

  .track-copy strong {
    font-size: 0.92rem;
    line-height: 1.15;
  }

  .track-copy span {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .track-badges {
    grid-column: 2;
    margin-top: 8px;
  }

  .track-badges small {
    min-height: 24px;
    font-size: 0.74rem;
  }

  .track-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .track-actions .ghost-button {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .queue-card {
    max-height: 36vh;
  }

  .queue-scroll {
    overflow: auto;
  }

  .queue-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .queue-item-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .queue-item-actions .ghost-button {
    width: 100%;
  }

  .stats-card {
    display: none;
  }

  .solo-dock {
    position: sticky;
    bottom: 8px;
    z-index: 90;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 22px;
    backdrop-filter: blur(24px);
  }

  .dock-now {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }

  .dock-cover {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .dock-cover img {
    border-radius: 11px;
  }

  .dock-copy strong {
    font-size: 0.88rem;
  }

  .dock-copy span {
    font-size: 0.76rem;
  }

  .dock-center {
    gap: 8px;
  }

  .dock-tools {
    justify-content: center;
    gap: 10px;
  }

  .dock-controls {
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .round-button {
    width: 42px;
    height: 42px;
    font-size: 0.84rem;
  }

  .round-button.round-button-primary {
    width: 52px;
    height: 52px;
    font-size: 1rem;
  }

  .icon-button {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
  }

  .dock-progress {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
    font-size: 0.72rem;
  }

  .dock-side {
    gap: 6px;
    justify-items: stretch;
  }

  .dock-side-row {
    justify-content: center;
    gap: 10px;
  }

  #volume-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
  }

  #volume-panel.is-open {
    max-height: 72px;
    opacity: 1;
    transform: translateY(0);
  }

  .inline-select-volume {
    padding-top: 2px;
  }

  .inline-select-volume span {
    text-align: left;
    font-size: 0.68rem;
  }

  .inline-select-volume input {
    max-width: none;
  }

  .auth-layer {
    padding: 12px;
  }

  .auth-card {
    width: min(100vw - 24px, 520px);
    max-height: min(92vh, 860px);
    padding: 18px;
    border-radius: 26px;
  }

  .auth-brand {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 14px;
  }

  .auth-brand img {
    width: 82px;
    height: 82px;
    border-radius: 20px;
  }

  .auth-brand h2 {
    font-size: 1.45rem;
  }

  .auth-intro {
    padding: 14px;
    border-radius: 18px;
  }

  .auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .auth-tab,
  .google-button,
  .full-width {
    min-height: 48px;
  }

  .google-consent-card {
    padding: 12px 14px;
  }

  .google-copy {
    font-size: 0.88rem;
  }
}

@media (min-width: 721px) and (max-width: 1024px) {
  .solo-shell {
    height: auto;
    min-height: 100vh;
    padding: 12px 12px 26px;
  }

  .solo-topbar {
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-areas:
      "brand actions"
      "search search";
    gap: 12px;
  }

  .solo-brand {
    grid-area: brand;
  }

  .solo-search-shell {
    grid-area: search;
  }

  .solo-top-actions {
    grid-area: actions;
    justify-content: flex-end;
    gap: 8px;
  }

  .mode-link,
  .profile-pill {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

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

  .solo-right {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 12px;
  }

  .solo-sidebar {
    display: none;
  }

  .solo-dock {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}
