/* Личный кабинет «нормального VPN» — стили по макету «Кабинет.dc.html» (Claude Design, проект
   «Cabinet redesign animation demo», 17.10.2026). Токены и keyframes перенесены 1:1, инлайн-стили
   макета — в классы. Анимируются только transform и opacity: blur/backdrop-filter на части телефонов
   гасят текст и мигают экраном. */

/* Иконки — свой сабсет Material Symbols (62 штуки), отдельно от fonts.css лендинга. Имя файла МЕНЯТЬ
   при пересборке: /site/fonts отдаётся с долгим кэшем. Список и рецепт — в README рядом с кабинетом
   (раздел «Иконки кабинета»). */
@font-face {
  font-family: 'NV Symbols';
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url(fonts/msc-1.woff2) format('woff2');
}

:root {
  --bg-0: #0c0818; --bg-1: #1d123a; --violet: #7b52e8; --violet-2: #4a2c9e;
  --accent: #B49BFF; --text: #fff; --text-2: #E6DEF8; --muted: #B3A8CF; --dim: #8A7FA6;
  --ok: #4AE08A; --warn: #FFB46B; --err: #FF6B78; --teal: #3FDCC0;
  --ok-soft: rgba(74,224,138,.12); --warn-soft: rgba(255,180,107,.13); --err-soft: rgba(255,107,120,.13); --accent-soft: rgba(180,155,255,.14);
  --card: linear-gradient(180deg, rgba(28,19,60,.90), rgba(10,7,24,.95));
  --card-b: rgba(200,180,255,.16); --card-b-hi: rgba(200,180,255,.32);
  --card-sh: 0 18px 40px -22px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.09);
  --plate: linear-gradient(180deg, rgba(58,40,120,.5), rgba(24,16,56,.58)); --plate-b: rgba(200,180,255,.14);
  --btn: linear-gradient(180deg, #a98cff, #6a3fe0);
  --btn-sh: 0 14px 28px -12px rgba(139,108,245,.95), inset 0 1px 0 rgba(255,255,255,.38);
  --glass-btn: linear-gradient(180deg, rgba(84,60,168,.5), rgba(32,22,72,.55)); --glass-b: rgba(178,152,255,.42);
  --quiet-b: rgba(200,180,255,.13); --field: rgba(8,5,20,.55); --field-b: rgba(200,180,255,.18);
  --r-card: 28px; --r-card-sm: 26px; --r-plate: 20px; --r-btn: 18px; --r-field: 16px;
  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --dur-fast: 180ms; --dur: 380ms; --dur-slow: 640ms;
  --ease-out: cubic-bezier(.22,1,.36,1); --ease-spring: cubic-bezier(.34,1.3,.64,1);
}

html, body { margin: 0; min-height: 100%; background: #07050f; color: #fff; font-family: var(--font); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #d3c4ff; }
button, input, textarea { font-family: inherit; }
input::placeholder, textarea::placeholder { color: #6f6590; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: rgba(200,180,255,.14); border-radius: 9px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
}

@keyframes nvFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes nvFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nvFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes nvScaleIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes nvScaleOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.97); } }
@keyframes nvSheetUp { 0% { transform: translateY(100%); } 70% { transform: translateY(-1.2%); } 100% { transform: translateY(0); } }
@keyframes nvSheetDown { from { transform: translateY(0); } to { transform: translateY(110%); } }
@keyframes nvPing { 0% { transform: scale(1); opacity: .65; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes nvShine { 0% { transform: translateX(-160%) skewX(-18deg); } 12%, 100% { transform: translateX(420%) skewX(-18deg); } }
@keyframes nvSegOn { from { opacity: 0; transform: scaleX(.4); } to { opacity: 1; transform: none; } }
@keyframes nvDrawCircle { from { stroke-dashoffset: 227; } to { stroke-dashoffset: 0; } }
@keyframes nvDrawCheck { from { stroke-dashoffset: 48; } to { stroke-dashoffset: 0; } }
@keyframes nvBreathA { 0%, 100% { transform: translate(0,0) scale(1); opacity: .7; } 50% { transform: translate(-4%,3%) scale(1.12); opacity: 1; } }
@keyframes nvBreathB { 0%, 100% { transform: translate(0,0) scale(1.05); opacity: .55; } 50% { transform: translate(4%,-4%) scale(.94); opacity: .95; } }
@keyframes nvDrift { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-14px,10px); } }
@keyframes nvWave { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes nvShake { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@keyframes nvShake2 { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@keyframes nvPop { 0% { opacity: 0; transform: translateY(8px) scale(.6); } 60% { opacity: 1; transform: translateY(-2px) scale(1.08); } 100% { opacity: 1; transform: none; } }
@keyframes nvToast { from { opacity: 0; transform: translate(-50%,16px); } to { opacity: 1; transform: translate(-50%,0); } }
@keyframes nvShimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes nvBurst { 0% { opacity: 0; transform: translateY(0) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-78px) scale(1); } }
@keyframes nvDot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes nvWait { 0%, 100% { transform: scale(.9); opacity: .5; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes nvRowOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(28px); } }
@keyframes nvSlideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes nvStrokeY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes nvStrokeX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes nvLogoShine { from { transform: translateX(-220%) skewX(-18deg); } to { transform: translateX(330%) skewX(-18deg); } }
@keyframes nvLogoIn { 0% { opacity: 0; transform: scale(.7) rotate(-8deg); } 70% { opacity: 1; transform: scale(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes nvFlash { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
@keyframes nvChatIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes nvGlowPulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .9; transform: scale(1.04); } }

/* ---------- иконки ---------- */
.ms { font-family: 'NV Symbols'; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal;
  text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; flex: none;
  -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 0; }
.ms.fill { font-variation-settings: 'FILL' 1; }
/* Подписи вида «.empty span { font: … }» цепляют и значок — он тоже span — и шрифт подписи превращал его
   в слово «devices». Тройной класс перебивает такие правила; размер значку задают правила «.X .ms». */
.ms.ms.ms { font-family: 'NV Symbols'; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; }
/* Пока шрифт иконок не пришёл, вместо значков видны их имена — прячем. */
body:not(.fonts-ready) .ms { visibility: hidden; }

/* ---------- фон ---------- */
.bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(125% 55% at 50% 0%, #7b52e8 0%, #4a2c9e 30%, #1d123a 66%, #0c0818 100%); }
.bg .ga { position: absolute; left: 10%; top: -30%; width: 80%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(140,100,255,.45), rgba(140,100,255,0)); animation: nvBreathA 34s ease-in-out infinite; }
.bg .gb { position: absolute; right: -20%; top: 30%; width: 60%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(90,50,200,.28), rgba(90,50,200,0)); animation: nvBreathB 26s ease-in-out infinite; }
.bg .pat { position: absolute; inset: -24px; opacity: .17; background-size: 100% 100%; animation: nvDrift 40s ease-in-out infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 800' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23d8caff' stroke-width='1.1' vector-effect='non-scaling-stroke'%3E%3Ccircle cx='30' cy='140' r='150'/%3E%3Ccircle cx='30' cy='140' r='225'/%3E%3Ccircle cx='375' cy='330' r='165'/%3E%3Ccircle cx='375' cy='330' r='245'/%3E%3Cpolyline points='-20,430 70,355 155,475 245,325 330,445 425,365'/%3E%3Cpolyline points='-20,625 80,555 170,665 265,535 350,645 425,585'/%3E%3Ccircle cx='195' cy='775' r='125'/%3E%3C/g%3E%3C/svg%3E"); }

/* ---------- общие детали ---------- */
.rel { position: relative; }
.fu { animation: nvFadeUp var(--dur) var(--ease-out) both; }
.d1 { animation-delay: 70ms; } .d2 { animation-delay: 140ms; } .d3 { animation-delay: 210ms; }
.shake { animation: nvShake .45s var(--ease-out); } .shake2 { animation: nvShake2 .45s var(--ease-out); }

.logo-mark { position: relative; flex: none; overflow: hidden; background: linear-gradient(150deg, #c3b0ff, #7b4ff0 46%, #4a24b8); animation: nvLogoIn .6s var(--ease-spring) both; }
.logo-mark.lg { width: 56px; height: 56px; border-radius: 18px; box-shadow: 0 16px 34px -12px rgba(139,108,245,.95), inset 0 1.5px 0 rgba(255,255,255,.55); animation-duration: .7s; }
.logo-mark.md { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 8px 18px -8px rgba(139,108,245,.95), inset 0 1px 0 rgba(255,255,255,.5); }
.logo-mark.sm { width: 34px; height: 34px; border-radius: 11px; box-shadow: 0 8px 18px -8px rgba(139,108,245,.95), inset 0 1px 0 rgba(255,255,255,.5); }
.logo-mark .gl { position: absolute; inset: 0; background: linear-gradient(155deg, rgba(255,255,255,.5), rgba(255,255,255,0) 60%); }
.logo-mark .v1, .logo-mark .v2 { position: absolute; width: 11%; height: 52%; border-radius: 99px; background: #fff; transform-origin: 50% 0; }
.logo-mark .v1 { left: 24%; top: 20%; animation: nvStrokeY .32s var(--ease-out) .3s both; }
.logo-mark .v2 { right: 24%; top: 30%; animation: nvStrokeY .32s var(--ease-out) .8s both; }
.logo-mark .dg { position: absolute; left: 50%; top: 50%; width: 52%; height: 11%; transform: translate(-50%,-50%) rotate(-34deg); }
.logo-mark .dg i { display: block; width: 100%; height: 100%; border-radius: 99px; background: #fff; transform-origin: 0 50%; animation: nvStrokeX .32s var(--ease-out) .55s both; }
.logo-mark .sh { position: absolute; top: -20%; bottom: -20%; left: 0; width: 40%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.75), rgba(255,255,255,0)); transform: translateX(-220%) skewX(-18deg); animation: nvLogoShine .9s var(--ease-out) 1.1s both; }
.logo-mark.lg .v1 { animation: nvStrokeY .36s var(--ease-out) .45s both; }
.logo-mark.lg .dg i { animation: nvStrokeX .36s var(--ease-out) .72s both; }
.logo-mark.lg .v2 { animation: nvStrokeY .36s var(--ease-out) .98s both; }
.logo-mark.lg .sh { animation: nvLogoShine 1s var(--ease-out) 1.3s both; }

/* Точка статуса: цвет — от родителя (currentColor), пульс — второй слой. */
.dot { position: relative; width: 8px; height: 8px; flex: none; }
.dot i, .dot b { position: absolute; inset: 0; border-radius: 50%; background: currentColor; }
.dot b { opacity: 0; animation: nvPing 2.6s var(--ease-out) infinite; }
.dot.fast b { animation-duration: 1.3s; }
.dot.still b { display: none; }

.card { position: relative; background: var(--card); border: 1px solid var(--card-b); border-radius: var(--r-card); box-shadow: var(--card-sh); }
.card.hov { transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.desk .card.hov:hover { transform: translateY(-3px); border-color: var(--card-b-hi); }
.pad { padding: 24px; }
.ct { font: 700 18px var(--font); }
.plate { border-radius: var(--r-plate); background: var(--plate); border: 1px solid var(--plate-b); }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob.tl { left: -60px; top: -70px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(169,140,255,.24), rgba(169,140,255,0) 66%); }
.blob.tr { right: -40px; top: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(169,140,255,.26), rgba(169,140,255,0) 66%); }
.blob.tr2 { right: -30px; top: -30px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(169,140,255,.28), rgba(169,140,255,0) 66%); }

/* ---------- кнопки ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 22px;
  border: 0; border-radius: var(--r-btn); background: var(--btn); color: #fff; font: 700 16px var(--font); cursor: pointer; box-shadow: var(--btn-sh);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.btn:hover { color: #fff; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .62; cursor: default; }
.btn .shine { position: absolute; top: 0; bottom: 0; left: 0; width: 36%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.42), rgba(255,255,255,0));
  transform: translateX(-160%) skewX(-18deg); animation: nvShine 5.6s linear 1.6s infinite; pointer-events: none; }
.btn .lb { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.btn .ms { font-size: 20px; }
.btn.w { width: 100%; }
.btn--glass { background: var(--glass-btn); border: 1px solid var(--glass-b); box-shadow: 0 10px 26px -14px rgba(169,140,255,.9), inset 0 1px 0 rgba(255,255,255,.16); font-size: 15px; }
.btn--quiet { background: rgba(255,255,255,.02); border: 1px solid var(--quiet-b); box-shadow: none; color: var(--text-2); font-weight: 600; font-size: 15px; }
.btn--quiet:hover { border-color: rgba(200,180,255,.32); color: #fff; }
.btn--danger { background: linear-gradient(180deg, #ff8a95, #e04558); box-shadow: 0 12px 26px -12px rgba(255,107,120,.8), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--out { border: 1px solid rgba(255,107,120,.28); background: rgba(255,107,120,.06); color: var(--err); box-shadow: none; font-size: 15px; height: 52px; }
.btn--out:hover { color: var(--err); }
.h50 { height: 50px; } .h52 { height: 52px; } .h56 { height: 56px; }
.lbtn { border: 0; background: none; color: var(--muted); font: 500 14px var(--font); cursor: pointer; padding: 0; }
.lbtn:hover { color: #fff; }
.lbtn:disabled { color: var(--dim); cursor: default; }
.lbtn.acc { color: var(--accent); font-weight: 600; }
.btn-sm { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border: 1px solid var(--quiet-b); border-radius: 14px;
  background: rgba(255,255,255,.02); color: var(--text-2); font: 600 14px var(--font); cursor: pointer; text-decoration: none;
  transition: transform var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.btn-sm:hover { border-color: rgba(200,180,255,.3); color: #fff; }
.btn-sm:active { transform: scale(.96); }
.btn-sm .ms { font-size: 18px; }
.btn-sm.glass { border-color: var(--glass-b); background: var(--glass-btn); color: #fff; }
.btn-sm:disabled { opacity: .6; }
.ibtn { width: 44px; height: 44px; border: 1px solid var(--quiet-b); border-radius: 50%; background: none; color: var(--muted); display: flex; align-items: center;
  justify-content: center; cursor: pointer; flex: none; transition: transform var(--dur-fast), color var(--dur-fast); }
.ibtn:hover { color: #fff; } .ibtn:active { transform: scale(.94); } .ibtn .ms { font-size: 20px; }

/* ---------- поля ---------- */
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld > span { font: 500 13px var(--font); color: var(--muted); }
.inp { width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-field); border: 1px solid var(--field-b); background: var(--field); color: #fff;
  font: 500 16px var(--font); outline: none; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.inp:focus { border-color: #a98cff; box-shadow: 0 0 0 4px rgba(169,140,255,.16); }
.inp.bad { border-color: rgba(255,107,120,.7); }
.inp.code { height: 58px; padding: 0 18px; font: 800 26px var(--font); letter-spacing: .5em; }

/* ---------- вход ---------- */
.auth { position: fixed; inset: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; z-index: 1;
  padding: calc(36px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom)); }
.auth-col { margin: auto 0; width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.auth-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.auth-brand { display: flex; align-items: center; gap: 14px; }
.auth-wm { display: flex; align-items: baseline; gap: 8px; animation: nvFadeUp var(--dur) var(--ease-out) .25s both; }
.auth-wm span { font: 500 28px/1 var(--font); letter-spacing: -.015em; }
.auth-wm b { font: 900 28px/1 var(--font); color: var(--accent); letter-spacing: .02em; }
.works { display: flex; align-items: center; gap: 10px; font: 600 17px var(--font); color: var(--accent); animation: nvFadeUp var(--dur) var(--ease-out) .5s both; }
.works .dot { width: 10px; height: 10px; color: var(--ok); }
.works .dot i { box-shadow: 0 0 12px var(--ok); }
.works .dot b { animation: nvPing 2.4s var(--ease-out) 1.4s infinite; }
.auth-sub { font: 400 15px/1.45 var(--font); color: var(--muted); max-width: 330px; animation: nvFadeUp var(--dur) var(--ease-out) .6s both; }
.auth-card { width: 100%; padding: 24px; display: flex; flex-direction: column; gap: 16px; animation: nvScaleIn var(--dur) var(--ease-out) both; }
.auth-card.first { animation-delay: .35s; }
.auth-card.center { align-items: center; text-align: center; gap: 18px; padding: 28px 24px 24px; }
.auth-t { display: flex; flex-direction: column; gap: 8px; }
.auth-t b { font: 800 24px/1.15 var(--font); }
.auth-t span { font: 400 15px/1.45 var(--font); color: var(--muted); text-wrap: pretty; }
.auth-t span strong { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.auth-foot { margin-top: 26px; font: 400 12px var(--font); color: var(--dim); text-align: center; }
.alert { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-plate); color: var(--text-2);
  font: 500 14px/1.4 var(--font); animation: nvSlideDown var(--dur) var(--ease-out) both; text-align: left; }
.alert .ms { font-size: 22px; }
.alert.err { background: var(--err-soft); border: 1px solid rgba(255,107,120,.4); } .alert.err .ms { color: var(--err); }
.alert.warn { background: var(--warn-soft); border: 1px solid rgba(255,180,107,.35); } .alert.warn .ms { color: var(--warn); }
.alert.ok { background: var(--ok-soft); border: 1px solid rgba(74,224,138,.32); } .alert.ok .ms { color: var(--ok); }
.alert.info { background: var(--accent-soft); border: 1px solid rgba(180,155,255,.32); } .alert.info .ms { color: var(--accent); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 16px; background: var(--field); border: 1px solid var(--plate-b); }
.seg .hl { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 12px; background: var(--glass-btn); border: 1px solid rgba(178,152,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14); transition: transform var(--dur) var(--ease-spring); }
.seg.r .hl { transform: translateX(100%); }
.seg button { position: relative; height: 42px; border: 0; background: none; color: var(--muted); font: 700 15px var(--font); cursor: pointer; transition: color var(--dur-fast); }
.seg button.on { color: #fff; }
.promo1 { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-plate);
  background: linear-gradient(135deg, rgba(150,115,255,.32), rgba(60,36,140,.42)); border: 1px solid rgba(190,165,255,.4); animation: nvSlideDown var(--dur) var(--ease-out) both; }
.promo1 > b { flex: none; font: 900 30px/1 var(--font); color: #fff; letter-spacing: -.02em; white-space: nowrap; }
.promo1 > span { font: 400 14px/1.4 var(--font); color: var(--text-2); }
.promo1 strong { font-weight: 700; color: #fff; }
.hint { font: 400 13px/1.4 var(--font); color: var(--dim); }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font: 500 13px var(--font); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--plate-b); }
.tg-ic { transform: rotate(-30deg) translateY(-1px); }
.otp { position: relative; display: flex; gap: 8px; }
.otp span { width: 46px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--field);
  border: 1.5px solid var(--field-b); font: 800 28px var(--font); transition: border-color var(--dur-fast); }
.otp span.fill { border-color: rgba(200,180,255,.35); }
.otp span.cur { border-color: #a98cff; }
.otp.bad span { border-color: rgba(255,107,120,.7); }
.otp span i { font-style: normal; animation: nvPop .38s var(--ease-out) both; }
.otp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; cursor: text; border: 0; padding: 0; }
.errline { font: 500 14px var(--font); color: var(--err); animation: nvSlideDown var(--dur-fast) var(--ease-out) both; }
/* Код входа — 8 знаков (в макете было 6): клетки сжимаются, чтобы на телефоне строка влезала в карточку. */
.codechars { width: 100%; display: flex; justify-content: center; gap: 6px; transition: opacity var(--dur); }
.codechars.dim { opacity: .35; }
.codechars span { flex: 0 1 44px; min-width: 0; height: 58px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--field);
  border: 1px solid var(--field-b); font: 600 clamp(20px, 6.4vw, 28px) var(--mono); color: #fff; animation: nvPop .45s var(--ease-out) both; }
.waves { position: relative; width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; flex: none; }
.waves.s76 { width: 76px; height: 76px; }
.waves .w { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #a98cff; opacity: 0; animation: nvWave 2.4s var(--ease-out) infinite; }
.waves .w:nth-child(2) { animation-delay: .8s; } .waves .w:nth-child(3) { animation-delay: 1.6s; }
.waves .core { position: relative; width: 100%; height: 100%; border-radius: 50%; background: var(--glass-btn); box-shadow: inset 0 0 0 1px var(--glass-b);
  display: flex; align-items: center; justify-content: center; }
.waves .core .ms { font-size: 36px; color: #d6c8ff; transform: rotate(-30deg) translate(2px,-2px); font-variation-settings: 'FILL' 1; }
.waves.s76 .core .ms { font-size: 32px; }
.waves .warnc { width: 84px; height: 84px; border-radius: 50%; background: var(--warn-soft); box-shadow: inset 0 0 0 1px rgba(255,180,107,.4);
  display: flex; align-items: center; justify-content: center; animation: nvScaleIn var(--dur) var(--ease-out) both; }
.waves .warnc .ms { font-size: 36px; color: var(--warn); }
.dots { display: flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #a98cff; animation: nvDot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
.dots.acc i { background: var(--accent); }
.status { display: flex; align-items: center; gap: 10px; font: 500 14px var(--font); color: var(--muted); }
.status.ok { color: var(--ok); }
.ck { animation: nvScaleIn var(--dur) var(--ease-out) both; }
.ck .c { animation: nvDrawCircle .6s var(--ease-out) both; }
.ck .k { animation: nvDrawCheck .4s var(--ease-out) .45s both; }

/* ---------- каркас кабинета ---------- */
.app { position: fixed; inset: 0; display: flex; z-index: 1; }
.side { flex: none; width: 252px; display: flex; flex-direction: column; gap: 30px; padding: 24px 16px 20px; border-right: 1px solid rgba(200,180,255,.08);
  background: linear-gradient(180deg, rgba(12,8,28,.35), rgba(12,8,28,.6)); position: relative; z-index: 1; overflow-y: auto; }
.side-brand { display: flex; flex-direction: column; gap: 8px; padding: 0 8px; }
.side-brand .row { display: flex; align-items: center; gap: 11px; }
.wm { display: flex; align-items: baseline; gap: 6px; }
.wm span { font: 500 17px var(--font); }
.wm b { font: 800 17px var(--font); color: var(--accent); letter-spacing: .03em; }
.wm.sm { gap: 5px; } .wm.sm span { font-size: 16px; } .wm.sm b { font-size: 16px; letter-spacing: 0; }
.side-works { display: flex; align-items: center; gap: 7px; padding-left: 49px; font: 500 12.5px var(--font); color: var(--muted); }
.side-works .dot { width: 7px; height: 7px; color: var(--ok); }
.side-works .dot b { animation: nvPing 2.4s var(--ease-out) infinite; }
.side-nav { position: relative; display: flex; flex-direction: column; gap: 4px; }
.side-nav .hl { position: absolute; left: 0; right: 0; top: 0; height: 48px; border-radius: 16px; background: var(--glass-btn); border: 1px solid rgba(178,152,255,.34);
  box-shadow: 0 10px 24px -14px rgba(169,140,255,.9), inset 0 1px 0 rgba(255,255,255,.14); transition: transform var(--dur) var(--ease-spring); }
.nav-btn { position: relative; height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 0; border-radius: 16px; background: none;
  color: var(--muted); font: 600 15px var(--font); cursor: pointer; text-align: left; transition: color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.nav-btn:hover, .nav-btn.on { color: #fff; }
.nav-btn:active { transform: scale(.97); }
.nav-btn .ms { font-size: 22px; transition: font-variation-settings var(--dur); }
.nav-btn.on .ms { font-variation-settings: 'FILL' 1; }
.side-bot { margin-top: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; color: #fff; }
.side-bot:hover { color: #fff; border-color: rgba(200,180,255,.3); }
/* «@NORMALNIY_VPN_BOT» в 14px на пару пикселей шире плашки (так и в макете) — 13px, значок мельче, одна строка. */
.side-bot b { display: flex; align-items: center; gap: 6px; font: 700 13px var(--font); min-width: 0; white-space: nowrap; }
.side-bot b .h { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.side-bot b .ms { font-size: 17px; color: var(--accent); }
.side-bot > span { font: 400 13px/1.4 var(--font); color: var(--muted); }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; }
.top { flex: none; height: 76px; display: flex; align-items: center; gap: 14px; padding: 0 32px; }
.pill { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 15px; border-radius: 999px; font: 600 14px var(--font);
  white-space: nowrap; flex: none; border: 1px solid transparent; transition: background var(--dur), color var(--dur); }
.pill.sm { height: 32px; padding: 0 13px; gap: 8px; font-size: 13.5px; border: 0; }
.pill.xs { height: 28px; padding: 0 11px; gap: 7px; font-size: 13px; border: 0; }
.pill.xs .dot { width: 7px; height: 7px; }
.t-ok { color: var(--ok); background: var(--ok-soft); border-color: rgba(74,224,138,.28); }
.t-warn { color: var(--warn); background: var(--warn-soft); border-color: rgba(255,180,107,.3); }
.t-acc { color: var(--accent); background: var(--accent-soft); border-color: rgba(180,155,255,.3); }
.t-off { color: var(--dim); background: rgba(138,127,166,.12); border-color: rgba(138,127,166,.25); }
.bal-pill { margin-left: auto; position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 5px 0 16px; border-radius: 999px;
  background: var(--plate); border: 1px solid var(--plate-b); overflow: hidden; }
.flashbg { position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(169,140,255,.6), rgba(169,140,255,0)); opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out); pointer-events: none; }
.flash .flashbg { opacity: 1; }
.bal-pill > .ms { position: relative; font-size: 20px; color: var(--muted); }
.bal-amt { position: relative; font: 800 16px var(--font); min-width: 56px; font-variant-numeric: tabular-nums; color: #fff; transition: color var(--dur); }
.flash .bal-amt, .flash.bal-m .amt { color: #d6c8ff; }
.bal-add { position: relative; height: 36px; padding: 0 15px; border: 0; border-radius: 999px; background: var(--btn); color: #fff; font: 700 13.5px var(--font);
  cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); transition: transform var(--dur-fast); }
.bal-add:active { transform: scale(.96); }
.user-btn { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px 0 5px; border: 0; border-radius: 999px; background: none; color: #fff;
  cursor: pointer; transition: background var(--dur-fast); max-width: 240px; }
.user-btn:hover { background: rgba(200,180,255,.07); }
.user-btn > span:last-child { font: 600 14px var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(150deg, #6bf0d6, #17b39a 55%, #0b7d6a); display: flex; align-items: center;
  justify-content: center; font: 800 13px var(--font); color: #04231e; flex: none; }
.avatar .ms { font-size: 20px; } .avatar.lg .ms { font-size: 36px; }
.avatar.lg { width: 72px; height: 72px; font-size: 26px; box-shadow: 0 14px 30px -12px rgba(63,220,192,.7), inset 0 1.5px 0 rgba(255,255,255,.5); }
.top-m { flex: none; height: calc(62px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 16px 0; display: flex; align-items: center; justify-content: space-between; }
.brand-m { display: flex; align-items: center; gap: 9px; }
.bal-m { position: relative; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 4px 0 14px; border-radius: 999px; background: var(--plate);
  border: 1px solid var(--plate-b); color: #fff; cursor: pointer; overflow: hidden; }
.bal-m .amt { position: relative; font: 800 15px var(--font); font-variant-numeric: tabular-nums; transition: color var(--dur); }
.bal-m .plus { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--btn); color: #fff; display: flex; align-items: center; justify-content: center; }
.bal-m .plus .ms { font-size: 20px; }
.scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 8px 32px 32px; -webkit-overflow-scrolling: touch; }
.mobile .scroll { padding: 4px 16px calc(100px + env(safe-area-inset-bottom)); }
.content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.sec { display: flex; flex-direction: column; gap: 18px; animation: nvFadeUp var(--dur) var(--ease-out) both; }
.h1 { margin: 0; font: 800 30px/1.1 var(--font); letter-spacing: -.01em; }
.sec-head { display: flex; flex-direction: column; gap: 4px; }
.sec-head span { font: 500 14px var(--font); color: var(--muted); }
.g-sub { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 20px; align-items: start; }
.g-2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; align-items: start; }
.g-sup { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 20px; align-items: start; }
.one .g-sub, .one .g-2, .one .g-sup { grid-template-columns: minmax(0,1fr); }
.span2 { grid-column: 1 / -1; }
.col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 68px; padding: 6px; border-radius: 24px;
  background: rgba(16,10,34,.96); border: 1px solid rgba(200,180,255,.14); box-shadow: 0 -12px 34px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  display: grid; grid-template-columns: repeat(5,1fr); z-index: 5; }
.tabbar .hl { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 5); border-radius: 18px; background: var(--glass-btn);
  border: 1px solid rgba(178,152,255,.3); transition: transform var(--dur) var(--ease-spring); }
.tab-btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none;
  color: var(--muted); cursor: pointer; font: 600 10.5px var(--font); transition: color var(--dur-fast), transform var(--dur-fast); -webkit-tap-highlight-color: transparent; }
.tab-btn:active { transform: scale(.94); }
.tab-btn.on { color: #fff; }
.tab-btn .ms { font-size: 24px; }
.tab-btn.on .ms { font-variation-settings: 'FILL' 1; }
.foot { display: flex; flex-direction: column; gap: 10px; padding: 22px 0 6px; border-top: 1px solid rgba(200,180,255,.08); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font: 500 14px var(--font); }
.foot nav a { color: var(--muted); }
.foot nav a:hover { color: #fff; }
.foot > span { font: 400 12.5px var(--font); color: var(--dim); }

.banner { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-plate); font: 500 14.5px/1.45 var(--font); color: var(--text-2);
  animation: nvSlideDown var(--dur) var(--ease-out) both; }
.banner > .ms { font-size: 22px; }
.banner .t { flex: 1; }
.banner.wait { background: var(--accent-soft); border: 1px solid rgba(180,155,255,.32); } .banner.wait > .ms { color: var(--accent); }
.banner.ok { background: var(--ok-soft); border: 1px solid rgba(74,224,138,.32); } .banner.ok > .ms { color: var(--ok); }
.banner .x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--dim); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.banner .x:hover { color: #fff; } .banner .x .ms { font-size: 18px; }

/* ---------- скелетоны ---------- */
.skel { position: relative; overflow: hidden; height: 420px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--card-b); padding: 24px;
  display: flex; flex-direction: column; gap: 20px; }
.skel::after, .shimmer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(220,200,255,.07) 50%, rgba(255,255,255,0) 70%);
  animation: nvShimmer 1.3s linear infinite; pointer-events: none; }
.skel + .skel::after { animation-delay: .15s; }
.sk { display: block; border-radius: 8px; background: rgba(200,180,255,.08); flex: none; }
.sk.l { background: rgba(200,180,255,.06); }

/* ---------- подписка ---------- */
.sub-card { overflow: hidden; display: flex; flex-direction: column; gap: 20px; padding: 24px; }
.sub-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ring-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ring { position: relative; width: 128px; height: 128px; flex: none; }
.ring svg { display: block; transform: rotate(-90deg); }
.ring .num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .num b { font: 800 36px/1 var(--font); font-variant-numeric: tabular-nums; }
.ring .num span { font: 500 12px var(--font); color: var(--muted); margin-top: 3px; }
.ring-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.ring-txt b { font: 800 28px/1.1 var(--font); letter-spacing: -.01em; }
.ring-txt span { font: 500 15px/1.4 var(--font); color: var(--muted); }
.gift { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-plate);
  background: linear-gradient(135deg, rgba(150,115,255,.26), rgba(60,36,140,.34)); border: 1px solid rgba(190,165,255,.34); }
.gift > .ms { font-size: 22px; color: #d6c8ff; font-variation-settings: 'FILL' 1; }
.gift span { font: 400 14.5px/1.45 var(--font); color: var(--text-2); }
.gift strong { color: #fff; font-weight: 700; }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-plate); }
.note > .ms { font-size: 26px; }
.note.warn { background: var(--warn-soft); border: 1px solid rgba(255,180,107,.32); } .note.warn > .ms { color: var(--warn); }
.note.off { background: var(--plate); border: 1px solid var(--plate-b); } .note.off > .ms { color: var(--dim); }
.note .t { display: flex; flex-direction: column; gap: 6px; }
.note .t b { font: 700 17px var(--font); color: #fff; }
.note .t span, .note > span { font: 400 14.5px/1.5 var(--font); color: var(--text-2); }
.intro-big { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.intro-big b { font: 900 76px/.9 var(--font); letter-spacing: -.04em; color: #fff; text-shadow: 0 10px 40px rgba(169,140,255,.7); }
.intro-big span { font: 700 20px/1.2 var(--font); color: var(--accent); padding-bottom: 6px; }
.intro-txt { font: 400 15.5px/1.5 var(--font); color: var(--text-2); text-wrap: pretty; }
.ar { display: flex; flex-direction: column; overflow: hidden; }
.ar-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.ar-row > .ms { font-size: 22px; color: var(--accent); }
.ar-row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ar-row .t b { font: 600 15px var(--font); }
.ar-row .t span { font: 400 13px/1.4 var(--font); color: var(--dim); }
.switch { position: relative; flex: none; width: 52px; height: 30px; padding: 0; border: 0; border-radius: 999px; background: rgba(200,180,255,.14); cursor: pointer; }
.switch .f { position: absolute; inset: 0; border-radius: 999px; background: var(--btn); opacity: 0; transition: opacity var(--dur) var(--ease-out); }
.switch .k { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.35);
  transition: transform var(--dur) var(--ease-spring); }
.switch.on .f { opacity: 1; }
.switch.on .k { transform: translateX(22px); }
.switch:disabled { opacity: .6; cursor: default; }
.ar-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid rgba(200,180,255,.08); font: 500 14px/1.4 var(--font); }
.ar-line > .ms { font-size: 18px; }
.ar-line .t { flex: 1; min-width: 180px; }
.ar-line.ok { background: rgba(74,224,138,.06); color: var(--ok); }
.ar-line.warn { background: rgba(255,180,107,.08); color: var(--warn); }
.ar-line.off { color: var(--muted); }
.mini-warn { height: 34px; padding: 0 14px; border: 1px solid rgba(255,180,107,.45); border-radius: 12px; background: rgba(255,180,107,.12); color: var(--warn);
  font: 700 13.5px var(--font); cursor: pointer; transition: transform var(--dur-fast); }
.mini-warn:active { transform: scale(.96); }
.hint-ok { display: flex; gap: 10px; align-items: flex-start; font: 500 14px/1.45 var(--font); color: var(--text-2); animation: nvSlideDown var(--dur) var(--ease-out) both; }
.hint-ok > .ms { font-size: 20px; color: var(--ok); }
.acts { display: flex; gap: 10px; flex-wrap: wrap; }
.acts .mw { position: relative; flex: 1 1 200px; display: flex; }
.acts .mw .btn { flex: 1; height: 56px; font-size: 16.5px; }
.glowring { position: absolute; inset: -5px; border-radius: 22px; border: 2px solid rgba(190,165,255,.7); animation: nvGlowPulse 1.6s ease-in-out infinite; pointer-events: none; }
.acts > .btn--glass { flex: 1 1 200px; height: 56px; font-size: 15.5px; }

/* ---------- устройства ---------- */
.dev-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.dev-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dev-head .cnt { font: 600 14px var(--font); color: var(--muted); }
.dev-head .cnt b { color: #fff; font-weight: 800; }
.slots { display: flex; gap: 6px; }
.slots > span { position: relative; flex: 1; height: 7px; border-radius: 999px; background: rgba(200,180,255,.1); overflow: hidden; }
.slots > span i { position: absolute; inset: 0; border-radius: 999px; background: linear-gradient(90deg, #8d6bf5, #c3b0ff); box-shadow: 0 0 10px rgba(169,140,255,.7);
  transform-origin: left; animation: nvSegOn var(--dur) var(--ease-out) both; }
.dev-list { display: flex; flex-direction: column; gap: 8px; }
.dev-row { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 18px; background: var(--plate); border: 1px solid var(--plate-b);
  animation: nvFadeUp var(--dur) var(--ease-out) both; }
.dev-row.out { animation: nvRowOut .3s var(--ease-out) both; }
.sq { width: 40px; height: 40px; flex: none; border-radius: 13px; background: rgba(169,140,255,.12); display: flex; align-items: center; justify-content: center; }
.sq .ms { font-size: 21px; color: var(--accent); }
.sq.pl { background: var(--plate); border: 1px solid var(--plate-b); }
.sq.pl .ms { font-size: 20px; }
.row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-t b { font: 600 15px var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-t span { font: 400 13px var(--font); color: var(--dim); }
.btn-off { flex: none; height: 34px; padding: 0 12px; border: 1px solid var(--quiet-b); border-radius: 12px; background: none; color: var(--muted); font: 600 13px var(--font);
  cursor: pointer; transition: transform var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.btn-off:hover { color: var(--err); border-color: rgba(255,107,120,.4); }
.btn-off:active { transform: scale(.95); }
.btn-off:disabled { opacity: .5; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 12px; border-radius: var(--r-plate); border: 1.5px dashed rgba(200,180,255,.18);
  text-align: center; animation: nvFade var(--dur) both; }
.empty > .ms { font-size: 32px; color: var(--dim); }
.empty b { font: 600 15px var(--font); }
.empty span { font: 400 13.5px var(--font); color: var(--dim); }

/* ---------- роутер ---------- */
.rt-card { display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.rt-top { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.rt-ico { width: 52px; height: 52px; flex: none; border-radius: 17px; background: var(--glass-btn); border: 1px solid rgba(178,152,255,.3); display: flex; align-items: center; justify-content: center; }
.rt-ico .ms { font-size: 27px; color: #d6c8ff; }
.rt-t { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
.rt-t .h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rt-t .h b { font: 700 18px var(--font); }
.rt-t .h em { font: 600 14px var(--font); font-style: normal; color: var(--muted); }
.rt-t p { margin: 0; font: 400 14.5px/1.5 var(--font); color: var(--muted); text-wrap: pretty; max-width: 720px; }
.rt-acts { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.rt-auto { flex: 1 1 280px; display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.rt-auto > .ms { font-size: 22px; color: var(--accent); }
.rt-auto b { flex: 1; font: 600 15px var(--font); }
.rt-acts .btn--glass { flex: 1 1 200px; height: 56px; }
.rt-acts .btn--quiet { flex: 0 1 auto; height: 56px; }
.mobile .rt-acts .btn--quiet { flex: 1 1 100%; }

/* ---------- баланс ---------- */
.bal-card { overflow: hidden; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.bal-card .k { position: relative; font: 500 14px var(--font); color: var(--muted); }
.bal-big-w { position: relative; display: inline-flex; align-self: flex-start; }
.bal-big-w .fl { position: absolute; inset: -14px -24px; border-radius: 50%; background: radial-gradient(closest-side, rgba(169,140,255,.55), rgba(169,140,255,0));
  opacity: 0; transition: opacity var(--dur-slow) var(--ease-out); }
.flash .bal-big-w .fl { opacity: 1; }
.bal-big { position: relative; font: 900 52px/1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bal-card p { position: relative; margin: 0; font: 400 14.5px/1.5 var(--font); color: var(--muted); max-width: 420px; }
.form-card { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.qs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.qs button { height: 46px; border-radius: 14px; border: 1px solid var(--quiet-b); background: rgba(255,255,255,.02); color: #fff; font: 700 15px var(--font); cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-spring), background var(--dur-fast), border-color var(--dur-fast); }
.qs button:active { transform: scale(.95); }
.qs button.sel { background: var(--glass-btn); border-color: #a98cff; }
.qs.sm button { height: 42px; border-radius: 13px; font-size: 14.5px; }
.sum-in { position: relative; }
.sum-in .inp { height: 54px; padding: 0 44px 0 16px; font: 700 20px var(--font); }
.sum-in em { position: absolute; right: 16px; bottom: 15px; font: 700 18px var(--font); font-style: normal; color: var(--dim); }
.err-t { font: 500 13.5px var(--font); color: var(--err); margin-top: -8px; animation: nvSlideDown var(--dur-fast) both; }
.promo-row { display: flex; gap: 10px; }
.promo-row .inp { flex: 1; min-width: 0; height: 50px; font: 600 16px var(--mono); text-transform: uppercase; }
.promo-row .btn { height: 50px; padding: 0 18px; flex: none; }
.hist-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.hist { display: flex; flex-direction: column; }
.hist-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(200,180,255,.07); animation: nvFadeUp var(--dur) var(--ease-out) both; }
.hist-row:last-child { border-bottom: 0; }
.hist-row .a { font: 700 15.5px var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hist-row .a.plus { color: var(--ok); }
.hist-skel { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.hist-skel > span { height: 58px; border-radius: 16px; background: rgba(200,180,255,.06); }
.hist-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 12px; color: var(--dim); text-align: center; }
.hist-empty .ms { font-size: 32px; }
.hist-empty b { font: 600 15px var(--font); color: var(--muted); }

/* ---------- друзья ---------- */
.ref-hero { overflow: hidden; padding: 24px; display: flex; align-items: center; gap: 18px; }
.ref-hero .t { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ref-hero .t b { font: 800 24px/1.2 var(--font); }
.ref-hero .t span { font: 400 15.5px/1.5 var(--font); color: var(--text-2); text-wrap: pretty; }
.ref-ico { position: relative; width: 96px; height: 96px; flex: none; display: grid; place-items: center; }
.ref-ico .w { position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(200,180,255,.3); animation: nvWave 3.6s var(--ease-out) infinite; }
.ref-ico .w + .w { animation-delay: 1.8s; }
.ref-ico .core { position: relative; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(150deg, #c3b0ff, #7b4ff0 46%, #4a24b8);
  box-shadow: 0 14px 30px -10px rgba(139,108,245,.95), inset 0 1px 0 rgba(255,255,255,.5); display: grid; place-items: center; }
.ref-ico .core .ms { font-size: 28px; color: #fff; font-variation-settings: 'FILL' 1; }
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.stat { min-width: 0; padding: 16px 14px; border-radius: var(--r-plate); background: var(--plate); border: 1px solid var(--plate-b); display: flex; flex-direction: column;
  gap: 10px; justify-content: space-between; min-height: 104px; }
.stat b { font: 900 26px/1 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; color: #fff; overflow: hidden; text-overflow: ellipsis; }
.stat span { font: 500 13px/1.3 var(--font); color: var(--muted); }
.stat.hi { background: linear-gradient(180deg, rgba(20,80,62,.42), rgba(8,34,28,.55)); border-color: rgba(74,224,138,.3); }
.stat.hi b { color: var(--ok); }
.paused { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--warn-soft); border: 1px solid rgba(255,180,107,.3);
  font: 500 14px var(--font); color: var(--warn); }
.paused .ms { font-size: 20px; }
.sub-dim { font: 400 13.5px/1.4 var(--font); color: var(--dim); }
.linkbox { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: var(--r-field); background: var(--field); border: 1px solid var(--field-b); }
.linkbox > span { flex: 1; min-width: 0; font: 500 15px var(--mono); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.linkbox button { flex: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--glass-btn); color: #fff; display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: transform var(--dur-fast); }
.linkbox button:active { transform: scale(.92); }
.linkbox .ms { font-size: 20px; }
.ok-ic { color: var(--ok); animation: nvPop .35s var(--ease-out) both; }
.ref-btns { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.ref-btns .btn { height: 52px; padding: 0 12px; font-size: 15px; }
.ref-btns .sqb { width: 52px; padding: 0; }
.ref-btns .sqb.on { background: var(--glass-btn); }
.qrbox { align-self: center; padding: 12px; border-radius: 18px; background: #fff; animation: nvScaleIn var(--dur) var(--ease-spring) both; }
.qrbox svg { display: block; width: 156px; height: 156px; }
.tipbox { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--plate); border: 1px solid var(--plate-b);
  font: 400 13.5px/1.45 var(--font); color: var(--text-2); }
.tipbox > .ms { font-size: 19px; color: var(--warn); }

/* ---------- поддержка ---------- */
.chat-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(200,180,255,.08); }
.op-av { position: relative; width: 42px; height: 42px; flex: none; border-radius: 14px; background: linear-gradient(150deg, #c3b0ff, #7b4ff0 46%, #4a24b8); display: grid; place-items: center; }
.op-av .ms { font-size: 22px; color: #fff; font-variation-settings: 'FILL' 1; }
.op-av i { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); border: 2px solid #120c28; }
.op-av.night i { background: var(--dim); }
.chat-head .t { display: flex; flex-direction: column; gap: 1px; }
.chat-head b { font: 700 16px var(--font); }
.chat-head .t span { font: 400 13px var(--font); color: var(--dim); }
.chat { height: 460px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.mobile .chat { height: 380px; }
.chat-empty { margin: auto; max-width: 300px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--muted); font: 400 14.5px/1.5 var(--font); }
.chat-empty > .ms { font-size: 36px; color: var(--dim); }
.msgw { display: flex; flex-direction: column; align-items: flex-start; animation: nvChatIn var(--dur) var(--ease-out) both; }
.msgw.me { align-items: flex-end; }
.msgw.sys { align-items: center; }
.msg { max-width: 80%; display: flex; flex-direction: column; gap: 6px; padding: 11px 14px; border-radius: 18px 18px 18px 6px; background: var(--plate); border: 1px solid var(--plate-b); }
.me .msg { border-radius: 18px 18px 6px 18px; background: linear-gradient(180deg, #8d6bf5, #6a3fe0); border-color: rgba(200,180,255,.3); }
.msg .tx { font: 400 15px/1.45 var(--font); color: #fff; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg time { align-self: flex-end; font: 500 11.5px var(--font); color: var(--dim); }
.me .msg time { color: rgba(255,255,255,.7); }
.msg img { display: block; width: 220px; max-width: 100%; border-radius: 12px; }
.msg .file { display: flex; align-items: center; gap: 6px; font: 500 13.5px var(--font); color: #fff; overflow-wrap: anywhere; }
.msg .file .ms { font-size: 18px; }
.sysmsg { padding: 7px 12px; border-radius: 999px; background: var(--plate); border: 1px solid var(--plate-b); font: 500 13px var(--font); color: var(--muted); }
.chat-bar { padding: 12px; border-top: 1px solid rgba(200,180,255,.08); display: flex; flex-direction: column; gap: 8px; }
.att { position: relative; overflow: hidden; align-self: flex-start; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 12px;
  background: var(--plate); border: 1px solid var(--plate-b); font: 500 13px var(--font); color: var(--muted); animation: nvSlideDown var(--dur-fast) both; max-width: 100%; }
.att > .ms { font-size: 17px; }
.att .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att.ok { padding: 0 6px 0 12px; background: var(--accent-soft); border-color: rgba(180,155,255,.3); color: #fff; animation: nvPop .35s var(--ease-out) both; }
.att button { border: 0; background: none; color: var(--accent); font: 600 13px var(--font); cursor: pointer; padding: 0 6px; flex: none; }
.chat-in { display: flex; align-items: center; gap: 8px; }
.chat-in .clip { flex: none; width: 46px; height: 46px; border: 1px solid var(--quiet-b); border-radius: 14px; background: none; color: var(--muted); display: flex;
  align-items: center; justify-content: center; cursor: pointer; transition: transform var(--dur-fast), color var(--dur-fast); }
.chat-in .clip:hover { color: #fff; } .chat-in .clip:active { transform: scale(.94); } .chat-in .clip .ms { font-size: 22px; }
.chat-in .inp { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 14px; font-size: 15px; }
.chat-in .send { flex: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--btn); color: #fff; display: flex; align-items: center;
  justify-content: center; cursor: pointer; box-shadow: var(--btn-sh); transition: transform var(--dur-fast); }
.chat-in .send:active { transform: scale(.92); } .chat-in .send .ms { font-size: 21px; }
.chat-in .send:disabled { opacity: .6; }
.chat-bar small { font: 400 12px var(--font); color: var(--dim); padding-left: 4px; }
.sup-info { padding: 22px; border-radius: var(--r-card-sm); display: flex; flex-direction: column; gap: 14px; }
.sup-info .row { display: flex; align-items: center; gap: 12px; }
.sup-info .row > .ms { font-size: 24px; color: var(--accent); }
.sup-info .row .t { display: flex; flex-direction: column; gap: 2px; }
.sup-info .row .t b { font: 700 16px var(--font); }
.sup-info .row .t span { font: 400 13px var(--font); color: var(--dim); }
.sup-info .row > span { font: 400 14px/1.45 var(--font); color: var(--text-2); }

/* ---------- профиль ---------- */
.prof-card { padding: 24px; display: flex; align-items: center; gap: 16px; }
.prof-card .t { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.prof-card .t b { font: 700 22px/1.2 var(--font); overflow-wrap: anywhere; }
.prof-card .t span { font: 500 15px var(--font); color: var(--muted); overflow-wrap: anywhere; }
.prof-card .t span.none { color: var(--err); }
.tg-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--plate); border: 1px solid var(--plate-b); font: 500 14.5px var(--font); overflow-wrap: anywhere; }
.tg-row > .ms { font-size: 22px; color: var(--accent); font-variation-settings: 'FILL' 1; }
.tg-row em { font-style: normal; font-family: var(--mono); color: var(--muted); }
.txt { font: 400 14.5px/1.5 var(--font); color: var(--text-2); margin: 0; }
.txt.sm { font-size: 12.5px; line-height: 1.45; color: var(--dim); }
.iconline { display: flex; gap: 14px; align-items: flex-start; }
.iconline > .ms { font-size: 26px; color: var(--accent); }
.link-wait { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; animation: nvFadeUp var(--dur) var(--ease-out) both; }
.link-code { font: 600 32px/1 var(--mono); letter-spacing: .18em; color: #fff; }
.link-done { font: 700 18px var(--font); color: var(--ok); animation: nvFadeUp var(--dur) var(--ease-out) .3s both; }
.links-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-card-sm); }
.links-card a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px; border-bottom: 1px solid rgba(200,180,255,.07); color: #fff; transition: background var(--dur-fast); }
.links-card a:last-child { border-bottom: 0; }
.links-card a:hover { background: rgba(200,180,255,.05); color: #fff; }
.links-card .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.links-card .t b { font: 600 15.5px var(--font); }
.links-card .t span { font: 400 13px var(--font); color: var(--dim); }
.links-card > a > .ms { font-size: 22px; color: var(--dim); }

/* ---------- шторки и модалки ---------- */
.ov { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 24px; }
.mobile .ov, .ov.m { align-items: flex-end; padding: 0; }
.ov-back { position: absolute; inset: 0; background: rgba(6,3,16,.72); animation: nvFade var(--dur) var(--ease-out) both; }
.ov.closing .ov-back { animation: nvFadeOut .26s var(--ease-out) both; }
.ov-wrap { position: relative; width: 100%; max-width: 440px; max-height: calc(100% - 48px); display: flex; animation: nvScaleIn var(--dur) var(--ease-out) both; }
.ov.w600 .ov-wrap { max-width: 600px; } .ov.w500 .ov-wrap { max-width: 500px; }
.ov.closing .ov-wrap { animation: nvScaleOut .22s var(--ease-out) both; }
.ov.m .ov-wrap { max-width: 100%; max-height: 92%; animation: nvSheetUp .46s var(--ease-out) both; }
.ov.m.closing .ov-wrap { animation: nvSheetDown .28s var(--ease-out) both; }
.ov-panel { flex: 1; min-width: 0; display: flex; flex-direction: column; background: linear-gradient(180deg, #221650, #0f0a24 70%); border: 1px solid var(--card-b);
  border-radius: var(--r-card); box-shadow: 0 30px 80px -20px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.1); overflow: hidden; }
.ov.m .ov-panel { border-radius: 28px 28px 0 0; }
.grab { flex: none; height: 26px; display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: none; }
.grab span { width: 40px; height: 5px; border-radius: 9px; background: rgba(200,180,255,.3); }
.ov-head { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 24px 24px 16px; }
.ov.m .ov-head { padding: 4px 24px 16px; }
.ov-head .t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ov-head .t b { font: 800 22px/1.2 var(--font); }
.ov-head .t span { font: 400 14px/1.45 var(--font); color: var(--muted); text-wrap: pretty; }
.xbtn { flex: none; width: 38px; height: 38px; border: 1px solid var(--quiet-b); border-radius: 50%; background: none; color: var(--muted); display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: transform var(--dur-fast), color var(--dur-fast); }
.xbtn:hover { color: #fff; } .xbtn:active { transform: scale(.92); } .xbtn .ms { font-size: 20px; }
.ov-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 24px calc(24px + env(safe-area-inset-bottom)); }
.ov-col { display: flex; flex-direction: column; gap: 16px; }
.ov-load { display: flex; flex-direction: column; gap: 12px; }
.ov-load .sk { height: 46px; border-radius: 14px; }
.cn-top { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.qr-w { padding: 10px; border-radius: 16px; background: #fff; flex: none; animation: nvScaleIn var(--dur-slow) var(--ease-spring) .1s both; }
.qr-w svg { display: block; width: 128px; height: 128px; }
.cn-r { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 10px; }
.keybox { padding: 12px 14px; border-radius: 14px; background: var(--field); border: 1px solid var(--field-b); font: 500 13.5px/1.45 var(--mono); color: #fff; word-break: break-all; }
.keybox.term { padding: 14px; background: #07040f; color: #cfe9d9; line-height: 1.5; }
.keybox.term i { font-style: normal; color: var(--dim); }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.lbl { font: 600 14px var(--font); color: var(--muted); }
.plat { position: relative; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); padding: 4px; border-radius: 18px; background: var(--field); border: 1px solid var(--plate-b); }
.plat .hl { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 5); border-radius: 14px; background: var(--glass-btn); border: 1px solid rgba(178,152,255,.4);
  transition: transform var(--dur) var(--ease-spring); }
.plat button { position: relative; min-width: 0; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0;
  background: none; color: var(--muted); cursor: pointer; transition: color var(--dur-fast), transform var(--dur-fast); }
.plat button.on { color: #fff; }
.plat button:active { transform: scale(.95); }
.plat button .ms { font-size: 22px; }
.plat button > span:last-child { font: 600 11px/1.1 var(--font); text-align: center; }
.app-box { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.app-id { display: flex; align-items: center; gap: 12px; }
.app-id .ic { width: 44px; height: 44px; flex: none; border-radius: 13px; background: linear-gradient(150deg, #3a2a7a, #1a1240); border: 1px solid rgba(200,180,255,.2);
  display: grid; place-items: center; font: 800 15px var(--font); color: #fff; }
.app-id .t { display: flex; flex-direction: column; gap: 2px; }
.app-id .t span { font: 500 12.5px var(--font); color: var(--dim); }
.app-id .t b { font: 800 18px var(--font); }
.steps { display: flex; flex-direction: column; gap: 10px; }
.step { display: flex; gap: 12px; align-items: flex-start; animation: nvFadeUp var(--dur) var(--ease-out) both; }
.step i { width: 26px; height: 26px; flex: none; border-radius: 9px; background: var(--glass-btn); border: 1px solid rgba(178,152,255,.3); display: grid; place-items: center;
  font: 700 13px var(--font); font-style: normal; color: #d6c8ff; }
.step span { font: 400 14.5px/1.45 var(--font); color: var(--text-2); padding-top: 2px; }
.app-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 10px; }
.app-btns .btn { height: 50px; font-size: 14.5px; }
.incy-tip { display: flex; gap: 10px; align-items: flex-start; font: 400 13.5px/1.45 var(--font); color: var(--warn); }
.incy-tip .ms { font-size: 19px; }
.warnbox { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-plate); background: var(--warn-soft); border: 1px solid rgba(255,180,107,.3);
  font: 400 14.5px/1.5 var(--font); color: var(--text-2); }
.warnbox > .ms { font-size: 22px; color: var(--warn); }
.errbox { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-plate); background: var(--err-soft); border: 1px solid rgba(255,107,120,.45);
  font: 500 14.5px/1.45 var(--font); color: #ffd6da; animation: nvSlideDown var(--dur) var(--ease-out) both; }
.errbox > .ms { font-size: 22px; color: var(--err); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two .btn { height: 52px; font-size: 15px; }
.bill { display: flex; flex-direction: column; gap: 10px; padding: 16px; overflow: hidden; }
.bill .ln { display: flex; justify-content: space-between; gap: 10px; font: 500 15px var(--font); }
.bill .ln > span:first-child { color: var(--muted); }
.bill .ln b { font-weight: 700; }
.bill hr { border: 0; height: 1px; background: rgba(200,180,255,.1); margin: 0; }
.bill .ln.tot { font: 700 16px var(--font); }
.bill .ln.tot > span:first-child { color: #fff; }
.bill .ln.tot b { color: var(--ok); }
.need { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; margin: 2px -4px 0; border-radius: 14px; background: rgba(169,140,255,.14);
  border: 1px solid rgba(190,165,255,.3); animation: nvSlideDown var(--dur) var(--ease-out) .15s both; }
.need span { font: 600 14.5px var(--font); color: var(--text-2); }
.need b { font: 900 22px var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; }
.surplus { font: 500 13.5px var(--font); color: var(--ok); animation: nvSlideDown var(--dur-fast) both; }
.methods { position: relative; display: grid; gap: 10px; }
.methods .hl { position: absolute; top: 0; left: 0; bottom: 0; border-radius: 18px; border: 2px solid #a98cff; box-shadow: 0 0 0 4px rgba(169,140,255,.14), 0 12px 30px -10px rgba(169,140,255,.6);
  transition: transform var(--dur) var(--ease-spring); pointer-events: none; z-index: 2; }
.methods button { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border-radius: 18px; border: 1px solid var(--plate-b); background: rgba(255,255,255,.02);
  color: #fff; text-align: left; cursor: pointer; transition: transform var(--dur) var(--ease-spring), background var(--dur); }
.methods button.on { background: rgba(169,140,255,.12); }
.methods button:active { transform: scale(.96); }
.methods button > .ms { font-size: 26px; color: var(--muted); }
.methods button.on > .ms { color: #d6c8ff; }
.methods.many button.on { border-color: #a98cff; box-shadow: 0 0 0 1px #a98cff, 0 0 0 5px rgba(169,140,255,.14); }
.methods .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.methods .t b { font: 700 16px var(--font); }
.methods .t span { font: 400 12.5px var(--font); color: var(--dim); }
.warn-t { font: 400 13px/1.45 var(--font); color: var(--warn); }
.cap { font: 400 13.5px/1.45 var(--font); color: var(--muted); text-align: center; }
.offer-t { font: 400 12.5px var(--font); color: var(--dim); text-align: center; }
.wait { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 12px 0; text-align: center; animation: nvFadeUp var(--dur) var(--ease-out) both; }
.wait-ring { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.wait-ring .w { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #a98cff; opacity: 0; animation: nvWave 2.2s var(--ease-out) infinite; }
.wait-ring .w + .w { animation-delay: 1.1s; }
.wait-ring .r { position: absolute; inset: 10px; border-radius: 50%; border: 3px solid rgba(190,165,255,.85); animation: nvWait 1.8s ease-in-out infinite; }
.wait-ring .ms { position: relative; font-size: 34px; color: #d6c8ff; }
.wait .t { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.wait .t b { font: 700 19px var(--font); }
.wait .t span { font: 400 14px/1.45 var(--font); color: var(--muted); max-width: 320px; }
.succ { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 8px 0; text-align: center; }
.burst { position: relative; width: 96px; height: 96px; }
.burst .p { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.burst .p i { position: absolute; left: -4px; top: -4px; border-radius: 50%; opacity: 0; animation: nvBurst .9s var(--ease-out) both; }
.burst svg { position: relative; }
.succ > b { font: 800 20px/1.35 var(--font); max-width: 320px; animation: nvFadeUp var(--dur) var(--ease-out) .35s both; }
.succ > .btn { animation: nvFadeUp var(--dur) var(--ease-out) .5s both; }

/* ---------- тост ---------- */
/* width: max-content — иначе у left:50% тост сжимается до половины экрана и на телефоне рвётся в столбик. */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 40; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px;
  border-radius: 16px; background: #2a1d5c; border: 1px solid rgba(200,180,255,.28); box-shadow: 0 16px 40px -12px rgba(0,0,0,.8); font: 600 14.5px var(--font); color: #fff;
  animation: nvToast var(--dur) var(--ease-spring) both; transform: translate(-50%,0); }
.toast.up { bottom: calc(92px + env(safe-area-inset-bottom)); }
.toast > .ms { font-size: 20px; color: var(--ok); }
.toast.err > .ms { color: var(--err); }

.fatal { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; z-index: 1; }
.fatal .card { max-width: 420px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- старт, инструкция и подписка на канал (07.11.2026) ---------- */
.start-card, .gate-card { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.start-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.start-top .t, .gate-card .t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.start-top .t b, .gate-card .t b { font: 800 20px/1.2 var(--font); }
.start-top .t span, .gate-card .t span { font: 400 14px/1.45 var(--font); color: var(--muted); text-wrap: pretty; }
.start-x { border: 0; background: none; padding: 0; color: var(--muted); font: 600 14px var(--font); cursor: pointer; white-space: nowrap; }
.start-x:hover { color: #fff; }
.start-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.start-steps li { display: flex; gap: 12px; padding: 14px; border-radius: var(--r-plate); border: 1px solid var(--plate-b); background: var(--plate); }
.start-steps li > i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 800 13px var(--font); font-style: normal; background: rgba(255,255,255,.06); color: var(--muted); }
.start-steps li > i .ms { font-size: 18px; }
.start-steps li .t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.start-steps li .t b { font: 700 15px/1.3 var(--font); color: #fff; }
.start-steps li .t span { font: 400 13px/1.4 var(--font); color: var(--muted); text-wrap: pretty; }
.start-steps li.cur { border-color: rgba(180,155,255,.5); background: linear-gradient(180deg, rgba(84,60,168,.42), rgba(32,22,72,.5)); }
.start-steps li.cur > i { background: linear-gradient(180deg, #a98cff, #6a3fe0); color: #fff; }
.start-steps li.done > i { background: var(--ok-soft); color: var(--ok); }
.start-steps li.done .t b { color: var(--muted); }
.start-acts, .gate-acts, .g-acts { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.start-acts .mw, .g-mw { position: relative; display: flex; flex: 0 1 auto; }
.start-acts .btn, .gate-acts .btn, .g-acts .btn { height: 50px; padding: 0 22px; font-size: 15px; }
.gate-card { border-color: rgba(180,155,255,.45); }
.gate-ic { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }
.gate-ic .ms { font-size: 24px; }
.g-step { padding: 22px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
.g-num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font: 800 18px var(--font); }
.g-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.g-title { font: 800 20px/1.25 var(--font); color: #fff; }
.g-lead { font: 400 15px/1.5 var(--font); color: var(--muted); text-wrap: pretty; }
.g-list { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 6px; font: 400 14px/1.5 var(--font); color: var(--muted); }
.g-list b { color: #fff; font-weight: 700; }
.g-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font: 400 14px/1.45 var(--font); color: var(--text-2); }
.g-steps li { display: flex; gap: 12px; }
.g-steps li > i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font: 800 12px var(--font); font-style: normal; }
.g-tip { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); font: 500 13px/1.45 var(--font); color: var(--muted); }
.g-tip .ms { font-size: 18px; color: var(--accent); flex: none; }
.g-plats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px; padding: 2px; }
.g-plats button { flex: none; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--plate-b); background: rgba(255,255,255,.03); color: var(--muted); font: 600 14px var(--font); cursor: pointer; }
.g-plats button.on { border-color: rgba(180,155,255,.7); color: #fff; background: var(--accent-soft); }
.g-plats .ms { font-size: 18px; }
.g-app { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.g-app .btn { align-self: flex-start; height: 50px; }
.g-note { font: 400 13px/1.45 var(--font); color: var(--dim); flex: 1 1 220px; text-wrap: pretty; }
.g-help, .g-faq { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.g-help-head { display: flex; align-items: center; gap: 10px; }
.g-help-head .ms { color: var(--accent); font-size: 24px; }
.g-faq details { border-top: 1px solid var(--plate-b); }
.g-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font: 600 15px/1.35 var(--font); color: #fff; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary .ms { color: var(--dim); transition: transform .2s; flex: none; }
.g-faq details[open] summary .ms { transform: rotate(45deg); }
.g-faq details p { margin: 0 0 14px; font: 400 14px/1.55 var(--font); color: var(--muted); text-wrap: pretty; }
.guide-link { width: 100%; padding: 16px 18px; display: flex; align-items: center; gap: 14px; text-align: left; color: #fff; cursor: pointer; font: inherit; }
.guide-link > .ms:first-child { color: var(--accent); font-size: 26px; }
.guide-link .t { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.guide-link .t b { font: 700 16px/1.3 var(--font); }
.guide-link .t span { font: 400 13px/1.4 var(--font); color: var(--muted); }
.guide-link > .ms:last-child { color: var(--dim); }
@media (max-width: 560px) { .g-step { grid-template-columns: minmax(0, 1fr); gap: 12px; } .g-num { width: 34px; height: 34px; font-size: 16px; } }
