:root {
  --bg: #0a0a0f;
  --card: #14141c;
  --text: #f2f2f7;
  --muted: #9b9bb0;
  --accent: #7c5cff;
  --accent2: #00d4aa;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* brand atmosphere */
.brand-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.brand-orb-a {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -100px;
  background: rgba(124, 92, 255, 0.18);
  animation: orb-drift-a 20s ease-in-out infinite;
}

.brand-orb-b {
  width: 360px;
  height: 360px;
  bottom: 10%;
  right: -80px;
  background: rgba(0, 212, 170, 0.12);
  animation: orb-drift-b 24s ease-in-out infinite;
}

.nav,
.hero,
main,
.footer {
  position: relative;
  z-index: 1;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.logo-word {
  font-size: 1.05rem;
  line-height: 1;
}

.logo-kot {
  background: linear-gradient(135deg, var(--accent2), #7ee8cc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.logo-lockup-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.logo-sub {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.logo-word-hero {
  font-size: 1.75rem;
}

.logo-word-md {
  font-size: 1.35rem;
  margin: 0;
}

.logo-word-sm {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.logo-lockup-hero {
  margin-bottom: 1.25rem;
}

.logo-mark-hero {
  width: 4.5rem;
  height: 4.5rem;
}

.logo-mark-sm {
  width: 1.5rem;
  height: 1.5rem;
}

.logo-sub-card {
  margin: 0.15rem 0 0.75rem;
}

.badge-soon {
  margin-top: 1rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-links a:hover { color: var(--text); }

.nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: 0.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: 0.25rem;
}

.nav-login,
.nav-register {
  font-weight: 500;
}

.nav-register {
  color: var(--accent2) !important;
}

.nav-register.active,
.nav-login.active {
  color: var(--text) !important;
}

.btn-nav {
  padding: 0.5rem 1rem !important;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #5a3fd4);
  color: #fff !important;
  font-weight: 600;
}

.btn-nav:hover {
  opacity: 0.92;
}

/* blurred logo watermarks */
.has-bg-watermark {
  position: relative;
  overflow: hidden;
}

.has-bg-watermark > .wrap,
.has-bg-watermark > .hero-grid,
.hero.has-bg-watermark > .wrap {
  position: relative;
  z-index: 1;
}

.bg-watermark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  line-height: 0;
  --px: 0px;
  --py: 0px;
  transition: transform 0.4s ease-out;
}

.bg-watermark img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.55;
  filter: blur(28px) saturate(1.2);
}

.bg-watermark-hero-right {
  width: min(420px, 50vw);
  right: -6%;
  top: 50%;
  transform: translate(var(--px), calc(-48% + var(--py)));
}

.bg-watermark-hero-left {
  width: min(260px, 35vw);
  left: -8%;
  bottom: 5%;
  opacity: 0.6;
  transform: translate(var(--px), var(--py));
}

.bg-watermark-hero-left img {
  opacity: 0.35;
  filter: blur(36px);
}

.bg-watermark-about {
  width: 320px;
  left: -4%;
  top: 50%;
  transform: translateY(-50%);
}

.bg-watermark-how {
  width: 280px;
  right: -2%;
  top: 20%;
}

.bg-watermark-cta {
  width: 360px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.bg-watermark-cta img {
  opacity: 0.4;
  filter: blur(32px);
}

/* hero */
.hero {
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124, 92, 255, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(0, 212, 170, 0.12), transparent);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(124, 92, 255, 0.06) 35%,
    rgba(0, 212, 170, 0.05) 65%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: hero-shimmer 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.2);
  color: #c4b5ff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.12;
  margin: 1rem 0;
}

.lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0;
}

.lead code {
  color: var(--accent2);
  background: rgba(0, 212, 170, 0.12);
}

.hero-note {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
}

.hero-note a {
  color: var(--accent2);
  text-decoration: none;
}

.hero-note a:hover { text-decoration: underline; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s, opacity 0.15s;
}

.btn-lg {
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
}

.btn:hover { transform: translateY(-1px); opacity: 0.95; }

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #5a3fd4);
  color: #fff;
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  background: transparent;
}

/* hero pricing */
.hero-pricing {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
}

.hero-pricing-label {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.price-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  transition: border-color 0.25s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}

.price-card:hover {
  border-color: rgba(124, 92, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(124, 92, 255, 0.12);
}

.price-card.featured {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.08);
}

.price-tag {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
}

.price-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.price-card h3 {
  margin: 0;
  font-size: 1rem;
}

.price-val {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: var(--accent2);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
  white-space: normal;
  justify-content: flex-end;
}

.price-old {
  font-size: 0.92em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-now {
  color: #ffb070;
}

.pay-amount .price-old {
  margin-right: 0.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-card .muted {
  margin: 0;
  font-size: 0.85rem;
}

.price-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: rgba(0, 212, 170, 0.9);
  font-weight: 600;
}

.price-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c4b5ff;
  text-decoration: none;
}

.price-link:hover { color: var(--text); }

.price-footnote {
  margin: 1rem 0 0;
  font-size: 0.8rem;
}

/* about */
.about-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-text {
  margin: 0 0 1rem;
  font-size: 1.02rem;
}

.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-points li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.about-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  line-height: 1.75rem;
  text-align: center;
  border-radius: 8px;
  background: rgba(0, 212, 170, 0.15);
  color: var(--accent2);
  font-weight: 700;
  font-size: 0.85rem;
}

.about-points strong {
  display: block;
  margin-bottom: 0.2rem;
}

.about-points p {
  margin: 0;
  font-size: 0.9rem;
}

/* sections */
.section { padding: 3rem 0; }

.section-title {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 36rem;
}

.section-sub a { color: var(--accent2); }

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.step {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, box-shadow 0.35s;
}

.step:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 92, 255, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.step-num {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  border-radius: 8px;
  background: rgba(124, 92, 255, 0.25);
  color: #c4b5ff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step h3 { margin: 0 0 0.5rem; font-size: 1rem; }

.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* royalties */
.royalties-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.75rem;
}

.royalties-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.royalties-share {
  padding: 1.25rem 1rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.royalties-share-artist {
  background: linear-gradient(160deg, rgba(0, 212, 170, 0.18), rgba(255, 255, 255, 0.03));
  border-color: rgba(0, 212, 170, 0.35);
}

.royalties-share-distro {
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.18), rgba(255, 255, 255, 0.03));
  border-color: rgba(167, 139, 250, 0.3);
}

.royalties-share-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 7rem;
  padding: 1rem 0.75rem;
  background: transparent;
  border: none;
}

.royalties-pct {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.royalties-who {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.royalties-ratio {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ddd6fe;
}

.royalties-note h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.royalties-note > .muted {
  margin: 0 0 1rem;
  line-height: 1.55;
}

.royalties-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.royalties-points li {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.royalties-points strong {
  color: #fff;
}

@media (max-width: 800px) {
  .royalties-grid {
    grid-template-columns: 1fr;
  }

  .royalties-split {
    grid-template-columns: 1fr;
  }

  .royalties-share-label {
    order: -1;
    flex-direction: row;
    align-items: baseline;
    gap: 0.65rem;
    justify-content: flex-start;
    padding: 0;
  }
}

/* cta band */
.cta-band {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.15), rgba(0, 212, 170, 0.08));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 1.25rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}

.cta-band p {
  margin: 0;
}

.muted { color: var(--muted); font-size: 0.95rem; }

code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

/* faq */
.faq details {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* auth pages */
.auth-page {
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124, 92, 255, 0.18), transparent);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
}

.auth-card h1 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.75rem;
}

.auth-lead {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.auth-notice {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(0, 212, 170, 0.12);
  border: 1px solid rgba(0, 212, 170, 0.25);
  color: #9ef0dc;
  font-size: 0.9rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form[hidden],
form[hidden],
[hidden] {
  display: none !important;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.auth-form input {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.auth-form input:focus {
  outline: 2px solid rgba(124, 92, 255, 0.5);
  border-color: transparent;
}

.auth-switch {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.auth-switch a,
.auth-back a {
  color: var(--accent2);
  text-decoration: none;
}

.auth-switch a:hover,
.auth-back a:hover { text-decoration: underline; }

.auth-back {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.85rem;
}

.auth-back a { color: var(--muted); }

.app-placeholder {
  text-align: center;
}

.app-placeholder .btn {
  margin-top: 0.5rem;
}

.auth-error {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(255, 80, 100, 0.12);
  border: 1px solid rgba(255, 80, 100, 0.3);
  color: #ffb3bc;
  font-size: 0.9rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-box {
  margin: 0.25rem 0 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.captcha-check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}

.captcha-check input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #7c5cff;
}

.captcha-status.is-ok {
  color: #9ef0dc;
  margin-left: auto;
  font-weight: 500;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-weight: 500;
}

.check-row input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: #7c5cff;
}

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.account-tab {
  font: inherit;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted, #a8a8b8);
  border-radius: 999px;
  padding: 0.55rem 1rem;
}

.account-tab.is-active {
  color: var(--text, #fff);
  background: rgba(124, 92, 255, 0.22);
  border-color: rgba(124, 92, 255, 0.45);
}

.account-panel[hidden] {
  display: none !important;
}

.account-support-chat {
  margin: 1.25rem 0 1.5rem;
}

.account-support-chat.is-compact .chat-card {
  margin-top: 0.5rem;
}

.account-support-chat.is-compact .chat-thread {
  max-height: 280px;
}

.account-hero {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.account-avatar-edit {
  position: relative;
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.account-avatar-edit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-avatar-edit span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.25rem;
  font-size: 0.7rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.55);
}

.account-section {
  max-width: 560px;
}

.account-ban-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.btn-logout {
  font: inherit;
  cursor: pointer;
}

.nav-badge-admin {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b5ff;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(124, 92, 255, 0.2);
}

.badge-admin {
  background: rgba(124, 92, 255, 0.25);
  color: #d4c8ff;
}

.admin-page {
  padding: 2rem 0 4rem;
  min-height: calc(100vh - 4rem);
}

.admin-header {
  margin-bottom: 2rem;
}

.admin-header h1 {
  margin: 0.5rem 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

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

.admin-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.35rem;
}

.admin-card h3 {
  margin: 0 0 0.5rem;
}

.admin-card .muted {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.admin-stat {
  margin: 0;
  font-weight: 700;
  color: var(--accent2);
  font-size: 0.95rem;
}

.nav-badge-artist {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ef0dc;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(0, 212, 170, 0.15);
}

.cabinet-page {
  padding: 2rem 0 4rem;
  min-height: calc(100vh - 4rem);
}

.cabinet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cabinet-header h1 {
  margin: 0.5rem 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.cabinet-header-hub {
  align-items: center;
}

.hub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.hub-tab {
  font: inherit;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted, #a8a8b8);
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hub-tab:hover {
  color: var(--text, #fff);
}

.hub-tab.is-active {
  color: #04140f;
  background: #9ef0dc;
  border-color: #9ef0dc;
  font-weight: 600;
}

.hub-panel[hidden] {
  display: none !important;
}

.section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head-row .section-title-sm {
  margin: 0;
}

.create-release-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: min(100%, 240px);
  padding: 1.1rem 1.35rem;
  border-radius: 18px;
  text-decoration: none;
  color: #04140f;
  background:
    linear-gradient(135deg, rgba(158, 240, 220, 0.95), rgba(124, 92, 255, 0.85));
  box-shadow: 0 12px 40px rgba(124, 92, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.create-release-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(124, 92, 255, 0.36);
  color: #04140f;
}

.create-release-cta-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 600;
}

.create-release-cta-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0.15rem 0;
}

.create-release-cta-sub {
  font-size: 0.85rem;
  opacity: 0.8;
}

.create-release-cta-inline {
  display: inline-flex;
  min-width: 0;
  margin-top: 0.75rem;
  padding: 0.85rem 1.2rem;
}

.account-hero-compact {
  margin-bottom: 1.25rem;
}

.section-title-sm {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.form-wrap {
  max-width: 520px;
}

.form-wrap h1 {
  margin: 0 0 0.5rem;
}

.form-wrap-wide {
  max-width: 620px;
}

.tracks-block {
  margin-bottom: 0.5rem;
}

.tracks-notice {
  margin: 0 0 0.75rem;
}

.tracks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.tracks-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

.tracks-tip {
  margin: 0 0 0.75rem;
}

.tracks-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.track-row {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.track-num {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: right;
}

.performers-preview {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  word-break: break-word;
}

.field-inline-hint {
  margin: 0.15rem 0 0.45rem;
  font-size: 0.8rem;
  line-height: 1.45;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 400;
  font-size: 0.88rem;
  cursor: pointer;
}

.radio-pill:has(input:checked) {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.12);
}

.radio-pill input {
  accent-color: var(--accent);
}

.track-credits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.track-credits-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.track-credits-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.track-files-box {
  background: rgba(124, 92, 255, 0.08);
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.track-files-label {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c4b5ff;
}

.track-meta-label {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.credits-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.credits-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.performer-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.performer-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
}

.performer-check input {
  accent-color: var(--accent2);
}

.track-credits-view {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  font-size: 0.9rem;
}

.track-credits-view p {
  margin: 0.25rem 0;
}

.track-input {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  width: 100%;
}

.track-input:focus {
  outline: 2px solid rgba(124, 92, 255, 0.5);
  border-color: transparent;
}

.track-input:read-only {
  opacity: 0.85;
}

.credits-field input[type="file"] {
  padding: 0.55rem 0;
  font: inherit;
  color: var(--muted);
}

.credits-field input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(124, 92, 255, 0.18);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.track-lyrics-text {
  width: 100%;
  min-height: 5rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.track-lyrics-text:focus {
  outline: 2px solid rgba(124, 92, 255, 0.5);
  border-color: transparent;
}

.form-field-block {
  margin-bottom: 0.5rem;
}

.track-remove {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.track-remove:hover {
  color: #ffb3bc;
  border-color: rgba(255, 80, 100, 0.35);
}

.release-form select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.release-form select:not(:disabled) {
  cursor: pointer;
}

.tracks-view {
  margin-bottom: 1.5rem;
}

.tracks-ol {
  margin: 0;
  padding-left: 1.25rem;
}

.tracks-ol li {
  margin-bottom: 0.35rem;
}

.field-note {
  margin: -0.25rem 0 0.75rem;
  font-size: 0.85rem;
}

.field-hint {
  margin: -0.35rem 0 0.5rem;
  font-size: 0.85rem;
}

.field-hint:not([hidden]) {
  color: #ffb3bc;
}

.release-form select,
.release-form textarea {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #16161f;
  color: #f2f2f7;
  font: inherit;
  width: 100%;
  max-width: 100%;
  color-scheme: dark;
}

.release-form select option,
.release-form select optgroup {
  background-color: #16161f;
  color: #f2f2f7;
}

/* Custom genre/subgenre pickers — надёжнее нативного select на Windows */
.genre-picker {
  position: relative;
  width: 100%;
}

.genre-native-fallback {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.genre-picker-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #16161f;
  color: rgba(242, 242, 247, 0.55);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.genre-picker-btn.has-value {
  color: #f2f2f7;
}

.genre-picker-btn::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.75rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
  flex-shrink: 0;
}

.genre-picker.is-open .genre-picker-btn {
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.12);
}

.genre-picker.is-disabled .genre-picker-btn {
  opacity: 0.55;
  cursor: not-allowed;
}

.genre-picker-list {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  max-height: 240px;
  overflow-y: auto;
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #12121a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.genre-picker-option {
  display: block;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f2f2f7;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.genre-picker-option:hover,
.genre-picker-option.is-selected {
  background: rgba(124, 92, 255, 0.22);
}

.genre-picker-empty {
  margin: 0.5rem 0.75rem;
  font-size: 0.9rem;
}

.release-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.release-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.release-row.has-unread {
  border-color: rgba(255, 138, 61, 0.55);
  background: rgba(255, 138, 61, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.2);
}

.release-chat-preview {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  max-width: 36rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.release-chat-badge {
  flex-shrink: 0;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #ff8a3d;
  color: #1a1208;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35rem;
  text-align: center;
}

.release-row-cover {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.25), rgba(0, 212, 170, 0.12));
}

.release-row-cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.55);
}

.release-row-body {
  flex: 1;
  min-width: 0;
}

.release-row-body strong {
  display: block;
  margin-bottom: 0.2rem;
}

.release-row-body .muted {
  font-size: 0.85rem;
}

.app-release-head {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.app-release-cover {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.25), rgba(0, 212, 170, 0.12));
}

.app-release-cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.55);
}

.app-release-meta h1 {
  margin: 0.35rem 0;
}

.app-tracks-view {
  margin-bottom: 1.5rem;
}

.app-track-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
}

.app-track-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.app-track-audio {
  margin: 0.85rem 0;
}

.app-track-audio audio {
  width: 100%;
  max-width: 100%;
}

.app-track-lyrics-wrap {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.app-track-lyrics {
  white-space: pre-wrap;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-height: 280px;
  overflow: auto;
  padding: 0.65rem 0.75rem;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 10px;
}

.release-row-wrap {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.release-row-wrap .release-row {
  flex: 1;
}

.release-delete-btn {
  flex-shrink: 0;
  align-self: center;
}

.app-track-missing {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}

.pay-card {
  background: rgba(124, 92, 255, 0.08);
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
  margin-bottom: 1.5rem;
}

.pay-amount {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.pay-timer {
  margin: 0 0 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 170, 60, 0.12);
  border: 1px solid rgba(255, 170, 60, 0.35);
}

.pay-timer-label,
.pay-timer-clock,
.pay-timer-ok {
  margin: 0;
}

.pay-timer-clock {
  margin-top: 0.35rem;
  font-size: 1.05rem;
}

.pay-timer.is-expired {
  background: rgba(255, 80, 80, 0.14);
  border-color: rgba(255, 80, 80, 0.4);
}

.pay-steps {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.pay-steps p {
  margin: 0.25rem 0;
}

.pay-requisites {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.pay-method {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pay-method p {
  margin: 0 0 0.55rem;
}

.pay-method .muted {
  margin-top: 0.65rem;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}

.pay-copy {
  cursor: pointer;
  border-bottom: 1px dashed rgba(196, 181, 255, 0.45);
}

.pay-copy.is-copied {
  color: #7dffb2;
}

.pay-proof-view {
  margin: 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pay-proof-img {
  display: block;
  max-width: min(320px, 100%);
  border-radius: 12px;
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pay-proof-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pay-upload-label input[type="file"] {
  margin-top: 0.35rem;
}

.pay-admin-actions {
  margin-top: 1rem;
}

.pay-step {
  margin-top: 0.5rem;
}

.pay-qr {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #1a1528;
}

.pay-qr p {
  margin: 0;
}

.pay-qr .muted {
  color: #5c5478;
}

.pay-qr-img {
  width: 196px;
  height: 196px;
  image-rendering: pixelated;
  border-radius: 8px;
}

.status-pill {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.status-pill.inline {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.status-submitted { background: rgba(124, 92, 255, 0.2); color: #c4b5ff; }
.status-awaiting_payment { background: rgba(255, 180, 80, 0.15); color: #ffd699; }
.status-paid { background: rgba(0, 212, 170, 0.15); color: #9ef0dc; }
.status-in_review { background: rgba(100, 160, 255, 0.15); color: #a8c8ff; }
.status-needs_fix { background: rgba(255, 80, 100, 0.15); color: #ffb3bc; }
.status-moderation { background: rgba(180, 120, 255, 0.18); color: #d7c4ff; }
.status-shipped { background: rgba(0, 212, 170, 0.25); color: #fff; }

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--card);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.empty-state p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.flow-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.flow-hint span {
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.flow-step {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.flow-step:hover {
  border-color: rgba(124, 92, 255, 0.45);
}

.flow-step.is-active {
  border-color: rgba(124, 92, 255, 0.6);
  background: rgba(124, 92, 255, 0.2);
  color: #fff;
}

.apps-filter-label {
  margin: 0 0 1rem;
  font-size: 0.88rem;
}

.detail-list {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.75rem 1rem;
  margin: 0 0 2rem;
}

.detail-list dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-list dd {
  margin: 0;
}

.detail-list a {
  color: var(--accent2);
  word-break: break-all;
}

.release-detail-head h1 {
  margin: 0.35rem 0;
}

.admin-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.admin-actions h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

@media (max-width: 600px) {
  .release-row {
    flex-direction: row;
    align-items: center;
  }

  .app-release-head {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

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

  .release-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.logo-lockup-auth {
  flex-direction: column;
  text-align: center;
  margin: 0 auto 0.5rem;
  display: flex;
}

.logo-mark-auth {
  width: 4rem;
  height: 4rem;
}

.app-placeholder .logo-lockup-auth {
  margin-bottom: 0;
}

.footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(124, 92, 255, 0.04));
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.logo-lockup-footer .logo-sub {
  font-size: 0.7rem;
  margin-top: 0.1rem;
}

.logo-lockup-footer .logo-sub code {
  font-size: 0.85em;
}

.footer-mail {
  margin: 0;
}

.footer a { color: var(--accent2); }

@media (max-width: 820px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .bg-watermark-hero-right {
    width: 280px;
    right: -25%;
    opacity: 0.7;
  }

  .bg-watermark-hero-left {
    display: none;
  }

  .hero-pricing {
    order: -1;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav-auth {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* landing animations */
@keyframes orb-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28px, 22px) scale(1.06); }
}

@keyframes orb-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, -18px) scale(1.05); }
}

@keyframes hero-shimmer {
  0%, 100% { background-position: 0% 50%; opacity: 0.5; }
  50% { background-position: 100% 50%; opacity: 0.85; }
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(12px, -18px) scale(1.08); }
  66% { transform: translate(-10px, 10px) scale(0.95); }
}

@keyframes wave-bar {
  0%, 100% { transform: scaleY(0.35); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 0.9; }
}

.anim-nav {
  animation: nav-drop 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.anim-hero-item,
.anim-fade-up,
.anim-stagger-item {
  opacity: 1;
  transform: none;
}

.js-anim .anim-hero-item,
.js-anim .anim-fade-up,
.js-anim .anim-stagger-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-anim .anim-hero-item.is-visible,
.js-anim .anim-fade-up.is-visible,
.js-anim .anim-stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: blob-float 14s ease-in-out infinite;
}

.hero-blob-1 {
  width: 180px;
  height: 180px;
  top: 12%;
  left: 55%;
  background: rgba(124, 92, 255, 0.22);
}

.hero-blob-2 {
  width: 120px;
  height: 120px;
  bottom: 18%;
  left: 38%;
  background: rgba(0, 212, 170, 0.18);
  animation-delay: -4s;
  animation-duration: 18s;
}

.hero-blob-3 {
  width: 90px;
  height: 90px;
  top: 35%;
  right: 42%;
  background: rgba(196, 181, 255, 0.15);
  animation-delay: -7s;
  animation-duration: 16s;
}

.hero-wave {
  position: absolute;
  right: 8%;
  bottom: 22%;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.hero-wave span {
  display: block;
  width: 5px;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(to top, var(--accent), var(--accent2));
  transform-origin: bottom center;
  animation: wave-bar 1.2s ease-in-out infinite;
}

.hero-wave span:nth-child(1) { animation-delay: 0s; }
.hero-wave span:nth-child(2) { animation-delay: 0.12s; }
.hero-wave span:nth-child(3) { animation-delay: 0.24s; }
.hero-wave span:nth-child(4) { animation-delay: 0.08s; }
.hero-wave span:nth-child(5) { animation-delay: 0.2s; }
.hero-wave span:nth-child(6) { animation-delay: 0.16s; }
.hero-wave span:nth-child(7) { animation-delay: 0.28s; }

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  animation: btn-shine 4s ease-in-out infinite;
}

@keyframes btn-shine {
  0%, 70%, 100% { transform: translateX(-120%); }
  85% { transform: translateX(120%); }
}

.hero-pricing {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}

.hero-pricing.is-visible:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.about-points li {
  transition: transform 0.3s ease;
}

.about-points li:hover {
  transform: translateX(4px);
}

.faq details {
  transition: border-color 0.25s, background 0.25s;
}

.faq details[open] {
  border-color: rgba(124, 92, 255, 0.3);
  background: rgba(124, 92, 255, 0.05);
}

@media (max-width: 900px) {
  .hero-wave {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-orb-a,
  .brand-orb-b,
  .hero-blob,
  .hero-wave span,
  .hero::after,
  .anim-nav,
  .btn-shine::after {
    animation: none !important;
  }

  .js-anim .anim-hero-item,
  .js-anim .anim-fade-up,
  .js-anim .anim-stagger-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bg-watermark {
    transition: none;
  }
}

/* release form page — landing-style */
.release-page-body {
  background: var(--bg);
}

.release-page {
  position: relative;
  padding: 1.5rem 0 4rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% -5%, rgba(124, 92, 255, 0.2), transparent),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(0, 212, 170, 0.1), transparent);
}

.release-page-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.release-page-head h1 {
  margin: 0.75rem 0 0.5rem;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  line-height: 1.15;
}

.release-page-head .section-sub {
  margin: 0 auto;
  max-width: 28rem;
}

.release-form-shell {
  background: rgba(20, 20, 28, 0.82);
  border: 1px solid rgba(124, 92, 255, 0.22);
  border-radius: 22px;
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(12px);
}

.release-form-shell .release-form {
  gap: 0;
}

.form-section {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-section:first-child {
  padding-top: 0.25rem;
}

.form-section-last {
  border-bottom: none;
  padding-bottom: 0;
}

.release-total {
  margin: 1.25rem 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(196, 181, 255, 0.28);
}

.release-total-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b5ff;
}

.release-total-amount {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.release-total-amount .price-old {
  margin-right: 0.4rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
}

.release-total-note {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
}

.form-section-title {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4b5ff;
}

.release-form-shell .tracks-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
}

.release-form-shell .tracks-block:last-child {
  margin-bottom: 0;
}

.release-form-shell .track-credits-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(124, 92, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.release-form-shell .track-files-box {
  background: rgba(124, 92, 255, 0.1);
  border-color: rgba(124, 92, 255, 0.35);
}

.release-form-shell .auth-form input,
.release-form-shell .release-form select,
.release-form-shell .release-form textarea,
.release-form-shell .track-input {
  background: #16161f;
  border-color: rgba(255, 255, 255, 0.1);
  color: #f2f2f7;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.release-form-shell .auth-form input:focus,
.release-form-shell .release-form select:focus,
.release-form-shell .release-form textarea:focus,
.release-form-shell .track-input:focus {
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.12);
  outline: none;
}

.release-form-shell .radio-pill:has(input:checked) {
  border-color: rgba(124, 92, 255, 0.55);
  background: rgba(124, 92, 255, 0.15);
}

.release-form-shell #submit-btn {
  margin-top: 0.5rem;
}

.bg-watermark-form-right {
  width: min(340px, 45vw);
  right: -8%;
  top: 8%;
  transform: translate(var(--px, 0px), var(--py, 0px));
}

.bg-watermark-form-left {
  width: min(220px, 32vw);
  left: -10%;
  bottom: 12%;
  opacity: 0.5;
  transform: translate(var(--px, 0px), var(--py, 0px));
}

.hero-blobs-form .hero-blob-1 {
  width: 140px;
  height: 140px;
  top: 6%;
  right: 12%;
}

.hero-blobs-form .hero-blob-2 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 8%;
}

.form-wrap-wide {
  max-width: 640px;
}

@media (max-width: 600px) {
  .release-form-shell {
    padding: 1.15rem 1rem 1.35rem;
    border-radius: 18px;
  }

  .bg-watermark-form-right,
  .bg-watermark-form-left {
    opacity: 0.35;
  }
}

.admin-header {
  margin-bottom: 1.25rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.stat-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
}

.stat-card.is-active {
  box-shadow: 0 0 0 2px rgba(124, 92, 255, 0.55);
  border-color: rgba(124, 92, 255, 0.7);
}

.stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.stat-card.tone-open {
  border-color: rgba(124, 92, 255, 0.4);
  background: rgba(124, 92, 255, 0.12);
}

.stat-card.tone-pay {
  border-color: rgba(255, 196, 80, 0.4);
  background: rgba(255, 196, 80, 0.1);
}

.stat-card.tone-review {
  border-color: rgba(80, 180, 255, 0.4);
  background: rgba(80, 180, 255, 0.1);
}

.stat-card.tone-fix {
  border-color: rgba(255, 100, 120, 0.4);
  background: rgba(255, 100, 120, 0.1);
}

.stat-card.tone-moderation {
  border-color: rgba(180, 120, 255, 0.45);
  background: rgba(180, 120, 255, 0.12);
}

.stat-card.tone-chat {
  border-color: rgba(255, 138, 61, 0.55);
  background: rgba(255, 138, 61, 0.14);
}

.admin-pipeline {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
}

.accounts-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.account-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.account-row:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.account-row-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.account-row-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.account-detail {
  margin-top: 1rem;
}

.account-detail-card {
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.account-detail-card h2 {
  margin: 0.75rem 0 1rem;
}

.account-ban-actions {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.admin-inbox {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 138, 61, 0.07);
  border: 1px solid rgba(255, 138, 61, 0.28);
}

.inbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.inbox-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.75rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.inbox-item strong {
  grid-column: 1;
}

.inbox-item .muted {
  grid-column: 1;
  font-size: 0.85rem;
}

.inbox-item .release-chat-badge {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.chat-card {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  background: rgba(124, 92, 255, 0.1);
  border: 1px solid rgba(124, 92, 255, 0.32);
}

.chat-head {
  margin-bottom: 0.85rem;
}

.chat-head .muted {
  margin: 0.25rem 0 0;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 360px;
  overflow-y: auto;
  padding: 0.35rem 0.15rem 0.75rem;
  margin-bottom: 0.85rem;
}

.chat-empty {
  margin: 0.5rem 0;
}

.chat-bubble {
  max-width: min(92%, 34rem);
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
}

.chat-bubble.is-mine {
  align-self: flex-end;
  background: rgba(124, 92, 255, 0.22);
  border: 1px solid rgba(124, 92, 255, 0.35);
}

.chat-bubble.is-theirs {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-bubble-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.3rem;
}

.chat-bubble-body {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.4;
}

.chat-compose {
  display: grid;
  gap: 0.65rem;
}

.chat-compose textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 4.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.chat-compose textarea:focus {
  outline: none;
  border-color: rgba(124, 92, 255, 0.55);
}

/* catalog — artists & player */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
  flex-wrap: wrap;
}

.admin-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.admin-tab.is-active {
  border-color: rgba(124, 92, 255, 0.55);
  background: rgba(124, 92, 255, 0.18);
  color: #fff;
}

.tab-notify {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #ff8a3d;
  color: #1a1208;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25rem;
  text-align: center;
  box-shadow: 0 0 0 2px rgba(18, 14, 28, 0.85);
}

.catalog-note {
  margin: 0 0 1rem;
}

.artists-search {
  position: relative;
  display: block;
  max-width: 28rem;
  margin: 0 0 1.35rem;
}

.artists-search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.artists-search input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 0.8rem 1.1rem 0.8rem 2.55rem;
  font: inherit;
  color-scheme: dark;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.artists-search input[type="search"]::-webkit-search-decoration,
.artists-search input[type="search"]::-webkit-search-cancel-button,
.artists-search input[type="search"]::-webkit-search-results-button,
.artists-search input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.artists-search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.artists-search input[type="search"]:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.artists-search input[type="search"]:focus {
  outline: none;
  border-color: rgba(255, 138, 61, 0.55);
  background: rgba(255, 138, 61, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.16);
}

.artists-search:focus-within .artists-search-icon {
  color: rgba(255, 170, 100, 0.9);
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1.25rem 1rem;
}

.artist-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 0.75rem 0.5rem;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, background 0.2s;
}

.artist-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}

.artist-avatar-wrap {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
}

.artist-card.has-open-app .artist-avatar {
  box-shadow:
    0 0 0 3px #ff8a3d,
    0 0 18px rgba(255, 138, 61, 0.55),
    0 10px 28px rgba(0, 0, 0, 0.28);
  animation: notify-ring 2s ease-in-out infinite;
}

.artist-card.has-open-app .artist-card-meta {
  color: #ffb070;
  font-weight: 600;
}

@keyframes notify-ring {
  0%,
  100% {
    box-shadow:
      0 0 0 3px #ff8a3d,
      0 0 14px rgba(255, 138, 61, 0.45),
      0 10px 28px rgba(0, 0, 0, 0.28);
  }
  50% {
    box-shadow:
      0 0 0 4px rgba(255, 138, 61, 0.75),
      0 0 26px rgba(255, 138, 61, 0.7),
      0 10px 28px rgba(0, 0, 0, 0.28);
  }
}

.artist-avatar,
.catalog-artist-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  background: #2a2540;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.artist-card-name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  word-break: break-word;
}

.artist-card-meta {
  font-size: 0.82rem;
}

.artist-card-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
  width: 100%;
  justify-content: center;
}

.artist-card-app-pill {
  font-size: 0.68rem !important;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-tg {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.9fr);
  gap: 0.85rem;
  min-height: min(70vh, 640px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.admin-tg-main,
.admin-tg-sidebar {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.admin-tg-main {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem;
}

.admin-tg-sidebar {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}

.admin-tg-search {
  margin-bottom: 0.65rem;
}

.admin-tg-dialogs {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-tg-dialog {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-tg-dialog:hover {
  background: rgba(255, 255, 255, 0.05);
}

.admin-tg-dialog.is-active {
  background: rgba(124, 92, 255, 0.16);
  border-color: rgba(124, 92, 255, 0.35);
}

.admin-tg-dialog.has-unread strong {
  color: #fff;
}

.admin-tg-dialog-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.admin-tg-dialog-preview {
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-tg-dialog-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.admin-tg-unread {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #9ef0dc;
  color: #04140f;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-tg-placeholder {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.admin-tg-active {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.admin-tg-active-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-tg-mount {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.admin-tg-mount .chat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: 0;
  background: transparent;
  border: none;
  padding: 0;
}

.admin-tg-mount .chat-head {
  display: none;
}

.admin-tg-mount .chat-thread {
  flex: 1;
  max-height: none;
  min-height: 220px;
}

@media (max-width: 900px) {
  .admin-tg {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(280px, 55vh) auto;
  }

  .admin-tg-main {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .admin-tg-sidebar {
    max-height: 40vh;
  }
}

.admin-tg-folder {
  align-items: center;
}

.admin-tg-folder-icon {
  flex-shrink: 0;
  width: 1.6rem;
  text-align: center;
  opacity: 0.75;
  font-size: 1rem;
}

.admin-tg-back {
  margin-bottom: 0.65rem;
}

.admin-tg-folders-head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.65rem;
  padding: 0 0.25rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.artist-tg {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.4fr);
  gap: 0.85rem;
  min-height: min(65vh, 560px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.artist-tg-sidebar,
.artist-tg-main {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
}

.artist-tg-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow-y: auto;
}

@media (max-width: 900px) {
  .artist-tg {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(280px, 1fr);
  }

  .artist-tg-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 36vh;
  }
}

.catalog-artist-head {
  margin-bottom: 1.5rem;
}

.catalog-artist-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.catalog-artist-profile-link {
  text-decoration: none;
  color: inherit;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 1rem;
  transition: background 0.2s;
}

.catalog-artist-profile-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.catalog-artist-profile h1 {
  margin: 0.35rem 0;
}

.catalog-artist-avatar {
  width: 128px;
  height: 128px;
  flex-shrink: 0;
}

.catalog-release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.catalog-release-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.2s, border-color 0.2s;
}

.catalog-release-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.35);
}

.catalog-release-cover,
.release-cover,
.player-cover,
.catalog-release-hero-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.25), rgba(0, 212, 170, 0.12));
}

.release-cover-fallback,
.catalog-release-cover.release-cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.55);
}

.catalog-release-meta strong {
  display: block;
  margin-bottom: 0.2rem;
}

.catalog-release-hero {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  align-items: center;
}

.catalog-release-hero-cover {
  max-width: 160px;
}

.player-shell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
}

.player-now {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.player-cover {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.player-meta strong {
  display: block;
  margin-bottom: 0.25rem;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.player-play {
  min-width: 3rem;
}

.player-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.player-time {
  font-size: 0.82rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

#player-seek {
  width: 100%;
  accent-color: var(--accent);
}

.track-playlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.track-play-item.is-active .track-play-btn {
  background: rgba(124, 92, 255, 0.18);
  border-color: rgba(124, 92, 255, 0.35);
}

.track-play-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.track-play-btn:hover {
  background: rgba(255, 255, 255, 0.04);
}

.track-play-num {
  width: 1.5rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .catalog-artist-profile,
  .catalog-release-hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .catalog-artist-profile {
    flex-direction: column;
  }

  .artist-avatar,
  .catalog-artist-avatar {
    width: 96px;
    height: 96px;
  }
}

/* home artists showcase */
.artists-showcase-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.artists-showcase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.artists-showcase-head .section-title {
  margin-bottom: 0.35rem;
}

.artists-showcase-head .section-sub {
  margin: 0;
}

.artists-showcase-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 0.85rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.artists-showcase-row::-webkit-scrollbar {
  height: 6px;
}

.artists-showcase-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.artists-showcase-loading {
  margin: 0.5rem 0;
}

.home-artist-card {
  flex: 0 0 auto;
  width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
  pointer-events: none;
  user-select: none;
}

.home-artist-card:hover {
  transform: none;
}

.home-artist-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: #2a2540;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.home-artist-name {
  font-size: 0.82rem;
  font-weight: 650;
  text-align: center;
  line-height: 1.25;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-artist-meta {
  font-size: 0.75rem;
  text-align: center;
}

.home-artist-card-grid {
  width: auto;
}

.artists-page {
  padding: 2rem 0 4rem;
  min-height: calc(100vh - 8rem);
}

.artists-page-head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.artists-page-head h1 {
  margin: 0.45rem 0 0.5rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.artists-page-search {
  margin-top: 1.15rem;
  max-width: 28rem;
}

.artists-page-grid {
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .artists-showcase-head .btn {
    width: 100%;
    text-align: center;
  }

  .home-artist-card {
    width: 96px;
  }

  .home-artist-avatar {
    width: 78px;
    height: 78px;
  }
}
