:root {
  --bg: #050609;
  --surface: #101117;
  --surface-2: #171922;
  --line: #292d39;
  --text: #ffffff;
  --muted: #aab2c2;
  --blue: #13a8ff;
  --blue-2: #076dff;
  --green: #43e886;
  --warning: #ffd166;
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  background:
    radial-gradient(circle at 20% 0%, rgba(19, 168, 255, .16), transparent 30%),
    linear-gradient(135deg, #050609 0%, #07111c 48%, #02070d 100%);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  margin: 0;
  min-height: 100vh;
  padding-bottom: 118px;
}

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

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

button {
  cursor: pointer;
}

input,
select,
textarea {
  background: #0c0d12;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

fieldset {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

label {
  color: #dfe7ff;
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
}

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

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

.app-shell {
  min-height: 100vh;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px clamp(18px, 4vw, 34px);
  position: relative;
  width: 100%;
  z-index: 5;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.brand-mark {
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
  color: #021019;
  display: grid;
  font-weight: 900;
  height: 42px;
  place-items: center;
  width: 42px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.primary-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.primary-nav a,
.menu-toggle,
.button-secondary {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  color: #dceeff;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 14px;
}

.primary-nav a.is-active,
.primary-nav a:hover,
.button-secondary:hover {
  background: rgba(19, 168, 255, .18);
  border-color: rgba(19, 168, 255, .5);
  color: #fff;
}

.menu-toggle {
  display: none;
}

.page-root {
  margin: 0 auto;
  max-width: 1180px;
  outline: none;
  padding: 44px clamp(18px, 4vw, 34px) 72px;
  width: 100%;
}

.is-platform-mode .site-header {
  display: none;
}

.is-platform-mode .page-root {
  margin: 0;
  max-width: none;
  padding: 0 0 72px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  min-height: calc(100vh - 160px);
}

.hero-copy,
.page-intro,
.section-heading,
.dashboard-head {
  display: grid;
  gap: 14px;
}

.eyebrow,
.page-intro span,
.section-heading span,
.dashboard-head span,
.sidebar-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-intro h1 {
  font-size: clamp(42px, 5.6vw, 72px);
  font-weight: 900;
  line-height: 1;
  max-width: 780px;
}

.hero p,
.page-intro p,
.dashboard-head p,
.notice-box p {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.5;
  max-width: 720px;
}

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

.button-primary,
.auth-card button {
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  color: #031019;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
}

.hero-panel,
.auth-card,
.dashboard-sidebar,
.notice-box {
  background: rgba(16, 17, 23, .86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.section-band {
  display: grid;
  gap: 18px;
  padding-top: 20px;
}

.landing-page {
  display: grid;
  gap: clamp(28px, 5vw, 58px);
}

.landing-hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(3, 6, 12, .92) 0%, rgba(3, 6, 12, .74) 46%, rgba(3, 6, 12, .2) 100%),
    var(--landing-hero-image);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  display: grid;
  min-height: min(540px, calc(100vh - 280px));
  overflow: hidden;
  padding: clamp(24px, 4.5vw, 48px);
}

.landing-hero-content {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.landing-hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.8vw, 66px);
  font-weight: 600;
  line-height: .98;
  max-width: 760px;
}

.landing-hero p:not(.eyebrow) {
  color: #d5deeb;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.45;
  max-width: 650px;
}

.landing-hero-actions {
  margin-top: 4px;
}

.landing-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.landing-hero-proof span {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  color: #edf6ff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
}

.landing-featured,
.landing-benefits,
.landing-profile-strip,
.landing-final-cta {
  display: grid;
  gap: 18px;
}

.landing-featured-card {
  align-items: center;
  background: rgba(16, 17, 23, .86);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  display: grid;
  gap: clamp(18px, 4vw, 42px);
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  padding: clamp(18px, 3vw, 32px);
}

.landing-featured-cover {
  display: block;
}

.landing-featured-cover .cover-preview,
.landing-featured-cover .cover-preview img,
.landing-featured-cover .cover-preview .cover-missing {
  max-width: none;
  width: 100%;
}

.landing-featured-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.landing-featured-copy > span,
.landing-benefit-grid article > span,
.landing-profile-strip span,
.landing-discovery-grid article > span,
.landing-audience-grid article > span,
.landing-final-cta span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.landing-featured-copy h3 {
  color: #fff;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1;
}

.landing-featured-copy p,
.landing-benefit-grid p,
.landing-discovery-grid p,
.landing-audience-grid p {
  color: #b8c4d7;
  line-height: 1.5;
}

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

.landing-featured-meta div {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 12px;
}

.landing-featured-meta dt {
  color: #8ea0b8;
  font-size: 12px;
}

.landing-featured-meta dd {
  color: #fff;
  font-weight: 700;
  margin: 0;
}

.landing-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.landing-benefit-grid article {
  background: rgba(16, 17, 23, .78);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-height: 142px;
  padding: 18px;
}

.landing-benefit-grid h3,
.landing-benefit-grid article > span {
  color: #fff;
}

.landing-benefit-grid article > span {
  color: var(--blue);
}

.landing-profile-strip {
  align-items: center;
  background: rgba(16, 17, 23, .72);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(18px, 3vw, 28px);
}

.landing-profile-strip h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.1;
}

.landing-discovery-grid,
.landing-audience-grid {
  display: grid;
  gap: 14px;
}

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

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

.landing-discovery-grid article,
.landing-audience-grid article {
  background: rgba(16, 17, 23, .82);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 18px;
}

.landing-discovery-grid h3,
.landing-audience-grid h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
}

.landing-discovery-grid article > a {
  align-self: end;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.landing-audience-grid article > a {
  align-self: end;
}

.landing-final-cta {
  align-items: center;
  background: linear-gradient(135deg, rgba(19, 168, 255, .16), rgba(67, 232, 134, .1));
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(20px, 4vw, 34px);
}

.landing-final-cta h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.05;
  max-width: 760px;
}

@media (max-width: 1040px) {
  .landing-featured-card,
  .landing-profile-strip,
  .landing-final-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-featured-cover {
    max-width: 340px;
  }

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

@media (max-width: 760px) {
  .landing-page {
    gap: 28px;
  }

  .landing-hero {
    align-items: end;
    background:
      linear-gradient(180deg, rgba(3, 6, 12, .58) 0%, rgba(3, 6, 12, .94) 70%),
      var(--landing-hero-image);
    background-position: center top;
    min-height: 500px;
    padding: 24px;
  }

  .landing-hero h1 {
    font-size: 42px;
  }

  .landing-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .landing-hero-actions,
  .landing-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-hero-actions a,
  .landing-card-actions a,
  .landing-audience-grid article > a {
    width: 100%;
  }

  .landing-featured-card {
    padding: 16px;
  }

  .landing-featured-cover {
    max-width: none;
  }

  .landing-featured-meta,
  .landing-benefit-grid,
  .landing-discovery-grid,
  .landing-audience-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-profile-strip a {
    width: 100%;
  }

  .landing-benefit-grid article {
    min-height: 0;
  }

  .landing-discovery-grid article,
  .landing-audience-grid article {
    min-height: 0;
  }
}

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

.form-section-head h2,
.form-section-head h3,
.form-section-head h4 {
  font-size: 18px;
}

.nested-editor {
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.nested-editor-light {
  background: rgba(255, 255, 255, .025);
}

.mini-list {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
}

.media-card,
.track-card,
.preview-panel,
.preview-track-list,
.media-preview,
.right-holder-line {
  display: grid;
  gap: 12px;
}

.cover-preview {
  align-content: start;
  display: grid;
  gap: 8px;
  margin: 0;
  max-width: 280px;
  position: relative;
}

.cover-preview img {
  aspect-ratio: 1;
  background: #0c0d12;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  object-fit: cover;
  width: min(100%, 240px);
}

.cover-preview .cover-missing {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, .04);
  border: 1px dashed rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: var(--muted);
  display: none;
  font-size: 13px;
  justify-content: center;
  max-width: 240px;
  padding: 14px;
  text-align: center;
}

.cover-preview.is-missing img {
  display: none;
}

.cover-preview.is-missing .cover-missing {
  display: flex;
}

.artist-avatar-preview img {
  border-radius: 50%;
  width: min(100%, 180px);
}

.selected-image-preview {
  border: 1px solid rgba(19, 168, 255, .35);
  border-radius: 8px;
  padding: 10px;
}

.selected-image-preview img {
  width: min(100%, 220px);
}

.cover-preview figcaption,
.audio-preview small {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.audio-preview {
  display: grid;
  gap: 8px;
}

.compact-track-player {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  width: fit-content;
}

.audio-play-button {
  background: rgba(19, 168, 255, .14);
  border: 1px solid rgba(19, 168, 255, .42);
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  min-height: 44px;
  padding: 10px 14px;
  text-align: left;
}

.audio-play-button:hover {
  background: rgba(19, 168, 255, .24);
}

.audio-play-button.is-active {
  background: var(--green);
  border-color: rgba(67, 232, 134, .7);
  color: #031019;
}

.compact-audio-play {
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  position: relative;
  width: 44px;
}

.compact-audio-play svg {
  height: 19px;
  width: 19px;
}

.compact-audio-play:hover,
.compact-audio-play.is-active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(19, 168, 255, .24);
  color: #031019;
  transform: translateY(-1px);
}

.persistent-player {
  align-items: center;
  background: rgba(7, 9, 14, .96);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px 8px 0 0;
  bottom: 0;
  box-shadow: 0 -18px 50px rgba(0, 0, 0, .38);
  display: grid;
  gap: 14px;
  grid-template-columns: 52px minmax(180px, 1fr) auto minmax(160px, .7fr) minmax(220px, .9fr) minmax(118px, .4fr);
  left: 50%;
  max-width: 1180px;
  padding: 10px 14px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  z-index: 25;
}

.is-platform-mode .persistent-player {
  left: calc(250px + ((100vw - 250px) / 2));
  max-width: none;
  width: calc(100% - 278px);
}

.player-cover {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
  color: #021019;
  display: flex;
  font-weight: 900;
  justify-content: center;
  width: 52px;
}

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

.player-meta,
.player-queue,
.player-progress,
.player-volume {
  display: grid;
  gap: 5px;
}

.player-meta span,
.player-queue span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-meta strong,
.player-meta small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-meta small,
.player-queue strong,
.player-volume {
  color: var(--muted);
  font-size: 12px;
}

.player-queue strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-controls {
  display: flex;
  gap: 8px;
}

.player-controls button {
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  color: #031019;
  font-weight: 900;
  min-height: 40px;
  padding: 8px 12px;
}

.player-controls button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.player-progress {
  align-items: center;
  grid-template-columns: 44px minmax(120px, 1fr) 44px;
}

.player-progress span {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.player-progress input,
.player-volume input {
  min-height: 0;
  padding: 0;
}

.empty-media,
.compact-notice {
  background: rgba(255, 255, 255, .04);
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: var(--muted);
  padding: 14px;
}

.upload-zone {
  background: rgba(19, 168, 255, .08);
  border: 1px solid rgba(19, 168, 255, .28);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin: 12px 0;
  padding: 16px;
}

.upload-zone h2,
.upload-zone h4,
.upload-zone p {
  margin: 0;
}

.upload-zone h2 {
  font-size: 22px;
}

.upload-zone h4 {
  font-size: 18px;
}

.upload-zone span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.upload-zone-compact {
  background: rgba(255, 255, 255, .035);
}

.file-drop {
  background: rgba(255, 255, 255, .06);
  border: 1px dashed rgba(255, 255, 255, .32);
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.file-drop:hover {
  border-color: var(--blue);
}

.file-drop strong {
  color: var(--text);
  font-size: 16px;
}

.file-drop small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.file-drop input {
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  padding: 10px;
  width: 100%;
}

.file-drop input:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(19, 168, 255, .28);
}

.file-drop input:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.catalogue-filters {
  align-items: end;
  background: rgba(3, 12, 21, .94);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  backdrop-filter: blur(18px);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1.3fr) minmax(160px, .8fr) minmax(160px, .8fr) auto;
  padding: 12px;
  position: sticky;
  top: 12px;
  z-index: 18;
}

.catalogue-filters button {
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  color: #031019;
  font-weight: 900;
  min-height: 46px;
  padding: 12px 18px;
}

.public-project-card {
  align-content: start;
  gap: 10px;
}

.music-card-grid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
}

.music-card-grid .public-project-card {
  min-height: 0;
  padding: 14px;
  width: 100%;
}

.music-card-grid .empty {
  grid-column: 1 / -1;
}

.public-project-card .cover-preview {
  max-width: none;
  width: 100%;
}

.public-project-card .cover-preview img,
.music-cover-link .cover-preview img {
  width: 100%;
}

.music-cover-link {
  border-radius: 10px;
  display: block;
  overflow: hidden;
  position: relative;
}

.music-cover-link::after {
  align-items: center;
  background: rgba(0, 0, 0, .44);
  border-radius: 999px;
  color: #fff;
  content: "";
  display: flex;
  height: 46px;
  justify-content: center;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(.88);
  transition: opacity .16s ease, transform .16s ease, background .16s ease;
  width: 46px;
}

.music-cover-link::before {
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  border-top: 10px solid transparent;
  content: "";
  left: calc(50% + 2px);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(.88);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 1;
}

.music-cover-link:hover::after {
  background: rgba(19, 168, 255, .92);
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.music-cover-link:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.music-cover-link:hover img {
  transform: scale(1.035);
}

.music-cover-link img {
  transition: transform .18s ease;
}

.public-project-card h3 a,
.public-project-card p a {
  color: inherit;
}

.public-project-card h3 a:hover,
.public-project-card p a:hover {
  color: var(--blue);
}

.public-detail-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
}

.section-heading h2 {
  font-size: 28px;
}

.role-grid,
.module-grid,
.summary-grid {
  display: grid;
  gap: 14px;
}

.role-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.profile-choice-intro {
  max-width: 760px;
}

.profile-choice-grid {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.profile-choice-card {
  background: rgba(15, 17, 25, .9);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 12px;
  grid-template-rows: auto auto 1fr auto auto;
  min-height: 292px;
  padding: 20px;
}

.profile-choice-card > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-choice-card h2 {
  color: #fff;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

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

.profile-choice-tags {
  align-content: start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-choice-tags small {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  color: #e6eefb;
  font-size: 12px;
  line-height: 1;
  padding: 8px 10px;
}

.profile-choice-action {
  align-items: center;
  align-self: end;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  text-align: center;
}

@media (max-width: 1180px) {
  .profile-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .profile-choice-grid {
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-choice-card {
    min-height: 0;
    padding: 18px;
  }
}

.module-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.role-card,
.module-card,
.summary-grid article {
  background: rgba(15, 17, 25, .9);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 10px;
  min-height: 128px;
  padding: 18px 20px;
  text-align: left;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.role-card:hover,
.module-card:hover,
.summary-grid article:hover {
  background: var(--surface-2);
  border-color: rgba(19, 168, 255, .55);
  transform: translateY(-2px);
}

.role-card span,
.module-card span,
.summary-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.role-card strong,
.summary-grid strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
}

.role-card small,
.module-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.role-card-compact {
  min-height: 0;
}

.auth-layout {
  align-items: start;
  display: grid;
  gap: clamp(24px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.auth-entry-layout {
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 1120px;
  min-height: calc(100vh - 220px);
  width: 100%;
}

.auth-entry-layout .page-intro {
  align-content: center;
  display: grid;
  gap: 18px;
  justify-self: stretch;
  max-width: 560px;
  text-align: left;
}

.auth-entry-layout .auth-card {
  justify-self: center;
}

.auth-entry-layout .page-intro h1,
.auth-entry-layout .page-intro p {
  margin-bottom: 0;
}

.auth-entry-layout .page-intro h1 {
  font-size: 46px;
  line-height: 1.03;
}

.auth-showcase {
  align-items: center;
  background: rgba(7, 13, 22, .78);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(148px, 188px) minmax(0, 1fr);
  margin-top: 8px;
  padding: 16px;
}

.auth-showcase-media {
  border-radius: 8px;
  display: block;
  min-width: 0;
  overflow: hidden;
}

.auth-showcase-media .cover-preview {
  max-width: none;
  width: 100%;
}

.auth-showcase-media .cover-preview img,
.auth-showcase-media .cover-preview .cover-missing {
  border-color: rgba(255, 255, 255, .14);
  max-width: none;
  width: 100%;
}

.auth-showcase-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.auth-showcase-copy > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-showcase-copy h2 {
  color: #f8fbff;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

.auth-showcase-copy p {
  color: #b7c3d6;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.auth-showcase-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-showcase-points span {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  color: #e6eefb;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 8px 10px;
  text-transform: none;
}

.auth-showcase-link {
  justify-self: start;
  margin-top: 2px;
}

.auth-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.inline-details {
  margin-top: 8px;
}

.inline-details summary {
  cursor: pointer;
  font-weight: 800;
}

.compact-result {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 10px;
}

.rights-total-panel {
  margin-top: 12px;
}

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

.rights-total-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
}

.rights-total-card span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.rights-total-card strong {
  display: block;
  font-size: 20px;
  margin-top: 4px;
}

.rights-total-card.is-complete {
  border-color: rgba(63, 213, 138, .7);
}

.rights-total-card.is-over {
  border-color: rgba(255, 107, 107, .85);
  color: #ffb4b4;
}

.readonly-field {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.readonly-field span,
.readonly-field small {
  color: var(--muted);
}

.readonly-field strong {
  color: var(--text);
  font-size: 20px;
}

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

.password-field {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.password-field input {
  min-width: 0;
}

.password-toggle {
  background: rgba(19, 168, 255, .14);
  border: 1px solid rgba(19, 168, 255, .34);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  min-height: 44px;
  padding: 0 14px;
}

.form-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.dashboard-workspace,
.dashboard-layout {
  align-items: start;
  display: grid;
  gap: 0;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 132px);
}

.dashboard-sidebar {
  background: rgba(8, 11, 17, .92);
  border: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 124px);
  overflow: auto;
  padding: 14px;
  position: sticky;
  top: 96px;
}

.dashboard-role-card {
  background: rgba(19, 168, 255, .09);
  border: 1px solid rgba(19, 168, 255, .28);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 14px;
}

.dashboard-sidebar strong {
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
}

.dashboard-sidebar small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.dashboard-menu {
  display: grid;
  gap: 4px;
}

.dashboard-sidebar a {
  border: 1px solid transparent;
  border-radius: 6px;
  color: #dceeff;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
}

.dashboard-sidebar a:hover,
.dashboard-sidebar a.is-active {
  background: rgba(19, 168, 255, .13);
  border-color: rgba(19, 168, 255, .36);
  color: #fff;
}

.dashboard-content {
  background: rgba(9, 14, 22, .82);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  min-width: 0;
  padding: 24px 26px 132px;
}

.dashboard-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.dashboard-head {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) auto;
}

.dashboard-head h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.streaming-page {
  max-width: 1360px;
}

.streaming-home,
.streaming-section {
  display: grid;
  gap: 24px;
}

.music-home-carousel {
  box-sizing: border-box;
  display: grid;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.music-home-carousel .music-home-hero {
  display: none;
  max-width: 100%;
  width: 100%;
}

.music-home-carousel .music-home-hero.is-active {
  display: grid;
}

.music-home-carousel-controls {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
}

.music-home-carousel-controls > button,
.music-home-carousel-dots button {
  align-items: center;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  width: 36px;
}

.music-home-carousel-controls > button {
  font-size: 26px;
  line-height: 1;
}

.music-home-carousel-dots {
  align-items: center;
  display: flex;
  gap: 8px;
}

.music-home-carousel-dots button {
  background: rgba(255, 255, 255, .55);
  border: 0;
  height: 7px;
  width: 7px;
}

.music-home-carousel-dots button.is-active {
  background: #fff;
  width: 7px;
}

body.is-platform-mode .music-home-carousel .music-home-carousel-dots button,
.music-home-carousel .music-home-carousel-dots button {
  background: rgba(255, 255, 255, .7) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  height: 7px !important;
  min-height: 7px !important;
  min-width: 7px !important;
  padding: 0 !important;
  width: 7px !important;
}

body.is-platform-mode .music-home-carousel .music-home-carousel-dots button.is-active,
.music-home-carousel .music-home-carousel-dots button.is-active {
  background: #fff !important;
  height: 7px !important;
  min-height: 7px !important;
  min-width: 7px !important;
  width: 7px !important;
}

body.is-platform-mode .music-home-carousel .music-home-carousel-controls > button,
.music-home-carousel .music-home-carousel-controls > button {
  background: rgba(255, 255, 255, .16) !important;
  border-color: rgba(255, 255, 255, .28) !important;
  box-shadow: none !important;
  color: #fff !important;
}

.music-home-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 8, 14, .95), rgba(5, 8, 14, .78) 48%, rgba(5, 8, 14, .94)),
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)),
    var(--music-home-banner),
    rgba(13, 17, 25, .92);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  box-sizing: border-box;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(132px, 170px) minmax(0, 1fr) minmax(360px, .86fr);
  min-height: 260px;
  overflow: hidden;
  padding: 34px;
}

.music-home-artist-visual {
  align-items: center;
  aspect-ratio: 1;
  border: 2px solid var(--blue);
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  width: min(100%, 168px);
}

.music-home-artist-visual .artist-list-avatar {
  border: 0;
  border-radius: inherit;
  height: 100%;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

.music-home-cover {
  border-radius: 16px;
  display: block;
  overflow: hidden;
}

.music-home-cover .cover-preview,
.music-home-cover .cover-preview img {
  max-width: none;
  width: 100%;
}

.music-home-cover .cover-preview img {
  border-radius: 16px;
}

.music-home-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.music-home-copy span {
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  font-weight: 500;
}

.music-home-copy h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600;
  line-height: 1;
  margin: 0;
}

.music-home-copy h1 a,
.music-home-copy p a {
  color: inherit;
}

.music-home-copy h1 a:hover,
.music-home-copy p a:hover {
  color: var(--blue);
}

.music-home-copy p {
  color: rgba(255, 255, 255, .76);
  font-size: 15px;
}

.music-home-project-info {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2px 0 0;
}

.music-home-project-info div {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  min-width: 0;
  padding: 10px 12px;
}

.music-home-project-info dt {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.music-home-project-info dd {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 4px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-home-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.music-home-promo {
  align-items: center;
  box-sizing: border-box;
  color: #fff;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  justify-self: end;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  width: 100%;
}

.music-home-promo:hover strong {
  color: var(--blue);
}

.music-home-promo-cover {
  aspect-ratio: 1;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .36);
  display: block;
  overflow: hidden;
}

.music-home-promo-cover .cover-preview,
.music-home-promo-cover .cover-preview img,
.music-home-promo-cover .empty-media,
.music-home-promo-cover .artist-list-avatar {
  border-radius: 4px;
  height: 100%;
  max-width: none;
  width: 100%;
}

.music-home-promo-cover .cover-preview img,
.music-home-promo-cover .artist-list-avatar {
  object-fit: cover;
}

.music-home-promo-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.music-home-promo-copy strong {
  color: #fff;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: .98;
}

.music-home-promo-copy small {
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

@media (max-width: 767px) {
  .music-home-project-info {
    grid-template-columns: 1fr;
  }

  .music-home-project-info dd {
    white-space: normal;
  }
}

@media (max-width: 1180px) {
  .music-home-hero {
    grid-template-columns: minmax(118px, 150px) minmax(0, 1fr);
  }

  .music-home-promo {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

@media (max-width: 767px) {
  body.is-platform-mode {
    width: calc(100% - 1px) !important;
  }

  body.is-platform-mode .app-shell,
  body.is-platform-mode .page-root,
  body.is-platform-mode .platform-layout,
  body.is-platform-mode .platform-content,
  body.is-platform-mode .platform-mobile-nav {
    max-width: 100% !important;
    overflow-x: hidden !important;
    width: calc(100% - 1px) !important;
  }

  .music-home-hero {
    gap: 18px;
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .music-home-artist-visual {
    justify-self: center;
    width: min(44vw, 150px);
  }

  .music-home-copy {
    text-align: center;
  }

  .music-home-actions {
    justify-content: center;
  }

  .music-home-promo {
    gap: 14px;
    grid-template-columns: minmax(96px, 132px) minmax(0, 1fr);
  }

  .music-home-promo-copy strong {
    font-size: clamp(24px, 8vw, 34px);
  }
}

.music-rail {
  gap: 12px;
}

.music-rail .section-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.music-rail .section-heading h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}

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

.artists-only-section {
  padding-top: 8px;
}

.discover-head {
  display: grid;
  gap: 12px;
}

.discover-head span {
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
  font-weight: 500;
}

.discover-head h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 600;
  line-height: 1;
}

.discover-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.discover-filter-row a {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 13px;
}

.discover-filter-row a:hover {
  background: rgba(19, 168, 255, .16);
  border-color: rgba(19, 168, 255, .34);
  color: #fff;
}

.platform-layout {
  align-items: start;
  display: block;
  min-height: calc(100vh - 96px);
}

.platform-sidebar {
  background: rgba(8, 11, 17, .94);
  border-right: 1px solid var(--line);
  border-radius: 0;
  bottom: 96px;
  display: grid;
  gap: 18px;
  left: 0;
  overflow: auto;
  padding: 16px;
  position: fixed;
  top: 0;
  width: 250px;
  z-index: 20;
}

.platform-brand {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 52px minmax(0, 1fr);
  padding-bottom: 16px;
  text-decoration: none;
}

.platform-brand .brand-mark {
  height: 48px;
  width: 48px;
}

.platform-brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.platform-brand strong {
  color: #fff;
  display: block;
  font-size: 22px;
  line-height: 1.05;
}

.platform-brand small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-page .catalogue-filters {
  background: rgba(255, 255, 255, .96);
  border-color: #e5e7eb;
}

.platform-identity {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.platform-identity span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.platform-identity strong {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.platform-search,
.platform-top-search {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  display: grid;
  gap: 8px;
  padding: 10px;
  position: sticky;
  top: 10px;
  z-index: 2;
}

.platform-top-search {
  align-items: center;
  backdrop-filter: blur(18px);
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  margin-bottom: 22px;
  padding: 12px;
  position: sticky;
  top: 14px;
  z-index: 18;
}

.platform-search label,
.platform-top-search label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.platform-search div {
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.platform-search input,
.platform-top-search input {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: #fff;
  min-height: 38px;
  min-width: 0;
  padding: 0 10px;
}

.platform-search input::placeholder,
.platform-top-search input::placeholder {
  color: #94a3b8;
}

.platform-search button,
.platform-top-search button {
  align-items: center;
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  color: #031019;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
}

.platform-top-search button svg {
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 20px;
}

.platform-account-shortcut {
  display: none;
}

.platform-mobile-nav {
  display: none;
}

.platform-sidebar-nav {
  display: grid;
  gap: 5px;
}

.platform-sidebar-nav a {
  border: 1px solid transparent;
  border-radius: 6px;
  color: #dceeff;
  font-size: 14px;
  font-weight: 900;
  padding: 11px 12px;
}

.platform-sidebar-nav a:hover,
.platform-sidebar-nav a.is-active {
  background: rgba(19, 168, 255, .13);
  border-color: rgba(19, 168, 255, .36);
  color: #fff;
}

.platform-content {
  background: rgba(255, 255, 255, .032);
  border-left: 1px solid var(--line);
  border-radius: 0;
  margin-left: 250px;
  min-width: 0;
  min-height: calc(100vh - 96px);
  padding: 22px 22px 120px;
}

.streaming-hero {
  background: linear-gradient(135deg, rgba(19, 168, 255, .18), rgba(67, 232, 134, .09));
  border: 1px solid rgba(19, 168, 255, .28);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-height: 0;
  padding: 22px;
}

.streaming-hero span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.streaming-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  max-width: 780px;
}

.streaming-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  max-width: 720px;
}

.platform-quick-links,
.genre-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-quick-links a,
.genre-chip-grid a,
.genre-chip-grid span {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  color: #dceeff;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 14px;
}

.platform-quick-links a:hover,
.genre-chip-grid a:hover {
  background: rgba(19, 168, 255, .18);
  border-color: rgba(19, 168, 255, .5);
  color: #fff;
}

.module-card {
  min-height: 128px;
}

.module-card h3 {
  font-size: 18px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.project-status-board,
.project-status-section,
.project-card-actions,
.upload-shortcut-panel,
.upload-shortcut-grid {
  display: grid;
  gap: 16px;
}

.project-status-board {
  gap: 24px;
}

.project-detail-grid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
}

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

.project-thread-card {
  min-height: 0;
}

.project-status-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.compact-heading {
  gap: 8px;
}

.project-card {
  align-content: start;
}

.project-card-actions {
  gap: 10px;
  margin-top: auto;
}

.project-card-actions a {
  text-align: center;
}

.upload-shortcut-panel {
  background: rgba(19, 168, 255, .09);
  border: 1px solid rgba(19, 168, 255, .32);
  border-radius: 8px;
  padding: 18px;
}

.draft-readiness-panel {
  border: 1px solid rgba(255, 209, 102, .35);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px;
}

.draft-readiness-panel.is-ready {
  border-color: rgba(63, 210, 142, .45);
}

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

.draft-check-card {
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 12px;
}

.draft-check-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.draft-check-card.is-complete span {
  color: #3fd28e;
}

.draft-check-card.is-missing span {
  color: #ffd166;
}

.draft-check-card strong {
  color: #fff;
}

.upload-shortcut-panel span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.upload-shortcut-panel h2 {
  font-size: 24px;
}

.upload-shortcut-panel p,
.upload-shortcut-grid p {
  color: var(--muted);
  line-height: 1.45;
}

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

.upload-shortcut-grid article {
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.upload-shortcut-grid strong {
  color: #fff;
}

.notice-box {
  border-color: rgba(255, 209, 102, .35);
  display: grid;
  gap: 8px;
  padding: 18px;
}

.notice-box h2 {
  color: var(--warning);
  font-size: 18px;
}

.audio-ad-overlay {
  bottom: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
  left: 50%;
  max-width: min(560px, calc(100vw - 32px));
  position: fixed;
  transform: translateX(-50%);
  width: 100%;
  z-index: 30;
}

.audio-ad-overlay audio {
  width: 100%;
}

/* Global SaaS polish: layout and visual consistency only. */
:root {
  --dash-bg: #f8fafc;
  --dash-surface: #ffffff;
  --dash-surface-soft: #f1f5f9;
  --dash-border: #e2e8f0;
  --dash-text: #0f172a;
  --dash-muted: #64748b;
  --dash-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  --dash-radius: 12px;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
}

.dashboard-page .page-root,
.is-platform-mode .page-root {
  max-width: none;
  padding: 24px;
  width: 100%;
}

.dashboard-workspace,
.dashboard-layout {
  gap: 16px;
  grid-template-columns: 280px minmax(0, 1fr);
}

.dashboard-page .dashboard-content,
.admin-analytics-page .dashboard-content {
  background: var(--dash-bg);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  color: var(--dash-text);
  padding: 24px;
}

.dashboard-main,
.streaming-home,
.streaming-section,
.admin-analytics {
  gap: 24px;
  max-width: none;
  min-width: 0;
  width: 100%;
}

.dashboard-sidebar,
.platform-sidebar {
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow);
}

.dashboard-head,
.section-heading,
.form-section-head,
.analytics-panel-head {
  gap: 12px;
}

.dashboard-head h1,
.streaming-hero h1,
.page-intro h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}

.dashboard-head p,
.streaming-hero p,
.page-intro p {
  font-size: 14px;
  line-height: 1.55;
}

.section-heading h2,
.analytics-panel-head h2,
.upload-shortcut-panel h2 {
  font-size: 18px;
  font-weight: 700;
}

.module-card h3,
.summary-grid strong,
.admin-kpi-card small,
.analytics-table td,
.finance-grid strong,
.activity-item strong {
  font-size: 16px;
}

.module-card p,
.role-card small,
.form-note,
.activity-item span,
.activity-item small,
.finance-grid span,
.geo-row span {
  font-size: 13px;
}

.module-grid,
.summary-grid,
.admin-kpi-grid,
.analytics-chart-grid,
.analytics-two-columns,
.analytics-three-columns,
.finance-grid,
.quick-actions-grid {
  gap: 16px;
}

.role-card,
.module-card,
.summary-grid article,
.auth-card,
.notice-box,
.draft-readiness-panel,
.draft-check-card,
.upload-shortcut-grid article,
.streaming-hero,
.admin-kpi-card,
.analytics-panel,
.finance-grid div,
.alert-pill,
.quick-action {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow);
  color: var(--dash-text);
  padding: 20px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.role-card:hover,
.module-card:hover,
.summary-grid article:hover,
.admin-kpi-card:hover,
.analytics-panel:hover,
.quick-action:hover {
  border-color: rgba(19, 168, 255, .35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .09);
  transform: translateY(-2px);
}

.role-card strong,
.summary-grid strong,
.module-card h3,
.dashboard-head h1,
.analytics-panel-head h2,
.admin-kpi-card strong,
.finance-grid strong,
.activity-item strong,
.geo-row strong,
.quick-action,
.admin-brand strong,
.admin-profile {
  color: var(--dash-text);
}

.role-card small,
.module-card p,
.dashboard-head p,
.streaming-hero p,
.form-note,
.analytics-panel-head small,
.chart-labels,
.admin-topbar small,
.activity-item span,
.activity-item small,
.finance-grid span,
.geo-row span {
  color: var(--dash-muted);
}

input,
select,
textarea,
.admin-search {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: var(--dash-text);
  min-height: 44px;
}

textarea {
  font: inherit;
  padding: 10px 12px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 168, 255, .14);
  outline: none;
}

button,
.button-primary,
.button-secondary,
.auth-card button,
.quick-action {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
}

.button-secondary,
.primary-nav a,
.menu-toggle,
.analytics-tabs,
.platform-quick-links a,
.genre-chip-grid a,
.genre-chip-grid span {
  border-radius: 8px;
}

.admin-topbar {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow);
  color: var(--dash-text);
  padding: 16px;
}

.admin-search input {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--dash-text);
}

.admin-kpi-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.admin-kpi-card {
  min-height: 150px;
}

.analytics-panel {
  min-width: 0;
}

.analytics-panel-head span,
.admin-kpi-card small,
.role-card span,
.module-card span,
.summary-grid span {
  color: var(--blue);
  font-size: 12px;
}

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

.analytics-three-columns {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
}

.line-chart svg {
  height: 240px;
}

.line-chart path {
  stroke: #e2e8f0;
}

.line-chart polyline {
  stroke: var(--blue);
}

.analytics-table-wrap,
.table-responsive,
.module-card:has(table) {
  max-width: 100%;
  overflow-x: auto;
}

table,
.analytics-table {
  border-collapse: separate;
  border-spacing: 0;
  color: var(--dash-text);
  width: 100%;
}

th,
td,
.analytics-table th,
.analytics-table td {
  border-bottom: 1px solid var(--dash-border);
  color: var(--dash-text);
  padding: 16px;
}

th,
.analytics-table th {
  background: var(--dash-surface-soft);
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 700;
  position: sticky;
  text-align: left;
  top: 0;
  z-index: 1;
}

tr:hover td,
.analytics-table tr:hover td {
  background: #f8fafc;
}

.cover-thumb,
.avatar-thumb {
  border-color: var(--dash-border);
}

.finance-grid div,
.alert-pill,
.quick-action {
  background: #fff;
}

.activity-feed {
  max-height: 520px;
}

.geo-row i {
  max-width: 100%;
}

.platform-content {
  margin-left: 274px;
}

.platform-sidebar {
  left: 16px;
  top: 16px;
  width: 242px;
}

.dashboard-menu-section {
  color: #7b8799;
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  padding: 14px 14px 4px;
}

.admin-analytics-page .dashboard-content {
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 180, 216, .12), transparent 32%),
    #08111a;
  padding: 0;
}

.admin-analytics {
  display: grid;
  gap: 18px;
  padding: 14px 26px 34px;
}

.admin-topbar {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 26, .92);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  padding: 12px 14px;
  position: sticky;
  top: 10px;
  z-index: 12;
}

.admin-brand,
.admin-topbar-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.admin-brand span,
.admin-topbar-actions button,
.kpi-icon {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #00b4d8, #3fd28e);
  border: 0;
  border-radius: 8px;
  color: #031018;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  width: 36px;
}

.admin-brand strong,
.admin-profile {
  color: #fff;
  font-weight: 900;
}

.admin-search {
  align-items: center;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  min-width: 0;
  padding: 9px 12px;
}

.admin-search span,
.admin-topbar small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-search input {
  background: transparent;
  border: 0;
  color: #fff;
  min-width: 0;
  outline: 0;
}

.admin-topbar-actions button {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
}

.admin-topbar-actions .button-secondary {
  aspect-ratio: auto;
  width: auto;
}

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

.admin-kpi-card,
.analytics-panel {
  background: rgba(10, 16, 25, .86);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .24);
}

.admin-kpi-card {
  display: grid;
  gap: 10px;
  min-height: 158px;
  overflow: hidden;
  padding: 15px;
}

.admin-kpi-card > div {
  align-items: center;
  display: flex;
  gap: 10px;
}

.admin-kpi-card small,
.analytics-panel-head span {
  color: #00b4d8;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-kpi-card strong {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
}

.admin-kpi-card p {
  font-size: 13px;
  font-weight: 900;
}

.is-positive {
  color: #3fd28e;
}

.is-negative {
  color: #ff5a6e;
}

.mini-sparkline {
  color: #00b4d8;
  height: 44px;
  opacity: .9;
  width: 100%;
}

.analytics-chart-grid,
.analytics-two-columns {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.analytics-three-columns {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.analytics-panel {
  min-width: 0;
  padding: 18px;
}

.analytics-panel-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.analytics-panel-head h2 {
  color: #fff;
  font-size: 22px;
  margin-top: 3px;
}

.analytics-panel-head small {
  color: var(--muted);
}

.analytics-tabs {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
}

.analytics-tabs button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 900;
  padding: 7px 10px;
}

.analytics-tabs button.is-active {
  background: #00b4d8;
  color: #031018;
}

.line-chart {
  display: grid;
  gap: 8px;
}

.line-chart svg {
  height: 260px;
  overflow: visible;
  width: 100%;
}

.line-chart path {
  stroke: rgba(255, 255, 255, .12);
  stroke-width: 1;
}

.line-chart polyline {
  fill: none;
  stroke: #3fd28e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.chart-labels {
  color: var(--muted);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
}

.analytics-table-wrap {
  overflow-x: auto;
}

.analytics-table {
  border-collapse: collapse;
  min-width: 640px;
  width: 100%;
}

.analytics-table th,
.analytics-table td {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #dce6f5;
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
}

.analytics-table th {
  color: #7b8799;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.cover-thumb,
.avatar-thumb {
  align-items: center;
  background: rgba(0, 180, 216, .16);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: #00b4d8;
  display: inline-flex;
  font-weight: 950;
  height: 46px;
  justify-content: center;
  object-fit: cover;
  width: 46px;
}

.avatar-thumb {
  border-radius: 50%;
}

.activity-feed {
  display: grid;
  gap: 10px;
  max-height: 500px;
  overflow: auto;
  padding-right: 4px;
}

.activity-item {
  border-left: 3px solid #00b4d8;
  display: grid;
  gap: 3px;
  padding: 4px 0 4px 12px;
}

.activity-item span,
.activity-item small,
.finance-grid span,
.geo-row span {
  color: var(--muted);
  font-size: 12px;
}

.activity-item strong,
.finance-grid strong,
.geo-row strong {
  color: #fff;
}

.finance-grid,
.alert-grid,
.quick-actions-grid {
  display: grid;
  gap: 10px;
}

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

.finance-grid div,
.alert-pill,
.quick-action {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 12px;
}

.alert-pill {
  align-items: center;
  grid-template-columns: 1fr auto;
}

.alert-critical {
  border-color: rgba(255, 90, 110, .45);
}

.alert-critical strong {
  color: #ff5a6e;
}

.alert-warning {
  border-color: rgba(255, 183, 77, .48);
}

.alert-warning strong {
  color: #ffb74d;
}

.alert-normal {
  border-color: rgba(63, 210, 142, .42);
}

.alert-normal strong {
  color: #3fd28e;
}

.geo-block {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.geo-block h3 {
  color: #dce6f5;
  font-size: 14px;
}

.geo-row {
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr auto;
}

.geo-row i {
  background: linear-gradient(90deg, #00b4d8, #3fd28e);
  border-radius: 999px;
  display: block;
  grid-column: 1 / -1;
  height: 6px;
  width: var(--value);
}

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

.quick-action {
  align-items: center;
  color: #fff;
  font-weight: 900;
  grid-template-columns: auto 1fr;
  min-height: 70px;
}

.quick-action span {
  align-items: center;
  background: #3fd28e;
  border-radius: 8px;
  color: #031018;
  display: inline-flex;
  font-size: 20px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

/* Final dashboard theme override: white SaaS dashboards, no functional changes. */
.dashboard-page .page-root,
.is-platform-mode .page-root {
  max-width: none;
  padding: 24px;
}

.dashboard-page .dashboard-content,
.admin-analytics-page .dashboard-content {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #0f172a;
  padding: 24px;
}

.admin-analytics {
  gap: 24px;
  padding: 0;
}

.role-card,
.module-card,
.summary-grid article,
.auth-card,
.notice-box,
.streaming-hero,
.admin-topbar,
.admin-kpi-card,
.analytics-panel,
.finance-grid div,
.alert-pill,
.quick-action,
.draft-readiness-panel,
.draft-check-card,
.upload-shortcut-grid article {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  color: #0f172a;
  padding: 20px;
}

.role-card:hover,
.module-card:hover,
.summary-grid article:hover,
.admin-kpi-card:hover,
.analytics-panel:hover,
.quick-action:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, .09);
}

.dashboard-head h1,
.streaming-hero h1,
.page-intro h1 {
  color: #0f172a;
  font-size: 32px;
  font-weight: 700;
}

.dashboard-head p,
.streaming-hero p,
.page-intro p,
.module-card p,
.role-card small,
.form-note,
.analytics-panel-head small,
.chart-labels,
.activity-item span,
.activity-item small,
.finance-grid span,
.geo-row span,
.admin-topbar small {
  color: #64748b;
}

.module-card h3,
.role-card strong,
.summary-grid strong,
.dashboard-head h1,
.analytics-panel-head h2,
.admin-kpi-card strong,
.finance-grid strong,
.activity-item strong,
.geo-row strong,
.quick-action,
.admin-brand strong,
.admin-profile {
  color: #0f172a;
}

.analytics-panel-head h2,
.section-heading h2,
.form-section-head h2,
.form-section-head h3,
.form-section-head h4 {
  font-size: 18px;
  font-weight: 700;
}

.admin-kpi-card strong {
  font-size: 32px;
}

.analytics-table th,
.analytics-table td,
table th,
table td {
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  padding: 16px;
}

.analytics-table th,
table th {
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 1;
}

.analytics-table tr:hover td,
table tr:hover td {
  background: #f8fafc;
}

input,
select,
textarea,
.admin-search {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  min-height: 44px;
}

.admin-search input {
  background: transparent;
  border: 0;
  color: #0f172a;
}

button,
.button-primary,
.button-secondary,
.auth-card button,
.analytics-tabs button {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
}

.line-chart svg {
  height: 240px;
}

.line-chart path {
  stroke: #e2e8f0;
}

.line-chart polyline {
  stroke: var(--blue);
}

.cover-thumb,
.avatar-thumb {
  border-color: #e2e8f0;
}

.geo-block h3 {
  color: #0f172a;
}

@media (max-width: 920px) {
  .hero,
  .auth-layout,
  .dashboard-workspace,
  .dashboard-layout,
  .platform-layout,
  .catalogue-filters,
  .public-detail-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

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

  .dashboard-sidebar {
    border-radius: 8px 8px 0 0;
    max-height: none;
    position: static;
  }

  .platform-sidebar {
    bottom: auto;
    border-radius: 8px 8px 0 0;
    max-height: none;
    position: static;
    width: auto;
  }

  .dashboard-menu,
  .platform-sidebar-nav {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

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

  .dashboard-content {
    border-left: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
  }

  .platform-content {
    border-left: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    margin-left: 0;
  }

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

  .is-platform-mode .persistent-player {
    left: 50%;
    width: calc(100% - 28px);
  }

  .player-controls,
  .player-progress {
    width: 100%;
  }

  .admin-topbar,
  .admin-kpi-grid,
  .analytics-chart-grid,
  .analytics-two-columns,
  .analytics-three-columns,
  .quick-actions-grid {
    grid-template-columns: 1fr;
  }

  .admin-topbar {
    position: static;
  }

  .admin-topbar-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    flex-basis: 100%;
    justify-content: stretch;
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    border-radius: 8px;
    width: 100%;
  }

  .page-root {
    padding-top: 28px;
  }

  .hero h1,
  .page-intro h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .role-grid,
  .dashboard-head {
    grid-template-columns: 1fr;
  }

  .hero-actions a,
  .button-secondary {
    width: 100%;
  }

  .admin-analytics {
    padding: 12px;
  }

  .admin-search {
    grid-template-columns: 1fr;
  }

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

  .analytics-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .line-chart svg {
    height: 190px;
  }
}

/* MVP stabilization: calmer weights and denser working dashboards. */
.streaming-page .module-card h3,
.streaming-page .dashboard-head h1,
.streaming-page .section-heading h2,
.platform-sidebar-nav a,
.platform-quick-links a,
.genre-chip-grid a,
.genre-chip-grid span {
  font-weight: 500;
}

.streaming-page .module-card p,
.streaming-page .dashboard-head p,
.streaming-page .section-heading span {
  font-weight: 400;
}

.streaming-page .module-card,
.streaming-page .notice-box,
.streaming-page .streaming-hero {
  border-color: rgba(255, 255, 255, .08);
}

@media (min-width: 1200px) {
  .dashboard-page .auth-layout {
    gap: 24px;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  }

  .dashboard-page .auth-card[data-project-form] {
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-page .auth-card[data-project-form] > .upload-zone,
  .dashboard-page .auth-card[data-project-form] > .form-section-head,
  .dashboard-page .auth-card[data-project-form] > [data-tracks-list],
  .dashboard-page .auth-card[data-project-form] > hr,
  .dashboard-page .auth-card[data-project-form] > button,
  .dashboard-page .auth-card[data-project-form] > .form-note,
  .dashboard-page .auth-card[data-project-form] > .notice-box {
    grid-column: 1 / -1;
  }

  .dashboard-page [data-tracks-list] {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-page .nested-editor[data-track-block] {
    align-content: start;
  }

  .dashboard-page .project-status-board {
    align-items: start;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-page .project-status-section {
    border-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .project-detail-grid,
  .project-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Premium SaaS refinement pass: YouTube Studio / Stripe inspired. */
.page-root.dashboard-page,
body.is-dashboard-mode {
  background: #f8fafc;
}

.page-root.dashboard-page {
  max-width: none;
  padding: 32px;
}

body.is-dashboard-mode .site-header {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  max-width: none;
  padding: 24px 32px;
}

body.is-dashboard-mode .brand strong {
  color: var(--blue);
  font-weight: 900;
}

body.is-dashboard-mode .brand small {
  color: #6b7280;
  font-weight: 600;
}

body.is-dashboard-mode .primary-nav a,
body.is-dashboard-mode .button-secondary {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-weight: 500;
  min-height: 40px;
  padding: 9px 16px;
}

body.is-dashboard-mode .primary-nav a.is-active,
body.is-dashboard-mode .primary-nav a:hover,
body.is-dashboard-mode .button-secondary:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
}

.dashboard-page .dashboard-workspace,
.dashboard-page .dashboard-layout {
  gap: 24px;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: calc(100vh - 154px);
}

.dashboard-page .dashboard-sidebar {
  background: transparent;
  border: 0;
  box-shadow: none;
  gap: 8px;
  max-height: calc(100vh - 160px);
  padding: 0;
  top: 32px;
}

.dashboard-page .dashboard-role-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  gap: 3px;
  padding: 0 4px 16px;
}

.dashboard-page .dashboard-role-card span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
}

.dashboard-page .dashboard-sidebar strong {
  color: #111827;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.dashboard-page .dashboard-sidebar small {
  color: #6b7280;
  font-size: 13px;
  font-weight: 400;
}

.dashboard-page .dashboard-menu {
  gap: 2px;
}

.dashboard-page .dashboard-menu-section {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 18px 10px 6px;
}

.dashboard-page .dashboard-sidebar a {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 400;
  min-height: 36px;
  padding: 8px 10px;
}

.dashboard-page .dashboard-sidebar a:hover,
.dashboard-page .dashboard-sidebar a.is-active {
  background: #eef6ff;
  border: 0;
  color: #111827;
  font-weight: 500;
}

.dashboard-page .dashboard-content,
.dashboard-page.admin-analytics-page .dashboard-content {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 112px;
}

.dashboard-page .dashboard-main,
.dashboard-page .admin-analytics {
  gap: 24px;
}

.dashboard-page .dashboard-head h1,
.dashboard-page .streaming-hero h1,
.dashboard-page .page-intro h1 {
  color: #111827;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}

.dashboard-page .dashboard-head p,
.dashboard-page .streaming-hero p,
.dashboard-page .page-intro p,
.dashboard-page .module-card p,
.dashboard-page .role-card small,
.dashboard-page .form-note {
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
}

.dashboard-page .admin-topbar,
.dashboard-page .admin-kpi-card,
.dashboard-page .analytics-panel,
.dashboard-page .module-card,
.dashboard-page .summary-grid article,
.dashboard-page .notice-box,
.dashboard-page .auth-card,
.dashboard-page .draft-readiness-panel,
.dashboard-page .draft-check-card,
.dashboard-page .upload-shortcut-grid article,
.dashboard-page .finance-grid div,
.dashboard-page .alert-pill,
.dashboard-page .quick-action {
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  color: #111827;
  padding: 20px;
}

.dashboard-page .admin-kpi-card:hover,
.dashboard-page .analytics-panel:hover,
.dashboard-page .module-card:hover,
.dashboard-page .summary-grid article:hover,
.dashboard-page .quick-action:hover {
  box-shadow: 0 4px 12px rgba(17, 24, 39, .07);
  transform: none;
}

.dashboard-page .admin-topbar {
  backdrop-filter: blur(14px);
  grid-template-columns: auto minmax(260px, 1fr) auto;
  position: sticky;
  top: 16px;
}

.dashboard-page .admin-brand strong,
.dashboard-page .admin-profile {
  color: #111827;
  font-weight: 500;
}

.dashboard-page .admin-brand span,
.dashboard-page .kpi-icon,
.dashboard-page .quick-action span,
.dashboard-page .player-cover {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #031019;
  font-weight: 600;
}

.dashboard-page .deposit-project-page {
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
}

.dashboard-page .deposit-project-head {
  align-items: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.dashboard-page .deposit-step-meter {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  display: flex;
  gap: 8px;
  padding: 8px;
}

.dashboard-page .deposit-step-meter span {
  background: #f3f4f6;
  border-radius: 8px;
  color: #374151;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 10px;
  text-transform: none;
}

.dashboard-page .deposit-project-form {
  background: transparent;
  box-shadow: none;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
}

.dashboard-page .deposit-info-panel,
.dashboard-page .deposit-cover-panel,
.dashboard-page .deposit-tracks-panel,
.dashboard-page .deposit-project-form > button[type="submit"],
.dashboard-page .deposit-project-form > .form-note {
  grid-column: 1 / -1;
  width: 100%;
}

.dashboard-page .deposit-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  padding: 20px;
}

.dashboard-page .deposit-section-title {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.dashboard-page .deposit-section-title span,
.dashboard-page .deposit-table-head span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.dashboard-page .deposit-section-title h2,
.dashboard-page .deposit-table-head h2 {
  color: #111827;
  font-size: 18px;
  font-weight: 500;
}

.dashboard-page .deposit-section-title p,
.dashboard-page .deposit-table-head p {
  color: #6b7280;
  font-size: 13px;
}

.dashboard-page .deposit-info-grid,
.dashboard-page .deposit-cover-grid,
.dashboard-page .deposit-field-grid {
  display: grid;
  gap: 16px;
}

.dashboard-page .deposit-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-page .deposit-column {
  align-content: start;
  display: grid;
  gap: 14px;
}

.dashboard-page .deposit-project-form label,
.dashboard-page .deposit-project-form .readonly-field span {
  color: #374151;
  font-size: 13px;
  font-weight: 500;
}

.dashboard-page .deposit-project-form input,
.dashboard-page .deposit-project-form select,
.dashboard-page .deposit-project-form textarea {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #111827;
}

.dashboard-page .deposit-project-form input:focus,
.dashboard-page .deposit-project-form select:focus,
.dashboard-page .deposit-project-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 168, 255, .14);
  outline: none;
}

.dashboard-page .deposit-cover-grid {
  align-items: stretch;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
}

.dashboard-page .deposit-cover-panel .cover-preview,
.dashboard-page .deposit-cover-panel .empty-media {
  min-height: 220px;
}

.dashboard-page .deposit-cover-panel .file-drop,
.dashboard-page .deposit-audio-zone .file-drop {
  align-content: center;
  background: #f8fafc;
  border: 2px dashed #94a3b8;
  color: #111827;
  min-height: 160px;
  text-align: center;
}

.dashboard-page .deposit-cover-panel .file-drop strong,
.dashboard-page .deposit-audio-zone .file-drop strong {
  color: #111827;
  font-weight: 500;
}

.dashboard-page .deposit-check-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.dashboard-page .deposit-check-grid span {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #374151;
  font-size: 12px;
  padding: 10px;
}

.dashboard-page .deposit-track-table {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.dashboard-page .deposit-track-table [data-tracks-list] {
  display: block;
}

.dashboard-page .deposit-track-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 72px minmax(180px, 1fr) 120px 140px 90px;
  min-height: 52px;
  padding: 0 16px;
}

.dashboard-page .deposit-track-header {
  background: #f8fafc;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.dashboard-page .deposit-track-details {
  background: #fff;
  border: 0;
  border-top: 1px solid #e5e7eb;
  border-radius: 0;
  display: block;
  padding: 0;
}

.dashboard-page .deposit-track-details summary {
  color: #111827;
  cursor: pointer;
  list-style: none;
}

.dashboard-page .deposit-track-details summary::-webkit-details-marker {
  display: none;
}

.dashboard-page .deposit-track-details summary:hover {
  background: #f8fafc;
}

.dashboard-page .deposit-track-details summary strong {
  font-weight: 500;
}

.dashboard-page .status-ok {
  color: #047857;
  font-weight: 500;
}

.dashboard-page .status-warning {
  color: #b45309;
  font-weight: 500;
}

.dashboard-page .deposit-track-editor {
  background: #fcfdff;
  border-top: 1px solid #e5e7eb;
  display: grid;
  gap: 16px;
  padding: 18px;
}

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

.dashboard-page .deposit-accordion-grid details,
.dashboard-page .deposit-rights-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
}

.dashboard-page .deposit-rights-section .nested-editor-light {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #111827;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-page .deposit-rights-section .nested-editor-light > .form-section-head,
.dashboard-page .deposit-rights-section .nested-editor-light > .notice-box {
  grid-column: 1 / -1;
}

.dashboard-page .deposit-accordion-grid summary {
  color: #111827;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
}

.dashboard-page .deposit-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-page .deposit-audio-zone {
  background: #fff;
  border: 1px solid #dbeafe;
}

.dashboard-page .deposit-project-form > button[type="submit"] {
  justify-self: end;
  min-width: 220px;
}

.dashboard-page .label-studio-page {
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
}

.dashboard-page .label-studio-head {
  align-items: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.dashboard-page .label-roster-toolbar {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.dashboard-page .label-roster-toolbar strong {
  color: #111827;
  font-size: 22px;
  font-weight: 500;
  margin-right: 8px;
}

.dashboard-page .label-roster-toolbar span {
  color: #6b7280;
  font-size: 13px;
}

.dashboard-page .label-roster-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.dashboard-page .label-roster-card {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  display: grid;
  gap: 14px;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  padding: 16px;
}

.dashboard-page .label-roster-media .cover-preview,
.dashboard-page .label-roster-media .empty-media,
.dashboard-page .label-artist-photo .cover-preview,
.dashboard-page .label-artist-photo .empty-media {
  aspect-ratio: 1;
  border-radius: 12px;
  min-height: 0;
  overflow: hidden;
  width: 72px;
}

.dashboard-page .label-roster-media figcaption,
.dashboard-page .label-artist-photo figcaption {
  display: none;
}

.dashboard-page .label-roster-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.dashboard-page .label-roster-info span,
.dashboard-page .label-artist-summary span {
  color: #059669;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.dashboard-page .label-roster-info h3 {
  color: #111827;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .label-roster-info p,
.dashboard-page .label-roster-info small {
  color: #6b7280;
  font-size: 13px;
}

.dashboard-page .label-roster-actions {
  display: flex;
  gap: 8px;
}

.dashboard-page .label-artist-profile {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  display: grid;
  gap: 20px;
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 20px;
}

.dashboard-page .label-artist-photo .cover-preview,
.dashboard-page .label-artist-photo .empty-media {
  width: 180px;
}

.dashboard-page .label-artist-summary {
  align-content: start;
  display: grid;
  gap: 8px;
}

.dashboard-page .label-artist-summary h2 {
  color: #111827;
  font-size: 22px;
  font-weight: 500;
}

.dashboard-page .label-artist-summary p {
  color: #4b5563;
  line-height: 1.6;
}

.dashboard-page .label-artist-details {
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.dashboard-page .label-artist-details div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
}

.dashboard-page .label-artist-details dt {
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 4px;
}

.dashboard-page .label-artist-details dd {
  color: #111827;
  font-size: 14px;
  margin: 0;
}

.dashboard-page .label-artist-form {
  background: transparent;
  box-shadow: none;
  gap: 18px;
  grid-template-columns: 1fr;
  padding: 0;
}

.dashboard-page .label-artist-form label {
  color: #374151;
  font-size: 13px;
  font-weight: 500;
}

.dashboard-page .label-artist-form input,
.dashboard-page .label-artist-form textarea {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #111827;
}

.dashboard-page .label-artist-photo-panel .file-drop {
  align-content: center;
  background: #f8fafc;
  border: 2px dashed #94a3b8;
  min-height: 180px;
  text-align: center;
}

.dashboard-page .label-form-actions {
  justify-content: flex-end;
}

@media (max-width: 1199px) {
  .dashboard-page .deposit-project-head,
  .dashboard-page .label-studio-head,
  .dashboard-page .deposit-info-grid,
  .dashboard-page .deposit-cover-grid,
  .dashboard-page .deposit-accordion-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .deposit-step-meter {
    justify-self: start;
    overflow-x: auto;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .dashboard-page .label-roster-grid,
  .dashboard-page .label-artist-details {
    grid-template-columns: 1fr;
  }

  .dashboard-page .label-roster-card,
  .dashboard-page .label-artist-profile {
    grid-template-columns: 1fr;
  }

  .dashboard-page .label-roster-actions {
    flex-wrap: wrap;
  }

  .dashboard-page .deposit-field-grid,
  .dashboard-page .deposit-check-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .deposit-track-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .dashboard-page .deposit-track-row span:nth-child(3),
  .dashboard-page .deposit-track-row span:nth-child(4),
  .dashboard-page .deposit-track-row span:nth-child(5) {
    display: none;
  }
}

.dashboard-page .admin-search {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  min-height: 40px;
  padding: 6px 12px;
}

.dashboard-page .admin-search span,
.dashboard-page .admin-topbar small,
.dashboard-page .analytics-panel-head small,
.dashboard-page .chart-labels,
.dashboard-page .activity-item span,
.dashboard-page .activity-item small,
.dashboard-page .finance-grid span,
.dashboard-page .geo-row span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 400;
}

.dashboard-page .admin-search input {
  min-height: 28px;
}

.dashboard-page .admin-topbar-actions button {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-weight: 500;
  min-height: 40px;
}

.dashboard-page .admin-kpi-grid {
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-page .admin-kpi-card {
  gap: 12px;
  min-height: 132px;
}

.dashboard-page .admin-kpi-card small,
.dashboard-page .analytics-panel-head span,
.dashboard-page .role-card span,
.dashboard-page .module-card span,
.dashboard-page .summary-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-page .admin-kpi-card strong {
  color: #111827;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0;
}

.dashboard-page .admin-kpi-card p {
  font-size: 13px;
  font-weight: 400;
}

.dashboard-page .analytics-panel-head h2,
.dashboard-page .section-heading h2,
.dashboard-page .form-section-head h2,
.dashboard-page .form-section-head h3,
.dashboard-page .form-section-head h4,
.dashboard-page .module-card h3,
.dashboard-page .summary-grid strong,
.dashboard-page .finance-grid strong,
.dashboard-page .activity-item strong,
.dashboard-page .geo-row strong,
.dashboard-page .quick-action {
  color: #111827;
  font-size: 18px;
  font-weight: 500;
}

.dashboard-page .module-card h3,
.dashboard-page .summary-grid strong,
.dashboard-page .quick-action {
  font-size: 14px;
}

.dashboard-page .line-chart svg {
  height: 220px;
}

.dashboard-page .mini-sparkline {
  color: var(--blue);
  height: 34px;
}

.dashboard-page .analytics-table {
  min-width: 0;
}

.dashboard-page .analytics-table th,
.dashboard-page .analytics-table td,
.dashboard-page table th,
.dashboard-page table td {
  border-bottom: 1px solid #f1f5f9;
  color: #111827;
  font-size: 14px;
  font-weight: 400;
  padding: 14px 16px;
}

.dashboard-page .analytics-table th,
.dashboard-page table th {
  background: #fff;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

.dashboard-page .analytics-table tr:hover td,
.dashboard-page table tr:hover td {
  background: #f9fafb;
}

.dashboard-page input,
.dashboard-page select,
.dashboard-page textarea {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 400;
  min-height: 40px;
}

.dashboard-page input:focus,
.dashboard-page select:focus,
.dashboard-page textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 168, 255, .12);
}

.dashboard-page button,
.dashboard-page .button-primary,
.dashboard-page .button-secondary,
.dashboard-page .auth-card button,
.dashboard-page .analytics-tabs button {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  min-height: 40px;
  padding: 8px 16px;
}

.dashboard-page .analytics-tabs {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.dashboard-page .analytics-tabs button {
  color: #6b7280;
}

.dashboard-page .analytics-tabs button.is-active {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  color: #111827;
}

.persistent-player {
  backdrop-filter: blur(24px);
  background: rgba(17, 24, 39, .78);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  bottom: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .22);
  gap: 12px;
  grid-template-columns: 44px minmax(190px, 1fr) auto minmax(140px, .65fr) minmax(210px, .85fr) minmax(112px, .38fr);
  max-height: 72px;
  max-width: none;
  padding: 8px 14px;
  width: calc(100% - 64px);
}

.is-platform-mode .persistent-player,
body.is-dashboard-mode .persistent-player {
  left: 50%;
  max-width: none;
  width: calc(100% - 64px);
}

.player-cover {
  border-radius: 10px;
  width: 44px;
}

.player-meta span,
.player-queue span {
  color: #38bdf8;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .02em;
}

.player-meta strong,
.player-queue strong {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.player-meta small,
.player-volume,
.player-progress span {
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
  font-weight: 400;
}

.player-controls {
  gap: 8px;
}

.player-controls button {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  min-height: 38px;
  padding: 7px 14px;
}

.player-controls button:hover {
  background: rgba(255, 255, 255, .16);
}

.player-progress {
  gap: 8px;
  grid-template-columns: 38px minmax(90px, 1fr) 38px;
}

.player-progress input,
.player-volume input {
  accent-color: #fff;
}

@media (min-width: 1200px) {
  .page-root.dashboard-page {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .page-root.dashboard-page,
  body.is-dashboard-mode .site-header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .dashboard-page .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-root.dashboard-page,
  body.is-dashboard-mode .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dashboard-page .dashboard-workspace,
  .dashboard-page .dashboard-layout,
  .dashboard-page .admin-topbar,
  .dashboard-page .analytics-chart-grid,
  .dashboard-page .analytics-two-columns,
  .dashboard-page .analytics-three-columns,
  .dashboard-page .quick-actions-grid,
  .dashboard-page .admin-kpi-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .dashboard-sidebar {
    max-height: none;
    position: static;
  }

  .persistent-player,
  .is-platform-mode .persistent-player,
  body.is-dashboard-mode .persistent-player {
    grid-template-columns: 40px 1fr auto;
    max-height: none;
    width: calc(100% - 24px);
  }

  .player-queue,
  .player-progress,
  .player-volume {
    display: none;
  }
}

/* Public and listening areas keep the DigiBacs dark identity.
   The white SaaS theme is reserved for dashboard pages only. */
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) {
  color: var(--text);
  padding-bottom: 128px;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .page-intro h1,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .streaming-hero h1,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .dashboard-head h1 {
  color: #f8fbff;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 500;
  letter-spacing: 0;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .page-intro span,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .streaming-hero span,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .dashboard-head span,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .section-heading span {
  color: var(--blue);
  font-weight: 600;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .page-intro p,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .streaming-hero p,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .dashboard-head p,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .module-card p,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .role-card small,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .summary-grid span,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .notice-box,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .auth-card small {
  color: var(--muted);
  font-weight: 400;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .auth-card,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .module-card,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .role-card,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .notice-box,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .streaming-hero,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .summary-grid article {
  background: rgba(16, 17, 23, .86);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
  color: var(--text);
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .auth-card {
  backdrop-filter: blur(14px);
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .hero {
  align-items: start;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .hero-copy {
  padding-top: clamp(40px, 8vh, 88px);
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .module-card h3,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .role-card strong,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .summary-grid strong,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .notice-box h2,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .auth-card strong,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .auth-card h2 {
  color: #f8fbff;
  font-weight: 500;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .dashboard-sidebar strong,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .dashboard-sidebar a,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .button-secondary,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .form-link,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .player-controls button {
  font-weight: 600;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .dashboard-sidebar small,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .dashboard-role-card span {
  color: #aab6c9;
  font-weight: 400;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) label {
  color: #dfe7ff;
  font-weight: 500;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) input,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) select,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) textarea {
  background: rgba(5, 6, 9, .72);
  border: 1px solid rgba(170, 178, 194, .28);
  color: #fff;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) input:focus,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) select:focus,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) textarea:focus {
  border-color: rgba(19, 168, 255, .72);
  box-shadow: 0 0 0 3px rgba(19, 168, 255, .14);
  outline: none;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) button,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .button-primary {
  background: linear-gradient(135deg, var(--blue), #1d9bf0);
  border: 0;
  color: #021019;
  font-weight: 500;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .button-secondary,
body:not(.is-dashboard-mode) .primary-nav a {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .11);
  color: #edf6ff;
  font-weight: 500;
}

body:not(.is-dashboard-mode) .primary-nav a.is-active,
body:not(.is-dashboard-mode) .primary-nav a:hover,
body:not(.is-dashboard-mode) .button-secondary:hover {
  background: rgba(19, 168, 255, .14);
  border-color: rgba(19, 168, 255, .46);
  color: #fff;
}

.pagination-controls {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}

.pagination-controls span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.pagination-controls .is-disabled {
  opacity: .45;
  pointer-events: none;
}

@media (max-width: 767px) {
  .pagination-controls {
    align-items: stretch;
    flex-direction: column;
  }
}

/* MVP UX polish pass: professional consistency without changing workflows. */
body.is-dashboard-mode {
  background: #f8fafc;
  color: #111827;
}

body.is-dashboard-mode .page-root.dashboard-page {
  min-height: calc(100vh - 96px);
}

.dashboard-page .dashboard-workspace,
.dashboard-page .dashboard-layout {
  align-items: start;
  gap: 28px;
  grid-template-columns: 228px minmax(0, 1fr);
  width: 100%;
}

.dashboard-page .dashboard-sidebar {
  color: #111827;
  overflow-x: hidden;
  scrollbar-color: #cbd5e1 transparent;
}

.dashboard-page .dashboard-role-card {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 8px;
  padding-bottom: 18px;
}

.dashboard-page .dashboard-menu-section {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  margin-top: 8px;
}

.dashboard-page .dashboard-sidebar a {
  align-items: center;
  display: flex;
  line-height: 1.25;
}

.dashboard-page .dashboard-sidebar a.is-active {
  background: #eaf4ff;
  box-shadow: inset 3px 0 0 var(--blue);
}

.dashboard-page .dashboard-main,
.dashboard-page .admin-analytics,
.dashboard-page .label-studio-page,
.dashboard-page .deposit-project-page {
  max-width: none;
  width: 100%;
}

.dashboard-page .dashboard-head {
  align-items: end;
  border-bottom: 1px solid #e5e7eb;
  gap: 16px;
  padding-bottom: 18px;
}

.dashboard-page .dashboard-head span,
.dashboard-page .section-heading span,
.dashboard-page .form-section-head span {
  color: #0284c7;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
}

.dashboard-page .dashboard-head h1 {
  letter-spacing: 0;
}

.dashboard-page label,
.dashboard-page .auth-card label,
.dashboard-page .nested-editor label,
.dashboard-page .form-section-head p,
.dashboard-page .notice-box p {
  color: #374151;
  font-weight: 500;
}

.dashboard-page .form-note,
.dashboard-page small,
.dashboard-page .notice-box,
.dashboard-page .empty-media,
.dashboard-page .compact-notice {
  color: #64748b;
}

.dashboard-page .auth-card,
.dashboard-page .module-card,
.dashboard-page .role-card,
.dashboard-page .summary-grid article,
.dashboard-page .analytics-panel,
.dashboard-page .admin-topbar,
.dashboard-page .admin-kpi-card,
.dashboard-page .deposit-panel,
.dashboard-page .label-roster-card,
.dashboard-page .label-artist-profile,
.dashboard-page .label-roster-toolbar,
.dashboard-page .nested-editor,
.dashboard-page .nested-editor-light,
.dashboard-page .project-card,
.dashboard-page .project-status-section,
.dashboard-page .rights-total-card,
.dashboard-page .upload-zone {
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.dashboard-page .auth-card:hover,
.dashboard-page .module-card:hover,
.dashboard-page .role-card:hover,
.dashboard-page .summary-grid article:hover,
.dashboard-page .analytics-panel:hover,
.dashboard-page .admin-kpi-card:hover,
.dashboard-page .label-roster-card:hover,
.dashboard-page .project-card:hover {
  border-color: #dbe3ee;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
  transform: translateY(-1px);
}

.dashboard-page input,
.dashboard-page select,
.dashboard-page textarea,
.dashboard-page .file-drop input {
  background: #fff;
  border-color: #cbd5e1;
  color: #111827;
}

.dashboard-page input::placeholder,
.dashboard-page textarea::placeholder {
  color: #94a3b8;
}

.dashboard-page .button-primary,
.dashboard-page button[type="submit"],
.dashboard-page .auth-card button[type="submit"] {
  background: #0ea5e9;
  border: 1px solid #0ea5e9;
  color: #031019;
}

.dashboard-page .button-primary:hover,
.dashboard-page button[type="submit"]:hover,
.dashboard-page .auth-card button[type="submit"]:hover {
  background: #0284c7;
  border-color: #0284c7;
}

.dashboard-page .button-secondary,
.dashboard-page button:not([type="submit"]) {
  background: #fff;
  border: 1px solid #dbe3ee;
  color: #334155;
}

.dashboard-page .button-secondary:hover,
.dashboard-page button:not([type="submit"]):hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.dashboard-page .admin-kpi-grid,
.dashboard-page .module-grid,
.dashboard-page .summary-grid {
  align-items: stretch;
}

.dashboard-page .admin-kpi-card,
.dashboard-page .module-card,
.dashboard-page .summary-grid article {
  min-height: 118px;
}

.dashboard-page .analytics-table,
.dashboard-page table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.dashboard-page .analytics-table th,
.dashboard-page table th {
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1;
}

.dashboard-page .analytics-table td,
.dashboard-page table td {
  vertical-align: middle;
}

.dashboard-page .deposit-project-page {
  max-width: none;
}

.dashboard-page .deposit-project-form {
  gap: 20px;
}

.dashboard-page .deposit-info-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.dashboard-page .deposit-cover-grid {
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
}

.dashboard-page .deposit-track-row {
  background: #fff;
  border-color: #e5e7eb;
}

.dashboard-page .deposit-track-header {
  color: #64748b;
  font-weight: 500;
}

.dashboard-page .deposit-track-details summary {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.dashboard-page .deposit-track-editor,
.dashboard-page .deposit-accordion-grid details,
.dashboard-page .deposit-rights-section {
  background: #fff;
  border-color: #e5e7eb;
}

.dashboard-page .label-roster-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.dashboard-page .label-roster-actions {
  gap: 8px;
}

.dashboard-page .label-roster-actions a {
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
}

.persistent-player {
  left: 50%;
  transform: translateX(-50%);
}

body:not(.is-dashboard-mode) .auth-card label,
body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .auth-card label {
  color: #dbeafe;
  font-weight: 500;
}

body:not(.is-dashboard-mode) .auth-card input,
body:not(.is-dashboard-mode) .auth-card select,
body:not(.is-dashboard-mode) .auth-card textarea {
  background: rgba(2, 6, 23, .78);
  border-color: rgba(148, 163, 184, .36);
  color: #f8fafc;
}

body:not(.is-dashboard-mode) .auth-card input::placeholder,
body:not(.is-dashboard-mode) .auth-card textarea::placeholder {
  color: #94a3b8;
}

body:not(.is-dashboard-mode) .auth-layout {
  max-width: 100%;
}

body:not(.is-dashboard-mode) .auth-card {
  max-width: min(420px, calc(100vw - 40px));
  width: min(420px, calc(100vw - 40px));
}

@media (min-width: 1440px) {
  .dashboard-page .dashboard-workspace,
  .dashboard-page .dashboard-layout {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .dashboard-page .admin-kpi-grid {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
  }
}

@media (max-width: 1199px) {
  .dashboard-page .dashboard-workspace,
  .dashboard-page .dashboard-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .dashboard-page .dashboard-head {
    align-items: start;
  }
}

@media (max-width: 900px) {
  .dashboard-page .dashboard-workspace,
  .dashboard-page .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-page .dashboard-sidebar {
    border-bottom: 1px solid #e5e7eb;
    display: block;
    overflow-x: auto;
    padding-bottom: 12px;
    white-space: nowrap;
    width: 100%;
  }

  .dashboard-page .dashboard-menu {
    display: flex;
    gap: 8px;
  }

  .dashboard-page .dashboard-menu-section {
    display: none;
  }

  .dashboard-page .dashboard-sidebar a {
    min-width: max-content;
  }

  .dashboard-page .deposit-cover-grid,
  .dashboard-page .deposit-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    align-items: center;
    gap: 12px;
    max-width: 100%;
    padding: 18px 20px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 21px;
  }

  .menu-toggle {
    border-radius: 8px;
    flex: 0 0 auto;
    margin-left: auto;
    max-width: 44px;
    min-height: 40px;
    overflow: hidden;
    padding: 9px 12px;
    text-indent: 0;
  }

  .primary-nav {
    max-width: 100%;
    width: 100%;
  }

  .page-root {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 20px;
    padding-right: 20px;
  }

  .auth-layout {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
    width: 100%;
  }

  body:not(.is-dashboard-mode) .auth-layout {
    justify-items: start;
    max-width: calc(100vw - 40px);
    width: calc(100vw - 40px);
  }

  body:not(.is-dashboard-mode) .auth-entry-layout {
    justify-items: center;
  }

  .auth-layout > *,
  .auth-card > *,
  .auth-card label,
  .auth-card input,
  .auth-card select,
  .auth-card textarea,
  .page-intro,
  .page-intro > * {
    max-width: 100%;
    min-width: 0;
  }

  .auth-card {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 20px;
    width: 100%;
  }

  body:not(.is-dashboard-mode) .auth-card,
  body:not(.is-dashboard-mode) .page-intro {
    max-width: calc(100vw - 40px);
    width: calc(100vw - 40px);
  }

  body:not(.is-dashboard-mode) .page-intro p,
  body:not(.is-dashboard-mode) .page-intro h1 {
    overflow-wrap: anywhere;
  }

  .social-auth-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    min-width: 0;
  }

  .social-auth-grid button {
    min-width: 0;
    width: 100%;
  }

  .password-field {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  body:not(.is-dashboard-mode) .auth-card .password-field {
    grid-template-columns: minmax(0, 1fr) 58px;
  }

  .password-toggle {
    min-width: 58px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .dashboard-page .admin-topbar {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
    min-width: 0;
  }

  .dashboard-page .admin-search {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    width: 100%;
  }

  .dashboard-page .admin-search input {
    min-width: 0;
    width: 100%;
  }

  .dashboard-page .admin-topbar-actions {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
  }

  .dashboard-page .admin-topbar-actions button {
    flex: 0 0 42px;
    height: 40px;
    justify-content: center;
    min-width: 0;
    padding: 8px;
    width: 42px;
  }

  .dashboard-page .admin-profile {
    align-items: center;
    display: flex;
    flex: 1 1 100%;
    justify-content: center;
    min-height: 32px;
    text-align: center;
  }

  .dashboard-page .admin-topbar-actions .button-secondary {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-actions,
  .form-actions,
  .label-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a,
  .form-actions a,
  .form-actions button,
  .label-form-actions a,
  .label-form-actions button {
    width: 100%;
  }

  .persistent-player,
  .is-platform-mode .persistent-player,
  body.is-dashboard-mode .persistent-player {
    border-radius: 12px;
    bottom: 10px;
    gap: 10px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    left: 50%;
    max-width: calc(100% - 20px);
    padding: 10px;
    width: calc(100% - 20px);
  }

  .player-cover {
    height: 42px;
    width: 42px;
  }

  .player-meta {
    min-width: 0;
  }

  .player-meta strong,
  .player-meta small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .player-controls {
    display: flex;
    gap: 6px;
  }

  .player-controls button {
    min-height: 36px;
    min-width: 48px;
    padding: 7px 10px;
  }

  .player-controls button:not([data-player-toggle]) {
    display: none;
  }
}

@media (max-width: 920px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body:not(.is-dashboard-mode) .auth-layout {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    max-width: calc(100vw - 40px);
    width: calc(100vw - 40px);
  }

  body:not(.is-dashboard-mode) .auth-entry-layout {
    justify-items: center;
  }

  body:not(.is-dashboard-mode) .auth-card,
  body:not(.is-dashboard-mode) .page-intro {
    max-width: calc(100vw - 40px);
    min-width: 0;
    width: calc(100vw - 40px);
  }

  body:not(.is-dashboard-mode) .auth-card {
    overflow: hidden;
  }

  body:not(.is-dashboard-mode) .social-auth-grid {
    grid-template-columns: 1fr;
  }

  body:not(.is-dashboard-mode) .auth-card .password-field {
    grid-template-columns: minmax(0, 1fr) 58px;
    max-width: 100%;
  }

  body:not(.is-dashboard-mode) .auth-card input,
  body:not(.is-dashboard-mode) .auth-card button,
  body:not(.is-dashboard-mode) .auth-card select,
  body:not(.is-dashboard-mode) .auth-card textarea {
    min-width: 0;
    max-width: 100%;
  }

  body:not(.is-dashboard-mode) .auth-entry-layout {
    align-items: start;
    min-height: 0;
  }

  body:not(.is-dashboard-mode) .auth-entry-layout .auth-card {
    order: 1;
  }

  body:not(.is-dashboard-mode) .auth-entry-layout .page-intro {
    gap: 14px;
    order: 2;
    text-align: left;
  }

  body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .auth-entry-layout .page-intro h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .auth-showcase {
    grid-template-columns: minmax(92px, 124px) minmax(0, 1fr);
    padding: 12px;
  }

  .auth-showcase-copy h2 {
    font-size: 20px;
  }

  .auth-showcase-copy p {
    font-size: 13px;
  }

  .dashboard-page .admin-topbar {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-page .admin-topbar-actions {
    display: flex;
    flex-wrap: wrap;
  }
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .auth-entry-layout .page-intro h1 {
  font-size: 46px;
  line-height: 1.03;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .auth-showcase-copy > span {
  color: var(--blue);
  font-weight: 700;
}

body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .auth-showcase-points span {
  color: #e6eefb;
  font-weight: 500;
}

@media (max-width: 920px) {
  body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) .auth-entry-layout .page-intro h1 {
    font-size: 32px;
    line-height: 1.08;
  }
}

/* Label roster correction: compact professional cards with stable actions. */
.dashboard-page .label-roster-grid {
  align-items: stretch;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
}

.dashboard-page .label-roster-card {
  align-items: center;
  column-gap: 16px;
  grid-template-columns: 84px minmax(0, 1fr);
  row-gap: 14px;
}

.dashboard-page .label-roster-media {
  align-self: start;
}

.dashboard-page .label-roster-media .cover-preview,
.dashboard-page .label-roster-media .empty-media {
  width: 84px;
}

.dashboard-page .label-roster-info {
  align-self: center;
  min-width: 0;
}

.dashboard-page .label-roster-info h3 {
  font-size: 18px;
  line-height: 1.2;
}

.dashboard-page .label-roster-info p,
.dashboard-page .label-roster-info small {
  line-height: 1.35;
}

.dashboard-page .label-roster-actions {
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-page .label-roster-actions a {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  justify-content: center;
  line-height: 1.1;
  min-height: 38px;
  min-width: 0;
  padding: 8px 10px;
  text-align: center;
  white-space: normal;
}

.dashboard-page .label-roster-actions .button-primary {
  color: #031019;
}

@media (min-width: 1320px) {
  .dashboard-page .label-roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .dashboard-page .label-roster-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .dashboard-page .label-roster-media .cover-preview,
  .dashboard-page .label-roster-media .empty-media {
    width: 72px;
  }

  .dashboard-page .label-roster-actions {
    grid-template-columns: 1fr;
  }
}

/* Deposit project: keep the track list readable on desktop for artists and labels. */
.dashboard-page .deposit-track-table > [data-tracks-list] {
  display: block;
}

.dashboard-page .deposit-track-table .deposit-track-details {
  display: block;
  margin: 0;
  width: 100%;
}

.dashboard-page .deposit-track-table .deposit-track-row {
  grid-template-columns: 80px minmax(240px, 1fr) 140px 180px 120px;
}

.dashboard-page .deposit-track-table .deposit-track-details summary {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.dashboard-page .deposit-track-table .deposit-track-action {
  color: #2563eb;
  font-weight: 500;
  text-align: right;
}

.dashboard-page .deposit-track-table .deposit-track-editor {
  border-left: 0;
  border-right: 0;
  max-width: none;
}

@media (max-width: 920px) {
  .dashboard-page .deposit-track-table {
    overflow-x: auto;
  }

  .dashboard-page .deposit-track-table .deposit-track-row {
    grid-template-columns: 64px minmax(180px, 1fr) 96px 132px 96px;
    min-width: 640px;
  }
}

/* Stable navigation pass: menus must not resize or jump between pages. */
.primary-nav,
.dashboard-menu,
.platform-sidebar-nav {
  contain: layout;
}

.primary-nav a,
.dashboard-sidebar a,
.platform-sidebar-nav a {
  box-sizing: border-box;
  flex-shrink: 0;
  line-height: 1.25;
}

.primary-nav a {
  min-height: 40px;
  white-space: nowrap;
}

.dashboard-page .dashboard-sidebar a,
.platform-sidebar-nav a {
  min-height: 40px;
  width: 100%;
}

.dashboard-page .dashboard-sidebar a,
.dashboard-page .dashboard-sidebar a:hover,
.dashboard-page .dashboard-sidebar a.is-active,
.platform-sidebar-nav a,
.platform-sidebar-nav a:hover,
.platform-sidebar-nav a.is-active {
  font-weight: 500;
}

.dashboard-page .dashboard-workspace,
.dashboard-page .dashboard-layout {
  grid-template-columns: 228px minmax(0, 1fr);
}

.platform-sidebar {
  width: 250px;
}

.platform-content {
  margin-left: 250px;
}

@media (min-width: 768px) {
  .is-platform-mode .site-header {
    display: none;
  }

  .platform-layout {
    display: block;
    min-height: calc(100vh - 96px);
  }

  .platform-sidebar {
    bottom: 96px;
    left: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 250px;
    z-index: 20;
  }

  .platform-sidebar-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .platform-content {
    margin-left: 250px;
    min-height: calc(100vh - 96px);
  }

  .dashboard-page .dashboard-workspace,
  .dashboard-page .dashboard-layout {
    display: grid;
    grid-template-columns: 228px minmax(0, 1fr);
  }

  .dashboard-page .dashboard-sidebar {
    display: grid;
    overflow-x: hidden;
    overflow-y: auto;
    position: sticky;
    top: 32px;
    width: auto;
  }

  .dashboard-page .dashboard-menu {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-page .dashboard-menu-section {
    display: block;
  }
}

.persistent-player {
  grid-template-columns: 44px minmax(160px, 1fr) auto minmax(150px, .65fr) minmax(180px, .8fr) auto minmax(96px, .35fr);
  max-height: none;
  overflow: visible;
}

.player-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  min-width: 0;
}

.player-actions button,
.player-action-link {
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  min-height: 32px;
  padding: 6px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.player-actions button:hover,
.player-action-link:hover,
.player-actions button.is-active {
  background: rgba(56, 189, 248, .2);
  border-color: rgba(56, 189, 248, .34);
}

.player-panel {
  background: rgba(15, 23, 42, .98);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  bottom: calc(100% + 10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
  color: #e5e7eb;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px;
  position: absolute;
  right: 14px;
  width: 360px;
}

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

.player-panel p {
  margin: 6px 0;
}

.player-panel a {
  color: #38bdf8;
}

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

.player-panel-head button,
.player-playlist-form button {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
  min-height: 34px;
  padding: 6px 10px;
}

.player-playlist-form {
  display: grid;
  gap: 10px;
}

.player-playlist-form label {
  color: #cbd5e1;
  display: grid;
  gap: 6px;
  font-size: 12px;
}

.player-playlist-form select {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #111827;
  min-height: 38px;
  padding: 0 10px;
}

.public-artist-page {
  display: grid;
  gap: 24px;
}

.public-artist-hero {
  align-items: end;
  background: linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(8, 47, 73, .9));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 260px;
  padding: 28px;
}

.public-artist-visual {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 18px;
  display: flex;
  font-size: 44px;
  font-weight: 700;
  justify-content: center;
  overflow: hidden;
}

.public-artist-visual img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.public-artist-summary span,
.public-artist-summary p {
  color: rgba(255, 255, 255, .72);
}

.public-artist-summary h1 {
  color: #fff;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 500;
  line-height: .98;
  margin: 8px 0 14px;
}

.public-artist-summary p {
  max-width: 760px;
}

.public-artist-actions,
.artist-genre-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.public-artist-actions button,
.artist-genre-row a {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: #fff;
  min-height: 40px;
  padding: 8px 16px;
  text-decoration: none;
}

.artist-track-row span {
  color: #38bdf8;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.artist-track-list {
  display: grid;
  gap: 10px;
}

.artist-track-row {
  align-items: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  display: grid;
  gap: 14px;
  grid-template-columns: 58px minmax(0, 1fr) minmax(180px, auto) auto;
  padding: 12px;
}

.artist-track-row .cover-preview,
.artist-track-row .empty-media {
  height: 58px;
  margin: 0;
  width: 58px;
}

.artist-track-row h3 {
  margin: 2px 0 4px;
}

.artist-track-row p {
  color: #cbd5e1;
  margin: 0;
}

.artist-list-card {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 64px minmax(0, 1fr);
}

.artist-list-card h3 a {
  color: inherit;
}

.artist-list-card h3 a:hover {
  color: var(--blue);
}

.artist-avatar-link {
  border-radius: 12px;
  display: block;
  overflow: hidden;
}

.artist-avatar-link:hover .artist-list-avatar {
  transform: scale(1.04);
}

.artist-list-avatar {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 12px;
  color: #021019;
  display: flex;
  font-size: 24px;
  font-weight: 600;
  height: 64px;
  justify-content: center;
  object-fit: cover;
  transition: transform .16s ease;
  width: 64px;
}

.artist-list-avatar.is-empty {
  border: 1px dashed rgba(255, 255, 255, .22);
}

@media (max-width: 1260px) {
  .persistent-player {
    grid-template-columns: 44px minmax(140px, 1fr) auto minmax(170px, .75fr) auto;
  }

  .player-queue,
  .player-volume {
    display: none;
  }
}

@media (max-width: 900px) {
  .public-artist-hero,
  .artist-track-row {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 767px) {
  .persistent-player,
  .is-platform-mode .persistent-player,
  body.is-dashboard-mode .persistent-player {
    align-items: center;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    max-height: none;
  }

  .player-actions {
    display: flex;
    gap: 8px;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 0 0;
    scrollbar-width: none;
  }

  .player-actions::-webkit-scrollbar {
    display: none;
  }

  .player-actions button,
  .player-action-link {
    flex: 0 0 auto;
    min-height: 34px;
  }

  .player-progress,
  .player-queue,
  .player-volume {
    display: none;
  }

}

@media (min-width: 768px) {
  body.is-platform-mode .page-root {
    margin: 0;
    max-width: none;
    padding: 0 0 96px;
    width: 100%;
  }

  body.is-platform-mode .platform-layout {
    display: block;
    min-height: calc(100vh - 96px);
  }

  body.is-platform-mode .platform-sidebar {
    bottom: 96px;
    left: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 250px;
    z-index: 40;
  }

  body.is-platform-mode .platform-sidebar-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.is-platform-mode .platform-content {
    margin-left: 250px;
    min-height: calc(100vh - 96px);
    width: calc(100% - 250px);
  }
}

/* Streaming navigation standard: desktop sidebar, mobile bottom navigation. */
@media (min-width: 768px) {
  body.is-platform-mode .platform-sidebar {
    bottom: 104px;
    display: grid;
    left: 0;
    position: fixed;
    top: 0;
    width: 250px;
  }

  body.is-platform-mode .platform-content {
    margin-left: 250px;
    padding: 22px 24px 136px;
    width: calc(100% - 250px);
  }

  body.is-platform-mode .platform-mobile-nav {
    display: none;
  }
}

@media (max-width: 767px) {
  body.is-platform-mode {
    padding-bottom: 188px;
  }

  body.is-platform-mode .page-root {
    padding: 0;
  }

  body.is-platform-mode .platform-layout {
    display: block;
    min-height: 100vh;
  }

  body.is-platform-mode .platform-sidebar {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0;
    bottom: auto;
    gap: 10px;
    left: 0;
    overflow: visible;
    padding: 12px 16px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 35;
  }

  body.is-platform-mode .platform-brand {
    border-bottom: 0;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0;
  }

  body.is-platform-mode .platform-brand .brand-mark {
    height: 42px;
    width: 42px;
  }

  body.is-platform-mode .platform-identity,
  body.is-platform-mode .platform-sidebar-nav {
    display: none;
  }

  body.is-platform-mode .platform-content {
    border-left: 0;
    margin-left: 0;
    min-height: 100vh;
    padding: 14px 14px 178px;
    width: 100%;
  }

  body.is-platform-mode .platform-top-search {
    grid-template-columns: 1fr auto;
    margin-bottom: 16px;
    top: 72px;
  }

  body.is-platform-mode .platform-top-search label {
    display: none;
  }

  body.is-platform-mode .platform-top-search input {
    min-height: 42px;
  }

  body.is-platform-mode .platform-mobile-nav {
    align-items: center;
    background: rgba(8, 11, 17, .98);
    border-top: 1px solid rgba(255, 255, 255, .1);
    bottom: 0;
    display: grid;
    gap: 2px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    left: 0;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    position: fixed;
    width: 100%;
    z-index: 60;
  }

  body.is-platform-mode .platform-mobile-nav a {
    border-radius: 12px;
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    font-weight: 600;
    min-width: 0;
    padding: 9px 4px;
    text-align: center;
  }

  body.is-platform-mode .platform-mobile-nav a.is-active,
  body.is-platform-mode .platform-mobile-nav a:hover {
    background: rgba(19, 168, 255, .14);
    color: #fff;
  }

  body.is-platform-mode .music-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.is-platform-mode .music-home-hero {
    gap: 16px;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px;
  }

  body.is-platform-mode .music-home-cover {
    max-width: 210px;
  }

  body.is-platform-mode .music-home-copy h1 {
    font-size: 34px;
  }

  body.is-platform-mode .artist-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Streaming player standard layout: left metadata, center transport, right utilities. */
.persistent-player,
.is-platform-mode .persistent-player,
body.is-dashboard-mode .persistent-player {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(220px, .9fr) minmax(360px, 1.15fr) minmax(260px, .9fr);
  max-height: none;
  min-height: 76px;
  overflow: visible;
  padding: 10px 16px;
}

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

.player-cover {
  border-radius: 8px;
  height: 56px;
  width: 56px;
}

.player-meta {
  min-width: 0;
}

.player-meta a,
.player-meta strong {
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-meta a:hover {
  text-decoration: underline;
}

.player-meta small {
  align-items: center;
  color: rgba(255, 255, 255, .64);
  display: flex;
  gap: 6px;
  min-width: 0;
}

.player-meta small a,
.player-meta small span {
  color: rgba(255, 255, 255, .7);
  display: inline;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-meta small span::before {
  content: "- ";
}

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

.player-controls,
.player-right {
  align-items: center;
  display: flex;
  gap: 8px;
}

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

.player-right {
  justify-content: flex-end;
  min-width: 0;
}

.player-icon-button {
  align-items: center;
  aspect-ratio: 1;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 36px;
  justify-content: center;
  padding: 0;
  position: relative;
  text-decoration: none;
  width: 36px;
}

.player-controls .player-icon-button[data-player-toggle] {
  background: #fff;
  color: #0f172a;
  height: 42px;
  width: 42px;
}

.player-icon-button svg,
.player-volume svg {
  fill: none;
  height: 19px;
  pointer-events: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 19px;
}

.player-icon-button:hover,
.player-icon-button.is-active {
  background: rgba(255, 255, 255, .1);
  color: #38bdf8;
}

.player-icon-button:disabled {
  cursor: not-allowed;
  opacity: .36;
}

.player-icon-button[data-tooltip]::after,
.player-volume[data-tooltip]::after {
  background: rgba(15, 23, 42, .96);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  bottom: calc(100% + 8px);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 11px;
  left: 50%;
  opacity: 0;
  padding: 5px 8px;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%) translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
  white-space: nowrap;
  z-index: 50;
}

.player-icon-button[data-tooltip]:hover::after,
.player-volume[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.player-progress {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 40px minmax(120px, 1fr) 40px;
  width: 100%;
}

.player-progress span {
  color: rgba(255, 255, 255, .66);
  font-size: 11px;
  text-align: center;
}

.player-progress input,
.player-volume input {
  accent-color: #fff;
}

.player-volume {
  align-items: center;
  color: rgba(255, 255, 255, .78);
  display: flex;
  gap: 8px;
  min-width: 112px;
  position: relative;
}

.player-volume input {
  min-width: 82px;
}

.player-panel {
  right: 18px;
  width: min(420px, calc(100vw - 40px));
}

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

.player-queue-list button,
.player-queue-list a {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  text-align: left;
  text-decoration: none;
}

.player-queue-list button.is-active {
  border-color: rgba(56, 189, 248, .55);
}

.player-queue-list span {
  color: #94a3b8;
  font-size: 12px;
}

.player-history-head {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .persistent-player,
  .is-platform-mode .persistent-player,
  body.is-dashboard-mode .persistent-player {
    grid-template-columns: minmax(180px, 1fr) minmax(260px, 1fr);
  }

  .player-right {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }
}

@media (max-width: 767px) {
  .persistent-player,
  .is-platform-mode .persistent-player,
  body.is-dashboard-mode .persistent-player {
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
  }

  .player-now-playing {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .player-cover {
    height: 44px;
    width: 44px;
  }

  .player-progress,
  .player-volume {
    display: flex;
  }

  .player-progress {
    display: grid;
  }

  .player-right {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .player-right::-webkit-scrollbar {
    display: none;
  }
}

/* Premium streaming player visual pass. */
.persistent-player,
.is-platform-mode .persistent-player,
body.is-dashboard-mode .persistent-player {
  background:
    linear-gradient(180deg, rgba(31, 35, 46, .98), rgba(10, 12, 18, .98)),
    rgba(10, 12, 18, .98);
  border-color: rgba(255, 255, 255, .16);
  border-radius: 18px;
  box-shadow: 0 -20px 55px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .08);
  gap: 18px;
  grid-template-columns: minmax(280px, .95fr) minmax(440px, 1.2fr) minmax(320px, .9fr);
  min-height: 104px;
  padding: 14px 24px;
}

body.is-platform-mode .persistent-player {
  border-radius: 18px 18px 0 0;
  left: 250px;
  transform: none;
  width: calc(100% - 250px);
}

.player-now-playing {
  gap: 14px;
  grid-template-columns: 74px minmax(0, 1fr);
}

.player-cover {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .42);
  font-size: 22px;
  height: 74px;
  width: 74px;
}

.player-cover img {
  border-radius: 12px;
}

.player-meta a,
.player-meta strong {
  font-size: 16px;
  line-height: 1.25;
}

.player-meta small,
.player-meta small a,
.player-meta small span {
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
}

.player-center {
  gap: 12px;
}

.player-controls {
  gap: 14px;
}

.player-icon-button {
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .88);
  height: 44px;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
  width: 44px;
}

.player-icon-button svg,
.player-volume svg {
  height: 23px;
  stroke-width: 2.25;
  width: 23px;
}

.player-controls .player-icon-button[data-player-prev],
.player-controls .player-icon-button[data-player-next] {
  height: 52px;
  width: 52px;
}

.player-controls .player-icon-button[data-player-prev] svg,
.player-controls .player-icon-button[data-player-next] svg {
  height: 26px;
  width: 26px;
}

.player-controls .player-icon-button[data-player-toggle] {
  background: #fff;
  border-color: rgba(255, 255, 255, .8);
  box-shadow: 0 10px 30px rgba(255, 255, 255, .16);
  color: #020617;
  height: 72px;
  width: 72px;
}

.player-controls .player-icon-button[data-player-toggle] svg {
  height: 34px;
  width: 34px;
}

.player-icon-button:hover,
.player-icon-button.is-active {
  background: rgba(56, 189, 248, .2);
  border-color: rgba(56, 189, 248, .55);
  box-shadow: 0 10px 24px rgba(56, 189, 248, .15);
  color: #67e8f9;
  transform: translateY(-2px) scale(1.04);
}

.player-controls .player-icon-button[data-player-toggle]:hover {
  background: #e0f2fe;
  color: #020617;
  transform: translateY(-2px) scale(1.08);
}

.player-icon-button:active {
  transform: scale(.96);
}

.player-icon-button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.player-icon-button:disabled:hover {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(255, 255, 255, .1);
  box-shadow: none;
  color: rgba(255, 255, 255, .88);
  transform: none;
}

.player-controls .player-icon-button[data-player-toggle]:disabled {
  opacity: .76;
}

.player-progress {
  gap: 12px;
  grid-template-columns: 42px minmax(180px, 1fr) 42px;
}

.player-progress span {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
}

.player-progress input,
.player-volume input {
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.player-progress input::-webkit-slider-runnable-track,
.player-volume input::-webkit-slider-runnable-track {
  background: rgba(255, 255, 255, .28);
  border-radius: 999px;
}

.player-progress input::-webkit-slider-runnable-track {
  height: 8px;
}

.player-volume input::-webkit-slider-runnable-track {
  height: 6px;
}

.player-progress input::-webkit-slider-thumb,
.player-volume input::-webkit-slider-thumb {
  appearance: none;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
}

.player-progress input::-webkit-slider-thumb {
  height: 18px;
  margin-top: -5px;
  width: 18px;
}

.player-volume input::-webkit-slider-thumb {
  height: 14px;
  margin-top: -4px;
  width: 14px;
}

.player-progress input::-moz-range-track,
.player-volume input::-moz-range-track {
  background: rgba(255, 255, 255, .28);
  border-radius: 999px;
}

.player-progress input::-moz-range-track {
  height: 8px;
}

.player-volume input::-moz-range-track {
  height: 6px;
}

.player-progress input::-moz-range-thumb,
.player-volume input::-moz-range-thumb {
  background: #fff;
  border: 0;
  border-radius: 999px;
}

.player-progress input:hover::-webkit-slider-runnable-track,
.player-volume input:hover::-webkit-slider-runnable-track {
  background: rgba(103, 232, 249, .62);
}

.player-right {
  gap: 10px;
}

.player-right .player-icon-button {
  height: 42px;
  width: 42px;
}

.player-volume {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  min-width: 142px;
  padding: 8px 12px;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.player-volume:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(56, 189, 248, .4);
  transform: translateY(-1px);
}

.player-volume input {
  min-width: 94px;
}

@media (max-width: 1180px) {
  .persistent-player,
  .is-platform-mode .persistent-player,
  body.is-dashboard-mode .persistent-player {
    grid-template-columns: minmax(240px, 1fr) minmax(380px, 1.2fr);
    min-height: 116px;
  }

  .player-right {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .persistent-player,
  .is-platform-mode .persistent-player,
  body.is-dashboard-mode .persistent-player {
    bottom: 0 !important;
    gap: 18px !important;
    grid-template-columns: minmax(280px, .95fr) minmax(440px, 1.2fr) minmax(320px, .9fr) !important;
    min-height: 104px !important;
    padding: 14px 24px !important;
    transform: translateX(-50%) scale(.82) !important;
    transform-origin: bottom center !important;
    width: 1180px !important;
  }

  .is-platform-mode .persistent-player {
    left: 50% !important;
    width: 1180px !important;
  }

  .player-right {
    grid-column: auto !important;
    justify-content: flex-end !important;
  }
}

@media (max-width: 767px) {
  .persistent-player,
  .is-platform-mode .persistent-player,
  body.is-dashboard-mode .persistent-player {
    gap: 12px;
    min-height: 0;
    padding: 12px;
  }

  body.is-platform-mode .persistent-player {
    left: 12px;
    width: calc(100% - 24px);
  }

  .player-now-playing {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .player-cover {
    height: 58px;
    width: 58px;
  }

  .player-controls .player-icon-button[data-player-toggle] {
    height: 60px;
    width: 60px;
  }

  .player-controls .player-icon-button[data-player-prev],
  .player-controls .player-icon-button[data-player-next] {
    height: 46px;
    width: 46px;
  }
}

/* Artist public profile: streaming-first layout inspired by modern music platforms. */
.public-artist-page {
  display: grid;
  gap: 28px;
  padding-bottom: 150px;
}

.public-artist-hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(3, 7, 18, .96) 0%, rgba(3, 7, 18, .82) 48%, rgba(3, 7, 18, .58) 100%),
    var(--artist-banner, linear-gradient(135deg, #0f172a, #082f49));
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: 190px minmax(360px, .95fr) minmax(320px, 1fr);
  min-height: 360px;
  overflow: hidden;
  padding: 34px;
  position: relative;
}

.public-artist-hero::after {
  background: linear-gradient(180deg, transparent, rgba(3, 7, 18, .42));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.public-artist-visual,
.public-artist-summary,
.public-artist-hero-details {
  position: relative;
  z-index: 1;
}

.public-artist-visual {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border: 3px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .42);
  display: flex;
  font-size: 48px;
  font-weight: 700;
  justify-content: center;
  overflow: hidden;
}

.public-artist-visual img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.public-artist-summary h1 a {
  color: inherit;
  text-decoration: none;
}

.public-artist-summary h1 a:hover {
  color: #e0f2fe;
}

.public-artist-summary > span {
  align-items: center;
  color: rgba(255, 255, 255, .78);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.verified-badge {
  background: rgba(34, 211, 238, .18);
  border: 1px solid rgba(34, 211, 238, .32);
  border-radius: 999px;
  color: #67e8f9;
  font-size: 11px;
  padding: 4px 9px;
}

.public-artist-summary h1 {
  color: #fff;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 600;
  line-height: .95;
  margin: 10px 0 14px;
  max-width: 980px;
}

.public-artist-summary p {
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  max-width: 820px;
}

.public-artist-hero-details {
  align-self: stretch;
  border-left: 1px solid rgba(255, 255, 255, .22);
  display: grid;
  gap: 22px;
  padding-left: 28px;
}

.public-artist-hero-details article {
  align-content: start;
  display: grid;
  gap: 10px;
}

.public-artist-hero-details span {
  color: #38bdf8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.public-artist-hero-details p {
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.public-artist-hero-details dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.public-artist-hero-details div {
  display: grid;
  gap: 4px;
}

.public-artist-hero-details dt {
  color: rgba(255, 255, 255, .54);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.public-artist-hero-details dd {
  color: #fff;
  font-weight: 600;
  margin: 0;
}

.artist-hero-meta {
  align-items: center;
  color: rgba(255, 255, 255, .72);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 16px;
}

.artist-hero-meta strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.artist-hero-meta span:not(:last-child)::after {
  color: rgba(255, 255, 255, .34);
  content: "-";
  margin-left: 10px;
}

.public-artist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.public-artist-actions button {
  background: #22c55e;
  border: 0;
  border-radius: 999px;
  color: #02100a;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  min-height: 44px;
  padding: 0 22px;
  transition: transform .16s ease, filter .16s ease, background .16s ease;
}

.public-artist-actions button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.public-artist-actions button:disabled {
  cursor: not-allowed;
  filter: grayscale(.7);
  opacity: .62;
  transform: none;
}

.public-artist-actions .artist-action-secondary {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
}

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

.artist-profile-links a {
  align-items: center;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  text-align: center;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.artist-profile-links a:hover,
.artist-profile-links a.is-active {
  background: rgba(56, 189, 248, .16);
  border-color: rgba(56, 189, 248, .42);
  color: #fff;
  transform: translateY(-1px);
}

.artist-biography-content article {
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.75;
  max-width: 980px;
  white-space: pre-line;
}

.artist-network-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.artist-network-card {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.artist-network-card strong {
  color: #fff;
  font-size: 17px;
}

.artist-network-card p,
.artist-network-card span {
  color: rgba(255, 255, 255, .68);
  margin: 0;
}

.artist-network-card a {
  align-items: center;
  background: var(--blue);
  border-radius: 999px;
  color: #031019;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  text-decoration: none;
  width: max-content;
}

.artist-network-card.is-empty {
  opacity: .68;
}

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

.artist-track-row {
  align-items: center;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  display: grid;
  gap: 14px;
  grid-template-columns: 34px 58px minmax(0, 1fr) auto 64px 42px;
  min-height: 76px;
  padding: 9px 14px;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.artist-track-row:hover {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(56, 189, 248, .22);
  transform: translateY(-1px);
}

.artist-track-rank,
.artist-track-duration {
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  text-align: center;
}

.artist-track-cover {
  border-radius: 8px;
  display: block;
  overflow: hidden;
}

.artist-track-cover .cover-preview,
.artist-track-cover .empty-media {
  border: 0;
  border-radius: 8px;
  height: 58px;
  margin: 0;
  width: 58px;
}

.artist-track-cover .cover-preview img {
  border-radius: 8px;
}

.artist-track-info h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px;
}

.artist-track-info p {
  color: rgba(255, 255, 255, .64);
  margin: 0;
}

.artist-track-row .compact-track-player {
  justify-content: center;
}

.artist-track-row .compact-audio-play {
  height: 44px;
  width: 44px;
}

.artist-track-menu {
  align-items: center;
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: rgba(255, 255, 255, .8);
  display: inline-flex;
  font-size: 18px;
  height: 38px;
  justify-content: center;
  letter-spacing: 2px;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, transform .16s ease;
  width: 38px;
}

.artist-track-menu:hover {
  background: rgba(56, 189, 248, .18);
  color: #67e8f9;
  transform: translateY(-1px);
}

.artist-discography-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
}

.artist-simple-project-card {
  align-items: center;
  color: #fff;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  text-decoration: none;
}

.artist-simple-project-card .music-cover-link {
  width: 100%;
}

.artist-simple-project-card strong {
  color: #38bdf8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.artist-simple-project-card span:last-child {
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.artist-genre-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.artist-genre-row a {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: #fff;
  min-height: 40px;
  padding: 10px 15px;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.artist-genre-row a:hover {
  background: rgba(56, 189, 248, .14);
  border-color: rgba(56, 189, 248, .35);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .public-artist-hero {
    grid-template-columns: 1fr;
  }

  .public-artist-hero-details {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding-left: 0;
    padding-top: 22px;
  }

  .public-artist-visual {
    max-width: 170px;
  }

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

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

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

@media (max-width: 767px) {
  .public-artist-hero {
    border-radius: 0;
    margin-left: -18px;
    margin-right: -18px;
    min-height: 420px;
    padding: 28px 18px;
  }

  .public-artist-summary h1 {
    font-size: clamp(38px, 16vw, 62px);
  }

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

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

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

  .artist-track-cover .cover-preview,
  .artist-track-cover .empty-media {
    height: 44px;
    width: 44px;
  }

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

/* Public project / album page: compact streaming layout. */
.public-project-page {
  display: grid;
  gap: 28px;
  padding-bottom: 150px;
}

.public-project-hero {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
}

.public-project-cover {
  display: grid;
  gap: 16px;
}

.public-project-cover > .cover-preview,
.public-project-cover > .empty-media {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .32);
  height: auto;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.public-project-cover > .cover-preview img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.project-artist-panel {
  align-items: center;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 16px;
  text-align: center;
}

.project-artist-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border: 2px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #021019;
  display: flex;
  font-size: 28px;
  font-weight: 700;
  height: 88px;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  width: 88px;
}

.project-artist-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.project-artist-name {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.project-artist-name:hover {
  color: #67e8f9;
}

.project-social-metrics {
  display: flex;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.project-social-metrics span {
  align-items: center;
  color: rgba(255, 255, 255, .72);
  display: inline-flex;
  gap: 5px;
  min-width: 0;
}

.project-social-metrics svg {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 17px;
}

.project-social-metrics strong {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.public-project-summary {
  align-content: start;
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding-top: 10px;
}

.public-project-summary > span {
  color: #38bdf8;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.public-project-summary h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 600;
  line-height: .98;
  margin: 0;
  max-width: 980px;
}

.project-credit,
.project-credit a {
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  margin: 0;
  text-decoration: none;
}

.project-credit a:hover {
  color: #67e8f9;
}

.public-project-summary > p:not(.project-credit) {
  color: rgba(255, 255, 255, .68);
  line-height: 1.6;
  margin: 0;
  max-width: 760px;
}

.project-meta-line {
  color: rgba(255, 255, 255, .62);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.project-meta-line span:not(:last-child)::after {
  color: rgba(255, 255, 255, .3);
  content: "-";
  margin-left: 10px;
}

.project-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.project-action-row button,
.project-purchase-panel button,
.project-purchase-panel a {
  align-items: center;
  background: #22c55e;
  border: 0;
  border-radius: 999px;
  color: #02100a;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  text-decoration: none;
  transition: transform .16s ease, filter .16s ease, background .16s ease;
}

.project-action-row button:hover,
.project-purchase-panel button:hover,
.project-purchase-panel a:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.project-action-row button:disabled {
  cursor: not-allowed;
  opacity: .62;
  transform: none;
}

.project-action-row .project-secondary-action,
.project-purchase-panel a {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
}

.project-purchase-panel {
  align-items: center;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 8px;
  padding: 14px;
}

.project-purchase-panel span {
  color: rgba(255, 255, 255, .56);
  font-size: 12px;
  text-transform: uppercase;
}

.project-purchase-panel strong {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-right: auto;
}

.project-purchase-panel p {
  color: rgba(255, 255, 255, .64);
  margin: 0;
}

.mobile-money-form {
  display: grid;
  gap: 10px;
  width: 100%;
}

.mobile-money-form label {
  color: rgba(255, 255, 255, .72);
  display: grid;
  font-size: 13px;
  gap: 6px;
}

.mobile-money-form input,
.mobile-money-form select {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  color: #fff;
  min-height: 42px;
  padding: 0 12px;
}

.mobile-money-form option {
  color: #111827;
}

.mobile-money-form button {
  justify-content: center;
  width: 100%;
}

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

.project-track-row {
  align-items: center;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  display: grid;
  gap: 14px;
  grid-template-columns: 34px 52px minmax(0, 1fr) 68px 42px;
  min-height: 72px;
  padding: 9px 14px;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.project-track-row:hover {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(56, 189, 248, .22);
  transform: translateY(-1px);
}

.project-track-row > span {
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  text-align: center;
}

.project-track-row h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px;
}

.project-track-row p {
  color: rgba(255, 255, 255, .62);
  margin: 0;
}

.project-track-row .compact-track-player {
  justify-content: center;
}

.project-track-row .compact-audio-play {
  height: 44px;
  width: 44px;
}

.project-track-row > a {
  align-items: center;
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: rgba(255, 255, 255, .8);
  display: inline-flex;
  font-size: 18px;
  height: 38px;
  justify-content: center;
  letter-spacing: 2px;
  text-decoration: none;
  width: 38px;
}

.project-track-row > a:hover {
  background: rgba(56, 189, 248, .18);
  color: #67e8f9;
}

@media (max-width: 980px) {
  .public-project-hero {
    grid-template-columns: 1fr;
  }

  .public-project-cover {
    max-width: 360px;
  }
}

@media (max-width: 767px) {
  .public-project-summary h1 {
    font-size: clamp(36px, 13vw, 58px);
  }

  .public-project-cover .project-artist-panel {
    display: none !important;
  }

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

  .project-track-row > span:last-of-type,
  .project-track-row > a {
    display: none;
  }

  .project-track-row .compact-audio-play {
    height: 42px;
    width: 42px;
  }
}

/* Artist listing and project cards: match streaming platform conventions. */
.artist-list-card {
  align-items: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  color: #fff;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 224px;
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
}

.artist-list-card:hover {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(56, 189, 248, .28);
  transform: translateY(-2px);
}

.artist-list-card .artist-avatar-link {
  border-radius: 999px;
  height: 112px;
  width: 112px;
}

.artist-list-card .artist-list-avatar {
  border-radius: 999px;
  font-size: 34px;
  height: 112px;
  width: 112px;
}

.artist-list-card strong {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.artist-card-metrics {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.artist-card-metrics span {
  align-items: center;
  color: rgba(255, 255, 255, .72);
  display: inline-flex;
  gap: 4px;
}

.artist-card-metrics svg {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 17px;
}

.artist-card-metrics strong {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.public-artist-actions a {
  align-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  text-decoration: none;
  transition: transform .16s ease, filter .16s ease, background .16s ease;
}

.public-artist-actions a:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.public-project-card {
  gap: 9px;
}

.public-project-card .project-buy-link {
  align-items: center;
  background: var(--blue);
  border-radius: 10px;
  color: #021019;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  margin-top: 4px;
  min-height: 42px;
  padding: 0 12px;
  text-decoration: none;
}

.public-project-card .project-buy-link:hover {
  background: #67e8f9;
  color: #021019;
}

.public-project-card .project-buy-link.is-disabled {
  background: rgba(255, 255, 255, .11);
  color: rgba(255, 255, 255, .58);
  cursor: default;
  pointer-events: none;
}

@media (max-width: 767px) {
  .artist-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artist-list-card {
    min-height: 196px;
    padding: 16px 10px;
  }

  .artist-list-card .artist-avatar-link,
  .artist-list-card .artist-list-avatar {
    height: 88px;
    width: 88px;
  }
}

/* Desktop full-width rule: every main platform/dashboard page uses the available screen. */
@media (min-width: 1200px) {
  .site-header,
  .page-root,
  .streaming-page,
  .dashboard-page .page-root,
  .is-platform-mode .page-root,
  body.is-dashboard-mode .page-root.dashboard-page,
  body:not(.is-dashboard-mode) .page-root:not(.dashboard-page) {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    width: 100%;
  }

  .page-root {
    padding-left: 32px;
    padding-right: 32px;
  }

  body.is-platform-mode .page-root,
  body.is-platform-mode .platform-content {
    max-width: none;
    width: 100%;
  }

  body.is-platform-mode .platform-content {
    margin-left: 250px;
    padding-left: 32px;
    padding-right: 32px;
    width: calc(100% - 250px);
  }

  .dashboard-main,
  .streaming-home,
  .streaming-section,
  .public-artist-page,
  .public-project-page,
  .dashboard-page .deposit-project-page,
  .dashboard-page .project-form-shell,
  .dashboard-page .label-studio-page,
  .admin-analytics,
  .section-band,
  .module-grid,
  .music-card-grid,
  .artist-card-grid {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    width: 100%;
  }
}

/* Streaming platform lock: desktop is full width with a fixed left sidebar. */
body.is-platform-mode .site-header {
  display: none !important;
}

body.is-platform-mode .page-root {
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

body.is-platform-mode .platform-layout {
  margin: 0 !important;
  max-width: none !important;
  min-height: 100vh;
  width: 100% !important;
}

body.is-platform-mode .platform-content,
body.is-platform-mode .streaming-page,
body.is-platform-mode .streaming-section,
body.is-platform-mode .streaming-home,
body.is-platform-mode .public-artist-page,
body.is-platform-mode .public-project-page,
body.is-platform-mode .section-band,
body.is-platform-mode .music-card-grid,
body.is-platform-mode .artist-card-grid {
  max-width: none !important;
}

body.is-platform-mode .platform-top-search {
  position: sticky;
  top: 16px;
  z-index: 45;
}

body.is-platform-mode .platform-layout.has-project-filters .platform-top-search {
  display: none;
}

body.is-platform-mode .artist-list-card {
  align-items: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 226px;
  text-align: center !important;
}

body.is-platform-mode .artist-list-card .artist-avatar-link,
body.is-platform-mode .artist-list-card .artist-list-avatar {
  flex: 0 0 auto;
}

body.is-platform-mode .artist-list-card strong {
  display: block;
  text-align: center;
}

body.is-platform-mode .artists-only-section {
  padding-top: 8px;
}

body.is-platform-mode .artists-only-section .artist-card-grid {
  align-items: stretch;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
  width: 100%;
}

body.is-platform-mode .artists-only-section .artist-list-card {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  box-shadow: none;
  color: #fff;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px;
  justify-content: center !important;
  min-height: 252px;
  padding: 24px 18px;
  text-align: center !important;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

body.is-platform-mode .artists-only-section .artist-list-card:hover {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(56, 189, 248, .32);
  transform: translateY(-2px);
}

body.is-platform-mode .artists-only-section .artist-avatar-link,
body.is-platform-mode .artists-only-section .artist-list-avatar {
  border-radius: 999px !important;
  height: 118px !important;
  width: 118px !important;
}

body.is-platform-mode .artists-only-section .artist-avatar-link {
  display: block;
  overflow: hidden;
}

body.is-platform-mode .artists-only-section .artist-list-avatar {
  object-fit: cover;
}

body.is-platform-mode .artists-only-section .artist-list-card strong {
  color: #fff;
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 2px;
  text-align: center;
}

body.is-platform-mode .artists-only-section .artist-card-metrics {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: -2px;
}

body.is-platform-mode .platform-projects-section {
  display: grid;
  gap: 22px;
}

body.is-platform-mode .platform-projects-section .catalogue-filters {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .1);
  border-radius: 16px;
  box-shadow: none;
  max-width: none;
  position: sticky;
  top: 16px;
  width: 100%;
}

body.is-platform-mode .platform-projects-section .music-card-grid {
  display: grid !important;
  gap: 20px !important;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  width: 100%;
}

body.is-platform-mode .platform-projects-section .public-project-card {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  display: grid;
  gap: 10px;
  min-height: 0;
  padding: 14px;
}

body.is-platform-mode .platform-projects-section .public-project-card .music-cover-link {
  border-radius: 14px;
}

body.is-platform-mode .platform-projects-section .public-project-card .cover-preview,
body.is-platform-mode .platform-projects-section .public-project-card .empty-media {
  aspect-ratio: 1;
  border-radius: 14px;
  width: 100%;
}

body.is-platform-mode .platform-projects-section .public-project-card > span {
  color: #38bdf8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

body.is-platform-mode .platform-projects-section .public-project-card h3 {
  margin: 0;
}

body.is-platform-mode .platform-projects-section .public-project-card h3 a {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

body.is-platform-mode .platform-projects-section .public-project-card p,
body.is-platform-mode .platform-projects-section .public-project-card small {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}

body.is-platform-mode .platform-projects-section .project-buy-link {
  margin-top: 4px;
}

body.is-platform-mode .platform-account-page {
  align-content: start;
  display: grid;
  min-height: calc(100vh - 170px);
}

body.is-platform-mode .platform-account-card {
  align-items: center;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  display: grid;
  gap: 18px;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  max-width: 760px;
  padding: 22px;
}

body.is-platform-mode .platform-account-avatar {
  align-items: center;
  background: linear-gradient(135deg, #13a8ff, #34d399);
  border-radius: 999px;
  color: #031019;
  display: inline-flex;
  font-size: 26px;
  font-weight: 700;
  height: 72px;
  justify-content: center;
  width: 72px;
}

body.is-platform-mode .platform-account-card span {
  color: #38bdf8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.is-platform-mode .platform-account-card h1 {
  color: #fff;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 600;
  line-height: 1.05;
  margin: 4px 0;
}

body.is-platform-mode .platform-account-card p {
  color: rgba(255, 255, 255, .72);
}

body.is-platform-mode .checkout-page {
  align-content: center;
  display: grid;
  min-height: calc(100vh - 170px);
}

body.is-platform-mode .checkout-shell {
  align-items: center;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  padding: 32px;
}

body.is-platform-mode .checkout-cover .cover-preview,
body.is-platform-mode .checkout-cover .empty-media {
  aspect-ratio: 1;
  border-radius: 18px;
  width: 100%;
}

body.is-platform-mode .checkout-summary {
  color: #fff;
  display: grid;
  gap: 16px;
}

body.is-platform-mode .checkout-summary > span {
  color: #38bdf8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.is-platform-mode .checkout-summary h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 600;
  line-height: 1;
  margin: 0;
}

body.is-platform-mode .checkout-summary p {
  color: rgba(255, 255, 255, .72);
  margin: 0;
}

@media (min-width: 1024px) {
  body.is-platform-mode .platform-sidebar {
    bottom: 104px !important;
    left: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    position: fixed !important;
    top: 0 !important;
    width: 250px !important;
    z-index: 60 !important;
  }

  body.is-platform-mode .platform-content {
    margin-left: 250px !important;
    min-height: 100vh;
    padding: 24px 32px 140px !important;
    width: calc(100% - 250px) !important;
  }

  body.is-platform-mode .artist-card-grid {
    display: grid !important;
    gap: 18px !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.is-platform-mode .checkout-shell {
    gap: 20px;
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

/* Player lock: stable streaming footer with clear left, center and right zones. */
body.is-platform-mode .persistent-player {
  align-items: center !important;
  backdrop-filter: blur(18px);
  bottom: 0 !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: minmax(260px, .95fr) minmax(420px, 1.2fr) minmax(300px, .9fr) !important;
  left: 250px !important;
  max-width: none !important;
  min-height: 104px !important;
  overflow: visible !important;
  padding: 14px 24px !important;
  position: fixed !important;
  right: 0 !important;
  transform: none !important;
  width: calc(100% - 250px) !important;
  z-index: 90 !important;
}

body.is-platform-mode .player-now-playing,
body.is-platform-mode .player-center,
body.is-platform-mode .player-right {
  min-width: 0;
}

body.is-platform-mode .player-now-playing {
  grid-template-columns: 74px minmax(0, 1fr) !important;
}

body.is-platform-mode .player-cover {
  height: 74px !important;
  width: 74px !important;
}

body.is-platform-mode .player-center {
  justify-self: center;
  width: min(100%, 620px);
}

body.is-platform-mode .player-controls {
  justify-content: center;
}

body.is-platform-mode .player-right {
  flex-wrap: nowrap;
  justify-content: flex-end;
  overflow: visible;
}

body.is-platform-mode .player-progress input {
  min-width: 0;
}

@media (max-width: 1180px) {
  body.is-platform-mode .persistent-player {
    grid-template-columns: minmax(220px, 1fr) minmax(320px, 1fr) !important;
    min-height: 126px !important;
  }

  body.is-platform-mode .player-right {
    grid-column: 1 / -1;
    justify-content: center;
    overflow-x: auto;
  }
}

@media (max-width: 767px) {
  body.is-platform-mode .persistent-player {
    grid-template-columns: 1fr !important;
    left: 12px !important;
    min-height: 0 !important;
    padding: 12px !important;
    right: 12px !important;
    width: calc(100% - 24px) !important;
  }
}

/* Artist detail mobile lock. */
body.is-platform-mode .public-artist-actions button,
body.is-platform-mode .public-artist-actions a {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  white-space: nowrap;
}

body.is-platform-mode .public-artist-actions svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}

@media (max-width: 767px) {
  body.is-platform-mode .public-artist-page {
    gap: 18px;
    padding-bottom: 260px;
  }

  body.is-platform-mode .public-artist-hero {
    border-radius: 18px;
    gap: 18px;
    margin-left: 0;
    margin-right: 0;
    min-height: 0;
    padding: 22px 16px;
  }

  body.is-platform-mode .public-artist-visual {
    height: 128px;
    width: 128px;
  }

  body.is-platform-mode .public-artist-summary h1 {
    font-size: clamp(38px, 15vw, 56px);
    margin-bottom: 10px;
  }

  body.is-platform-mode .public-artist-summary p {
    font-size: 14px;
  }

  body.is-platform-mode .public-artist-actions {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 54px minmax(0, 1fr) 44px;
    overflow: visible;
    padding-bottom: 0;
  }

  body.is-platform-mode .public-artist-actions::-webkit-scrollbar {
    display: none;
  }

  body.is-platform-mode .public-artist-actions .artist-play-action {
    border-radius: 999px;
    grid-column: 1;
    height: 54px;
    min-height: 54px;
    padding: 0;
    width: 54px;
  }

  body.is-platform-mode .public-artist-actions .artist-play-action span {
    display: none;
  }

  body.is-platform-mode .public-artist-actions .artist-play-action svg {
    height: 24px;
    stroke-width: 1.55;
    width: 24px;
  }

  body.is-platform-mode .public-artist-actions .artist-follow-action {
    grid-column: 2;
    min-width: 0;
    width: 100%;
  }

  body.is-platform-mode .public-artist-actions .artist-share-action {
    border-radius: 999px;
    grid-column: 3;
    height: 44px;
    min-height: 44px;
    padding: 0;
    width: 44px;
  }

  body.is-platform-mode .public-artist-actions .artist-share-action span {
    display: none;
  }

  body.is-platform-mode .public-artist-actions .artist-buy-action {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 42px;
    width: 100%;
  }

  body.is-platform-mode .artist-track-row {
    grid-template-columns: 48px minmax(0, 1fr) 46px !important;
    padding: 10px;
  }

  body.is-platform-mode .artist-track-cover .cover-preview,
  body.is-platform-mode .artist-track-cover .empty-media {
    height: 48px;
    width: 48px;
  }

  body.is-platform-mode .artist-track-info h3 {
    font-size: 14px;
  }

  body.is-platform-mode .artist-track-info p {
    font-size: 12px;
  }

  body.is-platform-mode .artist-track-duration {
    display: none;
  }
}

/* Mobile streaming lock: compact header, fixed search, usable grids and player. */
@media (max-width: 767px) {
  body.is-platform-mode {
    overflow-x: hidden;
    padding-bottom: 238px !important;
  }

  body.is-platform-mode .platform-layout {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.is-platform-mode .platform-sidebar {
    align-items: center;
    background: rgba(8, 11, 17, .98);
    display: flex !important;
    min-height: 66px;
    padding: 10px 14px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 80 !important;
  }

  body.is-platform-mode .platform-brand {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 42px minmax(0, 1fr);
    width: 100%;
  }

  body.is-platform-mode .platform-brand strong {
    font-size: 20px;
    line-height: 1;
  }

  body.is-platform-mode .platform-brand small {
    font-size: 10px;
  }

  body.is-platform-mode .platform-content {
    margin-left: 0 !important;
    padding: 12px 12px 238px !important;
    width: 100% !important;
  }

  body.is-platform-mode .platform-top-search {
    background: rgba(8, 11, 17, .94);
    border-radius: 14px;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    margin-bottom: 16px;
    padding: 10px;
    position: sticky !important;
    top: 72px !important;
    z-index: 75 !important;
  }

  body.is-platform-mode .platform-top-search input {
    font-size: 16px;
    min-width: 0;
  }

  body.is-platform-mode .platform-top-search button,
  body.is-platform-mode .catalogue-filters button {
    min-height: 42px;
    padding: 0 12px;
  }

  body.is-platform-mode .platform-top-search button {
    border-radius: 999px;
    height: 42px;
    padding: 0 !important;
    width: 42px;
  }

  body.is-platform-mode .platform-account-shortcut {
    align-items: center;
    background: linear-gradient(135deg, #13a8ff, #34d399);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #031019;
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    text-decoration: none;
    width: 42px;
  }

  body.is-platform-mode .platform-projects-section .catalogue-filters {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr !important;
    position: sticky;
    top: 72px;
    z-index: 70;
  }

  body.is-platform-mode .music-card-grid,
  body.is-platform-mode .platform-projects-section .music-card-grid,
  body.is-platform-mode .artists-only-section .artist-card-grid {
    gap: 12px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.is-platform-mode .platform-projects-section .public-project-card,
  body.is-platform-mode .artists-only-section .artist-list-card {
    border-radius: 16px;
    padding: 12px;
  }

  body.is-platform-mode .platform-account-card {
    align-items: stretch;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 22px 18px;
    text-align: center;
  }

  body.is-platform-mode .platform-account-card .button-secondary {
    justify-content: center;
    width: 100%;
  }

  body.is-platform-mode .artists-only-section .artist-avatar-link,
  body.is-platform-mode .artists-only-section .artist-list-avatar {
    height: 86px !important;
    width: 86px !important;
  }

  body.is-platform-mode .platform-mobile-nav {
    bottom: 0 !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    z-index: 92 !important;
  }

  body.is-platform-mode .persistent-player {
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    gap: 10px !important;
    left: 8px !important;
    max-height: none !important;
    padding: 10px !important;
    right: 8px !important;
    width: calc(100% - 16px) !important;
    z-index: 91 !important;
  }

  body.is-platform-mode .player-now-playing {
    grid-template-columns: 52px minmax(0, 1fr) !important;
  }

  body.is-platform-mode .player-cover {
    height: 52px !important;
    width: 52px !important;
  }

  body.is-platform-mode .player-center {
    width: 100%;
  }

  body.is-platform-mode .player-controls {
    gap: 10px;
  }

  body.is-platform-mode .player-controls .player-icon-button[data-player-toggle] {
    height: 58px !important;
    width: 58px !important;
  }

  body.is-platform-mode .player-right {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  body.is-platform-mode .player-right::-webkit-scrollbar {
    display: none;
  }
}

/* Mobile player standard lock: mini-player above bottom navigation, no desktop controls exposed. */
@media (max-width: 767px) {
  body.is-platform-mode {
    padding-bottom: 154px !important;
  }

  body.is-platform-mode .platform-content {
    padding-bottom: 154px !important;
  }

  body.is-platform-mode .platform-mobile-nav {
    bottom: 0 !important;
    min-height: 64px;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom)) !important;
    z-index: 94 !important;
  }

  body.is-platform-mode .platform-mobile-nav a {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: rgba(255, 255, 255, .68) !important;
    display: inline-flex !important;
    height: 46px !important;
    justify-content: center !important;
    justify-self: center;
    padding: 0 !important;
    width: 46px !important;
  }

  body.is-platform-mode .platform-mobile-nav a svg {
    height: 23px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 23px;
  }

  body.is-platform-mode .platform-mobile-nav a.is-active,
  body.is-platform-mode .platform-mobile-nav a:hover {
    background: rgba(29, 161, 242, .18) !important;
    color: #fff !important;
  }

  body.is-platform-mode .persistent-player {
    align-items: center !important;
    background:
      linear-gradient(180deg, rgba(24, 28, 37, .98), rgba(11, 14, 21, .98)),
      rgba(11, 14, 21, .98) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 16px !important;
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
    display: grid !important;
    gap: 8px 10px !important;
    grid-template-columns: minmax(0, 1fr) 42px 48px !important;
    grid-template-rows: 56px 4px !important;
    left: 8px !important;
    min-height: 72px !important;
    padding: 8px 10px !important;
    right: 8px !important;
    width: calc(100% - 16px) !important;
    z-index: 93 !important;
  }

  body.is-platform-mode .player-now-playing {
    align-items: center !important;
    gap: 10px !important;
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 50px minmax(0, 1fr) !important;
    min-width: 0;
  }

  body.is-platform-mode .player-cover {
    border-radius: 10px !important;
    height: 50px !important;
    width: 50px !important;
  }

  body.is-platform-mode .player-cover img {
    border-radius: 10px !important;
  }

  body.is-platform-mode .player-meta {
    min-width: 0;
  }

  body.is-platform-mode .player-meta a,
  body.is-platform-mode .player-meta strong {
    display: block;
    font-size: 14px !important;
    line-height: 1.2 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.is-platform-mode .player-meta small {
    display: block;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.is-platform-mode .player-meta small a,
  body.is-platform-mode .player-meta small span {
    font-size: 12px !important;
  }

  body.is-platform-mode .player-meta small span {
    display: none;
  }

  body.is-platform-mode .player-center {
    display: contents !important;
    width: auto !important;
  }

  body.is-platform-mode .player-controls {
    display: contents !important;
  }

  body.is-platform-mode .player-controls .player-icon-button {
    display: none !important;
  }

  body.is-platform-mode .player-controls .player-icon-button[data-player-toggle] {
    align-items: center !important;
    background: #1da1f2 !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 24px rgba(29, 161, 242, .32) !important;
    color: #031019 !important;
    display: inline-flex !important;
    grid-column: 3;
    grid-row: 1;
    height: 48px !important;
    justify-content: center !important;
    justify-self: end;
    width: 48px !important;
  }

  body.is-platform-mode .player-controls .player-icon-button[data-player-toggle] svg {
    height: 25px !important;
    width: 25px !important;
  }

  body.is-platform-mode .player-progress {
    display: grid !important;
    gap: 0 !important;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 1fr !important;
    height: 4px;
    margin: 0;
  }

  body.is-platform-mode .player-progress span {
    display: none !important;
  }

  body.is-platform-mode .player-progress input {
    height: 4px;
    min-width: 0 !important;
    width: 100% !important;
  }

  body.is-platform-mode .player-progress input::-webkit-slider-runnable-track {
    height: 4px;
  }

  body.is-platform-mode .player-progress input::-webkit-slider-thumb {
    height: 12px;
    margin-top: -4px;
    width: 12px;
  }

  body.is-platform-mode .player-right {
    display: flex !important;
    gap: 0 !important;
    grid-column: 2;
    grid-row: 1;
    justify-content: center !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  body.is-platform-mode .player-right .player-icon-button,
  body.is-platform-mode .player-volume {
    display: none !important;
  }

  body.is-platform-mode .player-right .player-icon-button[data-player-like] {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    color: rgba(255, 255, 255, .86) !important;
    display: inline-flex !important;
    height: 42px !important;
    justify-content: center !important;
    width: 42px !important;
  }

  body.is-platform-mode .player-right .player-icon-button[data-player-like].is-active,
  body.is-platform-mode .player-right .player-icon-button[data-player-like][aria-pressed="true"] {
    color: #22c55e !important;
  }

  body.has-mobile-expanded-player {
    overflow: hidden !important;
  }

  body.is-platform-mode.has-mobile-expanded-player .platform-mobile-nav {
    display: none !important;
  }

  body.is-platform-mode .persistent-player.is-mobile-expanded {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    bottom: 0 !important;
    box-shadow: none !important;
    display: block !important;
    left: 0 !important;
    min-height: 100dvh !important;
    padding: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 200 !important;
  }

  body.is-platform-mode .persistent-player.is-mobile-expanded > .player-now-playing,
  body.is-platform-mode .persistent-player.is-mobile-expanded > .player-center,
  body.is-platform-mode .persistent-player.is-mobile-expanded > .player-right {
    display: none !important;
  }

  body.is-platform-mode .mobile-expanded-player {
    align-content: stretch;
    background:
      linear-gradient(180deg, rgba(15, 18, 28, .72), rgba(5, 6, 9, .96) 42%, #050609 100%),
      #050609;
    color: #fff;
    display: grid;
    gap: 18px;
    grid-template-rows: auto minmax(220px, 42vh) auto auto auto 1fr;
    inset: 0;
    min-height: 100dvh;
    overflow: hidden auto;
    padding: 16px 18px calc(22px + env(safe-area-inset-bottom));
    position: fixed;
    z-index: 201;
  }

  body.is-platform-mode .mobile-expanded-player[hidden] {
    display: none !important;
  }

  body.is-platform-mode .mobile-expanded-backdrop {
    filter: blur(28px);
    inset: -30px;
    opacity: .32;
    overflow: hidden;
    position: absolute;
    z-index: -1;
  }

  body.is-platform-mode .mobile-expanded-backdrop img,
  body.is-platform-mode .mobile-expanded-backdrop .empty-media {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  body.is-platform-mode .mobile-expanded-head {
    align-items: center;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  body.is-platform-mode .mobile-expanded-head span {
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
  }

  body.is-platform-mode .mobile-expanded-close,
  body.is-platform-mode .mobile-expanded-icon {
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
  }

  body.is-platform-mode .mobile-expanded-close svg,
  body.is-platform-mode .mobile-expanded-icon svg {
    height: 24px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
    width: 24px;
  }

  body.is-platform-mode .mobile-expanded-cover {
    align-self: center;
    aspect-ratio: 1;
    border-radius: 24px;
    box-shadow: 0 28px 72px rgba(0, 0, 0, .54);
    justify-self: center;
    max-height: 42vh;
    max-width: min(78vw, 360px);
    overflow: hidden;
    width: 100%;
  }

  body.is-platform-mode .mobile-expanded-cover img,
  body.is-platform-mode .mobile-expanded-cover .empty-media {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  body.is-platform-mode .mobile-expanded-meta {
    display: grid;
    gap: 6px;
    text-align: center;
  }

  body.is-platform-mode .mobile-expanded-meta strong {
    font-size: clamp(24px, 7vw, 34px);
    font-weight: 700;
    line-height: 1.05;
  }

  body.is-platform-mode .mobile-expanded-meta span {
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
  }

  body.is-platform-mode .mobile-expanded-actions,
  body.is-platform-mode .mobile-expanded-controls {
    align-items: center;
    display: flex;
    justify-content: center;
  }

  body.is-platform-mode .mobile-expanded-actions {
    gap: 10px;
  }

  body.is-platform-mode .mobile-expanded-actions .player-icon-button {
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    color: #fff !important;
    display: inline-flex !important;
    height: 44px !important;
    width: 44px !important;
  }

  body.is-platform-mode .mobile-expanded-actions .player-icon-button.is-active,
  body.is-platform-mode .mobile-expanded-actions .player-icon-button[aria-pressed="true"] {
    color: #22c55e !important;
  }

  body.is-platform-mode .mobile-expanded-progress {
    display: grid;
    gap: 8px;
  }

  body.is-platform-mode .mobile-expanded-progress input {
    appearance: none;
    background: transparent;
    height: 22px;
    width: 100%;
  }

  body.is-platform-mode .mobile-expanded-progress input::-webkit-slider-runnable-track {
    background: rgba(255, 255, 255, .28);
    border-radius: 999px;
    height: 6px;
  }

  body.is-platform-mode .mobile-expanded-progress input::-webkit-slider-thumb {
    appearance: none;
    background: #fff;
    border-radius: 50%;
    height: 18px;
    margin-top: -6px;
    width: 18px;
  }

  body.is-platform-mode .mobile-expanded-progress div {
    color: rgba(255, 255, 255, .68);
    display: flex;
    font-size: 12px;
    justify-content: space-between;
  }

  body.is-platform-mode .mobile-expanded-controls {
    gap: 14px;
    padding-top: 2px;
  }

  body.is-platform-mode .mobile-expanded-controls .player-icon-button {
    background: transparent !important;
    border: 0 !important;
    color: rgba(255, 255, 255, .84) !important;
    display: inline-flex !important;
    height: 46px !important;
    width: 46px !important;
  }

  body.is-platform-mode .mobile-expanded-controls .player-icon-button[data-mobile-player-toggle] {
    background: #1da1f2 !important;
    box-shadow: 0 14px 34px rgba(29, 161, 242, .34) !important;
    color: #031019 !important;
    height: 70px !important;
    width: 70px !important;
  }

  body.is-platform-mode .mobile-expanded-controls .player-icon-button svg {
    height: 26px !important;
    width: 26px !important;
  }

  body.is-platform-mode .mobile-expanded-controls .player-icon-button[data-mobile-player-toggle] svg {
    height: 34px !important;
    width: 34px !important;
  }
}

/* Strict streaming polish: lighter typography and calmer play controls. */
body.is-platform-mode .streaming-page,
body.is-platform-mode .streaming-section,
body.is-platform-mode .public-artist-page,
body.is-platform-mode .public-project-page {
  font-weight: 400;
}

body.is-platform-mode .section-heading span,
body.is-platform-mode .platform-projects-section .public-project-card > span,
body.is-platform-mode .checkout-summary > span,
body.is-platform-mode .platform-account-card span,
body.is-platform-mode .public-artist-summary > span {
  font-weight: 600 !important;
}

body.is-platform-mode .section-heading h2,
body.is-platform-mode .platform-projects-section .public-project-card h3 a,
body.is-platform-mode .public-artist-summary h1,
body.is-platform-mode .mobile-expanded-meta strong,
body.is-platform-mode .player-meta a,
body.is-platform-mode .player-meta strong {
  font-weight: 600 !important;
}

body.is-platform-mode .audio-play-button,
body.is-platform-mode .compact-audio-play {
  align-items: center !important;
  background: rgba(255, 255, 255, .09) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, .92) !important;
  display: inline-flex !important;
  font-weight: 500 !important;
  height: 42px !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 !important;
  width: 42px !important;
}

body.is-platform-mode .audio-play-button svg,
body.is-platform-mode .compact-audio-play svg {
  fill: none;
  height: 20px !important;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85 !important;
  width: 20px !important;
}

body.is-platform-mode .audio-play-button:hover,
body.is-platform-mode .audio-play-button.is-active,
body.is-platform-mode .compact-audio-play:hover,
body.is-platform-mode .compact-audio-play.is-active {
  background: rgba(29, 161, 242, .92) !important;
  border-color: rgba(29, 161, 242, .92) !important;
  box-shadow: 0 10px 24px rgba(29, 161, 242, .22) !important;
  color: #031019 !important;
  transform: translateY(-1px);
}

body.is-platform-mode .player-controls .player-icon-button[data-player-toggle] {
  background: rgba(255, 255, 255, .96) !important;
  border: 0 !important;
  box-shadow: 0 8px 22px rgba(255, 255, 255, .12) !important;
  color: #050609 !important;
  height: 54px !important;
  width: 54px !important;
}

body.is-platform-mode .player-controls .player-icon-button[data-player-toggle] svg {
  height: 25px !important;
  stroke-width: 1.55 !important;
  width: 25px !important;
}

@media (max-width: 767px) {
  body.is-platform-mode .player-controls .player-icon-button[data-player-toggle] {
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 8px 22px rgba(255, 255, 255, .12) !important;
    color: #050609 !important;
    height: 42px !important;
    width: 42px !important;
  }

  body.is-platform-mode .player-controls .player-icon-button[data-player-toggle] svg {
    height: 21px !important;
    stroke-width: 1.55 !important;
    width: 21px !important;
  }

  body.is-platform-mode .mobile-expanded-controls .player-icon-button[data-mobile-player-toggle] {
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 10px 24px rgba(255, 255, 255, .12) !important;
    color: #050609 !important;
    height: 56px !important;
    width: 56px !important;
  }

  body.is-platform-mode .mobile-expanded-controls .player-icon-button[data-mobile-player-toggle] svg {
    height: 25px !important;
    stroke-width: 1.45 !important;
    width: 25px !important;
  }

  body.is-platform-mode .mobile-expanded-actions .player-icon-button,
  body.is-platform-mode .mobile-expanded-controls .player-icon-button:not([data-mobile-player-toggle]) {
    background: rgba(255, 255, 255, .06) !important;
    border: 0 !important;
    color: rgba(255, 255, 255, .76) !important;
  }
}

/* Mobile artists list: compact international streaming layout. */
@media (max-width: 767px) {
  body.is-platform-mode .artists-only-section {
    padding-top: 4px !important;
  }

  body.is-platform-mode .artists-only-section .artist-card-grid {
    gap: 10px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.is-platform-mode .artists-only-section .artist-list-card {
    background: rgba(255, 255, 255, .035) !important;
    border-color: rgba(255, 255, 255, .08) !important;
    border-radius: 16px !important;
    gap: 9px !important;
    min-height: 164px !important;
    padding: 14px 10px !important;
  }

  body.is-platform-mode .artists-only-section .artist-avatar-link,
  body.is-platform-mode .artists-only-section .artist-list-avatar {
    height: 82px !important;
    width: 82px !important;
  }

  body.is-platform-mode .artists-only-section .artist-list-card strong {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    margin-top: 2px !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.is-platform-mode .artists-only-section .artist-card-metrics {
    gap: 7px !important;
    margin-top: 0 !important;
  }

  body.is-platform-mode .artists-only-section .artist-card-metrics span {
    color: rgba(255, 255, 255, .72) !important;
    font-size: 11px !important;
    gap: 3px !important;
  }

  body.is-platform-mode .artists-only-section .artist-card-metrics svg {
    height: 14px !important;
    stroke-width: 1.8 !important;
    width: 14px !important;
  }

  body.is-platform-mode .artists-only-section .artist-card-metrics strong {
    font-size: 11px !important;
    font-weight: 500 !important;
  }
}

/* Mobile player final order: clean mini-player on home, no disabled action clutter. */
@media (max-width: 767px) {
  body.is-platform-mode .persistent-player:not(.is-mobile-expanded) {
    grid-template-columns: minmax(0, 1fr) 48px !important;
  }

  body.is-platform-mode .persistent-player:not(.is-mobile-expanded) .player-now-playing {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.is-platform-mode .persistent-player:not(.is-mobile-expanded) .player-center {
    display: contents !important;
  }

  body.is-platform-mode .persistent-player:not(.is-mobile-expanded) .player-controls {
    display: contents !important;
  }

  body.is-platform-mode .persistent-player:not(.is-mobile-expanded) .player-controls .player-icon-button {
    display: none !important;
  }

  body.is-platform-mode .persistent-player:not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-toggle] {
    align-items: center !important;
    display: inline-flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
  }

  body.is-platform-mode .persistent-player:not(.is-mobile-expanded) .player-right {
    display: none !important;
  }

  body.is-platform-mode .persistent-player:not(.is-mobile-expanded) .player-progress {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }
}

/* Final UX lock: the player stays absent when empty and compact when active on phones. */
.persistent-player[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded),
  .is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded),
  body.is-dashboard-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) {
    align-items: center !important;
    box-sizing: border-box !important;
    display: grid !important;
    gap: 8px 10px !important;
    grid-template-columns: minmax(0, 1fr) 46px !important;
    grid-template-rows: 52px 4px !important;
    left: 8px !important;
    max-width: none !important;
    min-height: 72px !important;
    overflow: hidden !important;
    padding: 8px 10px !important;
    right: 8px !important;
    transform: none !important;
    width: auto !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) {
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
  }

  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) {
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-now-playing,
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-now-playing {
    display: grid !important;
    gap: 10px !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-cover,
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-cover {
    border-radius: 10px !important;
    height: 46px !important;
    width: 46px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta,
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta {
    min-width: 0 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta a,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta strong,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta small,
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta a,
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta strong,
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta small {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta a,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta strong {
    font-size: 14px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta small {
    font-size: 12px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta small span {
    display: none !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-center,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls,
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-center,
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls {
    display: contents !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button,
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button {
    display: none !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-toggle],
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-toggle] {
    align-items: center !important;
    display: inline-flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    height: 42px !important;
    justify-content: center !important;
    justify-self: end !important;
    width: 42px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress,
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress {
    display: grid !important;
    gap: 0 !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    height: 4px !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress span {
    display: none !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress input {
    min-width: 0 !important;
    width: 100% !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-volume,
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right,
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-volume {
    display: none !important;
  }
}

/* Mobile public lock: keep header controls visible and content clear of the player. */
@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) {
    padding-bottom: 176px;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .site-header {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 100%;
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .brand {
    min-width: 0;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .brand strong,
  body:not(.is-dashboard-mode):not(.is-platform-mode) .brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .menu-toggle {
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
    margin-left: 0;
    max-width: none;
    min-width: 56px;
    overflow: visible;
    white-space: nowrap;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .page-root:not(.dashboard-page),
  body:not(.is-dashboard-mode):not(.is-platform-mode) .landing-page,
  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-project-page,
  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-artist-page {
    padding-bottom: 190px;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]):not(.is-mobile-expanded) {
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 8px;
    right: 8px;
    width: auto;
  }
}

/* Restore f251f95 mobile player priority on public pages as well as platform pages. */
@media (max-width: 767px) {
  .persistent-player:not([hidden]):not(.is-mobile-expanded) {
    align-items: center !important;
    background:
      linear-gradient(180deg, rgba(24, 28, 37, .98), rgba(11, 14, 21, .98)),
      rgba(11, 14, 21, .98) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 16px !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
    box-sizing: border-box !important;
    display: grid !important;
    gap: 8px 10px !important;
    grid-template-columns: minmax(0, 1fr) 42px 48px !important;
    grid-template-rows: 56px 4px !important;
    left: 8px !important;
    min-height: 72px !important;
    overflow: hidden !important;
    padding: 8px 10px !important;
    right: 8px !important;
    transform: none !important;
    width: auto !important;
    z-index: 93 !important;
  }

  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) {
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-now-playing {
    align-items: center !important;
    display: grid !important;
    gap: 10px !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    grid-template-columns: 50px minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-cover {
    border-radius: 10px !important;
    height: 50px !important;
    width: 50px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-cover img {
    border-radius: 10px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta {
    min-width: 0 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta a,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta strong {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta small {
    display: block !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta small a,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta small span {
    font-size: 12px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta small span {
    display: none !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-center,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls {
    display: contents !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button {
    display: none !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-toggle] {
    align-items: center !important;
    background: #1da1f2 !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 24px rgba(29, 161, 242, .32) !important;
    color: #031019 !important;
    display: inline-flex !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    height: 48px !important;
    justify-content: center !important;
    justify-self: end !important;
    width: 48px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-toggle] svg {
    height: 25px !important;
    width: 25px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress {
    display: grid !important;
    gap: 0 !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    grid-template-columns: 1fr !important;
    height: 4px !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress span {
    display: none !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress input {
    height: 4px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress input::-webkit-slider-runnable-track {
    height: 4px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress input::-webkit-slider-thumb {
    height: 12px !important;
    margin-top: -4px !important;
    width: 12px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right {
    display: flex !important;
    gap: 0 !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-content: center !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right .player-icon-button,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-volume {
    display: none !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right .player-icon-button[data-player-like] {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    color: rgba(255, 255, 255, .86) !important;
    display: inline-flex !important;
    height: 42px !important;
    justify-content: center !important;
    width: 42px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right .player-icon-button[data-player-like].is-active,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right .player-icon-button[data-player-like][aria-pressed="true"] {
    color: #22c55e !important;
  }

  .persistent-player.is-mobile-expanded {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    bottom: 0 !important;
    box-shadow: none !important;
    display: block !important;
    left: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    min-height: 100dvh !important;
    padding: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    z-index: 200 !important;
  }

  .persistent-player.is-mobile-expanded > .player-now-playing,
  .persistent-player.is-mobile-expanded > .player-center,
  .persistent-player.is-mobile-expanded > .player-right {
    display: none !important;
  }

  .mobile-expanded-player {
    align-content: stretch !important;
    background:
      linear-gradient(180deg, rgba(15, 18, 28, .72), rgba(5, 6, 9, .96) 42%, #050609 100%),
      #050609 !important;
    color: #fff !important;
    display: grid !important;
    gap: 18px !important;
    grid-template-rows: auto minmax(220px, 42vh) auto auto auto 1fr !important;
    inset: 0 !important;
    min-height: 100dvh !important;
    overflow: hidden auto !important;
    padding: 16px 18px calc(22px + env(safe-area-inset-bottom)) !important;
    position: fixed !important;
    z-index: 201 !important;
  }

  .mobile-expanded-player[hidden] {
    display: none !important;
  }

  .mobile-expanded-backdrop {
    filter: blur(28px) !important;
    inset: -30px !important;
    opacity: .32 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -1 !important;
  }

  .mobile-expanded-backdrop img,
  .mobile-expanded-backdrop .empty-media {
    height: 100% !important;
    object-fit: cover !important;
    width: 100% !important;
  }

  .mobile-expanded-head {
    align-items: center !important;
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
  }

  .mobile-expanded-head span {
    color: rgba(255, 255, 255, .82) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-align: center !important;
    text-transform: uppercase !important;
  }

  .mobile-expanded-close,
  .mobile-expanded-icon {
    align-items: center !important;
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 999px !important;
    color: #fff !important;
    display: inline-flex !important;
    height: 44px !important;
    justify-content: center !important;
    padding: 0 !important;
    width: 44px !important;
  }

  .mobile-expanded-close svg,
  .mobile-expanded-icon svg {
    height: 24px !important;
    stroke: currentColor !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    stroke-width: 2.2 !important;
    width: 24px !important;
  }

  .mobile-expanded-cover {
    align-self: center !important;
    aspect-ratio: 1 !important;
    border-radius: 24px !important;
    box-shadow: 0 28px 72px rgba(0, 0, 0, .54) !important;
    justify-self: center !important;
    max-height: 42vh !important;
    max-width: min(78vw, 360px) !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  .mobile-expanded-cover img,
  .mobile-expanded-cover .empty-media {
    height: 100% !important;
    object-fit: cover !important;
    width: 100% !important;
  }

  .mobile-expanded-meta {
    display: grid !important;
    gap: 6px !important;
    text-align: center !important;
  }

  .mobile-expanded-meta strong {
    font-size: clamp(24px, 7vw, 34px) !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
  }

  .mobile-expanded-meta span {
    color: rgba(255, 255, 255, .72) !important;
    font-size: 15px !important;
  }

  .mobile-expanded-actions,
  .mobile-expanded-controls {
    align-items: center !important;
    display: flex !important;
    justify-content: center !important;
  }

  .mobile-expanded-actions {
    gap: 10px !important;
  }

  .mobile-expanded-actions .player-icon-button {
    background: rgba(255, 255, 255, .06) !important;
    border: 0 !important;
    color: rgba(255, 255, 255, .76) !important;
    display: inline-flex !important;
    height: 44px !important;
    width: 44px !important;
  }

  .mobile-expanded-actions .player-icon-button.is-active,
  .mobile-expanded-actions .player-icon-button[aria-pressed="true"] {
    color: #22c55e !important;
  }

  .mobile-expanded-progress {
    display: grid !important;
    gap: 8px !important;
  }

  .mobile-expanded-progress input {
    appearance: none !important;
    background: transparent !important;
    height: 22px !important;
    width: 100% !important;
  }

  .mobile-expanded-progress input::-webkit-slider-runnable-track {
    background: rgba(255, 255, 255, .28) !important;
    border-radius: 999px !important;
    height: 6px !important;
  }

  .mobile-expanded-progress input::-webkit-slider-thumb {
    appearance: none !important;
    background: #fff !important;
    border-radius: 50% !important;
    height: 18px !important;
    margin-top: -6px !important;
    width: 18px !important;
  }

  .mobile-expanded-progress div {
    color: rgba(255, 255, 255, .68) !important;
    display: flex !important;
    font-size: 12px !important;
    justify-content: space-between !important;
  }

  .mobile-expanded-controls {
    gap: 14px !important;
    padding-top: 2px !important;
  }

  .mobile-expanded-controls .player-icon-button {
    background: rgba(255, 255, 255, .06) !important;
    border: 0 !important;
    color: rgba(255, 255, 255, .76) !important;
    display: inline-flex !important;
    height: 46px !important;
    width: 46px !important;
  }

  .mobile-expanded-controls .player-icon-button[data-mobile-player-toggle] {
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 10px 24px rgba(255, 255, 255, .12) !important;
    color: #050609 !important;
    height: 56px !important;
    width: 56px !important;
  }

  .mobile-expanded-controls .player-icon-button svg {
    height: 26px !important;
    width: 26px !important;
  }

  .mobile-expanded-controls .player-icon-button[data-mobile-player-toggle] svg {
    height: 25px !important;
    stroke-width: 1.45 !important;
    width: 25px !important;
  }
}

.public-mobile-nav {
  display: none;
}

@media (max-width: 767px) {
  body:not(.is-dashboard-mode):not(.is-platform-mode) {
    padding-bottom: 248px;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .page-root:not(.dashboard-page),
  body:not(.is-dashboard-mode):not(.is-platform-mode) .landing-page,
  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-project-page,
  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-artist-page {
    padding-bottom: 252px;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-mobile-nav {
    align-items: center;
    background: rgba(8, 11, 17, .98);
    border-top: 1px solid rgba(255, 255, 255, .1);
    bottom: 0;
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    left: 0;
    min-height: 64px;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    position: fixed;
    width: 100%;
    z-index: 94;
  }

  body.has-mobile-expanded-player .public-mobile-nav {
    display: none !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-mobile-nav a {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, .68);
    display: inline-flex;
    height: 46px;
    justify-content: center;
    justify-self: center;
    min-width: 0;
    padding: 0;
    text-decoration: none;
    width: 46px;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-mobile-nav a svg {
    fill: none;
    height: 23px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 23px;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-mobile-nav a.is-active,
  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-mobile-nav a:hover {
    background: rgba(29, 161, 242, .18);
    color: #fff;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]):not(.is-mobile-expanded) {
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  }
}

/* Portrait tablet follows the phone player rules; landscape keeps the desktop player. */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.has-mobile-expanded-player {
    overflow: hidden !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode),
  body.is-platform-mode {
    padding-bottom: 248px;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .page-root:not(.dashboard-page),
  body:not(.is-dashboard-mode):not(.is-platform-mode) .landing-page,
  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-project-page,
  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-artist-page,
  body.is-platform-mode .platform-content {
    padding-bottom: 252px;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-mobile-nav,
  body.is-platform-mode .platform-mobile-nav {
    align-items: center !important;
    background: rgba(8, 11, 17, .98) !important;
    border-top: 1px solid rgba(255, 255, 255, .1) !important;
    bottom: 0 !important;
    display: grid !important;
    gap: 4px !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    left: 0 !important;
    min-height: 64px !important;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom)) !important;
    position: fixed !important;
    width: 100% !important;
    z-index: 94 !important;
  }

  body.has-mobile-expanded-player .public-mobile-nav,
  body.is-platform-mode.has-mobile-expanded-player .platform-mobile-nav {
    display: none !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-mobile-nav a,
  body.is-platform-mode .platform-mobile-nav a {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: rgba(255, 255, 255, .68) !important;
    display: inline-flex !important;
    height: 46px !important;
    justify-content: center !important;
    justify-self: center !important;
    min-width: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    width: 46px !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-mobile-nav a svg,
  body.is-platform-mode .platform-mobile-nav a svg {
    fill: none !important;
    height: 23px !important;
    stroke: currentColor !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    stroke-width: 2 !important;
    width: 23px !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-mobile-nav a.is-active,
  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-mobile-nav a:hover,
  body.is-platform-mode .platform-mobile-nav a.is-active,
  body.is-platform-mode .platform-mobile-nav a:hover {
    background: rgba(29, 161, 242, .18) !important;
    color: #fff !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded),
  .is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded),
  body.is-dashboard-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) {
    align-items: center !important;
    background:
      linear-gradient(180deg, rgba(24, 28, 37, .98), rgba(11, 14, 21, .98)),
      rgba(11, 14, 21, .98) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 16px !important;
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
    box-sizing: border-box !important;
    display: grid !important;
    gap: 8px 10px !important;
    grid-template-columns: minmax(0, 1fr) 42px 48px !important;
    grid-template-rows: 56px 4px !important;
    left: 12px !important;
    max-width: none !important;
    min-height: 72px !important;
    overflow: hidden !important;
    padding: 8px 10px !important;
    right: 12px !important;
    transform: none !important;
    width: auto !important;
    z-index: 93 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-now-playing {
    align-items: center !important;
    display: grid !important;
    gap: 10px !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    grid-template-columns: 50px minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-cover {
    border-radius: 10px !important;
    height: 50px !important;
    width: 50px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-cover img {
    border-radius: 10px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta {
    min-width: 0 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta a,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta strong,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta small {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta a,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta strong {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta small {
    display: block !important;
    line-height: 1.2 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta small a,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta small span {
    font-size: 12px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-meta small span {
    display: none !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-center,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls {
    display: contents !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button {
    display: none !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-toggle] {
    align-items: center !important;
    background: #1da1f2 !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 24px rgba(29, 161, 242, .32) !important;
    color: #031019 !important;
    display: inline-flex !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    height: 48px !important;
    justify-content: center !important;
    justify-self: end !important;
    width: 48px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-toggle] svg {
    height: 25px !important;
    width: 25px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress {
    display: grid !important;
    gap: 0 !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    grid-template-columns: 1fr !important;
    height: 4px !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress span {
    display: none !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress input {
    height: 4px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right {
    display: flex !important;
    gap: 0 !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-content: center !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right .player-icon-button,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-volume {
    display: none !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right .player-icon-button[data-player-like] {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    color: rgba(255, 255, 255, .86) !important;
    display: inline-flex !important;
    height: 42px !important;
    justify-content: center !important;
    width: 42px !important;
  }

  .persistent-player.is-mobile-expanded {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    bottom: 0 !important;
    box-shadow: none !important;
    display: block !important;
    left: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    min-height: 100dvh !important;
    padding: 0 !important;
    position: fixed !important;
    right: 0 !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
    z-index: 200 !important;
  }

  .persistent-player.is-mobile-expanded > .player-now-playing,
  .persistent-player.is-mobile-expanded > .player-center,
  .persistent-player.is-mobile-expanded > .player-right {
    display: none !important;
  }

  .mobile-expanded-player {
    align-content: stretch !important;
    background:
      linear-gradient(180deg, rgba(15, 18, 28, .72), rgba(5, 6, 9, .96) 42%, #050609 100%),
      #050609 !important;
    color: #fff !important;
    display: grid !important;
    gap: 18px !important;
    grid-template-rows: auto minmax(260px, 42vh) auto auto auto 1fr !important;
    inset: 0 !important;
    min-height: 100dvh !important;
    overflow: hidden auto !important;
    padding: 18px 22px calc(24px + env(safe-area-inset-bottom)) !important;
    position: fixed !important;
    z-index: 201 !important;
  }

  .mobile-expanded-player[hidden] {
    display: none !important;
  }

  .mobile-expanded-backdrop {
    filter: blur(28px) !important;
    inset: -30px !important;
    opacity: .32 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -1 !important;
  }

  .mobile-expanded-backdrop img,
  .mobile-expanded-backdrop .empty-media {
    height: 100% !important;
    object-fit: cover !important;
    width: 100% !important;
  }

  .mobile-expanded-head {
    align-items: center !important;
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
  }

  .mobile-expanded-head span {
    color: rgba(255, 255, 255, .82) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-align: center !important;
    text-transform: uppercase !important;
  }

  .mobile-expanded-close,
  .mobile-expanded-icon {
    align-items: center !important;
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 999px !important;
    color: #fff !important;
    display: inline-flex !important;
    height: 44px !important;
    justify-content: center !important;
    padding: 0 !important;
    width: 44px !important;
  }

  .mobile-expanded-cover {
    align-self: center !important;
    aspect-ratio: 1 !important;
    border-radius: 24px !important;
    box-shadow: 0 28px 72px rgba(0, 0, 0, .54) !important;
    justify-self: center !important;
    max-height: 42vh !important;
    max-width: min(72vw, 420px) !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  .mobile-expanded-cover img,
  .mobile-expanded-cover .empty-media {
    height: 100% !important;
    object-fit: cover !important;
    width: 100% !important;
  }

  .mobile-expanded-meta {
    display: grid !important;
    gap: 6px !important;
    text-align: center !important;
  }

  .mobile-expanded-meta strong {
    font-size: clamp(26px, 6vw, 38px) !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
  }

  .mobile-expanded-meta span {
    color: rgba(255, 255, 255, .72) !important;
    font-size: 15px !important;
  }

  .mobile-expanded-actions,
  .mobile-expanded-controls {
    align-items: center !important;
    display: flex !important;
    justify-content: center !important;
  }

  .mobile-expanded-actions {
    gap: 10px !important;
  }

  .mobile-expanded-actions .player-icon-button,
  .mobile-expanded-controls .player-icon-button {
    background: rgba(255, 255, 255, .06) !important;
    border: 0 !important;
    color: rgba(255, 255, 255, .76) !important;
    display: inline-flex !important;
    height: 46px !important;
    width: 46px !important;
  }

  .mobile-expanded-actions .player-icon-button.is-active,
  .mobile-expanded-actions .player-icon-button[aria-pressed="true"] {
    color: #22c55e !important;
  }

  .mobile-expanded-progress {
    display: grid !important;
    gap: 8px !important;
  }

  .mobile-expanded-progress input {
    appearance: none !important;
    background: transparent !important;
    height: 22px !important;
    width: 100% !important;
  }

  .mobile-expanded-progress input::-webkit-slider-runnable-track {
    background: rgba(255, 255, 255, .28) !important;
    border-radius: 999px !important;
    height: 6px !important;
  }

  .mobile-expanded-progress input::-webkit-slider-thumb {
    appearance: none !important;
    background: #fff !important;
    border-radius: 50% !important;
    height: 18px !important;
    margin-top: -6px !important;
    width: 18px !important;
  }

  .mobile-expanded-progress div {
    color: rgba(255, 255, 255, .68) !important;
    display: flex !important;
    font-size: 12px !important;
    justify-content: space-between !important;
  }

  .mobile-expanded-controls {
    gap: 14px !important;
    padding-top: 2px !important;
  }

  .mobile-expanded-controls .player-icon-button[data-mobile-player-toggle] {
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 10px 24px rgba(255, 255, 255, .12) !important;
    color: #050609 !important;
    height: 56px !important;
    width: 56px !important;
  }

  .mobile-expanded-controls .player-icon-button svg {
    height: 26px !important;
    width: 26px !important;
  }

  .mobile-expanded-controls .player-icon-button[data-mobile-player-toggle] svg {
    height: 25px !important;
    stroke-width: 1.45 !important;
    width: 25px !important;
  }
}

body.has-mobile-expanded-player:not(.is-dashboard-mode):not(.is-platform-mode) .public-mobile-nav,
body.is-platform-mode.has-mobile-expanded-player .platform-mobile-nav {
  display: none !important;
}

/* Landscape display uses the desktop player on every device. */
@media (max-width: 1023px) and (orientation: landscape) {
  body.has-mobile-expanded-player {
    overflow: auto !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode),
  body.is-platform-mode {
    padding-bottom: 0 !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .public-mobile-nav,
  body.is-platform-mode .platform-mobile-nav {
    display: none !important;
  }

  .mobile-expanded-player {
    display: none !important;
  }

  .persistent-player:not([hidden]),
  .persistent-player.is-mobile-expanded:not([hidden]),
  .is-platform-mode .persistent-player:not([hidden]),
  body.is-dashboard-mode .persistent-player:not([hidden]) {
    align-items: center !important;
    background: rgba(7, 9, 14, .96) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 8px 8px 0 0 !important;
    bottom: 0 !important;
    box-shadow: 0 -18px 50px rgba(0, 0, 0, .38) !important;
    display: grid !important;
    gap: 10px !important;
    grid-template-columns: 52px minmax(120px, 1fr) auto minmax(120px, .8fr) minmax(150px, .9fr) auto !important;
    grid-template-rows: auto !important;
    left: 50% !important;
    margin: 0 !important;
    max-width: 1180px !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 10px 14px !important;
    position: fixed !important;
    right: auto !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 28px) !important;
    z-index: 25 !important;
  }

  .is-platform-mode .persistent-player:not([hidden]) {
    left: 50% !important;
    width: calc(100% - 28px) !important;
  }

  .persistent-player:not([hidden]) > .player-now-playing,
  .persistent-player:not([hidden]) > .player-center,
  .persistent-player:not([hidden]) > .player-right {
    display: grid !important;
  }

  .persistent-player:not([hidden]) .player-now-playing {
    align-items: center !important;
    gap: 10px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  .persistent-player:not([hidden]) .player-cover {
    border-radius: 8px !important;
    height: auto !important;
    width: 52px !important;
  }

  .persistent-player:not([hidden]) .player-cover img {
    border-radius: 8px !important;
  }

  .persistent-player:not([hidden]) .player-meta {
    min-width: 0 !important;
  }

  .persistent-player:not([hidden]) .player-meta a,
  .persistent-player:not([hidden]) .player-meta strong,
  .persistent-player:not([hidden]) .player-meta small {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .persistent-player:not([hidden]) .player-meta a,
  .persistent-player:not([hidden]) .player-meta strong {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .persistent-player:not([hidden]) .player-meta small {
    display: block !important;
  }

  .persistent-player:not([hidden]) .player-meta small span {
    display: inline !important;
  }

  .persistent-player:not([hidden]) .player-center {
    display: grid !important;
    gap: 6px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: auto !important;
  }

  .persistent-player:not([hidden]) .player-controls {
    align-items: center !important;
    display: flex !important;
    gap: 8px !important;
    justify-content: center !important;
  }

  .persistent-player:not([hidden]) .player-controls .player-icon-button,
  .persistent-player:not([hidden]) .player-right .player-icon-button {
    align-items: center !important;
    background: rgba(255, 255, 255, .07) !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    color: #fff !important;
    display: inline-flex !important;
    height: 42px !important;
    justify-content: center !important;
    width: 42px !important;
  }

  .persistent-player:not([hidden]) .player-controls .player-icon-button[data-player-toggle] {
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(255, 255, 255, .14) !important;
    color: #050609 !important;
    height: 52px !important;
    width: 52px !important;
  }

  .persistent-player:not([hidden]) .player-progress {
    display: grid !important;
    gap: 5px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    grid-template-columns: auto !important;
    height: auto !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .persistent-player:not([hidden]) .player-progress span {
    display: inline !important;
  }

  .persistent-player:not([hidden]) .player-progress input {
    height: auto !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .persistent-player:not([hidden]) .player-right {
    align-items: center !important;
    display: flex !important;
    gap: 8px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    justify-content: flex-end !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .persistent-player:not([hidden]) .player-volume {
    align-items: center !important;
    display: grid !important;
  }
}

/* Hard lock: a hidden player must not leave a ghost surface, glow, or tap layer. */
.persistent-player[hidden],
body.is-platform-mode .persistent-player[hidden],
body.is-dashboard-mode .persistent-player[hidden],
body.has-mobile-expanded-player .persistent-player[hidden] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
  transform: none !important;
  visibility: hidden !important;
  width: 0 !important;
}

/* Final aspect-ratio lock: landscape always uses the desktop player surface. */
@media (max-width: 1023px) and (orientation: landscape) {
  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]),
  body.is-platform-mode .persistent-player:not([hidden]),
  body.is-dashboard-mode .persistent-player:not([hidden]),
  .persistent-player:not([hidden]) {
    align-items: center !important;
    background:
      linear-gradient(180deg, rgba(31, 35, 46, .98), rgba(10, 12, 18, .98)),
      rgba(10, 12, 18, .98) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 18px 18px 0 0 !important;
    bottom: 0 !important;
    box-shadow: 0 -18px 50px rgba(0, 0, 0, .38) !important;
    display: grid !important;
    gap: 18px !important;
    grid-template-columns: minmax(280px, .95fr) minmax(440px, 1.2fr) minmax(320px, .9fr) !important;
    grid-template-rows: auto !important;
    left: 50% !important;
    margin: 0 !important;
    max-width: none !important;
    min-height: 104px !important;
    overflow: visible !important;
    padding: 14px 24px !important;
    position: fixed !important;
    right: auto !important;
    top: auto !important;
    transform: translateX(-50%) scale(.7) !important;
    transform-origin: bottom center !important;
    width: 1180px !important;
    z-index: 25 !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) > .player-now-playing,
  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) > .player-center,
  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) > .player-right,
  .persistent-player:not([hidden]) > .player-now-playing,
  .persistent-player:not([hidden]) > .player-center,
  .persistent-player:not([hidden]) > .player-right {
    display: grid !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) .player-now-playing,
  .persistent-player:not([hidden]) .player-now-playing {
    align-items: center !important;
    gap: 14px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    grid-template-columns: 74px minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) .player-cover,
  .persistent-player:not([hidden]) .player-cover {
    border-radius: 12px !important;
    height: 74px !important;
    width: 74px !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) .player-center,
  .persistent-player:not([hidden]) .player-center {
    display: grid !important;
    gap: 12px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: auto !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) .player-controls,
  .persistent-player:not([hidden]) .player-controls {
    align-items: center !important;
    display: flex !important;
    gap: 14px !important;
    justify-content: center !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) .player-controls .player-icon-button,
  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) .player-right .player-icon-button,
  .persistent-player:not([hidden]) .player-controls .player-icon-button,
  .persistent-player:not([hidden]) .player-right .player-icon-button {
    display: inline-flex !important;
    height: 44px !important;
    width: 44px !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) .player-controls .player-icon-button[data-player-toggle],
  .persistent-player:not([hidden]) .player-controls .player-icon-button[data-player-toggle] {
    height: 72px !important;
    width: 72px !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) .player-progress,
  .persistent-player:not([hidden]) .player-progress {
    display: grid !important;
    gap: 12px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    grid-template-columns: 42px minmax(180px, 1fr) 42px !important;
    height: auto !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) .player-progress span,
  .persistent-player:not([hidden]) .player-progress span {
    display: inline !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) .player-right,
  .persistent-player:not([hidden]) .player-right {
    align-items: center !important;
    display: flex !important;
    gap: 10px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    justify-content: flex-end !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) .player-volume,
  .persistent-player:not([hidden]) .player-volume {
    display: flex !important;
    min-width: 142px !important;
    padding: 8px 12px !important;
  }

  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]) .player-volume input,
  .persistent-player:not([hidden]) .player-volume input {
    min-width: 94px !important;
    width: 94px !important;
  }
}

@media (max-width: 720px) and (orientation: landscape) {
  .persistent-player:not([hidden]),
  .persistent-player:not([hidden]):not(.is-mobile-expanded),
  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]),
  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]):not(.is-mobile-expanded),
  body.is-platform-mode .persistent-player:not([hidden]),
  body.is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded),
  body.is-dashboard-mode .persistent-player:not([hidden]) {
    bottom: 0 !important;
    transform: translateX(-50%) scale(.55) !important;
  }
}

@media (min-width: 721px) and (max-width: 900px) and (orientation: landscape) {
  .persistent-player:not([hidden]),
  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]),
  body.is-platform-mode .persistent-player:not([hidden]),
  body.is-dashboard-mode .persistent-player:not([hidden]) {
    transform: translateX(-50%) scale(.7) !important;
  }
}

@media (min-width: 901px) and (max-width: 1023px) and (orientation: landscape) {
  .persistent-player:not([hidden]),
  body:not(.is-dashboard-mode):not(.is-platform-mode) .persistent-player:not([hidden]),
  body.is-platform-mode .persistent-player:not([hidden]),
  body.is-dashboard-mode .persistent-player:not([hidden]) {
    transform: translateX(-50%) scale(.84) !important;
  }
}

/* Phone-format mini player only: transport order stays compact without touching the expanded player. */
@media (max-width: 1023px) and (orientation: portrait) {
  .persistent-player:not([hidden]):not(.is-mobile-expanded),
  .is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded),
  body.is-dashboard-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) {
    display: grid !important;
    gap: 8px 10px !important;
    grid-template-columns: repeat(3, 44px) !important;
    grid-template-rows: 52px 46px 5px !important;
    justify-content: center !important;
    min-height: 127px !important;
    overflow: hidden !important;
    padding: 10px 12px !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-now-playing {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    justify-self: stretch !important;
    width: 100% !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-center,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right {
    display: contents !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right .player-icon-button,
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-volume {
    display: none !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-repeat],
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right .player-icon-button[data-player-like] {
    display: none !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-prev],
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-toggle],
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-next] {
    align-items: center !important;
    display: inline-flex !important;
    grid-row: 2 !important;
    justify-content: center !important;
    justify-self: center !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-prev] {
    grid-column: 1 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-toggle] {
    grid-column: 2 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-next] {
    grid-column: 3 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress {
    display: grid !important;
    gap: 0 !important;
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    height: 5px !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress input {
    height: 5px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-progress span {
    display: none !important;
  }
}

@media (min-width: 390px) and (max-width: 1023px) and (orientation: portrait) {
  .persistent-player:not([hidden]):not(.is-mobile-expanded),
  .is-platform-mode .persistent-player:not([hidden]):not(.is-mobile-expanded),
  body.is-dashboard-mode .persistent-player:not([hidden]):not(.is-mobile-expanded) {
    grid-template-columns: repeat(5, 44px) !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-repeat],
  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right .player-icon-button[data-player-like] {
    align-items: center !important;
    display: inline-flex !important;
    grid-row: 2 !important;
    justify-content: center !important;
    justify-self: center !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-repeat] {
    grid-column: 1 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-prev] {
    grid-column: 2 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-toggle] {
    grid-column: 3 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-controls .player-icon-button[data-player-next] {
    grid-column: 4 !important;
  }

  .persistent-player:not([hidden]):not(.is-mobile-expanded) .player-right .player-icon-button[data-player-like] {
    grid-column: 5 !important;
  }
}
