/* =====================================================================
   NO-INET — дизайн-система
   ===================================================================== */
:root {
  --bg: #05070d;
  --bg-2: #090d18;
  --surface: rgba(17, 24, 42, .62);
  --surface-solid: #0e1424;
  --surface-2: rgba(26, 36, 62, .55);
  --line: rgba(120, 160, 255, .12);
  --line-2: rgba(120, 160, 255, .22);
  --text: #eef3ff;
  --text-2: #b6c2dc;
  --muted: #7d8aa8;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #7c5cff;
  --gold: #fbbf24;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --grad: linear-gradient(135deg, #22d3ee 0%, #3b82f6 55%, #6366f1 100%);
  --grad-soft: linear-gradient(135deg, rgba(34, 211, 238, .16), rgba(59, 130, 246, .10) 50%, rgba(99, 102, 241, .14));
  --glow: 0 0 0 1px rgba(34, 211, 238, .25), 0 10px 40px -10px rgba(34, 211, 238, .45);
  --r: 20px;
  --r-sm: 14px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font: 500 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Фон: сетка, свечения, шум */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(34, 211, 238, .14), transparent 60%),
    radial-gradient(800px 600px at -10% 20%, rgba(59, 130, 246, .12), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(99, 102, 241, .12), transparent 60%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 160, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
::selection { background: rgba(34, 211, 238, .3); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.ico { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.ico-lg { width: 26px; height: 26px; }

/* Падающие звёзды */
.stars { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.stars i {
  position: absolute; width: 120px; height: 1px;
  background: linear-gradient(90deg, rgba(186, 230, 253, .9), transparent);
  transform: rotate(32deg); opacity: 0;
  animation: shoot 7s linear infinite;
}
@keyframes shoot {
  0% { opacity: 0; translate: 0 0; }
  8% { opacity: .9; }
  50% { opacity: 0; translate: 320px 200px; }
  100% { opacity: 0; translate: 320px 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .stars { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 13, .72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); font: 700 18px var(--display); letter-spacing: .02em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 24px rgba(34, 211, 238, .35); }
.nav { display: flex; gap: 6px; align-items: center; }
.nav-link { color: var(--text-2); font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 10px; }
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .04); text-decoration: none; }
@media (max-width: 860px) { .nav .nav-link { display: none; } }

/* --------------------------------------------------------------- buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 14px; border: 0;
  font: 700 15px var(--font); color: #04121a; cursor: pointer;
  background: var(--grad); box-shadow: 0 8px 30px -10px rgba(34, 211, 238, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .15s, box-shadow .2s, filter .2s, opacity .2s;
  text-decoration: none !important; white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 12px 36px -10px rgba(34, 211, 238, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: none; }
.btn-ghost {
  color: var(--text); background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .45); }
.btn-tg { color: #fff; background: linear-gradient(135deg, #2aabee, #1d8bd6); box-shadow: 0 8px 30px -10px rgba(42, 171, 238, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-soft { color: #a5f3fc; background: rgba(34, 211, 238, .1); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .28); }
.btn-soft:hover { background: rgba(34, 211, 238, .16); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .5); }
.btn-danger { color: #fecaca; background: rgba(248, 113, 113, .08); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .25); }
.btn-danger:hover { background: rgba(248, 113, 113, .16); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-icon { padding: 0; width: 40px; height: 40px; border-radius: 12px; }

/* ------------------------------------------------------------------ card */
.card {
  position: relative; padding: 24px; border-radius: var(--r);
  background: var(--surface);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -30px rgba(0, 0, 0, .8);
}
/* Градиентная рамка */
.card-glow::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(34, 211, 238, .55), rgba(59, 130, 246, .15) 40%, rgba(99, 102, 241, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.card-title { margin-bottom: 18px; }
.card-title .ico { color: var(--cyan); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 64px 0 40px; }
@media (min-width: 900px) { .hero { padding: 96px 0 64px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(34, 211, 238, .08); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .25);
  color: #a5f3fc; font-size: 14px; font-weight: 700;
}
.pill b { background: var(--grad); color: #04121a; padding: 2px 9px; border-radius: 999px; font-size: 12px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 {
  font: 700 clamp(34px, 6vw, 68px)/1.04 var(--display); letter-spacing: -0.03em;
  margin: 22px 0 20px;
}
.h1-tag { display: block; margin-top: 14px; font-size: .5em; line-height: 1.2; letter-spacing: -0.01em; color: var(--text); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--text-2); font-size: clamp(16px, 1.8vw, 19px); max-width: 560px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; max-width: 520px; margin: 0 auto; width: 100%; }
.hero-visual .ring {
  position: absolute; inset: -6%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(34, 211, 238, .5), transparent 30%, rgba(99, 102, 241, .4), transparent 70%);
  filter: blur(30px); opacity: .55; animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual img {
  position: relative; width: 100%; border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .3), 0 40px 120px -30px rgba(34, 211, 238, .5);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(9, 13, 24, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 40px -10px rgba(0, 0, 0, .8);
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.float-chip small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; }
.float-chip .ico { color: var(--cyan); }
.float-chip.c1 { top: 8%; left: -6%; animation: float 5s ease-in-out infinite; }
.float-chip.c2 { bottom: 12%; right: -6%; animation: float 7s ease-in-out infinite reverse; }
@media (max-width: 600px) { .float-chip.c1 { left: 0; } .float-chip.c2 { right: 0; } }

.stats-bar {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 56px;
  border-radius: var(--r); overflow: hidden; background: var(--line);
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 720px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }
.stats-bar > div { background: rgba(9, 13, 24, .85); padding: 22px 20px; text-align: center; }
.stats-bar b { display: block; font: 700 clamp(24px, 3vw, 32px) var(--display); }
.stats-bar span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* --------------------------------------------------------------- sections */
.section { padding: 72px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.eyebrow { display: inline-block; color: var(--cyan); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-title { font: 700 clamp(26px, 4vw, 44px)/1.1 var(--display); letter-spacing: -0.02em; margin-bottom: 14px; }
.section-sub { color: var(--text-2); margin: 0; font-size: 17px; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Бенто-сетка возможностей */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.feature { transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .35), 0 24px 60px -30px rgba(34, 211, 238, .5); }
.feature .f-ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .3); color: var(--cyan); font-size: 24px;
}
.feature .f-ico .ico { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--text-2); font-size: 15px; }
@media (min-width: 1000px) {
  .feature.big { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
}
.feature.big h3 { font: 700 24px/1.2 var(--display); }
.ops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ops span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; font-size: 14px; font-weight: 700;
  background: rgba(9, 13, 24, .7); box-shadow: inset 0 0 0 1px var(--line-2);
}
.ops span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.signal-viz { display: flex; align-items: flex-end; gap: 8px; height: 140px; justify-content: center; }
.signal-viz i { width: 26px; border-radius: 8px; background: var(--grad); box-shadow: 0 0 24px rgba(34, 211, 238, .45); animation: bars 2.4s ease-in-out infinite; }
.signal-viz i:nth-child(1) { height: 30%; }
.signal-viz i:nth-child(2) { height: 50%; animation-delay: .2s; }
.signal-viz i:nth-child(3) { height: 72%; animation-delay: .4s; }
.signal-viz i:nth-child(4) { height: 100%; animation-delay: .6s; }
@keyframes bars { 50% { opacity: .55; } }

/* Локации */
.locs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.loc {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s, transform .2s;
}
.loc:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .35); }
.loc img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .08); }
.loc b { display: block; font-weight: 700; font-size: 15px; }
.loc span { color: var(--muted); font-size: 12px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-center { justify-content: center; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13px; font-weight: 700; color: var(--text-2);
}
.chip .ico { width: 16px; height: 16px; color: var(--cyan); }

/* Тарифы */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 400px)); justify-content: center; }
.plan { display: flex; flex-direction: column; padding: 28px; }
.plan-note { color: var(--muted); font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.plan.highlight { background: linear-gradient(180deg, rgba(251, 191, 36, .07), var(--surface) 40%); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .55), 0 30px 80px -40px rgba(251, 191, 36, .5); }
.plan.highlight .plan-note {
  align-self: flex-start; color: #1a1300; background: linear-gradient(135deg, #fde68a, #fbbf24);
  padding: 4px 12px; border-radius: 999px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
}
.plan h3 { font: 700 22px var(--display); margin-bottom: 4px; }
.plan .price { font: 700 40px var(--display); letter-spacing: -0.03em; margin: 14px 0 6px; }
.plan .price small { font: 600 15px var(--font); color: var(--muted); letter-spacing: 0; }
.plan-warn { display: flex; gap: 8px; align-items: flex-start; color: #fca5a5; font-size: 13px; font-weight: 600; padding: 10px 12px; border-radius: 12px; background: rgba(248, 113, 113, .07); margin: 8px 0 4px; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; }
.plan li { display: flex; gap: 10px; padding: 7px 0; color: var(--text-2); font-size: 15px; }
.plan li .ico { color: var(--ok); width: 18px; height: 18px; margin-top: 3px; }
.plan-desc { color: var(--text-2); font-size: 14px; white-space: pre-line; margin: 6px 0 0; }
.plan-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }

/* Шаги */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.how-step { counter-increment: step; }
.how-step .num {
  font: 700 44px var(--display); line-height: 1; margin-bottom: 16px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9;
}
.how-step .num::before { content: '0' counter(step); }
.how-step h3 { font-size: 19px; margin-bottom: 8px; }
.how-step p { margin: 0; color: var(--text-2); font-size: 15px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .35); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(34, 211, 238, .1); color: var(--cyan); font-size: 20px; font-weight: 600; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); margin: 0; padding: 0 22px 20px; }

/* CTA */
.cta {
  position: relative; overflow: hidden; text-align: center; border-radius: 32px; padding: 64px 24px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(34, 211, 238, .25), transparent), var(--surface-solid);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .3), 0 40px 120px -50px rgba(34, 211, 238, .6);
}
.cta h2 { font: 700 clamp(26px, 4vw, 42px)/1.1 var(--display); margin-bottom: 14px; }
.cta p { color: var(--text-2); margin: 0 auto 28px; max-width: 520px; }
.cta .hero-actions { justify-content: center; }

.footer { padding: 36px 0 44px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 40px; }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--text-2); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ================================================================= AUTH */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 32px 16px 56px; }
.auth-shell { width: 100%; max-width: 980px; display: grid; border-radius: 28px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -50px rgba(34, 211, 238, .4); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
@media (min-width: 880px) { .auth-shell { grid-template-columns: 1fr 1fr; } }
.auth-brand {
  display: none; position: relative; padding: 44px; overflow: hidden;
  background: radial-gradient(500px 300px at 30% 0%, rgba(34, 211, 238, .2), transparent), linear-gradient(160deg, #0b1630, #060a14);
  border-right: 1px solid var(--line);
}
@media (min-width: 880px) { .auth-brand { display: flex; flex-direction: column; } }
.auth-brand img { width: 100%; max-width: 340px; border-radius: 22px; margin: 8px auto 28px; box-shadow: 0 0 0 1px rgba(34, 211, 238, .3), 0 30px 80px -30px rgba(34, 211, 238, .55); }
.auth-brand h2 { font: 700 26px/1.2 var(--display); margin-bottom: 18px; }
.auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.auth-points li { display: flex; gap: 12px; align-items: center; color: var(--text-2); font-size: 15px; }
.auth-points .ico { color: var(--cyan); }
.auth-card { padding: 36px 28px; }
@media (min-width: 560px) { .auth-card { padding: 44px; } }
.auth-card h2 { font: 700 26px var(--display); margin-bottom: 8px; }
.auth-card .sub { color: var(--text-2); margin: 0 0 26px; }
.tabs { display: flex; padding: 4px; margin-bottom: 24px; border-radius: 14px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--line); }
.tab { flex: 1; padding: 10px 6px; border: 0; background: transparent; color: var(--muted); font: 700 14px var(--font); border-radius: 10px; cursor: pointer; transition: color .2s, background .2s; }
.tab:hover { color: var(--text); }
.tab.active { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 7px; }
.input {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 0;
  background: rgba(0, 0, 0, .35); color: var(--text); font: 600 15px var(--font); outline: none;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s;
}
.input::placeholder { color: #56627f; }
.input:focus { box-shadow: inset 0 0 0 1px var(--cyan), 0 0 0 4px rgba(34, 211, 238, .12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); margin: 8px 0; }
.check input { margin-top: 3px; accent-color: var(--cyan); width: 16px; height: 16px; }
.link-btn { background: none; border: 0; color: var(--cyan); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.link-btn:hover { text-decoration: underline; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.mt { margin-top: 16px; }
.hidden { display: none !important; }
.ok { color: var(--ok); }

.alert { display: flex; gap: 10px; padding: 13px 15px; border-radius: 14px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.alert-error { background: rgba(248, 113, 113, .08); color: #fca5a5; box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .28); }
.alert-ok { background: rgba(52, 211, 153, .08); color: #86efac; box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .28); }
.alert-info { background: rgba(34, 211, 238, .07); color: #a5f3fc; box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .25); }
.alert > div { flex: 1; }

.spinner { width: 24px; height: 24px; border-radius: 50%; border: 3px solid rgba(34, 211, 238, .15); border-top-color: var(--cyan); animation: spin .8s linear infinite; display: inline-block; }
.loading-screen { min-height: 50vh; display: grid; place-items: center; }

/* ============================================================== CABINET */
.cab { display: grid; gap: 28px; padding: 28px 0 120px; }
@media (min-width: 1000px) { .cab { grid-template-columns: 250px 1fr; padding: 36px 0 64px; } }

/* Сайдбар (desktop) / нижняя панель (mobile) */
.side { display: contents; }
.side-inner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: flex; padding: 6px; border-radius: 20px;
  background: rgba(9, 13, 24, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -10px rgba(0, 0, 0, .9);
}
.side-user, .side-extra { display: none; }
.side-nav { display: flex; flex: 1; gap: 4px; }
.side-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 14px;
  color: var(--muted); font-size: 11px; font-weight: 700; transition: color .2s, background .2s;
}
.side-nav a:hover { color: var(--text); text-decoration: none; }
.side-nav a.active { color: var(--text); background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .3); }
.side-nav a.active .ico { color: var(--cyan); }
@media (min-width: 1000px) {
  .side { display: block; }
  .side-inner {
    position: sticky; top: 92px; left: auto; right: auto; bottom: auto;
    flex-direction: column; gap: 6px; padding: 14px; border-radius: 22px;
    background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  }
  .side-user { display: flex; align-items: center; gap: 12px; padding: 8px 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
  .avatar {
    width: 42px; height: 42px; border-radius: 14px; flex: none; display: grid; place-items: center;
    background: var(--grad); color: #04121a; font: 700 17px var(--display);
  }
  .side-user b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side-user span { color: var(--muted); font-size: 12px; font-weight: 600; }
  .side-nav { flex-direction: column; }
  .side-nav a { flex-direction: row; gap: 12px; padding: 12px 14px; font-size: 15px; }
  .side-extra { display: grid; gap: 8px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
}
.cab-main { min-width: 0; display: grid; gap: 20px; align-content: start; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.page-head h1 { font: 700 clamp(24px, 3.4vw, 34px) var(--display); letter-spacing: -0.02em; }
.page-head p { margin: 6px 0 0; color: var(--text-2); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 700; font-size: 14px; }
.back:hover { color: var(--text); text-decoration: none; }

.dash-grid { display: grid; gap: 20px; }
@media (min-width: 1180px) { .dash-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.stack { display: grid; gap: 20px; align-content: start; min-width: 0; }
.stack > *, .dash-grid > * { min-width: 0; }

/* Приветственная карточка с балансом */
.welcome {
  overflow: hidden; display: grid; gap: 20px; padding: 28px;
  background: radial-gradient(500px 240px at 100% 0%, rgba(34, 211, 238, .22), transparent 70%), radial-gradient(400px 200px at 0% 100%, rgba(99, 102, 241, .18), transparent 70%), var(--surface);
}
@media (min-width: 640px) { .welcome { grid-template-columns: 1fr auto; align-items: end; } }
.welcome .stat-label { margin-bottom: 4px; }
.welcome .stat-value { font: 700 clamp(34px, 5vw, 46px) var(--display); letter-spacing: -0.03em; }
.welcome .actions { margin: 0; flex-wrap: nowrap; }
@media (max-width: 639px) { .welcome .actions > * { flex: 1; } }

.stat-label { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.stat-value { font: 700 30px var(--display); letter-spacing: -0.02em; }

.status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status-ok { background: rgba(52, 211, 153, .1); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .25); }
.status-warn { background: rgba(251, 191, 36, .1); color: var(--warn); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .25); }
.status-bad { background: rgba(248, 113, 113, .1); color: var(--danger); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .25); }

/* Карточка подписки в списке */
.sub-row { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; color: var(--text); transition: transform .2s, box-shadow .2s; }
.sub-row:hover { text-decoration: none; transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .4), 0 24px 60px -30px rgba(34, 211, 238, .45); }
.sub-row-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sub-row-head h3 { font-size: 18px; }
.sub-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.sub-meta span { display: inline-flex; align-items: center; gap: 6px; }
.sub-meta .ico { width: 16px; height: 16px; color: var(--muted); }
.sub-meta .ok .ico { color: var(--ok); }
.chev { color: var(--muted); }
@media (max-width: 520px) { .sub-row { grid-template-columns: auto 1fr; } .chev { display: none; } }

/* Кольцо оставшихся дней */
.ring { position: relative; width: 74px; height: 74px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .track { stroke: rgba(120, 160, 255, .12); }
.ring .bar { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.ring .ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.ring .ring-txt b { font: 700 18px var(--display); }
.ring .ring-txt span { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.ring-lg { width: 120px; height: 120px; }
.ring-lg .ring-txt b { font-size: 28px; }
.ring-lg .ring-txt span { font-size: 11px; }

.buy-more {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; border-radius: var(--r);
  color: #a5f3fc; font-weight: 800; background: rgba(34, 211, 238, .05);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .2); border: 1px dashed rgba(34, 211, 238, .35);
  transition: background .2s;
}
.buy-more:hover { background: rgba(34, 211, 238, .1); text-decoration: none; }

/* Детали подписки */
.sub-hero { display: grid; gap: 24px; align-items: center; }
@media (min-width: 640px) { .sub-hero { grid-template-columns: auto 1fr; } }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 860px) { .kv-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kv > div { padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.kv .k { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.kv .v { font-weight: 800; font-size: 17px; margin-top: 4px; overflow-wrap: anywhere; }
.progress { height: 8px; border-radius: 999px; background: rgba(120, 160, 255, .1); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: var(--grad); box-shadow: 0 0 12px rgba(34, 211, 238, .6); }

.copy-row { display: flex; gap: 8px; }
.copy-row .input { font: 500 13px var(--mono); min-width: 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* Варианты выбора (сроки, оплата) */
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.choice {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left;
  padding: 14px 16px; border-radius: 14px; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text); font: inherit; transition: box-shadow .2s, background .2s, transform .15s;
}
.choice:hover { box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .45); }
.choice.active { background: var(--grad-soft); box-shadow: inset 0 0 0 2px var(--cyan), 0 10px 30px -12px rgba(34, 211, 238, .6); }
.choice.choice-hl:not(.active) { box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .5); }
.choice b { font-size: 15px; font-weight: 800; }
.choice span { color: #a5f3fc; font-weight: 800; font-size: 15px; }
.choice s { color: var(--muted); font-size: 12px; font-weight: 600; }
.choice em { font-style: normal; font-size: 11px; font-weight: 800; color: #04121a; background: var(--ok); padding: 1px 7px; border-radius: 6px; margin-top: 4px; }

/* Устройства */
.devices { display: grid; gap: 8px; }
.device { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--line); }
.device-ico { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .25); }
.device b { display: block; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device span { color: var(--muted); font-size: 13px; font-weight: 600; }
.slots { display: flex; gap: 5px; margin: 4px 0 16px; }
.slots i { flex: 1; height: 6px; border-radius: 4px; background: rgba(120, 160, 255, .12); }
.slots i.on { background: var(--grad); box-shadow: 0 0 8px rgba(34, 211, 238, .5); }

.addon { margin-top: 20px; padding: 18px; border-radius: 16px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px var(--line); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qty { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line-2); }
.qty-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 0; cursor: pointer;
  display: grid; place-items: center; background: transparent; color: var(--text);
  transition: background .15s;
}
.qty-btn:hover:not(:disabled) { background: rgba(34, 211, 238, .12); color: var(--cyan); }
.qty-btn:disabled { opacity: .3; cursor: not-allowed; }
.qty-btn .ico { width: 18px; height: 18px; }
.qty b { min-width: 30px; text-align: center; font: 700 18px var(--display); }

/* Переключатель */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.switch { position: relative; flex: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch i { display: block; width: 50px; height: 28px; border-radius: 999px; background: rgba(120, 160, 255, .18); transition: background .2s; position: relative; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.4, 1.4, .6, 1); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.switch input:checked + i { background: var(--grad); box-shadow: 0 0 16px rgba(34, 211, 238, .5); }
.switch input:checked + i::after { transform: translateX(22px); }
.switch input:focus-visible + i { outline: 2px solid var(--cyan); outline-offset: 3px; }

.chip-btn { cursor: pointer; font: 700 14px var(--font); border: 0; color: var(--text); }
.chip-btn:hover { box-shadow: inset 0 0 0 1px var(--cyan); color: #a5f3fc; }

/* История */
.tx { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.tx:last-child { border-bottom: 0; }
.tx-ico { width: 36px; height: 36px; border-radius: 11px; flex: none; display: grid; place-items: center; background: rgba(120, 160, 255, .08); color: var(--muted); }
.tx-ico.in { background: rgba(52, 211, 153, .1); color: var(--ok); }
.tx b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx span { color: var(--muted); font-size: 12px; font-weight: 600; }
.tx .amt { margin-left: auto; white-space: nowrap; font-weight: 800; }
.tx .amt.ok { color: var(--ok); }

/* Меню: на телефоне часть разделов уходит в «Ещё» */
.side-nav .m-only { display: none; }
@media (max-width: 999px) {
  .side-nav .m-hide { display: none; }
  .side-nav .m-only { display: flex; }
}
.avatar {
  width: 42px; height: 42px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: var(--grad); color: #04121a; font: 700 17px var(--display);
}
.avatar-sm { width: 36px; height: 36px; border-radius: 11px; font-size: 14px; }
.mono { font-family: var(--mono); }
.label-up { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.empty { display: grid; justify-items: center; gap: 6px; padding: 26px 10px; text-align: center; color: var(--muted); }
.empty .ico { color: var(--cyan); opacity: .8; }
.empty p { margin: 0 0 6px; font-weight: 700; }

/* Сегментные вкладки */
.seg { display: flex; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--line); }
.seg a, .seg button {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border-radius: 12px; border: 0;
  background: transparent; color: var(--text-2); font: 700 14px var(--font); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s;
}
.seg a:hover, .seg button:hover { color: var(--text); text-decoration: none; }
.seg .active { background: var(--grad); color: #04121a; box-shadow: 0 8px 24px -10px rgba(34, 211, 238, .8); }
.seg .ico { width: 18px; height: 18px; }
.seg-sm a, .seg-sm button { padding: 9px 10px; font-size: 13px; }
.seg-scroll { overflow-x: auto; scrollbar-width: none; }
.seg-scroll::-webkit-scrollbar { display: none; }
.seg-scroll a { flex: none; }
@media (max-width: 520px) { .seg:not(.seg-scroll) .ico { display: none; } .seg a, .seg button { padding: 10px 6px; font-size: 13px; } }

/* Способы оплаты */
.choices-wide { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.choice-media { flex-direction: row; align-items: center; gap: 14px; padding: 14px; }
.choice-media b { white-space: nowrap; }
.choice-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.choice-text span { color: var(--muted); font-size: 12px; font-weight: 600; }
.pay-tile {
  position: relative; width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  color: #fff; font: 800 15px var(--display); letter-spacing: -.02em; object-fit: cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 16px -6px rgba(0, 0, 0, .6);
}
.pay-tile .ico { width: 20px; height: 20px; }
.pay-sbp {
  position: absolute; right: -6px; bottom: -6px; padding: 1px 4px; border-radius: 6px; font: 800 8px var(--font); font-style: normal; letter-spacing: .02em;
  color: #fff; background: linear-gradient(90deg, #5b57a2, #d90751, #fab91f, #0fa8d6); box-shadow: 0 0 0 2px var(--surface-solid);
}
.tx-chip .pay-tile { width: 18px; height: 18px; border-radius: 5px; font-size: 8px; box-shadow: none; }
.tx-chip .pay-sbp { display: none; }

/* История операций */
.tx-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.tx-totals > div { padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--line); }
.tx-totals span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.tx-totals b { font: 700 18px var(--display); }
.tx-day { margin: 16px 0 2px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tx-main { flex: 1; min-width: 0; }
.tx-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 600; }
.tx-sub .status { padding: 1px 8px; font-size: 11px; }
.tx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px 2px 3px; border-radius: 8px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }
.tx-ico.t-in { background: rgba(52, 211, 153, .12); color: var(--ok); }
.tx-ico.t-sub { background: rgba(34, 211, 238, .1); color: var(--cyan); }
.tx-ico.t-gift { background: rgba(251, 191, 36, .1); color: var(--gold); }
.tx-ico.t-out { background: rgba(120, 160, 255, .08); color: var(--text-2); }
.tx .amt { font: 700 15px var(--display); }

/* Рефералы */
.copy-block + .copy-block { margin-top: 16px; }
.copy-label { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.copy-label b { font-size: 14px; }
.copy-label span { color: var(--muted); font-size: 12px; font-weight: 600; }
.ref-pct { text-align: right; }
.ref-pct b { display: block; font: 700 clamp(34px, 5vw, 48px) var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.ref-pct span { color: var(--muted); font-size: 13px; font-weight: 700; }
@media (max-width: 639px) { .ref-pct { text-align: left; } }
.steps-list { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.steps-list li { counter-increment: s; display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.steps-list li::before {
  content: counter(s); width: 28px; height: 28px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .3); color: var(--cyan); font: 700 13px var(--display);
}
.terms { display: grid; gap: 1px; border-radius: 14px; overflow: hidden; background: var(--line); }
.terms > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; background: rgba(9, 13, 24, .9); font-size: 14px; }
.terms span { color: var(--text-2); }

/* Подарки */
.gift-tariffs { display: grid; gap: 10px; }
.gift-tariff {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border-radius: 16px; border: 0; cursor: pointer; text-align: left;
  background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font: inherit; transition: box-shadow .2s, background .2s;
}
.gift-tariff:hover { box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .45); }
.gift-tariff.hl { box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .45); }
.gift-tariff.active { background: var(--grad-soft); box-shadow: inset 0 0 0 2px var(--cyan); }
.gift-tariff.hl.active { box-shadow: inset 0 0 0 2px var(--gold), 0 10px 30px -14px rgba(251, 191, 36, .6); }
.gift-ico { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(34, 211, 238, .1); color: var(--cyan); }
.gift-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gift-t em { align-self: flex-start; font-style: normal; font-size: 11px; font-weight: 800; color: var(--gold); background: rgba(251, 191, 36, .12); padding: 2px 8px; border-radius: 999px; margin-bottom: 4px; }
.gift-t b { font-size: 16px; }
.gift-t small { color: #93c5fd; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.radio { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px var(--line-2); position: relative; }
.active > .radio { background: var(--cyan); box-shadow: none; }
.active > .radio::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #04121a; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.gift-desc { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .2); color: var(--text-2); font-size: 14px; white-space: pre-line; }
textarea.input { resize: vertical; min-height: 60px; line-height: 1.5; }
.gift-card { display: grid; gap: 12px; }
.gift-card.fresh { margin-top: 16px; padding: 20px; border-radius: 18px; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .35); }
.gift-hello { display: flex; align-items: center; justify-content: center; gap: 10px; font: 700 18px var(--display); color: var(--cyan); }
.gift-code {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px; border-radius: 14px; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line-2); color: #93c5fd; font: 700 17px var(--mono); letter-spacing: .04em;
}
.gift-code:hover { box-shadow: inset 0 0 0 1px var(--cyan); }
.gift-code .ico { width: 16px; height: 16px; opacity: .6; }
.gift-activate { max-width: 520px; width: 100%; margin: 0 auto; display: grid; gap: 14px; justify-items: center; padding: 36px 24px; }
.gift-activate h2 { font: 700 22px var(--display); }
.gift-activate p { margin: 0; }
.gift-activate .btn, .gift-activate > div { width: 100%; }
.gift-input { text-align: center; font: 700 18px var(--mono); letter-spacing: .06em; padding: 16px; }
.big-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .3), 0 0 40px rgba(34, 211, 238, .25); color: var(--cyan); }
.gift-item h3 { font-size: 17px; }

/* Поддержка */
.ticket-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.ticket-row:last-child { border-bottom: 0; }
.ticket-row:hover { text-decoration: none; }
.ticket-row:hover b { color: var(--cyan); }
.ticket-row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.ticket-row .status { flex: none; }
.ticket-row .tx-sub { display: block; }
.ticket-last { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.chat-card { display: flex; flex-direction: column; }
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 58vh; min-height: 220px; overflow-y: auto; padding: 16px; margin: 0 -8px; border-radius: 16px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px var(--line); }
.chat-day { align-self: center; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--muted); font-size: 12px; font-weight: 700; }
.msg { max-width: min(80%, 560px); padding: 11px 14px 8px; border-radius: 18px; font-size: 15px; }
.msg-me { align-self: flex-end; background: linear-gradient(135deg, rgba(34, 211, 238, .22), rgba(59, 130, 246, .22)); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .3); border-bottom-right-radius: 6px; }
.msg-admin { align-self: flex-start; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); border-bottom-left-radius: 6px; }
.msg-from { display: flex; align-items: center; gap: 6px; color: var(--cyan); font-size: 12px; font-weight: 800; margin-bottom: 4px; }
.msg-from .ico { width: 14px; height: 14px; }
.msg-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-time { text-align: right; color: var(--muted); font-size: 11px; font-weight: 600; margin-top: 4px; }
.chat-input { display: flex; gap: 10px; align-items: flex-end; margin-top: 16px; }
.chat-input .input { flex: 1; }

/* Информация */
.rich { color: var(--text-2); font-size: 15px; line-height: 1.75; white-space: pre-line; overflow-wrap: anywhere; }
.rich b, .rich strong { color: var(--text); }
.rich a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.rich ol, .rich ul { margin: 6px 0; padding-left: 22px; white-space: normal; }
.rich li { margin: 4px 0; }
.rich li::marker { color: var(--cyan); font-weight: 700; }
.rich code { font-family: var(--mono); font-size: .9em; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.rich blockquote { margin: 8px 0; padding: 8px 14px; border-left: 3px solid var(--cyan); background: rgba(34, 211, 238, .05); border-radius: 0 10px 10px 0; }
.doc { padding: 28px; }
@media (min-width: 720px) { .doc { padding: 36px 40px; } }
.doc-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.faq-body { padding: 0 22px 20px; }
.tier { padding: 20px; }
.tier-head { display: flex; align-items: center; gap: 14px; }
.tier-head h3 { font-size: 17px; }
.tier-ico { width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); font: 700 16px var(--display); }
.tier-done .tier-ico, .tier-current .tier-ico { background: var(--grad); color: #04121a; box-shadow: 0 0 20px rgba(34, 211, 238, .4); }
.tier-current { box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .5), 0 20px 50px -30px rgba(34, 211, 238, .6); }
.tier-body { margin-top: 14px; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .2); }
.more-row { display: flex; align-items: center; gap: 14px; color: var(--text); }
.more-row:hover { text-decoration: none; box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .4); }
.more-row .f-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .3); }

/* Профиль и обязательная почта */
.alert-warn { background: rgba(251, 191, 36, .08); color: #fde68a; box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .35); align-items: center; }
.alert-warn .ico { color: var(--gold); }
.alert-warn b { color: #fef3c7; }
.alert-warn .small { color: #fcd34d; opacity: .85; font-weight: 600; }
.sticky-warn { margin: 0; flex-wrap: wrap; }
.sticky-warn > div:not(.banner-actions) { flex: 1 1 260px; }
.banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gate { max-width: 480px; width: 100%; display: grid; justify-items: center; text-align: center; gap: 12px; padding: 36px 28px; }
.gate h2 { font: 700 24px var(--display); }
.gate p { margin: 0; }
.gate .email-flow { width: 100%; text-align: left; margin-top: 8px; }
.side-user { color: var(--text); border-radius: 14px; transition: background .2s; }
.side-user:hover { text-decoration: none; background: rgba(255, 255, 255, .03); }
.info-row { display: grid; grid-template-columns: minmax(110px, auto) 1fr 34px; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row > b { text-align: right; overflow-wrap: anywhere; font-weight: 700; }
.card > .info-row:last-of-type { border-bottom: 0; }
.icon-btn { width: 34px; height: 34px; border-radius: 10px; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(255, 255, 255, .04); color: var(--muted); transition: color .2s, background .2s; }
.icon-btn:hover { color: var(--cyan); background: rgba(34, 211, 238, .1); }
.icon-btn .ico { width: 16px; height: 16px; }
.info-row .status { justify-self: end; grid-column: 3; white-space: nowrap; }
.info-row:has(.status) { grid-template-columns: auto 1fr auto; }
.notif { padding: 16px 0; border-bottom: 1px solid var(--line); }
.notif:last-child { border-bottom: 0; padding-bottom: 0; }
.notif:first-child { padding-top: 0; }
.notif b { display: block; margin-bottom: 2px; }
.notif-extra { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.select { width: auto; padding: 8px 12px; font-size: 14px; cursor: pointer; }
select.select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 16px center, right 11px center; background-size: 5px 5px; background-repeat: no-repeat; }
select.select option { background: var(--surface-solid); }
.acc-row { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.acc-row b { display: block; }
.acc-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); z-index: 100;
  display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 14px;
  background: rgba(14, 20, 36, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .35), 0 20px 50px -10px rgba(0, 0, 0, .8);
  font-size: 14px; font-weight: 700; animation: toast-in .25s ease;
}
@media (min-width: 1000px) { .toast { bottom: 28px; } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }
