:root {
  --bg: #f5f7f9;
  --panel: #ffffff;
  --panel-soft: #f9fbfc;
  --line: #e6ebef;
  --line-strong: #d7dee5;
  --text: #151b22;
  --muted: #6a7682;
  --subtle: #8a96a3;
  --cyan: #02aeea;
  --cyan-dark: #008cc4;
  --teal: #1fa79a;
  --blue: #1666d8;
  --green: #27b36a;
  --amber: #d8921f;
  --rose: #e66d8f;
  --shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
  --side-width: 84px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(245, 247, 249, 0) 280px),
    var(--bg);
  font-family:
    Inter,
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
}

body.app-booting {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.08), transparent 34%),
    linear-gradient(205deg, rgba(230, 187, 97, 0.1), transparent 38%),
    linear-gradient(180deg, #071011 0%, #0a1115 48%, #0d1210 100%);
}

body.app-booting .app-shell {
  opacity: 0;
  pointer-events: none;
}

body.app-booting::before,
body.app-booting::after {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
}

body.app-booting::before {
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 42%, rgba(43, 216, 195, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(7, 16, 17, 0.96), rgba(7, 16, 17, 1));
}

body.app-booting::after {
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  content: "";
  border: 2px solid rgba(239, 248, 245, 0.16);
  border-top-color: #2bd8c3;
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(43, 216, 195, 0.28);
  transform: translate(-50%, -50%);
  animation: bootSpinner 820ms linear infinite;
}

@keyframes bootSpinner {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(2, 174, 234, 0.22);
  outline-offset: 2px;
}

.app-shell {
  min-height: 100vh;
  transition: opacity 140ms ease-out;
}

body:not(.app-booting) .app-shell {
  opacity: 1;
  pointer-events: auto;
}

.side-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: var(--side-width);
  padding: 24px 12px 18px;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.68);
  border-right: 1px solid rgba(226, 232, 238, 0.74);
  backdrop-filter: blur(18px);
}

.brand-button {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  background: transparent;
}

.brand-mark {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  background: url("./assets/pumeow-logo.png?v=20260605-stage11") center / contain no-repeat;
  border-radius: 999px;
  filter: drop-shadow(0 8px 18px rgba(43, 216, 195, 0.26));
}

.brand-mark::after {
  display: none;
  content: none;
}

.nav-stack {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 12px;
}

.nav-item,
.round-tool,
.avatar-button,
.points-ticket {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-item {
  min-height: 50px;
  width: 100%;
  flex-direction: column;
  gap: 5px;
  color: var(--text);
  background: transparent;
  border-radius: 8px;
  font-size: 12px;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.nav-item:hover,
.nav-item.is-active {
  color: var(--cyan-dark);
  background: #eef8fc;
}

.nav-item:active,
.feature-card:active,
.gallery-card:active {
  transform: translateY(1px);
}

.nav-item small {
  padding: 1px 4px;
  color: #038bb8;
  background: #c7f1ff;
  border-radius: 4px;
  font-size: 9px;
  line-height: 1.2;
}

.nav-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.nav-icon::before,
.nav-icon::after {
  position: absolute;
  content: "";
}

.icon-home::before {
  inset: 5px 3px 2px;
  background: currentColor;
  border-radius: 3px;
}

.icon-home::after {
  left: 3px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-top: 4px solid currentColor;
  border-left: 4px solid currentColor;
  border-radius: 3px 0 0;
  transform: rotate(45deg);
}

.icon-spark::before {
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 2px;
  transform: rotate(45deg) scale(0.78);
}

.icon-folder::before {
  left: 2px;
  right: 2px;
  bottom: 3px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-folder::after {
  left: 4px;
  top: 3px;
  width: 7px;
  height: 4px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.icon-grid::before {
  left: 3px;
  top: 3px;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
  box-shadow:
    9px 0 0 currentColor,
    0 9px 0 currentColor,
    9px 9px 0 currentColor;
}

.icon-octo::before {
  inset: 1px;
  background: #111820;
  border-radius: 6px;
}

.icon-octo::after {
  left: 5px;
  top: 5px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.icon-bell::before {
  left: 4px;
  top: 3px;
  width: 10px;
  height: 11px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 3px 3px;
}

.icon-bell::after {
  left: 6px;
  bottom: 2px;
  width: 6px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.icon-user::before {
  left: 6px;
  top: 3px;
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-user::after {
  left: 3px;
  bottom: 2px;
  width: 12px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 9px 9px 3px 3px;
}

.icon-search::before {
  left: 3px;
  top: 3px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-search::after {
  right: 3px;
  bottom: 3px;
  width: 7px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: rotate(45deg);
}

.icon-info::before {
  left: 8px;
  top: 7px;
  width: 2px;
  height: 8px;
  background: currentColor;
  border-radius: 999px;
}

.icon-info::after {
  left: 7px;
  top: 3px;
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 999px;
}

.side-spacer {
  flex: 1;
}

.points-ticket {
  width: 58px;
  min-height: 54px;
  flex-direction: column;
  gap: 4px;
  color: var(--cyan-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
}

.points-ticket span:first-child {
  font-weight: 800;
}

.avatar-button,
.round-tool {
  width: 36px;
  height: 36px;
  color: #667584;
  background: transparent;
  border-radius: 999px;
}

.avatar-button {
  color: #fff;
  background: linear-gradient(135deg, #303c80, #24b7d8 52%, #73d879);
  font-weight: 800;
}

.round-tool:hover,
.avatar-button:hover {
  background-color: #eef4f7;
}

.unread-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 9px;
  height: 9px;
  background: var(--rose);
  border: 2px solid #fff;
  border-radius: 999px;
}

.main-area {
  --main-gutter: clamp(24px, 5vw, 56px);
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin-left: var(--side-width);
  padding: 32px var(--main-gutter) 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto 28px;
  max-width: 1200px;
}

.topbar h1,
.section-heading h2,
.modal h2 {
  margin: 0;
  letter-spacing: 0;
}

.topbar h1 {
  font-size: clamp(24px, 3vw, 34px);
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  text-align: left;
}

.topbar-brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  background: linear-gradient(135deg, #303c80, #24b7d8 52%, #73d879);
  border-radius: 10px 999px 999px;
}

.topbar-brand-mark::after {
  position: absolute;
  inset: 9px;
  background: #fff;
  border-radius: 999px 999px 999px 4px;
  content: "";
}

.topbar-brand-text {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.topbar-brand-text small {
  color: var(--cyan-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.topbar-brand-text strong {
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.ghost-button,
.primary-button,
.mode-switch,
.tab-button,
.tool-chip,
.icon-chip {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
}

.ghost-button:hover,
.tool-chip:hover,
.icon-chip:hover,
.tab-button:hover {
  border-color: #cfe5ee;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
}

.count-pill {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  place-items: center;
  color: #fff;
  background: var(--rose);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 0 18px;
  color: #fff;
  background: var(--text);
  box-shadow: 0 12px 24px rgba(21, 27, 34, 0.14);
  font-weight: 800;
}

.primary-button:hover {
  transform: translateY(-1px);
  background: #0b1117;
  box-shadow: 0 16px 30px rgba(21, 27, 34, 0.18);
}

.primary-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
  box-shadow: none;
}

.full-width {
  width: 100%;
}

.view {
  display: none;
  margin: 0 auto;
  max-width: 1200px;
}

.view.is-active {
  display: block;
}

.home-hero {
  position: relative;
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(24px, 5vw, 54px);
  align-items: end;
  margin: 20px 0 30px;
  overflow: hidden;
  padding: clamp(34px, 6vw, 74px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.86), rgba(7, 16, 25, 0.48) 56%, rgba(7, 16, 25, 0.2)),
    url("./assets/hero-console.png") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.18);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(0deg, rgba(7, 16, 25, 0.72), transparent 44%);
  content: "";
}

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

.home-hero-copy {
  display: flex;
  min-height: 0;
  max-width: 760px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-hero-copy h2 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6.5vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.9;
}

.home-hero .eyebrow {
  color: #7fe9ff;
}

.home-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.home-actions .primary-button,
.home-actions .ghost-button {
  min-width: 132px;
}

.home-actions .ghost-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.home-actions .ghost-button:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-status {
  align-self: stretch;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(20px);
}

.status-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-topline strong {
  color: #7fffd4;
}

.status-pulse {
  position: relative;
  display: grid;
  min-height: 138px;
  place-items: center;
}

.status-pulse::before {
  position: absolute;
  width: 86px;
  height: 86px;
  background: rgba(126, 227, 255, 0.16);
  border: 1px solid rgba(126, 227, 255, 0.5);
  border-radius: 8px;
  content: "";
  transform: rotate(45deg);
}

.status-pulse span {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #7fffd4;
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(127, 255, 212, 0.72);
}

.status-pulse span:nth-child(1) {
  transform: translate(-56px, -22px);
}

.status-pulse span:nth-child(2) {
  width: 26px;
  height: 26px;
}

.status-pulse span:nth-child(3) {
  transform: translate(58px, 24px);
  background: #ffd666;
  box-shadow: 0 0 28px rgba(255, 214, 102, 0.72);
}

.status-grid {
  display: grid;
  gap: 10px;
}

.status-grid div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.status-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.status-grid strong {
  display: block;
  margin-top: 7px;
  color: #fff;
}

.flow-section,
.module-lab {
  margin-top: 34px;
}

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

.flow-step {
  position: relative;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.flow-step::after {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 68px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--green), #ffd666);
  border-radius: 999px;
  content: "";
  opacity: 0.5;
}

.flow-step:hover,
.module-slot:hover,
.intro-card:hover {
  border-color: #aee7f4;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.1);
  transform: translateY(-3px);
}

.flow-step span {
  display: inline-flex;
  min-width: 42px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--cyan-dark);
  background: #eff9fc;
  border-radius: 8px;
  font-weight: 900;
}

.flow-step h3,
.flow-step p {
  margin: 0;
}

.flow-step h3 {
  margin-top: 54px;
  font-size: 20px;
  letter-spacing: 0;
}

.flow-step p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.72;
}

.module-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(420px, 1.14fr);
  gap: 14px;
}

.module-slots {
  display: grid;
  gap: 10px;
}

.module-slot {
  display: grid;
  min-height: 90px;
  grid-template-columns: 46px 1fr;
  gap: 6px 12px;
  align-items: center;
  padding: 16px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.05);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.module-slot.is-active {
  background: #eff9fc;
  border-color: #9adff2;
}

.module-slot span {
  grid-row: 1 / span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: #111820;
  border-radius: 8px;
  font-weight: 900;
}

.module-slot:nth-child(2) span {
  background: var(--green);
}

.module-slot:nth-child(3) span {
  background: var(--amber);
}

.module-slot:nth-child(4) span {
  background: var(--rose);
}

.module-slot strong,
.module-slot small {
  min-width: 0;
}

.module-slot strong {
  font-size: 17px;
}

.module-slot small {
  color: var(--muted);
  font-size: 13px;
}

.module-preview {
  position: relative;
  min-height: 392px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(10, 20, 30, 0.78), rgba(10, 84, 90, 0.84)),
    url("./assets/hero-console.png") center / cover no-repeat;
  border-radius: 8px;
  box-shadow: 0 22px 56px rgba(16, 24, 40, 0.14);
}

.module-preview[data-theme="member"] {
  background:
    linear-gradient(135deg, rgba(9, 31, 24, 0.84), rgba(39, 145, 85, 0.82)),
    url("./assets/hero-console.png") center / cover no-repeat;
}

.module-preview[data-theme="content"] {
  background:
    linear-gradient(135deg, rgba(41, 26, 11, 0.84), rgba(188, 117, 20, 0.82)),
    url("./assets/hero-console.png") center / cover no-repeat;
}

.module-preview[data-theme="business"] {
  background:
    linear-gradient(135deg, rgba(40, 22, 38, 0.84), rgba(180, 68, 110, 0.82)),
    url("./assets/hero-console.png") center / cover no-repeat;
}

.module-preview::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  content: "";
}

.module-preview span,
.module-preview h3,
.module-preview p,
.preview-rails {
  position: relative;
  z-index: 1;
}

.module-preview span {
  color: #7fe9ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.module-preview h3,
.module-preview p {
  margin: 0;
}

.module-preview h3 {
  max-width: 540px;
  margin-top: 96px;
  font-size: clamp(30px, 4.5vw, 50px);
  letter-spacing: 0;
}

.module-preview p {
  max-width: 560px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.8;
}

.preview-rails {
  display: grid;
  max-width: 430px;
  gap: 10px;
  margin-top: 28px;
}

.preview-rails i {
  height: 8px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.preview-rails i:nth-child(1) {
  width: 100%;
}

.preview-rails i:nth-child(2) {
  width: 76%;
}

.preview-rails i:nth-child(3) {
  width: 52%;
  background: linear-gradient(90deg, #7fe9ff, #ffd666);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 22px;
  align-items: stretch;
  margin: 20px 0 28px;
}

.home-hero-copy {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(120deg, rgba(2, 174, 234, 0.08), rgba(255, 255, 255, 0) 44%),
    #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.home-hero-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5.2vw, 66px);
  line-height: 1.05;
  letter-spacing: 0;
}

.home-hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.home-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.home-actions .primary-button,
.home-actions .ghost-button {
  min-width: 124px;
}

.trust-row {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.trust-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: #344451;
  background: #f4f8fa;
  border: 1px solid #e2eaf0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.home-visual {
  position: relative;
  display: grid;
  min-height: 390px;
  align-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #111820 0%, #12394a 42%, #167568 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.1);
}

.home-visual::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 78%);
}

.home-visual::after {
  position: absolute;
  right: -36px;
  bottom: -34px;
  width: 190px;
  height: 190px;
  background:
    linear-gradient(135deg, rgba(255, 214, 102, 0.9), rgba(39, 179, 106, 0.2)),
    #1fa79a;
  clip-path: polygon(50% 0, 72% 32%, 100% 50%, 72% 68%, 50% 100%, 28% 68%, 0 50%, 28% 32%);
  content: "";
  opacity: 0.76;
}

.visual-header,
.visual-core,
.visual-metrics {
  position: relative;
  z-index: 1;
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  text-transform: uppercase;
}

.visual-header span {
  width: 46px;
  height: 6px;
  background: linear-gradient(90deg, var(--cyan), #ffd666);
  border-radius: 999px;
}

.visual-core {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
}

.core-ring {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.05);
}

.core-ring span {
  font-size: 24px;
  font-weight: 900;
}

.visual-core h3,
.visual-core p {
  margin: 0;
}

.visual-core h3 {
  font-size: 28px;
  letter-spacing: 0;
}

.visual-core p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.visual-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.visual-metrics div {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.visual-metrics span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.visual-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

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

.intro-card {
  min-width: 0;
  min-height: 210px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.intro-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  font-weight: 900;
}

.intro-icon.account {
  background: #111820;
}

.intro-icon.wallet {
  background: var(--cyan-dark);
}

.intro-icon.message {
  background: var(--rose);
}

.intro-icon.module {
  background: var(--green);
}

.intro-card h3,
.intro-card p {
  margin: 0;
}

.intro-card h3 {
  margin-top: 18px;
  font-size: 19px;
  letter-spacing: 0;
}

.intro-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading.compact {
  margin-top: 42px;
}

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

.theme-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  border-radius: 8px;
}

.theme-card::before {
  position: absolute;
  right: -22px;
  bottom: -18px;
  width: 148px;
  height: 148px;
  background: rgba(255, 255, 255, 0.16);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  content: "";
}

.theme-card div {
  position: relative;
  z-index: 1;
  max-width: 290px;
}

.theme-card span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 900;
}

.theme-card h3,
.theme-card p {
  margin: 0;
}

.theme-card h3 {
  margin-top: 96px;
  font-size: 25px;
  letter-spacing: 0;
}

.theme-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.theme-ai {
  background: linear-gradient(135deg, #13202b, #146c84);
}

.theme-member {
  background: linear-gradient(135deg, #25302a, #27b36a);
}

.theme-content {
  background: linear-gradient(135deg, #2b2118, #d8921f);
}

/* Current homepage presentation overrides the earlier scaffold styles. */
.home-hero {
  position: relative;
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(24px, 5vw, 54px);
  align-items: end;
  margin: 20px 0 30px;
  overflow: hidden;
  padding: clamp(34px, 6vw, 74px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.86), rgba(7, 16, 25, 0.48) 56%, rgba(7, 16, 25, 0.2)),
    url("./assets/hero-console.png") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.18);
}

.home-hero-copy {
  display: flex;
  min-height: 0;
  max-width: 760px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-hero-copy h2 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.04;
}

.home-hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.9;
}

.home-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-copy {
  display: flex;
  justify-content: center;
  margin: 30px 0 42px;
  text-align: center;
}

.hero-copy h2 {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: 0;
}

.mode-switch {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 8px;
  color: var(--cyan-dark);
  background: transparent;
  border-color: transparent;
  font-size: inherit;
  font-weight: 800;
  vertical-align: baseline;
}

.mode-switch::after {
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-3px);
}

.composer-panel {
  position: relative;
  min-height: 176px;
  padding: 20px 20px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(16, 24, 40, 0.08);
}

.attach-card {
  position: absolute;
  top: 22px;
  left: 24px;
  display: grid;
  width: 48px;
  height: 64px;
  place-items: center;
  color: #9aa6af;
  background: #f0f2f4;
  border: 1px solid #e4e8ec;
  border-radius: 4px;
  font-size: 26px;
  transform: rotate(-8deg);
}

.composer-panel textarea {
  display: block;
  width: 100%;
  min-height: 92px;
  padding: 0 86px 0 74px;
  color: var(--text);
  background: transparent;
  border: 0;
  resize: vertical;
  line-height: 1.8;
}

.composer-panel textarea::placeholder {
  color: #94a0aa;
}

.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
}

.composer-tools,
.composer-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tool-chip,
.icon-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: var(--text);
  background: #fff;
  font-size: 13px;
}

.tool-chip:first-child {
  color: var(--cyan-dark);
  background: #eff8fb;
}

.icon-chip {
  width: 38px;
  padding: 0;
  justify-content: center;
  font-weight: 800;
}

.chip-mark {
  width: 14px;
  height: 14px;
  border-left: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  border-radius: 50%;
  transform: rotate(32deg);
}

.mini-lines,
.mini-link {
  position: relative;
  width: 14px;
  height: 14px;
}

.mini-lines::before,
.mini-lines::after {
  position: absolute;
  left: 1px;
  width: 12px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  content: "";
}

.mini-lines::before {
  top: 4px;
  box-shadow: 0 5px 0 currentColor;
}

.mini-lines::after {
  top: 2px;
  width: 2px;
  height: 6px;
  box-shadow: 8px 5px 0 currentColor;
}

.mini-link::before,
.mini-link::after {
  position: absolute;
  width: 9px;
  height: 5px;
  border: 2px solid currentColor;
  border-radius: 999px;
  content: "";
}

.mini-link::before {
  left: 0;
  top: 5px;
  transform: rotate(-35deg);
}

.mini-link::after {
  right: 0;
  top: 2px;
  transform: rotate(-35deg);
}

.mic-button,
.send-button {
  position: relative;
  width: 38px;
  height: 38px;
  background: transparent;
  border-radius: 999px;
}

.mic-button::before {
  position: absolute;
  left: 14px;
  top: 8px;
  width: 8px;
  height: 15px;
  border: 2px solid #8494a3;
  border-radius: 999px;
  content: "";
}

.mic-button::after {
  position: absolute;
  left: 10px;
  top: 20px;
  width: 16px;
  height: 10px;
  border-bottom: 2px solid #8494a3;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-radius: 0 0 999px 999px;
  content: "";
}

.send-button {
  background: #e3e8ee;
}

.send-button::before {
  position: absolute;
  left: 13px;
  top: 12px;
  width: 10px;
  height: 10px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  content: "";
  transform: rotate(-45deg);
}

.feature-strip {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(150px, 1fr));
  gap: 10px;
  margin: 40px 0 76px;
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.04);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.feature-card:hover,
.gallery-card:hover {
  border-color: #c9e4ee;
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.1);
  transform: translateY(-2px);
}

.feature-card h3,
.feature-card p {
  margin: 0;
}

.feature-card h3 {
  font-size: 15px;
}

.feature-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.feature-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.feature-icon.black {
  background: #05070a;
}

.feature-icon.cyan {
  background: linear-gradient(135deg, #25c2ed, #d2fbff 48%, #2295ff);
}

.feature-icon.teal {
  background: linear-gradient(135deg, #1887a5, #46d4cd);
}

.feature-icon.blue {
  background: linear-gradient(135deg, #064bc2, #0b7aff);
}

.tint-mint {
  background: linear-gradient(135deg, #f9ffff, #f0fbf8);
}

.beta-tag {
  position: absolute;
  right: 10px;
  top: 0;
  padding: 2px 5px;
  color: #038bb8;
  background: #bff1ff;
  border-radius: 0 0 4px 4px;
  font-size: 10px;
  font-weight: 800;
}

.arrow-mark {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-top: 2px solid #71808f;
  border-right: 2px solid #71808f;
  transform: rotate(45deg);
}

.feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.tab-group {
  display: flex;
  gap: 10px;
}

.tab-button {
  min-width: 66px;
  padding: 0 16px;
  color: #53616e;
  background: transparent;
}

.tab-button.is-active {
  color: var(--text);
  background: #e9edf2;
}

.search-box {
  display: flex;
  width: min(312px, 100%);
  height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #677481;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(300px, 2fr) repeat(3, minmax(180px, 1fr));
  gap: 2px;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-card {
  position: relative;
  min-height: 264px;
  overflow: hidden;
  background: #1f2933;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.gallery-card::before,
.gallery-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.gallery-large {
  min-height: 264px;
}

.visual-gold {
  background:
    linear-gradient(0deg, rgba(58, 26, 0, 0.78), rgba(58, 26, 0, 0.1) 58%),
    linear-gradient(120deg, #6f2c08, #c47b22 55%, #efd178);
}

.visual-gold::before {
  left: 0;
  right: 0;
  bottom: 0;
  height: 76px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 236, 178, 0.45) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, rgba(241, 198, 81, 0), rgba(241, 198, 81, 0.7));
}

.visual-gold::after {
  left: 50%;
  bottom: 54px;
  width: 52px;
  height: 72px;
  background: linear-gradient(180deg, #fff8de, #f1b340);
  clip-path: polygon(48% 0, 66% 36%, 100% 46%, 66% 56%, 54% 100%, 40% 57%, 0 48%, 36% 36%);
}

.visual-warrior {
  background:
    linear-gradient(0deg, rgba(11, 17, 23, 0.72), rgba(11, 17, 23, 0.1) 58%),
    linear-gradient(140deg, #0e1721, #44515c 56%, #9fb0bf);
}

.visual-warrior::before {
  left: 46%;
  top: 16px;
  width: 64px;
  height: 210px;
  border-left: 7px solid rgba(13, 18, 22, 0.85);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.visual-warrior::after {
  left: 38%;
  bottom: 40px;
  width: 82px;
  height: 132px;
  background:
    linear-gradient(130deg, transparent 0 28%, rgba(250, 252, 255, 0.48) 28% 36%, transparent 36%),
    linear-gradient(180deg, #1d252e, #687481);
  border-radius: 36px 36px 12px 12px;
}

.visual-studio {
  background:
    linear-gradient(0deg, rgba(248, 250, 252, 0.84), rgba(248, 250, 252, 0.1) 48%),
    linear-gradient(140deg, #d8e2ea, #f8f9fb 50%, #9bb2c3);
}

.visual-studio::before {
  left: 28%;
  top: 42px;
  width: 128px;
  height: 128px;
  background: #fff;
  border: 1px solid rgba(60, 72, 85, 0.16);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(60, 72, 85, 0.18);
  transform: rotate(-4deg);
}

.visual-studio::after {
  left: 34%;
  top: 92px;
  width: 78px;
  height: 16px;
  background: #2c3742;
  border-radius: 999px;
  box-shadow: 0 32px 0 #aeb8c2;
}

.visual-city {
  background:
    linear-gradient(0deg, rgba(7, 18, 21, 0.78), rgba(7, 18, 21, 0.12) 58%),
    linear-gradient(120deg, #17231c, #366b5c 52%, #d5a44d);
}

.visual-city::before {
  right: 48px;
  bottom: 46px;
  width: 130px;
  height: 120px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 220, 120, 0.72) 18% 22%, transparent 22%),
    linear-gradient(180deg, transparent 0 34%, rgba(255, 220, 120, 0.6) 34% 38%, transparent 38%),
    linear-gradient(180deg, #1a3b35, #071215);
  clip-path: polygon(50% 0, 63% 22%, 86% 26%, 72% 45%, 100% 100%, 0 100%, 28% 45%, 14% 26%, 37% 22%);
}

.visual-city::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  background: linear-gradient(180deg, rgba(7, 18, 21, 0), rgba(7, 18, 21, 0.9));
}

.gallery-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.gallery-copy.dark {
  color: #24303a;
  text-shadow: none;
}

.gallery-copy p,
.gallery-copy h3,
.gallery-copy span {
  margin: 0;
}

.gallery-copy p {
  margin-bottom: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.gallery-copy h3 {
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0;
}

.gallery-copy span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.86;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 24px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(360px, 1.4fr);
  gap: 16px;
}

.profile-page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-layout > .empty-state {
  grid-column: 1 / -1;
}

.function-placeholder {
  position: relative;
  display: grid;
  min-height: min(56vh, 520px);
  overflow: hidden;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 16, 25, 0.88), rgba(16, 96, 92, 0.68)),
    url("./assets/hero-console.png") center / cover no-repeat;
  text-align: center;
}

.function-placeholder::before {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  content: "";
}

.function-placeholder > div {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: min(420px, calc(100% - 48px));
  gap: 10px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

.function-placeholder h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0;
}

.music-workbench {
  display: grid;
  gap: 18px;
  padding-bottom: 112px;
}

.music-hero-studio {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
  overflow: hidden;
  padding: clamp(18px, 3.4vw, 32px);
  color: #f7fbfc;
  background:
    linear-gradient(135deg, rgba(17, 24, 32, 0.94), rgba(20, 66, 62, 0.9)),
    url("./assets/hero-console.png") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(16, 24, 40, 0.16);
}

.music-hero-studio::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  opacity: 0.36;
}

.music-hero-copy,
.music-stage-card {
  position: relative;
  z-index: 1;
}

.music-hero-copy {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: center;
}

.music-hero-copy .eyebrow {
  color: #83efff;
}

.music-hero-copy h2 {
  max-width: 680px;
  margin: 10px 0 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.music-hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(247, 251, 252, 0.78);
  font-size: 16px;
  line-height: 1.85;
}

.music-credit-bar {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.music-credit-bar span,
.music-credit-bar .ghost-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  color: #ecf8fa;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.music-credit-bar strong {
  color: #ffd666;
}

.music-credit-bar .ghost-button:hover {
  color: #111820;
  background: #fff;
}

.music-stage-card {
  display: grid;
  min-height: 310px;
  align-content: space-between;
  gap: 18px;
  padding: clamp(18px, 3vw, 24px);
  background: rgba(8, 13, 18, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.stage-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.stage-topline span {
  color: #83efff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-topline strong {
  max-width: 260px;
  color: rgba(247, 251, 252, 0.82);
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.record-visual {
  position: relative;
  display: grid;
  width: min(210px, 58vw);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  background:
    radial-gradient(circle at center, #f6fbfc 0 8%, transparent 9%),
    radial-gradient(circle at center, transparent 0 26%, rgba(255, 255, 255, 0.16) 27% 28%, transparent 29%),
    radial-gradient(circle at center, #17222b 0 45%, #070c10 46% 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.22);
}

.record-visual span {
  width: 42%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at center, #111820 0 18%, transparent 19%),
    conic-gradient(from 120deg, #83efff, #ffd666, #38d28a, #ff8a73, #83efff);
  border-radius: 999px;
}

.record-visual i {
  position: absolute;
  right: -8px;
  top: 18px;
  width: 58px;
  height: 140px;
  border-top: 5px solid rgba(255, 255, 255, 0.72);
  border-right: 5px solid rgba(255, 255, 255, 0.72);
  border-radius: 0 22px 0 0;
  transform: rotate(22deg);
}

.music-stage-card.is-active .record-visual {
  animation: recordSpin 9s linear infinite;
}

.equalizer {
  display: grid;
  height: 74px;
  grid-template-columns: repeat(9, minmax(10px, 1fr));
  gap: 8px;
  align-items: end;
}

.equalizer i {
  height: 34%;
  background: linear-gradient(180deg, #83efff, #38d28a 54%, #ffd666);
  border-radius: 999px 999px 4px 4px;
  opacity: 0.76;
  transform-origin: bottom;
}

.equalizer i:nth-child(2) {
  height: 70%;
}

.equalizer i:nth-child(3) {
  height: 48%;
}

.equalizer i:nth-child(4) {
  height: 86%;
}

.equalizer i:nth-child(5) {
  height: 58%;
}

.equalizer i:nth-child(6) {
  height: 78%;
}

.equalizer i:nth-child(7) {
  height: 42%;
}

.equalizer i:nth-child(8) {
  height: 66%;
}

.equalizer i:nth-child(9) {
  height: 50%;
}

.music-stage-card.is-active .equalizer i {
  animation: equalizerPulse 900ms ease-in-out infinite alternate;
}

.music-stage-card.is-active .equalizer i:nth-child(2n) {
  animation-duration: 720ms;
}

.music-stage-card.is-active .equalizer i:nth-child(3n) {
  animation-duration: 1100ms;
}

.music-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(420px, 1.08fr);
  gap: 16px;
  align-items: start;
}

.music-panel {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(220, 229, 236, 0.94);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(16, 24, 40, 0.08);
}

.music-form,
.music-result,
.music-history {
  padding: clamp(16px, 2.4vw, 22px);
}

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

.music-panel-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.music-panel-head span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: #111820;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.music-panel-head h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: 0;
}

.music-panel-head p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

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

.music-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
}

.music-form label > span,
.music-prompt-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.music-prompt-field em {
  color: var(--subtle);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.music-form input,
.music-form select,
.music-form textarea {
  width: 100%;
  min-width: 0;
  color: var(--text);
  background: #f7fafb;
  border: 1px solid #dfe8ee;
  border-radius: 8px;
  font-weight: 400;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.music-form input,
.music-form select {
  height: 44px;
  padding: 0 12px;
}

.music-form textarea {
  min-height: 190px;
  padding: 14px;
  resize: vertical;
  line-height: 1.72;
}

.music-form input:focus,
.music-form select:focus,
.music-form textarea:focus {
  background: #fff;
  border-color: #76d6e7;
  box-shadow: 0 0 0 4px rgba(2, 174, 234, 0.13);
  outline: 0;
}

.music-form input:disabled,
.music-form select:disabled,
.music-form textarea:disabled,
.music-form button:disabled,
.music-segment-field input:disabled + span {
  cursor: not-allowed;
  opacity: 0.58;
}

.prompt-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.prompt-presets button {
  min-height: 32px;
  padding: 0 10px;
  color: #315160;
  background: #eff7f5;
  border: 1px solid #d5e9e4;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    border-color 160ms ease;
}

.prompt-presets button:hover {
  color: #0c5365;
  background: #e0f7fb;
  border-color: #a8e5ef;
  transform: translateY(-1px);
}

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

.music-segment-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.music-segment-field legend {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
}

.music-segment-field label {
  position: relative;
  display: block;
  cursor: pointer;
}

.music-segment-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.music-segment-field span {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 0 10px;
  color: #526574;
  background: #f7fafb;
  border: 1px solid #dfe8ee;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.music-segment-field input:checked + span {
  color: #0b6f83;
  background: #e9f9fb;
  border-color: #9ee4ef;
  box-shadow: inset 0 0 0 1px rgba(2, 174, 234, 0.14);
}

.music-submit {
  display: grid;
  width: 100%;
  min-height: 52px;
  align-content: center;
  gap: 2px;
}

.music-submit small {
  font-size: 11px;
  font-weight: 800;
  opacity: 0.78;
}

.music-empty,
.music-history-empty {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 28px;
  color: var(--muted);
  background:
    linear-gradient(145deg, rgba(131, 239, 255, 0.12), rgba(255, 214, 102, 0.12)),
    #f8fbfc;
  border: 1px dashed #cbdce5;
  border-radius: 8px;
  text-align: center;
}

.music-empty[hidden] {
  display: none;
}

body:not(.admin-body) .music-recent-section[hidden] {
  display: none;
}

.empty-wave {
  display: grid;
  width: min(180px, 54vw);
  height: 72px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.empty-wave i {
  height: 22px;
  border: 2px solid #9ccbd8;
  border-right: 0;
  border-left: 0;
  border-radius: 999px;
}

.empty-wave i:nth-child(2) {
  height: 54px;
  border-color: #f0bd50;
}

.music-empty strong {
  display: block;
  color: var(--text);
  font-size: 21px;
}

.music-empty p {
  margin: 8px 0 0;
}

.music-job {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.music-job.is-active {
  border-color: #8de1ed;
  box-shadow: 0 16px 34px rgba(2, 174, 234, 0.14);
}

.music-job-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.music-job-head h3 {
  margin: 8px 0 0;
  font-size: 20px;
  letter-spacing: 0;
}

.music-job-head strong {
  color: #0b778b;
  white-space: nowrap;
}

.music-job > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.music-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  color: #075f8b;
  background: #dcf4ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.music-status.succeeded {
  color: #08705f;
  background: #dff7ef;
}

.music-status.failed,
.music-status.canceled {
  color: #8f2b1d;
  background: #fff0ed;
}

.music-job-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.music-job-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  color: #526574;
  background: #f3f7fa;
  border: 1px solid #e1e8ee;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.music-error,
.music-muted {
  margin: 0;
  padding: 10px 12px;
  color: #8f2b1d;
  background: #fff0ed;
  border: 1px solid #ffd0c6;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.music-muted {
  color: var(--muted);
  background: var(--panel-soft);
  border-color: var(--line);
}

.music-tracks,
.music-history-list {
  display: grid;
  gap: 12px;
}

.music-track {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.music-track-main {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.music-track-main strong {
  display: block;
}

.music-track-main p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.music-track-main span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.music-track audio {
  width: 100%;
}

.music-download {
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
}

.music-job-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@keyframes recordSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes equalizerPulse {
  to {
    transform: scaleY(0.52);
    opacity: 0.95;
  }
}

#functionView.is-active {
  margin: -6px -4px 0;
}

.music-workbench {
  position: relative;
  display: grid;
  min-height: calc(100vh - 126px);
  gap: 34px;
  overflow: hidden;
  padding: clamp(18px, 3.2vw, 34px);
  color: #f5f6f7;
  background:
    radial-gradient(circle at 50% 0%, rgba(252, 87, 188, 0.16), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(34, 255, 212, 0.1), transparent 28%),
    linear-gradient(180deg, #08080b 0%, #0d0d11 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(9, 12, 18, 0.18);
}

.music-workbench::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 82%);
  pointer-events: none;
}

.music-appbar,
.music-creator-hero,
.music-current-section,
.music-history,
.music-home-section,
.music-reference-section {
  position: relative;
  z-index: 1;
}

.music-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.music-brand-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  color: #111014;
  background: #ff62cb;
  border-radius: 999px;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(255, 98, 203, 0.2);
}

.music-brand-pill span {
  width: 18px;
  height: 18px;
  background:
    radial-gradient(circle at 72% 32%, #111014 0 17%, transparent 18%),
    linear-gradient(135deg, #111014 0 46%, transparent 47%);
  border-radius: 6px 999px 999px 999px;
}

.music-wallet-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.music-wallet-strip span,
.music-wallet-strip button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.music-wallet-strip strong {
  color: #ffe36f;
}

.music-wallet-strip button:hover {
  color: #111014;
  background: #fff;
}

.music-creator-hero {
  display: grid;
  max-width: 900px;
  justify-self: center;
  justify-items: center;
  gap: 16px;
  width: 100%;
  padding-top: clamp(10px, 3vw, 34px);
}

.music-hero-kicker {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 850;
}

.music-hero-kicker span {
  width: 10px;
  height: 10px;
  background: #20f0c7;
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(32, 240, 199, 0.1);
}

.music-hero-kicker.is-active span,
.music-stage-card.is-active span {
  background: #ff62cb;
  box-shadow: 0 0 0 7px rgba(255, 98, 203, 0.12);
}

.music-creator-hero h2 {
  margin: 0;
  color: #f7f7f8;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
  text-align: center;
}

.music-composer {
  display: grid;
  width: min(100%, 800px);
  gap: 14px;
}

.music-mode-tabs {
  position: relative;
  z-index: 260;
  display: flex;
  width: min(100%, 860px);
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  border: 0;
}

.music-feature-primary,
.music-feature-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.music-feature-primary {
  padding: 5px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.music-feature-more {
  position: static;
  flex: 0 0 auto;
}

.music-feature-more summary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.music-feature-more summary::-webkit-details-marker {
  display: none;
}

.music-feature-more summary::after {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  content: "⌄";
}

.music-feature-more[open] summary::after {
  transform: rotate(180deg);
}

.music-feature-more summary span {
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.music-feature-more summary strong {
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.music-feature-more.is-active summary {
  color: #071011;
  background: linear-gradient(135deg, rgba(43, 216, 195, 0.96), rgba(230, 187, 97, 0.96));
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(43, 216, 195, 0.16);
}

.music-feature-more.is-active summary strong,
.music-feature-more.is-active summary::after {
  color: rgba(7, 16, 17, 0.72);
}

.music-feature-more-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  width: min(760px, calc(100vw - 36px));
  max-height: min(480px, calc(100vh - 180px));
  gap: 12px;
  overflow-y: auto;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(43, 216, 195, 0.08), transparent 42%),
    rgba(5, 14, 15, 0.98);
  border: 1px solid rgba(130, 160, 155, 0.22);
  border-radius: 8px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  scrollbar-color: rgba(43, 216, 195, 0.48) rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
}

.music-feature-more:not([open]) .music-feature-more-panel {
  display: none;
}

.music-feature-group {
  padding: 8px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.music-feature-group-title {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.music-mode-tabs label {
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
}

.music-mode-tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.music-mode-tabs label > span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.music-mode-tabs input:checked + span {
  color: #071011;
  background: linear-gradient(135deg, #2bd8c3, #e6bb61);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(43, 216, 195, 0.18);
}

.music-prompt-field {
  position: relative;
  display: grid;
  min-height: 164px;
  overflow: hidden;
  padding: 18px 18px 70px;
  background: rgba(15, 15, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(255, 98, 203, 0.18),
    0 22px 58px rgba(0, 0, 0, 0.28);
}

.music-prompt-field:focus-within {
  border-color: #ff8ddd;
  box-shadow:
    0 0 0 1px rgba(255, 98, 203, 0.45),
    0 0 38px rgba(255, 98, 203, 0.18),
    0 22px 58px rgba(0, 0, 0, 0.28);
}

.music-prompt-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 900;
}

.music-prompt-field em {
  color: rgba(255, 255, 255, 0.42);
  font-style: normal;
}

.music-prompt-field textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 0 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 16px;
  line-height: 1.75;
  resize: vertical;
}

.music-prompt-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.music-prompt-field textarea:focus {
  background: transparent;
  box-shadow: none;
  outline: 0;
}

.music-promptless-guide {
  display: grid;
  width: min(100%, 860px);
  min-height: 68px;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.12), rgba(230, 187, 97, 0.05)),
    rgba(7, 16, 17, 0.72);
  border: 1px solid rgba(130, 160, 155, 0.22);
  border-radius: 8px;
  box-shadow: inset 3px 0 0 rgba(43, 216, 195, 0.84);
}

.music-promptless-guide span {
  color: #e6bb61;
  font-size: 12px;
  font-weight: 950;
}

.music-promptless-guide strong {
  color: rgba(239, 248, 245, 0.9);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.composer-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -78px;
  padding: 0 16px 16px;
  pointer-events: none;
}

.composer-tools {
  display: flex;
  min-width: 0;
  gap: 8px;
  flex-wrap: wrap;
  pointer-events: auto;
}

.composer-tools button {
  min-height: 32px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.composer-tools button:hover {
  color: #fff;
  background: rgba(255, 98, 203, 0.28);
  border-color: rgba(255, 98, 203, 0.42);
}

.composer-tools button:disabled {
  color: rgba(255, 255, 255, 0.58);
  cursor: not-allowed;
  opacity: 0.72;
}

.music-composer.is-promptless .composer-toolbar {
  order: 40;
  justify-content: center;
  margin-top: 0;
  padding: 2px 0 0;
  pointer-events: auto;
}

.music-composer.is-promptless .composer-tools {
  display: none;
}

.music-composer.is-promptless .composer-source-fields {
  order: 10;
}

.music-composer.is-promptless .composer-options {
  order: 20;
}

.music-composer.is-promptless .composer-advanced {
  order: 30;
}

.music-submit {
  display: grid;
  width: 54px;
  height: 54px;
  min-height: 54px;
  flex: 0 0 54px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: linear-gradient(135deg, #ff62cb, #8f2fff);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(255, 98, 203, 0.28);
  pointer-events: auto;
}

.music-submit::before {
  font-size: 22px;
  font-weight: 900;
  content: "↑";
}

.music-submit span,
.music-submit small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.music-composer.is-promptless .music-submit {
  display: inline-grid;
  width: 320px;
  max-width: 100%;
  flex: 0 1 320px;
  height: 50px;
  min-height: 50px;
  grid-template-columns: auto auto;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
}

.music-composer.is-promptless .music-submit::before {
  display: none;
  content: "";
}

.music-composer.is-promptless .music-submit span,
.music-composer.is-promptless .music-submit small {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}

.music-composer.is-promptless .music-submit span {
  font-size: 14px;
  font-weight: 950;
}

.music-composer.is-promptless .music-submit small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.music-submit:hover {
  transform: translateY(-1px);
}

.music-submit:disabled {
  cursor: not-allowed;
  filter: grayscale(0.55);
  opacity: 0.56;
  transform: none;
}

.composer-source-fields {
  display: grid;
  width: min(100%, 800px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.composer-source-fields[hidden] {
  display: none !important;
}

.composer-source-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.09), rgba(230, 187, 97, 0.05)),
    rgba(7, 16, 17, 0.76);
  border: 1px solid rgba(130, 160, 155, 0.22);
  border-radius: 8px;
}

.composer-source-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #2bd8c3, #e6bb61);
  content: "";
}

.composer-source-card > div:first-of-type > span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  font-weight: 900;
}

.composer-source-card strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.composer-source-card p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.5;
}

.source-card-actions,
.source-upload-row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.source-upload-button {
  position: relative;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.source-upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.source-picker-modal {
  width: min(760px, calc(100vw - 28px));
}

.source-picker-card {
  max-height: min(720px, calc(100vh - 40px));
}

.source-picker-list {
  display: grid;
  gap: 10px;
  overflow-y: auto;
  padding-right: 4px;
  overscroll-behavior: contain;
  scrollbar-color: rgba(43, 216, 195, 0.5) rgba(255, 255, 255, 0.04);
  scrollbar-width: thin;
}

.source-picker-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
}

.source-picker-art {
  width: 72px;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.source-picker-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.source-picker-art:not(.has-cover)::after {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(43, 216, 195, 0.6), rgba(230, 187, 97, 0.68));
  content: "";
}

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

.source-picker-item strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.source-picker-item span {
  margin-top: 4px;
  color: rgba(239, 248, 245, 0.48);
  font-size: 13px;
}

.source-picker-empty {
  padding: 26px;
  color: rgba(239, 248, 245, 0.62);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
  text-align: center;
}

.composer-options {
  position: relative;
  z-index: 120;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.music-composer [data-feature-option][hidden],
.music-composer .music-prompt-field[hidden],
.music-composer .music-promptless-guide[hidden],
.music-composer .composer-options[hidden],
.music-composer .composer-advanced[hidden] {
  display: none !important;
}

.music-segment-field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  border: 0;
}

.music-segment-field legend,
.composer-select > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.music-segment-field label {
  position: relative;
  cursor: pointer;
}

.music-segment-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.music-segment-field span,
.composer-select {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.music-segment-field input:checked + span {
  color: #fff;
  background: rgba(255, 98, 203, 0.32);
  border-color: rgba(255, 98, 203, 0.42);
  box-shadow: 0 10px 28px rgba(255, 98, 203, 0.14);
}

.composer-select select {
  height: 28px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-weight: 900;
}

.composer-select select:focus {
  outline: 0;
}

.composer-select option {
  color: #111014;
}

.composer-advanced {
  display: block;
  justify-self: center;
  width: min(100%, 860px);
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.composer-advanced summary {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px 0 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style: none;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.composer-advanced summary::-webkit-details-marker {
  display: none;
}

.composer-advanced summary::before {
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) 2px 3px / 10px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 2px 7px / 10px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 2px 11px / 10px 2px no-repeat;
  border-radius: 999px;
  content: "";
  opacity: 0.72;
}

.composer-advanced summary::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  opacity: 0.72;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

.composer-advanced summary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.composer-advanced[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.composer-advanced > div {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: left;
}

.composer-advanced label {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 900;
}

.composer-advanced input {
  height: 38px;
  min-width: 0;
  padding: 0 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.composer-advanced textarea {
  width: 100%;
  min-height: 86px;
  min-width: 0;
  padding: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  resize: vertical;
}

.composer-advanced textarea:focus {
  border-color: rgba(43, 216, 195, 0.62);
  outline: 0;
}

.composer-advanced .advanced-wide {
  grid-column: 1 / -1;
}

.composer-advanced select {
  height: 38px;
  min-width: 0;
  padding: 0 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.composer-advanced input[type="range"] {
  padding: 0;
  accent-color: #2bd8c3;
}

.composer-advanced .advanced-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.composer-advanced .advanced-check-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
}

.composer-advanced .advanced-check input {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: #2bd8c3;
}

.inline-help {
  position: relative;
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  justify-self: start;
  padding: 0;
  color: rgba(6, 19, 17, 0.92);
  background: linear-gradient(135deg, #2bd8c3, #e6bb61);
  border: 0;
  border-radius: 999px;
  cursor: help;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.inline-help-tooltip {
  position: absolute;
  z-index: 30;
  top: 50%;
  left: calc(100% + 12px);
  width: min(240px, calc(100vw - 44px));
  padding: 10px 12px;
  color: rgba(239, 248, 245, 0.92);
  background: rgba(5, 14, 15, 0.98);
  border: 1px solid rgba(43, 216, 195, 0.28);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(0, calc(-50% + 4px));
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.generation-mode-help {
  align-self: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-left: -4px;
  background:
    radial-gradient(circle at 50% 50%, #2bd8c3 0 9px, transparent 10px),
    transparent;
  line-height: 34px;
}

.generation-mode-help .inline-help-tooltip {
  width: min(360px, calc(100vw - 44px));
}

.inline-help-tooltip::before {
  position: absolute;
  top: 50%;
  left: -6px;
  width: 10px;
  height: 10px;
  background: rgba(5, 14, 15, 0.98);
  border-right: 1px solid rgba(43, 216, 195, 0.28);
  border-bottom: 1px solid rgba(43, 216, 195, 0.28);
  content: "";
  pointer-events: none;
  transform: translate(0, -50%) rotate(135deg);
}

.inline-help:hover .inline-help-tooltip,
.inline-help.is-open .inline-help-tooltip,
.inline-help:focus .inline-help-tooltip,
.inline-help:focus-visible .inline-help-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (max-width: 720px) {
  .inline-help-tooltip {
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(280px, calc(100vw - 32px));
    transform: translate(0, -4px);
  }

  .inline-help-tooltip::before {
    top: -5px;
    right: 4px;
    left: auto;
    transform: translate(0, 0) rotate(225deg);
  }

  .inline-help:hover .inline-help-tooltip,
  .inline-help.is-open .inline-help-tooltip,
  .inline-help:focus .inline-help-tooltip,
  .inline-help:focus-visible .inline-help-tooltip {
    transform: translate(0, 0);
  }
}

.music-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto 14px;
}

.music-section-title span {
  width: 16px;
  height: 16px;
  background: #ff62cb;
  border-radius: 3px 999px 3px 999px;
  transform: rotate(45deg);
  box-shadow: 0 0 18px rgba(255, 98, 203, 0.55);
}

.music-section-title h3 {
  margin: 0;
  color: #f5f6f7;
  font-size: 25px;
  letter-spacing: 0;
}

.music-current-section,
.music-history,
.music-home-section,
.music-tasks-page {
  max-width: 1200px;
  width: 100%;
  justify-self: center;
}

.music-empty,
.music-history-empty,
.music-recent-empty {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  text-align: center;
}

.music-empty[hidden] {
  display: none;
}

.music-empty strong,
.music-history-empty strong,
.music-recent-empty strong {
  color: #f5f6f7;
  font-size: 18px;
}

.music-empty p,
.music-history-empty p,
.music-recent-empty p {
  margin: 8px 0 0;
}

.music-history-list,
.music-recent-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.music-recent-empty {
  grid-column: 1 / -1;
  min-height: 210px;
}

.music-recent-empty .primary-button,
.music-recent-empty .ghost-button,
.music-empty .primary-button {
  margin-top: 14px;
}

.music-recent-card {
  position: relative;
  display: grid;
  min-height: 310px;
  overflow: hidden;
  color: #f5f6f7;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.recent-card-visual {
  position: relative;
  display: grid;
  height: 116px;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: end;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(255, 98, 203, 0.22), transparent 52%),
    linear-gradient(135deg, rgba(32, 240, 199, 0.2), rgba(255, 255, 255, 0.05));
}

.recent-card-visual.has-cover {
  display: block;
  padding: 0;
}

.recent-card-cover,
.music-job-cover img,
.music-track-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-card-cover {
  display: block;
}

.recent-card-visual span {
  height: 34%;
  background: rgba(255, 255, 255, 0.64);
  border-radius: 999px 999px 4px 4px;
}

.recent-card-visual span:nth-child(2) {
  height: 68%;
}

.recent-card-visual span:nth-child(3) {
  height: 48%;
}

.recent-card-visual span:nth-child(4) {
  height: 82%;
}

.recent-card-visual span:nth-child(5) {
  height: 56%;
}

.recent-card-body {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 14px;
}

.recent-card-topline,
.recent-card-meta,
.recent-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.recent-card-topline {
  justify-content: space-between;
}

.recent-card-topline span,
.recent-card-meta span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.recent-card-topline small {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.music-recent-card h3,
.music-reference-card h3 {
  margin: 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: 0;
}

.music-recent-card p,
.music-reference-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.music-reference-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 176px;
  padding: 16px;
  color: #f5f6f7;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.music-reference-card > div:last-child {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.music-reference-card span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 900;
}

.reference-visual {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  align-items: end;
  padding: 14px;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(255, 98, 203, 0.32), rgba(32, 240, 199, 0.2));
  border-radius: 14px;
}

.reference-visual.is-warm {
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(135deg, rgba(230, 187, 97, 0.36), rgba(255, 255, 255, 0.08));
}

.reference-visual.is-bright {
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(135deg, rgba(43, 216, 195, 0.34), rgba(237, 123, 99, 0.22));
}

.reference-visual i {
  height: 35%;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px 999px 4px 4px;
}

.reference-visual i:nth-child(2) {
  height: 68%;
}

.reference-visual i:nth-child(3) {
  height: 46%;
}

.reference-visual i:nth-child(4) {
  height: 86%;
}

.reference-visual i:nth-child(5) {
  height: 58%;
}

.music-task-list {
  display: grid;
  gap: 14px;
}

.music-task-list .music-job {
  min-height: 0;
}

.music-task-list .music-job::before {
  height: 76px;
}

.music-task-node {
  position: relative;
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.music-task-node::before {
  position: absolute;
  top: 22px;
  bottom: 18px;
  left: 21px;
  width: 1px;
  background: var(--line);
  content: "";
}

.music-task-summary {
  position: relative;
  display: grid;
  grid-template-columns: 16px 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.music-task-summary::-webkit-details-marker {
  display: none;
}

.music-task-tree-dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  background: var(--cyan);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(36, 183, 216, 0.16);
}

.music-task-thumb {
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(36, 183, 216, 0.24), rgba(115, 216, 121, 0.16)),
    var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.music-task-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.music-task-main {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.music-task-topline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.music-task-topline small,
.music-task-side small,
.music-task-main em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.music-task-main strong {
  overflow: hidden;
  color: var(--text);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-task-main em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-task-side {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.music-task-side > strong {
  color: #0b778b;
  white-space: nowrap;
}

.music-task-toggle {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  color: var(--cyan-dark);
  background: #eef8fc;
  border: 1px solid #c9edf8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.music-task-node[open] .music-task-toggle {
  font-size: 0;
}

.music-task-node[open] .music-task-toggle::after {
  font-size: 12px;
  content: "收起";
}

.music-task-detail {
  display: grid;
  gap: 12px;
  margin: 0 14px 14px 48px;
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
}

.music-task-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.music-task-detail-meta span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  color: #526574;
  background: #f3f7fa;
  border: 1px solid #e1e8ee;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.music-task-pagination {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.music-task-pagination div {
  display: flex;
  gap: 8px;
}

.music-task-pagination .ghost-button {
  min-height: 34px;
  padding: 0 12px;
}

.music-job {
  position: relative;
  display: grid;
  min-height: 190px;
  align-content: space-between;
  gap: 12px;
  overflow: hidden;
  padding: 14px;
  color: #f5f6f7;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.music-job::before {
  display: block;
  height: 92px;
  margin: -2px -2px 4px;
  background:
    linear-gradient(90deg, rgba(255, 98, 203, 0.24), transparent 45%),
    linear-gradient(135deg, rgba(32, 240, 199, 0.18), rgba(255, 255, 255, 0.05)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 6px, transparent 6px 14px);
  border-radius: 12px;
  content: "";
  opacity: 0.75;
}

.music-job.has-cover::before {
  display: none;
}

.music-job-cover {
  height: 92px;
  margin: -2px -2px 4px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 98, 203, 0.24), transparent 45%),
    rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.music-job-cover img {
  display: block;
}

.music-job.is-active {
  border-color: rgba(255, 98, 203, 0.46);
  box-shadow: 0 0 0 1px rgba(255, 98, 203, 0.18), 0 20px 44px rgba(255, 98, 203, 0.12);
}

.music-job-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.music-job-head h3 {
  margin: 8px 0 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}

.music-job-head strong {
  color: #ffe36f;
  white-space: nowrap;
}

.music-job > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.music-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  color: #fff;
  background: rgba(255, 98, 203, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.music-status.succeeded {
  color: #081310;
  background: #20f0c7;
}

.music-status.failed,
.music-status.canceled {
  background: #ff735f;
}

.music-job-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.music-job-meta span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.music-error,
.music-muted {
  margin: 0;
  padding: 10px 12px;
  color: #ffcbc4;
  background: rgba(255, 115, 95, 0.14);
  border: 1px solid rgba(255, 115, 95, 0.22);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.music-muted {
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.08);
}

.music-tracks {
  display: grid;
  gap: 10px;
}

.music-track {
  display: grid;
  gap: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.music-track-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.music-track-cover {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.music-track-side {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.music-track-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.music-track-badge.is-ready {
  color: #061311;
  background: var(--cyan);
  border-color: transparent;
}

.music-track-main p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.music-track-main span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  white-space: nowrap;
}

.music-track audio {
  width: 100%;
}

.music-track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.music-output-list {
  display: grid;
  gap: 10px;
}

.music-output-item {
  display: grid;
  gap: 8px;
  padding: 10px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.music-output-item strong {
  color: #fff;
}

.music-output-item p {
  max-height: 220px;
  overflow: auto;
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.6;
}

.music-output-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.music-download,
.music-job-actions .ghost-button {
  min-height: 32px;
  padding: 0 11px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.08);
}

.about-hero {
  display: grid;
  min-height: 330px;
  place-items: center;
  padding: 52px 24px 38px;
  text-align: center;
}

.about-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: #087bd9;
  background: #ecf6ff;
  border: 1px solid #a8d7ff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.about-pill::before {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #1494ff, #8b5cf6);
  border-radius: 999px;
  content: "";
  box-shadow: 0 0 0 5px rgba(20, 148, 255, 0.12);
}

.about-hero h2 {
  max-width: 900px;
  margin: 26px 0 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
  background: linear-gradient(90deg, #111820 0%, #1467b8 45%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-hero p {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.about-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  min-height: 440px;
  overflow: hidden;
}

.about-edit-button {
  justify-self: end;
  min-height: 38px;
  padding: 0 14px;
  color: var(--cyan-dark);
  background: #eef9fc;
  border: 1px solid #bfeaf5;
  border-radius: 999px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.about-edit-button:hover {
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
  transform: translateY(-1px);
}

.about-column {
  padding: clamp(26px, 4vw, 42px);
}

.about-column + .about-column {
  border-left: 1px solid var(--line);
}

.about-column h3,
.about-form h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 24px;
  letter-spacing: 0;
}

.about-column h3 span {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #1494ff, #8b5cf6);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(20, 148, 255, 0.12);
}

.about-column p {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
  white-space: pre-line;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-item span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #57708a;
  background: #f0f5fa;
  border: 1px solid #dce6ef;
  border-radius: 8px;
  font-weight: 900;
}

.contact-item strong,
.contact-item p {
  margin: 0;
}

.contact-item p {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
  word-break: break-word;
}

.contact-item a {
  color: #087bd9;
  text-decoration: none;
  font-weight: 900;
}

.about-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.about-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.about-form input,
.about-form textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  color: var(--text);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 400;
}

.about-form textarea {
  resize: vertical;
  line-height: 1.7;
}

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

.about-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.about-editor-modal {
  width: min(720px, calc(100vw - 28px));
}

.about-editor-modal .about-form {
  max-height: min(82vh, 760px);
  overflow: auto;
}

.panel-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.06);
}

.profile-card {
  padding: 22px;
}

.profile-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #303c80, #24b7d8 52%, #73d879);
  border-radius: 8px;
  font-size: 28px;
  font-weight: 900;
}

.profile-card h3,
.profile-card p,
.transaction-card h3,
.transaction-card p,
.empty-state h3,
.empty-state p {
  margin: 0;
}

.profile-card h3 {
  font-size: 22px;
}

.profile-card p {
  margin-top: 6px;
  color: var(--muted);
}

.profile-access-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  margin-top: 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.profile-access-badge.is-whitelist {
  color: #075f8b;
  background: #dcf4ff;
}

.profile-access-badge.is-blacklist {
  color: #8f2b1d;
  background: #fff0ed;
}

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

.profile-logout-button {
  width: 100%;
  margin-top: 14px;
  color: #9a3b2f;
  background: #fff8f6;
  border-color: #f1c7bf;
}

.profile-logout-button:hover {
  background: #fff0ed;
  border-color: #eca99d;
}

.metric {
  padding: 14px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.transaction-card {
  padding: 22px;
}

.transaction-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.transaction-item,
.message-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.transaction-item strong,
.message-item strong {
  display: block;
  margin-bottom: 4px;
}

.transaction-item span,
.message-item p,
.message-item time {
  color: var(--muted);
  font-size: 13px;
}

.message-list {
  display: grid;
  gap: 10px;
}

.message-item {
  grid-template-columns: 10px 1fr auto;
  background: #fff;
}

.message-state {
  width: 10px;
  height: 10px;
  background: var(--line-strong);
  border-radius: 999px;
}

.message-item.is-unread .message-state {
  background: var(--cyan);
}

.message-item p {
  margin: 0;
  line-height: 1.6;
}

.message-item time {
  white-space: nowrap;
}

.empty-state {
  display: grid;
  min-height: 280px;
  place-items: center;
  padding: 28px;
  text-align: center;
}

.empty-state p {
  margin-top: 8px;
  color: var(--muted);
}

.empty-state .primary-button {
  margin-top: 18px;
}

.modal {
  width: min(460px, calc(100vw - 28px));
  padding: 0;
  background: transparent;
  border: 0;
}

.modal::backdrop {
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(4px);
}

.modal-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.close-button {
  width: 34px;
  height: 34px;
  color: #687481;
  background: #f2f5f7;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
}

.modal-card label,
.auth-login-mode,
.amount-grid,
.payment-grid {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.modal-card input[type="text"],
.modal-card input[type="email"],
.modal-card input[type="password"],
.modal-card input[type="number"] {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  color: var(--text);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 400;
}

.auth-card {
  gap: 18px;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.auth-mode-tabs button {
  min-width: 0;
  min-height: 40px;
  color: var(--muted);
  background: transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
}

.auth-mode-tabs button.is-active {
  color: var(--text);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

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

.auth-form.is-active {
  display: grid;
}

.auth-login-mode {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  border: 0;
}

.auth-login-mode legend {
  grid-column: 1 / -1;
  padding: 0;
  margin: 0;
}

.auth-login-mode label {
  display: block;
  min-width: 0;
  font-size: 13px;
  cursor: pointer;
}

.auth-login-mode input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-login-mode span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.auth-login-mode input:checked + span {
  color: var(--cyan-dark);
  background: #eef9fc;
  border-color: #9adff2;
}

.auth-helper {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.auth-feedback {
  margin: -4px 0 0;
  padding: 10px 12px;
  color: #8f2b1d;
  background: #fff0ed;
  border: 1px solid #ffd0c6;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.amount-grid,
.payment-grid {
  padding: 0;
  border: 0;
}

.amount-grid legend,
.payment-grid legend {
  padding: 0;
  margin-bottom: 8px;
}

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

.amount-grid legend,
.payment-grid legend {
  grid-column: 1 / -1;
}

.amount-grid label,
.payment-grid label {
  min-width: 0;
  cursor: pointer;
}

.amount-grid input,
.payment-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amount-grid span,
.payment-grid label {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.amount-grid input:checked + span,
.payment-grid label:has(input:checked) {
  color: var(--cyan-dark);
  background: #eef9fc;
  border-color: #9adff2;
}

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

.pay-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
}

.pay-icon.alipay {
  background: #1677ff;
}

.pay-icon.wechat {
  background: #16b869;
}

.recharge-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: var(--muted);
  background: #f6fbf7;
  border: 1px solid #dceee1;
  border-radius: 8px;
}

.recharge-summary strong {
  color: var(--green);
}

.payment-modal {
  width: min(500px, calc(100vw - 28px));
}

.payment-card {
  gap: 18px;
}

.payment-order {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  color: var(--muted);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.payment-order span,
.payment-order strong {
  overflow-wrap: anywhere;
}

.payment-order strong {
  color: var(--text);
  font-size: 18px;
}

.payment-qr-wrap {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  background: #f8fbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.payment-qr-wrap[hidden] {
  display: none;
}

.payment-qr-wrap img {
  width: min(260px, 72vw);
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e8edf1;
  border-radius: 8px;
}

.payment-qr-wrap p,
.payment-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

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

.danger-button {
  color: #9a3b2f;
  background: #fff8f6;
  border-color: #f1c7bf;
}

.danger-button:hover {
  background: #fff0ed;
  border-color: #eca99d;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 2147483647;
  max-width: min(360px, calc(100vw - 44px));
  padding: 12px 16px;
  color: #fff;
  background: #111820;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast:popover-open {
  display: block;
  inset: auto 22px 24px auto;
  margin: 0;
}

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

@media (max-width: 1120px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .hero-status {
    min-height: 300px;
  }

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

  .module-layout {
    grid-template-columns: 1fr;
  }

  .music-hero-studio {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }

  .music-hero-copy {
    min-height: auto;
  }

  .music-hero-copy h2 {
    font-size: clamp(38px, 7vw, 56px);
  }

  .music-stage-card {
    min-height: 172px;
    grid-template-columns: minmax(0, 1fr) 134px;
    align-items: center;
  }

  .stage-topline {
    grid-column: 1 / -1;
  }

  .record-visual {
    width: 118px;
  }

  .record-visual i {
    right: -6px;
    top: 10px;
    width: 38px;
    height: 86px;
    border-width: 4px;
  }

  .equalizer {
    height: 54px;
  }

  .music-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .home-visual {
    min-height: 330px;
  }

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

  .feature-strip {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

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

@media (max-width: 820px) {
  .main-area {
    padding: 22px 16px 96px;
  }

  .topbar,
  .section-heading,
  .feed-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-page-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-page-actions .ghost-button,
  .profile-page-actions .primary-button {
    width: 100%;
  }

  .music-credit-bar {
    width: 100%;
  }

  .music-panel-head {
    display: grid;
  }

  .music-panel-head p {
    max-width: none;
    text-align: left;
  }

  .top-actions,
  .search-box {
    width: 100%;
  }

  .top-actions .ghost-button,
  .top-actions .primary-button {
    flex: 1;
  }

  .hero-copy {
    margin: 18px 0 24px;
    justify-content: flex-start;
    text-align: left;
  }

  .home-hero {
    margin-top: 12px;
    gap: 14px;
    min-height: auto;
    padding: 28px;
  }

  .home-hero-copy {
    min-height: auto;
    padding: 0;
  }

  .home-hero-copy h2 {
    font-size: 38px;
  }

  .home-hero-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  .hero-status {
    min-height: 280px;
    padding: 18px;
  }

  .flow-line {
    grid-template-columns: 1fr;
  }

  .flow-step {
    min-height: 176px;
  }

  .flow-step h3 {
    margin-top: 44px;
  }

  .module-preview {
    min-height: 330px;
  }

  .about-hero {
    min-height: 260px;
    padding: 34px 0 24px;
  }

  .about-preview {
    grid-template-columns: 1fr;
  }

  .about-column + .about-column {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .home-visual {
    min-height: 320px;
    padding: 20px;
  }

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

  .theme-card {
    min-height: 220px;
  }

  .theme-card h3 {
    margin-top: 72px;
  }

  .composer-panel textarea {
    min-height: 118px;
    padding: 76px 0 0;
  }

  .composer-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-strip,
  .profile-layout,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --side-width: 0px;
  }

  .side-nav {
    inset: auto 0 0 0;
    width: 100%;
    height: 74px;
    padding: 8px 10px;
    flex-direction: row;
    gap: 8px;
    border-top: 1px solid rgba(226, 232, 238, 0.9);
    border-right: 0;
  }

  .brand-button,
  .side-spacer {
    display: none;
  }

  .nav-stack {
    min-width: 0;
    flex: 1;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
  }

  .nav-item {
    min-width: 58px;
    min-height: 56px;
    font-size: 11px;
  }

  .points-ticket {
    width: 52px;
    min-height: 50px;
    font-size: 11px;
  }

  .avatar-button,
  .round-tool {
    width: 34px;
    height: 34px;
  }

  .modal-card {
    padding: 20px;
  }

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

  .auth-login-mode {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-actions .primary-button {
    grid-column: 1 / -1;
  }

  .home-hero-copy {
    padding: 0;
  }

  .home-hero-copy h2 {
    font-size: 34px;
  }

  .home-hero {
    padding: 20px;
  }

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

  .home-actions .primary-button,
  .home-actions .ghost-button {
    width: 100%;
  }

  .hero-status {
    min-height: auto;
    padding: 14px;
  }

  .status-pulse {
    display: none;
  }

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

  .status-grid div {
    padding: 10px;
  }

  .status-grid strong {
    font-size: 12px;
    line-height: 1.35;
  }

  .module-slot {
    min-height: 82px;
  }

  .music-choice-grid,
  .music-form-grid {
    grid-template-columns: 1fr;
  }

  .music-credit-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .music-hero-copy p:not(.eyebrow) {
    font-size: 14px;
  }

  .music-stage-card {
    display: none;
  }

  .music-credit-bar .ghost-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .music-job-head,
  .music-track-main {
    display: grid;
  }

  .music-job-head strong {
    white-space: normal;
  }

  .module-preview {
    min-height: 300px;
    padding: 24px;
  }

  .module-lab {
    margin-bottom: 108px;
  }

  .flow-section {
    margin-top: 92px;
  }

  .module-preview h3 {
    margin-top: 62px;
  }

  .about-hero {
    place-items: start;
    text-align: left;
  }

  .about-hero h2 {
    font-size: 38px;
  }

  .about-hero p {
    font-size: 15px;
  }

  .about-column,
  .about-form {
    padding: 18px;
  }

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

  .about-form-actions {
    display: grid;
  }

  .about-form-actions .primary-button,
  .about-form-actions .ghost-button {
    width: 100%;
  }

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

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

  .home-visual {
    min-height: 360px;
  }

  .visual-core {
    grid-template-columns: 1fr;
  }

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

  .visual-metrics div {
    padding: 10px;
  }

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

  .visual-metrics strong {
    font-size: 22px;
  }

  .intro-card {
    min-height: auto;
  }

  .hero-copy h2 {
    font-size: 23px;
  }

  .mode-switch {
    padding-left: 0;
  }

  .composer-panel {
    padding: 16px;
  }

  .attach-card {
    top: 18px;
    left: 18px;
  }

  .tab-group,
  .composer-tools {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .tool-chip {
    white-space: nowrap;
  }

  .message-item,
  .transaction-item {
    grid-template-columns: 1fr;
  }

  .message-item {
    grid-template-columns: 10px 1fr;
  }

  .message-item time {
    grid-column: 2;
  }
}

.admin-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(2, 174, 234, 0.1), rgba(39, 179, 106, 0.08) 42%, rgba(245, 247, 249, 0) 72%),
    var(--bg);
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.admin-topbar h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

.admin-topbar p:last-child {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-actions a {
  text-decoration: none;
}

.admin-alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  color: #6e4c07;
  background: #fff7df;
  border: 1px solid #f2d68b;
  border-radius: 8px;
  line-height: 1.7;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 238, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login[hidden],
[data-admin-private][hidden] {
  display: none;
}

.admin-body.is-admin-locked [data-admin-private],
.admin-body:not(.is-admin-unlocked) [data-admin-private],
.admin-body.is-admin-locked #refreshAdmin,
.admin-body:not(.is-admin-unlocked) #refreshAdmin,
.admin-body.is-admin-locked #adminLogout,
.admin-body:not(.is-admin-unlocked) #adminLogout,
.admin-body.is-admin-unlocked #adminLoginPanel {
  display: none !important;
}

.admin-body.is-admin-locked #adminLoginPanel {
  display: grid !important;
}

.admin-login h2 {
  margin: 4px 0 10px;
  font-size: 28px;
}

.admin-login p:last-child {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.admin-login-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.admin-login-form input {
  min-height: 44px;
  width: 100%;
  padding: 0 12px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

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

.admin-metric {
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 238, 0.88);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.admin-metric strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  line-height: 1;
}

.admin-data-panel {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 238, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-tabs {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
  background: rgba(249, 251, 252, 0.72);
  border-bottom: 1px solid var(--line);
}

.admin-tab {
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.admin-tab:hover,
.admin-tab.is-active {
  color: var(--cyan-dark);
  background: #eef8fc;
  border-color: #c9edf8;
}

.admin-panel {
  overflow: hidden;
  background: transparent;
}

.admin-tab-panel[hidden] {
  display: none;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.admin-panel-head h2 {
  margin: 4px 0 0;
  font-size: 20px;
}

.admin-page-summary {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

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

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
}

.admin-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.admin-table th {
  color: var(--muted);
  background: var(--panel-soft);
  font-size: 12px;
  font-weight: 700;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.admin-status.is-active {
  color: #08705f;
  background: #dff7ef;
}

.admin-status.is-paid {
  color: #075f8b;
  background: #dcf4ff;
}

.admin-status.is-pending {
  color: #8a5a00;
  background: #fff3cf;
}

.admin-status.is-muted {
  color: var(--muted);
  background: var(--panel-soft);
}

.admin-status.is-danger {
  color: #9a2f23;
  background: #fff0ed;
}

.admin-inline-action {
  min-height: 30px;
  padding: 0 10px;
  color: var(--cyan-dark);
  background: #eef8fc;
  border: 1px solid #c9edf8;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.admin-inline-action:hover {
  background: #dff4fb;
}

.admin-gm-console {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 238, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-gm-console[hidden] {
  display: none;
}

.admin-gm-console-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-gm-console-head h2 {
  margin: 4px 0 8px;
  font-size: 24px;
}

.admin-gm-console-head p:last-child,
.admin-gm-tool-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-gm-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-gm-search-card,
.admin-gm-detail,
.admin-gm-tool-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-gm-search-card {
  overflow: hidden;
}

.admin-gm-search-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.admin-gm-search-form label,
.admin-gm-tool-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-gm-search-form input,
.admin-gm-tool-card input,
.admin-gm-tool-card textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 500;
}

.admin-gm-tool-card textarea {
  min-height: 82px;
  padding-top: 10px;
  padding-bottom: 10px;
  resize: vertical;
  line-height: 1.6;
}

.admin-gm-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.admin-gm-choice legend {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-gm-choice label {
  position: relative;
  min-width: 0;
}

.admin-gm-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-gm-choice span {
  display: grid;
  min-height: 40px;
  place-items: center;
  color: var(--text);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.admin-gm-choice input:checked + span {
  color: #071011;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  border-color: transparent;
}

.admin-gm-checkbox {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: var(--text) !important;
}

.admin-gm-checkbox input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--cyan);
}

.admin-gm-results {
  display: grid;
  max-height: 520px;
  overflow: auto;
}

.admin-gm-result,
.admin-gm-result-empty {
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-gm-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-gm-result:hover,
.admin-gm-result.is-active {
  background: #eef8fc;
}

.admin-gm-result strong,
.admin-gm-result small {
  display: block;
}

.admin-gm-result small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.admin-gm-result .admin-status {
  flex: 0 0 auto;
}

.admin-gm-result-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.admin-gm-detail {
  min-height: 520px;
  padding: 18px;
}

.admin-gm-empty {
  display: grid;
  min-height: 482px;
  place-items: center;
  text-align: center;
}

.admin-gm-empty h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.admin-gm-empty p {
  max-width: 360px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

.admin-gm-player {
  display: grid;
  gap: 16px;
}

.admin-gm-player[hidden] {
  display: none;
}

.admin-gm-player-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.admin-gm-player-head h3 {
  margin: 4px 0 4px;
  font-size: 24px;
}

.admin-gm-player-head p {
  margin: 0;
  color: var(--muted);
}

.admin-gm-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-gm-facts article {
  min-width: 0;
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-gm-facts span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-gm-facts strong {
  display: block;
  overflow: hidden;
  margin-top: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-gm-tool-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.admin-gm-tool-card h4 {
  margin: 2px 0 0;
  font-size: 18px;
}

.admin-gm-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ghost-button.danger {
  color: #9a2f23;
  background: #fff8f6;
  border-color: #f1c7bf;
}

.admin-gm-modal {
  width: min(460px, calc(100vw - 28px));
}

.admin-gm-form {
  gap: 14px;
}

.admin-gm-user {
  padding: 14px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-gm-user span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-gm-user strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.admin-gm-user p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-empty-cell {
  color: var(--muted);
  text-align: center;
}

.admin-pagination {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.admin-page-actions {
  display: flex;
  gap: 8px;
}

.admin-page-actions .ghost-button {
  min-height: 34px;
  padding: 0 12px;
}

.admin-page-actions .ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 760px) {
  .admin-shell {
    width: min(100% - 24px, 1180px);
    padding: 22px 0 38px;
  }

  .admin-topbar {
    display: grid;
  }

  .admin-actions {
    justify-content: stretch;
  }

  .admin-actions .ghost-button,
  .admin-actions .primary-button {
    width: 100%;
  }

  .admin-login {
    grid-template-columns: 1fr;
    padding: 18px;
  }

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

  .admin-metric {
    padding: 16px;
  }

  .admin-metric strong {
    font-size: 24px;
  }

  .admin-tabs {
    padding: 10px;
  }

  .admin-panel-head,
  .admin-pagination {
    display: grid;
    justify-content: stretch;
  }

  .admin-page-summary {
    text-align: left;
  }

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

  .admin-page-actions .ghost-button {
    width: 100%;
  }

  .admin-gm-console {
    padding: 16px;
  }

  .admin-gm-console-head,
  .admin-gm-player-head {
    display: grid;
  }

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

  .admin-gm-results {
    max-height: 320px;
  }

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

  .admin-gm-access-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .admin-metrics {
    grid-template-columns: 1fr;
  }
}

/* Final product skin for the user-facing studio. Admin pages keep their existing management style. */
body:not(.admin-body) {
  --bg: #071011;
  --panel: rgba(13, 22, 24, 0.92);
  --panel-soft: rgba(17, 29, 31, 0.9);
  --line: rgba(130, 160, 155, 0.22);
  --line-strong: rgba(159, 190, 184, 0.34);
  --text: #eff8f5;
  --muted: #91a6a3;
  --subtle: #687f7b;
  --cyan: #2bd8c3;
  --cyan-dark: #8ff5e6;
  --teal: #1fb8a0;
  --blue: #76a7ff;
  --green: #53d59d;
  --amber: #e6bb61;
  --rose: #ed7b63;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.08), transparent 34%),
    linear-gradient(205deg, rgba(230, 187, 97, 0.1), transparent 38%),
    linear-gradient(180deg, #071011 0%, #0a1115 48%, #0d1210 100%);
}

body:not(.admin-body) button:focus-visible,
body:not(.admin-body) input:focus-visible,
body:not(.admin-body) textarea:focus-visible,
body:not(.admin-body) select:focus-visible {
  outline: 3px solid rgba(43, 216, 195, 0.24);
  outline-offset: 2px;
}

body:not(.admin-body) .side-nav {
  background: rgba(5, 12, 14, 0.86);
  border-color: rgba(130, 160, 155, 0.18);
  box-shadow: 8px 0 36px rgba(0, 0, 0, 0.24);
}

body:not(.admin-body) .brand-mark {
  background: url("./assets/pumeow-logo.png?v=20260605-stage11") center / contain no-repeat;
  filter: drop-shadow(0 10px 24px rgba(43, 216, 195, 0.28));
}

body:not(.admin-body) .brand-mark::after {
  display: none;
  content: none;
}

body:not(.admin-body) .nav-item {
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 8px;
}

body:not(.admin-body) .nav-item:hover,
body:not(.admin-body) .nav-item.is-active {
  color: var(--text);
  background: rgba(43, 216, 195, 0.12);
  border-color: rgba(43, 216, 195, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

body:not(.admin-body) .main-area {
  max-width: none;
  color: var(--text);
}

body:not(.admin-body) .topbar {
  position: sticky;
  top: 12px;
  z-index: 12;
  max-width: none;
  margin: 0 calc(8px - var(--main-gutter)) 14px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body:not(.admin-body) .topbar h1,
body:not(.admin-body) .section-heading h2,
body:not(.admin-body) .modal h2 {
  color: var(--text);
}

body:not(.admin-body) .topbar-brand {
  color: var(--text);
}

body:not(.admin-body) .topbar-brand:hover {
  transform: translateY(-1px);
}

body:not(.admin-body) .topbar-brand-mark {
  background: conic-gradient(from 90deg, #2bd8c3, #76a7ff, #e6bb61, #2bd8c3);
  box-shadow: 0 10px 28px rgba(43, 216, 195, 0.22);
}

body:not(.admin-body) .topbar-brand-mark::after {
  background: #071011;
}

body:not(.admin-body) .topbar-brand-text small {
  color: var(--amber);
}

body:not(.admin-body) .topbar-brand-text strong {
  color: #f5f6f7;
}

body:not(.admin-body) .eyebrow {
  color: var(--amber);
  letter-spacing: 0;
}

body:not(.admin-body) .ghost-button,
body:not(.admin-body) .primary-button,
body:not(.admin-body) .about-edit-button {
  min-height: 40px;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

body:not(.admin-body) .ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(130, 160, 155, 0.22);
}

body:not(.admin-body) .ghost-button:hover,
body:not(.admin-body) .about-edit-button:hover {
  color: #ffffff;
  background: rgba(43, 216, 195, 0.12);
  border-color: rgba(43, 216, 195, 0.34);
  box-shadow: 0 12px 30px rgba(43, 216, 195, 0.1);
}

body:not(.admin-body) .primary-button {
  color: #061311;
  background: linear-gradient(135deg, #2bd8c3, #e6bb61);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 34px rgba(43, 216, 195, 0.2);
}

body:not(.admin-body) .primary-button:hover {
  box-shadow: 0 20px 44px rgba(230, 187, 97, 0.18);
}

body:not(.admin-body) .primary-button:disabled,
body:not(.admin-body) .ghost-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.52;
}

body:not(.admin-body) .count-pill {
  color: #061311;
  background: var(--amber);
}

body:not(.admin-body) .count-pill[hidden] {
  display: none !important;
}

body:not(.admin-body) #functionView.is-active {
  margin: 0 auto !important;
}

body:not(.admin-body) #homeView {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
}

body:not(.admin-body) #tasksView,
body:not(.admin-body) #functionView {
  justify-self: center;
  width: min(100%, 1200px);
  max-width: 1200px;
  margin-right: auto !important;
  margin-left: auto !important;
}

body:not(.admin-body) .home-music-workbench {
  width: 100%;
  margin: -4px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body:not(.admin-body) .music-workbench {
  min-height: calc(100vh - 130px);
  max-width: 100%;
  gap: 30px;
  padding: 24px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(43, 216, 195, 0.08), transparent 28%, rgba(230, 187, 97, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    #071011;
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.3);
}

body:not(.admin-body) .music-workbench.home-music-workbench {
  isolation: isolate;
  min-height: calc(100vh - 118px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

body:not(.admin-body) .music-stage-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  pointer-events: none;
}

body:not(.admin-body).is-home-view .music-stage-visual {
  display: block;
}

body:not(.admin-body) .music-stage-visual::before,
body:not(.admin-body) .music-stage-visual::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

body:not(.admin-body) .music-stage-visual::before {
  inset: -90px 0 -120px;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 34%, rgba(7, 16, 17, 0.68), rgba(7, 16, 17, 0.36) 42%, rgba(7, 16, 17, 0.08) 66%, transparent 86%),
    linear-gradient(180deg, rgba(7, 16, 17, 0.04), rgba(7, 16, 17, 0.08) 54%, #071011 100%);
}

body:not(.admin-body) .music-stage-visual::after {
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 18% 42%, rgba(43, 216, 195, 0.22), transparent 24%),
    radial-gradient(circle at 84% 40%, rgba(230, 187, 97, 0.16), transparent 26%);
  mix-blend-mode: screen;
  opacity: 0.86;
}

body:not(.admin-body) .music-stage-visual img {
  position: absolute;
  z-index: 1;
  max-width: none;
  object-fit: cover;
  user-select: none;
}

body:not(.admin-body) .music-stage-left {
  top: 0;
  left: 0;
  width: min(58vw, 820px);
  height: clamp(760px, 88vh, 980px);
  opacity: 0.98;
  object-position: 50% 40%;
  filter:
    saturate(1.08)
    contrast(1.05)
    drop-shadow(0 26px 48px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 30px rgba(43, 216, 195, 0.16));
  -webkit-mask-image:
    linear-gradient(90deg, #000 0 58%, rgba(0, 0, 0, 0.76) 72%, transparent 100%),
    linear-gradient(180deg, #000 0 82%, transparent 100%);
  mask-image:
    linear-gradient(90deg, #000 0 58%, rgba(0, 0, 0, 0.76) 72%, transparent 100%),
    linear-gradient(180deg, #000 0 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

body:not(.admin-body) .music-stage-right {
  top: 0;
  right: 0;
  width: min(58vw, 880px);
  height: clamp(760px, 88vh, 980px);
  opacity: 0.94;
  mix-blend-mode: screen;
  object-position: 58% 42%;
  filter:
    saturate(1.06)
    contrast(1.08)
    drop-shadow(0 24px 44px rgba(0, 0, 0, 0.42));
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 22%, #000 42% 100%),
    linear-gradient(180deg, #000 0 82%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 22%, #000 42% 100%),
    linear-gradient(180deg, #000 0 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

body:not(.admin-body) .home-music-workbench .music-composer,
body:not(.admin-body) .home-music-workbench .composer-options {
  overflow: visible;
}

body:not(.admin-body) .music-workbench::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 78%);
}

body:not(.admin-body) .music-appbar {
  min-width: 0;
  align-items: center;
}

body:not(.admin-body) .music-brand-pill {
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(43, 216, 195, 0.28);
  border-radius: 8px;
  box-shadow: none;
}

body:not(.admin-body) .music-brand-pill span {
  background:
    linear-gradient(90deg, transparent 0 3px, var(--cyan) 3px 6px, transparent 6px 9px, var(--amber) 9px 12px, transparent 12px),
    rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

body:not(.admin-body) .music-wallet-strip span,
body:not(.admin-body) .music-wallet-strip button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(130, 160, 155, 0.22);
  border-radius: 8px;
}

body:not(.admin-body) .music-wallet-strip strong {
  color: var(--amber);
}

body:not(.admin-body) .music-wallet-strip button:hover {
  color: #061311;
  background: var(--cyan);
  border-color: var(--cyan);
}

body:not(.admin-body) .music-creator-hero {
  max-width: 760px;
  min-width: 0;
  gap: 14px;
  padding-top: 18px;
}

body:not(.admin-body) .music-hero-kicker {
  color: rgba(239, 248, 245, 0.72);
}

body:not(.admin-body) .music-hero-kicker span {
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(43, 216, 195, 0.11);
}

body:not(.admin-body) .music-hero-kicker.is-active span,
body:not(.admin-body) .music-stage-card.is-active span {
  background: var(--amber);
  box-shadow: 0 0 0 7px rgba(230, 187, 97, 0.13);
}

body:not(.admin-body) .music-creator-hero h2 {
  max-width: 760px;
  color: var(--text);
  font-size: 52px;
  line-height: 1.06;
  text-align: center;
  overflow-wrap: anywhere;
}

body:not(.admin-body) .music-active-notice {
  display: flex;
  width: min(100%, 700px);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(230, 187, 97, 0.14), rgba(43, 216, 195, 0.08)),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(230, 187, 97, 0.28);
  border-radius: 8px;
}

body:not(.admin-body) .music-active-notice[hidden] {
  display: none;
}

body:not(.admin-body) .music-active-notice strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

body:not(.admin-body) .music-active-notice p {
  margin: 6px 0 0;
  color: rgba(239, 248, 245, 0.66);
  line-height: 1.6;
}

body:not(.admin-body) .music-composer {
  width: min(100%, 700px);
  min-width: 0;
}

body:not(.admin-body) .music-composer.is-locked {
  opacity: 0.64;
  filter: grayscale(0.18);
}

body:not(.admin-body) .music-prompt-field {
  display: grid;
  gap: 12px;
  max-width: 100%;
  min-width: 0;
  min-height: 176px;
  padding: 18px 18px 70px;
  background: rgba(8, 18, 19, 0.94);
  border: 1px solid rgba(187, 214, 208, 0.46);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(43, 216, 195, 0.08),
    0 22px 58px rgba(0, 0, 0, 0.28);
}

body:not(.admin-body) .music-prompt-field:focus-within {
  border-color: rgba(43, 216, 195, 0.84);
  box-shadow:
    0 0 0 1px rgba(43, 216, 195, 0.24),
    0 0 38px rgba(43, 216, 195, 0.12),
    0 22px 58px rgba(0, 0, 0, 0.28);
}

body:not(.admin-body) .music-prompt-field > span,
body:not(.admin-body) .music-prompt-field em {
  color: rgba(239, 248, 245, 0.62);
}

body:not(.admin-body) .music-prompt-field textarea {
  min-height: 112px;
  padding-top: 0;
  color: var(--text);
}

body:not(.admin-body) .music-prompt-field textarea:focus-visible {
  outline: 0;
  outline-offset: 0;
}

body:not(.admin-body) .music-prompt-field textarea::placeholder {
  color: rgba(239, 248, 245, 0.36);
}

body:not(.admin-body) .composer-tools button,
body:not(.admin-body) .music-segment-field span,
body:not(.admin-body) .composer-select,
body:not(.admin-body) .composer-advanced summary {
  color: rgba(239, 248, 245, 0.84);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(130, 160, 155, 0.22);
  border-radius: 8px;
}

body:not(.admin-body) .composer-tools button:hover {
  color: #ffffff;
  background: rgba(43, 216, 195, 0.16);
  border-color: rgba(43, 216, 195, 0.34);
}

body:not(.admin-body) .music-submit {
  color: #061311;
  background: linear-gradient(135deg, #2bd8c3, #e6bb61);
  box-shadow: 0 18px 36px rgba(43, 216, 195, 0.22);
}

body:not(.admin-body) .music-submit::before {
  content: "↑";
}

body:not(.admin-body) .music-composer.is-promptless .music-submit::before {
  display: none;
  content: "";
}

body:not(.admin-body) .music-composer.is-promptless .music-submit small {
  color: rgba(6, 19, 17, 0.72);
}

body:not(.admin-body) .music-segment-field input:checked + span {
  color: #061311;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 10px 28px rgba(43, 216, 195, 0.16);
}

body:not(.admin-body) .composer-select select,
body:not(.admin-body) .composer-advanced input,
body:not(.admin-body) .composer-advanced textarea,
body:not(.admin-body) .composer-source-fields input {
  color: var(--text);
}

body:not(.admin-body) .composer-select option {
  color: #0a1414;
}

body:not(.admin-body) .composer-select,
body:not(.admin-body) .composer-advanced label {
  position: relative;
}

body:not(.admin-body) .composer-advanced summary {
  min-width: 132px;
  color: rgba(239, 248, 245, 0.86);
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.08), rgba(230, 187, 97, 0.04)),
    rgba(255, 255, 255, 0.075);
  border-color: rgba(130, 160, 155, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 10px 28px rgba(0, 0, 0, 0.18);
}

body:not(.admin-body) .composer-advanced summary:hover {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.18), rgba(230, 187, 97, 0.08)),
    rgba(255, 255, 255, 0.08);
  border-color: rgba(43, 216, 195, 0.34);
}

body:not(.admin-body) .composer-advanced[open] summary {
  color: #061311;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(43, 216, 195, 0.18);
}

body:not(.admin-body) .composer-select.has-custom-select {
  min-height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

body:not(.admin-body) .custom-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

body:not(.admin-body) .custom-select {
  position: relative;
  z-index: 140;
  display: inline-flex;
  min-width: 94px;
  max-width: 100%;
  color: var(--text);
}

body:not(.admin-body) .custom-select.is-open {
  z-index: 5000;
}

body:not(.admin-body) .composer-advanced .custom-select {
  width: 100%;
}

body:not(.admin-body) .custom-select-button {
  display: inline-flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  color: rgba(239, 248, 245, 0.94);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(130, 160, 155, 0.24);
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

body:not(.admin-body) .custom-select-button::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

body:not(.admin-body) .custom-select.is-open .custom-select-button {
  color: #061311;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 10px 28px rgba(43, 216, 195, 0.16);
}

body:not(.admin-body) .custom-select.is-open .custom-select-button::after {
  transform: translateY(2px) rotate(225deg);
}

body:not(.admin-body) .custom-select-menu {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  display: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 104px;
  max-height: 260px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  background: rgba(7, 16, 17, 0.96);
  border: 1px solid rgba(130, 160, 155, 0.28);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
  scrollbar-color: rgba(239, 248, 245, 0.42) transparent;
  scrollbar-width: thin;
}

body:not(.admin-body) .custom-select-menu::-webkit-scrollbar {
  width: 6px;
}

body:not(.admin-body) .custom-select-menu::-webkit-scrollbar-track {
  background: transparent;
}

body:not(.admin-body) .custom-select-menu::-webkit-scrollbar-thumb {
  background: rgba(239, 248, 245, 0.34);
  border-radius: 999px;
}

body:not(.admin-body) .custom-select.is-open .custom-select-menu {
  display: grid;
  gap: 2px;
}

body:not(.admin-body) .custom-select-menu.is-open {
  display: grid;
  gap: 2px;
}

body:not(.admin-body) .custom-select-option {
  width: 100%;
  min-height: 32px;
  padding: 0 10px;
  color: rgba(239, 248, 245, 0.84);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

body:not(.admin-body) .custom-select-option:hover,
body:not(.admin-body) .custom-select-option.is-selected {
  color: #061311;
  background: var(--cyan);
}

body:not(.admin-body) .custom-select.is-disabled {
  opacity: 0.52;
  pointer-events: none;
}

body:not(.admin-body) .composer-advanced {
  color: rgba(239, 248, 245, 0.76);
}

body:not(.admin-body) .composer-advanced > div {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(130, 160, 155, 0.2);
  border-radius: 8px;
}

body:not(.admin-body) .composer-advanced input {
  background: rgba(2, 8, 9, 0.42);
  border-color: rgba(130, 160, 155, 0.24);
  border-radius: 8px;
}

body:not(.admin-body) .composer-advanced textarea,
body:not(.admin-body) .composer-source-fields input {
  background: rgba(2, 8, 9, 0.42);
  border-color: rgba(130, 160, 155, 0.24);
  border-radius: 8px;
}

body:not(.admin-body) .composer-source-fields {
  width: min(100%, 860px);
  grid-template-columns: 1fr;
}

body:not(.admin-body) .composer-source-card {
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(100%, 720px);
  justify-self: center;
  padding: 12px 14px;
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.08), rgba(230, 187, 97, 0.04)),
    rgba(7, 16, 17, 0.62);
  border-color: rgba(130, 160, 155, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body:not(.admin-body) .composer-source-card > div:first-of-type > span {
  color: var(--amber);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body:not(.admin-body) .composer-source-card strong {
  color: var(--text);
  font-size: 15px;
}

body:not(.admin-body) .composer-source-card p {
  color: rgba(239, 248, 245, 0.54);
}

body:not(.admin-body) .source-card-actions .ghost-button,
body:not(.admin-body) .source-upload-row .ghost-button,
body:not(.admin-body) .source-upload-button {
  min-height: 36px;
  color: rgba(239, 248, 245, 0.9);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(130, 160, 155, 0.24);
  border-radius: 8px;
  box-shadow: none;
}

body:not(.admin-body) .source-card-actions .ghost-button:hover,
body:not(.admin-body) .source-upload-row .ghost-button:hover,
body:not(.admin-body) .source-upload-button:hover {
  color: #061311;
  background: var(--cyan);
  border-color: var(--cyan);
}

body:not(.admin-body) .composer-source-card.is-uploading {
  border-color: rgba(43, 216, 195, 0.56);
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.16), rgba(230, 187, 97, 0.08)),
    rgba(7, 16, 17, 0.72);
  box-shadow: 0 0 0 1px rgba(43, 216, 195, 0.12), 0 16px 40px rgba(43, 216, 195, 0.08);
}

body:not(.admin-body) .composer-source-card.is-uploading::after {
  position: absolute;
  right: 14px;
  bottom: 10px;
  width: 7px;
  aspect-ratio: 1;
  background: var(--cyan);
  border-radius: 999px;
  box-shadow:
    -12px 0 0 rgba(43, 216, 195, 0.58),
    -24px 0 0 rgba(43, 216, 195, 0.28);
  content: "";
  animation: uploadPulse 0.9s ease-in-out infinite alternate;
}

body:not(.admin-body) .music-composer.is-reference-uploading .source-upload-button,
body:not(.admin-body) .music-composer.is-reference-uploading .source-upload-row .ghost-button {
  opacity: 0.72;
  pointer-events: none;
}

@keyframes uploadPulse {
  from {
    opacity: 0.45;
    transform: translateX(0);
  }

  to {
    opacity: 1;
    transform: translateX(4px);
  }
}

body:not(.admin-body) .source-picker-modal::backdrop {
  background:
    radial-gradient(circle at 50% 18%, rgba(43, 216, 195, 0.12), transparent 34%),
    rgba(1, 8, 9, 0.78);
  backdrop-filter: blur(12px);
}

body:not(.admin-body) .source-picker-card {
  gap: 18px;
  overflow: hidden;
  padding: 22px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(43, 216, 195, 0.07), transparent 34%),
    rgba(5, 14, 15, 0.98);
  border: 1px solid rgba(43, 216, 195, 0.22);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 34px 90px rgba(0, 0, 0, 0.56);
}

body:not(.admin-body) .source-picker-card .modal-head {
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(130, 160, 155, 0.14);
}

body:not(.admin-body) .source-picker-card .eyebrow {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: 11px;
}

body:not(.admin-body) .source-picker-card h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
}

body:not(.admin-body) .source-picker-card #sourcePickerHint {
  max-width: 520px;
  margin: 10px 0 0;
  color: rgba(239, 248, 245, 0.64);
  line-height: 1.65;
}

body:not(.admin-body) .source-picker-card .close-button {
  flex: 0 0 auto;
  color: rgba(239, 248, 245, 0.84);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(130, 160, 155, 0.18);
}

body:not(.admin-body) .source-picker-card .close-button:hover {
  color: #061311;
  background: var(--cyan);
}

body:not(.admin-body) .source-picker-list {
  max-height: min(500px, calc(100vh - 250px));
  padding-right: 6px;
}

body:not(.admin-body) .source-picker-list::-webkit-scrollbar {
  width: 6px;
}

body:not(.admin-body) .source-picker-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

body:not(.admin-body) .source-picker-list::-webkit-scrollbar-thumb {
  background: rgba(43, 216, 195, 0.44);
  border-radius: 999px;
}

body:not(.admin-body) .source-picker-item {
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.045);
  border-color: rgba(130, 160, 155, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body:not(.admin-body) .source-picker-item:hover {
  border-color: rgba(43, 216, 195, 0.42);
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.12), rgba(230, 187, 97, 0.04)),
    rgba(255, 255, 255, 0.055);
}

body:not(.admin-body) .source-picker-art {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body:not(.admin-body) .source-picker-item .ghost-button {
  min-height: 34px;
  color: rgba(239, 248, 245, 0.9);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(130, 160, 155, 0.24);
}

body:not(.admin-body) .source-picker-item .ghost-button:hover {
  color: #061311;
  background: var(--cyan);
  border-color: var(--cyan);
}

body:not(.admin-body) .music-section-title span {
  background: var(--amber);
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(230, 187, 97, 0.35);
}

body:not(.admin-body) .music-section-title h3 {
  color: var(--text);
}

body:not(.admin-body) .music-empty,
body:not(.admin-body) .music-history-empty,
body:not(.admin-body) .music-recent-empty,
body:not(.admin-body) .asset-empty {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  border: 1px dashed rgba(130, 160, 155, 0.28);
  border-radius: 8px;
}

body:not(.admin-body) .music-empty strong,
body:not(.admin-body) .music-history-empty strong,
body:not(.admin-body) .music-recent-empty strong,
body:not(.admin-body) .asset-empty h3 {
  color: var(--text);
}

body:not(.admin-body) .music-recent-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body:not(.admin-body) .music-history-list,
body:not(.admin-body) .music-reference-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body:not(.admin-body) .music-recent-card,
body:not(.admin-body) .music-reference-card {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.088), rgba(255, 255, 255, 0.046));
  border: 1px solid rgba(130, 160, 155, 0.2);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

body:not(.admin-body) .recent-card-visual {
  background:
    linear-gradient(90deg, rgba(43, 216, 195, 0.2), transparent 48%),
    linear-gradient(135deg, rgba(230, 187, 97, 0.18), rgba(255, 255, 255, 0.04));
}

body:not(.admin-body) .recent-card-visual span,
body:not(.admin-body) .reference-visual i {
  background: rgba(239, 248, 245, 0.7);
}

body:not(.admin-body) .recent-card-topline span,
body:not(.admin-body) .recent-card-meta span {
  color: rgba(239, 248, 245, 0.72);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(130, 160, 155, 0.16);
  border-radius: 8px;
}

body:not(.admin-body) .recent-card-topline small,
body:not(.admin-body) .music-reference-card span {
  color: rgba(239, 248, 245, 0.58);
}

body:not(.admin-body) .music-recent-card h3,
body:not(.admin-body) .music-reference-card h3 {
  color: #ffffff;
}

body:not(.admin-body) .music-recent-card p,
body:not(.admin-body) .music-reference-card p {
  color: rgba(239, 248, 245, 0.64);
}

body:not(.admin-body) .reference-visual {
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(135deg, rgba(43, 216, 195, 0.28), rgba(230, 187, 97, 0.16));
  border-radius: 8px;
}

body:not(.admin-body) .reference-visual.is-warm {
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(230, 187, 97, 0.28), rgba(237, 123, 99, 0.14));
}

body:not(.admin-body) .reference-visual.is-bright {
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(43, 216, 195, 0.28), rgba(85, 179, 255, 0.14));
}

body:not(.admin-body) .recent-card-actions .ghost-button,
body:not(.admin-body) .music-reference-card .ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(130, 160, 155, 0.2);
}

body:not(.admin-body) .discover-reference-card {
  position: relative;
  grid-template-columns: 124px minmax(0, 1fr);
  min-height: 204px;
  cursor: pointer;
  background:
    radial-gradient(circle at 12% 18%, rgba(43, 216, 195, 0.13), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

body:not(.admin-body) .discover-reference-card:hover,
body:not(.admin-body) .discover-reference-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(43, 216, 195, 0.42);
  outline: 0;
}

body:not(.admin-body) .reference-card-body {
  display: grid;
  min-width: 0;
  gap: 10px;
}

body:not(.admin-body) .reference-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body:not(.admin-body) .reference-card-head small {
  color: rgba(239, 248, 245, 0.5);
  font-weight: 850;
  white-space: nowrap;
}

body:not(.admin-body) .reference-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

body:not(.admin-body) .reference-preview-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  color: rgba(239, 248, 245, 0.86);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(130, 160, 155, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

body:not(.admin-body) .reference-preview-button span {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

body:not(.admin-body) .reference-preview-button.is-playing {
  color: #061311;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  border-color: transparent;
}

body:not(.admin-body) .reference-preview-button.is-playing span {
  width: 8px;
  height: 11px;
  border: 0;
  background:
    linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65% 100%);
}

body:not(.admin-body) .reference-cover {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(135deg, rgba(43, 216, 195, 0.34), rgba(230, 187, 97, 0.18));
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

body:not(.admin-body) .reference-cover::before,
body:not(.admin-body) .reference-cover::after {
  position: absolute;
  inset: 13%;
  border-radius: 999px;
  content: "";
}

body:not(.admin-body) .reference-cover::before {
  background:
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 7px),
    radial-gradient(circle at center, rgba(7, 13, 15, 0.86), rgba(7, 13, 15, 0.38) 58%, transparent 59%);
  opacity: 0.82;
}

body:not(.admin-body) .reference-cover::after {
  inset: 35%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 15%),
    linear-gradient(135deg, rgba(239, 248, 245, 0.22), rgba(43, 216, 195, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body:not(.admin-body) .reference-cover span {
  position: absolute;
  z-index: 1;
  width: 52%;
  height: 8px;
  background: rgba(239, 248, 245, 0.44);
  border-radius: 999px;
  transform: rotate(-28deg);
}

body:not(.admin-body) .reference-cover span:nth-child(2) {
  width: 42%;
  transform: translateY(22px) rotate(18deg);
  opacity: 0.6;
}

body:not(.admin-body) .reference-cover span:nth-child(3) {
  width: 34%;
  transform: translateY(-24px) rotate(42deg);
  opacity: 0.42;
}

body:not(.admin-body) .reference-cover strong {
  position: relative;
  z-index: 2;
  display: grid;
  width: 38%;
  aspect-ratio: 1;
  place-items: center;
  color: rgba(6, 19, 17, 0.84);
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  border-radius: 999px;
  font-size: 26px;
  font-weight: 950;
}

body:not(.admin-body) .reference-cover.is-dawn {
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(135deg, rgba(230, 187, 97, 0.42), rgba(237, 123, 99, 0.16));
}

body:not(.admin-body) .reference-cover.is-neon {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.25), transparent 22%),
    linear-gradient(135deg, rgba(43, 216, 195, 0.42), rgba(85, 179, 255, 0.18));
}

body:not(.admin-body) .reference-cover.is-rain {
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, rgba(85, 179, 255, 0.28), rgba(43, 216, 195, 0.16));
}

body:not(.admin-body) .reference-cover.is-harbor {
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(43, 216, 195, 0.34), rgba(230, 187, 97, 0.28));
}

body:not(.admin-body) .reference-cover.is-mountain {
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, rgba(230, 187, 97, 0.28), rgba(130, 160, 155, 0.2));
}

body:not(.admin-body) .reference-detail-modal {
  width: min(820px, calc(100vw - 28px));
}

body:not(.admin-body) .reference-detail-card {
  gap: 0;
  overflow: hidden;
  padding: 0;
}

body:not(.admin-body) .reference-detail-head {
  padding: 22px;
  border-bottom: 1px solid rgba(130, 160, 155, 0.16);
}

body:not(.admin-body) .reference-detail-head h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.05;
}

body:not(.admin-body) .reference-detail-head p:last-child {
  margin: 8px 0 0;
  color: rgba(239, 248, 245, 0.62);
}

body:not(.admin-body) .reference-detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
}

body:not(.admin-body) .reference-detail-cover {
  align-self: start;
}

body:not(.admin-body) .reference-detail-body {
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 14px;
}

body:not(.admin-body) .reference-detail-body > p,
body:not(.admin-body) .reference-detail-prompt p {
  margin: 0;
  color: rgba(239, 248, 245, 0.7);
  line-height: 1.7;
}

body:not(.admin-body) .reference-detail-body audio {
  width: 100%;
}

body:not(.admin-body) .reference-detail-prompt {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(130, 160, 155, 0.16);
  border-radius: 8px;
}

body:not(.admin-body) .reference-detail-prompt span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

body:not(.admin-body) .music-tasks-page {
  display: grid;
  gap: 18px;
  justify-self: center;
  width: 100%;
}

body:not(.admin-body) .task-hero {
  margin: 0;
}

body:not(.admin-body) .music-task-list .music-job {
  min-height: 0;
}

body:not(.admin-body) .music-task-list .music-job::before {
  height: 78px;
}

body:not(.admin-body) .music-task-node {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
}

body:not(.admin-body) .music-task-node::before {
  background: rgba(130, 160, 155, 0.26);
}

body:not(.admin-body) .music-task-node[open] {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(43, 216, 195, 0.26);
}

body:not(.admin-body) .music-task-tree-dot {
  background: var(--amber);
  border-color: #101819;
  box-shadow: 0 0 0 3px rgba(230, 187, 97, 0.13);
}

body:not(.admin-body) .music-task-thumb {
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.2), rgba(230, 187, 97, 0.14)),
    rgba(255, 255, 255, 0.055);
  border-color: rgba(130, 160, 155, 0.18);
}

body:not(.admin-body) .music-task-main strong {
  color: #fff;
}

body:not(.admin-body) .music-task-topline small,
body:not(.admin-body) .music-task-side small,
body:not(.admin-body) .music-task-main em,
body:not(.admin-body) .music-task-pagination {
  color: rgba(239, 248, 245, 0.58);
}

body:not(.admin-body) .music-task-side > strong {
  color: var(--amber);
}

body:not(.admin-body) .music-task-toggle {
  color: #061311;
  background: var(--cyan);
  border-color: transparent;
}

body:not(.admin-body) .music-task-detail {
  background: rgba(0, 0, 0, 0.16);
  border-color: rgba(130, 160, 155, 0.16);
  border-left-color: var(--cyan);
}

body:not(.admin-body) .music-task-detail-meta span {
  color: rgba(239, 248, 245, 0.72);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(130, 160, 155, 0.16);
}

body:not(.admin-body) .music-task-pagination .ghost-button {
  min-height: 34px;
  padding: 0 12px;
}

body:not(.admin-body) .music-job {
  min-height: 210px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.088), rgba(255, 255, 255, 0.046));
  border: 1px solid rgba(130, 160, 155, 0.2);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

body:not(.admin-body) .music-job::before {
  background:
    linear-gradient(90deg, rgba(43, 216, 195, 0.22), transparent 42%),
    linear-gradient(135deg, rgba(230, 187, 97, 0.18), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 5px, transparent 5px 13px);
  border-radius: 8px;
}

body:not(.admin-body) .music-job-cover {
  border-radius: 8px;
}

body:not(.admin-body) .music-job.is-active {
  border-color: rgba(230, 187, 97, 0.5);
  box-shadow:
    0 0 0 1px rgba(230, 187, 97, 0.14),
    0 20px 44px rgba(230, 187, 97, 0.12);
}

body:not(.admin-body) .music-job-head h3 {
  color: #ffffff;
}

body:not(.admin-body) .music-job-head strong {
  color: var(--amber);
}

body:not(.admin-body) .music-job > p,
body:not(.admin-body) .music-track-main p,
body:not(.admin-body) .music-track-main span {
  color: rgba(239, 248, 245, 0.64);
}

body:not(.admin-body) .music-status {
  color: #061311;
  background: var(--amber);
}

body:not(.admin-body) .music-status.succeeded {
  color: #061311;
  background: var(--cyan);
}

body:not(.admin-body) .music-status.failed,
body:not(.admin-body) .music-status.canceled {
  color: #170907;
  background: var(--rose);
}

body:not(.admin-body) .music-job-meta span {
  color: rgba(239, 248, 245, 0.7);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(130, 160, 155, 0.16);
  border-radius: 8px;
}

body:not(.admin-body) .music-progress {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: rgba(6, 16, 17, 0.46);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
}

body:not(.admin-body) .music-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(239, 248, 245, 0.74);
  font-size: 13px;
  font-weight: 850;
}

body:not(.admin-body) .music-progress-head strong {
  color: var(--amber);
  font-size: 18px;
}

body:not(.admin-body) .music-progress-bar {
  position: relative;
  overflow: hidden;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

body:not(.admin-body) .music-progress-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--music-progress, 0%);
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  border-radius: inherit;
  box-shadow: 0 0 22px rgba(43, 216, 195, 0.22);
  transition: width 320ms ease;
}

body:not(.admin-body) .music-progress.is-failed .music-progress-bar span {
  background: linear-gradient(90deg, var(--rose), var(--amber));
}

body:not(.admin-body) .music-progress-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body:not(.admin-body) .music-progress-steps li {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 6px;
  color: rgba(239, 248, 245, 0.42);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

body:not(.admin-body) .music-progress-steps li span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(130, 160, 155, 0.22);
  border-radius: 999px;
}

body:not(.admin-body) .music-progress-steps li.is-done,
body:not(.admin-body) .music-progress-steps li.is-current {
  color: rgba(239, 248, 245, 0.86);
}

body:not(.admin-body) .music-progress-steps li.is-done span,
body:not(.admin-body) .music-progress-steps li.is-current span {
  background: var(--cyan);
  border-color: transparent;
}

body:not(.admin-body) .music-progress-steps li.is-current span {
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(230, 187, 97, 0.12);
}

body:not(.admin-body) .music-progress-steps em {
  min-width: 0;
  font-style: normal;
  overflow-wrap: anywhere;
}

body:not(.admin-body) .music-progress p {
  margin: 0;
  color: rgba(239, 248, 245, 0.66);
  line-height: 1.65;
}

body:not(.admin-body) .music-track {
  background: rgba(3, 10, 11, 0.38);
  border-color: rgba(130, 160, 155, 0.18);
  border-radius: 8px;
}

body:not(.admin-body) .music-track-badge {
  color: rgba(239, 248, 245, 0.72);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(130, 160, 155, 0.18);
}

body:not(.admin-body) .music-track-badge.is-ready {
  color: #061311;
  background: var(--cyan);
  border-color: transparent;
}

body:not(.admin-body) .music-download,
body:not(.admin-body) .music-job-actions .ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(130, 160, 155, 0.2);
}

body:not(.admin-body) .music-job-actions .ghost-button.danger {
  color: #ffd6cf;
  background: rgba(237, 123, 99, 0.13);
  border-color: rgba(237, 123, 99, 0.34);
}

body:not(.admin-body) .music-error,
body:not(.admin-body) .music-muted {
  color: #ffd6cf;
  background: rgba(237, 123, 99, 0.13);
  border-color: rgba(237, 123, 99, 0.28);
  border-radius: 8px;
}

body:not(.admin-body) .music-muted {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(130, 160, 155, 0.2);
}

body:not(.admin-body) .asset-library {
  display: grid;
  justify-self: center;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  gap: 18px;
}

body:not(.admin-body) .asset-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(43, 216, 195, 0.1), transparent 44%, rgba(230, 187, 97, 0.09)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

body:not(.admin-body) .asset-hero h2 {
  margin: 4px 0 0;
  font-size: 38px;
  line-height: 1.15;
}

body:not(.admin-body) .asset-hero p:last-child {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

body:not(.admin-body) .asset-library-content {
  display: grid;
  gap: 16px;
}

body:not(.admin-body) .music-task-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body:not(.admin-body) .music-task-summary-grid article {
  padding: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
}

body:not(.admin-body) .music-task-summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

body:not(.admin-body) .music-task-summary-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 30px;
  line-height: 1;
}

body:not(.admin-body) .asset-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body:not(.admin-body) .asset-summary-grid article,
body:not(.admin-body) .panel-card,
body:not(.admin-body) .metric,
body:not(.admin-body) .transaction-item,
body:not(.admin-body) .message-item,
body:not(.admin-body) .contact-item {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
  box-shadow: none;
}

body:not(.admin-body) .asset-summary-grid article {
  padding: 18px;
}

body:not(.admin-body) .asset-summary-grid span,
body:not(.admin-body) .metric span,
body:not(.admin-body) .transaction-item span,
body:not(.admin-body) .message-item p,
body:not(.admin-body) .message-item time,
body:not(.admin-body) .profile-card p,
body:not(.admin-body) .empty-state p,
body:not(.admin-body) .about-column p,
body:not(.admin-body) .contact-item p {
  color: var(--muted);
}

body:not(.admin-body) .profile-access-badge.is-whitelist {
  color: #061311;
  background: var(--cyan);
}

body:not(.admin-body) .profile-access-badge.is-blacklist {
  color: #ffd6cf;
  background: rgba(237, 123, 99, 0.18);
}

body:not(.admin-body) .asset-summary-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 28px;
}

body:not(.admin-body) .asset-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(130, 160, 155, 0.16);
  border-radius: 8px;
}

body:not(.admin-body) .asset-toolbar h3 {
  margin: 2px 0 0;
  font-size: 20px;
}

body:not(.admin-body) .asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body:not(.admin-body) .asset-feature {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: stretch;
  min-height: 360px;
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
  color: var(--text);
  background:
    radial-gradient(circle at 16% 18%, rgba(43, 216, 195, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
}

body:not(.admin-body) .asset-feature-art,
body:not(.admin-body) .asset-artwork {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(239, 248, 245, 0.9) 0 5%, transparent 6%),
    radial-gradient(circle at center, transparent 0 32%, rgba(239, 248, 245, 0.12) 33% 34%, transparent 35%),
    conic-gradient(from 110deg, rgba(43, 216, 195, 0.42), rgba(230, 187, 97, 0.35), rgba(237, 123, 99, 0.28), rgba(43, 216, 195, 0.42));
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
}

body:not(.admin-body) .asset-feature-art {
  min-height: 320px;
}

body:not(.admin-body) .asset-artwork {
  aspect-ratio: 1;
}

body:not(.admin-body) .asset-feature-art img,
body:not(.admin-body) .asset-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:not(.admin-body) .asset-feature-art:not(.has-cover)::after,
body:not(.admin-body) .asset-artwork:not(.has-cover)::after {
  width: 34%;
  aspect-ratio: 1;
  background: rgba(7, 16, 17, 0.78);
  border-radius: 999px;
  content: "";
}

body:not(.admin-body) .asset-feature-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
}

body:not(.admin-body) .asset-feature-copy h3 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
}

body:not(.admin-body) .asset-feature-copy audio,
body:not(.admin-body) .asset-piece-card audio {
  width: 100%;
}

body:not(.admin-body) .asset-piece-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body:not(.admin-body) .asset-piece-meta span,
body:not(.admin-body) .asset-soft-label {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  color: rgba(239, 248, 245, 0.72);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

body:not(.admin-body) .asset-soft-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

body:not(.admin-body) .asset-listen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body:not(.admin-body) .asset-listen-actions .ghost-button {
  min-height: 34px;
  padding: 0 12px;
}

body:not(.admin-body) .asset-action-menu {
  position: relative;
}

body:not(.admin-body) .asset-action-menu summary {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

body:not(.admin-body) .asset-action-menu summary::-webkit-details-marker {
  display: none;
}

body:not(.admin-body) .asset-action-menu > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(520px, calc(100vw - 32px));
  margin-top: 8px;
  padding: 10px;
  background: rgba(9, 18, 19, 0.96);
  border: 1px solid rgba(130, 160, 155, 0.24);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

body:not(.admin-body) .asset-action-menu .ghost-button {
  justify-content: center;
  min-height: 32px;
  padding: 0 9px;
  font-size: 12px;
}

body:not(.admin-body) .asset-listen-shelf {
  display: grid;
  gap: 14px;
}

body:not(.admin-body) .asset-shelf-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(130, 160, 155, 0.16);
  border-radius: 8px;
}

body:not(.admin-body) .asset-shelf-head h3 {
  margin: 2px 0 0;
  font-size: 22px;
}

body:not(.admin-body) .asset-piece-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body:not(.admin-body) .asset-piece-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
}

body:not(.admin-body) .asset-piece-card.is-selected {
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.12), rgba(230, 187, 97, 0.07)),
    rgba(255, 255, 255, 0.065);
  border-color: rgba(43, 216, 195, 0.44);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

body:not(.admin-body) .asset-piece-body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

body:not(.admin-body) .asset-piece-index {
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
}

body:not(.admin-body) .asset-piece-card h3 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.admin-body) .asset-piece-select {
  width: max-content;
  max-width: 100%;
  min-height: 32px;
  padding: 0 12px;
  color: #071011;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

body:not(.admin-body) .asset-piece-select:disabled {
  color: rgba(239, 248, 245, 0.78);
  background: rgba(43, 216, 195, 0.16);
  border: 1px solid rgba(43, 216, 195, 0.3);
  cursor: default;
}

body:not(.admin-body) .asset-empty {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 30px;
  text-align: center;
}

body:not(.admin-body) .asset-empty h3 {
  margin: 14px 0 0;
  font-size: 24px;
}

body:not(.admin-body) .asset-empty p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

body:not(.admin-body) .asset-empty .primary-button {
  margin-top: 18px;
}

body:not(.admin-body) .asset-empty-mark {
  width: 72px;
  height: 48px;
  background:
    linear-gradient(180deg, transparent 0 14px, rgba(43, 216, 195, 0.28) 14px 18px, transparent 18px),
    repeating-linear-gradient(90deg, rgba(230, 187, 97, 0.8) 0 5px, transparent 5px 11px);
  border: 1px solid rgba(130, 160, 155, 0.28);
  border-radius: 8px;
}

body:not(.admin-body) .asset-library-controls {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
}

body:not(.admin-body) .asset-library-controls p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

body:not(.admin-body) .asset-search-control {
  display: grid;
  gap: 8px;
}

body:not(.admin-body) .asset-search-control span {
  color: rgba(239, 248, 245, 0.72);
  font-size: 12px;
  font-weight: 900;
}

body:not(.admin-body) .asset-search-control input {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  color: var(--text);
  background: rgba(7, 16, 17, 0.38);
  border: 1px solid rgba(130, 160, 155, 0.22);
  border-radius: 8px;
}

body:not(.admin-body) .asset-search-control input::placeholder {
  color: rgba(239, 248, 245, 0.4);
}

body:not(.admin-body) .asset-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 7px;
  scrollbar-color: rgba(43, 216, 195, 0.58) rgba(130, 160, 155, 0.08);
  scrollbar-width: thin;
}

body:not(.admin-body) .asset-filter-row::-webkit-scrollbar {
  height: 7px;
}

body:not(.admin-body) .asset-filter-row::-webkit-scrollbar-track {
  background: rgba(5, 14, 16, 0.58);
  border: 1px solid rgba(130, 160, 155, 0.12);
  border-radius: 999px;
}

body:not(.admin-body) .asset-filter-row::-webkit-scrollbar-thumb {
  background:
    linear-gradient(90deg, rgba(43, 216, 195, 0.92), rgba(230, 187, 97, 0.82));
  border: 2px solid rgba(5, 14, 16, 0.88);
  border-radius: 999px;
}

body:not(.admin-body) .asset-filter-row::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(90deg, rgba(92, 238, 220, 0.98), rgba(241, 204, 121, 0.92));
}

body:not(.admin-body) .asset-filter-chip {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 0 12px;
  color: rgba(239, 248, 245, 0.76);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

body:not(.admin-body) .asset-filter-chip em {
  color: rgba(239, 248, 245, 0.58);
  font-style: normal;
  font-size: 12px;
}

body:not(.admin-body) .asset-filter-chip:hover,
body:not(.admin-body) .asset-filter-chip.is-active {
  color: #061311;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  border-color: transparent;
}

body:not(.admin-body) .asset-filter-chip:hover em,
body:not(.admin-body) .asset-filter-chip.is-active em {
  color: rgba(6, 19, 17, 0.62);
}

body:not(.admin-body) .asset-listening-deck {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: center;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(43, 216, 195, 0.16), transparent 32%),
    radial-gradient(circle at 84% 80%, rgba(230, 187, 97, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028));
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
}

body:not(.admin-body) .asset-turntable {
  position: relative;
  display: grid;
  min-height: 340px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.035), transparent 38%),
    linear-gradient(145deg, rgba(18, 31, 34, 0.96), rgba(7, 17, 19, 0.88));
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 -40px 90px rgba(0, 0, 0, 0.18);
}

body:not(.admin-body) .asset-record-visual {
  position: relative;
  display: grid;
  width: min(90%, 390px);
  aspect-ratio: 1;
  place-items: center;
  isolation: isolate;
}

body:not(.admin-body) .asset-record-disc {
  position: absolute;
  inset: 1.5%;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(236, 241, 235, 0.9) 0 1.7%, transparent 1.9%),
    radial-gradient(circle at center, transparent 0 42%, rgba(255, 255, 255, 0.045) 42.4% 43%, transparent 43.4%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.055) 0 1px, rgba(0, 0, 0, 0) 1px 6px),
    conic-gradient(from 160deg, #080909, #1a1b1a 18%, #080909 34%, #222522 48%, #0a0b0b 68%, #161815 82%, #080909);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.42),
    0 0 0 6px rgba(13, 22, 23, 0.96),
    0 0 0 9px rgba(255, 255, 255, 0.025),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 42px rgba(0, 0, 0, 0.76);
}

body:not(.admin-body) .asset-record-disc::before {
  position: absolute;
  inset: 10%;
  border-radius: inherit;
  background:
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.09), transparent 28%);
  content: "";
  mix-blend-mode: screen;
  opacity: 0.56;
}

body:not(.admin-body) .asset-record-disc::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    conic-gradient(from 16deg, transparent 0 30deg, rgba(255, 255, 255, 0.08) 48deg, transparent 74deg 360deg);
  content: "";
  opacity: 0.44;
}

body:not(.admin-body) .asset-record-label {
  position: relative;
  z-index: 1;
  display: grid;
  width: 50%;
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  color: rgba(239, 248, 245, 0.9);
  background: #152023;
  border: 2px solid rgba(239, 248, 245, 0.08);
  border-radius: 999px;
  box-shadow:
    0 0 0 4px rgba(0, 0, 0, 0.42),
    0 0 0 6px rgba(255, 255, 255, 0.035),
    0 12px 24px rgba(0, 0, 0, 0.28);
  font-size: 34px;
  font-weight: 950;
}

body:not(.admin-body) .asset-record-visual.is-large .asset-record-label {
  width: 55%;
}

body:not(.admin-body) .asset-record-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03) rotate(-5deg);
}

body:not(.admin-body) .asset-tonearm {
  position: absolute;
  top: 4%;
  right: auto;
  left: 63.5%;
  z-index: 3;
  width: clamp(104px, 18vw, 150px);
  height: clamp(154px, 25vw, 220px);
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(8px 13px 14px rgba(0, 0, 0, 0.28));
  transform: translate(-8px, -14px) rotate(-7deg);
  transform-origin: 45% 13%;
  transition:
    left 0.42s ease,
    top 0.42s ease,
    transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body:not(.admin-body) .asset-tonearm-pivot-outer {
  fill: #f6f7f1;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1;
}

body:not(.admin-body) .asset-tonearm-pivot-inner {
  fill: #172326;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
}

body:not(.admin-body) .asset-tonearm-arm-shadow,
body:not(.admin-body) .asset-tonearm-arm {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body:not(.admin-body) .asset-tonearm-arm-shadow {
  stroke: rgba(0, 0, 0, 0.34);
  stroke-width: 8;
  transform: translate(4px, 5px);
}

body:not(.admin-body) .asset-tonearm-arm {
  stroke: #f8faf5;
  stroke-width: 5.2;
}

body:not(.admin-body) .asset-tonearm-cartridge rect {
  fill: #f7f8f2;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1;
}

body:not(.admin-body) .asset-tonearm-cartridge path {
  fill: none;
  stroke: rgba(21, 31, 34, 0.9);
  stroke-linecap: round;
  stroke-width: 3;
}

body:not(.admin-body) .asset-listening-deck.is-playing .asset-record-visual.is-large {
  animation: vinylSpin 8.5s linear infinite;
}

body:not(.admin-body) .asset-listening-deck.is-playing .asset-tonearm {
  left: 62.5%;
  transform: translate(-7px, -6px) rotate(-1deg);
}

@keyframes vinylSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.admin-body) .asset-listening-deck.is-playing .asset-record-visual.is-large {
    animation: none;
  }

  body:not(.admin-body) .asset-tonearm {
    transition: none;
  }
}

body:not(.admin-body) .asset-player-copy {
  display: grid;
  min-width: 0;
  gap: 14px;
}

body:not(.admin-body) .asset-player-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.05;
}

body:not(.admin-body) .asset-player-copy audio {
  width: 100%;
  max-width: 620px;
}

body:not(.admin-body) .asset-player-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body:not(.admin-body) .asset-player-nav .ghost-button {
  min-height: 34px;
  padding: 0 12px;
}

body:not(.admin-body) .asset-tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body:not(.admin-body) .asset-tag-line span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  color: rgba(239, 248, 245, 0.74);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(130, 160, 155, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

body:not(.admin-body) .asset-player-actions {
  display: grid;
  gap: 10px;
}

body:not(.admin-body) .asset-manage-actions,
body:not(.admin-body) .asset-listen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body:not(.admin-body) .asset-favorite-button,
body:not(.admin-body) .asset-delete-button,
body:not(.admin-body) .asset-icon-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: rgba(239, 248, 245, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

body:not(.admin-body) .asset-favorite-button.is-active,
body:not(.admin-body) .asset-icon-button.is-active {
  color: #061311;
  background: var(--amber);
  border-color: transparent;
}

body:not(.admin-body) .asset-delete-button {
  color: #ffd6cf;
  background: rgba(237, 123, 99, 0.11);
  border-color: rgba(237, 123, 99, 0.22);
}

body:not(.admin-body) .asset-record-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 14px;
}

body:not(.admin-body) .asset-record-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.048);
  border: 1px solid rgba(130, 160, 155, 0.16);
  border-radius: 8px;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

body:not(.admin-body) .asset-record-card:hover,
body:not(.admin-body) .asset-record-card.is-selected {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.11), rgba(230, 187, 97, 0.07)),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(43, 216, 195, 0.42);
}

body:not(.admin-body) .asset-record-button {
  width: 100%;
  padding: 0;
  background: transparent;
}

body:not(.admin-body) .asset-record-card .asset-record-visual {
  width: min(100%, 172px);
  margin: 0 auto;
}

body:not(.admin-body) .asset-record-card .asset-record-label {
  border-width: 1px;
  box-shadow:
    0 0 0 5px rgba(0, 0, 0, 0.44),
    0 0 0 6px rgba(255, 255, 255, 0.026);
  font-size: 22px;
}

body:not(.admin-body) .asset-record-body {
  display: grid;
  gap: 9px;
  min-width: 0;
}

body:not(.admin-body) .asset-record-title-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

body:not(.admin-body) .asset-record-title-line > span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
}

body:not(.admin-body) .asset-record-title-line h3 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.admin-body) .asset-record-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body:not(.admin-body) .asset-record-foot > span {
  color: rgba(239, 248, 245, 0.58);
  font-size: 12px;
  font-weight: 850;
}

body:not(.admin-body) .asset-record-foot > div {
  display: flex;
  gap: 6px;
}

body:not(.admin-body) .asset-icon-button {
  min-height: 28px;
  padding: 0 8px;
  font-size: 12px;
}

body:not(.admin-body) .asset-search-empty {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
}

body:not(.admin-body) .asset-action-card {
  width: min(600px, calc(100vw - 28px));
  max-height: min(720px, calc(100dvh - 48px));
  gap: 0;
  overflow: hidden;
  padding: 0;
}

body:not(.admin-body) .asset-action-modal {
  width: min(600px, calc(100vw - 28px));
  overflow: visible;
}

body:not(.admin-body) .asset-action-card .modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  align-items: flex-start;
  padding: 22px 22px 16px;
  background:
    linear-gradient(180deg, rgba(10, 20, 22, 0.99), rgba(10, 20, 22, 0.94)),
    rgba(10, 20, 22, 0.98);
  border-bottom: 1px solid rgba(130, 160, 155, 0.16);
}

body:not(.admin-body) .asset-action-card .modal-head > div {
  min-width: 0;
}

body:not(.admin-body) .asset-action-card .close-button {
  flex: 0 0 auto;
}

body:not(.admin-body) .asset-action-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  max-height: min(520px, calc(100dvh - 190px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 18px 18px;
  scrollbar-color: rgba(43, 216, 195, 0.58) rgba(130, 160, 155, 0.08);
  scrollbar-width: thin;
}

body:not(.admin-body) .asset-action-list::-webkit-scrollbar {
  width: 7px;
}

body:not(.admin-body) .asset-action-list::-webkit-scrollbar-track {
  background: rgba(5, 14, 16, 0.58);
  border: 1px solid rgba(130, 160, 155, 0.12);
  border-radius: 999px;
}

body:not(.admin-body) .asset-action-list::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg, rgba(43, 216, 195, 0.92), rgba(230, 187, 97, 0.82));
  border: 2px solid rgba(5, 14, 16, 0.88);
  border-radius: 999px;
}

body:not(.admin-body) .asset-action-list::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(92, 238, 220, 0.98), rgba(241, 204, 121, 0.92));
}

body:not(.admin-body) .asset-action-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-items: stretch;
  padding: 13px 14px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(43, 216, 195, 0.08), rgba(230, 187, 97, 0.04)),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(130, 160, 155, 0.18);
  border-radius: 8px;
  text-align: left;
}

body:not(.admin-body) .asset-action-option:hover {
  border-color: rgba(43, 216, 195, 0.42);
  transform: translateY(-1px);
}

body:not(.admin-body) .asset-action-option span {
  overflow: hidden;
  color: #fff;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.admin-body) .asset-action-option em {
  justify-self: end;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 920px) {
  body:not(.admin-body) .asset-library-controls {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  body:not(.admin-body) .asset-library-controls p {
    white-space: normal;
  }

  body:not(.admin-body) .asset-listening-deck {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .asset-turntable {
    min-height: 300px;
  }

  body:not(.admin-body) .asset-player-copy h3 {
    font-size: clamp(28px, 9vw, 44px);
  }
}

@media (max-width: 560px) {
  body:not(.admin-body) .asset-record-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body:not(.admin-body) .asset-record-card {
    padding: 10px;
  }

  body:not(.admin-body) .asset-record-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  body:not(.admin-body) .asset-record-foot > div {
    width: 100%;
  }

  body:not(.admin-body) .asset-icon-button {
    flex: 1;
  }

  body:not(.admin-body) .asset-turntable {
    min-height: 250px;
  }

  body:not(.admin-body) .asset-tonearm {
    top: 8%;
    left: 63%;
    width: 92px;
    height: 142px;
    transform: translate(-6px, -12px) rotate(-7deg);
  }

  body:not(.admin-body) .asset-listening-deck.is-playing .asset-tonearm {
    left: 62%;
    transform: translate(-5px, -5px) rotate(-1deg);
  }

  body:not(.admin-body) .asset-listening-deck,
  body:not(.admin-body) .asset-library-controls {
    padding: 14px;
  }
}

body:not(.admin-body) .about-hero {
  color: var(--text);
}

body:not(.admin-body) .about-pill {
  color: #061311;
  background: var(--cyan);
  border-color: var(--cyan);
  border-radius: 8px;
}

body:not(.admin-body) .about-pill::before,
body:not(.admin-body) .about-column h3 span,
body:not(.admin-body) .message-item.is-unread .message-state {
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(230, 187, 97, 0.12);
}

body:not(.admin-body) .about-hero h2 {
  color: var(--text);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  font-size: 52px;
}

body:not(.admin-body) .about-hero p {
  color: var(--muted);
}

body:not(.admin-body) .about-column + .about-column {
  border-color: rgba(130, 160, 155, 0.18);
}

body:not(.admin-body) .contact-item span {
  color: #061311;
  background: var(--amber);
  border-color: transparent;
  border-radius: 8px;
}

body:not(.admin-body) .contact-item a {
  color: var(--cyan-dark);
}

body:not(.admin-body) .about-edit-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(130, 160, 155, 0.2);
}

body:not(.admin-body) .profile-avatar {
  color: #061311;
  background: linear-gradient(135deg, #2bd8c3, #e6bb61);
  border-radius: 8px;
}

body:not(.admin-body) .profile-logout-button {
  color: #ffd6cf;
  background: rgba(237, 123, 99, 0.12);
  border-color: rgba(237, 123, 99, 0.26);
}

body:not(.admin-body) .profile-logout-button:hover {
  background: rgba(237, 123, 99, 0.18);
}

body:not(.admin-body) .message-state {
  background: rgba(130, 160, 155, 0.34);
}

body:not(.admin-body) .modal {
  z-index: 1000;
}

body:not(.admin-body) .modal::backdrop {
  background: rgba(1, 8, 9, 0.62);
  backdrop-filter: blur(8px);
}

body:not(.admin-body) .modal-card {
  color: var(--text);
  background: rgba(10, 20, 22, 0.98);
  border: 1px solid rgba(130, 160, 155, 0.24);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44);
}

body:not(.admin-body) .close-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

body:not(.admin-body) .modal-card label,
body:not(.admin-body) .auth-login-mode,
body:not(.admin-body) .amount-grid,
body:not(.admin-body) .payment-grid,
body:not(.admin-body) .about-form label {
  color: var(--text);
}

body:not(.admin-body) .auth-mode-tabs {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(130, 160, 155, 0.2);
}

body:not(.admin-body) .auth-mode-tabs button {
  color: var(--muted);
}

body:not(.admin-body) .auth-mode-tabs button.is-active {
  color: #061311;
  background: var(--cyan);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

body:not(.admin-body) .modal-card input[type="text"],
body:not(.admin-body) .modal-card input[type="password"],
body:not(.admin-body) .modal-card input[type="number"],
body:not(.admin-body) .modal-card input[type="email"],
body:not(.admin-body) .modal-card textarea,
body:not(.admin-body) .about-form input,
body:not(.admin-body) .about-form textarea {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(130, 160, 155, 0.22);
  border-radius: 8px;
}

body:not(.admin-body) .auth-helper,
body:not(.admin-body) .payment-status,
body:not(.admin-body) .payment-qr-wrap p {
  color: var(--muted);
}

body:not(.admin-body) .auth-feedback {
  color: #ffd6cf;
  background: rgba(237, 123, 99, 0.14);
  border-color: rgba(237, 123, 99, 0.3);
  border-radius: 8px;
}

body:not(.admin-body) .source-picker-modal::backdrop {
  background:
    radial-gradient(circle at 50% 18%, rgba(43, 216, 195, 0.12), transparent 34%),
    rgba(1, 8, 9, 0.78);
  backdrop-filter: blur(12px);
}

body:not(.admin-body) .modal-card.source-picker-card {
  gap: 18px;
  overflow: hidden;
  padding: 22px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(43, 216, 195, 0.07), transparent 34%),
    rgba(5, 14, 15, 0.98);
  border: 1px solid rgba(43, 216, 195, 0.22);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 34px 90px rgba(0, 0, 0, 0.56);
}

body:not(.admin-body) .source-picker-card .modal-head {
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(130, 160, 155, 0.14);
}

body:not(.admin-body) .source-picker-card .eyebrow {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: 11px;
}

body:not(.admin-body) .source-picker-card h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
}

body:not(.admin-body) .source-picker-card #sourcePickerHint {
  max-width: 520px;
  margin: 10px 0 0;
  color: rgba(239, 248, 245, 0.64);
  line-height: 1.65;
}

body:not(.admin-body) .source-picker-card .close-button {
  flex: 0 0 auto;
  color: rgba(239, 248, 245, 0.84);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(130, 160, 155, 0.18);
}

body:not(.admin-body) .source-picker-card .close-button:hover {
  color: #061311;
  background: var(--cyan);
}

body:not(.admin-body) .auth-login-mode span,
body:not(.admin-body) .amount-grid span,
body:not(.admin-body) .payment-grid label {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(130, 160, 155, 0.2);
  border-radius: 8px;
}

body:not(.admin-body) .auth-login-mode input:checked + span,
body:not(.admin-body) .amount-grid input:checked + span,
body:not(.admin-body) .payment-grid label:has(input:checked) {
  color: #061311;
  background: var(--cyan);
  border-color: var(--cyan);
}

body:not(.admin-body) .recharge-summary,
body:not(.admin-body) .payment-order {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(130, 160, 155, 0.2);
  border-radius: 8px;
}

body:not(.admin-body) .recharge-summary strong,
body:not(.admin-body) .payment-order strong {
  color: var(--amber);
}

body:not(.admin-body) .payment-qr-wrap {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(130, 160, 155, 0.2);
  border-radius: 8px;
}

body:not(.admin-body) .toast {
  z-index: 9999;
  color: var(--text);
  background: rgba(10, 20, 22, 0.96);
  border: 1px solid rgba(43, 216, 195, 0.3);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

@media (max-width: 1120px) {
  body:not(.admin-body) .music-creator-hero {
    transform: none;
  }

  body:not(.admin-body) .music-stage-left {
    top: 74px;
    left: -70px;
    width: 560px;
    opacity: 0.68;
  }

  body:not(.admin-body) .music-stage-right {
    right: -260px;
    width: 620px;
    opacity: 0.46;
  }

  body:not(.admin-body) .music-recent-list,
  body:not(.admin-body) .music-reference-grid,
  body:not(.admin-body) .music-history-list,
  body:not(.admin-body) .asset-piece-grid,
  body:not(.admin-body) .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body:not(.admin-body) .main-area {
    --main-gutter: 14px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 18px var(--main-gutter) 96px;
  }

  body:not(.admin-body) .topbar {
    top: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    gap: 12px;
    margin-right: 0;
    margin-left: 0;
  }

  body:not(.admin-body) .topbar-brand,
  body:not(.admin-body) .top-actions {
    width: 100%;
    min-width: 0;
  }

  body:not(.admin-body) .top-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body:not(.admin-body) .top-actions .ghost-button,
  body:not(.admin-body) .top-actions .primary-button {
    width: 100%;
  }

  body:not(.admin-body) .music-workbench {
    min-height: auto;
    padding: 18px;
  }

  body:not(.admin-body) .music-creator-hero {
    transform: none;
  }

  body:not(.admin-body) .music-stage-left {
    left: -210px;
    width: 500px;
    opacity: 0.24;
  }

  body:not(.admin-body) .music-stage-right {
    right: -260px;
    width: 500px;
    opacity: 0.16;
  }

  body:not(.admin-body) .music-appbar,
  body:not(.admin-body) .task-hero,
  body:not(.admin-body) .asset-hero,
  body:not(.admin-body) .asset-toolbar {
    display: grid;
    min-width: 0;
    align-items: stretch;
  }

  body:not(.admin-body) .music-wallet-strip {
    min-width: 0;
    justify-content: start;
  }

  body:not(.admin-body) .music-creator-hero h2,
  body:not(.admin-body) .about-hero h2 {
    font-size: 38px;
  }

  body:not(.admin-body) .asset-hero h2 {
    font-size: 32px;
  }

  body:not(.admin-body) .asset-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-body) .music-task-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-body) .music-mode-tabs {
    justify-content: flex-start;
    overflow: visible;
  }

  body:not(.admin-body) .music-feature-primary {
    flex: 1 1 auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
  }

  body:not(.admin-body) .music-feature-more-panel {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, calc(100vw - 32px));
  }

  body:not(.admin-body) .music-feature-group {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  body:not(.admin-body) .asset-feature {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .asset-feature-art {
    min-height: 260px;
  }

  body:not(.admin-body) .composer-advanced > div {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .composer-source-fields {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .composer-source-card,
  body:not(.admin-body) .source-picker-item {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .source-card-actions,
  body:not(.admin-body) .source-upload-row {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  body:not(.admin-body) .side-nav {
    background: rgba(5, 12, 14, 0.92);
    border-top: 1px solid rgba(130, 160, 155, 0.2);
    border-right: 0;
  }

  body:not(.admin-body) .nav-item {
    min-width: 64px;
  }
}

@media (max-width: 520px) {
  body:not(.admin-body) .main-area {
    padding-right: 14px;
    padding-left: 14px;
  }

  body:not(.admin-body) .topbar,
  body:not(.admin-body) .music-workbench,
  body:not(.admin-body) .music-home-section,
  body:not(.admin-body) .music-tasks-page,
  body:not(.admin-body) .asset-library {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body:not(.admin-body) .top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-body) .topbar-brand {
    justify-content: center;
    text-align: center;
  }

  body:not(.admin-body) .top-actions .primary-button {
    grid-column: 1 / -1;
  }

  body:not(.admin-body) .music-workbench {
    margin: 0;
    padding: 14px;
  }

  body:not(.admin-body) .music-stage-left {
    top: 46px;
    left: -250px;
    width: 460px;
    opacity: 0.12;
  }

  body:not(.admin-body) .music-stage-right {
    display: none;
  }

  body:not(.admin-body) .music-creator-hero {
    justify-items: center;
    text-align: center;
  }

  body:not(.admin-body) .music-hero-kicker,
  body:not(.admin-body) .music-creator-hero h2 {
    justify-content: center;
    text-align: center;
  }

  body:not(.admin-body) .music-creator-hero h2,
  body:not(.admin-body) .about-hero h2 {
    font-size: 30px;
  }

  body:not(.admin-body) .music-active-notice {
    display: grid;
    align-items: stretch;
  }

  body:not(.admin-body) .music-active-notice .ghost-button {
    width: 100%;
  }

  body:not(.admin-body) .music-mode-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .music-feature-more,
  body:not(.admin-body) .music-feature-more summary {
    width: 100%;
  }

  body:not(.admin-body) .music-feature-more summary {
    justify-content: space-between;
  }

  body:not(.admin-body) .music-feature-more-panel {
    left: 0;
    transform: none;
    width: 100%;
    max-height: min(460px, calc(100vh - 160px));
  }

  body:not(.admin-body) .music-prompt-field {
    min-height: 220px;
    padding: 16px;
  }

  body:not(.admin-body) .music-prompt-field textarea,
  body:not(.admin-body) .music-prompt-field > span,
  body:not(.admin-body) .music-hero-kicker strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body:not(.admin-body) .composer-toolbar {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 0;
    padding: 0;
    pointer-events: auto;
  }

  body:not(.admin-body) .composer-tools {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  body:not(.admin-body) .composer-tools button {
    flex: 0 0 auto;
  }

  body:not(.admin-body) .music-task-summary {
    grid-template-columns: 14px 42px minmax(0, 1fr);
    align-items: start;
  }

  body:not(.admin-body) .music-task-thumb {
    width: 42px;
    height: 42px;
  }

  body:not(.admin-body) .music-task-side {
    grid-column: 3;
    justify-items: start;
  }

  body:not(.admin-body) .music-task-detail {
    margin-left: 32px;
  }

  body:not(.admin-body) .music-task-pagination {
    display: grid;
  }

  body:not(.admin-body) .music-task-pagination div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-body) .music-progress-steps {
    gap: 4px;
  }

  body:not(.admin-body) .music-progress-steps li {
    font-size: 11px;
  }

  body:not(.admin-body) .asset-shelf-head {
    display: grid;
    align-items: stretch;
  }

  body:not(.admin-body) .asset-piece-grid,
  body:not(.admin-body) .music-task-summary-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .music-submit {
    width: 100%;
    height: 52px;
    min-height: 52px;
    grid-template-columns: auto auto auto;
    gap: 8px;
    justify-self: stretch;
    padding: 0 18px;
    border-radius: 8px;
  }

  body:not(.admin-body) .music-submit::before {
    font-size: 17px;
  }

  body:not(.admin-body) .music-submit span,
  body:not(.admin-body) .music-submit small {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }

  body:not(.admin-body) .music-submit span {
    font-size: 14px;
    font-weight: 950;
  }

  body:not(.admin-body) .music-submit small {
    color: rgba(6, 19, 17, 0.72);
  }

  body:not(.admin-body) .composer-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    justify-content: stretch;
    padding: 14px;
    background:
      linear-gradient(135deg, rgba(43, 216, 195, 0.08), rgba(230, 187, 97, 0.06)),
      rgba(7, 16, 17, 0.62);
    border: 1px solid rgba(130, 160, 155, 0.22);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  }

  body:not(.admin-body) .composer-advanced {
    width: 100%;
  }

  body:not(.admin-body) .composer-advanced summary {
    width: 100%;
  }

  body:not(.admin-body) .music-segment-field {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  body:not(.admin-body) .music-segment-field legend,
  body:not(.admin-body) .composer-select > span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    margin: 0;
    color: rgba(239, 248, 245, 0.66);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.2;
  }

  body:not(.admin-body) .music-segment-field legend {
    grid-column: 1 / -1;
  }

  body:not(.admin-body) .music-segment-field span {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    padding: 0 10px;
    border-radius: 8px;
  }

  body:not(.admin-body) .composer-select,
  body:not(.admin-body) .composer-select.has-custom-select {
    display: grid;
    width: 100%;
    min-height: 0;
    gap: 8px;
    justify-content: stretch;
  }

  body:not(.admin-body) .custom-select {
    width: 100%;
  }

  body:not(.admin-body) .custom-select-button {
    min-height: 42px;
    border-radius: 8px;
  }

  body:not(.admin-body) .generation-mode-help {
    width: 40px;
    height: 40px;
    min-height: 40px;
    justify-self: end;
    margin-left: 0;
    border-radius: 8px;
  }

  body:not(.admin-body) .music-history-list,
  body:not(.admin-body) .music-recent-list,
  body:not(.admin-body) .music-reference-grid,
  body:not(.admin-body) .asset-grid,
  body:not(.admin-body) .asset-summary-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .music-reference-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  body:not(.admin-body) .discover-reference-card {
    min-height: 0;
  }

  body:not(.admin-body) .reference-card-actions .ghost-button,
  body:not(.admin-body) .reference-preview-button {
    flex: 1 1 110px;
  }

  body:not(.admin-body) .reference-detail-layout {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .reference-detail-cover {
    width: min(100%, 320px);
    justify-self: center;
  }

  body:not(.admin-body) .asset-hero,
  body:not(.admin-body) .asset-empty {
    padding: 20px;
  }

  body:not(.admin-body) .music-job-head,
  body:not(.admin-body) .music-track-main {
    display: grid;
  }

  body:not(.admin-body) .music-track-side {
    justify-items: start;
  }

  body:not(.admin-body) .music-job-head strong {
    white-space: normal;
  }
}

.music-composer [data-feature-option][hidden],
.music-composer .music-prompt-field[hidden],
.music-composer .music-promptless-guide[hidden],
.music-composer .composer-options[hidden],
.music-composer .composer-advanced[hidden] {
  display: none !important;
}
