:root {
  --bg: #101318;
  --bg-2: #161b22;
  --card: rgba(24, 28, 36, 0.78);
  --card-border: rgba(201, 169, 98, 0.18);
  --text: #f2ebe0;
  --text-dim: #9a9590;
  --pink: #c9a962;
  --purple: #b8894a;
  --violet: #96703a;
  --grad: linear-gradient(135deg, #d4bc82 0%, #b8894a 50%, #96703a 100%);
  --grad-soft: linear-gradient(135deg, rgba(212,188,130,0.14), rgba(150,112,58,0.12));
  --radius: 18px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(1200px 800px at 80% -10%, rgba(184,137,74,0.08) 0%, transparent 60%),
              radial-gradient(1000px 700px at 0% 100%, rgba(22,27,34,0.9) 0%, transparent 55%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Декоративные размытые орбы фона */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.28; }
.orb-1 { width: 380px; height: 380px; background: var(--pink); top: -80px; right: -60px; animation: float 14s ease-in-out infinite; }
.orb-2 { width: 420px; height: 420px; background: var(--violet); bottom: -120px; left: -80px; animation: float 18s ease-in-out infinite reverse; }
.orb-3 { width: 300px; height: 300px; background: var(--purple); top: 40%; left: 50%; transform: translateX(-50%); animation: float 16s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-40px) translateX(20px); }
}

/* Header */
.site-header {
  padding: 22px 0;
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 19, 24, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 169, 98, 0.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); font-size: 20px; color: #fff;
  box-shadow: var(--shadow);
}
.logo-text { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.5px; }
.badge {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid var(--card-border); color: var(--text-dim);
}

/* Hero */
.hero { text-align: center; padding: 40px 0 32px; }
.hero-title {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(32px, 7vw, 56px); line-height: 1.05; letter-spacing: -1px;
}
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub { margin: 18px auto 0; max-width: 560px; color: var(--text-dim); font-size: clamp(15px, 2.5vw, 18px); line-height: 1.6; }

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

/* Двухколоночный рабочий блок: слева ввод, справа вывод */
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.panel-output { position: sticky; top: 20px; }

/* Заголовок панели */
.panel-head {
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--card-border);
}
.panel-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 20px; }
.panel-subtitle { font-size: 14px; margin-top: 4px; }

/* Конструктор (Wizard) */
.wizard-progress {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.step-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-dim); font-weight: 600;
}
.step-item.active { color: #fff; }
.step-num {
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.1); font-size: 12px;
}
.step-item.active .step-num { background: var(--pink); color: #fff; }
.step-line {
  flex: 1; height: 1px; background: var(--card-border); margin: 0 16px;
}

.btn-back {
  background: transparent; border: 1px solid var(--card-border);
  color: var(--text); padding: 8px 16px; border-radius: 20px;
  cursor: pointer; font-size: 13px; font-weight: 600; margin-bottom: 20px;
  transition: background 0.2s;
}
.btn-back:hover { background: rgba(255,255,255,0.1); }

.grid-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px;
}
.wiz-card {
  background: rgba(0,0,0,0.3); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 12px 16px; cursor: pointer;
  transition: all 0.2s; display: flex; flex-direction: row; align-items: center; gap: 10px;
}
.wiz-card:hover { border-color: var(--pink); background: rgba(201,169,98,0.06); }
.wiz-card.active { border-color: var(--pink); background: rgba(201,169,98,0.12); }
.wiz-icon { font-size: 18px; flex-shrink: 0; }
.wiz-title { font-weight: 600; font-size: 14px; }

.step-header { margin-bottom: 16px; }
.step-title.uppercase { text-transform: uppercase; font-size: 12px; letter-spacing: 1px; color: var(--text-dim); font-weight: 700; }
.dim { color: var(--text-dim); }

.field-section { margin-bottom: 24px; }
.section-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; display: block; }
.tags-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-btn {
  background: rgba(0,0,0,0.3); border: 1px solid var(--card-border);
  color: var(--text); padding: 8px 16px; border-radius: 20px; cursor: pointer;
  font-size: 14px; transition: all 0.2s;
}
.tag-btn:hover, .tag-btn.active { border-color: var(--pink); background: rgba(201,169,98,0.12); color: #fff; }

.text-tabs-wrap { margin-bottom: 16px; }
.text-tabs { display: flex; border: 1px solid var(--card-border); border-radius: 20px; overflow: hidden; }
.tab-btn {
  flex: 1; padding: 12px; background: transparent; border: none; cursor: pointer;
  color: var(--text-dim); font-weight: 600; font-size: 14px; transition: 0.2s;
}
.tab-btn.active { background: rgba(255,255,255,0.1); color: #fff; }
.tab-content { display: none; }
.tab-content.active { display: block; }

.btn-outline {
  width: 100%; margin-top: 16px; padding: 14px;
  background: transparent; border: 1px solid var(--pink); border-radius: 14px;
  color: var(--pink); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: 0.2s; display: flex; justify-content: center; align-items: center; gap: 8px;
}
.btn-outline:hover { background: rgba(201,169,98,0.1); }

/* Справка */
.help-box {
  margin-top: 22px; padding: 18px;
  background: rgba(0,0,0,0.22); border: 1px solid var(--card-border);
  border-radius: 14px;
}
.help-title {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; margin-bottom: 12px;
}
.help-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 13px; font-weight: 700;
}
.help-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.help-list li {
  position: relative; padding-left: 18px;
  font-size: 13px; line-height: 1.5; color: var(--text-dim);
}
.help-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--pink);
}
.help-list strong { color: var(--text); font-weight: 600; }

/* Плейсхолдер вывода (пока нет треков) */
.output-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 16px; padding: 50px 20px; min-height: 280px;
}
.placeholder-icon {
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 20px;
  background: var(--grad-soft); border: 1px solid var(--card-border);
  font-size: 34px; color: var(--purple);
}
.placeholder-text { color: var(--text-dim); font-size: 15px; max-width: 240px; line-height: 1.5; }

/* Mode switch */
.mode-switch {
  display: flex; gap: 6px; padding: 6px;
  background: rgba(0,0,0,0.25); border-radius: 14px; margin-bottom: 22px;
  border: 1px solid var(--card-border);
}
.mode-btn {
  flex: 1; padding: 11px; border: none; cursor: pointer;
  background: transparent; color: var(--text-dim); font-size: 15px; font-weight: 600;
  border-radius: 10px; transition: all 0.25s ease; font-family: inherit;
}
.mode-btn.active { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(150,112,58,0.45); }

/* Fields */
.fields { display: flex; flex-direction: column; gap: 16px; }
.fields.hidden { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--text-dim); }

.input {
  width: 100%; padding: 13px 15px;
  background: rgba(0,0,0,0.3); color: var(--text);
  border: 1px solid var(--card-border); border-radius: 12px;
  font-size: 15px; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: #6b6560; }
.input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(201,169,98,0.18); }
.textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.select { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 18px) center, calc(100% - 13px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

/* Options */
.options { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 20px 0 4px; flex-wrap: wrap; }
.checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text); user-select: none; }
.checkbox input { display: none; }
.checkbox-box {
  width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0;
  border: 1px solid var(--card-border); background: rgba(0,0,0,0.3);
  position: relative; transition: all 0.2s;
}
.checkbox input:checked + .checkbox-box { background: var(--grad); border-color: transparent; }
.checkbox input:checked + .checkbox-box::after {
  content: ''; position: absolute; left: 7px; top: 3px;
  width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.field-model { min-width: 160px; }

/* Generate button */
.btn-generate {
  width: 100%; margin-top: 18px; padding: 16px;
  border: none; border-radius: 14px; cursor: pointer;
  background: var(--grad); color: #fff;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 14px 32px -10px rgba(150,112,58,0.4);
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.btn-generate:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(184,137,74,0.45); }
.btn-generate:active { transform: translateY(0); }
.btn-generate:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.btn-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.status-msg { margin-top: 16px; text-align: center; font-size: 14px; color: var(--text-dim); }
.status-msg.error { color: #ff8aa6; }

/* Results */
.results { margin-top: 0; }
.tracks-list { display: flex; flex-direction: column; gap: 16px; }
.track {
  display: flex; gap: 16px; align-items: center;
  background: rgba(0,0,0,0.22); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 16px;
}
.track-cover {
  width: 76px; height: 76px; border-radius: 14px; flex-shrink: 0; object-fit: cover;
  background: var(--grad-soft); border: 1px solid var(--card-border);
}
.track-info { flex: 1; min-width: 0; }
.track-title { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 16px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-tags { font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track audio { width: 100%; margin-top: 10px; }
.track-download {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: 13px; color: var(--pink); text-decoration: none; font-weight: 600;
}
.track-download:hover { text-decoration: underline; }

/* Footer */
.site-footer { padding: 40px 0 30px; text-align: center; color: var(--text-dim); font-size: 13px; }
.site-footer-legal { margin-top: 10px; font-size: 12px; line-height: 1.6; opacity: .75; }

.hidden { display: none !important; }

/* Планшеты: колонки складываются в одну */
@media (max-width: 900px) {
  .workspace { grid-template-columns: 1fr; }
  .panel-output { position: static; top: auto; }
}

/* Mobile */
@media (max-width: 560px) {
  .card { padding: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .options { flex-direction: column; align-items: stretch; }
  .field-model { min-width: 0; }
  .track { flex-direction: column; align-items: stretch; text-align: center; }
  .track-cover { width: 100%; height: 160px; }
  .track-title, .track-tags { white-space: normal; }
  .badge { display: none; }
}

/* ===================================================================
   Адаптивное меню, аккаунт, вход, кабинет, статусы треков free/paid
   =================================================================== */

/* Шапка: раскладка лого / навигация / аккаунт */
.header-inner {
  display: flex; align-items: center; gap: 18px;
}
.header-inner .logo { margin-right: auto; }

/* Навигация */
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  display: inline-flex; align-items: center; padding: 8px 14px;
  border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px;
  color: var(--text-dim); transition: background .15s, color .15s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-link.active { color: #fff; background: rgba(255,255,255,0.10); }

/* Зона аккаунта — всегда справа */
.header-account { display: flex; align-items: center; gap: 12px; }

/* Кнопка входа */
.btn-login {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 12px; text-decoration: none;
  font-weight: 700; font-size: 14px; color: #fff;
  background: var(--grad, linear-gradient(135deg,#b8894a,#c9a962));
  box-shadow: 0 6px 18px rgba(150,112,58,.28);
  transition: transform .12s, box-shadow .12s;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(150,112,58,.38); }
.btn-login-icon { flex-shrink: 0; }

/* Плашка кредитов */
.credits-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; text-decoration: none;
  background: rgba(0,0,0,0.28); border: 1px solid var(--card-border);
  color: #fff; font-weight: 700; font-size: 14px;
}
.credits-pill .credits-icon { color: var(--pink, #c9a962); }

/* Меню аккаунта (аватар + выпадашка) */
.account-menu { position: relative; }
.account-btn {
  width: 40px; height: 40px; padding: 0; border: none; cursor: pointer;
  border-radius: 50%; background: transparent; display: inline-flex;
  align-items: center; justify-content: center;
}
.account-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.18);
}
.account-avatar--placeholder {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad, linear-gradient(135deg,#b8894a,#c9a962));
  color: #fff; font-weight: 700; font-size: 18px; text-transform: uppercase;
}
.account-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px;
  background: #181c24; border: 1px solid var(--card-border); border-radius: 14px;
  padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s; z-index: 60;
}
.account-menu.open .account-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.account-dropdown-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--card-border); margin-bottom: 6px; }
.account-name { font-weight: 700; font-size: 14px; }
.account-email { font-size: 12px; color: var(--text-dim); margin-top: 2px; word-break: break-all; }
.account-dropdown-item {
  display: block; padding: 9px 10px; border-radius: 9px; text-decoration: none;
  color: var(--text); font-size: 14px; font-weight: 500;
}
.account-dropdown-item:hover { background: rgba(255,255,255,0.06); }
.account-dropdown-item--danger { color: #ff6b81; }

/* Бургер */
.nav-toggle {
  display: none; width: 40px; height: 40px; border: none; cursor: pointer;
  background: transparent; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center; border-radius: 10px;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Страница входа */
.auth-wrap { display: flex; justify-content: center; padding: 40px 0 60px; }
.auth-card { max-width: 440px; width: 100%; text-align: center; }
.auth-title { font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.auth-sub { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.auth-buttons { display: flex; flex-direction: column; gap: 12px; }
.btn-oauth {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 18px; border-radius: 12px; text-decoration: none;
  font-weight: 700; font-size: 15px; color: #fff;
  background: rgba(255,255,255,0.06); border: 1px solid var(--card-border);
  transition: background .15s, transform .12s;
}
.btn-oauth:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }
.auth-note { margin-top: 20px; font-size: 12px; color: var(--text-dim); line-height: 1.5; }
.auth-note a { color: var(--pink); }

/* Кабинет «Мои треки» */
.my-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 10px 0 24px; flex-wrap: wrap; }
.my-title { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 700; }
.btn-generate--inline { width: auto; padding: 11px 20px; font-size: 14px; }
.my-empty { text-align: center; padding: 50px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.my-tracks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.track-card { display: flex; gap: 16px; padding: 16px; }
.track-cover {
  position: relative; width: 96px; height: 96px; border-radius: 14px; flex-shrink: 0;
  overflow: hidden; background: var(--grad-soft); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
}
.track-cover img { width: 100%; height: 100%; object-fit: cover; }
.track-cover-fallback { font-size: 32px; opacity: .6; }
.track-badge {
  position: absolute; top: 6px; left: 6px; padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: .5px;
}
.track-badge--free { background: rgba(255,255,255,0.18); color: #fff; backdrop-filter: blur(4px); }
.track-badge--paid { background: linear-gradient(135deg,#34d399,#10b981); color: #04231a; }
.track-body { flex: 1; min-width: 0; }
.track-title { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.track-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.track-tag { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(201,169,98,.16); color: #e8d5a8; font-weight: 600; }
.track-tag--style { background: rgba(184,137,74,.14); color: #d4bc82; }
.track-date { font-size: 11px; color: var(--text-dim); margin-left: auto; }
.track-audio { width: 100%; margin-bottom: 10px; }
.track-pending { font-size: 13px; color: var(--text-dim); margin-bottom: 10px; }
.track-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.btn-download {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
  border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 13px;
  color: #fff; background: var(--grad, linear-gradient(135deg,#b8894a,#c9a962));
  border: none; cursor: pointer;
}
.btn-download--locked {
  background: rgba(255,255,255,0.06); color: var(--text-dim);
  border: 1px solid var(--card-border); cursor: not-allowed;
}
.btn-outline--sm { padding: 8px 14px; font-size: 13px; width: auto; }
.track-lyrics {
  margin-top: 12px; padding: 12px; border-radius: 10px; white-space: pre-wrap;
  font-family: 'Inter', sans-serif; font-size: 13px; line-height: 1.6;
  background: rgba(0,0,0,0.25); border: 1px solid var(--card-border); color: var(--text);
}

/* Страница транзакций */
.tx-balance {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 16px 20px; margin-bottom: 18px;
}
.tx-balance-label { color: var(--text-dim); font-size: 14px; font-weight: 600; }
.tx-balance-value {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800;
}
.tx-table-wrap { padding: 0; overflow-x: auto; }
.tx-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tx-table th, .tx-table td { padding: 13px 16px; text-align: left; }
.tx-table thead th {
  font-size: 12px; text-transform: uppercase; letter-spacing: .5px;
  color: var(--text-dim); font-weight: 700;
  border-bottom: 1px solid var(--card-border);
}
.tx-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.05); }
.tx-table tbody tr:last-child { border-bottom: none; }
.tx-col-amount { text-align: right; white-space: nowrap; }
.tx-date { color: var(--text-dim); white-space: nowrap; }
.tx-type {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .3px; margin-right: 8px;
  background: rgba(255,255,255,0.08); color: var(--text);
}
.tx-type--gift     { background: rgba(201,169,98,.18); color: #e8d5a8; }
.tx-type--purchase { background: rgba(59,130,246,.20); color: #93c5fd; }
.tx-type--spend    { background: rgba(255,255,255,0.08); color: var(--text-dim); }
.tx-type--refund   { background: rgba(52,211,153,.18); color: #6ee7b7; }
.tx-type--admin    { background: rgba(251,191,36,.18); color: #fcd34d; }
.tx-desc { color: var(--text-dim); }
.tx-amount { font-family: 'Sora', sans-serif; font-weight: 800; }
.tx-amount--plus  { color: #34d399; }
.tx-amount--minus { color: #ff6b81; }
.tx-balance-after { color: var(--text); font-weight: 600; }

@media (max-width: 560px) {
  .tx-table th, .tx-table td { padding: 11px 12px; }
  .tx-desc { display: block; margin-top: 3px; }
}

/* Страница 404 */
.notfound { display: flex; justify-content: center; padding: 50px 0; }
.notfound-card { max-width: 480px; text-align: center; }
.notfound-code { font-family: 'Sora', sans-serif; font-size: 64px; font-weight: 800; background: var(--grad,linear-gradient(135deg,#b8894a,#c9a962)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.notfound-title { font-family: 'Sora', sans-serif; font-size: 24px; margin: 6px 0 10px; }
.notfound-sub { color: var(--text-dim); margin-bottom: 22px; }

/* Адаптив меню */
@media (max-width: 760px) {
  /* Раскладка: слева бургер, по центру логотип (строго по центру экрана),
     справа аккаунт/вход. Логотип позиционируем абсолютно, чтобы он не зависел
     от разной ширины бургера и зоны аккаунта. */
  .header-inner { gap: 12px; position: relative; justify-content: space-between; }
  .nav-toggle { display: flex; order: 1; }
  .header-inner .logo {
    order: 2; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%); margin: 0;
  }
  .header-account { order: 3; margin-left: auto; }

  /* На мобиле убираем backdrop-filter у шапки: он создаёт containing block
     для position:fixed, из-за чего панель меню позиционируется относительно
     шапки и схлопывается. Фон делаем сплошным взамен размытия. */
  .site-header {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: #101318;
  }
  /* Пока меню открыто — поднимаем шапку (а с ней и панель меню) выше
     оверлея и нижнего плеера. */
  .site-header.nav-open { z-index: 1100; }

  /* Боковая выезжающая панель (off-canvas) поверх контента */
  .site-nav {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 200;
    width: 78%; max-width: 300px;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: #181c24; border-right: 1px solid var(--card-border);
    padding: 76px 16px 24px; overflow-y: auto;
    box-shadow: 6px 0 30px rgba(0,0,0,.45);
    transform: translateX(-100%);
    transition: transform .28s ease;
    pointer-events: auto;
  }
  .site-nav.open { transform: translateX(0); }
  .nav-link {
    padding: 14px 16px; font-size: 16px;
    border-radius: 10px; width: 100%;
  }

  /* Затемнение основного контента под открытым меню.
     Выше плеера (z-index:300), но ниже шапки с классом .nav-open (1100). */
  .nav-overlay {
    position: fixed; inset: 0; z-index: 1050;
    background: rgba(0,0,0,.55);
    opacity: 0; visibility: hidden;
    transition: opacity .28s, visibility .28s;
  }
  .nav-overlay.open { opacity: 1; visibility: visible; }

  /* Бургер поверх панели, чтобы можно было закрыть */
  .nav-toggle { z-index: 210; }
}

@media (max-width: 640px) {
  .my-tracks { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .btn-login-text { display: none; }
  .btn-login { padding: 9px 11px; }
}

/* На узких экранах оставляем только значок логотипа, чтобы центрированный
   логотип не наезжал на бургер слева и зону аккаунта справа. */
@media (max-width: 400px) {
  .header-inner .logo .logo-text { display: none; }
}

/* ===================================================================
   ВИТРИНА (лендинг) — продающая главная
   =================================================================== */

.lp-btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 14px 26px; border-radius: 14px; text-decoration: none;
  font-weight: 700; font-size: 15px; cursor: pointer; border: none;
  transition: transform .14s, box-shadow .14s, background .14s;
}
.lp-btn--primary {
  color: #fff; background: var(--grad);
  box-shadow: 0 12px 30px -8px rgba(150,112,58,.35);
}
.lp-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -8px rgba(150,112,58,.45); }
.lp-btn--ghost {
  color: var(--text); background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
}
.lp-btn--ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.lp-btn--lg { padding: 17px 34px; font-size: 17px; }

/* секционные заголовки */
.lp-section-head { margin-bottom: 36px; max-width: 720px; }
.lp-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lp-kicker {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--pink); margin-bottom: 12px;
}
.lp-section-title { font-family: 'Sora', sans-serif; font-size: 34px; font-weight: 800; line-height: 1.18; }
.lp-section-sub { color: var(--text-dim); font-size: 16px; margin-top: 12px; line-height: 1.6; }

/* ---------- HERO ---------- */
.lp-hero { position: relative; padding: 60px 0 30px; overflow: hidden; }
.lp-hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center;
}
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #e8d5a8; margin-bottom: 22px;
  background: rgba(201,169,98,.12); border: 1px solid var(--card-border);
}
.lp-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: lp-pulse 1.8s infinite; }
@keyframes lp-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.lp-hero-title { font-family: 'Sora', sans-serif; font-size: 50px; font-weight: 800; line-height: 1.1; margin-bottom: 22px; letter-spacing: -0.5px; }
.lp-hero-lead { color: var(--text-dim); font-size: 18px; line-height: 1.7; margin-bottom: 30px; max-width: 520px; }
.lp-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.lp-hero-trust { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lp-gift-badge {
  display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 700; color: #fde68a;
  background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.3);
}
.lp-trust-text { font-size: 14px; color: var(--text-dim); }

/* HERO визуал — превью открытки */
.lp-hero-visual { position: relative; display: flex; justify-content: center; }
.lp-card-preview {
  position: relative; width: 320px; border-radius: 24px; overflow: hidden;
  background: rgba(24,28,36,0.85); border: 1px solid var(--card-border);
  box-shadow: var(--shadow); backdrop-filter: blur(10px);
  animation: lp-floatcard 6s ease-in-out infinite;
}
@keyframes lp-floatcard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.lp-card-preview-glow {
  position: absolute; inset: -40% -40% auto -40%; height: 200px;
  background: radial-gradient(circle, rgba(201,169,98,.28), transparent 65%); pointer-events: none;
}
.lp-card-cover {
  height: 180px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#d4bc82,#b8894a,#96703a);
}
.lp-card-cover-emoji { font-size: 72px; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.lp-card-preview-body { padding: 20px; position: relative; }
.lp-card-preview-badge {
  display: inline-block; padding: 4px 11px; border-radius: 999px; margin-bottom: 10px;
  font-size: 11px; font-weight: 700; color: #e8d5a8; background: rgba(201,169,98,.18);
}
.lp-card-preview-title { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.lp-card-preview-sub { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.lp-wave { display: flex; align-items: flex-end; gap: 3px; height: 44px; margin-bottom: 14px; }
.lp-wave span {
  flex: 1; height: var(--h); border-radius: 3px;
  background: linear-gradient(to top, #b8894a, #d4bc82);
  animation: lp-eq 1.1s ease-in-out infinite; animation-delay: var(--d);
}
@keyframes lp-eq { 0%,100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.lp-card-preview-controls { display: flex; align-items: center; gap: 12px; }
.lp-mini-play {
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: var(--grad); box-shadow: 0 6px 16px -4px rgba(150,112,58,.45);
}
.lp-mini-time { font-size: 13px; color: var(--text-dim); font-variant-numeric: tabular-nums; }

.lp-float { position: absolute; font-size: 34px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.lp-float--1 { top: 4%; right: 2%; animation: lp-floatcard 5s ease-in-out infinite; }
.lp-float--2 { bottom: 18%; left: -2%; animation: lp-floatcard 7s ease-in-out infinite .5s; }
.lp-float--3 { top: 40%; right: -4%; animation: lp-floatcard 6.5s ease-in-out infinite 1s; }

/* ---------- СТАТЫ ---------- */
.lp-stats { padding: 14px 0 36px; }
.lp-stats-inner {
  display: flex; align-items: center; justify-content: space-around; gap: 12px;
  padding: 24px 20px; border-radius: 20px;
  background: rgba(24,28,36,0.65); border: 1px solid var(--card-border);
}
.lp-stat { text-align: center; }
.lp-stat-num { display: block; font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-stat-label { font-size: 13px; color: var(--text-dim); }
.lp-stat-divider { width: 1px; height: 40px; background: var(--card-border); }

/* ---------- ФИШКИ ---------- */
.lp-features { padding: 50px 0; }
.lp-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.lp-feature {
  padding: 28px; border-radius: 20px;
  background: rgba(24,28,36,0.55); border: 1px solid var(--card-border);
  transition: transform .15s, border-color .15s;
}
.lp-feature:hover { transform: translateY(-4px); border-color: rgba(201,169,98,.35); }
.lp-feature--wide { grid-column: span 1; }
.lp-feature--accent { background: linear-gradient(135deg, rgba(212,188,130,.10), rgba(150,112,58,.10)); border-color: rgba(201,169,98,.28); }
.lp-feature-icon {
  width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 16px; background: rgba(201,169,98,.12);
}
.lp-feature-title { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.lp-feature-text { color: var(--text-dim); font-size: 14px; line-height: 1.65; }

/* ---------- КАК РАБОТАЕТ ---------- */
.lp-how { padding: 50px 0; }
.lp-steps { display: flex; align-items: stretch; gap: 8px; justify-content: center; flex-wrap: wrap; }
.lp-step {
  flex: 1; min-width: 220px; max-width: 300px; padding: 28px 24px; border-radius: 20px; text-align: center;
  background: rgba(24,28,36,0.55); border: 1px solid var(--card-border);
}
.lp-step-num {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800; color: #fff;
  background: var(--grad); box-shadow: 0 8px 20px -6px rgba(150,112,58,.4);
}
.lp-step-title { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.lp-step-text { color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.lp-step-arrow { display: flex; align-items: center; font-size: 28px; color: var(--purple); opacity: .6; }

/* ---------- ПОВОДЫ ---------- */
.lp-occasions { padding: 50px 0; }
.lp-occasions-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lp-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 14px;
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text);
  background: rgba(24,28,36,0.65); border: 1px solid var(--card-border);
  transition: transform .14s, border-color .14s, background .14s;
}
.lp-chip:hover { transform: translateY(-3px); border-color: var(--purple); background: rgba(201,169,98,.10); }
.lp-chip-emoji { font-size: 19px; }

/* ---------- ПРИМЕРЫ ---------- */
.lp-examples { padding: 50px 0; }
.lp-examples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-example {
  position: relative; min-height: 260px; border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px; border: 1px solid var(--card-border);
  transition: transform .15s;
}
.lp-example:hover { transform: translateY(-5px); }
.lp-example::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,19,24,.88), transparent 55%); z-index: 1; }
.lp-example > *:not(.lp-example-bg) { position: relative; z-index: 2; }
.lp-example-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.lp-example--g1 { background: linear-gradient(135deg,#96703a,#b8894a); }
.lp-example--g2 { background: linear-gradient(135deg,#4a5568,#718096); }
.lp-example--g3 { background: linear-gradient(135deg,#8b6914,#c9a962); }
.lp-example--g4 { background: linear-gradient(135deg,#2d3748,#4a5568); }
.lp-example--g5 { background: linear-gradient(135deg,#744210,#b8894a); }
.lp-example--g6 { background: linear-gradient(135deg,#1a365d,#2c5282); }
.lp-example-top { display: flex; align-items: center; justify-content: space-between; }
.lp-example-play {
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #181c24;
  background: rgba(255,255,255,0.95); box-shadow: 0 8px 22px rgba(0,0,0,.3);
  transition: transform .14s;
}
.lp-example-play:hover { transform: scale(1.1); }
.lp-example-play.playing {
  background: linear-gradient(135deg, var(--gold, #c9a962), #e7c987);
  color: #1a1206; box-shadow: 0 8px 26px rgba(201,169,98,.5);
}
.lp-example-play.playing svg { display: none; }
.lp-example-play.playing::before {
  content: ""; width: 14px; height: 14px;
  border-left: 4px solid currentColor; border-right: 4px solid currentColor;
}
.lp-example-dur {
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(0,0,0,0.35); backdrop-filter: blur(4px);
}
.lp-example-title { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.lp-example-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-tag { padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(255,255,255,0.22); backdrop-filter: blur(4px); }
.lp-tag--ghost { background: rgba(0,0,0,0.25); }

/* ---------- ОТЗЫВЫ ---------- */
.lp-reviews { padding: 50px 0; }
.lp-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-review {
  margin: 0; padding: 26px; border-radius: 20px;
  background: rgba(24,28,36,0.55); border: 1px solid var(--card-border);
}
.lp-stars { color: #fbbf24; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.lp-review p { font-size: 15px; line-height: 1.6; margin-bottom: 18px; color: var(--text); }
.lp-review footer { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-dim); }
.lp-review-ava {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; background: var(--grad);
}

/* ---------- ФИНАЛЬНЫЙ CTA ---------- */
.lp-final { padding: 40px 0 70px; }
.lp-final-card {
  position: relative; overflow: hidden; text-align: center; padding: 56px 30px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(212,188,130,.10), rgba(150,112,58,.10));
  border: 1px solid rgba(201,169,98,.22);
}
.lp-final-glow {
  position: absolute; inset: auto -20% -60% -20%; height: 280px;
  background: radial-gradient(circle, rgba(184,137,74,.22), transparent 65%); pointer-events: none;
}
.lp-final-title { position: relative; font-family: 'Sora', sans-serif; font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.lp-final-text { position: relative; color: var(--text-dim); font-size: 16px; margin-bottom: 26px; }
.lp-final .lp-btn { position: relative; }

/* ---------- АДАПТИВ ВИТРИНЫ ---------- */
@media (max-width: 900px) {
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-visual { order: -1; }
  .lp-hero-title { font-size: 38px; }
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-examples-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-reviews-grid { grid-template-columns: 1fr; }
  .lp-step-arrow { display: none; }
  .lp-stats-inner { flex-wrap: wrap; }
  .lp-stat-divider { display: none; }
  .lp-stat { flex: 1 1 40%; }
}
@media (max-width: 560px) {
  .lp-hero-title { font-size: 30px; }
  .lp-hero-lead { font-size: 16px; }
  .lp-section-title { font-size: 26px; }
  .lp-examples-grid { grid-template-columns: 1fr; }
  .lp-card-preview { width: 100%; max-width: 320px; }
}

/* ===================================================================
   ГЛОБАЛЬНЫЙ ПЛЕЕР (фиксирован снизу, появляется при воспроизведении)
   =================================================================== */
.gplayer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  transform: translateY(110%);
  transition: transform .3s ease;
  background: rgba(16, 19, 24, 0.94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(201, 169, 98, 0.22);
  box-shadow: 0 -10px 40px rgba(0,0,0,.5);
}
.gplayer.open { transform: translateY(0); }
.gplayer-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 20px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: 18px;
}

/* Левая зона: обложка + название */
.gplayer-meta { display: flex; align-items: center; gap: 12px; min-width: 0; }
.gplayer-cover {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; object-fit: cover;
  background: var(--grad-soft); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.gplayer-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.gplayer-text { min-width: 0; }
.gplayer-title {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gplayer-sub {
  font-size: 12px; color: var(--text-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Центр: контролы + прогресс */
.gplayer-center { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 280px; }
.gplayer-controls { display: flex; align-items: center; gap: 16px; }
.gplayer-btn {
  border: none; background: transparent; cursor: pointer; color: var(--text-dim);
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
  transition: color .15s, transform .12s;
}
.gplayer-btn:hover { color: #fff; }
.gplayer-btn:disabled { opacity: .35; cursor: not-allowed; }
.gplayer-play {
  width: 44px; height: 44px; border-radius: 50%; color: #181c24;
  background: var(--grad); box-shadow: 0 6px 18px -4px rgba(150,112,58,.45);
}
.gplayer-play:hover { transform: scale(1.06); color: #181c24; }
.gplayer-progress-row { display: flex; align-items: center; gap: 10px; width: 100%; }
.gplayer-time { font-size: 12px; color: var(--text-dim); font-variant-numeric: tabular-nums; min-width: 36px; text-align: center; }
.gplayer-seek {
  flex: 1; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 999px;
  background: rgba(255,255,255,0.15); cursor: pointer; outline: none;
}
.gplayer-seek::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px rgba(201,169,98,.45); cursor: pointer;
}
.gplayer-seek::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%; border: none;
  background: #fff; box-shadow: 0 0 0 3px rgba(201,169,98,.45); cursor: pointer;
}

/* Правая зона: лайк + громкость + закрыть */
.gplayer-right { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.gplayer-volume-wrap { display: flex; align-items: center; gap: 8px; }
.gplayer-volume {
  width: 90px; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 999px;
  background: rgba(255,255,255,0.15); cursor: pointer; outline: none;
}
.gplayer-volume::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 2px rgba(201,169,98,.45); cursor: pointer;
}
.gplayer-volume::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%; border: none;
  background: #fff; box-shadow: 0 0 0 2px rgba(201,169,98,.45); cursor: pointer;
}
.gplayer-like.liked { color: var(--pink); }
.gplayer-close:hover { color: #ff6b81; }

/* Кнопка play в карточке трека (вместо стандартных controls) */
.track-play-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: 999px; border: none; cursor: pointer; font-weight: 700; font-size: 13px;
  color: #fff; background: var(--grad);
  box-shadow: 0 6px 16px -4px rgba(150,112,58,.4);
  transition: transform .12s, box-shadow .12s;
}
.track-play-btn:hover { transform: translateY(-1px); }
.track-play-btn.playing { background: rgba(255,255,255,0.1); color: var(--pink); box-shadow: none; }

/* Когда плеер открыт — добавляем отступ снизу, чтобы он не перекрывал контент */
body.gplayer-active { padding-bottom: 84px; }

/* Адаптив плеера */
@media (max-width: 760px) {
  .gplayer-inner { grid-template-columns: 1fr auto; gap: 10px; padding: 10px 14px; }
  .gplayer-center { grid-column: 1 / -1; order: 3; min-width: 0; width: 100%; }
  .gplayer-right { gap: 10px; }
  .gplayer-volume-wrap { display: none; }
  body.gplayer-active { padding-bottom: 120px; }
}
@media (max-width: 480px) {
  .gplayer-meta { gap: 9px; }
  .gplayer-cover { width: 44px; height: 44px; }
}

/* ===================================================================
   КОМПАКТНЫЙ СПИСОК ТРЕКОВ (одна колонка, миниатюрные строки)
   =================================================================== */
.tracklist {
  display: flex; flex-direction: column;
  border: 1px solid var(--card-border); border-radius: 14px; overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.tl-row {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
  transition: background .12s;
}
.tl-row:last-child { border-bottom: none; }
.tl-row:hover { background: rgba(255,255,255,0.04); }

/* Play + миниатюра */
.tl-play {
  position: relative; flex-shrink: 0; border: none; background: none; cursor: pointer; padding: 0;
}
.tl-play--disabled { cursor: default; }
.tl-cover {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; overflow: hidden;
  background: var(--grad-soft); border: 1px solid var(--card-border);
}
.tl-cover img { width: 100%; height: 100%; object-fit: cover; }
.tl-cover-fallback { font-size: 18px; opacity: .6; }
.tl-play-icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(0,0,0,0.42); opacity: 0; transition: opacity .15s;
}
.tl-play:hover .tl-play-icon { opacity: 1; }
.tl-play.playing .tl-play-icon { opacity: 1; background: rgba(201,169,98,0.45); }

/* Название + повод/стиль */
.tl-info { flex: 1; min-width: 0; }
.tl-title-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tl-title {
  font-weight: 600; font-size: 14px; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tl-badge {
  flex-shrink: 0; padding: 1px 7px; border-radius: 999px;
  font-size: 9px; font-weight: 800; letter-spacing: .5px;
}
.tl-badge--free { background: rgba(255,255,255,0.14); color: #fff; }
.tl-badge--paid { background: linear-gradient(135deg,#34d399,#10b981); color: #04231a; }
.tl-badge--ready { background: linear-gradient(135deg,#34d399,#10b981); color: #04231a; }
.tl-badge--pending { background: rgba(255,255,255,0.14); color: #fff; }
.tl-badge--error { background: rgba(248,113,113,0.18); color: #fca5a5; }
.tl-id {
  flex-shrink: 0; border: none; cursor: pointer;
  padding: 1px 7px; border-radius: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(255,255,255,0.06); color: var(--text-dim);
  transition: background .12s, color .12s;
}
.tl-id:hover { background: rgba(255,255,255,0.12); color: #fff; }
.tl-id.copied { background: linear-gradient(135deg,#34d399,#10b981); color: #04231a; }
.tl-sub {
  font-size: 12px; color: var(--text-dim); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tl-sub--pending { font-style: italic; }
.tl-sub--error { color: #fca5a5; white-space: normal; }

/* Действия справа */
.tl-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.tl-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.05); color: var(--text-dim);
  text-decoration: none; transition: background .12s, color .12s;
}
.tl-icon-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.tl-icon-btn--dl:hover { color: var(--pink, #c9a962); }
.tl-icon-btn--locked { opacity: .4; cursor: not-allowed; }
.tl-icon-btn--locked:hover { background: rgba(255,255,255,0.05); color: var(--text-dim); }
.tl-dur {
  font-size: 12px; color: var(--text-dim); font-variant-numeric: tabular-nums;
  min-width: 36px; text-align: right; margin-left: 2px;
}

/* Текст песни (раскрывается на всю ширину строки) */
.tl-lyrics {
  flex-basis: 100%; margin-top: 8px; padding: 12px; border-radius: 10px;
  white-space: pre-wrap; font-family: 'Inter', sans-serif; font-size: 13px; line-height: 1.6;
  background: rgba(0,0,0,0.25); border: 1px solid var(--card-border); color: var(--text);
}

/* Пагинация */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 22px 0 8px; flex-wrap: wrap;
}
.pg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 14px;
  color: var(--text); background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border); transition: background .12s, color .12s;
}
.pg-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.pg-btn--active {
  color: #fff; background: var(--grad, linear-gradient(135deg,#b8894a,#c9a962));
  border-color: transparent; cursor: default;
}
.pg-btn--disabled { opacity: .35; cursor: not-allowed; }
.pg-btn--disabled:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.pg-dots { color: var(--text-dim); padding: 0 2px; }

@media (max-width: 560px) {
  .tl-row { gap: 10px; padding: 8px 10px; }
  .tl-cover { width: 40px; height: 40px; }
  .tl-dur { display: none; }
}

/* ===================================================================
   МОДАЛЬНОЕ ОКНО: текст песни
   =================================================================== */
.lyrics-modal {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.lyrics-modal.open { opacity: 1; visibility: visible; }
.lyrics-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.lyrics-modal-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; max-height: 82vh;
  display: flex; flex-direction: column;
  background: #181c24; border: 1px solid var(--card-border);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  transform: translateY(12px) scale(.98);
  transition: transform .22s ease;
}
.lyrics-modal.open .lyrics-modal-box { transform: translateY(0) scale(1); }

.lyrics-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-bottom: 1px solid var(--card-border);
}
.lyrics-modal-title {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lyrics-modal-close {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.05); color: var(--text-dim);
  transition: background .12s, color .12s;
}
.lyrics-modal-close:hover { background: rgba(255,255,255,0.1); color: #ff6b81; }

.lyrics-modal-text {
  flex: 1; overflow-y: auto; margin: 0; padding: 20px;
  white-space: pre-wrap; word-break: break-word;
  font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.7; color: var(--text);
}

.lyrics-modal-foot {
  padding: 14px 20px; border-top: 1px solid var(--card-border);
  display: flex; justify-content: flex-end;
}
.lyrics-modal-copy {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; border: none; cursor: pointer;
  font-weight: 700; font-size: 14px; color: #fff;
  background: var(--grad, linear-gradient(135deg,#b8894a,#c9a962));
  box-shadow: 0 6px 16px -4px rgba(150,112,58,.4);
  transition: transform .12s, box-shadow .12s;
}
.lyrics-modal-copy:hover { transform: translateY(-1px); }
.lyrics-modal-copy.copied { background: linear-gradient(135deg,#34d399,#10b981); color: #04231a; }

/* Адаптив модалки: на мобильных — почти на весь экран */
@media (max-width: 560px) {
  .lyrics-modal { padding: 0; align-items: flex-end; }
  .lyrics-modal-box {
    max-width: 100%; max-height: 92vh; width: 100%;
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
  }
  .lyrics-modal.open .lyrics-modal-box { transform: translateY(0); }
  .lyrics-modal-head { padding: 16px; }
  .lyrics-modal-text { padding: 16px; font-size: 14px; }
  .lyrics-modal-foot { padding: 12px 16px; }
  .lyrics-modal-copy { width: 100%; justify-content: center; }
}

/* ===================================================================
   КОНСТРУКТОР: одноколоночная раскладка + кнопки выбора (пол/вокал)
   =================================================================== */
.workspace--single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.choice-row { display: flex; gap: 12px; flex-wrap: wrap; }
.choice-btn {
  flex: 1; min-width: 130px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 18px; cursor: pointer;
  background: rgba(0,0,0,0.3); border: 1px solid var(--card-border);
  border-radius: 14px; color: var(--text);
  font-family: inherit; font-size: 15px; font-weight: 600;
  transition: all 0.2s;
}
.choice-btn:hover { border-color: var(--pink); background: rgba(201,169,98,0.06); }
.choice-btn.active { border-color: var(--pink); background: rgba(201,169,98,0.12); color: #fff; }
.choice-icon { font-size: 20px; }

.field-hint { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--text-dim); }

/* ===================================================================
   КАБИНЕТ: скелетоны генерирующихся треков
   =================================================================== */
.tracklist--pending { margin-bottom: 18px; }
.gen-pending { display: contents; }

.tl-row--loading { cursor: default; }
.tl-row--loading:hover { background: none; }

.tl-skel {
  display: block; border-radius: 8px;
  background: linear-gradient(100deg,
      rgba(255,255,255,0.05) 30%,
      rgba(255,255,255,0.16) 50%,
      rgba(255,255,255,0.05) 70%);
  background-size: 200% 100%;
  animation: tlShimmer 1.3s ease-in-out infinite;
}
.tl-skel-cover { width: 44px; height: 44px; border-radius: 10px; }
.tl-skel-line { width: 140px; max-width: 50%; height: 13px; border-radius: 6px; }

@keyframes tlShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.tl-spinner {
  width: 18px; height: 18px; border-radius: 50%; display: inline-block;
  border: 2px solid rgba(255,255,255,0.25); border-top-color: var(--pink, #c9a962);
  animation: spin 0.7s linear infinite;
}

@media (max-width: 560px) {
  .tl-skel-cover { width: 40px; height: 40px; }
}

/* ===================================================================== */
/* Страница покупки кредитов (/pricing)                                  */
/* ===================================================================== */
.pricing-page { padding-top: 28px; padding-bottom: 80px; }
.pricing-head { text-align: center; margin-bottom: 26px; }
.pricing-title { font-family: 'Sora', sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
.pricing-subtitle { color: var(--text-dim); margin-top: 8px; font-size: 14px; }

.pricing-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.pricing-card {
  text-align: left; cursor: pointer; font: inherit; color: var(--text);
  display: flex; flex-direction: column; gap: 9px;
  padding: 18px; border-radius: 16px;
  background: var(--card); border: 1.5px solid var(--card-border);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.pricing-card:hover { border-color: rgba(201,169,98,.45); transform: translateY(-2px); }
.pricing-card.active { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(184,137,74,.20); }
.pricing-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.pricing-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--text);
  background: rgba(255,255,255,.06); border: 1px solid var(--card-border);
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.pricing-tag--hot { background: rgba(245,158,11,.16); border-color: rgba(245,158,11,.30); color: #fcd9a0; }
.pricing-tag-icon { font-size: 13px; line-height: 1; }

.pricing-off { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pricing-off--amber { background: rgba(245,158,11,.18); color: #fcd34d; }
.pricing-off--green { background: rgba(16,185,129,.18); color: #6ee7b7; }
.pricing-off--cyan  { background: rgba(6,182,212,.18);  color: #67e8f9; }
.pricing-off--pink  { background: rgba(217,70,239,.18); color: #f0abfc; }

.pricing-price { font-size: 14px; color: var(--text-dim); }
.pricing-credits { font-size: 14px; color: var(--text-dim); display: flex; align-items: baseline; gap: 6px; }
.pricing-credits-num { font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 800; color: var(--text); }
.pricing-card-sub { font-size: 12.5px; color: var(--text-dim); }

/* Панель «К оплате» */
.pricing-summary {
  position: sticky; top: 88px;
  background: var(--card); border: 1.5px solid rgba(184,137,74,.35);
  border-radius: 18px; padding: 24px; text-align: center;
}
.pricing-summary-title { color: var(--text-dim); font-weight: 600; margin-bottom: 14px; }
.pricing-summary-badges { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.pricing-summary-price { font-family: 'Sora', sans-serif; font-size: 42px; font-weight: 800; line-height: 1.1; }
.pricing-summary-credits { font-size: 18px; font-weight: 700; color: #34d399; margin-top: 4px; }
.pricing-summary-gens { color: var(--text-dim); font-size: 13.5px; margin-top: 10px; }
.pricing-summary-note { color: #6ee7b7; font-size: 13px; margin-top: 6px; }

.pricing-email {
  text-align: left; margin-top: 20px; background: rgba(255,255,255,.04);
  border: 1px solid var(--card-border); border-radius: 12px; padding: 11px 14px;
}
.pricing-email-row { display: flex; align-items: center; justify-content: space-between; }
.pricing-email-label { font-size: 12.5px; color: var(--text-dim); }
.pricing-email-edit { background: none; border: none; color: var(--pink); font-size: 12.5px; cursor: pointer; text-decoration: underline; padding: 0; }
.pricing-email-input { width: 100%; background: none; border: none; color: var(--text); font-size: 14px; margin-top: 3px; outline: none; }

.pricing-terms { display: flex; gap: 10px; text-align: left; font-size: 12.5px; color: var(--text-dim); margin-top: 16px; line-height: 1.45; }
.pricing-terms input { margin-top: 2px; accent-color: var(--purple); flex-shrink: 0; }
.pricing-terms a { color: var(--pink); }

.pricing-buy { width: 100%; margin-top: 16px; display: block; text-align: center; }
.pricing-buy[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.pricing-buy-msg {
  margin-top: 10px; font-size: 13px; color: #fcd34d;
  background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.25);
  border-radius: 10px; padding: 8px 10px;
}
.pricing-buy-msg--error {
  color: #fca5a5;
  background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.28);
}

/* ---------- Профиль ---------- */
.profile-page { max-width: 720px; }
.profile-card { display: flex; flex-direction: column; gap: 22px; }
.profile-id { display: flex; align-items: center; gap: 16px; }
.profile-avatar {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--card-border); flex-shrink: 0;
}
.profile-avatar--placeholder {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #b8894a, #c9a962); text-transform: uppercase;
}
.profile-id-text { min-width: 0; }
.profile-name { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 700; }
.profile-email { color: var(--text-dim); font-size: 14px; margin-top: 2px; word-break: break-all; }

.profile-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border);
  padding: 18px 0;
}
.profile-stat { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.profile-stat-num { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; }
.profile-stat-label { color: var(--text-dim); font-size: 12.5px; }

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

.profile-danger { margin-top: 18px; border-color: rgba(248,113,113,.28); }
.profile-danger-title { font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 700; color: #fca5a5; margin-bottom: 8px; }
.profile-danger-text { color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.profile-danger-text b { color: var(--text); letter-spacing: .04em; }
.profile-danger-err { color: #fca5a5; font-size: 13px; margin-top: 10px; }
.profile-delete-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.profile-delete-input {
  flex: 1 1 200px; padding: 11px 14px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid var(--card-border);
  color: var(--text); font-size: 15px; letter-spacing: .05em;
}
.profile-delete-input:focus { outline: none; border-color: rgba(248,113,113,.5); }

.btn-danger {
  padding: 11px 20px; border-radius: 10px; border: 1px solid rgba(248,113,113,.4);
  background: rgba(248,113,113,.14); color: #fca5a5; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: background .15s, opacity .15s; white-space: nowrap;
}
.btn-danger:hover:not(:disabled) { background: rgba(248,113,113,.24); }
.btn-danger:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 480px) {
  .profile-stats { grid-template-columns: 1fr 1fr; }
}

.pricing-pay-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--text-dim); font-size: 12.5px; margin-top: 14px; }
.pricing-pay-note svg { color: #34d399; flex-shrink: 0; }
.pricing-refund { color: var(--text-dim); font-size: 11.5px; margin-top: 10px; line-height: 1.45; }
.pricing-refund a { color: var(--text-dim); text-decoration: underline; }

@media (max-width: 880px) {
  .pricing-layout { grid-template-columns: 1fr; }
  .pricing-summary { position: static; }
}
@media (max-width: 520px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-title { font-size: 25px; }
}

/* ===================================================================== */
/* Модальное окно: пользовательское соглашение                           */
/* ===================================================================== */
.agreement-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.agreement-modal.open { display: block; }
.agreement-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.62); backdrop-filter: blur(3px); }
.agreement-modal-box {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(760px, calc(100% - 32px)); max-height: 86vh;
  display: flex; flex-direction: column;
  background: var(--bg-2, #161b22); border: 1px solid var(--card-border);
  border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
}
.agreement-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--card-border); flex-shrink: 0;
}
.agreement-modal-title { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 800; }
.agreement-modal-close { background: none; border: none; color: var(--text-dim); cursor: pointer; padding: 4px; border-radius: 8px; display: grid; place-items: center; }
.agreement-modal-close:hover { color: var(--text); background: rgba(255,255,255,.06); }
.agreement-modal-body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  padding: 18px 22px; color: var(--text-dim); font-size: 14px; line-height: 1.6;
}
.agreement-modal-body h4 { color: var(--text); font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 700; margin: 20px 0 8px; }
.agreement-modal-body h5 { color: var(--text); font-size: 14.5px; font-weight: 700; margin: 14px 0 6px; }
.agreement-modal-body p { margin: 0 0 10px; }
.agreement-modal-body ul { margin: 0 0 12px; padding-left: 20px; }
.agreement-modal-body li { margin-bottom: 6px; }
.agreement-modal-body a { color: var(--pink); }
.agr-meta { color: var(--text-dim); font-size: 12.5px; margin-bottom: 8px; }
.agreement-modal-foot { padding: 16px 22px; border-top: 1px solid var(--card-border); flex-shrink: 0; }
.agreement-modal-ack { width: 100%; display: block; text-align: center; }

/* ---------- Компактная модалка (демо-скачивание) ---------- */
.vb-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.vb-modal.open { display: block; }
.vb-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.62); backdrop-filter: blur(3px); }
.vb-modal-box {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 32px); max-width: 400px;
  background: var(--card, #181c24); border: 1px solid var(--card-border);
  border-radius: 18px; padding: 28px 24px 24px; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.vb-modal-close {
  position: absolute; top: 12px; right: 12px; background: none; border: none;
  color: var(--text-dim); cursor: pointer; padding: 4px; border-radius: 8px;
  display: grid; place-items: center;
}
.vb-modal-close:hover { color: var(--text); background: rgba(255,255,255,.06); }
.vb-modal-icon {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #b8894a, #c9a962);
}
.vb-modal-title { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.vb-modal-text { color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.vb-modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.vb-modal-actions .btn-generate--inline,
.vb-modal-actions .btn-outline { width: 100%; text-align: center; }
