:root {
  --bg: #000000;
  --card: #111111;
  --card-2: #16161C;
  --purple: #7D3CFF;
  --purple-bright: #8A4DFF;
  --magenta: #FF3C8E;
  --green: #3FE07A;
  --yellow: #F0C84A;
  --gold: #F5C542;
  --text: #FFFFFF;
  --muted: #9A9AA8;
  --muted-2: #C8C8D0;
  --line: rgba(255, 255, 255, 0.08);
  --nav-h: 96px;
  --side: 248px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }

/* Patrick DESKTOP · 1680 WIDE — centered canvas, side inset at every width. */
.wrap,
.wrap-wide,
.cta-band,
.nav-inner {
  max-width: 1680px;
  width: min(1680px, 100%);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
  min-width: 0;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-purple {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 8px 24px rgba(125, 60, 255, 0.35);
}
.btn-purple:hover {
  background: var(--purple-bright);
  box-shadow: 0 10px 28px rgba(154, 77, 255, 0.45);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn-white { background: #fff; color: #0A0A0F; }
.btn-white:hover { background: #f3f3f6; }
.btn-dark { background: #0A0A0F; color: #fff; }
.btn-dark:hover { background: #16161d; }
.btn-yellow { background: var(--yellow); color: #111; }
.btn-yellow:hover { background: #f0d056; }
.btn-magenta {
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--magenta);
}
.btn-sm { padding: 10px 20px; }
.btn-md { padding: 13px 26px; font-size: 15px; }
.btn-lg { padding: 15px 28px; font-size: 16px; width: 100%; }
.btn-block { width: 100%; }
.btn[hidden] { display: none !important; }
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* —— Public nav —— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: #000;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav .logo {
  position: relative;
  z-index: 2;
}
.logo img { height: 72px; width: auto; display: block; }
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-2);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-paid-short { display: none; }
@media (max-width: 1480px) and (min-width: 1181px) {
  .nav-paid-long { display: none; }
  .nav-paid-short { display: inline; }
}
.nav-links > a[href="basic.html"],
.nav-links > a[href="creator.html"],
.nav-links > a[href="pro.html"] { display: none; }
.nav-item.has-submenu {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item-row {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}
.nav-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  line-height: 1;
  flex: 0 0 auto;
}
.nav-submenu-toggle:hover,
.nav-item.has-submenu.open .nav-submenu-toggle,
.nav-item.has-submenu.is-current .nav-submenu-toggle { color: #fff; }
.nav-submenu-chevron {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}
.nav-item.has-submenu.open .nav-submenu-chevron {
  transform: rotate(-135deg);
  margin-top: 2px;
}
.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  padding: 8px 0;
  background: #0C0C12;
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 70;
  white-space: nowrap;
}
.nav-submenu a {
  display: block;
  padding: 8px 14px;
}
@media (hover: hover) and (pointer: fine) {
  .nav-item.has-submenu:hover .nav-submenu,
  .nav-item.has-submenu:focus-within .nav-submenu { display: block; }
  .nav-item.has-submenu:hover .nav-submenu-chevron,
  .nav-item.has-submenu:focus-within .nav-submenu-chevron {
    transform: rotate(-135deg);
    margin-top: 2px;
  }
}
.nav-item.has-submenu.open .nav-submenu { display: block; }
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.public-header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
  flex: 0 0 auto;
}
@media (min-width: 1181px) {
  .public-header-tools { margin-right: 18px; }
}
.nav-actions .login,
.public-header-tools .login {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 9px 18px;
  line-height: 1;
  white-space: nowrap;
}
.nav-actions .login:hover,
.public-header-tools .login:hover { color: #fff; border-color: #fff; }
.public-header-tools .login[hidden] { display: none; }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  flex: 0 0 auto;
}
.menu-toggle:hover { border-color: #fff; }
.menu-toggle-bars {
  display: block;
  width: 16px;
  height: 11px;
  background:
    linear-gradient(#fff, #fff) 0 0 / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 4.5px / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 9px / 100% 2px no-repeat;
}
.nav-drawer { display: contents; }
.public-nav-backdrop,
.app-nav-backdrop { display: none; }

/* —— Marketing hero / steps / pricing / footer —— */
.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--nav-h) + 88px) 0 72px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% 10% auto auto;
  width: 720px;
  height: 520px;
  background: radial-gradient(circle at 55% 40%, rgba(139, 63, 232, 0.42) 0%, rgba(255, 61, 139, 0.12) 38%, transparent 68%);
  pointer-events: none;
  z-index: -1;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #E8E8EE;
  margin-bottom: 22px;
}
.eyebrow.magenta { color: var(--magenta); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--magenta); }
.hero .sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 32px;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
  text-align: center;
}
.platforms {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  color: #8A8A96;
}
.platforms span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 0;
  color: #8A8A96;
}
.platforms svg { opacity: 0.9; display: block; }

.steps { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { padding: 8px 36px; }
.step + .step { border-left: 1px solid var(--line); }
.step-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--purple-bright);
  margin-bottom: 10px;
}
.step-num.grad {
  background: linear-gradient(180deg, #9A4DFF 0%, #3FE07A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 56px;
  line-height: 1;
}
.step h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; max-width: 320px; }
.step ul { list-style: none; margin-top: 16px; }
.step li {
  color: var(--muted-2);
  font-size: 14px;
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}
.step li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-bright);
}

.how-hero { text-align: left; padding-bottom: 28px; }
.how-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.how-hero .sub { margin: 0; max-width: 460px; }
.how-steps { border: none; padding: 12px 0 40px; }
.how-steps .steps-grid { gap: 28px; }
.how-steps .step { padding: 0; }
.how-steps .step + .step { border: none; }

.pricing { padding: 88px 0 72px; }
.pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
}
.pricing-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.pricing-head p { color: var(--muted); font-size: 15px; max-width: 320px; text-align: right; }
.pricing-head .need-plan {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  max-width: none;
  margin-top: 8px;
}
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px 24px 36px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.card.popular {
  border: 1.5px solid var(--purple-bright);
  box-shadow: 0 0 0 1px rgba(154, 77, 255, 0.15), 0 18px 50px rgba(139, 63, 232, 0.18);
}
.badge-pop {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--magenta);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
}
.plan-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #EDEDF2;
  margin-bottom: 10px;
}
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.price strong { font-size: 2.35rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price em { font-style: normal; font-size: 14px; color: var(--muted); font-weight: 500; }
.plan-year { color: var(--muted); font-size: 14px; font-weight: 500; margin: -6px 0 12px; }
button.plan-year {
  display: block;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
button.plan-year:hover { color: #fff; }
.plan-blurb { color: var(--muted); font-size: 14px; margin-bottom: 22px; min-height: 42px; }
.card ul { list-style: none; margin-bottom: 28px; flex: 1; }
.card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #D4D4DC;
  margin-bottom: 11px;
  line-height: 1.35;
}
.check { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: #fff; }
.check.green { color: var(--green); }
.card-cta {
  margin-top: auto;
  overflow: visible;
  flex-shrink: 0;
  padding-bottom: 4px;
}
.learn { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: var(--muted); font-weight: 500; }
.card-cta .learn {
  display: block;
  text-align: center;
  margin-top: 14px;
  padding-bottom: 2px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted-2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.learn:hover,
.card-cta .learn:hover { color: #fff; }

.cta-band { background: var(--purple); border-radius: 20px; margin-bottom: 80px; }
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 48px;
}
.cta-inner h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 420px;
}
.cta-inner p { color: rgba(255, 255, 255, 0.88); font-size: 15px; margin-bottom: 20px; max-width: 460px; }

footer { padding: 64px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo img { height: 56px; }
.footer-brand p { color: var(--muted); font-size: 13px; max-width: 260px; margin: 14px 0 18px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #B8B8C2;
}
.socials a:hover { color: #fff; border-color: #fff; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.copy { font-size: 12px; color: #6E6E7A; }

/* —— Auth —— */
.auth {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-hero {
  position: relative;
  isolation: isolate;
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-hero::before {
  content: "";
  position: absolute;
  inset: 10% 5% auto auto;
  width: 520px;
  height: 420px;
  background: radial-gradient(circle, rgba(139, 63, 232, 0.4) 0%, rgba(255, 61, 139, 0.12) 42%, transparent 70%);
  z-index: -1;
}
.auth-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.auth-hero p { color: var(--muted); font-size: 16px; max-width: 420px; margin-bottom: 36px; }
.auth-stats { display: flex; gap: 36px; }
.auth-stats strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.auth-stats span { display: block; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.stat-y { color: var(--yellow); }
.stat-g { color: var(--green); }
.stat-p { color: var(--purple-bright); }
.stat-c { color: #5EE7FF; }
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  background: linear-gradient(180deg, #0E0E14 0%, #0A0A0F 100%);
  border-left: 1px solid var(--line);
}
.auth-card { width: min(420px, 100%); }
.auth-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #16161C;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 28px;
}
.auth-toggle a {
  text-align: center;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-2);
}
.auth-toggle a.on { background: var(--purple); color: #fff; }
.auth-card h2 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.auth-card .lead { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.auth-card .hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin-top: 8px;
}
#auth-status.hint { margin: 0 0 12px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: #0C0C12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple-bright); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%); background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field { overflow: visible; }
.typeahead-field { position: relative; z-index: 1; overflow: visible; }
.typeahead-field.is-typeahead-filter .typeahead-input { margin-bottom: 8px; }
.typeahead-field:focus-within,
.typeahead-field.is-typeahead-open { z-index: 4100; }
@media (hover: hover) and (pointer: fine) {
  html.is-typeahead-open .typeahead-field:not(.is-typeahead-open) {
    pointer-events: none;
  }
}
.form-grid .field,
.flow-card,
.release-edit,
.release-edit .form-grid,
.panel.release-edit { overflow: visible; }
.field select.is-typeahead-source,
.field select.details-select.is-typeahead-source,
.release-edit select.is-typeahead-source,
.release-edit select.details-select.is-typeahead-source {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  opacity: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  background-image: none;
}
.field input.typeahead-input {
  cursor: text;
  font-size: 16px;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23C8C8D0' d='M1 1.2 6 6.2 11 1.2'/></svg>");
  background-position: right 14px center;
  background-size: 12px 8px;
  background-repeat: no-repeat;
}
.typeahead-list {
  position: absolute;
  z-index: 4200;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #0C0C12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  max-height: 240px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  pointer-events: auto;
}
.typeahead-list:not(.is-hidden) {
  display: block;
  visibility: visible;
}
.typeahead-list.is-above {
  top: auto;
  bottom: calc(100% + 4px);
}
.typeahead-list.is-fixed {
  position: fixed;
  right: auto;
}
.typeahead-list button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  padding: 12px 14px;
  min-height: 44px;
  font-size: 16px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
.typeahead-list button:hover,
.typeahead-list button:focus { background: rgba(125, 60, 255, 0.22); }
.typeahead-hint {
  padding: 10px 14px 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  pointer-events: none;
}
.field select.details-select {
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23C8C8D0' d='M1 1.2 6 6.2 11 1.2'/></svg>");
  background-position: right 14px center;
  background-size: 12px 8px;
  background-repeat: no-repeat;
}
.row-between { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 20px; font-size: 13px; color: var(--muted-2); }
.row-between a { color: var(--magenta); font-weight: 600; }
.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted-2); margin: 8px 0 20px; line-height: 1.45; }
.checkline input { margin-top: 3px; flex: 0 0 auto; accent-color: var(--purple); }
.checkline span { min-width: 0; flex: 1 1 auto; }
.or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin: 18px 0;
}
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.switch { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.switch a { color: var(--magenta); font-weight: 600; }

/* —— Legal —— */
.legal { padding: calc(var(--nav-h) + 64px) 0 80px; }
.legal h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 12px; }
.legal .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal p, .legal li { color: var(--muted-2); font-size: 15px; margin-bottom: 14px; max-width: 720px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal-doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal-doc h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 40px 0 12px;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.legal-doc h2:first-child { margin-top: 8px; }
.legal-doc ul, .legal-doc ol { margin: 0 0 16px; padding-left: 20px; max-width: 720px; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc a:not(.btn) { color: var(--magenta); font-weight: 600; }
.legal-doc a:not(.btn):hover { color: #fff; }
.legal-doc article { max-width: 720px; }
.draft-banner {
  background: rgba(232, 195, 63, 0.08);
  border: 1px solid rgba(232, 195, 63, 0.4);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 28px;
  max-width: 720px;
}
.draft-banner strong {
  display: block;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.draft-banner p { color: #E8D48A; font-size: 14px; margin-bottom: 0; max-width: none; }
.draft-banner a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.draft-banner a:hover { color: var(--yellow); }
.legal-toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px 12px;
  margin: 0 0 36px;
  max-width: 720px;
}
.legal-toc h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 14px;
}
.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 28px;
  max-width: none;
}
.legal-toc li { break-inside: avoid; margin-bottom: 8px; }
.legal-doc .legal-toc a:not(.btn) { color: var(--muted-2); font-size: 14px; font-weight: 500; }
.legal-doc .legal-toc a:not(.btn):hover { color: #fff; }
.fee-table {
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
  margin: 4px 0 20px;
}
.fee-table th, .fee-table td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted-2);
}
.fee-table th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.fee-table td:last-child, .fee-table th:last-child {
  text-align: right;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  padding-left: 16px;
}
.fee-table th:last-child { font-weight: 700; color: var(--muted); }
.legal-end { margin-top: 48px; }
@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
}

/* —— App shell —— */
.app { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; }
body.app > .plai-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 4000;
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: end;
  align-self: end;
  width: auto;
  height: auto;
  margin: 0;
  pointer-events: none;
}
.side {
  background: #0C0C12;
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.side .logo img { height: 48px; margin: 0 0 22px; width: auto; max-width: 100%; }
.side-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6E6E7A;
  padding: 0 14px 10px;
}
.side-label.green { color: var(--green); }
.side-nav { display: flex; flex-direction: column; gap: 6px; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-2);
}
.side-nav a:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.side-nav a.on { background: var(--purple); color: #fff; }
.side-nav a.side-action {
  background: rgba(125, 60, 255, 0.22);
  color: #fff;
  font-weight: 700;
}
.side-nav a.side-action:hover { background: var(--purple); color: #fff; }
.side-nav svg { width: 16px; height: 16px; flex-shrink: 0; }
.pro-card {
  margin-top: auto;
  background: #14141A;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.pro-card .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
}
.pro-card h4 { font-size: 12px; letter-spacing: 0.12em; margin-bottom: 8px; }
.pro-card p { font-size: 12px; color: var(--muted); }

.app-main { min-width: 0; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  border-bottom: 1px solid var(--line);
}
.ready { font-size: 13px; color: var(--green); font-weight: 600; }
.ready span { color: #fff; font-weight: 500; margin-left: 6px; }
.topbar .menu-toggle,
.topbar .mobile-only-logo { display: none; }
.who {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--magenta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.avatar.has-art {
  background-color: #111;
  background-size: cover;
  background-position: center;
  color: transparent;
  overflow: hidden;
}
.page { padding: 32px 36px 56px; }
.page-head { margin-bottom: 28px; }
.page-head .kicker { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--magenta); font-weight: 700; margin-bottom: 8px; }
.page-head h1 { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; }
.page-head p { color: var(--muted); margin-top: 8px; max-width: 560px; }
.page-head-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.page-head-actions .btn.is-on {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 1px #8b5cf6;
}
[data-artist-create-panel][hidden],
[data-artist-link-panel][hidden] { display: none !important; }
.head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.upload-head { flex-wrap: wrap; gap: 12px 20px; }
.upload-leave-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
.upload-leave-actions .btn {
  flex: 0 1 auto;
  white-space: nowrap;
}
.plan-switch { display: grid; gap: 16px; margin-top: 16px; max-width: none; }
.plan-switch[hidden],
[data-manage-plan][hidden] { display: none !important; }
.plan-switch-copy { color: var(--muted); font-size: 14px; max-width: 640px; line-height: 1.55; }
.plan-picker { grid-template-columns: repeat(2, 1fr); }
.plan-picker .offer { min-height: 100%; }
.plan-picker .offer .price { font-size: 1.45rem; }
.plan-picker .offer > p { flex: 1; }
.plan-picker .current-badge {
  display: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.plan-picker .offer:has([data-plan-option].is-current) {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(245, 197, 66, 0.28);
}
.plan-picker .offer:has([data-plan-option].is-current) .current-badge { display: inline-block; }
.plan-switch .btn { justify-content: center; }
.plan-switch .btn.is-current {
  border-color: var(--gold);
  color: var(--gold);
}

.workflow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0 36px; max-width: 640px; }
.wf {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.wf b { display: block; color: var(--purple-bright); font-size: 13px; margin-bottom: 4px; }
.wf span { color: var(--muted); font-size: 13px; }

.empty {
  background: var(--card);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  color: var(--muted);
}
.empty h3 { color: #fff; margin-bottom: 8px; }

.stats-bar {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--card);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.stats-bar .g { color: var(--green); }
.tabs { display: flex; gap: 18px; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.tabs a.on, .tabs a:hover { color: #fff; }

table.data { width: 100%; border-collapse: collapse; }
table.data th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
table.data td { padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tbody tr.is-pick { cursor: pointer; }
.release-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.release-table-wrap[hidden] { display: none; }
table.data th.release-edit-col,
table.data td.release-edit-col {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
  text-align: left;
}
table.data td.release-edit-col .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  white-space: nowrap;
}
.release-edit { margin-top: 24px; }
.profile-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.profile-photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #2A2A32;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.profile-photo.is-sm { width: 56px; height: 56px; }
.profile-photo.has-art { background-color: #111; }
.profile-block { margin-top: 18px; }
.profile-block h3 { margin-bottom: 8px; }
.profile-public h2 { font-size: 2rem; letter-spacing: -0.04em; margin: 0 0 6px; }
.plan-badge.is-yellow {
  border-color: #d4a017;
  color: #d4a017;
}
.artist-list { display: grid; gap: 10px; margin-top: 14px; }
.artist-row-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.artist-row-wrap .artist-row { flex: 1; }
.artist-row-wrap .plan-badge { margin-bottom: 0; }
.artist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--panel, #15151b);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  color: inherit;
  cursor: pointer;
}
.artist-row.is-on { border-color: #8b5cf6; }
.artist-edit-head { align-items: center; }
.artist-edit-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.artist-edit-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.artist-edit-actions [data-artist-save],
.artist-edit-actions [data-artist-delete] {
  white-space: nowrap;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 20px;
}
.artist-check-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.artist-check-box.is-yellow { border-color: #d4a017; background: rgba(212, 160, 23, 0.08); }
.artist-check-box.is-red { border-color: #d14b4b; background: rgba(209, 75, 75, 0.08); }
#artist-name-check.is-green,
#artist-create-check.is-green,
#title-check-msg { color: var(--muted); }
#artist-name-check.is-yellow,
#artist-create-check.is-yellow { color: #d4a017; }
#artist-name-check.is-red,
#artist-create-check.is-red { color: #d14b4b; }
.artist-create-block { margin-top: 28px; padding-top: 8px; }
.artist-create-block h3 { margin-bottom: 8px; }
.artist-create-block h4 { margin: 0 0 10px; font-size: 14px; }
.artist-ai-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 16px;
}
.artist-ai-cols .checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--muted-2);
  font-size: 14px;
}
.artist-ai-meter {
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 12px;
  align-items: center;
}
.status-cell { white-space: nowrap; }
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  background: #6b6b76;
  vertical-align: middle;
}
.status-cell.is-yellow .status-dot,
.pill.is-yellow::before { background: #d4a017; }
.status-cell.is-green .status-dot { background: #3dba6c; }
.status-cell.is-red .status-dot,
.pill.is-red::before { background: #d14b4b; }
@media (max-width: 720px) {
  .upload-head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .upload-leave-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .artist-ai-cols { grid-template-columns: 1fr; }
  [data-artist-edit] .artist-edit-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .artist-edit-actions {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .artist-edit-actions [data-artist-save],
  .artist-edit-actions [data-artist-delete] {
    width: 100%;
    justify-content: center;
    flex: none;
    white-space: nowrap;
  }
  .artist-row-wrap [data-artist-delete] {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
.release-edit .field-why,
.field-why {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin-top: 6px;
}
.release-edit .field.is-locked input,
.release-edit .field.is-locked select {
  opacity: 0.62;
  cursor: not-allowed;
}
.store-pick-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}
.store-pick-bar .toggle-line { margin: 0; }
.field .store-pick,
.release-edit .store-pick,
.store-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}
.field .store-pick label,
.release-edit .store-pick label,
.store-pick label,
.store-pick-item {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: max-content;
  max-width: none;
  box-sizing: border-box;
  position: relative;
  float: none;
  margin: 0;
  white-space: nowrap !important;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none !important;
  color: var(--muted-2);
  cursor: pointer;
}
.edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.edit-actions [data-edit-save],
.edit-actions [data-edit-retry] {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 14px;
}
.edit-actions [data-edit-cancel] {
  min-height: 44px;
  padding: 10px 20px;
}
.rel { display: flex; align-items: center; gap: 12px; }
.thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8B3FE8, #FF3D8B);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}
.thumb.grey { background: #2A2A32; }
.thumb.has-art {
  background-color: #111;
  background-size: cover;
  background-position: center;
}
.rel b { display: block; }
.rel small { color: var(--muted); font-size: 12px; }
.live { color: var(--green); font-weight: 600; }

.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.metric { background: var(--card); border-radius: 14px; padding: 18px 20px; }
.metric strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.metric span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.panel { background: var(--card); border-radius: 16px; padding: 20px; margin-bottom: 20px; }
.panel h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 90px; gap: 10px; align-items: center; margin-bottom: 12px; font-size: 13px; }
.bar { height: 8px; background: #222; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; }
.loc { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted-2); }
.chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 140px;
  padding-top: 10px;
}
.chart b {
  flex: 1;
  background: linear-gradient(180deg, #9A4DFF, #8B3FE8);
  border-radius: 6px 6px 2px 2px;
  min-height: 12px;
}
.lock { border: 1px solid rgba(232, 195, 63, 0.35); }
.lock .y { color: var(--yellow); font-weight: 700; }
.panel { position: relative; }
.lock-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  padding: 20px;
  background: rgba(12, 12, 18, 0.82);
  border-radius: inherit;
}
.lock-cover[hidden] { display: none !important; }
.panel.is-locked { border-color: rgba(232, 195, 63, 0.35); }
.panel.is-locked [data-analytics-dsps],
.panel.is-locked [data-analytics-territories],
.panel.is-locked [data-analytics-chart-bars],
.panel.is-locked [data-analytics-chart-labels] {
  filter: blur(2px);
  pointer-events: none;
}

/* —— Upload flow —— */
.flow-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  border-bottom: 1px solid var(--line);
}
.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 22px 0 28px;
}
.st {
  background: var(--card);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  display: block;
}
a.st:hover,
.st[role="link"]:hover {
  outline: 1px solid var(--line);
}
.st.on { background: var(--purple); }
.st b { display: block; font-size: 13px; }
.st span { font-size: 12px; color: var(--muted-2); }
.st.on span { color: rgba(255, 255, 255, 0.8); }
.st .done { color: var(--green); font-size: 11px; font-weight: 700; }
.flow-card { background: var(--card); border-radius: 16px; padding: 22px; margin-bottom: 18px; }
.flow-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.flow-card .hint { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.audio-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #0C0C12;
  border-radius: 999px;
  padding: 10px 16px;
}
.audio-bar audio {
  flex: 1;
  min-width: 140px;
  height: 36px;
}
.wave { display: flex; align-items: center; gap: 2px; height: 28px; flex: 1; }
.wave i { width: 3px; background: var(--purple-bright); border-radius: 2px; display: block; }
.play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple);
  border: none;
  color: #fff;
}
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.dashbox {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
}
.dashbox.checkline {
  margin: 0;
  cursor: pointer;
  align-items: flex-start;
}
.dashbox.checkline > span { color: var(--muted); }
.dashbox.checkline > span span {
  display: block;
  font-size: 12px;
  margin-top: 4px;
}
button.dashbox {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: transparent;
  font: inherit;
  color: inherit;
}
button.dashbox span {
  display: block;
  font-size: 12px;
  margin-top: 4px;
}
.lyrics-field textarea,
.lyrics-preview {
  min-height: 140px;
  resize: vertical;
  white-space: pre-wrap;
}
.lyrics-preview {
  margin: 0;
  font: inherit;
}
.audio-drop {
  display: block;
  cursor: pointer;
  text-align: center;
  padding: 28px 16px;
  margin-bottom: 4px;
}
.audio-drop span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}
.audio-drop.is-over {
  border-color: var(--purple-bright);
  color: var(--text);
}
.art-row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: start; }
.art {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  background: linear-gradient(160deg, #3a1a4a, #8B3FE8 40%, #1a1a22);
  cursor: pointer;
  background-size: cover;
  background-position: center;
}
.art.has-art {
  background-color: #111;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.art.is-edit {
  width: 96px;
  height: 96px;
  margin-bottom: 10px;
  cursor: default;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 10px;
  cursor: pointer;
}
.choice.on { border-color: var(--purple-bright); }
.choice b { display: block; margin-bottom: 4px; }
.choice span { color: var(--muted); font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  border: none;
  background: #1A1A22;
  color: var(--muted-2);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.tag.on { background: var(--purple); color: #fff; }
.warn { color: var(--yellow); font-size: 13px; margin-top: 8px; }
.alert {
  background: rgba(232, 195, 63, 0.08);
  border: 1px solid rgba(232, 195, 63, 0.35);
  color: #E8D48A;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  margin-top: 12px;
}
.alert.ok {
  background: rgba(63, 224, 122, 0.08);
  border-color: rgba(63, 224, 122, 0.35);
  color: #9BE8B4;
}
.alert.err {
  background: rgba(255, 61, 139, 0.08);
  border-color: rgba(255, 61, 139, 0.35);
  color: #FF9EC4;
}
.is-hidden { display: none !important; }
.writer-row {
  background: #0C0C12;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}
.writer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.writer-head b { font-size: 14px; }
.writer-remove {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-align: right;
}
.writer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 90px 150px;
  gap: 12px;
}
.writer-grid .field { margin-bottom: 0; }
.sign-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.embed-card #signwell-embed {
  min-height: 720px;
  margin-top: 8px;
  background: #0C0C12;
  border-radius: 12px;
  overflow: hidden;
}
.total-box {
  border: 1px solid var(--yellow);
  color: var(--yellow);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.total-box.ok { border-color: var(--green); color: var(--green); }
.total-box.bad { border-color: var(--magenta); color: var(--magenta); }
.pub-band {
  background: var(--purple);
  border-radius: 12px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  font-size: 13px;
  margin: 16px 0;
}
.pub-band small { display: block; opacity: 0.8; font-size: 11px; letter-spacing: 0.1em; }
.flow-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.review-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; }
.due strong.total { color: var(--yellow); font-size: 1.8rem; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted-2); font-size: 13px; }
.stores span { background: #16161C; border-radius: 999px; padding: 6px 10px; }
.after { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.after article { background: var(--card); border-radius: 12px; padding: 14px; font-size: 13px; color: var(--muted-2); }
.after b { display: block; color: #fff; margin-bottom: 6px; }
.legal-band {
  background: var(--purple);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  margin: 16px 0;
}

/* —— Marketing extras —— */
.page-hero { padding: calc(var(--nav-h) + 72px) 0 48px; }
.page-hero.left { text-align: left; }
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 16px;
}
.page-hero .sub { color: var(--muted); font-size: 1.05rem; max-width: 560px; }
.page-hero .gold { color: var(--gold); }
.page-hero .accent { color: var(--magenta); }
.faq-lead {
  max-width: 720px;
  margin: 0 0 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.faq-lead h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 14px;
}
.faq-lead p {
  color: var(--muted-2);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 12px;
}
.faq-lead a { color: var(--magenta); font-weight: 600; }
.faq-lead strong { color: #fff; font-weight: 700; }
.faq-plai {
  max-width: 640px;
  margin: 36px 0 0;
  color: var(--muted-2);
  font-size: 0.98rem;
  line-height: 1.5;
}
.faq-plai strong { color: #fff; font-weight: 700; }
body.app .page-hero { padding-top: 36px; }
body:not(.app) > .side,
body:not(.app) > .app-main > .topbar { display: none; }
.landing-tease {
  padding: 8px 0 72px;
}
.landing-tease h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 720px;
  margin: 8px 0 14px;
}
.landing-tease .sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 28px;
}
.tease-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tease-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
}
.tease-grid h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.tease-grid p { color: var(--muted); font-size: 14px; }
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #111;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.plan-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-visual {
  min-height: 360px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 70% 40%, rgba(125, 60, 255, 0.45), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(255, 60, 142, 0.22), transparent 50%),
    #0A0A0A;
  border: 1px solid var(--line);
}
.feature-lines { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-lines li {
  list-style: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 16px;
}
.feature-lines li:last-child { border-bottom: none; }
.feature-lines li::before {
  content: "●";
  color: var(--purple-bright);
  margin-right: 12px;
  font-size: 10px;
  vertical-align: middle;
}
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 72px 0;
}
.process-row article {
  padding: 8px 24px;
  border-left: 1px solid var(--line);
}
.process-row article:first-child { border-left: none; padding-left: 0; }
.process-row .n { color: var(--purple-bright); font-weight: 800; font-size: 22px; letter-spacing: -0.04em; display: block; margin-bottom: 8px; }
.process-row h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-row p { color: var(--muted); font-size: 14px; }
.exclude-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0 72px;
  border-top: 1px solid var(--line);
}
.exclude-grid h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.04em; }
.exclude-list { list-style: none; }
.exclude-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
}
.tag-pro {
  background: rgba(255, 60, 142, 0.16);
  color: #ff8ab8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.tag-creator {
  background: rgba(125, 60, 255, 0.16);
  color: #C4A6FF;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.how-who {
  padding: 0 0 48px;
}
.how-who h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  max-width: 680px;
  margin: 8px 0 14px;
}
.how-who p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.55;
}
.how-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-col { padding: 36px 32px; }
.how-col + .how-col { border-left: 1px solid var(--line); }
.how-col .n { font-size: 56px; font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin-bottom: 12px; }
.how-col .n.p { color: var(--purple-bright); }
.how-col .n.m { color: var(--magenta); }
.how-col .n.g { color: var(--green); }
.how-col h3 { font-size: 1.4rem; margin-bottom: 10px; }
.how-col p { color: var(--muted); margin-bottom: 18px; }
.how-col li {
  list-style: none;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 14px;
}
.boost-grid, .size-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.boost-card, .size-card {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.boost-card .lbl { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; margin-bottom: 10px; }
.boost-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.boost-card p { color: var(--muted); font-size: 14px; }
.size-card { display: flex; flex-direction: column; }
.size-card.picked {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 1px rgba(125,60,255,0.2), 0 18px 50px rgba(125,60,255,0.18);
}
.size-card .price { font-size: 1.8rem; font-weight: 800; margin: 8px 0 16px; }
.size-card ul { list-style: none; flex: 1; margin-bottom: 22px; }
.size-card li { color: var(--muted-2); font-size: 14px; margin-bottom: 10px; }
.not-sale {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.btn[aria-disabled="true"], .btn.is-off {
  opacity: 0.55;
  pointer-events: none;
}
.btn.is-incomplete {
  opacity: 0.55;
}
#tg-status.upload-status-error {
  color: #ffd2d2;
  font-size: 15px;
  font-weight: 700;
  margin-top: 14px;
}
.upload-limit {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.08);
}
.upload-limit[hidden] { display: none; }
.upload-limit p {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px;
}
.track-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.track-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: var(--card-2);
}
.track-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.track-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.track-row .audio-drop { margin-top: 12px; }
.track-row .audio-bar { margin-top: 12px; }
.btn[aria-busy="true"] {
  opacity: 0.55;
  pointer-events: none;
}
.upload-loader {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 10, 15, 0.72);
}
.upload-loader-card {
  width: min(420px, 100%);
  margin: 0;
}
.upload-loader .bar i {
  width: 32%;
  background: linear-gradient(90deg, var(--purple), var(--purple-bright));
}
.upload-loader.is-wait .bar i {
  animation: upload-loader-wait 1.1s ease-in-out infinite;
}
@keyframes upload-loader-wait {
  0% { transform: translateX(-80%); }
  100% { transform: translateX(280%); }
}
.pro-adds { margin: 40px 0 72px; }
.pro-adds .row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.pro-adds .row b { font-size: 16px; }
.pro-adds .row p { color: var(--muted); font-size: 14px; margin: 0; }
.pill {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pill-purple { background: var(--purple); }
.pill-yellow { background: var(--gold); color: #111; }
.pill-green { background: var(--green); color: #111; }
.pill-blue { background: #4C7DFF; }
.pill-magenta { background: var(--magenta); }
.pill-orange { background: #E89A3F; color: #111; }
.dash-preview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0 72px;
}
.fake-dash {
  background: #0E0E12;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  min-height: 280px;
}
.fake-dash .stat {
  background: rgba(125,60,255,0.2);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
}
.fake-chart {
  height: 90px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(125,60,255,0.45), rgba(125,60,255,0.05));
  margin-bottom: 14px;
}
.faq-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 36px; }
.faq-filters button {
  border: none;
  background: #16161C;
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
}
.faq-filters button.on { background: var(--purple); }
.faq-group { margin-bottom: 28px; }
.faq-group h2 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button.q {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  padding: 18px 36px 18px 0;
  font-size: 16px;
  font-weight: 600;
  position: relative;
}
.faq-item button.q::after {
  content: "▾";
  position: absolute;
  right: 0;
  top: 18px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--muted-2);
}
.faq-item.open button.q::after { content: "▴"; color: var(--green); border-color: var(--green); }
.faq-item .a { display: none; color: var(--muted); padding: 0 40px 18px 0; max-width: 760px; }
.faq-item.open .a { display: block; }
.stuck {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: #160d24;
  border: 1px solid rgba(125,60,255,0.35);
  border-radius: 18px;
  padding: 28px 32px;
  margin: 48px 0 80px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  margin: 28px 0 32px;
}
.about-grid .lead { font-size: 1.35rem; line-height: 1.4; }
.about-grid .call { color: var(--magenta); font-weight: 700; margin-top: 18px; }
.about-grid .bio { color: var(--muted-2); font-size: 15px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin: 36px 0 80px;
}
.contact-card {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.direct-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.direct-row span { color: var(--muted); }
.auth-stats.cards { gap: 12px; }
.auth-stats.cards > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  min-width: 120px;
}
.account-card {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}
.account-card .row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted-2);
}
.dash-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  margin-bottom: 36px;
}
.release-lede {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-top: 8px;
}
.release-lede p { margin-top: 0; }
.release-status {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.release-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 18px;
  max-width: 100%;
}
.release-pills .btn { white-space: nowrap; flex: 0 0 auto; }
.pub-call {
  border: 1.5px solid var(--purple);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 28px 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(125, 60, 255, 0.22), transparent 42%),
    #111;
}
.pub-call[hidden],
.msp-board[hidden],
.msp-open[hidden],
.msp-lock[hidden] { display: none !important; }
.pub-call .ok { color: var(--green); font-size: 11px; letter-spacing: 0.14em; font-weight: 800; }
.pub-call-actions { text-align: right; flex-shrink: 0; }
.release-board {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px 22px;
  margin-bottom: 8px;
}
.release-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 16px;
}
.release-tiles[hidden] { display: none !important; }
.release-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  min-width: 0;
}
.release-tile:hover { transform: translateY(-2px); }
.release-tile-art {
  display: block;
  aspect-ratio: 1;
  width: 100%;
  border-radius: 16px;
  background:
    linear-gradient(135deg, #8B3FE8, #FF3D8B);
  border: 1px solid transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}
.release-tile-art::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 10px rgba(0, 0, 0, 0.12);
}
.release-tile-art.has-art {
  background-color: #111;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.release-tile-art.has-art::after { display: none; }
.art img[data-cover-photo],
.thumb img[data-cover-photo],
.release-tile-art img[data-cover-photo],
.cover-lg img[data-cover-photo] {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.release-tile-art img[data-cover-photo] {
  position: absolute;
  inset: 0;
}
.release-tile strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.release-tile-status {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
}
.release-tile-status.is-yellow,
.release-tile-status.is-gold { color: var(--gold); }
.release-tile-status.is-green { color: var(--green); }
.release-tile-status.is-red { color: #FF5C7A; }
.release-tile-status.is-gray { color: var(--muted); }
.dash-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
.msp-board { margin: 8px 0 0; }
.msp-open .hint { margin-bottom: 14px; }
.msp-songs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.msp-song {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.msp-song h4 {
  font-size: 15px;
  margin: 0 0 4px;
}
.msp-song .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0 0;
  color: var(--muted-2);
  font-size: 13px;
}
.form-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.wave i.dim { background: #2A2A32; }
.art-guide {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.auth-full footer { margin-top: 0; }
.nsf { pointer-events: none; }

.catalog-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #111;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 22px;
}
.catalog-stats div {
  padding: 18px 22px;
  border-left: 1px solid var(--line);
}
.catalog-stats div:first-child { border-left: none; }
.catalog-stats strong { display: block; font-size: 2rem; letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; }
.catalog-stats span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.page-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}
.life {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 8px 0 28px;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.life span {
  color: var(--muted);
  font-size: 13px;
  padding: 4px 10px;
}
.life .on {
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 999px;
  font-weight: 700;
}
.seg {
  display: inline-flex;
  background: #16161C;
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.seg a {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
}
.seg a.on { background: #2A2A32; color: #fff; }
.song-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.song-top .hero-ctas {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.song-top .hero-ctas .btn { position: relative; z-index: 2; pointer-events: auto; }
.song-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  margin: 22px 0 28px;
}
.cover-lg {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  background: #16161C;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.cover-lg.has-art {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111;
  border-color: transparent;
}
.owner-player {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.owner-player.is-wait .owner-play.is-off {
  opacity: 0.45;
  cursor: not-allowed;
}
.song-store-links a {
  color: var(--muted-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.song-store-links a:hover {
  color: #fff;
}
.owner-embed {
  width: 100%;
  min-height: 152px;
  border: 0;
  border-radius: 12px;
  background: #0C0C12;
}
.artist-song {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 12px;
}
.artist-song-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.artist-song-top a { color: inherit; }
.delta-up { color: var(--green); font-size: 13px; }
.delta-down { color: #E89A3F; font-size: 13px; }
.share-bar { height: 8px; background: #222; border-radius: 99px; overflow: hidden; min-width: 80px; }
.share-bar i { display: block; height: 100%; }
.wait { color: #E89A3F; font-weight: 700; }
.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.fees-grid small { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.store-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.store-pick > span:not(.store-pick-name) {
  border: 1px solid var(--yellow);
  color: var(--yellow);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
}
.field .store-pick label input,
.field .store-pick label input[type="checkbox"],
.release-edit .store-pick input,
.release-edit .store-pick input[type="checkbox"],
.store-pick label input,
.store-pick label input[type="checkbox"],
.store-pick input.store-pick-box {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  margin: 0 2px 0 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  flex: 0 0 auto !important;
  z-index: auto !important;
  pointer-events: auto !important;
  cursor: pointer;
  accent-color: var(--purple);
}
.store-pick-name {
  display: inline-block;
  flex: 0 1 auto;
  min-width: 0;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: none;
  white-space: nowrap;
}
.toggle-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 14px;
  color: var(--muted-2);
  cursor: pointer;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  min-height: 44px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.toggle-input {
  position: absolute;
  left: 0;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: 0;
  transform: translateY(-50%);
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  appearance: none;
  -webkit-appearance: none;
}
.toggle {
  width: 36px;
  height: 20px;
  border-radius: 99px;
  background: #333;
  position: relative;
  display: inline-block;
  flex: 0 0 36px;
  pointer-events: none;
}
.toggle.on,
.toggle-input:checked + .toggle { background: var(--yellow); }
.toggle::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #111;
  top: 3px;
  left: 3px;
}
.toggle.on::after,
.toggle-input:checked + .toggle::after { left: 19px; }
.toggle-input:focus-visible + .toggle {
  box-shadow: 0 0 0 3px rgba(125, 60, 255, 0.22);
}
.release-extra { margin: 0 0 8px; }
.release-time-row {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(160px, 1fr);
  gap: 12px;
  max-width: 420px;
}
.due-line {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  color: var(--muted-2);
}
[data-for-plans][hidden],
[data-for-plans].is-hidden { display: none !important; }
.prescreen { border: 1px solid #4C7DFF; }
.prescreen .pill { background: #4C7DFF; }
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.entry-card {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.entry-card.hot { border-color: var(--magenta); }
.prefill { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0 80px; }
.prefill article { background: #111; border-radius: 14px; padding: 18px; }
.prefill .n { color: #5EE7FF; font-weight: 800; margin-bottom: 8px; }
.carry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.carry small { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.amber-card {
  border: 1px solid #E89A3F;
  border-radius: 16px;
  padding: 22px;
  margin: 20px 0;
}
.amber-card h3 { color: #E89A3F; font-size: 12px; letter-spacing: 0.12em; }
.pub-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 18px 0;
  margin: 8px 0 20px;
}
.chart-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin-top: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.chart b.zero { min-height: 4px; background: #2A2A32; }

.center-page {
  padding: calc(var(--nav-h) + 88px) 0 100px;
  text-align: center;
}
.center-page .stack { width: min(480px, 100%); margin: 0 auto; text-align: left; }
.center-page.wide { text-align: left; }
.center-page.wide .stack { width: 100%; max-width: 1080px; }
.center-page h1 {
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 10px 0 14px;
  line-height: 1.05;
}
.center-lead { color: var(--muted); font-size: 15px; line-height: 1.55; margin-bottom: 28px; }
.center-lead b { color: #fff; font-weight: 700; }
.status-ok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.status-ok i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #111;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-style: normal;
}
.status-ok.lime, .lime { color: #A2FF00; }
.status-ok.lime i { background: #A2FF00; }
.help-box, .status-box {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 24px 0;
}
.help-box small, .section-lbl {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.help-box p { color: var(--muted-2); font-size: 14px; margin: 0; }
.status-box .row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted-2);
}
.status-box .row:last-child { border-bottom: none; }
.status-box .y { color: var(--yellow); font-weight: 800; font-variant-numeric: tabular-nums; }
.empty-card {
  background: #15111A;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 72px 48px;
  text-align: center;
}
.empty-card h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.empty-card p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.empty-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
  border: 1px solid rgba(125,60,255,0.45);
  display: grid;
  place-items: center;
  color: var(--purple-bright);
}
.empty-ico.blue { border-color: rgba(91,140,255,0.5); color: #5B8CFF; }
.empty-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-top: 26px;
  flex-wrap: wrap;
}
.ghost-link { color: var(--muted); font-size: 14px; }
.ghost-link:hover { color: #fff; }
.privacy-card {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 36px;
  max-width: 860px;
}
.privacy-card p { max-width: none; }
.legal .lede, .legal-doc .lede { color: var(--muted); font-size: 16px; max-width: 680px; margin-bottom: 10px; }
.form-grid.four { grid-template-columns: repeat(4, 1fr); }
.deduct { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.deduct .amber { color: #E89A3F; }
.deduct .ok { color: var(--green); font-weight: 700; }
.calc-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 8px;
  font-size: 16px;
  font-weight: 800;
}
.calc-total .ok { color: var(--green); }
.disclaimer { color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 14px; max-width: none; }
.method { display: flex; align-items: center; gap: 12px; }
.ach {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1A1A22;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offer {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.offer h3 {
  color: var(--magenta);
  font-size: 12px;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.offer .price { font-size: 1.7rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.03em; }
.offer > p { color: var(--muted); font-size: 14px; }
.offer ul { list-style: none; flex: 1; margin: 16px 0 18px; }
.offer li { color: var(--muted-2); font-size: 14px; margin-bottom: 10px; }
.offer li::before { content: "✓ "; color: var(--purple-bright); font-weight: 800; }
.offer.magenta li::before { color: var(--magenta); }
.offer.soon { opacity: 0.72; }
.offer.soon li::before { color: #666; }
.offer .foot { color: var(--muted); font-size: 12px; margin-top: 10px; }
.soon-badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}
.btn-solid-magenta {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 60, 142, 0.28);
}
.proto {
  display: inline-flex;
  gap: 8px;
  border: 1px dashed rgba(240,200,74,0.5);
  border-radius: 12px;
  padding: 6px 8px;
  margin-bottom: 18px;
}
.proto span,
.proto button {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted-2);
  background: transparent;
  border: 1px solid transparent;
  font-family: inherit;
  cursor: pointer;
}
.proto .on { border: 1px solid var(--yellow); color: var(--yellow); }
.back-link {
  display: inline-block;
  color: var(--purple-bright);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.confirm-bar, .next-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.confirm-bar {
  background: #12121A;
  border-radius: 16px;
  padding: 22px 24px;
  margin: 28px 0;
}
.confirm-bar small, .next-4 small, .know small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.confirm-bar b { font-size: 15px; }
.next-4 article {
  background: #12121A;
  border-radius: 14px;
  padding: 18px;
}
.next-4 .n { color: var(--green); font-weight: 800; font-size: 20px; }
.next-4.purple .n { color: var(--purple-bright); }
.next-4 h3 { font-size: 15px; margin: 8px 0 6px; letter-spacing: 0; text-transform: none; color: #fff; }
.next-4 p { color: var(--muted); font-size: 13px; margin: 0; }
.confirm-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.signed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.signed-card {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.signed-card.hot { border-color: var(--purple); }
.signed-card .lbl {
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.signed-card h3 { font-size: 1.25rem; margin: 8px 0 10px; }
.kv {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.kv b { color: #fff; font-weight: 600; }
.kv .share { color: var(--purple-bright); font-weight: 800; }
.check-list { list-style: none; margin: 16px 0 20px; }
.check-list li {
  position: relative;
  padding: 7px 0 7px 22px;
  color: var(--muted-2);
  font-size: 14px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple-bright);
  font-weight: 800;
}
.know { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 36px 0 80px; }
.know h4 { font-size: 15px; margin-bottom: 8px; }
.know p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.gold-link { color: var(--gold); font-weight: 700; }
.sec-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.security-form,
.delete-confirm { margin-top: 16px; max-width: 420px; }
.security-form[hidden],
.delete-confirm[hidden] { display: none; }
.sign-out { color: #FF6B9A !important; border-color: rgba(255,107,154,0.55) !important; }
.field input.accent { border-color: var(--purple); }
.date-picker-field {
  max-width: 220px;
  margin-bottom: 16px;
  overflow: visible;
}
.field input.date-picker.is-invalid,
.field input.date-picker[aria-invalid="true"] {
  border-color: var(--magenta);
}
.hint.is-error { color: var(--magenta); }
.field input.date-picker,
.field input[type="date"].date-picker {
  width: 100%;
  max-width: 220px;
  min-height: 48px;
  color: #fff;
  color-scheme: dark;
  accent-color: var(--purple);
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  border-color: rgba(125, 60, 255, 0.4);
}
.field input.date-picker::-webkit-datetime-edit,
.field input.date-picker::-webkit-datetime-edit-fields-wrapper,
.field input.date-picker::-webkit-datetime-edit-text,
.field input.date-picker::-webkit-datetime-edit-month-field,
.field input.date-picker::-webkit-datetime-edit-day-field,
.field input.date-picker::-webkit-datetime-edit-year-field,
.field input.date-picker::-webkit-datetime-edit-year-field:focus,
.field input.date-picker::-webkit-datetime-edit-month-field:focus,
.field input.date-picker::-webkit-datetime-edit-day-field:focus {
  color: #fff;
}
.field input.date-picker::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.92;
  width: 18px;
  height: 18px;
  filter: invert(1) sepia(1) saturate(5) hue-rotate(230deg);
}
.field input.date-picker:focus {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(125, 60, 255, 0.22);
}
.field input[type="time"].date-picker {
  color-scheme: dark;
  min-height: 48px;
}
@media (max-width: 640px) {
  .date-picker-field,
  .field input.date-picker,
  .field input[type="date"].date-picker,
  .field input[type="time"].date-picker {
    max-width: 260px;
    min-height: 52px;
    font-size: 16px;
  }
  .release-time-row { grid-template-columns: 1fr; }
}
.note { color: var(--muted); font-size: 13px; text-align: center; margin-top: 18px; }
.thumb.lg { width: 56px; height: 56px; border-radius: 10px; }

@media (max-width: 1180px) {
  .nav-links,
  .nav-actions { display: none; }
  .public-header-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
  }
  .public-header-tools .login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
  }
  .public-menu-toggle { display: inline-flex; }
  .nav.nav-open .nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    transform: none;
    gap: 16px;
    padding: 16px 24px 22px;
    background: #0C0C12;
    border-bottom: 1px solid var(--line);
    z-index: 60;
  }
  .nav.nav-open .nav-links,
  .nav.nav-open .nav-actions {
    display: flex;
    position: static;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    white-space: normal;
  }
  .nav.nav-open .nav-links a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .nav.nav-open .nav-item.has-submenu {
    display: block;
    width: 100%;
  }
  .nav.nav-open .nav-item-row {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav.nav-open .nav-item-row > a {
    flex: 1 1 auto;
    border-bottom: none;
    padding-right: 8px;
  }
  .nav.nav-open .nav-submenu-toggle {
    width: 44px;
    height: 44px;
    margin-right: -8px;
  }
  .nav.nav-open .nav-submenu {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    display: none;
    min-width: 0;
    padding: 0 0 0 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .nav.nav-open .nav-item.has-submenu.open .nav-submenu {
    display: flex;
    flex-direction: column;
  }
  .nav.nav-open .nav-actions .login,
  .nav.nav-open .nav-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .public-nav-backdrop {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 55;
  }
  .nav.nav-open .public-nav-backdrop { display: block; }
  body.public-nav-open { overflow: hidden; }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-actions { display: none; }
  .public-header-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
  }
  .public-header-tools .login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
  }
  .public-menu-toggle { display: inline-flex; }
  .nav.nav-open .nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    transform: none;
    gap: 16px;
    padding: 16px 24px 22px;
    background: #0C0C12;
    border-bottom: 1px solid var(--line);
    z-index: 60;
  }
  .nav.nav-open .nav-links,
  .nav.nav-open .nav-actions {
    display: flex;
    position: static;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .nav.nav-open .nav-links a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav.nav-open .nav-item.has-submenu {
    display: block;
    width: 100%;
  }
  .nav.nav-open .nav-item-row {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav.nav-open .nav-item-row > a {
    flex: 1 1 auto;
    border-bottom: none;
    padding-right: 8px;
  }
  .nav.nav-open .nav-submenu-toggle {
    width: 44px;
    height: 44px;
    margin-right: -8px;
  }
  .nav.nav-open .nav-submenu {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    display: none;
    min-width: 0;
    padding: 0 0 0 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .nav.nav-open .nav-item.has-submenu.open .nav-submenu {
    display: flex;
    flex-direction: column;
  }
  .nav.nav-open .nav-actions .login,
  .nav.nav-open .nav-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .public-nav-backdrop {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 55;
  }
  .nav.nav-open .public-nav-backdrop { display: block; }
  body.public-nav-open { overflow: hidden; }
  .pub-call { flex-direction: column; align-items: flex-start; }
  .pub-call-actions { text-align: left; }
  .plans, .steps-grid, .cta-inner, .footer-grid, .pricing-head, .auth, .two-col, .review-grid, .form-grid, .art-row, .opt-grid, .workflow, .metric-row, .after, .pub-band, .writer-grid, .hero-split, .process-row, .exclude-grid, .how-cols, .boost-grid, .size-grid, .tease-grid, .pro-adds .row, .dash-preview, .about-grid, .contact-grid, .dash-top, .form-grid.three, .form-grid.four, .catalog-stats, .song-hero, .fees-grid, .entry-grid, .prefill, .carry, .pub-bar, .offer-grid, .plan-picker, .confirm-bar, .next-4, .know, .signed-grid {
    grid-template-columns: 1fr;
  }
  body.auth-full .auth {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    min-width: 0;
    min-height: 0;
  }
  .auth-hero,
  .auth-panel,
  .auth-card {
    min-width: 0;
    max-width: 100%;
  }
  .sign-buttons { justify-content: stretch; }
  .sign-buttons .btn { width: 100%; }
  .app { grid-template-columns: 1fr; }
  .side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(var(--side), 86vw);
    height: 100vh;
    height: 100dvh;
    z-index: 90;
    transform: translateX(-110%);
    transition: transform 0.2s ease;
    pointer-events: none;
    overflow-y: auto;
  }
  .app.nav-open .side {
    transform: translateX(0);
    pointer-events: auto;
  }
  .app-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 80;
  }
  .app.nav-open .app-nav-backdrop { display: block; }
  .app.nav-open { overflow: hidden; }
  .topbar {
    gap: 10px;
    overflow: visible;
    padding: 18px 14px;
    min-height: 88px;
    align-items: center;
  }
  .topbar .menu-toggle { display: inline-flex; }
  .topbar .menu-toggle-text { display: none; }
  .topbar .who { flex-shrink: 0; margin-left: 8px; }
  .topbar .who [data-account-who] { display: none; }
  .topbar .logo {
    overflow: visible;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 16px 8px 8px;
  }
  .topbar .logo img,
  .topbar .mobile-only-logo img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
    object-position: left center;
    display: block;
  }
  .topbar .mobile-only-logo {
    display: inline-flex;
    align-items: center;
    overflow: visible;
    flex: 1 1 auto;
    min-width: 0;
  }
  .page-head.head-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  [data-artist-edit] .artist-edit-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .artist-edit-actions {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .artist-edit-actions [data-artist-save],
  .artist-edit-actions [data-artist-delete] {
    width: 100%;
    justify-content: center;
    flex: none;
    white-space: nowrap;
  }
  .releases-head-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    width: 100%;
    position: static;
  }
  .releases-head-actions [data-new-release] {
    position: static;
    order: 1;
    width: 100%;
    justify-content: center;
    padding: 15px 28px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(125, 60, 255, 0.28);
  }
  .releases-head-actions [data-album-upload] {
    position: static;
    order: 2;
    width: auto;
    max-width: 100%;
    align-self: center;
    margin: 0;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: none;
  }
  .catalog-stats,
  .releases-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    text-align: center;
    justify-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  .catalog-stats div,
  .releases-stats div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 14px 6px;
    border-left: 1px solid var(--line);
    border-top: none;
  }
  .catalog-stats div:first-child,
  .releases-stats div:first-child { border-left: none; }
  .catalog-stats strong,
  .releases-stats strong { font-size: 1.35rem; }
  .catalog-stats span,
  .releases-stats span { text-align: center; }
  .release-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table.data td.release-edit-col .btn {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 14px;
    position: static;
  }
  .edit-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
  }
  .edit-actions [data-edit-save],
  .edit-actions [data-edit-retry] {
    width: 100%;
    min-height: 44px;
    padding: 10px 20px;
    font-size: 14px;
  }
  .edit-actions [data-edit-cancel] {
    width: 100%;
    order: 2;
    min-height: 44px;
    padding: 10px 20px;
  }
  .step + .step { border-left: none; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 20px; }
  .step { padding: 8px 0; }
  .pricing-head p { text-align: left; }
  .how-steps .step + .step { border: none; }
  .plans,
  .steps-grid,
  .footer-grid {
    width: 100%;
    justify-items: stretch;
  }
  .plans > .card,
  .steps-grid > .step,
  .footer-grid > * {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  /* Hero CTAs + 01/02/03: center in the wrap. Plans keep stretch above. */
  .hero-ctas {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .steps-grid {
    justify-items: center;
    text-align: center;
  }
  .steps-grid > .step {
    width: 100%;
    max-width: 360px;
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .step p {
    margin-left: auto;
    margin-right: auto;
  }
  .how-cols {
    justify-items: center;
    text-align: center;
  }
  .how-col {
    width: 100%;
    max-width: 420px;
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .how-col + .how-col {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 560px) {
  .wrap, .wrap-wide, .cta-band, .nav-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .cta-inner { padding: 36px 20px; }
  .hero { padding-top: calc(var(--nav-h) + 56px); }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 280px; }
  .page { padding: 22px 16px 40px; }
}

/* Phone header: logo + Login above the Menu pill. Release Now stays in the drawer. */
@media (max-width: 640px) {
  :root {
    --nav-h: 72px;
  }
  body.auth-full {
    overflow-x: hidden;
  }
  body.auth-full .auth-hero {
    display: none;
  }
  body.auth-full .auth-panel {
    position: relative;
    padding: 28px 16px 40px;
    border-left: none;
    border-top: none;
    min-height: calc(100vh - var(--nav-h));
    align-items: flex-start;
  }
  body.auth-full .auth-panel::before {
    content: "";
    position: absolute;
    inset: 8% auto auto 20%;
    width: 280px;
    height: 220px;
    background: radial-gradient(circle, rgba(139, 63, 232, 0.35) 0%, rgba(255, 61, 139, 0.1) 42%, transparent 70%);
    z-index: 0;
    pointer-events: none;
  }
  body.auth-full .auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
  }
  body.auth-full .auth-card h2 {
    font-size: 1.45rem;
    line-height: 1.25;
    overflow-wrap: break-word;
  }
  body.auth-full .auth-toggle a {
    font-size: 13px;
    padding: 10px 8px;
    white-space: normal;
    overflow: visible;
    line-height: 1.25;
  }
  body.auth-full .plai-bubble,
  body.app > .plai-bubble {
    z-index: 4000;
    right: 12px;
    bottom: 12px;
  }
  .nav-inner {
    gap: 8px;
  }
  .nav .logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }
  .nav .logo img {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
  }
  .nav.nav-open .nav-actions {
    gap: 10px;
  }
  .nav.nav-open .nav-actions .login,
  .nav.nav-open .nav-actions .btn {
    white-space: nowrap;
    width: 100%;
    justify-content: center;
  }
  .app .topbar {
    overflow: visible;
    min-height: 88px;
    padding: 20px 12px;
  }
  .app .topbar .logo img,
  .app .topbar .mobile-only-logo img {
    height: auto;
    max-height: 38px;
    max-width: 100%;
    object-fit: contain;
  }
  .app .page .releases-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    justify-items: center;
  }
  .release-pills {
    flex-wrap: nowrap;
    gap: 5px;
    margin-top: 14px;
    width: 100%;
    max-width: 100%;
  }
  .release-pills .btn {
    padding: 6px 8px;
    font-size: 12px;
    letter-spacing: -0.02em;
    min-width: 0;
    box-shadow: none;
  }
  .release-pills [data-all-releases] { order: 1; }
  .release-pills [data-latest-edit] { order: 2; }
  .release-pills [data-new-release] { order: 3; }
}

@media (max-width: 400px) {
  body.auth-full .auth-card h2 { font-size: 1.35rem; }
  body.auth-full .auth-toggle a { font-size: 13px; padding: 10px 6px; }
  .nav-inner {
    padding-left: 12px;
    padding-right: 12px;
    gap: 6px;
  }
  .nav .logo img {
    height: 44px;
    max-width: 200px;
  }
  .release-pills { gap: 4px; }
  .release-pills .btn {
    padding: 5px 6px;
    font-size: 11px;
  }
}

/* PLAI Coach: layout + avatar slot only. Use existing site tokens. */
.plai-coach-grid {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}
.plai-coach-identity { text-align: left; }
.plai-coach-identity .sub { margin-top: 0; }
.plai-coach-avatar {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
  font-size: 16px;
  overflow: hidden;
}
.plai-coach-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.plai-coach-avatar img[hidden] { display: none; }
.plai-coach-avatar.is-float {
  width: 56px;
  height: 56px;
  margin: 0;
  font-size: 11px;
}
.plai-coach-chat {
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.plai-coach-status {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 10px;
}
.plai-coach-log {
  flex: 1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plai-coach-msg {
  max-width: 92%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}
.plai-coach-msg.is-user {
  align-self: flex-end;
  background: var(--purple);
  color: #fff;
}
.plai-coach-msg.is-plai {
  align-self: flex-start;
  background: var(--card-2);
  border: 1px solid var(--line);
}
.plai-coach-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.plai-coach-composer .field {
  flex: 1;
  margin: 0;
}
.plai-coach-plan { min-height: 120px; }
.plai-coach-plan h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 0;
}
.plai-coach-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.plai-coach-float {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 3500;
}
.plai-coach-float details {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
}
.plai-coach-float-hit {
  list-style: none;
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
}
.plai-coach-float-hit::-webkit-details-marker { display: none; }
.plai-coach-float-pop {
  width: min(260px, calc(100vw - 48px));
  padding: 18px 18px 20px;
}
.plai-coach-float-pop p {
  margin: 0 0 12px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .plai-coach-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .plai-coach-float {
    right: 12px;
    bottom: 80px;
  }
}
