:root {
  color-scheme: dark;
  --bg: #08131d;
  --bg-soft: rgba(11, 25, 38, 0.82);
  --panel: rgba(10, 23, 35, 0.78);
  --panel-strong: rgba(14, 32, 47, 0.96);
  --border: rgba(123, 220, 255, 0.16);
  --text: #eef8ff;
  --muted: #9eb8c9;
  --accent: #7bdcff;
  --accent-strong: #1cb7f6;
  --warm: #ff9460;
  --warm-deep: #ff6d4d;
  --good: #6cffcf;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --transition: 180ms ease;
  font-family: "Segoe UI Variable Text", "Aptos", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  background:
    radial-gradient(circle at top left, rgba(28, 183, 246, 0.18), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 148, 96, 0.18), transparent 24%),
    linear-gradient(180deg, #050d14, #08131d 30%, #091824 100%);
  color: var(--text);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.background-orb {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(88px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.background-orb-left {
  left: -12rem;
  top: -10rem;
  background: linear-gradient(135deg, var(--accent), transparent);
}

.background-orb-right {
  right: -10rem;
  bottom: -12rem;
  background: linear-gradient(135deg, var(--warm), transparent);
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr) minmax(320px, 360px);
  gap: 18px;
  min-height: 100vh;
  padding: 18px;
}

.account-shell {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 100vh;
  padding: 18px;
  position: relative;
  z-index: 1;
}

.account-topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
}

.account-home-link {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
  text-decoration: none;
}

.account-home-link img {
  border-radius: 14px;
  height: 44px;
  object-fit: cover;
  width: 44px;
}

.account-profile-logo {
  bottom: auto;
  position: static;
  right: auto;
}

.account-hero {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  padding: 28px;
}

.account-hero h1 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Bahnschrift SemiBold", sans-serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
  margin: 10px 0 16px;
}

.account-hero p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
  max-width: 62ch;
}

.account-auth-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 18px;
}

.panel {
  background: linear-gradient(180deg, rgba(15, 29, 42, 0.94), rgba(8, 19, 29, 0.88));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.sidebar,
.detail-column,
.main-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar {
  padding: 24px;
}

.account-card {
  background:
    radial-gradient(circle at top right, rgba(123, 220, 255, 0.1), transparent 36%),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(123, 220, 255, 0.12);
  border-radius: 24px;
}

.account-copy {
  color: var(--muted);
  line-height: 1.55;
  margin: -4px 0 14px;
}

.auth-form,
.account-session {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-form[hidden],
.account-session[hidden],
.auth-feedback[hidden] {
  display: none;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-form label span,
.account-session span {
  color: var(--muted);
  font-size: 0.82rem;
}

.auth-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.account-session strong {
  overflow-wrap: anywhere;
}

.auth-feedback {
  border: 1px solid rgba(123, 220, 255, 0.18);
  border-radius: 16px;
  color: var(--muted);
  line-height: 1.5;
  margin: 14px 0 0;
  padding: 12px;
}

.auth-feedback[data-tone="success"] {
  background: rgba(108, 255, 207, 0.08);
  border-color: rgba(108, 255, 207, 0.24);
  color: #c8fff1;
}

.auth-feedback[data-tone="error"] {
  background: rgba(255, 109, 77, 0.08);
  border-color: rgba(255, 109, 77, 0.3);
  color: #ffd8ce;
}

.music-upload-zone,
.player-cover-zone {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(123, 220, 255, 0.32);
  border-radius: 24px;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  text-align: left;
}

.music-upload-zone.drag-active,
.player-cover-zone.drag-active {
  border-color: rgba(123, 220, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(123, 220, 255, 0.28);
}

.music-upload-kicker,
.player-cover-kicker {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.music-upload-zone strong,
.player-cover-zone strong {
  font-size: 1rem;
}

.music-upload-status,
.player-cover-status {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.brand-block h1,
.hero-copy h2,
.drop-card h2 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Bahnschrift SemiBold", sans-serif;
  letter-spacing: -0.04em;
}

.brand-block h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin: 0;
}

.brand-logo {
  border-radius: 20px;
  display: block;
  margin: 0 0 18px;
  width: min(100%, 220px);
}

.brand-copy {
  color: var(--muted);
  line-height: 1.65;
  margin: 12px 0 0;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.primary-action,
.secondary-action,
.danger-action,
.control-button,
.play-button,
.album-pill,
.queue-button {
  border: 0;
  border-radius: 999px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.primary-action,
.play-button {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #03202d;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(28, 183, 246, 0.28);
}

.primary-action:hover,
.secondary-action:hover,
.danger-action:hover,
.control-button:hover,
.play-button:hover,
.album-pill:hover,
.playlist-card:hover,
.queue-button:hover,
.discovery-card:hover,
.track-row:hover {
  transform: translateY(-1px);
}

.primary-action,
.secondary-action,
.danger-action {
  min-height: 50px;
  padding: 0 18px;
}

.secondary-action,
.control-button,
.album-pill,
.queue-button {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.danger-action {
  background: rgba(255, 109, 77, 0.12);
  color: #ffd6c8;
  border: 1px solid rgba(255, 109, 77, 0.24);
}

.ghost-link {
  background: transparent;
  border: 0;
  color: var(--accent);
  font-weight: 700;
  padding: 0;
}

.sidebar-section,
.player-card,
.editor-card,
.queue-card,
.toolbar,
.discovery-panel,
.albums-rail,
.playlists-panel,
.track-panel {
  padding: 22px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.05rem;
}

.section-heading span {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
}

.premium-test-card {
  background:
    radial-gradient(circle at top right, rgba(123, 220, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
}

.premium-plan-label {
  color: var(--text);
  display: block;
  font-family: "Bahnschrift SemiBold", "Segoe UI Variable Display", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1;
  margin: 14px 0;
  text-shadow: 0 0 24px rgba(123, 220, 255, 0.38);
}

.premium-benefits {
  color: var(--muted);
  display: grid;
  gap: 8px;
  line-height: 1.45;
  list-style: none;
  margin: 14px 0;
  padding: 0;
}

.premium-beta-note {
  border-left: 3px solid var(--accent);
  color: var(--muted);
  line-height: 1.5;
  margin: 12px 0;
  padding-left: 12px;
}

.premium-benefits li::before {
  color: var(--accent);
  content: "✓ ";
  font-weight: 900;
}

.premium-price {
  color: var(--text);
  font-weight: 800;
  margin: 12px 0 16px;
}

.checkout-shell {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: 100vh;
  padding: clamp(18px, 4vw, 48px);
  position: relative;
  z-index: 1;
}

.checkout-hero {
  align-content: center;
  display: grid;
  gap: 20px;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.checkout-hero::after {
  background:
    radial-gradient(circle, rgba(123, 220, 255, 0.42), transparent 34%),
    linear-gradient(135deg, rgba(28, 183, 246, 0.1), rgba(255, 148, 96, 0.08));
  border-radius: 999px;
  content: "";
  height: 360px;
  position: absolute;
  right: -150px;
  top: -110px;
  width: 360px;
}

.checkout-back-link {
  color: var(--accent);
  font-weight: 800;
  position: relative;
  text-decoration: none;
  z-index: 1;
}

.checkout-hero h1 {
  font-family: "Bahnschrift SemiBold", "Segoe UI Variable Display", sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.07em;
  line-height: 0.88;
  margin: 0;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.checkout-lede {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  margin: 0;
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.checkout-price-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(123, 220, 255, 0.2);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 8px;
  max-width: 360px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.checkout-price-card span,
.checkout-price-card small {
  color: var(--muted);
}

.checkout-price-card strong {
  color: var(--text);
  font-size: 2rem;
}

.checkout-card,
.checkout-perks {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checkout-card {
  align-self: start;
}

.checkout-auth-box,
.paypal-zone {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  display: grid;
  gap: 14px;
  padding: 16px;
}

.checkout-auth-link {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
}

.checkout-benefits {
  font-size: 1rem;
}

.stat-label {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat-value {
  font-size: 1.2rem;
}

.album-filter-list,
.queue-list,
.track-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.album-pill {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 14px;
  text-align: left;
}

.album-pill.active,
.album-card.active,
.discovery-card.selected,
.track-row.selected {
  border-color: rgba(123, 220, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(123, 220, 255, 0.24);
}

.album-pill-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.album-pill strong,
.queue-item strong,
.track-primary strong {
  font-size: 0.96rem;
}

.album-pill span,
.queue-item span,
.track-primary span,
.track-meta,
.toolbar-tips span {
  color: var(--muted);
  font-size: 0.85rem;
}

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

.welcome-brand {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 300px);
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.welcome-brand::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -10%;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(123, 220, 255, 0.2), transparent 62%);
  pointer-events: none;
}

.welcome-brand-copy {
  position: relative;
  z-index: 1;
}

.welcome-brand-copy h2 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Bahnschrift SemiBold", sans-serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.98;
  margin: 0;
}

.welcome-brand-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
  margin: 16px 0 0;
  max-width: 52ch;
}

.welcome-logo {
  border-radius: 28px;
  box-shadow:
    0 0 0 1px rgba(123, 220, 255, 0.24),
    0 30px 60px rgba(28, 183, 246, 0.18);
  display: block;
  position: relative;
  width: 100%;
  z-index: 1;
}

.welcome-profile {
  position: relative;
}

.profile-logo-button {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.92), rgba(189, 88, 255, 0.86)),
    #0b1c28;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  bottom: -14px;
  box-shadow: 0 18px 40px rgba(28, 183, 246, 0.28);
  color: #03131f;
  display: flex;
  font-family: "Bahnschrift SemiBold", "Segoe UI Variable Display", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  height: 62px;
  justify-content: center;
  position: absolute;
  right: -10px;
  text-decoration: none;
  width: 62px;
  z-index: 3;
}

.profile-menu {
  background: rgba(8, 19, 29, 0.96);
  border: 1px solid rgba(123, 220, 255, 0.22);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  min-width: 180px;
  padding: 10px;
  position: absolute;
  right: 0;
  top: calc(100% + 18px);
  z-index: 5;
}

.profile-menu[hidden] {
  display: none;
}

.profile-menu button,
.profile-menu a {
  background: transparent;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  display: block;
  padding: 12px;
  text-align: left;
  text-decoration: none;
}

.profile-menu button:hover,
.profile-menu a:hover {
  background: rgba(123, 220, 255, 0.08);
}

.profile-panel {
  padding: 24px;
}

.account-page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.account-page-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text);
  min-height: 42px;
  padding: 0 16px;
}

.account-page-tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #03202d;
  font-weight: 800;
}

.account-page[hidden] {
  display: none;
}

.profile-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.profile-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 16px;
}

.profile-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 8px 0 0;
}

.profile-card-action {
  margin-top: 12px;
  min-height: 38px;
  padding: 0 12px;
  width: 100%;
}

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

.profile-columns h3 {
  margin: 0 0 12px;
}

.profile-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-list-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  color: inherit;
  display: flex;
  gap: 12px;
  min-height: 66px;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

.profile-list-row span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.profile-list-row strong,
.profile-list-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-list-row small {
  color: var(--muted);
}

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

.artist-analytics-row span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.analytics-actions {
  display: flex;
  justify-content: flex-start;
  margin: 16px 0;
}

.analytics-delete-button {
  min-height: 40px;
  padding: 0 14px;
}

.artist-follow-icon {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.2), rgba(189, 88, 255, 0.18)),
    linear-gradient(180deg, #143246, #0a1721);
  border-radius: 16px;
  display: flex;
  flex: 0 0 48px;
  font-weight: 800;
  height: 48px;
  justify-content: center;
}

.settings-card,
.artist-page-card {
  background:
    radial-gradient(circle at top right, rgba(123, 220, 255, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 20px;
}

.settings-card h3,
.artist-page-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  margin: 0 0 10px;
}

.settings-card p,
.artist-page-card p {
  color: var(--muted);
  line-height: 1.6;
}

.settings-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  max-width: 560px;
}

.settings-form label,
.artist-setup-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-form input,
.settings-form textarea,
.artist-setup-form input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: var(--text);
  min-height: 50px;
  outline: none;
  padding: 0 16px;
}

.settings-form textarea {
  min-height: 118px;
  padding: 14px 16px;
  resize: vertical;
}

.artist-page-hero {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.artist-page-avatar {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.92), rgba(189, 88, 255, 0.86)),
    #0b1c28;
  border-radius: 28px;
  color: #03131f;
  display: flex;
  flex: 0 0 96px;
  font-size: 1.5rem;
  font-weight: 900;
  height: 96px;
  justify-content: center;
  overflow: hidden;
}

.artist-page-avatar img,
.public-artist-avatar img,
.public-song-cover img,
.song-cover-icon img {
  display: block;
  height: 100%;
  object-fit: cover;
  position: relative;
  width: 100%;
  z-index: 1;
}

.artist-public-link,
.artist-link {
  color: #7bddff;
  font-weight: 900;
  text-decoration: none;
  text-shadow:
    0 0 10px rgba(123, 220, 255, 0.72),
    0 0 26px rgba(189, 88, 255, 0.32);
}

.artist-public-link:hover,
.artist-link:hover {
  color: #ffffff;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.9),
    0 0 28px rgba(123, 220, 255, 0.8);
}

.public-artist-shell {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 1240px;
  min-height: 100vh;
  padding: 28px;
  position: relative;
  z-index: 1;
}

.public-artist-hero {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  min-height: 380px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  position: relative;
}

.public-artist-backdrop {
  background:
    radial-gradient(circle at 18% 18%, rgba(123, 220, 255, 0.24), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(189, 88, 255, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(21, 55, 79, 0.78), rgba(5, 14, 23, 0.88));
  inset: 0;
  opacity: 0.95;
  position: absolute;
}

.public-artist-hero::after {
  background:
    linear-gradient(90deg, rgba(123, 220, 255, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(123, 220, 255, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  border-radius: inherit;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 70%, transparent);
  opacity: 0.16;
  position: absolute;
}

.public-artist-hero::before {
  background: radial-gradient(circle, rgba(123, 220, 255, 0.24), transparent 62%);
  border-radius: 999px;
  content: "";
  height: 30rem;
  position: absolute;
  right: -10rem;
  top: -14rem;
  width: 30rem;
}

.public-artist-avatar-wrap {
  position: relative;
  z-index: 1;
}

.public-artist-avatar {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.92), rgba(189, 88, 255, 0.86)),
    #0b1c28;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 48px;
  box-shadow:
    0 0 0 12px rgba(123, 220, 255, 0.04),
    0 34px 80px rgba(28, 183, 246, 0.24);
  color: #03131f;
  display: flex;
  font-family: "Bahnschrift SemiBold", "Segoe UI Variable Display", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  max-width: 260px;
  overflow: hidden;
  position: relative;
  text-transform: uppercase;
  width: 100%;
}

.public-artist-copy {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.public-artist-copy h1 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Bahnschrift SemiBold", sans-serif;
  font-size: clamp(3rem, 8vw, 7.2rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
  margin: 0;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.58),
    0 0 52px rgba(123, 220, 255, 0.34);
}

.artist-plan-badge {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 8px;
  letter-spacing: 0.12em;
  margin: 16px 0 4px;
  padding: 9px 14px;
  text-transform: uppercase;
  width: fit-content;
}

.artist-plan-badge::before {
  border-radius: 999px;
  content: "";
  height: 8px;
  width: 8px;
}

.artist-plan-basic {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(234, 244, 255, 0.78);
}

.artist-plan-basic::before {
  background: rgba(234, 244, 255, 0.54);
}

.artist-plan-premium {
  background:
    linear-gradient(135deg, rgba(255, 211, 94, 0.96), rgba(77, 214, 255, 0.86) 46%, rgba(189, 88, 255, 0.88)),
    #102436;
  border: 1px solid rgba(255, 244, 185, 0.82);
  box-shadow:
    0 0 0 1px rgba(123, 220, 255, 0.18),
    0 0 28px rgba(77, 214, 255, 0.36),
    0 0 42px rgba(255, 211, 94, 0.22);
  color: #061421;
}

.artist-plan-premium::before {
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.22),
    0 0 14px rgba(255, 255, 255, 0.74);
}

.artist-plan-pro,
.artist-plan-verified,
.artist-plan-label,
.artist-plan-custom {
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.2), rgba(189, 88, 255, 0.18)),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(123, 220, 255, 0.34);
  color: #dff7ff;
  box-shadow: 0 0 24px rgba(123, 220, 255, 0.16);
}

.artist-plan-pro::before,
.artist-plan-verified::before,
.artist-plan-label::before,
.artist-plan-custom::before {
  background: #7bddff;
  box-shadow: 0 0 14px rgba(123, 220, 255, 0.7);
}

.public-artist-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 62ch;
}

.public-artist-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}

.public-artist-stats span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--muted);
  padding: 10px 14px;
}

.public-artist-stats strong {
  color: var(--text);
  font-size: 1.2rem;
}

.public-artist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.artist-public-library {
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
}

.public-song-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.public-song-card {
  background:
    radial-gradient(circle at top left, rgba(123, 220, 255, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 24px;
  color: inherit;
  display: grid;
  gap: 14px;
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 118px;
  padding: 14px;
  position: relative;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.public-song-card:hover {
  background:
    radial-gradient(circle at top left, rgba(123, 220, 255, 0.22), transparent 36%),
    rgba(255, 255, 255, 0.055);
  border-color: rgba(123, 220, 255, 0.34);
  transform: translateY(-2px);
}

.public-song-cover,
.song-cover-icon {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.22), rgba(189, 88, 255, 0.22)),
    #0a1721;
  border-radius: 20px;
  display: flex;
  font-weight: 900;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.public-song-copy,
.public-song-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.public-song-copy {
  gap: 7px;
  justify-content: center;
}

.public-song-copy strong {
  font-size: 1.05rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-song-copy small,
.public-song-meta small {
  color: var(--muted);
}

.public-song-meta {
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  gap: 4px;
  grid-column: 2;
  padding-top: 10px;
}

.avatar-fallback,
.cover-fallback {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 8px;
  position: absolute;
  text-align: center;
  z-index: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  min-height: 320px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -16% -22% auto;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(123, 220, 255, 0.2), transparent 62%);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h2 {
  font-size: clamp(2.1rem, 5vw, 3.65rem);
  line-height: 0.96;
  margin: 0;
  max-width: 10ch;
}

.hero-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 18px 0 0;
  max-width: 58ch;
}

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

.hero-art-card {
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  padding: 22px;
  position: relative;
  z-index: 1;
}

.glow-ring {
  box-shadow:
    0 0 0 10px rgba(123, 220, 255, 0.04),
    0 28px 50px rgba(28, 183, 246, 0.22);
}

.hero-art,
.now-playing-art,
.cover-art {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.2), rgba(255, 148, 96, 0.18)),
    linear-gradient(180deg, #143246, #0a1721);
  border-radius: 24px;
  color: var(--text);
  display: flex;
  font-family: "Bahnschrift SemiBold", "Segoe UI Variable Display", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
  position: relative;
  text-transform: uppercase;
}

.hero-art,
.now-playing-art {
  aspect-ratio: 1;
  width: 100%;
  max-width: 220px;
}

.cover-art img,
.hero-art img,
.now-playing-art img,
.album-card-art img,
.queue-art img,
.track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-art::before,
.hero-art::before,
.now-playing-art::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-meta {
  text-align: center;
}

.hero-meta-label {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.toolbar {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
}

.search-field,
.volume-field,
.editor-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-field span,
.volume-field span,
.auth-form label span,
.editor-form label span {
  color: var(--muted);
  font-size: 0.85rem;
}

.search-field input,
.auth-form input,
.editor-form input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: var(--text);
  min-height: 50px;
  outline: none;
  padding: 0 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-field input:focus,
.auth-form input:focus,
.editor-form input:focus {
  border-color: rgba(123, 220, 255, 0.36);
  box-shadow: 0 0 0 4px rgba(123, 220, 255, 0.08);
}

.toolbar-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

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

.discovery-lane {
  background:
    radial-gradient(circle at 12% 10%, rgba(123, 220, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  min-width: 0;
  padding: 16px;
}

.popular-lane {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 148, 96, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.025);
}

.discovery-lane-heading {
  margin-bottom: 14px;
}

.discovery-lane-heading h3 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Bahnschrift SemiBold", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 0.95;
  margin: 6px 0 0;
}

.discovery-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discovery-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  color: inherit;
  display: grid;
  gap: 12px;
  grid-template-columns: 38px 58px minmax(0, 1fr) auto;
  min-height: 84px;
  padding: 12px;
  text-align: left;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
  width: 100%;
}

.discovery-card:hover {
  background: rgba(123, 220, 255, 0.06);
  border-color: rgba(123, 220, 255, 0.26);
}

.discovery-rank {
  color: rgba(123, 220, 255, 0.72);
  font-family: "Bahnschrift SemiBold", "Segoe UI Variable Display", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.discovery-art {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.2), rgba(189, 88, 255, 0.18)),
    linear-gradient(180deg, #143246, #0a1721);
  border-radius: 16px;
  display: flex;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
}

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

.discovery-copy,
.discovery-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

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

.discovery-copy strong {
  font-size: 0.98rem;
}

.discovery-copy span,
.discovery-copy small,
.discovery-empty span {
  color: var(--muted);
  font-size: 0.84rem;
}

.discovery-actions {
  align-items: flex-end;
}

.discovery-stat {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.discovery-play {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.78rem;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
}

.discovery-empty {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(123, 220, 255, 0.24);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
}

.album-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.playlist-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.album-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  overflow: hidden;
  padding: 14px;
  text-align: left;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.playlist-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  color: inherit;
  display: grid;
  gap: 14px;
  grid-template-columns: 82px minmax(0, 1fr);
  min-height: 112px;
  padding: 14px;
  text-align: left;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.playlist-card.active,
.album-card.active {
  background: rgba(123, 220, 255, 0.08);
  border-color: rgba(123, 220, 255, 0.42);
}

.album-card-art {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.18), rgba(255, 148, 96, 0.18)),
    linear-gradient(180deg, rgba(11, 28, 40, 1), rgba(9, 20, 30, 1));
  border-radius: 18px;
  display: flex;
  font-family: "Bahnschrift SemiBold", "Segoe UI Variable Display", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
}

.album-card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.album-card-copy strong {
  font-size: 1rem;
}

.album-card-copy span {
  color: var(--muted);
  font-size: 0.86rem;
}

.playlist-cover,
.playlist-detail-cover,
.playlist-cover-preview {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.22), rgba(189, 88, 255, 0.18)),
    linear-gradient(180deg, rgba(11, 28, 40, 1), rgba(9, 20, 30, 1));
  border-radius: 18px;
  display: flex;
  font-family: "Bahnschrift SemiBold", "Segoe UI Variable Display", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
}

.playlist-cover img,
.playlist-detail-cover img,
.playlist-cover-preview img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.playlist-card-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.playlist-card-copy strong {
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-card-copy span,
.playlist-detail-header span {
  color: var(--muted);
  font-size: 0.86rem;
}

.playlist-detail {
  margin-top: 18px;
}

.playlist-detail-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  display: grid;
  gap: 16px;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  padding: 16px;
}

.playlist-detail-header h3 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Bahnschrift SemiBold", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
  margin: 0 0 8px;
}

.playlist-detail-actions,
.playlist-track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.playlist-track-list,
.playlist-song-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.playlist-track-row,
.playlist-search-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px 12px;
}

.track-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.track-table-header,
.track-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 2fr) minmax(130px, 1fr) 84px 98px 84px;
}

.track-table-header {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  padding: 0 12px 6px;
  text-transform: uppercase;
}

.track-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  min-height: 76px;
  padding: 10px 12px;
  transition:
    background var(--transition),
    border-color var(--transition);
}

.track-song {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.track-thumb {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.2), rgba(255, 148, 96, 0.18)),
    linear-gradient(180deg, #143246, #0a1721);
  border-radius: 16px;
  display: flex;
  flex: 0 0 54px;
  font-size: 0.96rem;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
}

.track-primary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.track-primary strong,
.track-primary span,
.track-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-file-name {
  color: var(--muted);
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-global-streams {
  color: #7bdcff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.track-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.stream-count {
  color: #dffff4;
  font-weight: 800;
}

.track-play-button,
.queue-button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 38px;
  min-width: 38px;
  padding: 0 12px;
}

.player-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.player-media {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.now-playing-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.now-playing-copy strong {
  font-size: 1.24rem;
}

.now-playing-copy span {
  color: var(--muted);
}

.player-file-name,
#editor-file-name {
  color: var(--muted);
  font-size: 0.82rem;
  word-break: break-word;
}

.offline-cache-note {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
  margin: -8px 0 0;
}

.player-cover-zone {
  justify-content: center;
  min-height: 220px;
}

.transport-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr minmax(110px, 1.2fr) 1fr;
}

.control-button,
.play-button {
  min-height: 48px;
  width: 100%;
}

.progress-block,
.editor-form,
.queue-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cover-workbench {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.cover-upload-zone {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(123, 220, 255, 0.32);
  border-radius: 24px;
  color: inherit;
  display: grid;
  gap: 16px;
  grid-template-columns: 108px minmax(0, 1fr);
  padding: 16px;
  text-align: left;
}

.cover-upload-zone.drag-active {
  border-color: rgba(123, 220, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(123, 220, 255, 0.3);
}

.cover-upload-zone .cover-art {
  aspect-ratio: 1;
  font-size: 1.2rem;
  width: 100%;
}

.cover-upload-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cover-upload-copy strong {
  font-size: 1rem;
}

.cover-upload-copy span {
  color: var(--muted);
  line-height: 1.5;
}

.cover-upload-tip {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

input[type="range"] {
  accent-color: var(--accent);
  width: 100%;
}

.progress-times {
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
}

.editor-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.queue-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  flex-direction: row;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px 12px;
}

.queue-item-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.queue-art {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.18), rgba(255, 148, 96, 0.18)),
    linear-gradient(180deg, #143246, #0a1721);
  border-radius: 14px;
  display: flex;
  flex: 0 0 44px;
  justify-content: center;
  overflow: hidden;
}

.drop-overlay {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(4, 10, 16, 0.72);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 20;
}

.drop-overlay.visible {
  display: flex;
}

.upload-studio,
.artist-setup {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(4, 10, 16, 0.8);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 28;
}

.playlist-studio {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(4, 10, 16, 0.8);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 29;
}

.playlist-studio[hidden] {
  display: none;
}

.upload-studio[hidden] {
  display: none;
}

.artist-setup[hidden] {
  display: none;
}

.upload-studio-panel,
.playlist-studio-panel,
.artist-setup-panel {
  background: linear-gradient(180deg, rgba(15, 29, 42, 0.98), rgba(8, 19, 29, 0.96));
  border: 1px solid rgba(123, 220, 255, 0.18);
  border-radius: 32px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
  max-height: calc(100vh - 48px);
  max-width: 920px;
  overflow: auto;
  padding: 28px;
  width: min(920px, 100%);
}

.artist-setup-panel {
  max-width: 560px;
}

.artist-setup-panel h2 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Bahnschrift SemiBold", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
  margin: 8px 0 14px;
}

.artist-setup-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.artist-setup-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.upload-studio-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.upload-studio-header h2 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Bahnschrift SemiBold", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin: 0;
}

.upload-studio-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 1.6rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.upload-studio-copy {
  color: var(--muted);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 58ch;
}

.upload-studio-copy p {
  margin: 0;
}

.upload-studio-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 26px;
}

.playlist-form {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 96px auto;
  margin-top: 26px;
}

.playlist-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.playlist-form label span,
.playlist-picker h3 {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.playlist-form input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: var(--text);
  min-height: 52px;
  outline: none;
  padding: 12px 16px;
}

.playlist-picker {
  margin-top: 28px;
}

.upload-studio-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.upload-asset-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(123, 220, 255, 0.32);
  border-radius: 24px;
  color: inherit;
  display: grid;
  gap: 16px;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 160px;
  padding: 18px;
  text-align: left;
}

.upload-asset-card.drag-active {
  border-color: rgba(123, 220, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(123, 220, 255, 0.28);
}

.upload-preview-art {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.2), rgba(255, 148, 96, 0.18)),
    linear-gradient(180deg, #143246, #0a1721);
  border-radius: 22px;
  color: var(--text);
  display: flex;
  font-family: "Bahnschrift SemiBold", "Segoe UI Variable Display", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
  text-transform: uppercase;
  width: 100%;
}

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

.upload-asset-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.upload-asset-copy strong {
  font-size: 1rem;
}

.upload-asset-copy span {
  color: var(--muted);
  line-height: 1.55;
}

.upload-file-hint {
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.upload-studio-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upload-studio-fields span {
  color: var(--muted);
  font-size: 0.85rem;
}

.upload-studio-fields input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: var(--text);
  min-height: 52px;
  outline: none;
  padding: 0 16px;
}

.upload-studio-fields input:focus {
  border-color: rgba(123, 220, 255, 0.36);
  box-shadow: 0 0 0 4px rgba(123, 220, 255, 0.08);
}

.upload-studio-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.upload-studio-feedback {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(123, 220, 255, 0.22);
  border-radius: 18px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding: 14px 16px;
}

.upload-studio-feedback[data-tone="success"] {
  border-color: rgba(108, 255, 207, 0.28);
  color: #dffff4;
}

.upload-studio-feedback[data-tone="error"] {
  border-color: rgba(255, 109, 77, 0.32);
  color: #ffd7cc;
}

.drop-card {
  background: linear-gradient(180deg, rgba(16, 34, 49, 0.96), rgba(8, 20, 29, 0.94));
  border: 1px solid rgba(123, 220, 255, 0.26);
  border-radius: 32px;
  max-width: 34rem;
  padding: 34px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

.drop-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0 0;
}

.toast {
  background: rgba(8, 21, 31, 0.94);
  border: 1px solid rgba(123, 220, 255, 0.2);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: var(--shadow);
  color: var(--text);
  opacity: 0;
  padding: 12px 18px;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 25;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.empty-state {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(123, 220, 255, 0.26);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 24px;
  text-align: center;
}

.empty-state p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 34rem;
}

.floating {
  animation: float-card 5.5s ease-in-out infinite;
}

.fade-up {
  animation: fade-up 420ms ease;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

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

@media (max-width: 1320px) {
  .app-shell {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .detail-column {
    grid-column: 1 / -1;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .account-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .welcome-brand {
    grid-template-columns: 1fr;
  }

  .profile-grid,
  .profile-columns,
  .public-artist-hero {
    grid-template-columns: 1fr;
  }

  .welcome-logo {
    max-width: 340px;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .toolbar-tips {
    justify-content: flex-start;
  }

  .discovery-grid {
    grid-template-columns: 1fr;
  }

  .detail-column {
    grid-template-columns: 1fr;
  }

  .player-media {
    grid-template-columns: 1fr;
  }

  .upload-studio-grid,
  .upload-studio-fields,
  .playlist-form {
    grid-template-columns: 1fr;
  }

  .playlist-detail-header {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app-shell {
    padding: 12px;
  }

  .account-shell {
    padding: 12px;
  }

  .public-artist-shell {
    padding: 12px;
  }

  .checkout-shell {
    padding: 12px;
  }

  .sidebar,
  .checkout-card,
  .checkout-hero,
  .checkout-perks,
  .account-hero,
  .account-topbar,
  .public-artist-hero,
  .artist-public-library,
  .player-card,
  .editor-card,
  .queue-card,
  .toolbar,
  .discovery-panel,
  .albums-rail,
  .playlists-panel,
  .track-panel,
  .hero,
  .profile-panel,
  .welcome-brand {
    padding: 18px;
  }

  .brand-logo {
    max-width: 160px;
  }

  .public-artist-avatar {
    max-width: 180px;
  }

  .artist-plan-badge {
    font-size: 0.7rem;
    max-width: 100%;
    white-space: normal;
  }

  .track-table-header {
    display: none;
  }

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

  .track-song {
    align-items: flex-start;
  }

  .track-meta {
    white-space: normal;
  }

  .discovery-card {
    grid-template-columns: 32px 52px minmax(0, 1fr);
  }

  .discovery-actions {
    align-items: stretch;
    grid-column: 2 / -1;
  }

  .editor-actions {
    grid-template-columns: 1fr;
  }

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

  .cover-upload-zone {
    grid-template-columns: 1fr;
  }

  .upload-studio {
    padding: 12px;
  }

  .playlist-studio,
  .artist-setup {
    padding: 12px;
  }

  .upload-studio-panel,
  .playlist-studio-panel,
  .artist-setup-panel {
    padding: 20px;
  }

  .upload-asset-card {
    grid-template-columns: 1fr;
  }

  .upload-studio-actions {
    flex-direction: column;
  }

  .playlist-track-row,
  .playlist-search-row {
    align-items: stretch;
    flex-direction: column;
  }
}
