:root {
  --bg: #0b0a0f;
  --panel: #121117;
  --panel-hover: #17151d;
  --text: #f3f1f5;
  --muted: #aaa5b0;
  --line: #292630;
  --purple: #a58bdc;
  --purple-bright: #c4b0ee;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }

.site-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: #0b0a0f;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand-mark { display: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 24px 0 21px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); border-bottom-color: var(--purple); }
.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--text);
  padding: 6px 9px;
  font-size: 18px;
}

main { min-height: calc(100vh - 140px); }
.channel-shell { max-width: var(--max); margin: 0 auto; padding: 32px 24px 8px; }
.channel-banner {
  position: relative;
  width: 100vw;
  height: clamp(230px, 18vw, 300px);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #111016;
  isolation: isolate;
}
.channel-banner::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: 0;
  background:
    linear-gradient(to right, rgba(11,10,15,.35), transparent 22%, transparent 78%, rgba(11,10,15,.35)),
    url("../images/music-miner-banner-hq.webp") center / cover no-repeat;
  filter: blur(20px);
  transform: scale(1.06);
  opacity: .9;
}
.channel-banner img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(1180px, 100%);
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.channel-profile {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 8px 28px;
  border-bottom: 1px solid var(--line);
}
.avatar-wrap {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid #3a3543;
  background: #17141d;
}
.profile-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.channel-copy { flex: 1; min-width: 0; }
.profile-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.channel-copy h1,
.channel-copy h2 {
  margin: 0 0 4px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.handle { margin: 0; color: #c8c2cc; font-size: 14px; font-weight: 600; }
.channel-tagline { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.social-text-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  color: #77717e;
  font-size: 13px;
}
.social-text-links a { color: var(--purple-bright); }
.social-text-links a:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 8px 15px;
  border: 1px solid #393541;
  border-radius: 6px;
  background: #15131a;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.button:hover { background: #1a171f; border-color: #4b4555; }
.button.youtube { background: #f0f0f0; border-color: #f0f0f0; color: #111; }
.button.youtube:hover { background: #dadada; border-color: #dadada; }
.button.primary { background: #7258a6; border-color: #7258a6; color: white; }
.button.secondary,
.button.ghost { background: #15131a; }
.button.disabled { opacity: .45; cursor: not-allowed; }

.section { max-width: var(--max); margin: 0 auto; padding: 50px 24px; }
.home-section { padding-top: 38px; }
.section-heading { margin-bottom: 20px; }
.section-heading h2,
.info-block h2,
.latest-copy h2,
.content-panel h2,
.feature-panel h2 {
  margin: 0 0 9px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-heading p,
.content-panel p,
.track-info p,
.page-hero p,
.latest-copy p,
.feature-panel p,
.info-block > p { color: var(--muted); }
.eyebrow {
  margin: 0 0 9px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
}

.home-links { border-top: 1px solid var(--line); }
.home-link {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 23px 4px;
  border-bottom: 1px solid var(--line);
}
.home-link:hover { background: #0f0e14; }
.home-link-index { color: #77717e; font-size: 12px; font-weight: 700; }
.home-link h3 { margin: 0 0 4px; font-size: 21px; letter-spacing: -.025em; }
.home-link p { margin: 0; color: var(--muted); font-size: 14px; }
.home-link-arrow { color: #91899a; font-size: 18px; }

.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 55px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.info-block h2 { font-size: 32px; }
.info-block > p { margin: 0; line-height: 1.75; }
.latest-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 55px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.latest-copy { max-width: 700px; }
.text-link { color: var(--purple-bright); font-size: 14px; font-weight: 700; white-space: nowrap; }

.page-hero { max-width: var(--max); margin: auto; padding: 72px 24px 26px; }
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.page-hero h1 span,
.error-page h1 span { color: var(--purple); }
.page-hero p { max-width: 720px; margin: 0; font-size: 17px; line-height: 1.7; }
.narrow { max-width: 860px; }

.content-panel,
.track-card,
.social-link,
.feature-panel,
.release-section,
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: none;
}
.content-panel { padding: 30px; border-radius: 8px; }
.content-panel p { line-height: 1.75; }

.music-grid { display: grid; gap: 16px; }
.track-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  border-radius: 8px;
}
.track-art {
  min-height: 220px;
  display: grid;
  place-items: center;
  background: #17141d;
}
.placeholder-art { font-size: 24px; font-weight: 800; color: #aaa1b9; }
.track-info { padding: 28px; }
.track-info h2 { margin: 4px 0 8px; font-size: 26px; }
.track-info p { line-height: 1.7; }
.track-type { color: var(--purple) !important; font-size: 10px !important; font-weight: 800; letter-spacing: .14em; }
.track-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 20px; }

.link-stack { display: grid; gap: 9px; }
.social-link {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 7px;
}
.social-link:hover:not(.inactive) { background: var(--panel-hover); border-color: #3d3846; }
.social-link.inactive { opacity: .5; }
.social-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #332e3b;
  border-radius: 5px;
  color: var(--purple-bright);
  font-weight: 800;
}
.social-link strong,
.social-link small { display: block; }
.social-link small { margin-top: 2px; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 22px; border-radius: 7px; }
.card:hover { border-color: #3b3644; }
.album-orb { margin-bottom: 26px; font-size: 22px; }
.card-copy { padding: 0; }
.mini-label { color: #9f92ae; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.card h3 { margin: 7px 0 9px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); line-height: 1.65; }
.release-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  margin-bottom: 60px;
  border-radius: 8px;
}
.release-art { height: 180px; display: grid; place-items: center; background: #17141d; }
.cassette { color: #aaa1b9; font-size: 28px; }
.feature-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
  margin-bottom: 70px;
  padding: 25px;
  border-radius: 8px;
}

footer {
  max-width: var(--max);
  margin: auto;
  padding: 23px 24px 38px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #7f7985;
  font-size: 12px;
}
.footer-links { display: flex; gap: 18px; }
footer a:hover { color: var(--purple-bright); }

.error-page { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 30px; }
.error-page h1 { font-size: clamp(40px, 7vw, 70px); }
.error-page .button { margin: 20px auto 0; }

@media (max-width: 800px) {
  .site-header { min-height: 62px; flex-wrap: wrap; padding: 11px 20px; }
  .menu-button { display: block; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 10px 0; border-bottom: 0; }

  .channel-shell { padding-top: 20px; }
  .channel-banner { height: clamp(170px, 34vw, 220px); }
  .channel-banner img {
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  }
  .channel-profile { align-items: flex-start; padding-left: 0; padding-right: 0; }
  .avatar-wrap { width: 82px; height: 82px; flex-basis: 82px; }
  .profile-heading { display: block; }
  .channel-copy h1, .channel-copy h2 { font-size: 26px; }
  .profile-heading .button { margin-top: 13px; }
  .channel-tagline { font-size: 14px; }

  .home-link { grid-template-columns: 35px 1fr auto; gap: 12px; }
  .home-link h3 { font-size: 19px; }
  .home-link p { font-size: 13px; }
  .info-block { grid-template-columns: 1fr; gap: 12px; }
  .latest-block { display: block; }
  .text-link { display: inline-block; margin-top: 22px; }
  .track-card, .release-section { grid-template-columns: 1fr; }
  .track-art { min-height: 180px; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-panel { flex-direction: column; align-items: flex-start; }
  footer { flex-direction: column; }
}

/* MUSIC_LIBRARY_V1 */
.music-library-section { padding-top: 18px; }
.library-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.library-search { width: min(520px, 100%); }
.library-search label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.library-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #38333f;
  border-radius: 6px;
  outline: none;
  background: #111016;
  color: var(--text);
  font: inherit;
}
.library-search input:focus { border-color: #75658f; }
.library-search input::placeholder { color: #6f6975; }
.library-count {
  padding-bottom: 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.genre-filters {
  display: flex;
  gap: 7px;
  padding: 18px 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.genre-filter {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid #34303a;
  border-radius: 5px;
  background: transparent;
  color: #aaa5b0;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.genre-filter:hover { color: var(--text); border-color: #4b4555; }
.genre-filter.active {
  background: #211b2b;
  border-color: #65537e;
  color: #d7c8f2;
}
.music-library {
  border-top: 1px solid var(--line);
}
.music-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  min-height: 76px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.music-row:hover { background: #0f0e14; }
.track-play {
  width: 36px;
  height: 36px;
  border: 1px solid #3c3547;
  border-radius: 50%;
  background: #17131e;
  color: var(--purple-bright);
  font-size: 14px;
  cursor: pointer;
}
.track-play:hover { border-color: #6c5a82; background: #1c1725; }
.music-row-main { min-width: 0; }
.music-row-main h3 {
  margin: 0 0 6px;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.music-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.genre-tag {
  color: #8d8694;
  font-size: 11px;
}
.genre-tag + .genre-tag::before {
  content: "•";
  margin-right: 6px;
  color: #57515d;
}
.track-download {
  padding: 8px 10px;
  border: 1px solid #393541;
  border-radius: 5px;
  color: #c9b9e8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.track-download:hover { background: #18151d; border-color: #554b62; }
.library-loading { padding: 28px 4px; color: var(--muted); }
.library-empty {
  padding: 42px 4px;
  text-align: center;
}
.library-empty strong { display: block; margin-bottom: 5px; }
.library-empty p { margin: 0; color: var(--muted); }
.library-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 22px;
}
.music-use-note { padding-top: 10px; padding-bottom: 70px; }
.site-player {
  position: fixed;
  right: 24px;
  bottom: 20px;
  left: 24px;
  z-index: 40;
  max-width: 760px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(280px, 440px);
  align-items: center;
  gap: 18px;
  padding: 13px 15px;
  border: 1px solid #403948;
  border-radius: 8px;
  background: #121017;
  box-shadow: 0 14px 38px rgba(0,0,0,.42);
}
.site-player[hidden] { display: none; }
.player-copy { min-width: 0; }
.player-copy span {
  display: block;
  margin-bottom: 3px;
  color: var(--purple);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}
.player-copy strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-player audio { width: 100%; height: 38px; }
body.has-music-player { padding-bottom: 88px; }

@media (max-width: 700px) {
  .library-toolbar { display: block; }
  .library-count { padding: 10px 0 0; }
  .music-row { grid-template-columns: 38px minmax(0, 1fr); }
  .track-download {
    grid-column: 2;
    justify-self: start;
    margin-top: -5px;
  }
  .site-player {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  body.has-music-player { padding-bottom: 132px; }
}


/* PLAYLISTS_V1 */
.playlist-section { padding-top: 24px; padding-bottom: 20px; }
.playlist-section .section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.all-music-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 14px;
  padding: 24px;
  border: 1px solid #514462;
  border-radius: 8px;
  background: #15111c;
}
.all-music-card h3,
.playlist-card h3 {
  margin: 5px 0 0;
  letter-spacing: -.025em;
}
.all-music-card h3 { font-size: 26px; }
.all-music-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.playlist-kicker {
  color: var(--purple);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.playlist-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 100px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}
.playlist-card:hover { border-color: #3f3948; }
.playlist-card h3 { font-size: 18px; }
.playlist-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}
.playlist-card .button { min-height: 35px; padding: 7px 10px; font-size: 11px; }
.playlist-download-pending { white-space: nowrap; }
@media (max-width: 850px) {
  .all-music-card { align-items: flex-start; flex-direction: column; }
  .all-music-card .playlist-card-actions { justify-content: flex-start; }
  .playlist-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .playlist-card { align-items: flex-start; flex-direction: column; }
  .playlist-card-actions { justify-content: flex-start; }
}


/* SUPPORTER_ACCESS_V1 */
.supporter-hero { padding-bottom: 18px; }
.supporter-panel { margin-bottom: 40px; }
.supporter-small {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #77717e !important;
  font-size: 12px;
}

/* ACCESS_TIERS_V1 */
.access-tier-section {
  padding-top: 12px;
  padding-bottom: 12px;
}
.access-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, .9fr);
  gap: 10px;
}
.access-tier-card,
.access-session-card {
  min-height: 122px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}
.access-tier-card strong {
  display: block;
  margin: 6px 0 5px;
  font-size: 15px;
}
.access-tier-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.access-session-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  border-color: #4a4056;
}
.access-session-card span {
  color: #c8c2cc;
  font-size: 12px;
  line-height: 1.55;
}
.access-session-card .button {
  align-self: flex-start;
}
.track-play.locked {
  border-color: #332f39;
  background: #111016;
  color: #817986;
  cursor: pointer;
  font-size: 13px;
}
.track-play.locked:hover {
  border-color: #51475d;
  background: #17131d;
}
.playlist-download {
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .access-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .access-tier-grid {
    grid-template-columns: 1fr;
  }
  .access-tier-card,
  .access-session-card {
    min-height: auto;
  }
}


/* FREE_PREVIEWS_AND_PLAYER_V1 */
.preview-tag {
  color: #9a88b1;
  font-size: 10px;
  font-weight: 700;
}
.preview-tag::before {
  content: "•";
  margin-right: 6px;
  color: #57515d;
}
.track-play.preview {
  border-color: #4a4056;
  background: #15121b;
  color: #c8b6eb;
}
.track-play.preview:hover {
  border-color: #725f8a;
  background: #1a1522;
}

.stream-page {
  min-height: calc(100vh - 68px);
  background: #0a090d;
}
.stream-gate {
  max-width: 760px;
  margin: 0 auto;
  padding: 110px 24px;
}
.stream-gate h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -.04em;
}
.stream-gate > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}
.stream-app {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
}
.stream-sidebar {
  position: sticky;
  top: 68px;
  align-self: start;
  height: calc(100vh - 68px);
  padding: 26px 16px 120px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #0d0c11;
}
.stream-sidebar-heading {
  padding: 0 10px 15px;
}
.stream-sidebar-heading strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}
.stream-playlist {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #9e98a4;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.stream-playlist:hover {
  background: #15131a;
  color: var(--text);
}
.stream-playlist.active {
  background: #1b1721;
  color: #d9c9ef;
}
.stream-playlist span {
  text-align: center;
}
.stream-playlist b {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stream-main {
  min-width: 0;
  padding: 24px 28px 130px;
}
.stream-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.stream-search {
  width: min(520px, 100%);
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #37323d;
  border-radius: 999px;
  background: #121017;
}
.stream-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}
.stream-member-badge {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #514462;
  border-radius: 999px;
  color: #ccb8e8;
  font-size: 11px;
  font-weight: 800;
}
.stream-hero {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  padding: 42px 0 28px;
}
.stream-cover {
  width: 150px;
  height: 150px;
  flex: 0 0 150px;
  overflow: hidden;
  border: 1px solid #3c3544;
  border-radius: 7px;
  background: #15121b;
}
.stream-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stream-hero h1 {
  margin: 0 0 7px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: .98;
  letter-spacing: -.05em;
}
.stream-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.stream-table-head,
.stream-track-row {
  display: grid;
  grid-template-columns: 38px minmax(220px, 1.4fr) minmax(150px, .8fr) 42px;
  align-items: center;
  gap: 12px;
}
.stream-table-head {
  min-height: 36px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  color: #77717e;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.stream-track-row {
  width: 100%;
  min-height: 62px;
  padding: 7px 10px;
  border: 0;
  border-bottom: 1px solid #211f25;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.stream-track-row:hover {
  background: #111016;
}
.stream-track-row.playing {
  background: #15121b;
}
.stream-track-num {
  color: #716b76;
  font-size: 12px;
  text-align: center;
}
.stream-track-title {
  min-width: 0;
}
.stream-track-title strong,
.stream-track-title small {
  display: block;
}
.stream-track-title strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stream-track-title small {
  margin-top: 3px;
  color: #77717e;
  font-size: 11px;
}
.stream-track-genre {
  overflow: hidden;
  color: #8f8995;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stream-track-action {
  color: var(--purple-bright);
  text-align: center;
}
.stream-player-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(190px, .9fr) minmax(360px, 1.4fr) minmax(160px, .7fr);
  align-items: center;
  gap: 18px;
  min-height: 94px;
  padding: 11px 24px;
  border-top: 1px solid #39323f;
  background: rgba(14, 12, 17, .98);
  backdrop-filter: blur(16px);
}
.stream-player-bar[hidden] {
  display: none;
}
.stream-now {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.stream-mini-art {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border: 1px solid #3e3646;
  border-radius: 5px;
  background: #1a1521;
  color: var(--purple-bright);
  font-size: 20px;
}
.stream-now strong,
.stream-now span {
  display: block;
}
.stream-now strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stream-now span {
  margin-top: 4px;
  color: #817a86;
  font-size: 10px;
}
.stream-controls {
  min-width: 0;
}
.stream-control-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.stream-control-buttons button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a9a2ad;
  font-size: 14px;
  cursor: pointer;
}
.stream-control-buttons button:hover,
.stream-control-buttons button.active {
  color: var(--purple-bright);
}
.stream-control-buttons .stream-main-play {
  width: 38px;
  height: 38px;
  background: #f1edf5;
  color: #111016;
  font-size: 15px;
}
.stream-progress-row {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #77717e;
  font-size: 10px;
}
.stream-progress-row input,
.stream-volume input {
  width: 100%;
  accent-color: #9f84c8;
}
.stream-volume {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 8px;
}
.has-stream-player .stream-main,
.has-stream-player .stream-sidebar {
  padding-bottom: 130px;
}

@media (max-width: 900px) {
  .stream-app {
    grid-template-columns: 1fr;
  }
  .stream-sidebar {
    position: static;
    height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  #stream-playlists {
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }
  .stream-playlist {
    width: auto;
    min-width: max-content;
  }
  .stream-player-bar {
    grid-template-columns: 1fr 1.4fr;
  }
  .stream-volume {
    display: none;
  }
}
@media (max-width: 680px) {
  .stream-main {
    padding: 18px 14px 150px;
  }
  .stream-topbar {
    align-items: stretch;
    flex-direction: column;
  }
  .stream-member-badge {
    align-self: flex-start;
  }
  .stream-hero {
    align-items: center;
    padding-top: 26px;
  }
  .stream-cover {
    width: 92px;
    height: 92px;
    flex-basis: 92px;
  }
  .stream-table-head {
    display: none;
  }
  .stream-track-row {
    grid-template-columns: 30px minmax(0, 1fr) 32px;
  }
  .stream-track-genre {
    display: none;
  }
  .stream-player-bar {
    grid-template-columns: 1fr;
    gap: 7px;
    min-height: 132px;
    padding: 9px 14px;
  }
  .stream-now {
    justify-self: stretch;
  }
}

/* DOWNLOAD_FEEDBACK_V1 */
.download-active {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  pointer-events: none;
  opacity: .88;
}
.download-spinner {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  display: inline-block;
  border: 2px solid rgba(196,176,238,.28);
  border-top-color: var(--purple-bright);
  border-radius: 50%;
  animation: mm42-download-spin .75s linear infinite;
}
.download-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(390px, calc(100vw - 32px));
  padding: 12px 15px;
  border: 1px solid #4b4257;
  border-radius: 7px;
  background: rgba(18,17,23,.97);
  box-shadow: 0 18px 46px rgba(0,0,0,.38);
  color: #e7e1eb;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.download-toast.show {
  opacity: 1;
  transform: translateY(0);
}
@keyframes mm42-download-spin {
  to { transform: rotate(360deg); }
}
@media (max-width: 620px) {
  .download-toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }
}



/* MUSIC_PREVIEW_PLAYER_V2 */
.site-player {
  position: fixed;
  right: max(18px, calc((100vw - var(--max)) / 2));
  bottom: 18px;
  left: max(18px, calc((100vw - var(--max)) / 2));
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(340px, 1.4fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  padding: 12px 15px;
  border: 1px solid #403748;
  border-radius: 10px;
  background: rgba(16,14,20,.97);
  box-shadow: 0 20px 55px rgba(0,0,0,.48);
  backdrop-filter: blur(16px);
}
.site-player[hidden] { display: none; }

.player-track {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.player-art {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid #4c4058;
  border-radius: 7px;
  background: linear-gradient(145deg, #21172d, #15121b);
  color: var(--purple-bright);
  font-size: 20px;
}
.player-copy {
  min-width: 0;
}
.player-copy span {
  display: block;
  margin-bottom: 3px;
  color: var(--purple);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}
.player-copy strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-controls {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.player-play {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eee8f5;
  color: #131017;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.player-play:hover {
  transform: scale(1.04);
}
.player-progress-wrap {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  color: #88808f;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.player-progress-wrap input {
  width: 100%;
  accent-color: var(--purple-bright);
  cursor: pointer;
}
.player-preview-note {
  padding: 7px 10px;
  border: 1px solid #4b4056;
  border-radius: 999px;
  color: #c7b7dc;
  background: #19141f;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.player-preview-note.full-track {
  border-color: #3b5544;
  color: #b9d7c1;
  background: #121b15;
}
.site-player audio { display: none; }
body.has-music-player { padding-bottom: 116px; }

@media (max-width: 760px) {
  .site-player {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 11px 12px;
  }
  .player-preview-note {
    display: none;
  }
  .player-controls {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  body.has-music-player { padding-bottom: 176px; }
}


/* MUSIC_PREVIEW_VOLUME_V1 */
.player-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.player-volume {
  min-width: 150px;
  display: grid;
  grid-template-columns: 22px minmax(70px, 110px) 34px;
  align-items: center;
  gap: 7px;
}
.player-volume-icon {
  font-size: 13px;
  opacity: .78;
}
.player-volume input {
  width: 100%;
  height: 18px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.player-volume input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, #a88bd3 0%, #a88bd3 40%, #3a3440 40%, #3a3440 100%);
}
.player-volume input::-webkit-slider-thumb {
  width: 13px;
  height: 13px;
  margin-top: -4.5px;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #17131c;
  border-radius: 50%;
  background: #d6c2f2;
  box-shadow: 0 0 0 1px #6c5b7b;
}
.player-volume input:hover::-webkit-slider-thumb {
  background: #eadcfb;
}
.player-volume input::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: #3a3440;
}
.player-volume input::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: #a88bd3;
}
.player-volume input::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 2px solid #17131c;
  border-radius: 50%;
  background: #d6c2f2;
  box-shadow: 0 0 0 1px #6c5b7b;
}
.player-volume-value {
  color: #8c8491;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
@media (max-width: 880px) {
  .site-player {
    grid-template-columns: minmax(190px, .9fr) minmax(280px, 1.3fr);
  }
  .player-side {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}
@media (max-width: 760px) {
  .player-side {
    display: flex;
    justify-content: flex-start;
  }
  .player-volume {
    min-width: 180px;
  }
}


/* MUSIC_PREVIEW_PLAYER_WIDTH_FIX_V1 */
.site-player {
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  grid-template-columns: minmax(190px, .85fr) minmax(300px, 1.25fr) minmax(230px, .85fr);
  gap: 16px;
}
.player-side {
  min-width: 0;
  overflow: hidden;
}
.player-volume {
  min-width: 0;
  width: 150px;
}
.player-preview-note {
  flex: 0 0 auto;
}
@media (max-width: 980px) {
  .site-player {
    grid-template-columns: minmax(180px, .9fr) minmax(260px, 1.2fr);
  }
  .player-side {
    grid-column: 1 / -1;
    overflow: visible;
  }
}
@media (max-width: 760px) {
  .site-player {
    grid-template-columns: 1fr;
  }
}


/* DOWNLOAD_COUNTS_V1 */
.download-count {
  color: #77717e;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.track-download-count::before {
  content: "•";
  margin-right: 6px;
  color: #4d4852;
}
.playlist-download-count {
  display: block;
  margin-top: 7px;
  color: #8d8495;
  font-size: 10px;
}


/* STREAM_HIDDEN_STATE_FIX_V1 */
.stream-app[hidden],
.stream-gate[hidden],
.stream-player-bar[hidden] {
  display: none !important;
}


/* STREAM_SORTING_V1 */
.stream-topbar {
  gap: 12px;
}
.stream-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.stream-sort-wrap label {
  color: #77717e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stream-sort-wrap select {
  min-width: 170px;
  height: 38px;
  padding: 0 34px 0 11px;
  border: 1px solid #3a3440;
  border-radius: 7px;
  background: #121017;
  color: #ddd7e2;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.stream-sort-wrap select:focus {
  outline: 1px solid #7f67a2;
  outline-offset: 1px;
}
.stream-sort-status {
  color: #9885b3;
  font-size: 10px;
  white-space: nowrap;
}
.stream-table-head,
.stream-track-row {
  grid-template-columns: 38px minmax(220px, 1.25fr) minmax(140px, .65fr) 72px 90px 42px;
}
.stream-track-length,
.stream-track-downloads {
  color: #817a86;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1050px) {
  .stream-table-head,
  .stream-track-row {
    grid-template-columns: 34px minmax(180px, 1.2fr) minmax(120px, .65fr) 64px 78px 36px;
  }
  .stream-sort-wrap label {
    display: none;
  }
}
@media (max-width: 780px) {
  .stream-sort-wrap {
    width: 100%;
    margin-left: 0;
  }
  .stream-sort-wrap select {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 680px) {
  .stream-track-row {
    grid-template-columns: 30px minmax(0, 1fr) 58px 32px;
  }
  .stream-track-length {
    display: block;
  }
  .stream-track-downloads,
  .stream-track-genre {
    display: none;
  }
}


/* OWNER_ADMIN_FOOTER_V1 */
.footer-owner-tools {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  white-space: nowrap;
}
.footer-admin-link {
  color: #69636f;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
}
.footer-admin-link:hover {
  color: var(--purple-bright);
}
.site-version {
  color: #6f6975;
  font-size: 10px;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .footer-owner-tools {
    margin-left: 0;
  }
}


.footer-owner-separator {
  color: #45404a;
  font-size: 10px;
}


/* MINECOSTUDIOS BRANDING */
.mineco-brandline {
  margin: 5px 0 0;
  color: #8f8797;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mineco-brandline-hero {
  margin-top: 14px;
  color: #a895bc;
}

.mineco-footer-mark {
  color: #9a8da7;
  font-weight: 700;
}

.mineco-about-note {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid #3d3545;
  border-radius: 7px;
  background: #15121b;
}

.mineco-about-note strong,
.mineco-about-note p {
  display: block;
}

.mineco-about-note strong {
  margin-top: 5px;
  font-size: 15px;
}

.mineco-about-note p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .mineco-footer-mark {
    display: block;
    margin-top: 4px;
  }
}


.mineco-site-link {
  display: inline-flex;
  margin-top: 14px;
}


/* LEGAL_PAGES_V1 */
.legal-copy h2 {
  margin: 28px 0 8px;
  font-size: 20px;
}
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p {
  color: var(--muted);
  line-height: 1.75;
}
.legal-copy a {
  color: var(--purple-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer .footer-links {
  flex-wrap: wrap;
}


.music-use-disclaimer {
  margin: 18px 0 8px;
  padding: 16px 18px;
  border: 1px solid #514462;
  border-radius: 7px;
  background: #15111c;
}
.music-use-disclaimer p {
  margin: 8px 0 0;
}
