:root {
  --bg: #07051c;
  --bg2: #0f0c29;
  --card: rgba(22, 18, 60, .72);
  --card-solid: #151238;
  --card-hi: rgba(36, 30, 92, .78);
  --line: rgba(146, 136, 255, .16);
  --line-hi: rgba(170, 160, 255, .32);
  --text: #eef0ff;
  --muted: #a3a8d6;
  --dim: #7177ab;
  --gold: #ffc14a;
  --gold2: #ff9f2e;
  --blue: #5b8cff;
  --violet: #8b5cf6;
  --green: #3ddc97;
  --red: #ff6b81;
  --tg: #2aabee;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px rgba(3, 2, 20, .55);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Baloo 2", "Manrope", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
/* iPhone: вырез настоящий, но не даём ему раздуться. Остальные телефонные браузеры
   (Chrome, Xiaomi, Samsung, Firefox, Opera, Яндекс, Edge, Huawei и встроенные)
   уже начинают страницу под своей шапкой — повторный отступ даёт пустую полосу. */
html.is-ios {
  --safe-t: min(env(safe-area-inset-top, 0px), 62px);
  --safe-b: min(env(safe-area-inset-bottom, 0px), 40px);
}
html.is-standalone:not(.is-ios) {
  --safe-t: min(env(safe-area-inset-top, 0px), 48px);
  --safe-b: min(env(safe-area-inset-bottom, 0px), 48px);
}
html:not(.is-ios):not(.is-standalone) {
  --safe-t: 0px;
  --safe-b: 0px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); touch-action: pan-x pan-y; scrollbar-width: thin; scrollbar-color: #ffc15c transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; background: transparent; }
::-webkit-scrollbar-track,
::-webkit-scrollbar-track-piece,
::-webkit-scrollbar-corner { background: transparent; border: 0; box-shadow: none; }
::-webkit-scrollbar-thumb { background: #ffc15c; border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 500 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }

.layer-card, .chips { scrollbar-width: thin; scrollbar-color: #ffc15c transparent; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input { font: inherit; color: inherit; }
svg { width: 20px; height: 20px; flex: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
p { margin: 0; }

/* --- небо --- */
.sky { position: fixed; top: 0; left: 0; bottom: 0; width: 100vw; z-index: 0; pointer-events: none; overflow: hidden; }
.sky-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.sky-glow--a { width: 620px; height: 620px; left: -180px; top: -200px; background: radial-gradient(circle, #4c1d95 0%, transparent 70%); }
.sky-glow--b { width: 700px; height: 700px; right: -260px; top: 30%; background: radial-gradient(circle, #1e3a8a 0%, transparent 70%); }
.sky-stars {
  position: absolute; inset: -50%;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 140px 80px, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 260px 170px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 330px 40px, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 90px 220px, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 400px 260px, rgba(255,255,255,.9) 50%, transparent 51%);
  background-size: 420px 300px;
  animation: drift 160s linear infinite;
  opacity: .7;
}
@keyframes drift { to { transform: translate3d(-420px, -300px, 0); } }
@media (prefers-reduced-motion: reduce) { .sky-stars { animation: none; } }

/* --- кнопки --- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: 18px;
  font-weight: 500; font-size: 16px; white-space: nowrap;
  transition: transform .16s ease, box-shadow .25s ease, background .2s ease, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 14px; }
.btn--lg { height: 58px; padding: 0 30px; font-size: 18px; border-radius: 20px; }
.btn--block { width: 100%; }
.btn--gold {
  background: linear-gradient(120deg, #ffe9b4, #ffc15c 48%, #f08a28);
  color: #1d1305;
  box-shadow: 0 12px 28px rgba(255, 154, 46, .32), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.btn--gold::after, .btn--blue::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: shine 3.6s ease-in-out infinite 1s;
}
@keyframes shine { 0% { transform: translateX(-130%); } 45%, 100% { transform: translateX(130%); } }
.btn--fly::before {
  content: ""; position: absolute; top: 50%; left: -30px; z-index: -1; width: 24px; height: 24px; margin-top: -12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%232a1604' d='M9.4 12.3c0-.7.6-1.3 1.3-1.3H20c4 0 7.6 2 9.8 5-2.2 3-5.8 5-9.8 5h-9.3c-.7 0-1.3-.6-1.3-1.3ZM11.4 11.2 8.2 6.4h3.4l4.6 4.8ZM11.4 20.8 8.2 25.6h3.4l4.6-4.8Z'/%3E%3Cpath fill='%23fff4d0' d='M8 13.6C5.5 14 3.4 14.8 2 16c1.4 1.2 3.5 2 6 2.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .55;
  animation: flyAcross 4.2s linear infinite;
}
@keyframes flyAcross { 0% { left: -30px; opacity: 0; } 10%, 88% { opacity: .55; } 100% { left: calc(100% + 6px); opacity: 0; } }
.btn--gold:hover { box-shadow: 0 16px 36px rgba(255, 154, 46, .45), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn--glass { background: rgba(255,255,255,.06); border: 1px solid rgba(255, 214, 140, .22); }
.btn--glass:hover { background: rgba(255,255,255,.1); border-color: rgba(255, 214, 140, .4); }
.btn--ghost { color: var(--muted); }
.btn--ghost:hover { color: var(--text); }
.btn--blue { background: linear-gradient(120deg, #d3f8ff, #7ad8ff); color: #04202f; box-shadow: 0 12px 26px rgba(80, 200, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .8); }
.btn--tg { background: linear-gradient(180deg, #3ec4f5 0%, #2aabee 46%, #229ed9 100%); color: #fff; box-shadow: 0 12px 26px rgba(42, 171, 238, .38), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--tg:hover { box-shadow: 0 16px 34px rgba(42, 171, 238, .52), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--tg:not(.top-tg) { line-height: 1; gap: 6px; }
.btn--tg:not(.top-tg) > svg { display: block; width: 1.1em; height: 1.1em; }
.btn--danger { background: rgba(255,107,129,.12); color: var(--red); border: 1px solid rgba(255,107,129,.28); }
.btn svg { width: 18px; height: 18px; }
.link { color: #9db4ff; font-weight: 700; font-size: 14px; }
.link:hover { color: #c3d1ff; }
.link--center { display: block; margin: 12px auto 0; }

/* --- шапка --- */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 24px;
  padding: calc(14px + var(--safe-t)) 20px 14px;
  background: linear-gradient(180deg, rgba(7,5,28,.92) 0%, rgba(7,5,28,.72) 100%);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(146,136,255,.08);
}
body.is-menu { overflow: hidden; }
body.is-menu .top { z-index: 90; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-rocket { position: relative; display: grid; place-items: center; width: 56px; height: 56px; flex: none; }
.brand-space { position: absolute; inset: -18px -16px -18px -6px; z-index: 0; pointer-events: none; }
.brand-ship { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; animation: brandFly 3.6s ease-in-out infinite; }
.brand-rocket svg {
  width: 56px; height: 56px; overflow: visible;
  filter: drop-shadow(0 0 8px rgba(255, 160, 60, .55));
}
.brand-rocket .ship-fire { transform-box: fill-box; transform-origin: 100% 50%; animation: brandFlame .55s ease-in-out infinite alternate; }
.brand-rocket .ship-core { transform-box: fill-box; transform-origin: 100% 50%; animation: brandCore .34s ease-in-out infinite alternate; }
.brand-space i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; box-shadow: 6px 0 0 -1px rgba(255, 244, 210, .7), 0 0 6px #fff;
  opacity: 0; animation: brandStar 2.1s linear infinite;
}
.brand-space i:nth-child(1) { top: 46%; left: 8%; }
.brand-space i:nth-child(2) { top: 12%; left: 34%; background: #ffe9a8; animation-delay: .35s; }
.brand-space i:nth-child(3) { top: 82%; left: 28%; background: #d7e4ff; box-shadow: 6px 0 0 -1px rgba(180, 210, 255, .7); animation-delay: .7s; }
.brand-space i:nth-child(4) { top: 22%; left: 62%; width: 2px; height: 2px; animation-delay: 1.05s; }
.brand-space i:nth-child(5) { top: 74%; left: 58%; width: 2px; height: 2px; background: #c4b5fd; animation-delay: 1.4s; }
.brand-space i:nth-child(6) { top: 40%; left: 88%; width: 11px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, transparent, #ffe08a); box-shadow: none; animation-delay: .15s; }
.brand-space i:nth-child(7) { top: 18%; left: 78%; width: 5px; height: 5px; background: #fff; box-shadow: 0 0 6px #fff; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); animation-delay: 1.7s; }
.brand-space i:nth-child(8) { top: 68%; left: 92%; width: 8px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, transparent, #b9d4ff); box-shadow: none; animation-delay: .95s; }
@keyframes brandFly { 0%, 100% { transform: translateY(3px); } 50% { transform: translateY(-3px); } }
@keyframes brandFlame { from { transform: scaleX(.9); opacity: .82; } to { transform: scaleX(1); opacity: 1; } }
@keyframes brandCore { from { transform: scaleX(.72); } to { transform: scaleX(1); } }
@keyframes brandStar { 0% { transform: translateX(4px); opacity: 0; } 16% { opacity: .95; } 100% { transform: translateX(-28px); opacity: 0; } }
.brand:hover .brand-ship { animation-duration: 2.4s; }
.brand-name { position: relative; top: 1.6px; font: 800 34px/1 var(--font-display); letter-spacing: .01em; color: #f4f2ff; text-shadow: 0 0 22px rgba(139, 92, 246, .45); }
.brand-name b {
  margin: 0; font-weight: 800;
  background: linear-gradient(120deg, #ffe9b4, #ffc15c 46%, #f08a28, #ffe9b4);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 12px rgba(255, 170, 60, .35));
  animation: shimmer 6s ease-in-out infinite;
}
.top-nav { display: flex; gap: 26px; margin: 0 auto; color: var(--muted); font-weight: 700; }
.top-nav a:hover { color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.burger {
  position: relative; z-index: 92; display: none; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(167, 139, 250, .34), rgba(49, 32, 110, .88) 58%, rgba(24, 18, 58, .92));
  border: 1px solid rgba(196, 181, 253, .42);
  box-shadow: 0 8px 22px rgba(76, 40, 160, .32), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.burger:hover { border-color: rgba(216, 196, 255, .7); box-shadow: 0 0 22px rgba(139, 92, 246, .4), inset 0 1px 0 rgba(255, 255, 255, .28); }
.burger i {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 99px;
  background: #f7f4ff;
  box-shadow: 0 0 8px rgba(196, 181, 253, .7);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1), opacity .2s, top .35s, left .35s, right .35s;
}
.burger i:nth-child(1) { top: 15px; }
.burger i:nth-child(2) { top: 21px; left: 13px; right: 17px; }
.burger i:nth-child(3) { top: 27px; }
body.is-menu .burger i:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.is-menu .burger i:nth-child(2) { opacity: 0; transform: scaleX(.3); }
body.is-menu .burger i:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.is-mobile .burger { display: grid; }
.is-desktop .burger { display: none; }
@media (max-width: 1100px) {
  .is-desktop .burger { display: grid; }
  .is-desktop .top { gap: 12px; }
}
body.is-authpage .burger,
.top:has(#top-me:not([hidden])) .burger { display: none !important; }

.menu { position: fixed; inset: 0; z-index: 88; }
.menu-back { position: absolute; inset: 0; background: rgba(5, 3, 18, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .25s ease; }
.menu-card {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 390px);
  display: flex; flex-direction: column; gap: 8px;
  padding: calc(86px + var(--safe-t)) 18px calc(24px + var(--safe-b));
  overflow: auto;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(255, 193, 74, .16), transparent 50%),
    radial-gradient(90% 50% at 100% 100%, rgba(142, 182, 255, .12), transparent 55%),
    linear-gradient(180deg, rgba(24, 18, 62, .97), rgba(10, 8, 28, .98));
  border-right: 1px solid rgba(255, 193, 74, .22);
  box-shadow: 24px 0 60px rgba(3, 2, 16, .55);
  animation: menuIn .42s cubic-bezier(.2, .9, .3, 1);
}
.menu-card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 180px; pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,.7) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 18%, rgba(255,224,138,.8) 0 1.2px, transparent 2.2px),
    radial-gradient(circle at 86% 42%, rgba(196,181,253,.75) 0 1px, transparent 2px),
    radial-gradient(circle at 34% 52%, rgba(142,182,255,.65) 0 1px, transparent 2px);
  opacity: .55;
}
@keyframes menuIn { from { transform: translateX(-28px); opacity: .4; } }
.menu-nav {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
}
.menu-nav a {
  color: var(--muted); font-weight: 700; font-size: 20px; line-height: 1.2;
  padding: 12px 6px;
  animation: apIn .4s cubic-bezier(.2, .9, .3, 1) both;
}
.menu-nav a:nth-child(1) { animation-delay: .04s; }
.menu-nav a:nth-child(2) { animation-delay: .08s; }
.menu-nav a:nth-child(3) { animation-delay: .12s; }
.menu-nav a:nth-child(4) { animation-delay: .16s; }
.menu-nav a:nth-child(5) { animation-delay: .2s; }
.menu-nav a:hover { color: var(--text); }
.menu-nav a:active { color: #ffe08a; }
.menu-cta {
  display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 18px;
  border-top: 1px solid rgba(255, 193, 74, .16);
  animation: apIn .5s cubic-bezier(.2, .9, .3, 1) .3s both;
}
.me-chip { display: flex; align-items: center; gap: 10px; padding: 0 14px 0 0; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.me-ava { position: relative; display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: #1b1540; flex: none; }
.me-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.me-photo { position: absolute; inset: 0; }
.top-tg { width: 40px; height: 40px; padding: 0; border-radius: 14px; }
.top-tg span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.me-name { font-weight: 700; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-bar { position: relative; z-index: 31; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; background: rgba(42,171,238,.14); border-bottom: 1px solid rgba(42,171,238,.3); font-size: 13px; font-weight: 600; }
.tg-bar-btn { padding: 6px 12px; border-radius: 999px; background: var(--tg); color: #fff; font-weight: 800; }

main { position: relative; z-index: 1; }

/* --- загрузка --- */
.boot { display: grid; place-items: center; min-height: 60vh; }
body:not(.is-loading) .boot { display: none; }
.boot-orb { width: 54px; height: 54px; border-radius: 50%; border: 3px solid rgba(255,193,74,.18); border-top-color: var(--gold); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- гость --- */
.hero { display: grid; gap: 36px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(61,220,151,.1); color: var(--green); border: 1px solid rgba(61,220,151,.25); font-weight: 700; font-size: 13px; }
.eyebrow svg { width: 16px; height: 16px; }
.hero h1 { margin-top: 18px; font-size: clamp(36px, 5.4vw, 64px); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--gold), #ff8a5b 60%, #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: flex; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero-facts li { flex: 1; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.hero-facts b { display: block; font: 800 22px/1.1 var(--font-display); color: var(--gold); }
.hero-facts span { color: var(--muted); font-size: 13px; }
.hero-art { --rx: 0deg; --ry: 0deg; position: relative; display: grid; place-items: center; perspective: 900px; }
.hero-art img {
  position: relative; z-index: 2; width: 100%; max-width: 420px; height: auto; border-radius: 36px;
  box-shadow: 0 30px 80px rgba(76,29,149,.55), 0 0 0 1px rgba(255, 214, 140, .28), 0 0 60px rgba(255, 170, 70, .18);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .25s ease-out;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hero-aura { position: absolute; inset: 4%; z-index: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255, 180, 80, .32), rgba(139, 92, 246, .22) 45%, transparent 70%); filter: blur(10px); animation: aura 4.5s ease-in-out infinite; }
@keyframes aura { 0%, 100% { opacity: .65; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.06); } }
.hero-orbit { position: absolute; z-index: 1; border-radius: 50%; border: 1px solid rgba(255, 214, 140, .2); pointer-events: none; }
.hero-orbit--a { inset: -7%; animation: spin 26s linear infinite; }
.hero-orbit--b { inset: -16%; border-style: dashed; border-color: rgba(167, 139, 250, .22); animation: spin 44s linear infinite reverse; }
.hero-orbit i { position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, #ffc14d 55%, #ff8a2e); box-shadow: 0 0 14px rgba(255, 190, 90, .9); }
.hero-orbit--b i { top: 12%; left: 82%; width: 9px; height: 9px; background: radial-gradient(circle at 35% 30%, #e8fbff, #7ad8ff 55%, #2a4fc4); box-shadow: 0 0 12px rgba(122, 216, 255, .9); }

.block { margin-top: 72px; scroll-margin-top: 120px; }
.block h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 24px; }
.features { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) {
  .features, .plans--guest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.feature { padding: 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(36, 28, 78, .94), rgba(16, 12, 40, .96)); border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.feat-ico {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: var(--accent);
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--accent) 34%, transparent), color-mix(in srgb, var(--accent) 10%, transparent) 70%);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 22%, transparent), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .35s cubic-bezier(.2,.9,.3,1);
}
.feat-ico svg { width: 38px; height: 38px; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 55%, transparent)); }
.feature:hover .feat-ico { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.feature h3 { margin-top: 16px; font-size: 20px; }
.feature p { margin-top: 6px; color: var(--muted); }
.note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.block h2 + .block-lead { margin-top: -10px; }
.block-lead { max-width: 720px; margin: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.hero-gift { max-width: 520px; margin: 18px 0 0; padding: 12px 14px; border-radius: 16px; background: linear-gradient(120deg, rgba(255, 193, 74, .12), rgba(196, 181, 253, .08)); border: 1px solid rgba(255, 193, 74, .28); color: var(--muted); font-size: 14px; line-height: 1.45; text-align: left; }
.hero-gift b { color: #fff3d6; font-weight: 800; }
.hero-gift b svg { display: inline-block; width: 16px; height: 16px; margin: 0 6px 0 0; color: var(--gold); vertical-align: -2px; }
.plan-save { color: #ffd27a; font-size: 13px; font-weight: 700; }
.plan-save.is-base { color: var(--dim); font-weight: 600; }
.cta-strip { display: grid; gap: 20px; align-items: center; padding: 30px; border-radius: 26px; background: radial-gradient(120% 160% at 100% 0%, rgba(255, 176, 60, .2), transparent 55%), radial-gradient(100% 140% at 0% 100%, rgba(196, 181, 253, .16), transparent 60%), linear-gradient(180deg, rgba(36, 28, 78, .94), rgba(16, 12, 40, .96)); border: 1px solid rgba(255, 193, 74, .34); }
.cta-strip h2 { margin-bottom: 8px; }
.cta-copy p { max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.cta-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.is-desktop .cta-strip { grid-template-columns: minmax(0, 1fr) auto; padding: 36px 40px; }
.is-mobile .cta-strip { padding: 22px 18px; text-align: center; }
.is-mobile .cta-acts { flex-direction: column; }
.is-mobile .cta-acts .btn { width: 100%; }
.is-mobile .hero-gift { margin-left: auto; margin-right: auto; }
.is-mobile .block-lead { font-size: 15px; }
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(36, 28, 78, .94), rgba(16, 12, 40, .96)); border: 1px solid rgba(180, 160, 255, .22); }
.steps li > b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 193, 74, .14); color: var(--gold); font: 800 20px/1 var(--font-display); }
.steps li:nth-child(2) > b { background: rgba(196, 181, 253, .16); color: #c4b5fd; }
.steps li:nth-child(3) > b { background: rgba(142, 182, 255, .16); color: #8eb6ff; }
.steps h3 { font-size: 19px; }
.steps p { margin-top: 4px; color: var(--muted); }
.foot { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 72px 0 0; padding: 28px 0 calc(28px + var(--safe-b)); border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; text-align: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.foot a:hover { color: var(--text); }
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0 0; font: 800 26px/1 var(--font-display); letter-spacing: .01em; color: #f4f2ff; }
.foot-name b { font-weight: 800; background: linear-gradient(120deg, #ffe9b4, #ffc15c 46%, #f08a28); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- тарифы --- */
.plans { display: grid; gap: 14px; }
.plans--guest { grid-template-columns: 1fr; padding-top: 12px; }
.plan {
  --accent: #c4b5fd;
  position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 22px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(36, 28, 78, .94), rgba(16, 12, 40, .96));
  border: 1px solid rgba(180, 160, 255, .22);
}
.plan.is-best {
  --accent: #ffc14a;
  background: linear-gradient(180deg, rgba(255, 193, 74, .16), rgba(22, 16, 48, .96) 48%);
  border-color: rgba(255, 176, 32, .7);
}
.plan-meter { display: block; height: 6px; margin-top: 12px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.plan-meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #c4b5fd, #ffc14a); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.plan.is-in .plan-meter i { width: calc(var(--fill) * 1%); }
.plan-acts { margin-top: auto; }
.plan-tag { position: absolute; top: -11px; right: 16px; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #2a1600; font-size: 12px; font-weight: 800; }
.plan-name { font: 800 22px/1.1 var(--font-display); }
.plan-term { color: var(--muted); font-weight: 600; }
.plan-price { margin-top: 10px; font: 800 34px/1 var(--font-display); }
.plan-price small { font-size: 16px; color: var(--muted); font-family: var(--font); font-weight: 600; margin-left: 4px; }
.plan-per { color: var(--dim); font-size: 13px; }
.plan-acts { display: grid; gap: 8px; margin-top: 14px; }

/* --- вход --- */
.auth { display: flex; flex-direction: column; gap: 14px; }
.auth-kicker { margin: 0; color: #fff; font-weight: 700; font-size: 18px; line-height: 1.3; text-align: center; }
.auth-later { margin: 0; color: var(--dim); font-size: 13px; line-height: 1.35; text-align: center; }
.auth-tabs, .seg {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px;
  border-radius: 16px; background: rgba(10, 8, 26, .7); border: 1px solid rgba(255, 214, 140, .16);
}
.auth-tabs::before, .seg::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 12px;
  background: linear-gradient(120deg, #ffe08a, #ff9a2e);
  box-shadow: 0 6px 16px rgba(255, 154, 46, .35), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .42s cubic-bezier(.3, 1.4, .5, 1);
}
.auth-tabs.is-alt::before, .seg.is-alt::before { transform: translateX(100%); }
.auth-tabs button, .seg button { position: relative; z-index: 1; height: 42px; border-radius: 12px; font-weight: 500; font-size: 16px; color: var(--muted); transition: color .3s ease; }
.auth-tabs button.is-on, .seg button.is-on { color: #1d1305; }
.seg { width: 230px; border-radius: 14px; }
.topup-seg { width: 100%; max-width: 420px; margin-top: 14px; }
.seg::before { border-radius: 10px; }
.seg button { height: 34px; font-size: 14px; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 16px; border-radius: 16px; background: rgba(7,5,28,.6); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.field:focus-within { border-color: rgba(255,193,74,.55); box-shadow: 0 0 0 4px rgba(255,193,74,.1); }
.field svg { color: var(--dim); }
.field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 16px; }
.field input::placeholder { color: var(--dim); }
.code-box { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; border-radius: 16px; background: rgba(91,140,255,.08); border: 1px solid rgba(91,140,255,.25); }
.code-hint { color: var(--muted); font-size: 14px; text-align: center; word-break: break-word; }
.code-hint b { color: var(--text); }
.code-input { width: 100%; max-width: 280px; height: 60px; border-radius: 14px; background: rgba(7,5,28,.7); border: 1px solid var(--line-hi); text-align: center; font: 800 28px/60px var(--font-display); letter-spacing: .28em; padding-left: .28em; outline: 0; }
.code-input:focus { border-color: var(--gold); }
.form-err { padding: 10px 14px; border-radius: 12px; background: rgba(255,107,129,.1); border: 1px solid rgba(255,107,129,.3); color: #ffb3c0; font-size: 14px; font-weight: 600; }
.form-ok { padding: 10px 14px; border-radius: 12px; background: rgba(61,220,151,.1); border: 1px solid rgba(61,220,151,.3); color: #9ff0c9; font-size: 14px; font-weight: 600; }
.auth-gift { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.35; text-align: center; }
.auth-gift svg { display: inline-block; width: 16px; height: 16px; margin: 0 6px 0 0; vertical-align: -3px; color: var(--gold); }
.auth a.btn--tg { height: auto; min-height: 50px; padding: 12px 16px; white-space: normal; text-align: center; line-height: 1.25; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* --- отдельная страница входа --- */
@property --ap-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.ap { position: relative; min-height: calc(100vh - 120px); min-height: calc(100dvh - 120px); display: grid; place-items: center; padding: 20px 0 48px; }
.ap-scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ap-wrap { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; width: 100%; max-width: 1080px; }
.ap-planet { position: absolute; border-radius: 50%; }
.ap-planet--big {
  left: -180px; bottom: -260px; width: 500px; height: 500px; opacity: .8;
  background: radial-gradient(circle at 70% 24%, #ffe2a0 0%, #ff9f45 9%, #a26bf0 34%, #5a3cc0 56%, #241a6a 78%, #0f0b30 100%);
  box-shadow: 0 0 120px rgba(139, 92, 246, .3), inset -50px -70px 130px rgba(5, 3, 20, .85);
  animation: apDrift 18s ease-in-out infinite alternate;
}
.ap-planet--big i { position: absolute; left: 50%; top: 50%; width: 170%; height: 34%; border-radius: 50%; border: 2px solid rgba(255, 214, 140, .35); box-shadow: 0 0 22px rgba(255, 193, 74, .25); transform: translate(-50%, -50%) rotate(-18deg); }
.ap-planet--moon {
  right: 8%; top: 14%; width: 110px; height: 110px;
  background: radial-gradient(circle at 34% 30%, #eef4ff 0%, #a9c2ff 30%, #5b6fd8 64%, #23206a 100%);
  box-shadow: 0 0 60px rgba(142, 182, 255, .35), inset -14px -18px 34px rgba(6, 4, 26, .6);
  animation: apFloat 9s ease-in-out infinite;
}
.ap-orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(196, 181, 253, .16); }
.ap-orbit--a { width: 900px; height: 900px; margin: -450px 0 0 -450px; animation: spin 80s linear infinite; }
.ap-orbit--b { width: 1300px; height: 1300px; margin: -650px 0 0 -650px; border-style: solid; border-color: rgba(255, 214, 140, .07); animation: spin 140s linear infinite reverse; }
.ap-orbit i { position: absolute; top: 50%; left: -7px; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, #ffc14d 55%, #ff8a2e); box-shadow: 0 0 18px rgba(255, 190, 90, .9); }
.ap-orbit--b i { top: 14%; left: 84%; width: 10px; height: 10px; background: radial-gradient(circle at 35% 30%, #e8fbff, #7ad8ff 55%, #2a4fc4); box-shadow: 0 0 14px rgba(122, 216, 255, .9); }
.ap-comet { position: absolute; top: 0; left: 0; width: 160px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 236, 190, .9)); filter: drop-shadow(0 0 6px rgba(255, 214, 140, .8)); opacity: 0; transform: rotate(-24deg); animation: apComet 7s linear infinite; }
.ap-comet:nth-of-type(1) { top: 18%; left: 70%; animation-delay: 1s; }
.ap-comet:nth-of-type(2) { top: 46%; left: 92%; animation-delay: 3.6s; animation-duration: 8.5s; }
.ap-comet:nth-of-type(3) { top: 8%; left: 40%; animation-delay: 5.8s; animation-duration: 9.5s; }
@keyframes apComet { 0% { opacity: 0; translate: 0 0; } 4% { opacity: 1; } 14% { opacity: 0; translate: -560px 250px; } 100% { opacity: 0; translate: -560px 250px; } }
@keyframes apDrift { to { transform: translate(40px, -30px) rotate(8deg); } }
@keyframes apFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.ap-side { display: flex; flex-direction: column; gap: 16px; animation: apIn .8s cubic-bezier(.2, .9, .3, 1) both; }
.ap-ship-zone { position: relative; width: 220px; height: 130px; margin-bottom: 4px; }
.ap-stream { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.ap-stream i { position: absolute; right: -40px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 246, 214, .95)); animation: apStream 1.3s linear infinite; }
.ap-stream i:nth-child(1) { top: 18%; width: 60px; animation-delay: -.2s; }
.ap-stream i:nth-child(2) { top: 34%; width: 34px; animation-delay: -.9s; animation-duration: 1s; }
.ap-stream i:nth-child(3) { top: 52%; width: 80px; animation-delay: -.5s; animation-duration: 1.6s; background: linear-gradient(90deg, rgba(196, 181, 253, 0), rgba(196, 181, 253, .9)); }
.ap-stream i:nth-child(4) { top: 70%; width: 44px; animation-delay: -1.1s; }
.ap-stream i:nth-child(5) { top: 86%; width: 56px; animation-delay: -.3s; animation-duration: 1.8s; background: linear-gradient(90deg, rgba(142, 182, 255, 0), rgba(142, 182, 255, .9)); }
.ap-stream i:nth-child(6) { top: 8%; width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; animation-delay: -.7s; animation-duration: 2.2s; }
.ap-stream i:nth-child(7) { top: 62%; width: 3px; height: 3px; border-radius: 50%; background: #ffe7a8; box-shadow: 0 0 6px #ffc14a; animation-delay: -1.5s; animation-duration: 2.6s; }
@keyframes apStream { from { transform: translateX(0); } to { transform: translateX(-320px); } }
.ap-ship { position: absolute; left: 70px; top: 18px; display: grid; place-items: center; width: 96px; height: 96px; animation: apShip 3.8s ease-in-out infinite; }
.ap-ship .range-ex { right: calc(100% - 22px); width: 120px; height: 45px; z-index: 0; }
.ap-rk { position: relative; z-index: 1; width: 96px; height: 96px; filter: drop-shadow(0 10px 24px rgba(255, 150, 50, .35)); }
@keyframes apShip { 0%, 100% { transform: translateY(5px) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
.ap-title { margin: 0; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; background: linear-gradient(120deg, #fff 10%, #ffe1a1 45%, #ffc14a 70%, #c4b5fd 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ap-lead { max-width: 460px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.ap-perks { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.ap-perks li { display: flex; align-items: center; gap: 14px; max-width: 460px; padding: 12px 14px; border-radius: 18px; background: rgba(22, 18, 60, .55); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: apIn .7s cubic-bezier(.2, .9, .3, 1) both; }
.ap-perks li:nth-child(1) { animation-delay: .25s; }
.ap-perks li:nth-child(2) { animation-delay: .38s; }
.ap-perks li:nth-child(3) { animation-delay: .51s; }
.ap-perks li > span { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 14px; color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 20%, transparent); }
.ap-perks li > span svg { width: 22px; height: 22px; }
.ap-perks b { display: block; color: var(--text); font-size: 15px; }
.ap-perks small { color: var(--muted); font-size: 13px; }

.ap-card {
  position: relative; isolation: isolate; width: 100%; max-width: 440px; justify-self: center;
  padding: 28px; border-radius: 30px;
  background: linear-gradient(180deg, rgba(30, 24, 74, .96), rgba(14, 10, 38, .98));
  box-shadow: 0 30px 80px rgba(3, 2, 20, .65), 0 0 60px rgba(139, 92, 246, .18);
}
.ap-card::before {
  content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ap-ang), rgba(255, 193, 74, .9), rgba(196, 181, 253, .2) 25%, rgba(142, 182, 255, .7) 50%, rgba(196, 181, 253, .2) 75%, rgba(255, 193, 74, .9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: apBorder 6s linear infinite;
}
.ap-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(90% 60% at 50% 0%, rgba(255, 193, 74, .12), transparent 70%); pointer-events: none; }
@keyframes apBorder { to { --ap-ang: 360deg; } }
@keyframes apCard { from { opacity: 0; transform: translateY(34px) scale(.96); } }
@keyframes apIn { from { opacity: 0; transform: translateY(18px); } }
.ap-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ap-logo { width: 56px; height: 56px; border-radius: 18px; box-shadow: 0 8px 24px rgba(255, 160, 60, .3), 0 0 0 1px rgba(255, 214, 140, .3); animation: apFloat 6s ease-in-out infinite; }
.ap-name { display: block; font: 800 26px/1 var(--font-display); color: #fff; }
.ap-name em { font-style: normal; color: var(--gold); }
.ap-card-head span { color: var(--muted); font-size: 14px; font-weight: 600; }
.ap-card .auth > * { animation: none; }
@keyframes apSwap { from { opacity: 0; transform: translateX(14px); } }
.ap[data-tab="register"] .ap-card::before { animation-duration: 3.5s; }
.ap-legal { margin: 16px 0 0; color: var(--dim); font-size: 12px; line-height: 1.5; text-align: center; }
.ap-legal a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(163, 168, 214, .4); }
.ap-back { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 14px; font-weight: 700; transition: color .2s; }
.ap-back svg { width: 16px; height: 16px; }
.ap-back:hover { color: var(--gold); }
body.is-authpage .top-tg { display: inline-flex; }
.is-desktop .ap-wrap { grid-template-columns: minmax(0, 1fr) 440px; }
@media (max-width: 1000px) { .is-desktop .ap-wrap { grid-template-columns: minmax(0, 1fr); } .is-desktop .ap-side { align-items: center; text-align: center; } .is-desktop .ap-perks { justify-items: center; } }
.is-mobile .ap { min-height: auto; padding: 4px 0 40px; }
.is-mobile .ap-wrap { gap: 22px; }
.is-mobile .ap-side { align-items: center; text-align: center; gap: 12px; }
.is-mobile .ap-ship-zone { width: 180px; height: 96px; }
.is-mobile .ap-ship { left: 56px; top: 10px; width: 72px; height: 72px; }
.is-mobile .ap-rk { width: 72px; height: 72px; }
.is-mobile .ap-ship .range-ex { width: 90px; height: 34px; right: calc(100% - 16px); }
.is-mobile .ap-title { font-size: 32px; }
.is-mobile .ap-lead { font-size: 15px; }
.is-mobile .ap-perks { order: 3; width: 100%; }
.is-mobile .ap-perks li { text-align: left; }
.is-mobile .ap-card { padding: 22px 18px; border-radius: 26px; }
.is-mobile .ap-planet--big { width: 360px; height: 360px; left: -140px; bottom: -160px; }
.is-mobile .ap-planet--moon { width: 70px; height: 70px; right: 6%; top: 10%; }
.is-mobile .ap-wrap { display: flex; flex-direction: column; }
.is-mobile .ap-side { display: contents; }
.is-mobile .ap-ship-zone, .is-mobile .ap-title, .is-mobile .ap-lead { align-self: center; text-align: center; }
.is-mobile .ap-ship-zone { order: 0; }
.is-mobile .ap-title { order: 1; }
.is-mobile .ap-lead { order: 2; }
.is-mobile .ap-card { order: 3; }
.is-mobile .ap-perks { order: 4; }

/* --- слои --- */
.layer { position: fixed; inset: 0; z-index: 60; display: grid; }
.layer[hidden] { display: none !important; }
.layer-back { position: absolute; inset: 0; background: rgba(4,3,18,.82); }
.layer-card { position: relative; background: var(--card-solid); border: 1px solid var(--line-hi); box-shadow: var(--shadow); }
.layer-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.06); color: var(--muted); z-index: 2; }
.layer-card .auth { padding-top: 34px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }

.toast {
  position: fixed; left: 50%; z-index: 80; max-width: min(92vw, 440px);
  padding: 12px 18px; border-radius: 14px; background: #1d1950; border: 1px solid var(--line-hi);
  box-shadow: var(--shadow); font-weight: 700; font-size: 14px; text-align: center;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .25s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast.is-bad { border-color: rgba(255,107,129,.45); }
.toast.is-device {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 16px 22px 14px;
  background: linear-gradient(160deg, rgba(24, 21, 60, .97), rgba(9, 8, 26, .97));
  border-color: rgba(129, 140, 248, .45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45), 0 0 32px rgba(129, 140, 248, .18);
}
.toast-kicker {
  color: #a5b4fc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.toast.is-device strong { font-size: 15px; line-height: 1.3; }
.toast-line {
  margin-top: 6px;
  color: #e0e7ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

/* --- кабинет --- */
.pane { display: none; }
.pane.is-on { display: block; }
.pane-head { margin-bottom: 18px; }
.pane-head h2 { font-size: clamp(26px, 3vw, 34px); }
.pane-head p { margin-top: 6px; color: var(--muted); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.card { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.card h3 { font-size: 20px; }
.card-sub { margin-top: 4px; color: var(--muted); font-size: 14px; }
.card-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.card-acts .btn { flex: 1 1 auto; }
.app-logo { display: block; object-fit: contain; flex: none; }
.app-logo--happ { width: 18px; height: 22px; }
.app-logo--incy { width: 52px; height: 16px; }
.app-logo--happ.is-plate {
  width: 14px; height: 18px; padding: 2px 3px; box-sizing: content-box;
  border-radius: 6px; background: linear-gradient(160deg, #ffe9b4, #f0a03a);
}
.btn--incy {
  border: 1px solid rgba(140, 230, 170, .28);
  background:
    radial-gradient(140px 70px at 0% 50%, rgba(90, 220, 140, .16), transparent 72%),
    rgba(255, 255, 255, .05);
  color: #eee6d4;
}
.btn--incy:hover { border-color: rgba(140, 230, 170, .5); background: rgba(110, 230, 130, .12); }
.dev-app { display: inline-flex; align-items: center; gap: 6px; }

.status { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.status-copy { display: flex; flex-direction: column; align-items: center; margin-top: 8px; }
.ring {
  --ring: 248px;
  position: relative; isolation: isolate; display: grid; place-items: center;
  width: var(--ring); height: var(--ring); flex: none; cursor: pointer;
}
.ring::before {
  content: ""; position: absolute; inset: 27%; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 236, 190, .22), transparent 42%), radial-gradient(circle at 50% 50%, #2b1f52 0%, #171032 62%, #0d0822 100%);
  box-shadow: inset -6px -8px 18px rgba(0, 0, 0, .45), inset 3px 4px 10px rgba(255, 200, 110, .18), 0 0 0 1px rgba(255, 214, 140, .22), 0 0 26px rgba(255, 170, 70, .28);
}
.ring::after { content: ""; position: absolute; inset: 18%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 180, 80, .3), transparent 68%); animation: ringPulse 3.2s ease-in-out infinite; }
.ring.is-off::before { box-shadow: inset -6px -8px 18px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 214, 140, .22); }
.ring.is-off::after { display: none; }
.ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-svg circle { fill: none; stroke-width: 6; }
.ring .ring-bg { stroke: rgba(255, 214, 140, .12); }
.ring .ring-fg {
  stroke: url(#ring-g); stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(255, 180, 80, .65));
  transition: stroke-dashoffset 1.6s cubic-bezier(.22, 1, .36, 1);
}
.ring .ring-glow { stroke: url(#ring-g-still); stroke-width: 14; opacity: .26; filter: blur(3px); }
.ring .ring-shadow { stroke: url(#ring-g-still); }
.ring .ring-live { filter: none; }
.ring.is-off .ring-bg { stroke: transparent; }
.ring-orbits { position: absolute; top: 0; left: 50%; z-index: -1; width: 150%; height: 100%; overflow: visible; transform: translateX(-50%); pointer-events: none; }
.ring-orbit-line { fill: none; stroke: rgba(255, 214, 140, .2); stroke-width: .5; stroke-dasharray: 1.4 2.6; }
.ring-ell { position: absolute; left: 50%; top: 50%; z-index: -1; border-radius: 50%; pointer-events: none; }
.ring-ell-c { width: 127%; height: 127%; transform: translate(-50%, -50%) rotate(-14deg) scaleY(.29); }
.ring-ell-d { width: 143%; height: 143%; transform: translate(-50%, -50%) rotate(9deg) scaleY(.35); }
.ring-ell-spin { width: 100%; height: 100%; animation: ringOrbit 19s linear infinite; }
.ring-ell-d .ring-ell-spin { animation-duration: 31s; animation-direction: reverse; }
.ring-ell-arm { position: absolute; top: 50%; left: 100%; width: 0; height: 0; animation: ringOrbit 19s linear infinite reverse; }
.ring-ell-d .ring-ell-arm { animation-duration: 31s; animation-direction: normal; }
.ring-ell-arm i {
  position: absolute; left: 0; top: 0; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #fff, #b9e2ff 50%, #4f86d9);
  box-shadow: 0 0 5px rgba(170, 215, 255, .9);
  transform: translate(-50%, -50%) scaleY(3.45);
}
.ring-ell-d .ring-ell-arm i {
  width: 11px; height: 11px;
  background: radial-gradient(circle at 35% 32%, #ffe2c4, #ff8f5a 50%, #a8391c);
  box-shadow: 0 0 6px rgba(255, 150, 90, .85);
  transform: translate(-50%, -50%) scaleY(2.86);
}
.ring-sat { position: absolute; border: 1px solid rgba(255, 214, 140, .14); border-radius: 50%; pointer-events: none; }
.ring-sat-in { inset: 19.5%; animation: ringOrbit 11s linear infinite; }
.ring-sat-out { inset: 1.5%; border-style: dashed; border-color: rgba(255, 214, 140, .16); animation: ringOrbit 34s linear infinite reverse; }
.ring-planet { position: absolute; top: 0; left: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.ring-planet-a { width: 8px; height: 8px; background: radial-gradient(circle at 35% 35%, #fff, #d9ccff 55%, #8f7cff); box-shadow: 0 0 8px rgba(190, 170, 255, .85); }
.ring-planet-b { width: 11px; height: 11px; background: radial-gradient(circle at 35% 35%, #fff6d8, #ffc56b 60%, #d9701c); box-shadow: 0 0 10px rgba(255, 190, 100, .8); }
.ring-planet-b::before { content: ""; position: absolute; top: 50%; left: 50%; width: 210%; height: 58%; border: 1px solid rgba(255, 236, 190, .85); border-radius: 50%; transform: translate(-50%, -50%) rotate(-22deg); }
.ring-head { position: absolute; inset: 0; pointer-events: none; transform: rotate(var(--ring-angle, 0deg)); transition: transform 1.6s cubic-bezier(.22, 1, .36, 1); }
.ring-head i {
  position: absolute; top: 11.67%; left: 50%; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #fff1c2 45%, #ffb347);
  box-shadow: 0 0 10px rgba(255, 230, 170, .95), 0 0 26px rgba(255, 160, 60, .7);
  transform: translate(-50%, -50%);
  animation: ringHead 1.8s ease-in-out infinite;
}
.ring-sat-empty { position: absolute; inset: 0; animation: ringOrbit 9s linear infinite; pointer-events: none; }
.ring-sat-empty i {
  position: absolute; top: 11.67%; left: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6d8, #ffc56b 60%, #ff9a2e);
  box-shadow: 0 0 10px rgba(255, 197, 107, .9); transform: translate(-50%, -50%);
}
.ring-num { position: relative; display: grid; place-content: center; text-align: center; pointer-events: none; }
.ring-num b { color: #fff; font: 800 calc(var(--ring) * .19)/.95 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(255, 190, 90, .55), 0 2px 0 rgba(120, 60, 10, .35); }
.ring-num[data-digits="3"] b { font-size: calc(var(--ring) * .14); }
.ring-num span { margin-top: calc(var(--ring) * .012); color: #ffd27a; font-size: max(9px, calc(var(--ring) * .05)); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ring.is-off .ring-num b { text-shadow: none; color: #fff; }
.ring.is-off .ring-num span { color: #ffd27a; }
.ring-flash {
  position: absolute; inset: 10%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 250, 230, .9), rgba(255, 193, 77, .45) 36%, transparent 70%);
  animation: ringFlash .8s ease-out forwards;
}
@keyframes ringOrbit { to { transform: rotate(360deg); } }
@keyframes ringHead { 0%, 100% { transform: translate(-50%, -50%) scale(.9); } 50% { transform: translate(-50%, -50%) scale(1.2); } }
@keyframes ringPulse { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes ringFlash { 0% { transform: scale(.4); opacity: 0; } 25% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 25%, transparent); }
.status-pill.is-on { color: var(--green); background: rgba(61,220,151,.1); }
.status-pill.is-off { color: var(--red); background: rgba(255,107,129,.1); }
.status h3 { margin-top: 8px; font-size: 24px; }

.balance-num { margin-top: 10px; font: 800 44px/1 var(--font-display); }
.balance-num small { font-size: 22px; margin-left: 6px; }

.promo-tg {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(42,171,238,.22), rgba(91,140,255,.12) 50%, rgba(22,18,60,.8));
  border-color: rgba(42,171,238,.4);
}
.promo-tg::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(42,171,238,.35), transparent 70%); }
.promo-tg h3 { display: flex; align-items: center; gap: 10px; }
.promo-tg h3 svg { color: var(--tg); width: 24px; height: 24px; }
.promo-tg .hint { margin-top: 12px; color: var(--muted); font-size: 13px; }
.promo-tg .hint code { padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.08); font-family: inherit; font-weight: 700; color: var(--text); }

.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rk-switch { flex: none; padding: 4px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); transition: border-color .3s, background .3s, box-shadow .3s, transform .16s; }
.rk-switch:active { transform: scale(.96); }
.rk-track { position: relative; display: block; width: 72px; height: 34px; overflow: hidden; border-radius: 999px; background: #0b0920; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .09); }
.rk-track::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1e1b4b 0%, #312e81 45%, #4c1d95 100%); opacity: 0; transition: opacity .4s; }
.rk-stars i { position: absolute; width: 1.5px; height: 1.5px; border-radius: 1px; background: #fff; opacity: .5; animation: twinkle 2.8s ease-in-out infinite; }
.rk-stars i:nth-child(1) { top: 8px; left: 38px; }
.rk-stars i:nth-child(2) { top: 23px; left: 50px; animation-delay: .6s; }
.rk-stars i:nth-child(3) { top: 13px; left: 61px; width: 2px; height: 2px; animation-delay: 1.2s; }
.rk-stars i:nth-child(4) { top: 25px; left: 35px; animation-delay: 1.8s; }
.rk-stars i:nth-child(5) { top: 6px; left: 53px; animation-delay: 2.2s; }
@keyframes twinkle { 0%, 100% { opacity: .2; } 50% { opacity: .9; } }
.rk-trail { position: absolute; top: 50%; left: 4px; width: 0; height: 4px; border-radius: 999px; background: linear-gradient(90deg, rgba(167, 139, 250, 0), rgba(196, 181, 253, .75) 70%, #fff); transform: translateY(-50%); transition: width .5s cubic-bezier(.22, 1, .36, 1); }
.rk-knob { position: absolute; top: 3px; left: 3px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3a3470 0%, #1a1640 60%, #0f0c29 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 2px 5px rgba(0, 0, 0, .5); transition: transform .5s cubic-bezier(.34, 1.3, .5, 1), box-shadow .35s; }
.rk-knob svg { width: 26px; height: 26px; overflow: visible; filter: grayscale(.8) brightness(.85); transition: filter .35s; }
.rk-knob .ship-fire { opacity: 0; transition: opacity .3s; }
.rk-switch.is-on { border-color: rgba(167, 139, 250, .45); background: rgba(99, 102, 241, .14); box-shadow: 0 0 16px rgba(139, 92, 246, .2); }
.rk-switch.is-on .rk-track::before { opacity: 1; }
.rk-switch.is-on .rk-trail { width: 44px; }
.rk-switch.is-on .rk-knob { transform: translateX(38px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 0 12px rgba(196, 181, 253, .6); }
.rk-switch.is-on .rk-knob svg { filter: none; animation: bob .9s ease-in-out infinite alternate; }
.rk-switch.is-on .ship-fire { opacity: 1; }
.rk-switch.is-on .rk-stars i { width: 7px; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); opacity: 0; animation: warp .9s linear infinite; }
.rk-switch.is-on .rk-stars i:nth-child(1) { left: 18px; }
.rk-switch.is-on .rk-stars i:nth-child(2) { left: 28px; animation-delay: .35s; }
.rk-switch.is-on .rk-stars i:nth-child(3) { left: 12px; animation-delay: .6s; }
.rk-switch.is-on .rk-stars i:nth-child(4) { left: 32px; animation-delay: .15s; }
.rk-switch.is-on .rk-stars i:nth-child(5) { left: 22px; animation-delay: .75s; }
@keyframes warp { 0% { transform: translateX(10px); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateX(-16px); opacity: 0; } }
@keyframes bob { from { translate: 0 .6px; } to { translate: 0 -.8px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { padding: 9px 15px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 214, 140, .2); color: #e7dcc4; font-weight: 800; font-size: 14px; transition: background .2s, color .2s, transform .16s, box-shadow .25s; }
.chip:active { transform: scale(.95); }
.chip.is-on { background: linear-gradient(120deg, #ffe08a, #ff9a2e); color: #1d1305; border-color: transparent; box-shadow: 0 6px 16px rgba(255, 154, 46, .35); }

.range { --p: 0; --thumb: 38px; position: relative; height: 92px; margin: 6px 2px 0; }
.range-track { position: absolute; top: 52px; left: 0; right: 0; height: 10px; overflow: hidden; border: 1px solid rgba(255, 206, 120, .18); border-radius: 10px; background: rgba(10, 8, 26, .75); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .4); }
.range-fill { position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--thumb) / 2 + var(--p) * (100% - var(--thumb))); border-radius: inherit; background: linear-gradient(90deg, #8a2410 0%, #d9480f 40%, #ff8a1f 72%, #ffd27a 92%, #fff6dc 100%); box-shadow: 0 0 10px rgba(255, 110, 30, .45); }
.range-fill::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 16px; background: linear-gradient(90deg, transparent, rgba(255, 252, 236, .85)); animation: core .32s ease-in-out infinite alternate; }
@keyframes core { from { opacity: .4; } to { opacity: 1; } }
.range-thumb { position: absolute; top: 57px; left: calc(var(--p) * (100% - var(--thumb))); z-index: 2; width: var(--thumb); height: var(--thumb); margin-top: calc(var(--thumb) / -2); pointer-events: none; }
.range-ship { position: relative; isolation: isolate; display: grid; place-items: center; width: 100%; height: 100%; border: 2px solid #ffd27a; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #54428c, #1a1430 72%); box-shadow: 0 6px 18px rgba(255, 150, 50, .45); animation: shipPulse 2.4s ease-in-out infinite; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.range-rk { position: relative; z-index: 1; width: 26px; height: 26px; }
.range.is-drag .range-rk { animation: shipLift .5s ease-in-out infinite alternate; }
@keyframes shipLift { from { translate: 0 1px; } to { translate: 0 -2px; } }

.range-ex { position: absolute; top: 50%; right: calc(100% - 13px); z-index: -1; width: 64px; height: 24px; pointer-events: none; transform: translateY(-50%); transform-origin: right center; transition: transform .22s ease; }
.range-flame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.range-flame path, .range-flame ellipse { transform-box: view-box; transform-origin: 64px 12px; }
.fl-glow { animation: flGlow .9s ease-in-out infinite; }
.fl-outer { animation: flOuter .62s linear infinite; }
.fl-mid { animation: flMid .41s linear infinite; }
.fl-core { animation: flCore .27s linear infinite; }
.range-flame .fl-lick { opacity: 0; transform-origin: 44px 12px; }
.fl-lick-a { animation: flLickA .73s ease-out infinite; }
.fl-lick-b { animation: flLickB .97s ease-out infinite -.41s; }
@keyframes flGlow { 0%, 100% { opacity: .7; transform: scale(1, 1); } 37% { opacity: 1; transform: scale(1.12, 1.08); } 64% { opacity: .8; transform: scale(.94, 1); } }
@keyframes flOuter { 0%, 100% { transform: scale(1, 1) skewY(0); } 13% { transform: scale(.84, 1.12) skewY(2deg); } 29% { transform: scale(1.08, .9) skewY(-1deg); } 46% { transform: scale(.92, 1.06) skewY(-2.5deg); } 61% { transform: scale(1.14, .96) skewY(1deg); } 78% { transform: scale(.88, 1.1) skewY(2.5deg); } }
@keyframes flMid { 0%, 100% { transform: scale(1, 1) skewY(0); } 21% { transform: scale(1.1, .9) skewY(-2deg); } 43% { transform: scale(.86, 1.1) skewY(1.5deg); } 67% { transform: scale(1.06, .94) skewY(2deg); } 84% { transform: scale(.94, 1.06) skewY(-1deg); } }
@keyframes flCore { 0%, 100% { transform: scale(1, 1); opacity: 1; } 33% { transform: scale(.88, 1.08); opacity: .9; } 66% { transform: scale(1.08, .92); } }
@keyframes flLickA { 0% { opacity: 0; transform: translate(0, 0) scale(.7, 1); } 18% { opacity: .95; } 100% { opacity: 0; transform: translate(-14px, -2.5px) scale(.35, .6); } }
@keyframes flLickB { 0% { opacity: 0; transform: translate(0, 0) scale(.7, 1); } 22% { opacity: .85; } 100% { opacity: 0; transform: translate(-12px, 2.5px) scale(.3, .6); } }
.range-ex i { --s: 2.5px; --dx: -38px; --dy: 4px; --dur: 1s; --delay: 0s; position: absolute; top: 50%; right: 14px; width: var(--s); height: var(--s); margin-top: calc(var(--s) / -2); border-radius: 50%; background: radial-gradient(circle, #fff 0%, #ffe08a 32%, #ff7a18 62%, rgba(255, 50, 10, 0) 74%); opacity: 0; animation: ember var(--dur) ease-out infinite var(--delay); }
.range-ex i:nth-of-type(2) { --s: 3px; --dx: -30px; --dy: -6px; --dur: .84s; --delay: -.08s; }
.range-ex i:nth-of-type(3) { --s: 2px; --dx: -44px; --dy: 5px; --dur: 1.1s; --delay: -.36s; }
.range-ex i:nth-of-type(4) { --s: 3px; --dx: -36px; --dy: 3px; --dur: .92s; --delay: -.7s; }
.range-ex i:nth-of-type(5) { --s: 2px; --dx: -52px; --dy: -3px; --dur: 1.3s; --delay: -.2s; }
.range-ex i:nth-of-type(6) { --s: 2.5px; --dx: -26px; --dy: 7px; --dur: .76s; --delay: -.52s; }
.range-ex i:nth-of-type(7) { --s: 2px; --dx: -40px; --dy: -7px; --dur: 1.02s; --delay: -.9s; }
.range-ex i:nth-of-type(8) { --s: 3px; --dx: -48px; --dy: 1px; --dur: 1.2s; --delay: -.62s; }
@keyframes ember { 0% { opacity: 0; transform: translate(0, 0) scale(1); } 12% { opacity: 1; } 70% { opacity: .5; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.2); } }
.range.is-drag .range-ex { transform: translateY(-50%) scale(1.28, 1.12); }
.range.is-drag .fl-outer { animation-duration: .38s; }
.range.is-drag .fl-mid { animation-duration: .26s; }
.range.is-drag .fl-core { animation-duration: .18s; }
.range.is-drag .range-ex i { animation-duration: calc(var(--dur) * .6); }

.range-fill { overflow: hidden; }
.range-fill::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 8px 3px at 40% 38%, rgba(255, 240, 200, .42), transparent), radial-gradient(ellipse 12px 4px at 60% 66%, rgba(255, 200, 120, .3), transparent); background-size: 26px 100%, 41px 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%); animation: trailFlow 1.1s linear infinite; }
@keyframes trailFlow { to { background-position: -26px 0, -41px 0; } }
.range-pulse { --dy: 0px; --drift: -1px; --dur: 1s; --delay: 0s; position: absolute; top: calc(50% + var(--dy)); right: 12px; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, #ffe3a0 45%, rgba(255, 140, 40, 0) 75%); box-shadow: 0 0 5px rgba(255, 170, 60, .95); opacity: 0; animation: trailSpark var(--dur) cubic-bezier(.2, .6, .4, 1) infinite var(--delay); }
.range-pulse:nth-child(1) { --dy: -2px; --drift: -1.5px; --dur: 1.05s; }
.range-pulse:nth-child(2) { --dy: 1.5px; --drift: 2px; --dur: 1.35s; --delay: -.5s; }
.range-pulse:nth-child(3) { --dur: .9s; --delay: -.3s; }
.range-pulse:nth-child(4) { --dy: -1px; --drift: 1.5px; --dur: 1.2s; --delay: -.85s; }
.range-pulse:nth-child(5) { --dy: 2px; --drift: -2px; --dur: 1.5s; --delay: -1.1s; }
@keyframes trailSpark { 0% { opacity: 0; transform: translate(0, 0) scale(1.3); } 10% { opacity: 1; } 55% { opacity: .55; } 100% { opacity: 0; transform: translate(-120px, var(--drift)) scale(.4); } }
.range.is-drag .range-pulse { animation-duration: calc(var(--dur) * .55); }
.range.is-drag .range-fill::before { animation-duration: .35s; }
@keyframes shipPulse { 0%, 100% { box-shadow: 0 6px 18px rgba(255, 150, 50, .45), 0 0 0 0 rgba(255, 196, 90, .35); } 50% { box-shadow: 0 6px 18px rgba(255, 150, 50, .45), 0 0 0 9px rgba(255, 196, 90, 0); } }
.range-bubble { position: absolute; bottom: calc(100% + 10px); left: 50%; padding: 6px 12px; border-radius: 12px; background: linear-gradient(120deg, #ffe08a, #ff9a2e); color: #1d1305; font: 800 17px/1 var(--font-display); white-space: nowrap; box-shadow: 0 8px 20px rgba(255, 154, 46, .35); transform: translateX(-50%); transition: transform .18s ease; }
.range-bubble::after { content: ""; position: absolute; top: 100%; left: 50%; width: 14px; height: 8px; background: #ffb347; clip-path: polygon(0 0, 100% 0, 50% 100%); transform: translateX(-50%); }
.range.is-drag .range-ship { transform: scale(1.14); }
.range.is-drag .range-bubble { transform: translateX(-50%) translateY(-3px) scale(1.1); }
.range-input { position: absolute; top: 30px; left: 0; z-index: 3; width: 100%; height: 50px; margin: 0; opacity: 0; cursor: pointer; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; width: 38px; height: 50px; }
.range-input::-moz-range-thumb { width: 38px; height: 50px; border: 0; }
.range-ends { display: flex; justify-content: space-between; margin-top: -10px; color: var(--dim); font-size: 12px; font-weight: 700; }
.topup-go { margin-top: 16px; }

.daily {
  position: relative; display: grid; gap: 22px; overflow: hidden;
  padding: 26px; border-radius: 26px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 176, 60, .16), transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(142, 182, 255, .14), transparent 60%), linear-gradient(180deg, rgba(36, 28, 78, .94), rgba(16, 12, 40, .96));
  border: 1px solid rgba(255, 193, 74, .32);
  box-shadow: 0 24px 60px rgba(6, 4, 24, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.daily::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(1.4px 1.4px at 12% 78%, #fff8, transparent), radial-gradient(1px 1px at 34% 18%, #fff7, transparent), radial-gradient(1.6px 1.6px at 62% 86%, #ffe7a8aa, transparent), radial-gradient(1px 1px at 88% 22%, #fff8, transparent), radial-gradient(1.2px 1.2px at 74% 52%, #c4b5fdaa, transparent); animation: dailyTwinkle 4s ease-in-out infinite alternate; }
@keyframes dailyTwinkle { from { opacity: .45; } to { opacity: 1; } }
.daily > * { position: relative; z-index: 1; }
.daily-info { display: flex; flex-direction: column; gap: 14px; }
.daily-price { display: flex; align-items: flex-end; gap: 8px; margin: 0; line-height: .8; }
.daily-price b { font: 800 96px/.8 var(--font-display); background: linear-gradient(160deg, #fff4c8 10%, #ffc14a 50%, #ff8a2e 95%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 24px rgba(255, 160, 50, .35)); }
.daily-price span { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; color: var(--gold); font: 800 34px/1 var(--font-display); }
.daily-price small { color: #e7dcff; font: 700 16px/1 Manrope, sans-serif; }
.daily-lead { margin: 0; max-width: 420px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.daily-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.daily-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(196, 181, 253, .24); color: #e7dcff; font-size: 13px; font-weight: 700; }
.daily-facts svg { width: 15px; height: 15px; color: var(--gold); }
.daily-calc { display: flex; flex-direction: column; padding: 20px 20px 22px; border-radius: 22px; background: rgba(8, 6, 26, .55); border: 1px solid rgba(180, 160, 255, .18); }
.daily-label { color: #e7dcff; font-weight: 800; font-size: 15px; }
.range--days { margin-top: 4px; }
.daily-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.daily-sum > span { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 214, 140, .16); }
.daily-sum > span + span { border-color: rgba(142, 182, 255, .22); }
.daily-sum small { color: var(--dim); font-size: 12px; font-weight: 700; }
.daily-sum b { color: var(--gold); font: 800 24px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.daily-sum > span + span b { color: #cfe0ff; font-size: 20px; white-space: nowrap; }
.daily-sum.is-pop > span:first-child b { animation: sumPop .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes sumPop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
.daily-hint { margin: 10px 0 0; padding: 9px 12px; border-radius: 12px; background: rgba(196, 181, 253, .1); border: 1px dashed rgba(196, 181, 253, .35); color: #ddd2ff; font-size: 13px; font-weight: 700; }
.daily-hint[hidden] { display: none; }
.daily-go { align-self: stretch; margin-top: 16px; }
.is-mobile .daily { padding: 20px 16px 16px; gap: 18px; }
.is-mobile .daily-price b { font-size: 84px; }
.is-mobile .daily-lead { font-size: 15px; }
.is-mobile .daily-facts { gap: 6px; }
.is-mobile .daily-facts li { padding: 7px 11px; font-size: 12px; }
.is-mobile .daily-calc { padding: 16px 14px 16px; }
.is-mobile .daily-sum > span { padding: 10px 12px; }
.is-mobile .daily-sum b { font-size: 21px; }
.is-mobile .daily-sum > span + span b { font-size: 16px; line-height: 26px; }
.is-desktop .daily { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; padding: 34px; gap: 34px; }
.amount-row { display: flex; gap: 10px; margin-top: 14px; }
.amount-row .field { flex: 1; min-width: 0; }
.amount-row .btn { flex: none; }

.link-box { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(7,5,28,.65); border: 1px solid var(--line); }
.link-box code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 13px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(255,255,255,.07); color: var(--text); }
.icon-btn:hover { background: rgba(255,255,255,.12); }
.qr { display: grid; place-items: center; padding: 16px; border-radius: 20px; background: #fff; width: max-content; margin: 0 auto; }
.qr svg { display: block; width: 220px; height: 220px; }
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.apps a { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.apps a:hover { background: rgba(255,255,255,.1); }
.how-list { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: how; display: grid; gap: 10px; }
.how-list li { counter-increment: how; display: flex; gap: 12px; color: var(--muted); }
.how-list li::before { content: counter(how); display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: rgba(255,193,74,.12); color: var(--gold); font-weight: 800; font-size: 13px; }

.dev-list { display: grid; gap: 10px; margin-top: 14px; }
.dev { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: rgba(7,5,28,.5); border: 1px solid var(--line); }
.dev i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(91,140,255,.14); color: #9db4ff; }
.dev-body { flex: 1; min-width: 0; }
.dev-body b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev-body span { color: var(--dim); font-size: 13px; }
.slots { display: flex; gap: 6px; margin-top: 12px; }
.slots i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); }
.slots i.is-on { background: linear-gradient(90deg, var(--blue), var(--violet)); }

.row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; padding-top: 4px; }
.row > i { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: rgba(255,255,255,.06); color: var(--muted); }
.row-body { flex: 1; min-width: 0; }
.row-body b { display: block; overflow: hidden; text-overflow: ellipsis; }
.row-body span { color: var(--dim); font-size: 13px; }
.row-form { display: grid; gap: 10px; margin-top: 12px; }
.badge-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 800; font-size: 13px; }
.badge-ok svg { width: 16px; height: 16px; }
.pay-hist { margin-top: 14px; }
.pay-empty { margin: 4px 0 2px; color: var(--dim); }
.pay-list { display: grid; gap: 10px; }
.pay-row {
  position: relative; display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center;
  padding: 14px 12px 12px; border: 1px solid rgba(255, 214, 140, .16); border-radius: 18px;
  background:
    radial-gradient(120px 80px at 100% 0%, rgba(255, 193, 74, .12), transparent 70%),
    linear-gradient(165deg, rgba(32, 26, 68, .72), rgba(12, 10, 28, .55));
  overflow: hidden;
}
.pay-row.is-paid { border-color: rgba(61, 220, 151, .28); }
.pay-mark { width: 8px; height: 8px; border-radius: 50%; background: #e2c36a; box-shadow: 0 0 10px #e2c36a; }
.pay-row.is-paid .pay-mark { background: var(--green); box-shadow: 0 0 10px var(--green); }
.pay-row b { display: block; }
.pay-row small { color: var(--dim); font-size: 13px; }
.pay-sum { text-align: right; }
.pay-sum .is-ok { color: var(--green); font-weight: 800; }
.pay-sum .is-wait { color: #e2c36a; font-weight: 800; }
.pay-id {
  grid-column: 2 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pay-id span, .pay-id code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-id code { font: inherit; color: var(--muted); }
.pay-id svg { width: 16px; height: 16px; margin-left: auto; flex: none; color: var(--muted); }
.empty { padding: 26px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--text); font: 800 20px/1.2 var(--font-display); margin-bottom: 6px; }

.side-foot { display: flex; flex-direction: column; gap: 10px; }
.side-card { width: 100%; padding: 16px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); font-size: 14px; text-align: left; }
.side-card:hover { border-color: rgba(255, 214, 140, .4); }
.side-card b { display: block; font: 800 26px/1.1 var(--font-display); color: var(--gold); }
.side-card span { color: var(--muted); }
.side-exit { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 12px; color: var(--dim); font-weight: 700; text-align: left; }
.side-exit:hover { color: var(--red); background: rgba(255,107,129,.08); }

.home-connect {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 16px;
  padding: 8px 14px 8px 8px; overflow: hidden; isolation: isolate; border-radius: 18px; text-align: left;
  background: linear-gradient(120deg, #fff0b8 0%, #ffc14a 46%, #ff8a1e 100%);
  color: #1d1305; box-shadow: 0 14px 28px rgba(255, 154, 46, .32), inset 0 1px 0 rgba(255,255,255,.7);
}
.home-connect::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  transform: translateX(-120%); animation: tabShine 3.6s ease-in-out infinite;
}
.home-connect > * { position: relative; z-index: 1; }
.home-connect-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 14px; background: linear-gradient(160deg, #2c2150, #120d28); color: #ffd27a; }
.home-connect-ico svg { width: 22px; height: 22px; }
.home-connect-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.home-connect-copy b { font-size: 16px; line-height: 1.15; }
.home-connect-copy small { margin-top: 2px; color: rgba(29, 19, 5, .72); font-size: 12px; font-weight: 700; }
.home-connect-go { width: 22px; height: 22px; flex: none; }
.home-extend { width: 100%; margin-top: 10px; }
.home-sub {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; width: 100%;
  padding: 14px; text-align: left; border-radius: 22px;
  border: 1px solid rgba(122, 216, 255, .28);
  background:
    radial-gradient(160px 90px at 0% 0%, rgba(122, 216, 255, .16), transparent 70%),
    linear-gradient(165deg, rgba(24, 32, 70, .92), rgba(10, 12, 28, .94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.home-sub-ico { grid-row: 1 / span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(122, 216, 255, .14); color: #9ae7ff; }
.home-sub-ico svg { width: 20px; height: 20px; }
.home-sub-copy { min-width: 0; }
.home-sub-copy b { display: block; font-size: 15px; }
.home-sub-copy small { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #b7e9ff; font-size: 12px; font-weight: 700; }
.home-sub em { grid-column: 2; color: rgba(183, 233, 255, .7); font-size: 12px; font-style: normal; font-weight: 700; }
.home-sub.is-wait { cursor: default; }
.home-dev {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; width: 100%;
  padding: 14px; text-align: left; border-radius: 22px;
  border: 1px solid rgba(255, 206, 120, .3);
  background:
    radial-gradient(140px 90px at 100% 0%, rgba(255, 206, 120, .18), transparent 70%),
    linear-gradient(165deg, rgba(40, 32, 70, .92), rgba(12, 10, 30, .94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.home-dev-ico { position: relative; grid-row: 1 / span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(255, 206, 120, .16); color: #ffd27a; }
.home-dev-ico svg { width: 22px; height: 22px; }
.home-dev-ico i { position: absolute; inset: -4px; border-radius: 18px; border: 1px solid rgba(255, 206, 120, .35); animation: tabPulseRing 2.4s ease-out infinite; }
.home-dev-copy b { display: block; font: 800 20px/1.1 var(--font-display); color: #fff; }
.home-dev-copy small { color: #d9c9a8; font-size: 12px; font-weight: 700; }
.home-dev em { grid-column: 2; color: rgba(255, 217, 138, .72); font-size: 12px; font-style: normal; font-weight: 700; }
.home-dev .slots { grid-column: 1 / -1; margin-top: 8px; }
.prof-jumps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.prof-jumps button {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; text-align: left; border-radius: 18px;
  border: 1px solid rgba(170, 160, 255, .28);
  background: linear-gradient(160deg, rgba(36, 30, 78, .9), rgba(14, 12, 32, .92));
}
.prof-jump-ico { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 12px; background: rgba(255, 193, 74, .14); color: var(--gold); }
.prof-jump-ico svg { width: 18px; height: 18px; }
.prof-jumps b { display: block; font-size: 14px; }
.prof-jumps small { display: block; color: var(--dim); font-size: 11px; font-weight: 700; }
.prof-jump-go { width: 16px; height: 16px; margin-left: auto; flex: none; color: var(--dim); }
@keyframes tabPulseRing { 0% { opacity: .8; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.18); } }
.is-mobile .card .btn--gold, .is-mobile .card .btn--blue, .is-mobile .shop-buy {
  position: relative; overflow: hidden;
}
.is-mobile .card .btn--gold::after, .is-mobile .card .btn--blue::after {
  animation: tabShine 3.8s ease-in-out infinite;
}

/* ============ ПК ============ */
.is-desktop .top { padding-left: max(32px, calc((100vw - 1080px) / 2)); padding-right: max(32px, calc((100vw - 1080px) / 2)); }
.is-desktop main { max-width: 1080px; margin: 0 auto; padding: 40px 32px 0; }
.is-desktop .hero { grid-template-columns: 1.05fr .95fr; align-items: center; min-height: calc(100vh - 160px); }
.is-desktop .hero-side { position: relative; display: grid; justify-items: center; }
.is-desktop .hero-side .hero-art { width: 250px; }
.is-desktop .hero-side .hero-art img { max-width: 250px; }
.is-desktop #auth-slot-desktop { position: relative; z-index: 3; margin-top: -46px; width: 400px; padding: 28px; border-radius: 28px; background: rgba(21,18,56,.9); border: 1px solid var(--line-hi); box-shadow: var(--shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.is-desktop .features, .is-desktop .plans--guest { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.is-desktop .steps { grid-template-columns: repeat(3, 1fr); }
.is-desktop .tabbar { display: none !important; }
.is-desktop .app { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; padding-bottom: 0; }
.is-desktop .app[hidden] { display: none; }
.is-desktop .side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; min-height: calc(100vh - 120px); }
.is-desktop .side-foot { margin-top: auto; }
.is-desktop .side-nav { display: flex; flex-direction: column; gap: 4px; }
.is-desktop .side-nav button { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px; border-radius: 14px; color: var(--muted); font-weight: 700; text-align: left; transition: background .15s, color .15s; }
.is-desktop .side-nav button:hover { background: rgba(255,255,255,.05); color: var(--text); }
.is-desktop .side-nav button.is-on { background: var(--card-hi); color: var(--text); box-shadow: 0 0 0 1px var(--line-hi) inset; }
.is-desktop .side-nav button.is-on svg { color: var(--gold); }
.is-desktop .grid--home { grid-template-columns: 1.4fr 1fr; }
.is-desktop .grid--home .span-2 { grid-column: 1 / -1; }
.is-desktop .grid--plans { grid-template-columns: repeat(4, 1fr); }
.is-desktop .grid--plans .span-all { grid-column: 1 / -1; }
.is-desktop .grid--split { grid-template-columns: 1fr 1fr; }
.is-desktop .grid--connect { grid-template-columns: 300px 1fr; align-items: start; }
.is-desktop .layer { place-items: center; }
.is-desktop .layer-card { width: 440px; max-height: 92vh; overflow: auto; padding: 28px; border-radius: 28px; }
.is-desktop .top-me-name { display: inline; }
@media (max-width: 1100px) {
  .is-desktop .top-nav { display: none; }
  .is-desktop main { padding: 32px 24px 0; }
  .is-desktop .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 28px; }
  .is-desktop #auth-slot-desktop { width: 100%; padding: 24px; margin-top: 0; }
  .is-desktop .hero-side .hero-art { display: none; }
  .is-desktop .grid--plans, .is-desktop .features, .is-desktop .plans--guest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .is-desktop .app { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
  .is-desktop .grid--home, .is-desktop .grid--split { grid-template-columns: minmax(0, 1fr); }
  .is-desktop .grid--connect { grid-template-columns: minmax(0, 1fr); }
}

/* ============ Телефон ============ */
.is-mobile .top { gap: 10px; padding-left: 8px; padding-right: 16px; }
.is-mobile .top-nav { display: none; }
.is-mobile .top-tg { width: 40px; height: 40px; padding: 0; }
.is-mobile .brand { gap: 8px; }
.is-mobile .brand-rocket, .is-mobile .brand-ship { width: 46px; height: 46px; }
.is-mobile .brand-rocket svg { width: 46px; height: 46px; }
.is-mobile .brand-name { font-size: 28px; }
.is-mobile .me-name { display: none; }
.is-mobile .me-chip { width: 40px; height: 40px; padding: 0; }
.is-mobile main { max-width: 760px; margin: 0 auto; padding: 18px 16px 0; }
.is-mobile .hero { text-align: center; }
.is-mobile .hero-copy { order: 2; }
.is-mobile .hero-side { order: 1; }
.is-mobile .hero-art { width: 220px; margin: 22px auto 10px; }
.is-mobile .hero-art img { max-width: 220px; border-radius: 32px; }
.is-mobile .eyebrow { margin: 0 auto; }
.is-mobile .hero h1 { font-size: 38px; }
.is-mobile .lead { margin-left: auto; margin-right: auto; font-size: 16px; }
.is-mobile .hero-cta { flex-direction: column; }
.is-mobile .hero-cta .btn { width: 100%; }
.is-mobile .hero-facts li { padding: 12px 8px; }
.is-mobile .hero-facts b { font-size: 18px; }
.is-mobile .hero-facts span { font-size: 12px; }
.is-mobile #auth-slot-desktop { display: none; }
.is-mobile .block { margin-top: 52px; }
.is-mobile .block h2 { font-size: 28px; }
.is-mobile .feature { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 16px; }
.is-mobile .feat-ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; }
.is-mobile .feat-ico svg { width: 30px; height: 30px; }
.is-mobile .feature h3 { font-size: 17px; margin-top: 2px; }
.is-mobile .feature p { font-size: 13.5px; }
@media (min-width: 640px) {
  .is-mobile .feature { display: flex; flex-direction: column; align-items: flex-start; }
  .is-mobile .feat-ico { grid-row: auto; }
  .is-mobile .feature h3 { margin-top: 12px; }
  .is-mobile .earn-offer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 860px) {
  .is-mobile .steps, .is-mobile .earn-offer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.is-mobile .app { position: relative; padding-bottom: calc(118px + var(--safe-b)); }
.is-mobile .app::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(460px 280px at 0% -8%, rgba(124, 92, 255, .22), transparent 62%),
    radial-gradient(380px 260px at 110% 18%, rgba(255, 160, 50, .14), transparent 58%),
    radial-gradient(280px 220px at 50% 100%, rgba(80, 140, 255, .08), transparent 60%);
}
.is-mobile .panes { position: relative; z-index: 1; }
.is-mobile .side { display: none; }
.is-mobile .card { padding: 18px; border-radius: 20px; }
.is-mobile .status { gap: 4px; }
.is-mobile .ring { --ring: 220px; }
.is-mobile .ring-head i { width: 12px; height: 12px; }
.is-mobile .status h3 { font-size: 20px; }
.is-mobile .balance-num { font-size: 38px; }
.is-mobile .card-acts { flex-direction: column; }
.is-mobile .card-acts .btn { width: 100%; }
.is-mobile .qr svg { width: 200px; height: 200px; }
.earn-offer { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
.earn-offer article { display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 220px; padding: 22px 18px; border-radius: 22px; background: linear-gradient(180deg, rgba(36, 28, 78, .94), rgba(16, 12, 40, .96)); border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent); }
.dial { position: relative; width: 132px; height: 132px; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial-track { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 8; }
.dial-val { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; filter: drop-shadow(0 0 6px var(--accent)); }
.earn-offer article.is-in .dial-val { animation: dialIn 1.25s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes dialIn { to { stroke-dashoffset: calc(289 * (1 - var(--p) / 100)); } }
.dial b { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font: 800 26px/1 var(--font-display); color: var(--accent); }
.earn-offer article > span { display: block; max-width: 220px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.is-desktop .earn-offer { grid-template-columns: repeat(3, 1fr); }
#partner > .btn { margin-top: 18px; }
.partner-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.partner-stats div { padding: 14px 16px; border-radius: 16px; background: rgba(7,5,28,.45); border: 1px solid var(--line); }
.partner-stats b { display: block; margin-top: 4px; font: 800 22px/1.1 var(--font-display); }
.partner-stats span { color: var(--dim); font-size: 13px; }
.partner-link { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.partner-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 14px 16px; border-radius: 16px; background: rgba(7,5,28,.6); border: 1px solid var(--line); font-size: 14px; }
.partner-people { display: grid; gap: 8px; margin-top: 12px; }
.partner-people li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.partner-people li:first-child { border-top: 0; padding-top: 0; }
.partner-people small { color: var(--dim); }
.pay-box { display: grid; gap: 10px; margin-top: 14px; }
.pay-box .seg { width: 100%; }

.is-mobile .tabbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); z-index: 40;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  padding: 8px 6px 7px; border-radius: 28px;
  background: rgba(17,14,48,.92); border: 1px solid var(--line-hi);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow);
}
.is-mobile .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; color: var(--dim); font-size: 10px; font-weight: 700; }
.is-mobile .tabbar button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-mobile .dial { width: 116px; height: 116px; }
.is-mobile .partner-link { flex-direction: column; align-items: stretch; }
.is-mobile .partner-stats { grid-template-columns: 1fr 1fr; }
.is-mobile .tabbar button svg { width: 22px; height: 22px; }
.is-mobile .tabbar button.is-on { color: var(--text); }
.is-mobile .tabbar button.is-on svg { color: var(--gold); }
.is-mobile .tabbar .tab-main { gap: 5px; margin-top: -18px; }
.is-mobile .tabbar .tab-orb {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden;
  border-radius: 20px; color: #2a1600;
  background: linear-gradient(145deg, #fff1c4 0%, #ffc14a 42%, #ff8a1e 100%);
  box-shadow: 0 14px 28px rgba(255, 140, 40, .42), 0 0 0 4px #07051c, inset 0 1px 0 rgba(255,255,255,.75);
}
.is-mobile .tabbar .tab-orb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.72) 50%, transparent 68%);
  transform: translateX(-120%); animation: tabShine 3.4s ease-in-out infinite;
}
.is-mobile .tabbar .tab-orb svg { width: 28px; height: 28px; margin: 0; padding: 0; color: #2a1600; filter: drop-shadow(0 1px 0 rgba(255,255,255,.35)); }
.is-mobile .tabbar .tab-main.is-on .tab-orb { box-shadow: 0 16px 32px rgba(255, 140, 40, .55), 0 0 0 4px #07051c, 0 0 0 6px rgba(255, 193, 74, .45); }
.is-mobile .layer { align-items: end; }
.is-mobile .layer-card { width: 100%; max-height: 92vh; overflow: auto; padding: 22px 18px calc(22px + var(--safe-b)); border-radius: 28px 28px 0 0; }
.is-mobile .layer-card::before { content: ""; position: absolute; top: 8px; left: 50%; width: 42px; height: 5px; margin-left: -21px; border-radius: 3px; background: rgba(255,255,255,.18); }
.is-mobile .toast { bottom: calc(104px + var(--safe-b)); }
.is-mobile .foot { margin-top: 52px; }
.is-desktop .toast { bottom: 32px; }

/* ============ Анимации ============ */
.sky-stars--near {
  background-image:
    radial-gradient(2px 2px at 60px 120px, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 250px 40px, #ffe7a8 50%, transparent 51%),
    radial-gradient(2px 2px at 380px 210px, #cfe7ff 50%, transparent 51%);
  background-size: 460px 320px;
  animation: drift 90s linear infinite, twinkle 4s ease-in-out infinite;
}
.shoot { position: absolute; top: 10%; left: 70%; width: 160px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(255, 214, 140, .4) 40%, transparent); opacity: 0; transform: rotate(-32deg); animation: shoot 9s ease-in infinite; }
.shoot:nth-of-type(2) { top: 32%; left: 92%; width: 120px; animation-delay: 3.4s; animation-duration: 11s; }
.shoot:nth-of-type(3) { top: 4%; left: 40%; width: 100px; animation-delay: 6.8s; animation-duration: 13s; }
@keyframes shoot {
  0%, 82% { opacity: 0; translate: 0 0; }
  84% { opacity: 1; }
  92% { opacity: 0; translate: -420px 260px; }
  100% { opacity: 0; translate: -420px 260px; }
}

.hero h1 em { background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.eyebrow svg { animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } }

.rv { opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.is-mobile .rv { opacity: 1; transform: none; transition: none; }
.rv.is-in { opacity: 1; transform: none; }

.plan.is-best { box-shadow: 0 16px 40px rgba(255, 160, 40, .16); }
@media (hover: hover) {
  .feature, .plan, .steps li, .card { transition: transform .35s cubic-bezier(.2, .9, .3, 1), border-color .3s, box-shadow .35s; }
  .feature:hover, .plan:hover, .steps li:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent, #ffc14a) 65%, white); box-shadow: 0 16px 36px rgba(20, 10, 40, .45); }
  .card:hover { border-color: rgba(255, 214, 140, .26); }
}
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg) scale(1.08); } 60% { transform: rotate(8deg) scale(1.05); } }

.balance-num small { display: inline-block; }
.side-card b span { color: inherit; }
.st-rk {
  display: inline-block;
  width: 2.02cap;
  height: 2.02cap;
  flex: none;
  margin: 0 0 0 0.08em;
  vertical-align: -0.54cap;
  overflow: visible;
}
.balance-num,
.side-card b,
.card-sub,
.shop-meta,
.st-wallet-num,
.st-rate { overflow: visible; }
.balance-num .st-rk,
.side-card b .st-rk { vertical-align: -0.5cap; }
.status-pill.is-on i { animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes tabShine { 0%, 55% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }
.toast { transition: opacity .25s ease, transform .4s cubic-bezier(.34, 1.5, .5, 1); }
.boot-orb { position: relative; border-color: rgba(255,193,74,.14); border-top-color: #ffc14d; box-shadow: 0 0 30px rgba(255, 170, 70, .25); }
.code-box { animation: codeIn .4s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes codeIn { from { opacity: 0; transform: translateY(12px); } }
.form-err { animation: shake .4s ease; }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }

.af-spark { position: fixed; inset: 0; z-index: 70; width: 100%; height: 100%; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
