:root {
  --background: #0c0c0c;
  --foreground: #f5f5f5;
  --card: #161616;
  --tile: #101010;
  --muted-foreground: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.1);
  --input-bg: rgba(255, 255, 255, 0.06);
  --lime: #d4f715;
  --lime-foreground: #111111;
  --destructive: #ef4444;
  --radius: 0.75rem;
}

* { box-sizing: border-box; }

/* Атрибут hidden всегда сильнее любых display-правил */
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}

/* Шапка */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px 24px;
}

.logo-small {
  gap: 8px;
}

.logo-small .logo-text {
  font-size: 20px;
}

.logo-small .spark {
  background: #000;
  border-radius: 6px;
  padding: 4px;
}

/* Страницы: общее центрирование */
.landing-page,
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.landing-col,
.auth-col {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Логотип */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--foreground);
}

.logo-text {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lime-dot { color: var(--lime); }

.logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  border-radius: 16px;
  background: var(--tile);
  border: 1px solid var(--border);
}

.logo-tile-text {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.logo-tile-labeled { padding: 26px 34px; }

/* Главная */
.landing-title {
  margin: 28px 0 0;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.landing-page .tagline { margin: 14px 0 36px; }

.tagline {
  margin: 14px 0 24px;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.55;
  max-width: 360px;
}

/* Карточка */
.card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.45);
}

.card-title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-oauth {
  background: rgba(255, 255, 255, 0.04);
  color: var(--foreground);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-oauth:hover { background: rgba(255, 255, 255, 0.09); }

.btn-lime {
  background: var(--lime);
  color: var(--lime-foreground);
  font-weight: 600;
}

.btn-lime:hover { background: #e2ff3d; }

.btn-pill {
  width: auto;
  height: 52px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 16px;
}

.oauth-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.telegram-widget {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

/* Разделитель */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted-foreground);
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Форма */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 14px;
  font-weight: 500;
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field input {
  width: 100%;
  height: 44px;
  padding: 4px 12px;
  font-size: 15px;
  color: var(--foreground);
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s ease;
}

.field input::placeholder { color: var(--muted-foreground); }

.field input:focus-visible { border-color: rgba(255, 255, 255, 0.35); }

/* Выбор типа аккаунта */
.role-group {
  display: flex;
  gap: 10px;
}

.role-option {
  flex: 1;
}

.role-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--input-bg);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.role-option input:checked + span {
  border-color: var(--lime);
  color: var(--foreground);
  background: rgba(212, 247, 21, 0.08);
}

.role-option input:focus-visible + span {
  border-color: rgba(255, 255, 255, 0.35);
}

.label-optional {
  font-weight: 400;
  color: var(--muted-foreground);
}

.btn-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}

.link-muted {
  font-size: 13px;
  color: var(--muted-foreground);
  text-decoration: none;
}

.link-muted:hover { color: var(--foreground); }

.switch-hint {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted-foreground);
}

.switch-hint a {
  color: var(--foreground);
  font-weight: 500;
}

/* Оповещения */
.alert {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 16px;
}

.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f6a5a5;
}

.alert-info {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #a8c7f5;
}

/* Страница Hello world */
.hello-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hello-page h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hello-sub {
  margin: 0 0 16px;
  color: var(--muted-foreground);
}

/* ===== Кабинет креатора ===== */

.app-body { background: #0a0a0a; }

.app {
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: 100vh;
}

/* Сайдбар */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  border-right: 1px solid var(--border);
  background: #0d0d0d;
  overflow-y: auto;
}

.side-logo { padding: 4px 10px 14px; }

.side-label {
  padding: 10px 12px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.side-nav { display: flex; flex-direction: column; gap: 2px; }

.side-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.side-item:hover { background: rgba(255, 255, 255, 0.05); color: var(--foreground); }

.side-item.active {
  background: rgba(212, 247, 21, 0.1);
  color: var(--lime);
  box-shadow: inset 3px 0 0 var(--lime);
}

.icon { display: inline-flex; flex: none; }
.icon svg { width: 100%; height: 100%; }

.side-bottom { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.side-icons { display: flex; gap: 8px; padding: 0 8px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.icon-btn:hover { color: var(--foreground); background: rgba(255, 255, 255, 0.05); }

.side-logout:hover { color: #f87171; }

/* Основная область */
.app-main { display: flex; flex-direction: column; min-width: 0; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  z-index: 20;
}

.topbar-title { margin: 0; font-size: 19px; font-weight: 600; }

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

.top-user { display: flex; align-items: center; gap: 10px; margin-left: 6px; }

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-foreground);
  font-weight: 700;
  font-size: 15px;
}

.top-user-name { font-size: 14px; font-weight: 500; }

.content { padding: 24px 28px 48px; max-width: 1280px; width: 100%; }

/* Топ оффер */
.hero-offer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(212, 247, 21, 0.12), transparent 60%),
    #101010;
  overflow: hidden;
  margin-bottom: 20px;
}

.badge-top {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(212, 247, 21, 0.12);
  border: 1px solid rgba(212, 247, 21, 0.35);
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.hero-body { display: flex; flex-direction: column; gap: 12px; }
.hero-title { margin: 4px 0 0; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.hero-desc { margin: 0; color: var(--muted-foreground); font-size: 14px; max-width: 560px; }

.hero-stats { display: flex; gap: 36px; margin-top: 6px; }
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.hero-stat-value { font-size: 17px; font-weight: 700; }
.hero-stat-value.platforms { display: flex; gap: 6px; }

.platform-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--foreground);
}

.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 8px; flex-wrap: wrap; }
.hero-btn { width: auto; padding: 0 26px; }
.hero-budget { flex: 1; min-width: 240px; max-width: 380px; }

.hero-art {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.35;
  pointer-events: none;
  padding-right: 12px;
}
.hero-art-name { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; color: #6b6b6b; }

/* Бюджет */
.budget { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.budget-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.budget-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.budget-nums { font-size: 12px; font-weight: 600; }
.budget-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.budget-fill { height: 100%; border-radius: 999px; background: var(--lime); min-width: 6px; }

/* Панель фильтров */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 20px;
  flex-wrap: wrap;
}

.pill-group {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #111;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: none;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-bar > .pill, .dropdown-toggle { border-color: var(--border); background: #111; }
.pill:hover { color: var(--foreground); }
.pill.active { background: var(--lime); color: var(--lime-foreground); font-weight: 600; }

.dropdown { position: relative; }
.menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #161616;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 30;
}
.dropdown-right .menu { left: auto; right: 0; }
.dropdown.open .menu { display: block; }
.dropdown.open .dropdown-toggle { border-color: var(--lime); color: var(--foreground); }

.menu-item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 9px;
  background: none;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.menu-item:hover { background: rgba(255, 255, 255, 0.06); color: var(--foreground); }
.menu-item.active { background: rgba(212, 247, 21, 0.12); color: var(--lime); }

.search-box {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #111;
  color: var(--muted-foreground);
}
.search-box input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  color: var(--foreground);
  font-size: 14px;
}
.search-box input::placeholder { color: var(--muted-foreground); }
.search-box:focus-within { border-color: rgba(255, 255, 255, 0.3); }

/* Сетка офферов */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #121212;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.offer-card:hover { border-color: rgba(255, 255, 255, 0.22); }

.offer-card.card-verify { border-color: rgba(212, 247, 21, 0.55); }

.card-cover { display: block; height: 170px; position: relative; text-decoration: none; color: inherit; }

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-foreground);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
}
.fav-btn:hover { background: rgba(0, 0, 0, 0.65); }
.fav-btn.active { color: var(--lime); }
.fav-btn.active svg path { fill: var(--lime); }

.cover-brand, .cover-verify {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cover-lime { background: radial-gradient(420px 200px at 20% 100%, rgba(212, 247, 21, 0.25), transparent 65%), #131313; }
.cover-blob { background: radial-gradient(420px 220px at 85% 0%, rgba(212, 247, 21, 0.3), transparent 60%), #101010; }
.cover-spark { background: radial-gradient(360px 200px at 50% 120%, rgba(212, 247, 21, 0.18), transparent 65%), #151515; }

.cover-brand-name { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }

.cover-verify {
  background: linear-gradient(135deg, #efeadb, #cfc9b8);
  flex-direction: column;
  gap: 6px;
}
.cover-verify-title { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; color: #171717; }
.cover-verify-logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #171717; }

.card-body { display: flex; flex-direction: column; gap: 10px; padding: 16px; flex: 1; }
.card-title-link { text-decoration: none; color: inherit; }
.card-title { margin: 0; font-size: 16px; font-weight: 700; }
.card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-platforms { display: flex; gap: 6px; }

.card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted-foreground);
}
.card-cpm { font-size: 14px; }
.card-videos { margin-left: auto; font-size: 12px; color: var(--muted-foreground); }
.card-cta { margin-top: auto; }

.empty-note { color: var(--muted-foreground); text-align: center; padding: 40px 0; }

/* Детальная страница оффера */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 14px;
}
.back-link:hover { color: var(--foreground); }

.detail-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 220px;
  border-radius: 18px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  overflow: hidden;
}
.detail-banner .card-badge { position: absolute; top: 16px; left: 16px; }
.banner-verify { background: linear-gradient(135deg, #efeadb, #cfc9b8); }
.banner-verify-title { font-size: 64px; font-weight: 800; letter-spacing: -0.02em; color: #171717; }
.banner-brand-name { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }

.detail-title { margin: 0 0 6px; font-size: 26px; font-weight: 700; }
.detail-sub { margin: 0 0 18px; color: var(--muted-foreground); }
.detail-stats { margin-bottom: 14px; }

.brief-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #121212;
  padding: 24px;
  margin: 18px 0;
  font-size: 15px;
  line-height: 1.65;
}
.brief-heading { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 17px; }
.brief-sub { margin: 22px 0 8px; font-size: 15px; }
.brief-card p { margin: 0 0 12px; color: rgba(255, 255, 255, 0.82); }
.brief-hr { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.brief-list { margin: 0 0 12px; padding-left: 20px; color: rgba(255, 255, 255, 0.82); }
.brief-list li { margin: 8px 0; }
.brief-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-foreground);
  font-size: 14px;
}

.submit-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #121212;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.submit-label { font-size: 14px; font-weight: 600; }
.submit-input {
  height: 46px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--foreground);
  font-size: 15px;
  outline: none;
}
.submit-input:focus-visible { border-color: rgba(255, 255, 255, 0.35); }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.submit-hint { font-size: 13px; color: var(--muted-foreground); }
.submit-btn { width: auto; padding: 0 24px; border-radius: 999px; }

.alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

/* Заглушки разделов */
.stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 90px 20px;
  text-align: center;
  color: var(--muted-foreground);
}
.stub-icon { color: var(--lime); opacity: 0.9; }
.stub h2 { margin: 6px 0 0; color: var(--foreground); }
.stub p { margin: 0 0 14px; }

/* Cookie-баннер */
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  max-width: 420px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #161616;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6);
}
.cookie-banner p { margin: 0 0 14px; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.cookie-accept { height: 42px; padding: 0 26px; font-size: 14px; margin-left: auto; display: flex; }

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .side-nav { flex-direction: row; flex-wrap: wrap; }
  .hero-art { display: none; }
}

/* ===== Детальная страница оффера (новый дизайн) ===== */

.offer-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 240px;
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 0;
}

.offer-hero-name { font-size: 72px; font-weight: 800; letter-spacing: -0.04em; color: #9a9a9a; }
.offer-hero.banner-verify { flex-direction: column; gap: 8px; }

.offer-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: -56px 20px 0;
  position: relative;
  z-index: 2;
}

.offer-head-left { display: flex; align-items: center; gap: 14px; }

.brand-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #0d0d0d;
  border: 1px solid var(--border);
}

.offer-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.offer-title-row .detail-title { margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,0.8); }
.offer-meta { margin: 4px 0 0; color: var(--muted-foreground); font-size: 14px; }
.offer-site { color: var(--foreground); }
.offer-head-budget { min-width: 260px; }

.offer-statsbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #101010;
  margin: 18px 0;
}

.offer-stats-cells { display: flex; gap: 28px; flex-wrap: wrap; }

.stat-cell { display: flex; align-items: center; gap: 10px; }
.stat-cell .hero-stat-label { display: block; }
.stat-cell .hero-stat-value { display: block; font-size: 16px; }

.platform-chip.lime { background: rgba(212, 247, 21, 0.15); color: var(--lime); }

.offer-stats-actions { display: flex; align-items: center; gap: 12px; }
.fav-btn.static { position: static; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); width: 40px; height: 40px; }
.submit-jump { height: 44px; padding: 0 22px; font-size: 14px; }

/* Табы */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin: 4px 0 20px; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  background: none;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab:hover { color: var(--foreground); }
.tab.active { color: var(--foreground); border-bottom-color: var(--lime); }

.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.offer-col-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; }

.side-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #121212;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side-card-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 700; }
.side-card-sub { margin: 0; font-size: 13px; color: var(--muted-foreground); }

.side-card select.submit-input { appearance: none; }

.info-rows { display: flex; flex-direction: column; gap: 10px; }
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted-foreground);
}
.info-row strong { color: var(--foreground); font-weight: 600; }
.info-row .platforms { display: flex; gap: 6px; }

.scenario-step { margin: 14px 0 4px; font-size: 14px; font-weight: 700; }
.scenario p { margin: 0 0 10px; }
.scenario-screen { color: var(--muted-foreground); font-size: 14px; }

.materials { display: flex; flex-direction: column; gap: 8px; }
.material-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--foreground);
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.material-row:hover { background: rgba(255, 255, 255, 0.07); }
.material-row span:nth-child(2) { flex: 1; }
.material-row .icon:last-child { color: var(--muted-foreground); }

/* Статусы */
.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.st-approved { background: rgba(34, 197, 94, 0.14); color: #6ee7a0; border: 1px solid rgba(34, 197, 94, 0.35); }
.st-pending { background: rgba(250, 204, 21, 0.12); color: #fde68a; border: 1px solid rgba(250, 204, 21, 0.35); }
.st-rejected { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.35); }

/* ===== Дашборд ===== */

.verify-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(212, 247, 21, 0.45);
  background: radial-gradient(500px 120px at 15% 0%, rgba(212, 247, 21, 0.12), transparent 70%), #101010;
  color: var(--foreground);
  text-decoration: none;
  margin-bottom: 18px;
}
.verify-banner-icon { color: var(--lime); display: inline-flex; }
.verify-banner-text { display: flex; flex-direction: column; gap: 2px; }
.verify-banner-text strong { font-size: 15px; }
.verify-banner-text span { font-size: 13px; color: var(--muted-foreground); }
.verify-banner-arrow { margin-left: auto; font-size: 26px; color: var(--muted-foreground); }
.verify-banner:hover { border-color: var(--lime); }

.period-row { display: flex; justify-content: flex-end; margin-bottom: 14px; }

.note-strip {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #101010;
  color: var(--muted-foreground);
  text-align: center;
  font-size: 14px;
  margin-bottom: 18px;
}

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

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #111;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), transparent 70%);
  opacity: 0.7;
}
.stat-card-label { font-size: 13px; color: var(--muted-foreground); }
.stat-card-value { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.stat-card-sub { font-size: 12px; color: var(--muted-foreground); }
.trend { color: #4ade80; font-weight: 600; }

.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }

.panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #111;
  padding: 20px;
  margin-bottom: 18px;
}
.charts-grid .panel, .stat-grid .panel { margin-bottom: 0; }
.panel-title { margin: 0; font-size: 15px; font-weight: 700; }
.panel-title.small { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); }
.panel-sub { margin: 4px 0 0; font-size: 12px; color: var(--muted-foreground); }

.chart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 180px;
  color: var(--muted-foreground);
  font-size: 14px;
  text-align: center;
}
.chart-empty.small { min-height: 70px; }

.funnel { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 18px 6px 6px; }
.funnel-step { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted-foreground); }
.funnel-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  color: var(--foreground);
  font-weight: 700;
}
.funnel-circle.red { border-color: #ef4444; }
.funnel-line { flex: 1; height: 1px; background: var(--border); }

.heatmap {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, 12px);
  gap: 3px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.heat-cell { width: 12px; height: 12px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); display: inline-block; }
.heat-1 { background: rgba(212, 247, 21, 0.3); }
.heat-2 { background: rgba(212, 247, 21, 0.6); }
.heat-3 { background: var(--lime); }
.heat-legend { display: flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 12px; color: var(--muted-foreground); }

/* ===== Мои ролики ===== */

.videos-list { display: flex; flex-direction: column; gap: 8px; }
.video-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.video-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.video-row-link {
  color: var(--foreground);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.video-row-link:hover { color: var(--lime); }
.video-row-offer { font-size: 12px; color: var(--muted-foreground); }
.video-row-views, .video-row-earned { font-size: 13px; font-weight: 600; white-space: nowrap; }
.video-row-earned { color: var(--lime); }

/* ===== Топ ===== */

.top-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.top-head-note { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted-foreground); font-size: 14px; }

.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.leader-card { text-decoration: none; color: inherit; margin-bottom: 0; transition: border-color 0.15s ease; }
.leader-card:hover { border-color: rgba(212, 247, 21, 0.5); }
.leader-body { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.leader-nums { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.leader-nums strong { font-size: 18px; }
.leader-nums span { font-size: 13px; color: var(--muted-foreground); }
.leader-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-foreground);
  flex: none;
}

.top-legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted-foreground); margin-bottom: 6px; }
.top-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }

.top-list { display: flex; flex-direction: column; gap: 8px; }
.top-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-decoration: none;
}
.top-row.leader { border-color: rgba(212, 247, 21, 0.4); }
.top-row.leader:hover { border-color: var(--lime); }

.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-foreground);
  flex: none;
}
.rank-1 { background: #f5c542; color: #171717; }
.rank-2 { background: #c0c7d1; color: #171717; }
.rank-3 { background: #d08a4e; color: #171717; }

.top-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.top-row-name {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-row-sub { font-size: 12px; color: var(--muted-foreground); }
.verified { color: var(--lime); display: inline-flex; }

.top-bar { flex: 1; max-width: 380px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.top-bar-fill { height: 100%; border-radius: 999px; background: #f472b6; }
.top-row-views { font-size: 14px; font-weight: 700; white-space: nowrap; min-width: 72px; text-align: right; }

.leader-profile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 36px 24px; }
.leader-profile .stat-grid { width: 100%; max-width: 640px; }
.leader-profile .videos-list { width: 100%; max-width: 640px; }
.small-note { padding: 16px 0 0; font-size: 12px; }

@media (max-width: 1100px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-col-side { position: static; }
  .stat-grid, .stat-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .charts-grid, .leader-grid { grid-template-columns: 1fr; }
}

/* ===== Баланс и выплаты ===== */

.withdraw-btn { width: auto; padding: 0 24px; border-radius: 12px; margin-bottom: 22px; }

.section-title { margin: 0 0 12px; font-size: 16px; font-weight: 700; }

.modal-overlay[hidden] { display: none; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal {
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #161616;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}

.modal-head { display: flex; align-items: center; justify-content: space-between; }
.modal-close { font-size: 14px; }

.method-group { display: flex; flex-direction: column; gap: 8px; }

.method-option { display: block; cursor: pointer; }
.method-option input { position: absolute; opacity: 0; pointer-events: none; }

.method-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.method-body strong { font-size: 14px; }
.method-body small { font-size: 12px; color: var(--muted-foreground); }
.method-option:hover .method-body { background: rgba(255, 255, 255, 0.06); }
.method-option input:checked + .method-body {
  border-color: var(--lime);
  background: rgba(212, 247, 21, 0.08);
}
.method-option input:focus-visible + .method-body { border-color: rgba(255, 255, 255, 0.4); }

/* ===== Поддержка ===== */

.submit-textarea { height: 120px; padding: 10px 14px; resize: vertical; font-family: inherit; }

.ticket { border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,0.02); margin-bottom: 8px; }
.ticket-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}
.ticket-summary::-webkit-details-marker { display: none; }
.ticket-body { padding: 0 16px 14px 56px; color: rgba(255,255,255,0.82); font-size: 14px; line-height: 1.6; }
.ticket-body p { margin: 0 0 8px; white-space: pre-wrap; }
.ticket-reply { padding: 10px 12px; border-radius: 10px; background: rgba(212,247,21,0.06); border: 1px solid rgba(212,247,21,0.2); }

/* ===== Профиль ===== */

.profile-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 18px; align-items: start; }
.profile-main { min-width: 0; }
.profile-side { position: sticky; top: 84px; }

.profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.avatar-xl { width: 72px; height: 72px; font-size: 30px; flex: none; }
.profile-id { display: flex; flex-direction: column; gap: 4px; }
.profile-chips { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.profile-edit-btn { width: auto; padding: 0 20px; margin-left: auto; }
.profile-edit-form { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }

.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.pay-grid .panel { margin-bottom: 0; display: flex; flex-direction: column; gap: 8px; }
.pay-grid [data-pay] { display: flex; flex-direction: column; gap: 8px; }

.bank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 10px 0 14px; }
.bank-grid > div { display: flex; flex-direction: column; gap: 6px; }

.crypto-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.crypto-row { display: flex; align-items: flex-end; gap: 10px; }
.crypto-field { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.crypto-add { width: auto; padding: 0 18px; flex: none; }

.tg-panel { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.tg-info { display: flex; align-items: center; gap: 12px; }
.tg-info .icon { color: #29a9eb; }
.tg-info div { display: flex; flex-direction: column; gap: 2px; }
.tg-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Тумблеры уведомлений */
.notify-head, .notify-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.notify-head { color: var(--muted-foreground); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 12px; }
.notify-row:last-child { border-bottom: none; }
.notify-cells { display: flex; gap: 22px; align-items: center; width: 164px; justify-content: flex-end; }
.notify-head .notify-cells { color: var(--muted-foreground); }

.switch {
  appearance: none;
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background-color 0.15s ease;
  flex: none;
}
.switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d9d9d9;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.switch:checked { background: var(--lime); }
.switch:checked::after { transform: translateX(18px); background: #111; }

/* Опасная зона */
.danger-zone { border-color: rgba(239, 68, 68, 0.4); }
.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.45);
  width: auto;
  padding: 0 22px;
  margin-top: 12px;
}
.btn-danger:hover { background: rgba(239, 68, 68, 0.25); }

@media (max-width: 1100px) {
  .profile-grid, .pay-grid, .bank-grid { grid-template-columns: 1fr; }
  .profile-side { position: static; }
}

/* ===== Меню в шапке: колокольчик и аватар ===== */

.menu-wrap { position: relative; }

.user-btn {
  background: none;
  border: none;
  padding: 4px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--foreground);
  font: inherit;
}
.user-btn:hover { background: rgba(255, 255, 255, 0.06); }

.bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-foreground);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#bellBtn { position: relative; }

.head-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #1a1a1a;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6);
  padding: 8px;
}

.user-menu { min-width: 210px; display: flex; flex-direction: column; gap: 4px; }

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  background: none;
  color: var(--foreground);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.user-menu-item:hover { background: rgba(255, 255, 255, 0.07); }
.user-menu-item.primary { background: rgba(255, 255, 255, 0.06); }
.user-menu-item.primary:hover { background: rgba(255, 255, 255, 0.1); }

.bell-menu {
  width: 360px;
  max-height: 440px;
  overflow-y: auto;
}
.head-menu-title {
  padding: 10px 12px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ntf {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  margin-bottom: 4px;
}
.ntf.unread { background: rgba(212, 247, 21, 0.06); border-color: rgba(212, 247, 21, 0.25); }
.ntf strong { font-size: 14px; display: block; margin-bottom: 6px; }
.ntf p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  white-space: pre-wrap;
}
.ntf-date { font-size: 11px; color: var(--muted-foreground); }
.ntf-empty { padding: 28px 12px; text-align: center; color: var(--muted-foreground); font-size: 14px; }

@media (max-width: 600px) {
  .bell-menu { width: calc(100vw - 48px); }
}

/* ===== Кабинет бренда ===== */

.stat-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.mini-chart { width: 100%; height: 170px; margin-top: 12px; display: block; }

.modal-wide { max-width: 560px; }

@media (max-width: 1100px) {
  .stat-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== Документация ===== */

.docs-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 90px 20px 60px;
}

.docs-col { width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 16px; }

.docs-title { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.docs-intro { margin: 0 0 6px; color: var(--muted-foreground); font-size: 16px; line-height: 1.6; }

.docs-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #111;
  padding: 22px 24px;
}
.docs-card h2 { margin: 0 0 10px; font-size: 18px; }
.docs-card p { margin: 0 0 10px; line-height: 1.65; color: rgba(255, 255, 255, 0.85); }
.docs-card ul { margin: 0; padding-left: 20px; color: rgba(255, 255, 255, 0.85); line-height: 1.7; }
.docs-card li { margin: 6px 0; }

.docs-foot { color: var(--muted-foreground); }
.docs-foot a { color: var(--lime); }
.docs-page .btn-pill { align-self: flex-start; }

/* Окно «Закрытое тестирование» (пополнение баланса бренда) */
.modal-beta {
  position: relative;
  align-items: flex-start;
  gap: 14px;
  max-width: 480px;
  padding: 28px;
}
.beta-close { position: absolute; top: 16px; right: 16px; border: none; }
.beta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(212, 247, 21, 0.14);
  color: var(--lime);
}
.beta-title { margin: 4px 0 0; font-size: 24px; font-weight: 700; }
.beta-text { margin: 0; color: var(--muted-foreground); font-size: 15px; line-height: 1.6; }
.modal-beta .btn-pill { align-self: center; margin-top: 8px; }
.beta-contact {
  align-self: center;
  color: var(--muted-foreground);
  font-size: 13px;
  text-decoration: none;
}
.beta-contact:hover { color: var(--lime); }
