/* Зарница VPN — приложение.
   Образ: летняя ночь, над горизонтом беззвучно вспыхивает зарница.
   Ночь — фон, вспышка — единственный тёплый акцент: им отмечено главное действие и срок подписки. */

@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded.woff") format("woff");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("fonts/golos.woff") format("woff");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --night: #0F1838;
  --dusk: #2B2352;
  --field: #090E22;
  --flash: #FFC46B;
  --flash-soft: #FFF1D6;
  --mist: #A9B3D6;
  --text: #EEF1FB;
  --ok: #7FD8B5;
  --warn: #FF9580;
  --line: rgba(169, 179, 214, 0.16);
  --panel: rgba(23, 32, 72, 0.72);
  --panel-solid: #151F45;

  --display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-5: 4.5rem;

  --gutter: 20px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--field);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input { font: inherit; color: inherit; }
a { color: var(--flash-soft); }

.app {
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--night) 0, var(--field) 62%);
  position: relative;
  overflow-x: hidden;
}

/* ---------- Небо и горизонт ---------- */
.sky {
  position: relative;
  padding: calc(var(--safe-top) + 16px) var(--gutter) 0;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(43, 35, 82, 0.0) 0, transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--dusk) 100%);
  overflow: hidden;
  isolation: isolate;
}
.sky--splash { height: 100dvh; display: block; }
.sky--login { min-height: 46dvh; display: flex; flex-direction: column; }
.sky--home { padding-bottom: 0; }

.flash {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 140%;
  aspect-ratio: 2.4 / 1;
  transform: translate(-50%, 50%);
  background: radial-gradient(closest-side, rgba(255, 196, 107, 0.55), rgba(255, 196, 107, 0.16) 45%, transparent 75%);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
.sky.is-dim .flash { opacity: 0.18; filter: saturate(0.4); }

/* Мерцающие звёзды на небе */
.stars { position: absolute; left: 0; right: 0; top: 0; height: 100%; z-index: -1; pointer-events: none; overflow: hidden; }
.stars span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--flash-soft);
  box-shadow: 0 0 6px rgba(255, 241, 214, 0.9);
  opacity: 0.5;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.2); }
}
.sky.is-dim .stars { opacity: 0.5; }
.sky.flashing .flash { animation: flash 1.6s ease-out 1; }
@keyframes flash {
  0% { opacity: 0.55; }
  8% { opacity: 1; filter: brightness(1.6); }
  16% { opacity: 0.5; }
  24% { opacity: 0.9; filter: brightness(1.3); }
  100% { opacity: 0.55; filter: none; }
}

.ground {
  display: block;
  width: calc(100% + 2 * var(--gutter));
  height: 56px;
  margin: 0 calc(-1 * var(--gutter));
  fill: var(--field);
}
.sky--splash .ground { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; width: 100%; height: 34%; }
.horizon-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 56px;
  overflow: visible;
  pointer-events: none;
}
.horizon-line path { fill: none; stroke-linecap: round; }
.horizon-line .track { stroke: rgba(169, 179, 214, 0.18); stroke-width: 1.5; }
.horizon-line .lit {
  stroke: var(--flash);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 6px rgba(255, 196, 107, 0.9));
  transition: stroke-dasharray 1.2s ease;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wordmark svg { width: 18px; height: 18px; color: var(--flash); }
.wordmark small { font-family: var(--body); font-weight: 500; color: var(--mist); font-size: var(--step--1); }

.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Статус на небе ---------- */
.status { padding: 28px 0 8px; }
.status__state {
  margin: 0;
  font-size: var(--step-0);
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.status__state::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.status__state.is-active { color: var(--ok); }
.status__state.is-expired { color: var(--warn); }
.status__state.is-waiting { color: var(--flash); }
.status__days {
  display: flex; align-items: baseline; gap: 12px;
  margin: 6px 0 0;
}
.status__number {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--step-5);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--flash-soft);
  text-shadow: 0 0 32px rgba(255, 196, 107, 0.35);
  font-variant-numeric: tabular-nums;
}
.status__unit { color: var(--mist); font-size: var(--step-1); line-height: 1.25; }
.status__date { margin: 8px 0 0; color: var(--mist); }

/* ---------- Кнопки ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 18px;
  font-weight: 650;
  font-size: var(--step-1);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn--flash {
  background: linear-gradient(180deg, #FFD592 0%, var(--flash) 100%);
  color: #2A1A00;
  box-shadow: 0 10px 30px -10px rgba(255, 196, 107, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  min-height: 48px;
  font-size: var(--step-0);
  border-radius: 14px;
}
.btn--quiet {
  background: none;
  color: var(--mist);
  min-height: 44px;
  font-size: var(--step-0);
  font-weight: 500;
}
.btn svg { width: 22px; height: 22px; flex: none; }

:focus-visible { outline: 2px solid var(--flash); outline-offset: 3px; }

/* ---------- Основная колонка ---------- */
.content { padding: 8px var(--gutter) calc(32px + var(--safe-bottom)); }
.connect { padding-top: 4px; }
.connect__other { margin-top: 6px; }
.apps {
  margin: 8px 0 0;
  padding: 6px;
  list-style: none;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.apps[hidden] { display: none; }
.apps a, .apps button {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 0; border-radius: 12px;
  background: none;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}
.apps a:hover, .apps button:hover { background: rgba(255, 255, 255, 0.05); }
.apps small { color: var(--mist); font-weight: 400; }
.hint { margin: 10px 2px 0; color: var(--mist); font-size: var(--step--1); }
.hint a { color: var(--flash-soft); }

.section { margin-top: 32px; }
.section__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
  margin-bottom: 12px;
}
.section__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--step-1);
  letter-spacing: 0;
}
.section__aside { color: var(--mist); font-size: var(--step--1); white-space: nowrap; }

/* Устройства: ячейки по лимиту, свободные — пунктиром */
.slots { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.slot {
  display: flex; align-items: center; gap: 12px;
  min-height: 64px;
  padding: 10px 8px 10px 14px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.slot--free {
  background: none;
  border: 1.5px dashed rgba(169, 179, 214, 0.28);
  color: var(--mist);
}
.slot__icon {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--flash-soft);
}
.slot--free .slot__icon { background: none; color: var(--mist); }
.slot__icon svg { width: 20px; height: 20px; }
.slot__body { flex: 1; min-width: 0; }
.slot__title { margin: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot__meta { margin: 0; color: var(--mist); font-size: var(--step--1); }
.slot__remove {
  border: 0; background: none; color: var(--mist);
  min-width: 44px; min-height: 44px;
  border-radius: 12px; cursor: pointer;
  font-size: var(--step--1); font-weight: 600;
}
.slot__remove:hover { color: var(--warn); background: rgba(255, 149, 128, 0.08); }
.slot__remove.is-confirm { color: var(--warn); padding: 0 10px; }

/* Код доступа */
.code {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 16px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.code__value {
  flex: 1;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.code__value.is-hidden { color: var(--mist); letter-spacing: 0.12em; }

/* Друзья: пять огоньков на горизонте */
.friends {
  padding: 18px 16px 16px;
  border-radius: 20px;
  background:
    radial-gradient(90% 120% at 100% 100%, rgba(255, 196, 107, 0.14), transparent 60%),
    var(--panel-solid);
  border: 1px solid var(--line);
}
.friends p { margin: 0; }
.friends__lead { font-weight: 600; font-size: var(--step-1); line-height: 1.3; }
.friends__sub { margin-top: 6px !important; color: var(--mist); font-size: var(--step--1); }
.lights { display: flex; gap: 10px; margin: 16px 0 14px; padding: 0; list-style: none; }
.lights li {
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(169, 179, 214, 0.18);
}
.lights li.on { background: var(--flash); box-shadow: 0 0 12px rgba(255, 196, 107, 0.8); }

/* Тарифы */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.plan {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  min-height: 76px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: left;
  cursor: pointer;
}
.plan:hover { border-color: rgba(255, 196, 107, 0.5); }
.plan__title { font-weight: 600; }
.plan__price { font-family: var(--display); font-weight: 600; font-size: var(--step-1); color: var(--flash-soft); }
.plan__save { color: var(--ok); font-size: var(--step--1); }

.footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px;
  margin-top: 36px; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.footer a, .footer button {
  display: inline-flex; align-items: center;
  border: 0; background: none; color: var(--mist);
  font-size: var(--step--1); text-decoration: none;
  min-height: 44px; padding: 0 4px; cursor: pointer;
}

/* Установка на экран */
.install {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px;
  padding: 12px 12px 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--mist);
}
.install p { margin: 0; flex: 1; }
.install strong { color: var(--text); font-weight: 600; }
.install .btn { width: auto; min-height: 40px; font-size: var(--step--1); padding: 0 14px; }

/* ---------- Вход ---------- */
.login-head { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 28px; }
.login-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 12ch;
}
.login-lead { margin: 12px 0 0; color: var(--mist); max-width: 34ch; }
.field { display: block; margin-top: 8px; }
.field__label { display: block; margin-bottom: 8px; font-weight: 600; }
.field__input {
  width: 100%;
  min-height: 60px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(169, 179, 214, 0.3);
  background: rgba(9, 14, 34, 0.6);
  font-family: var(--display);
  font-size: 1.0625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  outline: none;
}
.field__input::placeholder { color: rgba(169, 179, 214, 0.45); letter-spacing: 0.08em; }
.field__input:focus { border-color: var(--flash); box-shadow: 0 0 0 4px rgba(255, 196, 107, 0.15); }
.field__error { min-height: 1.5em; margin: 8px 2px 0; color: var(--warn); font-size: var(--step--1); }
.login-form .btn--flash { margin-top: 8px; }
.login-alt { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.login-alt p { margin: 0 0 10px; color: var(--mist); }

/* ---------- Меню-шторка ---------- */
.sheet-backdrop {
  position: fixed; inset: 0;
  background: rgba(5, 8, 20, 0.6);
  backdrop-filter: blur(3px);
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 20;
}
.sheet {
  width: 100%; max-width: 480px;
  padding: 10px 12px calc(16px + var(--safe-bottom));
  border-radius: 24px 24px 0 0;
  background: var(--panel-solid);
  border-top: 1px solid var(--line);
  animation: rise 0.22s ease-out;
}
.sheet__grip { width: 40px; height: 4px; margin: 0 auto 10px; border-radius: 2px; background: rgba(169, 179, 214, 0.3); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Уведомление ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--safe-bottom));
  transform: translate(-50%, 20px);
  max-width: calc(100% - 40px);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--flash-soft);
  color: #2A1A00;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.notice {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 196, 107, 0.1);
  border: 1px solid rgba(255, 196, 107, 0.25);
  color: var(--flash-soft);
  font-size: var(--step--1);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@media (min-width: 520px) {
  body { background: radial-gradient(80% 60% at 50% 0%, #1A2350, var(--field)); }
  .app { box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, 0.5); }
}

@media (prefers-reduced-motion: reduce) {
  .sky.flashing .flash, .sheet, .stars span { animation: none; }
  .stars span { opacity: 0.5; }
  .horizon-line .lit, .btn, .toast { transition: none; }
}

/* ---------- Талисман ---------- */
/* Гепард по центру неба, над сроком подписки */
.hero-mascot {
  display: block;
  width: 136px;
  height: 136px;
  margin: 4px auto 0;
  filter: drop-shadow(0 10px 18px rgba(4, 7, 22, 0.55));
  animation: bob 5s ease-in-out infinite;
}
.status--center { text-align: center; padding-top: 6px; }
.status--center .status__state { justify-content: center; }
.status--center .status__days { justify-content: center; }
.login-head--center { align-items: center; text-align: center; padding-bottom: 24px; }
.login-head--center .login-title { max-width: none; }
.login-head--center .login-lead { margin-left: auto; margin-right: auto; }
.login-head--center .hero-mascot { margin-bottom: 12px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Приветствие (открыли из бота) ---------- */
.sky--welcome { padding-bottom: 0; }
.welcome { display: grid; justify-items: center; text-align: center; padding: 6px 0 18px; }
.welcome__mascot { width: 200px; height: 200px; filter: drop-shadow(0 12px 22px rgba(4, 7, 22, 0.55)); animation: bob 5s ease-in-out infinite; }
.welcome .login-title { max-width: none; margin-top: 6px; }
.welcome .login-lead { margin-left: auto; margin-right: auto; }
.perks { list-style: none; margin: 24px 0 8px; padding: 0; display: grid; gap: 10px; }
.perks li { display: flex; align-items: center; gap: 12px; color: var(--text); }
.perks svg { width: 22px; height: 22px; flex: none; color: var(--flash); }
.hint--center { text-align: center; }
.notice--demo { margin: 0 0 14px; }

/* ---------- Тарифы: цена в звёздах ---------- */
.plan__alt { color: var(--mist); font-size: var(--step--1); }

/* ---------- Содержимое шторок ---------- */
.sheet { display: grid; gap: 10px; }
.sheet__title { margin: 0; font-family: var(--display); font-weight: 500; font-size: var(--step-1); line-height: 1.3; }
.sheet__text { margin: 4px 0 0; color: var(--mist); font-size: var(--step--1); }
.sheet__head { display: flex; gap: 12px; align-items: flex-start; padding: 4px 4px 0; }
.sheet__head > svg { width: 28px; height: 28px; flex: none; color: var(--ok); }
.sheet__list { display: grid; }
.sheet__list button {
  display: block; width: 100%; min-height: 52px; padding: 0 14px;
  border: 0; border-radius: 14px; background: none; text-align: left;
  color: var(--text); cursor: pointer;
}
.sheet__list button:hover { background: rgba(255, 255, 255, 0.05); }
.sheet__list .is-danger { color: var(--warn); }
.sheet .btn--ghost, .sheet .btn--flash, .sheet .btn--quiet { margin: 0; }

.invoice { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 6px 4px 8px; }
.invoice__pic { width: 96px; height: 96px; }
.invoice__sum { margin: 8px 0 2px; font-family: var(--display); font-weight: 700; font-size: 2rem; color: var(--flash-soft); }

.fake-app {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: rgba(9, 14, 34, 0.7);
}
.fake-app__bar { display: flex; justify-content: space-between; padding: 12px 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
.fake-app__on { color: var(--ok); font-size: var(--step--1); }
.fake-app__row { display: flex; justify-content: space-between; padding: 10px 14px; color: var(--mist); font-size: var(--step--1); }
.fake-app__row + .fake-app__row { border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  .hero-mascot, .welcome__mascot { animation: none; }
}

.linklike { border: 0; padding: 0; background: none; color: var(--flash-soft); text-decoration: underline; font: inherit; cursor: pointer; }

/* ---------- Личная ссылка и шаги подключения ---------- */
.link-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 16px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.link-row__value {
  flex: 1; min-width: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--flash-soft);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.steps { counter-reset: step; display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps li::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--display); font-weight: 600; font-size: 0.85rem;
  background: rgba(255, 196, 107, 0.16);
  color: var(--flash-soft);
  border: 1px solid rgba(255, 196, 107, 0.35);
}
.steps b { font-weight: 600; }
.steps small { display: block; margin-top: 2px; color: var(--mist); font-size: var(--step--1); }
.steps a { color: var(--flash-soft); }
.connect__sub { margin: 10px 2px 0; text-align: center; color: var(--mist); font-size: var(--step--1); }

.code-mini {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 12px; color: var(--mist); font-size: var(--step--1);
}
.code-mini code { font-family: var(--display); letter-spacing: 0.06em; color: var(--text); }
.code-mini .icon-btn { width: 36px; height: 36px; border-radius: 10px; }
.code-mini .icon-btn svg { width: 18px; height: 18px; }

/* ---------- Трафик за месяц ---------- */
.meter {
  height: 12px;
  border-radius: 999px;
  background: rgba(169, 179, 214, 0.16);
  overflow: hidden;
}
.meter__bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ok), #B6EBD5);
  transition: width 0.8s ease;
}
.meter.is-high .meter__bar { background: linear-gradient(90deg, var(--flash), #FFE0A8); }
.meter.is-over .meter__bar { background: linear-gradient(90deg, var(--warn), #FFC2B6); }

/* ---------- Документы внизу ---------- */
.legal-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px;
  margin-top: 4px;
}
.legal-links button {
  border: 0; background: none; cursor: pointer;
  min-height: 36px; padding: 0 2px;
  color: rgba(169, 179, 214, 0.75);
  font-size: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent { margin-top: 6px; font-size: 0.75rem; }
.consent .linklike { color: var(--mist); }
@media (prefers-reduced-motion: reduce) { .meter__bar { transition: none; } }

/* ---------- Админка ---------- */
.admin { padding: calc(var(--safe-top) + 12px) var(--gutter) calc(32px + var(--safe-bottom)); }
.admin__bar { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.admin__title { margin: 0; flex: 1; font-family: var(--display); font-weight: 600; font-size: 1.375rem; }
.admin__badge {
  padding: 4px 10px; border-radius: 999px; font-size: 0.75rem;
  color: var(--flash-soft); background: rgba(255, 196, 107, 0.12); border: 1px solid rgba(255, 196, 107, 0.3);
}
.admin__body { margin-top: 16px; }
.admin-entry { margin-top: 24px; }

.tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  margin-top: 12px; padding: 4px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--line);
}
.tabs__btn {
  min-height: 40px; border: 0; border-radius: 10px; background: none;
  color: var(--mist); font-weight: 600; font-size: 0.875rem; cursor: pointer;
}
.tabs__btn.is-on { background: rgba(255, 196, 107, 0.16); color: var(--flash-soft); }

.stat-grid, .srv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.srv-grid { margin: 16px 0; }
.stat {
  display: flex; flex-direction: column; gap: 2px;
  min-height: 82px; padding: 12px 14px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line);
}
.stat__n { font-family: var(--display); font-weight: 600; font-size: 1.375rem; color: var(--flash-soft); line-height: 1.2; }
.stat__l { color: var(--mist); font-size: 0.78rem; line-height: 1.3; }
.stat--trial .stat__n { color: #9FD0FF; }
.stat--paid .stat__n { color: var(--ok); }
.stat--off .stat__n { color: var(--warn); }

.admin-search { margin: 0 0 10px; }
.field__input--plain { text-transform: none; letter-spacing: 0; font-family: var(--body); min-height: 50px; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: none; color: var(--mist); font-size: 0.85rem; font-weight: 600;
}
.chip.is-on { color: #2A1A00; background: var(--flash); border-color: var(--flash); }

.users { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.user {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center;
  padding: 12px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
}
.user__main { min-width: 0; }
.user__name { margin: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user__id {
  margin-top: 2px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--mist); font-size: 0.78rem; font-variant-numeric: tabular-nums; text-decoration: underline dotted;
}
.user__meta { grid-column: 1 / -1; margin: 0; color: var(--mist); font-size: 0.78rem; }
.pill { padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.pill--paid { color: #0E2A20; background: var(--ok); }
.pill--trial { color: #0D2140; background: #9FD0FF; }
.pill--off { color: var(--warn); background: rgba(255, 149, 128, 0.12); }
.pill--none { color: var(--mist); background: rgba(169, 179, 214, 0.12); }

.srv-status {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  padding: 14px 16px; border-radius: 16px; font-weight: 700; font-size: 1.0625rem;
  background: var(--panel); border: 1px solid var(--line);
}
.srv-status__dot { width: 12px; height: 12px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.srv-status.is-ok { color: var(--ok); }
.srv-status.is-high { color: var(--flash); }
.srv-status.is-over { color: var(--warn); }
.srv-row { margin-bottom: 14px; }
.srv-row__head { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.875rem; }
.srv-row__head span:last-child { color: var(--mist); }
.srv-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.875rem; }
.srv-checks li { padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.srv-checks .is-over { color: var(--warn); }
.field__input--plain::placeholder { letter-spacing: 0; text-transform: none; }

/* ---------- Плитки: сервер, устройства, ссылка, код ---------- */
.tiles {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  margin-top: 24px;
}
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  min-height: 92px; padding: 12px 14px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text); font: inherit; text-align: left;
}
button.tile { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button.tile:active { transform: scale(0.98); }
button.tile:focus-visible { outline: 2px solid var(--flash); outline-offset: 2px; }
.tile__label { color: var(--mist); font-size: var(--step--1); line-height: 1.25; }
.tile__value {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: var(--step-0); line-height: 1.25;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tile__value svg { width: 18px; height: 18px; flex: none; color: var(--flash-soft); }
.tile__code { font-family: var(--display); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--flash-soft); }
.tile__meta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  color: var(--mist); font-size: 0.75rem; line-height: 1.2;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tile__meta svg { width: 14px; height: 14px; }
button.tile[aria-expanded="true"] .tile__meta svg { transform: rotate(180deg); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(127, 216, 181, 0.18); }
.dot--wait { background: var(--flash); box-shadow: 0 0 0 3px rgba(255, 196, 107, 0.18); }
.slots--drop { margin-top: 8px; }
[hidden] { display: none !important; }
.tile__code { white-space: normal; overflow: visible; word-break: break-all; line-height: 1.35; }
.steps__extra {
  margin: 14px 0 0; padding: 12px 14px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  color: var(--mist); font-size: var(--step--1); line-height: 1.45;
}
.steps__extra b { display: block; margin-bottom: 2px; color: var(--text); font-weight: 600; }
.tile--key { border-color: rgba(255, 196, 107, 0.45); background: linear-gradient(160deg, rgba(255, 196, 107, 0.12), var(--panel) 60%); }
.tile--key .tile__meta { color: var(--flash-soft); }

/* ---------- Друзья: 50 ₽ за каждого оплатившего, вывод от 500 ₽ ---------- */
.friends__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.friends__bal { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.friends__bal span { font-family: var(--display); font-weight: 600; font-size: var(--step-2); color: var(--flash); line-height: 1.1; }
.friends__bal small { color: var(--mist); font-size: 0.75rem; }
.ladder {
  display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px;
  margin: 16px 0 10px; padding: 0; list-style: none;
}
.ladder li { height: 10px; border-radius: 5px; background: rgba(169, 179, 214, 0.18); }
.ladder li.on {
  background: linear-gradient(90deg, var(--flash), #FFD98F);
  box-shadow: 0 0 10px rgba(255, 196, 107, 0.55);
}
.ladder li.new { animation: ladder-lit 0.9s ease-out; }
@keyframes ladder-lit {
  0% { transform: scaleY(0.4); opacity: 0.2; box-shadow: none; }
  50% { transform: scaleY(1.5); opacity: 1; box-shadow: 0 0 18px rgba(255, 196, 107, 0.95); }
  100% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) { .ladder li.new { animation: none; } }
.friends__stats {
  display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px;
  color: var(--mist); font-size: var(--step--1);
}
.friends__stats b { color: var(--text); font-weight: 600; }
.friends__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.friends__actions .btn { min-height: 48px; padding: 0 10px; font-size: var(--step--1); }
.friends__actions .btn[disabled] { opacity: 0.55; cursor: default; }
.friends__note { margin-top: 10px !important; color: var(--mist); font-size: 0.75rem; }
/* Три шага: пригласил → друг оплатил → вывод */
.refsteps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  margin: 16px 0 0; padding: 0; list-style: none; counter-reset: none;
}
.refsteps li {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 10px 4px 9px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
}
.refsteps li:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; right: -6px; width: 6px; height: 2px; background: var(--line);
}
.refsteps__n {
  display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 6px; border-radius: 50%;
  font-family: var(--display); font-weight: 600; font-size: 0.8125rem;
  color: var(--mist); background: rgba(169, 179, 214, 0.12);
}
.refsteps__n svg { width: 15px; height: 15px; stroke-width: 2.6; }
.refsteps b { font-size: 0.8125rem; font-weight: 600; line-height: 1.2; }
.refsteps small { margin-top: 2px; color: var(--mist); font-size: 0.6875rem; line-height: 1.25; }
.refsteps li.is-done { border-color: rgba(127, 216, 181, 0.35); background: rgba(127, 216, 181, 0.07); }
.refsteps li.is-done .refsteps__n { color: #0B1430; background: var(--ok); }
.refsteps li.is-done:not(:last-child)::after { background: rgba(127, 216, 181, 0.55); }
.refsteps li.is-now { border-color: rgba(255, 196, 107, 0.55); background: rgba(255, 196, 107, 0.08); }
.refsteps li.is-now .refsteps__n { color: #0B1430; background: var(--flash); box-shadow: 0 0 0 4px rgba(255, 196, 107, 0.18); }
/* Яркая плашка «на карту или по СБП» */
.payway {
  display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px;
  border-radius: 14px; border: 1px solid rgba(255, 196, 107, 0.55);
  background: linear-gradient(120deg, rgba(255, 196, 107, 0.2), rgba(255, 196, 107, 0.05) 70%);
}
.payway > svg { width: 26px; height: 26px; flex: none; color: var(--flash); }
.payway span { display: flex; flex-direction: column; min-width: 0; }
.payway b { color: var(--flash-soft); font-weight: 600; font-size: 0.9375rem; line-height: 1.25; }
.payway small { color: var(--mist); font-size: 0.75rem; }
.payway--sheet { margin: 0; }
.friends__actions .btn.is-locked { color: var(--mist); }
.friends__actions .btn svg { width: 18px; height: 18px; }
.sheet__head--lock > svg { color: var(--mist); }
.sheet__head--money > svg { color: var(--flash); }

/* ---------- Вкладки снизу: VPN · Друзья · Тарифы ---------- */
.tabbar {
  position: fixed; z-index: 15; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 6px 8px calc(6px + var(--safe-bottom));
  background: rgba(9, 14, 34, 0.88);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.tabbar__btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  min-height: 52px; padding: 6px 4px 4px; border: 0; border-radius: 14px;
  background: none; color: var(--mist); cursor: pointer;
}
.tabbar__btn.is-on { color: var(--flash); }
.tabbar__btn.is-on .tabbar__icon::after {
  content: ""; position: absolute; inset: -5px -14px; z-index: -1; border-radius: 12px;
  background: rgba(255, 196, 107, 0.13);
}
.tabbar__icon { position: relative; display: grid; place-items: center; isolation: isolate; }
.tabbar__icon svg { width: 24px; height: 24px; }
.tabbar__label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.01em; }
.tabbar__badge {
  position: absolute; top: -7px; left: 15px;
  padding: 1px 6px; border-radius: 999px;
  background: var(--flash); color: #0B1430;
  font-style: normal; font-size: 0.625rem; font-weight: 700; line-height: 1.5; white-space: nowrap;
  box-shadow: 0 0 0 2px var(--field), 0 0 12px rgba(255, 196, 107, 0.6);
}
.tabbar-space { height: calc(72px + var(--safe-bottom)); }
/* уведомления — над вкладками, а не поверх них */
body:has(.tabbar) .toast { bottom: calc(84px + var(--safe-bottom)); }
.content:has(.tabbar-space) { padding-bottom: 0; }

/* Шапка вкладок «Друзья» и «Тарифы» — то же небо, без гепарда */
.sky--tab .tabhead { padding: 10px 0 0; }
.tabhead__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.75rem; line-height: 1.15; }
.tabhead__sub { margin: 6px 0 0; color: var(--mist); font-size: var(--step--1); }
.tabhead__warn { color: var(--warn); }
.sky--tab .ground { height: 40px; }
.content--tab { padding-top: 0; }
.content--tab > .section:first-of-type, .section--first { margin-top: 8px; }

/* Инструкция и «Другое приложение» — две тихие кнопки в ряд */
.connect__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; margin-top: 6px; }
.connect__more .btn { width: auto; min-height: 44px; padding: 0 2px; gap: 6px; font-size: 0.875rem; white-space: nowrap; }
.connect__more .btn svg { width: 16px; height: 16px; flex: none; }
.connect__more .btn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Золотая полоска на главной — ведёт во вкладку «Друзья» */
.promo {
  display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 14px;
  border: 1px solid rgba(255, 196, 107, 0.5); border-radius: 18px; cursor: pointer; text-align: left;
  background: linear-gradient(120deg, rgba(255, 196, 107, 0.2), rgba(255, 196, 107, 0.04) 75%);
  color: var(--text);
}
.promo__icon {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--flash); color: #0B1430;
}
.promo__icon svg { width: 24px; height: 24px; }
.promo__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.promo__text b { font-weight: 600; font-size: 0.9375rem; line-height: 1.3; color: var(--flash-soft); }
.promo__text small { margin-top: 2px; color: var(--mist); font-size: 0.75rem; }
.promo__go { flex: none; color: var(--flash); }
.promo__go svg { width: 20px; height: 20px; transform: rotate(180deg); }

/* Главная: гепард и срок подписки в один ряд — плитки и «Друзья» видны сразу */
.hero-row { display: flex; align-items: center; gap: 16px; padding: 10px 0 4px; }
.hero-row .hero-mascot { width: 104px; height: 104px; margin: 0; flex: none; }
.status--row { padding: 0; min-width: 0; }
.status--row .status__days { margin-top: 2px; gap: 10px; align-items: center; }
.status--row .status__number { font-size: 3.5rem; }
.status--row .status__unit { font-size: var(--step-0); }
.status--row .status__date { margin-top: 4px; font-size: var(--step--1); }

/* ---------- Подпишись на канал ---------- */
.gate { display: grid; gap: 10px; margin: 4px 0 16px; padding: 0; list-style: none; }
.gate li {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px;
  border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
}
.gate__n {
  display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--flash); color: #0B1430; font-family: var(--display); font-weight: 700;
}
.gate b { display: block; font-weight: 600; line-height: 1.3; }
.gate small { color: var(--mist); font-size: var(--step--1); }
.gate__check { margin-top: 10px; }

/* ---------- Инструкция «Как включить VPN»: 3 шага ---------- */
.guide {
  margin-top: 4px; padding: 18px 16px 14px;
  border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(43, 35, 82, 0.55), var(--panel) 40%);
}
.guide__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.guide__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.1875rem; line-height: 1.25; }
.guide__time { color: var(--mist); font-size: 0.75rem; }
.guide__steps { display: grid; gap: 0; margin: 14px 0 0; padding: 0; list-style: none; }
.guide__step { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.guide__step:last-child { padding-bottom: 4px; }
/* тонкая линия между номерами — видно, что шаги идут друг за другом */
.guide__step:not(:last-child)::before {
  content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; border-radius: 1px;
  background: linear-gradient(180deg, rgba(255, 196, 107, 0.55), rgba(255, 196, 107, 0.08));
}
.guide__n {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--flash); color: #0B1430;
  font-family: var(--display); font-weight: 700; font-size: 0.9375rem;
  box-shadow: 0 0 0 4px rgba(255, 196, 107, 0.16);
}
.guide__body { min-width: 0; flex: 1; padding-top: 3px; }
.guide__lead { margin: 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.guide__text { margin: 3px 0 0; color: var(--mist); font-size: 0.875rem; line-height: 1.45; }
.guide__text b { color: var(--text); }
.guide__note { margin: 8px 0 0; color: var(--mist); font-size: 0.75rem; }
.guide__copy { margin-top: 12px; min-height: 52px; font-size: 1.0625rem; }
.guide__copy.is-done { background: var(--ok); color: #0B1430; box-shadow: 0 0 0 4px rgba(127, 216, 181, 0.18); }
.guide__help {
  display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 0; padding: 11px 12px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.04); color: var(--mist); font-size: 0.8125rem; line-height: 1.4;
}
.guide__help svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--flash); }
.guide__fold { margin-top: 6px; min-height: 40px; font-size: 0.875rem; }
.guide__fold svg { width: 16px; height: 16px; transform: rotate(180deg); }

/* Кнопки приложений в шаге 1 */
.appchips { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-top: 10px; }
.appchip {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-height: 54px; padding: 6px 4px; border-radius: 14px; cursor: pointer;
  border: 1px solid rgba(169, 179, 214, 0.28); background: rgba(255, 255, 255, 0.05); color: var(--text);
}
.appchip b { font-weight: 700; font-size: 0.9375rem; }
.appchip small { color: var(--mist); font-size: 0.6875rem; }

/* Шаг 3: какие кнопки нажать — нарисованы как кнопки в приложении */
.flow { display: flex; align-items: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.flow__key {
  display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 0 11px;
  border-radius: 10px; border: 1px solid rgba(169, 179, 214, 0.35); background: rgba(255, 255, 255, 0.07);
  font-weight: 600; font-size: 0.8125rem; white-space: nowrap;
}
.flow__key svg { width: 15px; height: 15px; }
.flow__key--plus { min-width: 34px; justify-content: center; padding: 0; font-size: 1.125rem; color: var(--flash); border-color: rgba(255, 196, 107, 0.6); }
.flow__key--on { color: #0B1430; background: var(--ok); border-color: transparent; }
.flow__arrow { color: var(--mist); font-style: normal; font-size: 1.125rem; line-height: 1; }

/* Свёрнутая инструкция, когда VPN уже подключён */
.guide-done {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; cursor: pointer; text-align: left;
  border-radius: 18px; border: 1px solid rgba(127, 216, 181, 0.35); background: rgba(127, 216, 181, 0.07); color: var(--text);
}
.guide-done__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ok); color: #0B1430; }
.guide-done__icon svg { width: 20px; height: 20px; stroke-width: 2.6; }
.guide-done__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.guide-done__text b { font-weight: 700; }
.guide-done__text small { color: var(--mist); font-size: 0.8125rem; }
.guide-done > svg { width: 18px; height: 18px; flex: none; color: var(--mist); }

/* Отклик на нажатие — у всех кнопок и плиток */
.btn:active, .tile:active, .appchip:active, .promo:active, .guide-done:active, .tabbar__btn:active, .plan:active {
  transform: scale(0.97);
}
.btn, .tile, .appchip, .promo, .guide-done, .tabbar__btn, .plan { transition: transform 0.12s ease, background-color 0.2s ease; }
@media (prefers-reduced-motion: reduce) {
  .btn:active, .tile:active, .appchip:active, .promo:active, .guide-done:active, .tabbar__btn:active, .plan:active { transform: none; }
}
.welcome--gate .welcome__mascot { width: 112px; height: 112px; }
.welcome--gate .login-title { margin-top: 6px; }

/* ---------- Друзья: цель и сроки, которые открываются бонусами ---------- */
.goal { margin-top: 14px; padding: 12px 12px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.goal__title { margin: 0; color: var(--mist); font-size: 0.875rem; }
.goal__title b { color: var(--flash-soft); font-weight: 600; }
.goal .ladder { margin: 10px 0 8px; }
.goal .friends__sub { margin: 0; }
.unlocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.unlocks li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1px;
  padding: 9px 2px 8px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.unlocks__icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; margin-bottom: 3px;
  color: var(--mist); background: rgba(169, 179, 214, 0.12); }
.unlocks__icon svg { width: 13px; height: 13px; stroke-width: 2.4; }
.unlocks b { font-size: 0.75rem; font-weight: 700; line-height: 1.2; }
.unlocks small { color: var(--mist); font-size: 0.6875rem; line-height: 1.2; }
.unlocks li.is-on { border-color: rgba(255, 196, 107, 0.55); background: rgba(255, 196, 107, 0.1); }
.unlocks li.is-on .unlocks__icon { color: #0B1430; background: var(--flash); }
/* Окно «Оплатить VPN бонусами» */
.spend { display: grid; gap: 8px; }
.spend__row {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 16px;
  border-radius: 14px; border: 1px solid rgba(255, 196, 107, 0.55); background: rgba(255, 196, 107, 0.1);
  color: var(--text); cursor: pointer; font-size: 1rem;
}
.spend__row b { flex: 1; text-align: left; font-weight: 700; }
.spend__row span { color: var(--flash); font-weight: 700; }
.spend__row.is-locked { cursor: default; border-color: var(--line); background: rgba(255, 255, 255, 0.03); color: var(--mist); }
.spend__row.is-locked span { color: var(--mist); font-weight: 500; font-size: 0.875rem; }
.spend__row svg { width: 16px; height: 16px; flex: none; }
.spend__row:active { transform: scale(0.98); }
