/* ==========================================================================
   DeadMoon Client — стили сайта
   Палитра и размеры — в :root. Поменять акцентный цвет: --v-500 / --v-400.
   ========================================================================== */

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #050309;
  --bg-2: #0a0712;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.05);
  --line: rgba(196, 167, 255, 0.10);
  --line-2: rgba(196, 167, 255, 0.20);

  --text: #efeaf8;
  --text-2: #b9b1cc;
  --muted: #7c7590;

  --v-300: #d8c4ff;
  --v-400: #b88cff;
  --v-500: #9a5cff;
  --v-600: #7a3cf0;
  --v-700: #5a22c8;
  --pink: #e36bff;
  --ok: #5ef0b0;
  --warn: #ffcf5c;
  --bad: #ff5c7a;

  --grad: linear-gradient(120deg, #d8c4ff 0%, #b88cff 35%, #9a5cff 65%, #e36bff 100%);
  --grad-btn: linear-gradient(135deg, #a873ff 0%, #7a3cf0 55%, #b04cff 100%);
  --glow: 0 0 40px rgba(154, 92, 255, 0.35), 0 0 120px rgba(154, 92, 255, 0.15);

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;

  --font-display: "Unbounded", "Onest", system-ui, sans-serif;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --nav-h: 76px;
  --max: 1220px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--v-600) var(--bg);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(122, 60, 240, 0.18), transparent 60%),
    radial-gradient(900px 600px at 0% 30%, rgba(227, 107, 255, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(154, 92, 255, 0.45); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--v-500), var(--v-700)); border-radius: 8px; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--v-400); outline-offset: 3px; border-radius: 8px; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Фон: WebGL-небо, зерно, прогресс ---------- */

#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
#sky.ready { opacity: 1; }

.grain {
  position: fixed;
  inset: -50%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
  100% { transform: translate(0, 0); }
}

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 120;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad);
  box-shadow: 0 0 12px var(--v-500);
}

/* ---------- Курсор ---------- */

.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s;
}
.cursor {
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(216, 196, 255, 0.55);
  mix-blend-mode: screen;
}
.cursor-dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--v-300);
  box-shadow: 0 0 10px var(--v-400);
}
.cursor.hover {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(154, 92, 255, 0.12);
  border-color: rgba(216, 196, 255, 0.9);
}
.cursor.down { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
body.has-cursor .cursor, body.has-cursor .cursor-dot { opacity: 1; }

/* ---------- Прелоадер ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #030206;
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { display: grid; justify-items: center; gap: 26px; }
.loader-mark { position: relative; width: 170px; height: 170px; }
.loader-mark img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  mix-blend-mode: screen;
  border-radius: 50%;
  animation: loaderPulse 1.6s var(--ease) infinite alternate;
}
.loader-mark svg { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); }
.loader-mark ellipse {
  fill: none;
  stroke: url(#lgrad);
  stroke-width: 1.5;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: loaderRing 1.4s var(--ease) forwards;
}
.loader-mark ellipse + ellipse { animation-delay: .2s; opacity: .5; }
.loader-count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .4em;
  color: var(--muted);
}
.loader-count b { color: var(--v-300); font-weight: 600; }
.loader-bar { width: 180px; height: 2px; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 10px var(--v-500); transition: width .2s linear; }
.seen .loader { display: none; }
.veil-in .veil { clip-path: circle(150% at 50% 50%); transition: none; }
.veil-in .veil img { opacity: 1; transform: none; transition: none; }
@keyframes loaderRing { to { stroke-dashoffset: 0; } }
@keyframes loaderPulse { from { filter: drop-shadow(0 0 0 rgba(154,92,255,0)); transform: scale(.97); } to { filter: drop-shadow(0 0 30px rgba(154,92,255,.6)); transform: scale(1); } }

/* ---------- Переход между страницами ---------- */

.veil {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  background: radial-gradient(circle at var(--vx, 50%) var(--vy, 50%), #1a0b35 0%, #050309 55%);
  clip-path: circle(0% at var(--vx, 50%) var(--vy, 50%));
  transition: clip-path .7s var(--ease-in-out);
}
.veil.cover { clip-path: circle(150% at var(--vx, 50%) var(--vy, 50%)); pointer-events: all; }
.veil img {
  position: absolute; left: 50%; top: 50%;
  width: 90px; height: 90px;
  margin: -45px 0 0 -45px;
  mix-blend-mode: screen;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .4s .25s, transform .6s .2s var(--ease);
}
.veil.cover img { opacity: 1; transform: scale(1); }

/* ---------- Навигация ---------- */

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 100;
  width: min(var(--max), calc(100% - 28px));
  transform: translateX(-50%);
  transition: top .4s var(--ease);
}
.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 62px;
  padding: 0 10px 0 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(10, 7, 18, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.nav.scrolled .nav-bar { background: rgba(8, 5, 14, 0.82); border-color: var(--line-2); }
.nav.scrolled { top: 10px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo {
  width: 40px; height: 40px;
  border-radius: 12px;
  mix-blend-mode: screen;
  transition: transform .6s var(--ease), filter .6s;
}
.brand:hover .brand-logo { transform: rotate(-12deg) scale(1.08); filter: drop-shadow(0 0 12px rgba(154,92,255,.8)); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-sep { width: 1px; height: 26px; background: var(--line-2); }

.nav-links { position: relative; display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .3s;
}
.nav-link svg { width: 17px; height: 17px; opacity: .7; transition: opacity .3s, transform .4s var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover svg, .nav-link.active svg { opacity: 1; }
.nav-link:hover svg { transform: translateY(-1px) scale(1.1); }
.nav-link.active { color: #fff; }
.nav-pill {
  position: absolute;
  top: 0; left: 0;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(154,92,255,.30), rgba(122,60,240,.18));
  border: 1px solid rgba(184,140,255,.35);
  box-shadow: 0 0 24px rgba(154,92,255,.25), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
  pointer-events: none;
}

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  transition: color .3s, border-color .3s, background .3s, transform .3s var(--ease);
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { color: #fff; border-color: var(--line-2); background: rgba(154,92,255,.12); transform: translateY(-1px); }

.burger { display: none; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.burger span + span { margin-top: 5px; }
.nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 100px 28px 40px;
  background: rgba(5, 3, 9, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 9vw, 44px);
  font-weight: 800;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
  transform: translateY(30px);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .6s, color .3s;
}
.mobile-menu a small { font-family: var(--font-mono); font-size: 12px; color: var(--v-400); font-weight: 400; }
.mobile-menu a.active { color: #fff; }
.mobile-menu.open a { transform: none; opacity: 1; }
.mobile-menu.open a:nth-child(2) { transition-delay: .05s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .15s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .2s; }

/* ---------- Общие блоки ---------- */

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { position: relative; padding: 120px 0; }
.section-head { display: grid; justify-items: center; text-align: center; gap: 18px; margin-bottom: 60px; }
.section-head p { max-width: 620px; color: var(--text-2); font-size: 17.5px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(154, 92, 255, 0.07);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--v-300);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--v-400);
  box-shadow: 0 0 10px var(--v-400);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .3; } }

.h2 { font-size: clamp(32px, 5vw, 58px); }
.accent {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s ease-in-out infinite;
}
@keyframes shine { 50% { background-position: 100% 0; } }

.muted { color: var(--muted); }

/* Кнопки */
.btn {
  --bx: 0px; --by: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 15.5px;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transform: translate(var(--bx), var(--by));
  transition: transform .4s var(--ease), box-shadow .4s, background .3s, border-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-primary {
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 10px 30px -8px rgba(154, 92, 255, .7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 16px 50px -8px rgba(154, 92, 255, .9), 0 0 0 1px rgba(216,196,255,.4), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: rgba(184,140,255,.5); background: rgba(154,92,255,.1); }
.btn-light { color: #160a2c; background: #f3edff; box-shadow: 0 10px 30px -10px rgba(216,196,255,.6); }
.btn-light:hover { background: #fff; box-shadow: 0 16px 40px -10px rgba(216,196,255,.9); }
.btn-sm { height: 42px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* Карточки со «светом» под курсором */
.card {
  --mx: 50%; --my: 50%;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  overflow: hidden;
  isolation: isolate;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(154, 92, 255, .16), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(216, 196, 255, .55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card:hover { border-color: var(--line-2); }

/* Появление при скролле */
[data-reveal] {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].in { opacity: 1; filter: none; transform: none; }

/* Разбивка заголовков на слова */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span {
  display: inline-block;
  transform: translateY(105%) rotate(4deg);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i) * 0.06s + var(--d, 0s));
}
.split.in .w > span { transform: none; }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 50px) 0 140px;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 28px; }
.hero-title {
  font-size: clamp(34px, 6.6vw, 98px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -0.035em;
  text-shadow: 0 10px 60px rgba(5,3,9,.8);
}
.hero-title .line { display: block; }
.hero-title .accent { padding-right: .04em; text-shadow: none; filter: drop-shadow(0 8px 30px rgba(5,3,9,.7)); }
.hero-sub {
  max-width: 640px;
  color: var(--text-2);
  font-size: clamp(16px, 1.6vw, 19px);
  text-shadow: 0 2px 20px rgba(5,3,9,.9);
}
.hero-sub b { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 6px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(10, 7, 18, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.stat { padding: 16px 28px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.stat span { font-size: 13px; color: var(--muted); }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--muted);
  text-transform: uppercase;
}
.scroll-hint i {
  position: relative;
  width: 24px; height: 38px;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
}
.scroll-hint i::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--v-400);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Осколки-кристаллы как на логотипе */
.shards { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.shard {
  --s: 40px;
  position: absolute;
  width: var(--s);
  height: calc(var(--s) * .62);
  will-change: transform;
}
.shard i {
  position: absolute;
  inset: 0;
  clip-path: polygon(18% 0, 100% 22%, 84% 100%, 0 70%);
  background: linear-gradient(135deg, rgba(240,225,255,.95) 0%, rgba(184,140,255,.75) 30%, rgba(90,34,200,.6) 70%, rgba(227,107,255,.8) 100%);
  filter: drop-shadow(0 0 14px rgba(154,92,255,.9));
  animation: shardFloat var(--t, 9s) ease-in-out infinite alternate;
}
.shard i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.9) 0 18%, transparent 19% 100%);
  mix-blend-mode: overlay;
}
@keyframes shardFloat {
  0% { transform: translate3d(0, 0, 0) rotate(var(--r0, 0deg)); }
  100% { transform: translate3d(var(--fx, 10px), var(--fy, -26px), 0) rotate(var(--r1, 40deg)); }
}

.hero-word {
  position: absolute;
  left: 0; right: 0;
  bottom: -2vw;
  z-index: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19vw;
  line-height: .8;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184, 140, 255, .14);
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
}

/* Глитч для слова */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
}
.glitch.on::before { animation: glitchA .45s steps(2) 1; opacity: .9; }
.glitch.on::after { animation: glitchB .45s steps(2) 1; opacity: .9; }
@keyframes glitchA {
  0% { clip-path: inset(10% 0 60% 0); transform: translate(-6px, -2px); }
  33% { clip-path: inset(50% 0 20% 0); transform: translate(5px, 1px); }
  66% { clip-path: inset(80% 0 5% 0); transform: translate(-3px, 2px); }
  100% { clip-path: inset(0 0 100% 0); transform: none; }
}
@keyframes glitchB {
  0% { clip-path: inset(65% 0 10% 0); transform: translate(6px, 2px); filter: hue-rotate(60deg); }
  33% { clip-path: inset(15% 0 70% 0); transform: translate(-5px, -1px); }
  66% { clip-path: inset(40% 0 40% 0); transform: translate(4px, 0); }
  100% { clip-path: inset(100% 0 0 0); transform: none; }
}

/* ---------- Бегущие строки ---------- */

.marquee-zone { position: relative; padding: 30px 0 10px; overflow: hidden; }
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee + .marquee { margin-top: 14px; }
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 14px;
  padding-right: 14px;
  animation: marquee var(--dur, 60s) linear infinite;
}
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-2);
  white-space: nowrap;
  transition: color .3s, border-color .3s, background .3s;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--v-500); transform: rotate(45deg); box-shadow: 0 0 8px var(--v-500); }
.chip:hover { color: #fff; border-color: var(--line-2); background: rgba(154,92,255,.1); }

/* ---------- Демо ClickGUI ---------- */

.gui-stage { position: relative; perspective: 1600px; }
.gui-stage::before {
  content: "";
  position: absolute;
  inset: 10% 8% -6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(154,92,255,.35), transparent);
  filter: blur(40px);
}
/* Стиль «Док» — как DmDockGui в клиенте: поверх игры панель-сетка плиток,
   снизу док с иконками разделов, справа выезжает шторка настроек */
.dock-desk {
  position: relative;
  max-width: 1060px;
  height: 640px;
  margin: 0 auto;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: #0b0716;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.8);
  overflow: hidden;
  isolation: isolate;
  user-select: none;
  contain: layout paint;
}
/* Статичный «мир» за меню: ночное небо и блочный рельеф, затемнённые как фон ClickGUI */
.dock-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 27% 42%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 41% 12%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 58% 30%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 71% 9%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 86% 36%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 93% 16%, rgba(255,255,255,.6), transparent),
    radial-gradient(70px 70px at 82% 20%, rgba(216,196,255,.55), rgba(154,92,255,.18) 60%, transparent 72%),
    radial-gradient(700px 360px at 50% 110%, rgba(154,92,255,.32), transparent 70%),
    linear-gradient(180deg, #120a26 0%, #1d1040 55%, #2a1557 100%);
}
.dock-scene svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 200px; }
.dock-scene .far { fill: #241445; }
.dock-scene .near { fill: #120b22; }
.dock-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,3,9,.35), rgba(5,3,9,.55)); }

.gui-search {
  position: absolute;
  top: 20px; left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 320px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(17, 13, 26, .92);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  color: var(--muted);
  transform: translateX(-50%);
  transition: border-color .3s, box-shadow .3s;
}
.gui-search:focus-within { border-color: rgba(184,140,255,.55); box-shadow: 0 0 0 3px rgba(154,92,255,.18); }
.gui-search svg { width: 14px; height: 14px; flex-shrink: 0; }
.gui-search input { width: 100%; border: 0; outline: 0; background: none; font-size: 13px; color: var(--text); }
.gui-search input::placeholder { color: var(--muted); }
.gui-search input::-webkit-search-cancel-button { display: none; }

.dock-lang {
  position: absolute;
  top: 22px; right: 18px;
  z-index: 4;
  display: flex;
  padding: 2px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(17, 13, 26, .92);
}
.dock-lang button { height: 24px; padding: 0 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--muted); transition: color .25s, background .25s; }
.dock-lang button.on { color: #fff; background: var(--v-600); }

/* Панель с плитками функций */
.dock-panel {
  --shift: 0px;
  position: absolute;
  z-index: 2;
  top: var(--gy, 72px);
  left: calc(50% - var(--gw, 760px) / 2);
  width: var(--gw, 760px);
  height: var(--gh, 430px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0) 30%),
    linear-gradient(0deg, rgba(227,107,255,.06), rgba(227,107,255,0) 45%),
    rgba(17, 13, 26, .95);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.04), 0 18px 40px -12px rgba(0,0,0,.7);
  transform: translateX(calc(var(--shift) * -1));
  transition: transform .5s cubic-bezier(.3, 1.25, .5, 1);
}
.dock-panel-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 40px; padding: 0 20px; flex-shrink: 0; }
.dock-panel-head::after { content: ""; position: absolute; left: 17px; right: 17px; bottom: 0; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, var(--v-500), var(--pink)); opacity: .6; }
.dock-panel-head h4 { font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.dock-panel-count { font-size: 12px; color: var(--muted); }

.gui-list {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  grid-auto-rows: var(--th, 88px);
  align-content: start;
  gap: var(--g, 12px);
  padding: var(--g, 12px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.gui-list::-webkit-scrollbar { display: none; }

/* Плитка функции: как drawTile — имя, описание в две строки, бинд и точка-индикатор */
.tile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: 8px;
  row-gap: 5px;
  padding: 13px 13px 10px;
  border-radius: 13px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 0 0 1px transparent;
  cursor: pointer;
  transition: background .25s, box-shadow .25s, transform .25s var(--ease);
  animation: tileIn .42s cubic-bezier(.34, 1.56, .64, 1) backwards;
  animation-delay: calc(var(--i, 0) * 24ms);
}
.tile:hover { background: rgba(255,255,255,.105); transform: scale(1.035); }
.tile:active { transform: scale(.98); }
.tile.on { background: linear-gradient(90deg, rgba(154,92,255,.42), rgba(227,107,255,.14)); box-shadow: inset 0 0 0 1px rgba(154,92,255,.55); }
.tile.leave { animation: tileOut .17s ease-in forwards; pointer-events: none; }
@keyframes tileIn { from { opacity: 0; transform: scale(.72); } 50% { opacity: 1; } }
@keyframes tileOut { to { opacity: 0; transform: scale(.45); } }
.tile-name { overflow: hidden; font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap; text-overflow: ellipsis; transition: color .25s; }
.tile:hover .tile-name, .tile.on .tile-name { color: #fff; }
.tile-bind { font-family: var(--font-mono); font-size: 10.5px; line-height: 18px; color: rgba(185,177,204,.6); }
.tile-dot { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: rgba(255,255,255,.2); transition: background .25s, box-shadow .25s; }
.tile.on .tile-dot { background: var(--v-400); box-shadow: 0 0 8px var(--v-400); }
.tile-desc {
  grid-column: 1 / -1;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(185,177,204,.6);
}
.tile.binding::after {
  content: "Нажми клавишу…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: rgba(12, 8, 22, .82);
  box-shadow: inset 0 0 0 1px rgba(216,196,255,.6);
  font-size: 12px;
  font-weight: 600;
  color: var(--v-300);
}
.tile.editing { box-shadow: inset 0 0 0 1px rgba(216,196,255,.7); }

/* Док: иконки-квадраты, увеличение под курсором, «капсула» под выбранным разделом */
.dock {
  --extra: 0px;
  position: absolute;
  left: 50%; bottom: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 64px;
  padding: 0 22px;
  transform: translateX(-50%);
}
.dock::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; bottom: 0;
  left: calc(var(--extra) / -2);
  right: calc(var(--extra) / -2);
  border-radius: 27px;
  background: rgba(17, 13, 26, .62);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 34px -10px rgba(0,0,0,.7);
}
.dock::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; bottom: 0;
  left: calc(var(--extra) / -2);
  right: calc(var(--extra) / -2);
  padding: 1px;
  border-radius: 27px;
  background: linear-gradient(90deg, rgba(154,92,255,.45), rgba(227,107,255,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.dock-item {
  --s: 1;
  position: relative;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 13px;
  background: rgba(255,255,255,.07);
  color: rgba(239,234,248,.85);
  will-change: transform;
  transition: background .25s, color .25s;
}
.dock-item svg { width: 21px; height: 21px; }
.dock-item:hover { background: rgba(255,255,255,.11); }
.dock-item.active { background: rgba(154,92,255,.3); color: var(--v-400); }
.dock-item:focus-visible { outline: 2px solid var(--v-300); outline-offset: 3px; }
.dock-tip {
  position: absolute;
  left: 50%; bottom: calc(100% + 8px);
  padding: 3px 9px;
  border-radius: 9px;
  background: rgba(12, 9, 20, .95);
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(calc(1 / var(--s)));
  transform-origin: 50% 100%;
  transition: opacity .15s;
}
.dock-item.tip .dock-tip, .dock-item:focus-visible .dock-tip { opacity: 1; }
.dock-sel {
  position: absolute;
  left: 0; bottom: 7px;
  width: 17px; height: 3.5px;
  border-radius: 2px;
  background: var(--v-400);
  box-shadow: 0 0 8px var(--v-500);
  transition: transform .35s cubic-bezier(.3, 1.35, .5, 1);
}

/* Чекбоксы в настройках модуля */
.chk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.chk {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--text-2);
  text-align: left;
  transition: border-color .3s, background .3s, color .3s;
}
.chk:hover { color: var(--text); border-color: var(--line-2); }
.chk i, .check i {
  display: grid;
  place-items: center;
  width: 18px; height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--line-2);
  border-radius: 6px;
  background: rgba(0,0,0,.25);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.chk i svg, .check i svg { width: 12px; height: 12px; color: #fff; stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s var(--ease); }
.chk.on { color: #fff; border-color: rgba(184,140,255,.45); background: rgba(154,92,255,.12); }
.chk.on i, .check input:checked + i { background: var(--v-600); border-color: var(--v-400); box-shadow: 0 0 12px rgba(154,92,255,.55); }
.chk.on i svg, .check input:checked + i svg { opacity: 1; transform: none; }

.toggle {
  position: relative;
  flex-shrink: 0;
  width: 38px; height: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #8a83a0;
  transition: transform .45s var(--ease), background .35s;
}
.on > .toggle, .toggle.on { background: var(--v-600); border-color: var(--v-400); box-shadow: 0 0 14px rgba(154,92,255,.55); }
.on > .toggle::after, .toggle.on::after { transform: translateX(16px); background: #fff; }

.gui-settings {
  position: absolute;
  top: 66px; right: 18px; bottom: 100px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  width: 330px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0) 30%),
    rgba(17, 13, 26, .97);
  box-shadow: 0 0 0 1px rgba(154,92,255,.4), 0 18px 40px -12px rgba(0,0,0,.75);
  opacity: 0;
  visibility: hidden;
  transform: translateX(calc(100% + 30px));
  transition: transform .5s cubic-bezier(.3, 1.2, .5, 1), opacity .3s, visibility 0s .5s;
}
.gui-settings.open { opacity: 1; visibility: visible; transform: none; transition: transform .5s cubic-bezier(.3, 1.2, .5, 1), opacity .3s, visibility 0s; }
.gs-wrap { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.gs-wrap.swap { animation: gsSwap .24s ease-out; }
@keyframes gsSwap { from { opacity: .25; transform: translateX(8px); } }
.gs-head { display: flex; align-items: flex-start; gap: 10px; padding: 16px 16px 12px 18px; border-bottom: 1px solid rgba(255,255,255,.06); }
.gs-head h5 { margin: 0 0 4px; font-family: var(--font); font-size: 15px; font-weight: 700; }
.gs-head p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 4; -webkit-box-orient: vertical; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.gs-head .icon-btn { width: 30px; height: 30px; margin-left: auto; flex-shrink: 0; border-radius: 9px; }
.gs-head .icon-btn svg { width: 15px; height: 15px; }
.gs-body { flex: 1; display: grid; align-content: start; gap: 16px; padding: 14px 18px 18px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.gs-row { display: grid; gap: 10px; }
.gs-row.inline { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.gs-label { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-2); }
.gs-label b { font-family: var(--font-mono); font-weight: 600; color: var(--v-300); }
.range {
  --p: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--v-500) var(--p), rgba(255,255,255,.08) var(--p));
  outline: none;
  cursor: pointer;
}
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(154,92,255,.35), 0 0 14px var(--v-400); transition: transform .2s; }
.range::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(154,92,255,.35), 0 0 14px var(--v-400); }
.range:active::-webkit-slider-thumb { transform: scale(1.2); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button {
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12.5px;
  color: var(--muted);
  transition: color .3s, border-color .3s, background .3s;
}
.seg button:hover { color: var(--text); }
.seg button.on { color: #fff; border-color: rgba(184,140,255,.5); background: rgba(154,92,255,.22); }
.gs-bind { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 12px; font-size: 13px; color: var(--muted); }
.gs-bind kbd { padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 7px; background: rgba(255,255,255,.04); font-family: var(--font-mono); font-size: 12px; color: var(--text); }

.arraylist {
  position: absolute;
  top: 18px; left: 0;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 3px;
  pointer-events: none;
}
.arraylist span {
  padding: 3px 10px;
  border-left: 2px solid var(--v-400);
  border-radius: 0 6px 6px 0;
  background: rgba(9, 6, 16, 0.85);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--v-300);
  box-shadow: 0 0 16px rgba(0,0,0,.4);
  animation: alIn .45s var(--ease) both;
}
.arraylist span em { font-style: normal; color: var(--muted); margin-left: 6px; }
@keyframes alIn { from { opacity: 0; transform: translateX(-20px); } }

.gui-notify { position: absolute; left: 16px; bottom: 20px; z-index: 7; display: grid; justify-items: start; gap: 6px; pointer-events: none; }
.gui-notify div { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(16,10,28,.96); font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: toastIn .4s var(--ease) both; }
.gui-notify div.out { animation: toastOut .35s var(--ease) both; }
.gui-notify i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.gui-notify i.off { background: var(--bad); box-shadow: 0 0 8px var(--bad); }
.gui-empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--muted); font-size: 14px; }

.gui-caption { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 26px; color: var(--muted); font-size: 13.5px; }
.gui-caption span { display: inline-flex; align-items: center; gap: 8px; }
.gui-caption kbd { padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 7px; background: rgba(255,255,255,.03); font-family: var(--font-mono); font-size: 11.5px; color: var(--text-2); }

/* ---------- Бенто ---------- */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .card { display: flex; flex-direction: column; min-height: 320px; padding: 28px; }
.b-4 { grid-column: span 4; }
.b-3 { grid-column: span 3; }
.b-2 { grid-column: span 2; }
.bento h3 { font-size: 21px; margin-bottom: 10px; }
.bento p { color: var(--text-2); font-size: 15px; }
.bento .viz { position: relative; flex: 1; min-height: 150px; margin-bottom: 22px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-2); background: rgba(255,255,255,.02); }

/* Прицел */
.viz-aim { display: grid; place-items: center; }
.aim { position: relative; width: 190px; height: 190px; }
.aim::before { content: ""; position: absolute; inset: -30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(154,92,255,.28), transparent); }
.aim .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(184,140,255,.6); animation: spin 18s linear infinite; }
.aim .ring:nth-child(2) { inset: 26px; border-style: solid; border-color: rgba(184,140,255,.32); animation-duration: 10s; animation-direction: reverse; }
.aim .ring:nth-child(3) { inset: 56px; border: 2px solid transparent; border-top-color: var(--v-400); border-right-color: var(--v-400); animation-duration: 2.4s; filter: drop-shadow(0 0 6px var(--v-400)); }
.aim .core { position: absolute; inset: 80px; border-radius: 6px; background: var(--grad-btn); box-shadow: var(--glow); animation: hitPulse 1.2s var(--ease) infinite; }
.aim .tick { position: absolute; left: 50%; top: 50%; width: 2px; height: 22px; margin: -11px 0 0 -1px; background: var(--v-300); transform: rotate(var(--a)) translateY(-108px); opacity: .7; }
.dmg {
  position: absolute;
  left: 50%; top: 40%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--pink);
  text-shadow: 0 0 12px rgba(227,107,255,.8);
  opacity: 0;
  animation: dmgPop 2.4s var(--ease) infinite;
}
.dmg:nth-of-type(2) { animation-delay: .8s; color: var(--v-300); }
.dmg:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes dmgPop {
  0% { opacity: 0; transform: translate(var(--x, 30px), 0) scale(.6); }
  15% { opacity: 1; transform: translate(var(--x, 30px), -14px) scale(1.15); }
  60% { opacity: 1; transform: translate(var(--x, 30px), -40px) scale(1); }
  100% { opacity: 0; transform: translate(var(--x, 30px), -60px) scale(.9); }
}
@keyframes hitPulse { 0%, 100% { transform: scale(1); } 10% { transform: scale(.82) rotate(8deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Сервера */
.servers { display: grid; gap: 8px; }
.server {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  font-size: 14px;
  font-weight: 500;
}
.server i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.server em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* Траектория полёта */
.viz-fly svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.viz-fly path.trail { fill: none; stroke: url(#flyg); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 3.2s var(--ease-in-out) infinite; filter: drop-shadow(0 0 6px var(--v-500)); }
.viz-fly path.ghost { fill: none; stroke: rgba(184,140,255,.12); stroke-width: 1.5; stroke-dasharray: 4 7; }
@keyframes draw { 0% { stroke-dashoffset: 520; } 60%, 100% { stroke-dashoffset: 0; } }
.fly-modes { position: absolute; right: 0; bottom: 0; display: grid; justify-items: end; gap: 4px; }
.fly-modes span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.fly-modes span.on { color: var(--v-300); }

/* Шейдерный силуэт */
.viz-shader { display: grid; place-items: center; overflow: hidden; border-radius: 18px; }
.blob {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: conic-gradient(from var(--angle), #9a5cff, #e36bff, #5a22c8, #b88cff, #9a5cff);
  filter: blur(36px);
  opacity: .55;
  animation: rotAngle 6s linear infinite;
}
@keyframes rotAngle { to { --angle: 360deg; } }
.steve { position: relative; width: 74px; filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 10px var(--v-400)) drop-shadow(0 0 22px var(--pink)); animation: steve 3s ease-in-out infinite alternate; }
@keyframes steve { to { transform: translateY(-8px); filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 16px var(--v-300)) drop-shadow(0 0 34px var(--v-500)); } }

/* Аукцион */
.auction { display: grid; gap: 6px; font-size: 13px; }
.lot {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.02);
  transition: border-color .4s, background .4s;
}
.lot b { font-weight: 500; }
.lot span { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.lot em { font-style: normal; font-size: 10.5px; font-family: var(--font-mono); padding: 2px 7px; border-radius: 6px; color: var(--muted); border: 1px solid var(--line); }
.lot.bought { border-color: rgba(94,240,176,.4); background: rgba(94,240,176,.06); }
.lot.bought em { color: var(--ok); border-color: rgba(94,240,176,.4); }

/* Запись */
.rec { display: grid; place-items: center; height: 100%; }
.rec-screen {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(90,34,200,.25), transparent),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 2px, transparent 2px 4px),
    #0b0815;
  overflow: hidden;
}
.rec-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 0 48%, rgba(184,140,255,.12) 50%, transparent 52%); animation: scan 3s linear infinite; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.rec-badge { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.rec-badge i { width: 9px; height: 9px; border-radius: 50%; background: #ff3d6e; box-shadow: 0 0 10px #ff3d6e; animation: blink 1s steps(2) infinite; }
.rec-time { position: absolute; right: 10px; bottom: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.rec-wave { position: absolute; left: 12px; right: 90px; bottom: 12px; display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.rec-wave i { flex: 1; background: var(--v-500); border-radius: 2px; animation: wave 1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.13s); }
@keyframes wave { from { height: 15%; } to { height: 100%; } }

/* Стример */
.stream { display: grid; align-content: center; gap: 10px; height: 100%; }
.stream-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); font-family: var(--font-mono); font-size: 13.5px; }
.stream-row small { margin-left: auto; color: var(--muted); font-size: 11px; }
.stream-row .ava { width: 26px; height: 26px; border-radius: 7px; background: var(--grad-btn); flex-shrink: 0; }
.stream-row .ava.b { background: linear-gradient(135deg, #3b2a5c, #1a1030); }
.scr { color: var(--v-300); }

/* ---------- Шаги ---------- */

.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 30px; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 22px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(154,92,255,.1);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--v-300);
  box-shadow: inset 0 0 20px rgba(154,92,255,.15);
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 15px; }
.steps-line { position: absolute; left: 0; right: 0; top: 57px; height: 1px; z-index: -1; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.steps-line i { position: absolute; top: -1px; left: 0; width: 120px; height: 3px; border-radius: 3px; background: var(--grad); box-shadow: 0 0 14px var(--v-500); animation: travel 4s var(--ease-in-out) infinite; }
@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 120px); opacity: 0; } }

/* ---------- Тарифы ---------- */

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; perspective: 1400px; }
.plans .plan-top { flex-wrap: wrap; align-items: flex-start; }
.plans .plan-title { font-size: 18px; }
.plan {
  --tx: 0deg; --ty: 0deg;
  display: flex;
  flex-direction: column;
  transform: rotateX(var(--tx)) rotateY(var(--ty));
  transform-style: preserve-3d;
}
.plan:hover { box-shadow: 0 30px 80px -30px rgba(154,92,255,.55); }
.plan.featured { border-color: transparent; background: linear-gradient(180deg, rgba(154,92,255,.14), rgba(255,255,255,.015)); }
.plan.featured .plan-border {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--angle), transparent 0 55%, #b88cff 70%, #e36bff 80%, #fff 85%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotAngle 4s linear infinite;
  pointer-events: none;
}
.plan-art {
  position: relative;
  height: 290px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 100%, rgba(122,60,240,.28), transparent 60%);
}
.plan-big {
  position: absolute;
  top: 26px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 104px;
  line-height: .85;
  letter-spacing: -0.05em;
  color: transparent;
  background: linear-gradient(180deg, #fff 0%, #d8c4ff 45%, rgba(184,140,255,.05) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateZ(30px);
}
.plan-big small { display: block; margin-top: 6px; font-size: 22px; letter-spacing: .3em; font-weight: 800; }
.plan-big.inf { font-size: 150px; top: 0; }

.moon {
  --size: 150px;
  position: absolute;
  bottom: -28px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.10) 0 9%, transparent 10%),
    radial-gradient(circle at 64% 60%, rgba(0,0,0,.35) 0 7%, transparent 8%),
    radial-gradient(circle at 40% 72%, rgba(0,0,0,.30) 0 5%, transparent 6%),
    radial-gradient(circle at 72% 30%, rgba(0,0,0,.30) 0 4%, transparent 5%),
    radial-gradient(circle at 22% 55%, rgba(0,0,0,.28) 0 6%, transparent 7%),
    radial-gradient(circle at 55% 40%, rgba(255,255,255,.06) 0 14%, transparent 15%),
    radial-gradient(circle at 35% 35%, #4a3d66 0%, #241a38 45%, #0d0916 80%);
  box-shadow:
    0 0 0 1px rgba(216,196,255,.18),
    0 0 50px rgba(154,92,255,.55),
    0 0 120px rgba(154,92,255,.3),
    inset -18px -14px 40px rgba(0,0,0,.6);
  transform: translateZ(60px);
  animation: moonBob 6s ease-in-out infinite alternate;
  overflow: hidden;
}
.moon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.35) 0 4%, transparent 5%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,.3) 0 6%, transparent 7%),
    radial-gradient(circle at 50% 85%, rgba(255,255,255,.07) 0 5%, transparent 6%);
  background-size: 100% 100%;
  animation: moonSpin 20s linear infinite;
}
.moon::after {
  content: "";
  position: absolute;
  top: -6%;
  width: 112%;
  height: 112%;
  border-radius: 50%;
  background: #07040e;
  box-shadow: inset 8px 0 18px rgba(154,92,255,.35);
}
.moon.crescent::after { left: 26%; }
.moon.half::after { left: 50%; border-radius: 0; width: 60%; box-shadow: inset 10px 0 20px rgba(154,92,255,.3); }
.moon.full::after { display: none; }
.moon.full { box-shadow: 0 0 0 1px rgba(216,196,255,.3), 0 0 60px rgba(184,140,255,.7), 0 0 160px rgba(154,92,255,.45), inset -20px -16px 40px rgba(0,0,0,.55); }
@keyframes moonBob { to { transform: translateZ(60px) translateY(-12px); } }
@keyframes moonSpin { to { transform: rotate(360deg); } }

.orbit {
  position: absolute;
  bottom: 20px;
  width: 300px;
  height: 70px;
  border-radius: 50%;
  border: 1.5px solid rgba(216,196,255,.55);
  box-shadow: 0 0 18px rgba(154,92,255,.6), inset 0 0 18px rgba(154,92,255,.4);
  transform: translateZ(70px) rotate(-10deg);
  pointer-events: none;
}
.orbit::after {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px #fff, 0 0 30px var(--v-400);
  offset-path: ellipse(150px 35px at 50% 50%);
  offset-distance: 0%;
  animation: orbit 5s linear infinite;
}
@keyframes orbit { to { offset-distance: 100%; } }

/* Сброс HWID: затмение и вращающееся кольцо «перепривязки» */
.plan-big.txt { top: 40px; font-size: 64px; letter-spacing: -0.03em; }
.plan-big.txt small { font-size: 18px; margin-top: 10px; }
.moon.eclipse { box-shadow: 0 0 0 1px rgba(216,196,255,.35), 0 0 46px rgba(227,107,255,.55), 0 0 120px rgba(154,92,255,.35), inset -18px -14px 40px rgba(0,0,0,.6); }
.moon.eclipse::after { top: 3%; left: 3%; width: 94%; height: 94%; background: radial-gradient(circle at 40% 35%, #120a22, #050309 70%); box-shadow: inset 0 0 26px rgba(184,140,255,.45); }
.reset-ring {
  position: absolute;
  bottom: -58px;
  width: 210px; height: 210px;
  border-radius: 50%;
  border: 1.5px dashed rgba(216,196,255,.4);
  transform: translateZ(70px);
  animation: spin 16s linear infinite;
  pointer-events: none;
}
.reset-ring::after {
  content: "";
  position: absolute;
  top: 50%; left: -5px;
  width: 9px; height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px #fff, 0 0 30px var(--pink);
}
.badge.svc { background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: var(--v-300); box-shadow: none; }

.plan-body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 26px 26px 28px; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-title { font-size: 20px; }
.plan-title small { display: block; margin-top: 4px; font-family: var(--font); font-weight: 500; font-size: 13px; letter-spacing: 0; color: var(--muted); }
.badge {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 0 20px rgba(154,92,255,.6);
}
.badge.alt { background: linear-gradient(135deg, #e36bff, #9a5cff); }
.plan-desc { color: var(--text-2); font-size: 14.5px; }
.perks { display: grid; gap: 9px; font-size: 14px; }
.perks li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); }
.perks svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--v-400); }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 10px; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--font-display); font-weight: 900; font-size: 44px; letter-spacing: -0.03em; }
.price-unit { color: var(--muted); font-size: 14px; }
.price-old { color: var(--muted); font-size: 15px; text-decoration: line-through; text-decoration-color: rgba(227,107,255,.7); }
.price-note { width: 100%; font-family: var(--font-mono); font-size: 12px; color: var(--v-300); }

/* ---------- Цена одного дня ---------- */

.value { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 44px; padding: 46px; }
.value-text { display: grid; justify-items: start; gap: 16px; }
.value-text .h2 { font-size: clamp(28px, 3.6vw, 44px); }
.value-text p { max-width: 420px; color: var(--text-2); font-size: 16px; }
.value-bars { display: grid; gap: 20px; }
.vbar-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-2); }
.vbar-top b { font-family: var(--font-mono); font-weight: 600; color: var(--v-300); white-space: nowrap; }
.vbar .bar { height: 10px; margin: 9px 0 0; }

/* ---------- Версии Minecraft ---------- */

.versions { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 44px; padding: 46px; }
.versions-text { display: grid; justify-items: start; gap: 16px; }
.versions-text .h2 { font-size: clamp(28px, 3.6vw, 44px); }
.versions-text p { max-width: 440px; color: var(--text-2); font-size: 16px; }
.versions-text .tag-row { margin-top: 0; }
.ver-scale { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-bottom: 18px; font-family: var(--font-mono); font-size: 12px; color: var(--v-300); }
.ver-scale .bar { height: 6px; margin: 0; }
.ver-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ver {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
  transition: border-color .3s, background .3s;
}
.ver:hover { border-color: var(--line-2); background: rgba(154,92,255,.08); }
.ver b { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.ver small { font-size: 12px; color: var(--muted); }
.ver.now { border-color: rgba(184,140,255,.5); background: linear-gradient(135deg, rgba(154,92,255,.2), rgba(154,92,255,.04)); box-shadow: 0 0 30px -8px rgba(154,92,255,.6); }
.ver.now b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ver .badge { position: absolute; top: -9px; right: 10px; padding: 3px 8px; font-size: 9.5px; font-style: normal; }

/* ---------- Список «во всех тарифах» ---------- */

.incl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.incl .card { padding: 22px; min-height: 150px; }
.incl-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(154,92,255,.1); color: var(--v-300); }
.incl-ico svg { width: 21px; height: 21px; }
.incl h4 { font-family: var(--font); font-size: 16px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.incl p { color: var(--muted); font-size: 13.5px; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.qa { border-radius: 20px; }
.qa-q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.4;
}
.qa-q .plus { position: relative; flex-shrink: 0; width: 30px; height: 30px; margin-left: auto; border: 1px solid var(--line-2); border-radius: 10px; transition: transform .5s var(--ease), background .3s; }
.qa-q .plus::before, .qa-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--v-300); transition: transform .5s var(--ease); }
.qa-q .plus::after { transform: rotate(90deg); }
.qa.open .qa-q .plus { transform: rotate(180deg); background: rgba(154,92,255,.2); }
.qa.open .qa-q .plus::after { transform: rotate(0); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 24px 22px; color: var(--text-2); font-size: 15px; }
.qa.open .ans { grid-template-rows: 1fr; }
.qa-txt { display: grid; gap: 4px; }
.qa .q-tag { font-family: var(--font-mono); font-size: 11px; color: var(--v-400); letter-spacing: .1em; text-transform: uppercase; }
.qa.hide { display: none; }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 90px 30px;
  text-align: center;
  overflow: hidden;
}
.cta h2 { font-size: clamp(32px, 5.4vw, 66px); max-width: 900px; }
.cta p { max-width: 560px; color: var(--text-2); font-size: 17px; }
.cta-glow { position: absolute; left: 50%; bottom: -60%; z-index: -1; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(154,92,255,.45), transparent); filter: blur(30px); animation: breathe 6s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: translateX(-50%) scale(1.15); opacity: .7; } }

/* ---------- Шапка внутренних страниц ---------- */

.page-head { position: relative; padding: calc(var(--nav-h) + 90px) 0 50px; text-align: center; }
.page-head .wrap { display: grid; justify-items: center; gap: 20px; }
.page-head h1 { font-size: clamp(38px, 6.4vw, 84px); font-weight: 900; letter-spacing: -0.035em; }
.page-head p { max-width: 640px; color: var(--text-2); font-size: 17.5px; }

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

.tg-card { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; padding: 46px; }
.tg-card h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 16px 0 14px; }
.tg-card p { color: var(--text-2); font-size: 16px; max-width: 460px; }
.tg-handle { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.tg-visual { position: relative; display: grid; place-items: center; height: 300px; }
.tg-orb { position: absolute; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c9a6ff, #7a3cf0 55%, #2a1060 100%); box-shadow: 0 0 80px rgba(154,92,255,.7), inset -20px -20px 50px rgba(0,0,0,.4); animation: moonBob 5s ease-in-out infinite alternate; }
.tg-orb::before, .tg-orb::after { content: ""; position: absolute; inset: -26px; border-radius: 50%; border: 1px solid rgba(216,196,255,.25); animation: ping 3s var(--ease) infinite; }
.tg-orb::after { animation-delay: 1.5s; }
@keyframes ping { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }
.tg-plane { position: relative; width: 104px; height: 104px; color: #fff; filter: drop-shadow(0 8px 20px rgba(30,0,80,.6)); animation: plane 4s ease-in-out infinite; }
@keyframes plane { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(8px, -10px) rotate(-6deg); } }

.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.topic { display: grid; gap: 10px; padding: 24px; text-align: left; }
.topic .incl-ico { margin-bottom: 6px; }
.topic h4 { font-family: var(--font); font-size: 16.5px; font-weight: 600; letter-spacing: 0; }
.topic p { color: var(--muted); font-size: 13.5px; }
.topic.on { border-color: rgba(184,140,255,.5); background: linear-gradient(180deg, rgba(154,92,255,.16), rgba(255,255,255,.01)); }

.faq-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto 26px; max-width: 860px; }
.search {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(10,7,18,.6);
  backdrop-filter: blur(10px);
  color: var(--muted);
  transition: border-color .3s, box-shadow .3s;
}
.search:focus-within { border-color: rgba(184,140,255,.6); box-shadow: 0 0 0 4px rgba(154,92,255,.15); }
.search svg { width: 18px; height: 18px; flex-shrink: 0; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; color: var(--text); }
.faq-empty { display: none; text-align: center; color: var(--muted); padding: 30px 0; }
.faq-empty.show { display: block; }

.guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide .card { padding: 28px; }
.guide .step-num { margin-bottom: 18px; }
.guide h3 { font-size: 19px; margin-bottom: 10px; }
.guide p { color: var(--text-2); font-size: 14.5px; }
.code {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0,0,0,.3);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--v-300);
  word-break: break-all;
}

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

.auth { display: grid; place-items: center; padding: calc(var(--nav-h) + 70px) 0 100px; min-height: 100vh; }
.auth-card { width: min(460px, calc(100% - 40px)); padding: 36px; }
.auth-logo { width: 74px; height: 74px; margin: 0 auto 18px; mix-blend-mode: screen; border-radius: 20px; filter: drop-shadow(0 0 20px rgba(154,92,255,.6)); }
.auth-card h1 { text-align: center; font-size: 28px; margin-bottom: 8px; }
.auth-card > p { text-align: center; color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.25); }
.tabs button { position: relative; z-index: 1; height: 40px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s; }
.tabs button.on { color: #fff; }
.tabs .tab-pill { position: absolute; top: 4px; left: 4px; width: calc(50% - 4px); height: 40px; border-radius: 10px; background: var(--grad-btn); box-shadow: 0 6px 20px -6px rgba(154,92,255,.8); transition: transform .5s var(--ease); }
.tabs.right .tab-pill { transform: translateX(100%); }
.field { position: relative; display: block; margin-bottom: 14px; }
.field input {
  width: 100%;
  height: 56px;
  padding: 20px 16px 6px 46px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(0,0,0,.25);
  outline: 0;
  font-size: 15px;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus { border-color: rgba(184,140,255,.65); box-shadow: 0 0 0 4px rgba(154,92,255,.15); }
.field span { position: absolute; left: 46px; top: 18px; color: var(--muted); font-size: 15px; pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: 0 0; }
.field input:focus + span, .field input:not(:placeholder-shown) + span { transform: translateY(-10px); font-size: 11.5px; color: var(--v-300); }
.field > svg { position: absolute; left: 16px; top: 18px; width: 19px; height: 19px; color: var(--muted); transition: color .3s; }
.field.err input { border-color: rgba(255,92,122,.7); animation: shake .4s; }
.field.err > svg { color: var(--bad); }
.field.ok input { border-color: rgba(94,240,176,.45); }
.field.ok > svg { color: var(--ok); }
.field-msg { display: block; margin: 6px 4px 0; font-size: 12.5px; line-height: 1.4; color: var(--bad); }
.field-msg:empty { display: none; }
.field:has(.field-eye) input { padding-right: 50px; }
.field-eye { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--muted); transition: color .3s, background .3s; }
.field-eye:hover { color: #fff; background: rgba(255,255,255,.05); }
.field-eye svg { width: 19px; height: 19px; }

.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: -4px 2px 14px; }
.pw-meter i { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); transition: background .35s, box-shadow .35s; }
.pw-meter span { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.pw-meter[data-level="1"] i:nth-child(-n+1) { background: var(--bad); }
.pw-meter[data-level="2"] i:nth-child(-n+2) { background: var(--warn); }
.pw-meter[data-level="3"] i:nth-child(-n+3) { background: var(--v-400); box-shadow: 0 0 8px rgba(184,140,255,.5); }
.pw-meter[data-level="4"] i { background: var(--ok); box-shadow: 0 0 8px rgba(94,240,176,.45); }

.check { position: relative; display: flex; align-items: flex-start; gap: 11px; margin: 4px 2px 0; font-size: 13px; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; }
.check input:focus-visible + i { outline: 2px solid var(--v-400); outline-offset: 2px; }
.check i { margin-top: 1px; }
.check a { color: var(--v-300); border-bottom: 1px solid rgba(184,140,255,.3); }
.check a:hover { color: #fff; }
.check.err i { border-color: var(--bad); animation: shake .4s; }
.auth-card .check { margin-bottom: 18px; }
.check-msg { margin: -10px 4px 16px; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.form-note { margin-top: 16px; text-align: center; font-size: 13px; color: var(--muted); }
.form-note a { color: var(--v-300); }
.auth-extra { display: none; }
.auth-card.reg .auth-extra { display: block; }

.dash { padding: calc(var(--nav-h) + 60px) 0 100px; }
.dash-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.dash .card { padding: 26px; }
.d-12 { grid-column: span 12; }
.d-8 { grid-column: span 8; }
.d-7 { grid-column: span 7; }
.d-6 { grid-column: span 6; }
.d-5 { grid-column: span 5; }
.d-4 { grid-column: span 4; }
.card-title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-title svg { width: 16px; height: 16px; color: var(--v-400); }

.me { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.me-ava { position: relative; width: 96px; height: 96px; border-radius: 26px; padding: 3px; background: var(--grad); box-shadow: var(--glow); }
.me-ava img { width: 100%; height: 100%; border-radius: 23px; background: #120b20; image-rendering: pixelated; object-fit: cover; }
.me-ava i { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; border: 4px solid #0a0712; background: var(--ok); transition: background .3s; }
.me-ava i.off { background: var(--muted); }
.dl-status { margin-left: auto; align-self: flex-start; color: var(--muted); }
.btn.locked { color: var(--muted); }
.btn.locked:hover { color: var(--text); }

/* Демо-переключатель вида кабинета */
.demo-switch {
  position: fixed;
  left: 18px; bottom: 18px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(12, 8, 22, .72);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.demo-switch .seg { flex-wrap: nowrap; }
.demo-switch .seg button { font-family: var(--font); letter-spacing: 0; text-transform: none; }

/* Меню: вошедший пользователь */
.nav-link.authed::after { content: ""; position: absolute; top: 9px; left: 27px; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 2px #0a0712; }
.nav-link.authed.sub-on::after { background: var(--ok); box-shadow: 0 0 0 2px #0a0712, 0 0 8px var(--ok); }
.me h1 { font-size: clamp(26px, 3.4vw, 38px); }
.me-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.me-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.sub { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
.sub .moon { position: relative; bottom: auto; --size: 110px; transform: none; animation: none; }
.sub-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); }
.sub-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.sub-status.ok { color: var(--ok); border-color: rgba(94,240,176,.35); background: rgba(94,240,176,.06); }
.sub-status.ok i { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.sub h3 { font-size: 26px; margin: 12px 0 6px; }
.sub p { color: var(--text-2); font-size: 14.5px; }
.bar { height: 8px; margin: 16px 0 8px; border-radius: 8px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--grad); box-shadow: 0 0 14px var(--v-500); transition: width 1.4s var(--ease); }
.bar-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.sub-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.key-form { display: flex; gap: 10px; flex-wrap: wrap; }
.key-form .field { flex: 1 1 240px; margin: 0; }
.key-form .field input { font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.key-form .btn { height: 56px; }

.dl { display: flex; align-items: center; gap: 18px; }
.dl-ico { display: grid; place-items: center; width: 64px; height: 64px; flex-shrink: 0; border-radius: 18px; background: var(--grad-btn); box-shadow: var(--glow); }
.dl-ico svg { width: 30px; height: 30px; }
.dl h4 { font-family: var(--font); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.dl p { color: var(--muted); font-size: 13px; }

.kv { display: grid; gap: 2px; }
.kv-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv-row:last-child { border-bottom: 0; }
.kv-row span { color: var(--muted); }
.kv-row b { font-family: var(--font-mono); font-weight: 500; font-size: 13px; text-align: right; word-break: break-all; }

.history { display: grid; gap: 8px; }
.hist { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.015); font-size: 14px; }
.hist-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(154,92,255,.12); color: var(--v-300); }
.hist-ico svg { width: 18px; height: 18px; }
.hist small { display: block; color: var(--muted); font-size: 12px; }
.hist b { font-family: var(--font-mono); font-weight: 600; }
.empty { padding: 26px; border: 1px dashed var(--line-2); border-radius: 16px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- Модальное окно и тосты ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 2, 6, .7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-box {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(180deg, #120b20, #0a0713);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 80px rgba(154,92,255,.2);
  transform: translateY(30px) scale(.96);
  transition: transform .55s var(--ease);
}
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; top: 18px; right: 18px; }
.modal h3 { font-size: 24px; margin: 14px 0 8px; padding-right: 50px; }
.modal-sub { color: var(--text-2); font-size: 14.5px; }
.order { display: grid; gap: 2px; margin: 22px 0; padding: 6px 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(0,0,0,.25); }
.order .kv-row b { font-family: var(--font); font-weight: 600; font-size: 14px; }
.order .total b { font-family: var(--font-display); font-size: 22px; font-weight: 900; }
.order-steps { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: s; }
.order-steps li { position: relative; padding-left: 38px; color: var(--text-2); font-size: 14px; counter-increment: s; }
.order-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(154,92,255,.12); font-family: var(--font-mono); font-size: 12px; color: var(--v-300); }
.order-steps b { color: var(--text); font-weight: 600; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modal-legal { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }
.modal-legal a { color: var(--v-300); border-bottom: 1px solid rgba(184,140,255,.3); transition: color .3s, border-color .3s; }
.modal-legal a:hover { color: #fff; border-color: #fff; }

/* Выбор способа оплаты */
.pay-label { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pay-methods { display: grid; gap: 8px; margin-bottom: 22px; }
.pay-method {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.02);
  text-align: left;
  transition: border-color .3s, background .3s;
}
.pay-method.on { border-color: rgba(184,140,255,.55); background: linear-gradient(135deg, rgba(154,92,255,.18), rgba(154,92,255,.04)); box-shadow: 0 0 30px -10px rgba(154,92,255,.7); }
.pay-method:disabled { cursor: not-allowed; opacity: .5; }
.pay-logo { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text-2); font-family: var(--font-display); font-weight: 900; font-size: 14px; }
.pay-logo svg { width: 20px; height: 20px; }
.pay-logo.fp { border: 0; background: var(--grad-btn); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.pay-text { flex: 1; min-width: 0; }
.pay-text b { display: block; font-size: 15px; font-weight: 600; }
.pay-text small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.pay-check { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--v-600); box-shadow: 0 0 12px rgba(154,92,255,.6); }
.pay-check svg { width: 14px; height: 14px; stroke-width: 3; }
.pay-tag { flex-shrink: 0; padding: 3px 8px; border: 1px solid var(--line); border-radius: 7px; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }

/* Юридические документы */
.legal-modal { z-index: 155; }
.legal-box { display: flex; flex-direction: column; width: min(820px, 100%); padding: 0; overflow: hidden; }
.legal-head { position: relative; padding: 28px 32px 18px; border-bottom: 1px solid var(--line); }
.legal-head .tabs { max-width: 440px; margin: 18px 0 0; }
.legal-doc { flex: 1; min-height: 0; padding: 22px 32px 32px; overflow-y: auto; outline: none; scrollbar-width: thin; }
.legal-doc h4 { margin: 24px 0 10px; font-size: 15px; letter-spacing: -0.01em; color: var(--text); }
.legal-doc h4:first-of-type { margin-top: 14px; }
.legal-doc p, .legal-doc li { color: var(--text-2); font-size: 14px; line-height: 1.65; }
.legal-doc p + p { margin-top: 8px; }
.legal-doc ul { display: grid; gap: 4px; margin: 8px 0; padding-left: 20px; list-style: disc; }
.legal-doc li::marker { color: var(--v-400); }
.legal-doc a { color: var(--v-300); border-bottom: 1px solid rgba(184,140,255,.3); }
.legal-meta { font-family: var(--font-mono); font-size: 12px !important; color: var(--muted) !important; }
.legal-req { margin-top: 28px; padding: 18px 20px 8px; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(0,0,0,.25); }
.legal-req h4 { margin: 0 0 4px !important; }
.legal-req .kv-row b { font-family: var(--font); font-weight: 600; font-size: 13.5px; word-break: normal; }

.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 260; display: grid; gap: 10px; transform: translateX(-50%); pointer-events: none; }
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  max-width: calc(100vw - 40px);
  padding: 14px 18px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(16, 10, 28, .95);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 30px rgba(154,92,255,.2);
  font-size: 14px;
  animation: toastIn .5s var(--ease) both;
}
.toast.out { animation: toastOut .4s var(--ease) both; }
.toast i { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--v-400); box-shadow: 0 0 10px var(--v-400); }
.toast.ok i { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.toast.bad i { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.95); } }

/* ---------- Подвал ---------- */

.footer { position: relative; margin-top: 40px; padding: 70px 0 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer .wrap { container-type: inline-size; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.footer-req { font-family: var(--font-mono); font-size: 12px; }
.footer p { color: var(--muted); font-size: 14px; max-width: 320px; margin-top: 16px; }
.footer h5 { margin: 0 0 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.footer li + li { margin-top: 10px; }
.footer li a { color: var(--muted); font-size: 14.5px; transition: color .3s; }
.footer li a:hover { color: #fff; }
.footer-word {
  margin: 60px 0 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11.5vw;
  font-size: 13.2cqw;
  line-height: .8;
  letter-spacing: -0.06em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(184,140,255,.32), rgba(184,140,255,0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  transition: filter .6s;
}
.footer-word:hover { filter: drop-shadow(0 0 30px rgba(154,92,255,.4)); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* ---------- Адаптив ---------- */

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-4, .b-3, .b-2 { grid-column: span 1; }
  .b-4 { grid-column: span 2; }
  .incl, .topics { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .d-8, .d-7, .d-6, .d-5, .d-4 { grid-column: span 12; }
  .arraylist { display: none; }
}

@media (max-width: 960px) {
  .nav-links, .nav-sep, .nav-right .btn { display: none; }
  .burger { display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .steps, .guide { grid-template-columns: 1fr; }
  .steps-line { display: none; }
  .tg-card { grid-template-columns: 1fr; padding: 32px; }
  .value { grid-template-columns: 1fr; gap: 30px; padding: 30px; }
  .versions { grid-template-columns: 1fr; gap: 30px; padding: 30px; }
  .tg-visual { height: 240px; order: -1; }
  .gui-settings { width: min(330px, calc(100% - 36px)); }
  .arraylist { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .wrap { width: calc(100% - 32px); }
  .nav { width: calc(100% - 20px); top: 10px; }
  .brand-name { font-size: 15px; }
  .hero { padding-bottom: 120px; }
  .hero-stats { width: 100%; }
  .stat { flex: 1 1 50%; padding: 14px 10px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(2n) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-cta { width: 100%; flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .b-4 { grid-column: span 1; }
  .bento .card { min-height: 0; padding: 22px; }
  .incl, .topics { grid-template-columns: 1fr; }
  .dock-desk { height: 600px; border-radius: 22px; }
  .gui-search { top: 14px; left: 14px; width: calc(100% - 110px); transform: none; }
  .dock-lang { top: 16px; right: 12px; }
  .dock { gap: 8px; height: 56px; padding: 0 14px; bottom: 14px; }
  .dock::before, .dock::after { border-radius: 23px; }
  .dock-item { width: 34px; height: 34px; border-radius: 11px; }
  .dock-item svg { width: 18px; height: 18px; }
  .gui-settings { top: 58px; left: 8px; right: 8px; bottom: 80px; width: auto; }
  .tile { padding: 11px 11px 9px; }
  .gui-notify { display: none; }
  .chk-grid { grid-template-columns: 1fr; }
  .plan-big { font-size: 86px; }
  .plan-big.inf { font-size: 124px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 26px 22px; }
  .modal-actions { grid-template-columns: 1fr; }
  .legal-box { padding: 0; }
  .legal-head { padding: 22px 20px 14px; }
  .legal-doc { padding: 16px 20px 24px; }
  .demo-switch { left: 10px; right: 10px; bottom: 10px; justify-content: space-between; padding-left: 12px; }
  .demo-switch .seg button { padding: 0 9px; }
  .dl { flex-wrap: wrap; }
  .auth-card { padding: 28px 22px; }
  .dash .card { padding: 22px; }
  .sub { grid-template-columns: 1fr; justify-items: start; }
  .me-actions { margin-left: 0; width: 100%; }
  .scroll-hint { display: none; }
  .tg-card { padding: 24px; }
  .versions { padding: 24px; }
  .ver-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; filter: none; transform: none; }
  .split .w > span { transform: none; }
}
