/* ==========================================================================
   CookieBots — тёмный glass: Unbounded (заголовки) + Manrope (интерфейс)
   + JetBrains Mono (цифры), акцент periwinkle → cyan → violet
   ========================================================================== */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/unbounded-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/unbounded-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../fonts/unbounded-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../fonts/unbounded-cyrillic-800-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/jetbrains-mono-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --bg:      #06070d;
  --bg-2:    #0a0c14;
  --bg-3:    #11141f;
  --line:    rgba(255, 255, 255, .075);
  --line-2:  rgba(255, 255, 255, .14);
  --txt:     #f1f3ff;
  --txt-2:   #a6adc8;
  --txt-3:   #6d7490;
  --acc:     #a9bcff;
  --acc-2:   #7ce7ff;
  --acc-3:   #c3a3ff;
  --green:   #55e6a5;
  --red:     #ff7a8c;
  --orange:  #ffc35c;
  --font:         'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --wrap:    1240px;
  --r:       20px;
  --r-sm:    14px;
  --r-xs:    10px;
  --grad-acc: linear-gradient(135deg, var(--acc) 0%, var(--acc-2) 55%, var(--acc-3) 100%);
  --grad-txt: linear-gradient(180deg, #ffffff, #cdd4ee);
  --surface: linear-gradient(168deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012) 46%, rgba(255, 255, 255, .028));
  --sh-1:    0 10px 30px -18px rgba(0, 0, 0, .9);
  --sh-2:    0 26px 70px -30px rgba(6, 8, 20, .95), 0 0 0 1px rgba(169, 188, 255, .08);
  --ease:    cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--txt);
  font-family: var(--font); font-size: 16px; line-height: 1.62;
  font-weight: 420; letter-spacing: 0; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}
::selection { background: var(--acc); color: #05060c; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
h3, h4 { font-family: var(--font); font-weight: 750; letter-spacing: -.012em; }
p { margin: 0; }
code {
  font-family: var(--font-mono); font-size: .86em;
  background: rgba(169, 188, 255, .1); border: 1px solid rgba(169, 188, 255, .22);
  color: var(--acc); padding: .12em .45em; border-radius: 6px;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--acc), #4a5a8c); border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--acc-2); }
:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ------------------------------------------------------------- фон ------ */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(140% 90% at 50% -10%, #141a2e 0%, #0a0c16 42%, var(--bg) 72%),
    linear-gradient(180deg, #080a12, var(--bg) 60%); }
/* aurora-поля: три медленных цветных пятна */
.backdrop::before { content: ''; position: absolute; inset: -25%;
  background:
    radial-gradient(38% 34% at 18% 12%, rgba(169, 188, 255, .30), transparent 62%),
    radial-gradient(34% 30% at 82% 8%,  rgba(124, 231, 255, .20), transparent 62%),
    radial-gradient(46% 40% at 62% 88%, rgba(195, 163, 255, .18), transparent 64%),
    radial-gradient(40% 36% at 8% 78%,  rgba(85, 230, 165, .10), transparent 64%);
  filter: blur(30px); opacity: .85; animation: auroraDrift 34s ease-in-out infinite alternate; }
@keyframes auroraDrift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
  50%  { transform: translate3d(3%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(-1%, 3%, 0) scale(1.02); }
}
/* виньетка + нижняя тень, чтобы текст не висел в вакууме */
.backdrop::after { content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 78% at 50% 42%, transparent 42%, rgba(3, 4, 9, .55) 78%, rgba(3, 4, 9, .9) 100%),
    linear-gradient(180deg, rgba(3, 4, 9, .5), transparent 22%); }
.backdrop__grid { position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(169, 188, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 188, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(78% 58% at 50% 6%, #000 12%, transparent 72%);
          mask-image: radial-gradient(78% 58% at 50% 6%, #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(78% 58% at 50% 6%, #000 12%, transparent 72%);
  animation: gridDrift 46s linear infinite; }
.backdrop__grid::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(112deg, transparent 38%, rgba(124, 231, 255, .10) 48%, transparent 58%);
  animation: beam 16s ease-in-out infinite; }
@keyframes gridDrift { to { transform: translateY(64px); } }
@keyframes beam { 0%, 100% { opacity: 0; transform: translateX(-12%); } 45%, 60% { opacity: 1; transform: translateX(12%); } }
.backdrop__glow { position: absolute; width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 188, 255, .22), rgba(195, 163, 255, .08) 45%, transparent 68%);
  top: -300px; left: 50%; transform: translateX(-50%);
  animation: glowPulse 11s ease-in-out infinite alternate; }
@keyframes glowPulse { from { opacity: .5; } to { opacity: 1; } }
.backdrop__noise { position: absolute; inset: 0; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* парящие воксель-кубы — отсылка к логотипу и майнкрафту */
.backdrop__vox { position: absolute; inset: 0; }
.vox { position: absolute; left: var(--x); top: var(--y); width: calc(34px * var(--s, 1)); height: auto; aspect-ratio: 1;
  opacity: var(--o, .5); filter: drop-shadow(0 14px 26px rgba(169, 188, 255, .22));
  animation: voxFloat var(--t, 20s) ease-in-out var(--d, 0s) infinite alternate; }
@keyframes voxFloat {
  from { transform: translate3d(0, 0, 0) rotate(-5deg); }
  to   { transform: translate3d(16px, -52px, 0) rotate(7deg); }
}
@media (max-width: 700px) { .vox:nth-child(3), .vox:nth-child(9), .vox:nth-child(10) { display: none; } }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------- навигация ---- */
.nav {
  position: sticky; top: 0; z-index: 50; height: 78px;
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(8, 10, 18, .88), rgba(8, 10, 18, .62));
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169, 188, 255, .55), rgba(124, 231, 255, .35), transparent); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700;
  font-size: 15px; letter-spacing: .16em; }
.brand__grad { background: var(--grad-acc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__logo { width: 34px; height: 34px; flex: none; border-radius: 10px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 12px 30px -12px rgba(169, 188, 255, .9); }
.brand__logo--sm { width: 28px; height: 28px; border-radius: 8px; }
.auth__logo { width: 66px; height: 66px; display: block; margin: 0 auto 16px; border-radius: 17px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 26px 54px -22px rgba(169, 188, 255, .95); }
.nav__links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 500; color: var(--txt-2); }
.nav__links a { position: relative; padding-block: 6px; transition: color .25s; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--grad-acc); transition: right .3s var(--ease); }
.nav__links a:hover { color: var(--txt); }
.nav__links a:hover::after { right: 0; }
.nav__actions { display: flex; gap: 10px; align-items: center; }
@media (max-width: 820px) { .nav__links { display: none; } }

/* ------------------------------------------------------------ кнопки ---- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-xs); font-size: 14.5px; font-weight: 650;
  letter-spacing: .005em; white-space: nowrap;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .035); color: var(--txt);
  transition: transform .22s var(--ease), box-shadow .3s, border-color .3s, filter .3s, background .3s;
}
/* блик сверху и бегущий искровой проход на ховере */
.btn::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 52%; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), transparent); opacity: .5; }
.btn::after { content: ''; position: absolute; top: -60%; bottom: -60%; left: -30%; width: 26%; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: translateX(-140%) skewX(-18deg); transition: transform .6s var(--ease); }
.btn:hover::after { transform: translateX(560%) skewX(-18deg); }
.btn:active { transform: translateY(1px) scale(.988); }
.btn--primary { background: var(--grad-txt); color: #06070d; border-color: transparent;
  box-shadow: 0 12px 30px -16px rgba(255, 255, 255, .6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -18px rgba(255, 255, 255, .75); }
.btn--acc { background: var(--grad-acc); color: #06070d; border-color: transparent;
  box-shadow: 0 14px 34px -16px rgba(169, 188, 255, .85); }
.btn--acc::before { background: linear-gradient(180deg, rgba(255, 255, 255, .38), transparent); }
.btn--acc:hover { transform: translateY(-2px); filter: saturate(1.12) brightness(1.04);
  box-shadow: 0 22px 50px -20px rgba(124, 231, 255, .9); }
.btn--ghost { background: rgba(255, 255, 255, .02); color: var(--txt-2); border-color: var(--line); }
.btn--ghost::before { opacity: .18; }
.btn--ghost:hover { color: var(--txt); border-color: rgba(169, 188, 255, .4); background: rgba(169, 188, 255, .08);
  transform: translateY(-1px); }
.btn--danger { color: var(--red); border-color: rgba(255, 122, 140, .32); background: rgba(255, 122, 140, .06); }
.btn--danger:hover { color: #fff; background: linear-gradient(135deg, #ff7a8c, #ff5f7a); border-color: transparent;
  box-shadow: 0 16px 36px -18px rgba(255, 122, 140, .9); transform: translateY(-2px); }
.btn--sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn:disabled::after { display: none; }

/* ------------------------------------------------------------- hero ----- */
.hero { padding: 104px 0 72px; text-align: center; position: relative; }
.hero__chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; color: var(--acc);
  border: 1px solid rgba(169, 188, 255, .28); border-radius: 99px; padding: 9px 18px;
  background: linear-gradient(135deg, rgba(169, 188, 255, .14), rgba(124, 231, 255, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); margin-bottom: 28px;
}
.hero__chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(34px, 6vw, 68px); letter-spacing: -.035em; line-height: 1.02; margin-bottom: 24px; font-weight: 800; }
.hero h1 em { font-style: normal; background: var(--grad-acc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { color: var(--txt-2); font-size: clamp(15px, 2vw, 19px); font-weight: 450; max-width: 680px; margin: 0 auto 36px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__nums { display: flex; gap: 46px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.hero__num b { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 34px;
  background: var(--grad-txt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__num span { font-size: 11.5px; color: var(--txt-3); letter-spacing: .16em; text-transform: uppercase; font-family: var(--font-mono); }

/* ---------------------------------------------------------- marquee ----- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0;
  background: linear-gradient(180deg, rgba(169, 188, 255, .05), rgba(0, 0, 0, .2));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 46px; width: max-content; animation: marq 30s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; letter-spacing: .2em; color: var(--txt-3); white-space: nowrap; }
.marquee__track span b { background: var(--grad-acc); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ секции ---- */
.section { padding: 92px 0 32px; position: relative; }
.section__title { font-size: clamp(26px, 4vw, 42px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; }
.section__lead { color: var(--txt-2); font-weight: 450; max-width: 660px; margin-bottom: 42px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
  background: var(--surface); box-shadow: var(--sh-1);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.card::before { content: ''; position: absolute; z-index: -1; inset: -140px -60px auto auto; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(169, 188, 255, .18), transparent 68%);
  opacity: 0; transition: opacity .4s, transform .6s var(--ease); transform: translateY(-30%); }
.card:hover { border-color: rgba(169, 188, 255, .38); transform: translateY(-5px); box-shadow: var(--sh-2); }
.card:hover::before { opacity: 1; transform: translateY(0); }
.card__icon { position: relative; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(169, 188, 255, .18), rgba(124, 231, 255, .05) 60%, rgba(195, 163, 255, .1));
  border: 1px solid rgba(169, 188, 255, .3); margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 14px 28px -20px rgba(169, 188, 255, .8);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.card__icon::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 0%, rgba(124, 231, 255, .28), transparent 70%); opacity: 0; transition: opacity .35s; }
.card__icon svg { width: 27px; height: 27px; display: block; position: relative; }
.card:hover .card__icon { transform: translateY(-3px) rotate(-3deg) scale(1.05); border-color: rgba(124, 231, 255, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 20px 40px -20px rgba(124, 231, 255, .95); }
.card:hover .card__icon::after { opacity: 1; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--txt-2); font-size: 14.5px; font-weight: 430; }
.step__num { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .22em; margin-bottom: 14px;
  background: var(--grad-acc); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------- тарифы ------ */
.price { position: relative; display: flex; flex-direction: column; gap: 14px; }
.price--best { padding-top: 54px; border-color: rgba(169, 188, 255, .45);
  box-shadow: 0 0 0 1px rgba(169, 188, 255, .22), 0 44px 100px -44px rgba(124, 231, 255, .35); }
.price__flag { position: absolute; top: 16px; right: 18px; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .18em; background: var(--grad-acc); color: #06070d; padding: 5px 13px; border-radius: 99px;
  box-shadow: 0 10px 26px -12px rgba(169, 188, 255, .95); }
.price__name { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.price__desc { color: var(--txt-3); font-size: 13.5px; font-weight: 440; min-height: 40px; }
.price__num { font-family: var(--font-mono); font-weight: 600; font-size: 36px; letter-spacing: -.02em;
  background: var(--grad-txt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price__num small { font-size: 13px; color: var(--txt-3); -webkit-text-fill-color: var(--txt-3); }
.price__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--txt-2); font-weight: 440; }
.price__list b { color: var(--txt); font-weight: 700; }
.price__list li::before { content: '✓  '; color: var(--acc-2); font-family: var(--font-mono); }
.price .btn { margin-top: auto; }

.faq { display: grid; gap: 12px; max-width: 780px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 22px;
  background: var(--surface); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(169, 188, 255, .32); }
.faq summary { cursor: pointer; font-size: 15.5px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--acc); font-family: var(--font-mono); font-size: 18px; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--txt-2); font-size: 14.5px; font-weight: 440; margin-top: 12px; }

.foot { margin-top: 96px; border-top: 1px solid var(--line); padding: 36px 0 46px; color: var(--txt-3); font-size: 13.5px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }

/* ---------------------------------------------------------- модалка ----- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 18px;
  background: rgba(4, 5, 11, .74); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal__box { width: min(460px, 100%); max-height: 92svh; overflow: auto; border: 1px solid var(--line-2);
  border-radius: var(--r); background: linear-gradient(170deg, #12151f, var(--bg-2) 60%); box-shadow: var(--sh-2);
  padding: 30px; transform: translateY(18px) scale(.97); transition: transform .4s var(--ease); }
.modal.open .modal__box { transform: none; }
.modal__box--wide { width: min(640px, 100%); }
.modal__title { font-size: 20px; margin-bottom: 6px; }
.modal__sub { color: var(--txt-3); font-size: 13.5px; font-weight: 440; margin-bottom: 22px; }
.modal__tabs { display: flex; gap: 6px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 12px; padding: 4px; background: rgba(0, 0, 0, .35); }
.modal__tabs button { flex: 1; padding: 10px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--txt-3); transition: all .25s; }
.modal__tabs button:hover { color: var(--txt-2); }
.modal__tabs button.on { background: linear-gradient(135deg, rgba(169, 188, 255, .2), rgba(124, 231, 255, .08)); color: var(--txt);
  box-shadow: inset 0 0 0 1px rgba(169, 188, 255, .32); }

/* -------------------------------------------------------------- поля ---- */
.field { display: grid; gap: 7px; margin-bottom: 15px; }
.label { font-size: 13px; font-weight: 600; color: var(--txt-2); display: flex; align-items: baseline; gap: 8px; letter-spacing: .01em; }
.label small { color: var(--txt-3); font-size: 11.5px; font-weight: 450; font-family: var(--font-mono); }
.inp, .sel {
  width: 100%; padding: 12px 14px; border-radius: var(--r-xs); border: 1px solid var(--line);
  background: rgba(0, 0, 0, .34); color: var(--txt); font-size: 14.5px; font-weight: 480; outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.inp:hover, .sel:hover { border-color: var(--line-2); }
.inp:focus, .sel:focus { border-color: rgba(169, 188, 255, .65); background: rgba(169, 188, 255, .05);
  box-shadow: 0 0 0 4px rgba(169, 188, 255, .12); }
.inp::placeholder { color: var(--txt-3); font-weight: 430; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

.chk { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--txt-2); cursor: pointer; }
.chk input { appearance: none; -webkit-appearance: none; width: 38px; height: 22px; border-radius: 99px;
  background: rgba(255, 255, 255, .1); position: relative; cursor: pointer; transition: background .3s, box-shadow .3s; flex: none; }
.chk input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.chk input:checked { background: var(--grad-acc); box-shadow: 0 0 16px -4px rgba(169, 188, 255, .8); }
.chk input:checked::after { transform: translateX(16px); }

.err { color: var(--red); font-size: 13.5px; font-weight: 500; min-height: 20px; margin-top: 4px; }

/* ------------------------------------------------------ каркас ЛК/админа -- */
.shell { display: grid; grid-template-columns: 254px minmax(0, 1fr); min-height: 100svh; }
.side { border-right: 1px solid var(--line); padding: 22px 16px; display: grid; grid-template-rows: auto 1fr auto; gap: 26px;
  position: sticky; top: 0; height: 100svh;
  background: linear-gradient(180deg, rgba(18, 21, 32, .92), rgba(8, 9, 15, .92));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.side::after { content: ''; position: absolute; top: 0; right: -1px; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(169, 188, 255, .5), transparent 42%, transparent 72%, rgba(124, 231, 255, .3)); }
.side__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: .14em; padding: 0 8px; }
.side__nav { display: grid; gap: 4px; align-content: start; }
.side__nav button, .side__nav a {
  position: relative; display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: var(--r-xs);
  color: var(--txt-2); font-size: 14.5px; font-weight: 560; text-align: left; width: 100%;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.side__nav button::before, .side__nav a::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 2px; border-radius: 2px; background: var(--grad-acc); opacity: 0; transition: opacity .25s; }
.side__nav button:hover, .side__nav a:hover { background: rgba(255, 255, 255, .045); color: var(--txt); transform: translateX(2px); }
.side__nav .on { background: linear-gradient(100deg, rgba(169, 188, 255, .16), rgba(124, 231, 255, .05)); color: var(--txt);
  box-shadow: inset 0 0 0 1px rgba(169, 188, 255, .26); }
.side__nav .on::before { opacity: 1; }
.side__nav svg { width: 17px; height: 17px; opacity: .85; flex: none; }
.side__foot { display: grid; gap: 10px; }
.side__user { font-family: var(--font-mono); font-size: 11.5px; color: var(--txt-3); padding: 11px 13px;
  border: 1px dashed var(--line-2); border-radius: var(--r-xs); line-height: 1.7; background: rgba(0, 0, 0, .22); }
.side__user b { color: var(--acc); font-weight: 500; }
.main { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; padding: 20px 30px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 9, 15, .94), rgba(8, 9, 15, .72));
  backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%); }
.head h2 { font-size: 20px; letter-spacing: -.02em; }
.head__actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.body { padding: 26px 30px 90px; display: grid; gap: 16px; align-content: start; }
@media (max-width: 940px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: relative; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .side::after { display: none; }
  .side__nav { grid-auto-flow: column; overflow-x: auto; }
  .side__nav button, .side__nav a { white-space: nowrap; }
  .head, .body { padding-inline: 16px; }
}

/* --------------------------------------------------------- компоненты --- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(172px, 1fr)); gap: 14px; }
.stat { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 18px 20px; background: var(--surface); box-shadow: var(--sh-1); transition: border-color .3s, transform .3s var(--ease); }
.stat::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169, 188, 255, .5), transparent); opacity: .6; }
.stat:hover { border-color: rgba(169, 188, 255, .26); transform: translateY(-2px); }
.stat b { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 28px; letter-spacing: -.02em; }
.stat span { font-size: 11px; color: var(--txt-3); letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-mono); }
.stat--acc b { background: var(--grad-acc); -webkit-background-clip: text; background-clip: text; color: transparent; }

.banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border: 1px solid rgba(169, 188, 255, .3); border-radius: var(--r); padding: 22px 26px;
  background: linear-gradient(115deg, rgba(169, 188, 255, .14), rgba(124, 231, 255, .05) 48%, rgba(195, 163, 255, .07));
  box-shadow: var(--sh-1); }
.banner h3 { font-size: 17px; margin-bottom: 4px; }
.banner p { font-size: 13.5px; color: var(--txt-2); font-weight: 450; }
.banner__meter { font-family: var(--font-mono); font-size: 13px; text-align: right; color: var(--txt-3); }
.banner__meter b { background: var(--grad-acc); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 24px; }
.meter { width: 220px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); overflow: hidden; margin-top: 8px; }
.meter i { display: block; height: 100%; background: var(--grad-acc); box-shadow: 0 0 14px rgba(169, 188, 255, .8);
  border-radius: 99px; transition: width .6s var(--ease); }

.card--pad { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  box-shadow: var(--sh-1); padding: 22px 24px; }
.card--pad h3 { font-size: 14.5px; margin-bottom: 14px; letter-spacing: .01em; color: var(--txt); }
.ubar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ubar .inp { max-width: 300px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.row-actions .btn { padding: 5px 10px; font-size: 12px; font-weight: 600; border-radius: 8px; }
.row-actions .btn::after { display: none; }

.task { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  box-shadow: var(--sh-1); overflow: hidden; }
.task__top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px;
  border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(169, 188, 255, .05), transparent); }
.task__name { font-size: 16px; font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
.task__host { font-family: var(--font-mono); font-size: 12.5px; color: var(--txt-3); }
.task__nums { display: flex; gap: 20px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.task__n { text-align: center; font-family: var(--font-mono); }
.task__n b { display: block; font-size: 19px; font-weight: 600; }
.task__n span { font-size: 10px; color: var(--txt-3); letter-spacing: .12em; text-transform: uppercase; }
.task__body { padding: 16px 22px; }
.task__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .06em; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line-2);
  color: var(--txt-2); background: rgba(255, 255, 255, .03); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--txt-3); }
.pill--on { color: var(--green); border-color: rgba(85, 230, 165, .35); background: rgba(85, 230, 165, .07); }
.pill--on i { background: var(--green); box-shadow: 0 0 9px var(--green); animation: blink 2s infinite; }
.pill--off { color: var(--txt-3); }
.pill--warn { color: var(--orange); border-color: rgba(255, 195, 92, .35); background: rgba(255, 195, 92, .07); }
.pill--warn i { background: var(--orange); }
.pill--err { color: var(--red); border-color: rgba(255, 122, 140, .35); background: rgba(255, 122, 140, .07); }
.pill--err i { background: var(--red); }
.pill--acc { color: var(--acc); border-color: rgba(169, 188, 255, .35); background: rgba(169, 188, 255, .08); }
.pill--acc i { background: var(--acc); box-shadow: 0 0 8px var(--acc); }

.bots { display: flex; flex-direction: column; gap: 2px; }
.bot { display: grid; grid-template-columns: minmax(0, 1fr) 78px minmax(0, 112px) 26px 96px; gap: 10px; align-items: center;
  font-size: 12.5px; padding: 7px 10px; border-radius: 8px; font-family: var(--font-mono);
  transition: background .2s; }
.bot:hover { background: rgba(169, 188, 255, .07); }
.bot__nick { color: var(--txt); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bot__srv { color: var(--acc-2); }
.bot__st { text-align: right; }
.bot__st.on { color: var(--green); }
.bot__st.off { color: var(--txt-3); }

.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.table th { text-align: left; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--txt-3);
  padding: 13px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 600; font-family: var(--font-mono);
  background: linear-gradient(180deg, rgba(169, 188, 255, .05), transparent); position: sticky; top: 0; z-index: 1; }
.table td { padding: 13px 14px; border-bottom: 1px solid rgba(255, 255, 255, .045); vertical-align: middle; transition: background .2s; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: linear-gradient(90deg, rgba(169, 188, 255, .07), rgba(169, 188, 255, .015)); }
.table .mono { font-family: var(--font-mono); font-size: 12.5px; color: var(--txt-2); }
.table-wrap { overflow: auto; max-height: 620px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); box-shadow: var(--sh-1); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 5px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(0, 0, 0, .34); }
.tabs button { padding: 9px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--txt-3);
  transition: color .25s, background .25s, box-shadow .25s; }
.tabs button:hover { color: var(--txt); background: rgba(255, 255, 255, .05); }
.tabs button.on { background: var(--grad-acc); color: #06070d; box-shadow: 0 10px 24px -14px rgba(169, 188, 255, .95); }
.tabs button.mode-soon { opacity: .55; cursor: not-allowed; }
.tabs button.mode-soon:hover { color: var(--txt-3); background: transparent; }
.soon { display: inline-block; margin-left: 7px; padding: 1px 7px; border-radius: 99px; font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange);
  border: 1px solid rgba(255, 195, 92, .45); background: rgba(255, 195, 92, .1); }

.out { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.75; white-space: pre-wrap; word-break: break-all;
  max-height: 380px; overflow: auto; padding: 16px 18px; border-radius: var(--r-sm);
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(6, 8, 16, .42));
  border: 1px solid var(--line); color: var(--txt-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }

.empty { text-align: center; color: var(--txt-3); padding: 52px 20px; border: 1px dashed var(--line-2);
  border-radius: var(--r); background: radial-gradient(70% 100% at 50% 0%, rgba(169, 188, 255, .05), transparent 70%); }
.empty b { display: block; color: var(--txt-2); font-size: 16px; margin-bottom: 6px; font-family: var(--font-display); letter-spacing: -.01em; }

/* ------------------------------------------------------------- тост ----- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 9000; display: flex; align-items: center; gap: 11px;
  padding: 13px 22px; border: 1px solid rgba(169, 188, 255, .28); border-radius: 99px;
  background: linear-gradient(135deg, rgba(17, 20, 32, .96), rgba(8, 9, 15, .96));
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--sh-2), 0 0 34px -14px rgba(169, 188, 255, .55);
  font-size: 14px; font-weight: 520; transform: translate(-50%, 130%); opacity: 0;
  transition: transform .5s var(--ease), opacity .35s; pointer-events: none; max-width: 92vw; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-acc); box-shadow: 0 0 12px var(--acc); flex: none; }
.toast.bad i { background: var(--red); box-shadow: 0 0 12px var(--red); }

/* ---------------------------------------------------- мониторинг сервера -- */
.sys-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 1080px) { .sys-two { grid-template-columns: 1fr; } }

.chart { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  box-shadow: var(--sh-1); padding: 18px 20px 14px; }
.chart__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.chart__head h3 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--txt-3);
  font-family: var(--font-mono); font-weight: 500; }
.chart__legend { display: flex; gap: 16px; font-size: 12px; color: var(--txt-3); font-family: var(--font-mono); }
.chart__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.chart__legend b { color: var(--txt); font-weight: 600; }
.chart svg { display: block; width: 100%; height: 130px; }
.chart__axis { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; color: var(--txt-3); margin-top: 8px; letter-spacing: .06em; }

.cores { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 9px; }
.core { border: 1px solid var(--line); border-radius: var(--r-xs); padding: 9px 10px; font-family: var(--font-mono); font-size: 10.5px;
  color: var(--txt-3); background: rgba(0, 0, 0, .3); letter-spacing: .04em; transition: border-color .3s; }
.core:hover { border-color: rgba(169, 188, 255, .3); }
.core b { display: block; color: var(--txt); font-size: 14px; font-weight: 600; }
.core i { display: block; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .09); margin-top: 7px; overflow: hidden; }
.core i span { display: block; height: 100%; background: var(--grad-acc); border-radius: 99px; transition: width .4s var(--ease); }
.core.sys-warn b { color: var(--orange); }
.core.sys-warn i span { background: linear-gradient(90deg, var(--orange), #fff); }
.core.sys-bad b { color: var(--red); }
.core.sys-bad i span { background: linear-gradient(90deg, var(--red), #fff); }

.stat.sys-warn b { color: var(--orange); }
.stat.sys-bad b { color: var(--red); }
.meter--full { width: 100%; max-width: 160px; }
.meter.sys-warn i { background: linear-gradient(90deg, var(--orange), #fff); box-shadow: 0 0 14px rgba(255, 195, 92, .8); }
.meter.sys-bad i { background: linear-gradient(90deg, var(--red), #fff); box-shadow: 0 0 14px rgba(255, 122, 140, .8); }
td.sys-warn { color: var(--orange); }

/* --------------------------------------------------------- авторизация -- */
.auth { min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.auth__box { position: relative; overflow: hidden; width: min(420px, 100%); padding: 34px; border: 1px solid var(--line-2);
  border-radius: var(--r); background: linear-gradient(168deg, rgba(22, 26, 40, .92), rgba(8, 9, 15, .92));
  backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow: var(--sh-2); animation: fadeUp .6s var(--ease); }
.auth__box::before { content: ''; position: absolute; left: 12%; right: 12%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169, 188, 255, .8), transparent); }
.auth__box h1 { font-size: 25px; margin-bottom: 6px; text-align: center; }
.auth__hint { font-size: 13px; color: var(--txt-3); margin-bottom: 22px; text-align: center; font-weight: 450; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }

/* ------------------------------------------- настройки задачи ----------- */
.fset { position: relative; margin: 20px 0; padding: 15px 16px 12px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: linear-gradient(180deg, rgba(169, 188, 255, .05), rgba(0, 0, 0, .24)); }
.fset__title { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .17em; text-transform: uppercase; color: var(--acc); }
.fset__title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(169, 188, 255, .35), transparent); }
.hint { display: block; color: var(--txt-3); font-size: 11.5px; line-height: 1.65; font-weight: 440; margin: 9px 0 10px; }
.hint b { color: var(--txt-2); font-family: var(--font-mono); }
.inp--area { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.65; resize: vertical; min-height: 72px; }
.inp--sm, .sel--sm { padding: 9px 11px; font-size: 13px; width: auto; }
.behaviors { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 16px; margin-bottom: 8px; }
@media (max-width: 620px) { .behaviors { grid-template-columns: 1fr; } }
.chk { flex-wrap: wrap; }
.chk small { flex: 1 1 100%; margin-left: 48px; margin-top: -2px; color: var(--txt-3); font-size: 11px; font-weight: 430; line-height: 1.45; }
.chk--inline { flex: none; }
.days { display: flex; gap: 6px; margin: 10px 0 4px; }
.days button { flex: 1; padding: 9px 0; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--txt-3); transition: color .25s, background .25s, border-color .25s; }
.days button:hover { color: var(--txt); border-color: var(--line-2); }
.days button.on { background: var(--grad-acc); border-color: transparent; color: #06070d; font-weight: 700;
  box-shadow: 0 10px 22px -14px rgba(169, 188, 255, .95); }

.notice { display: grid; gap: 6px; margin: 2px 0 16px; padding: 15px 17px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: rgba(169, 188, 255, .05); }
.notice b { font-size: 12px; letter-spacing: .02em; }
.notice span { font-size: 13px; line-height: 1.62; color: var(--txt-2); font-weight: 440; }
.notice--danger { border-color: rgba(255, 122, 140, .55); background: linear-gradient(180deg, rgba(255, 122, 140, .14), rgba(255, 122, 140, .04));
  box-shadow: 0 18px 40px -30px rgba(255, 122, 140, .95); animation: alertPulse 3.4s ease-in-out infinite; }
.notice--danger b { font-family: var(--font-mono); font-size: 11px; letter-spacing: .17em; text-transform: uppercase; color: var(--red); }
.notice--danger span { color: var(--red); font-weight: 520; }
@keyframes alertPulse { 50% { border-color: rgba(255, 122, 140, .85) } }

/* --------------------------------------------------------- логи --------- */
.chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { padding: 8px 15px; border-radius: 99px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3);
  font-size: 13px; font-weight: 560; color: var(--txt-3); transition: color .25s, background .25s, border-color .25s; }
.chip:hover { color: var(--txt); border-color: var(--line-2); }
.chip.on { background: var(--grad-acc); border-color: transparent; color: #06070d;
  box-shadow: 0 10px 24px -14px rgba(169, 188, 255, .95); }
.logs-tools { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.logs-tools .inp--sm { flex: 1 1 210px; }
.logs { max-height: min(640px, 68svh); overflow: auto; padding: 6px 0; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(6, 8, 16, .42));
  font-family: var(--font-mono); font-size: 11.8px; line-height: 1.6; }
.logline { display: flex; gap: 10px; align-items: baseline; padding: 3px 14px; transition: background .2s; }
.logline:hover { background: rgba(169, 188, 255, .06); }
.logline > span { flex: none; color: var(--txt-3); opacity: .85; }
.logline > b, .logline > u { flex: none; max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.logline > b { color: var(--acc-2) }
.logline > u { color: var(--acc); opacity: .7 }
.logline p { flex: 1 1 auto; min-width: 0; margin: 0; white-space: pre-wrap; word-break: break-word; color: var(--txt-2) }
.logline--err p { color: var(--red); }
.logline--err > span, .logline--err > b, .logline--err > u { color: var(--red); opacity: .85; }
.logline--ok p { color: var(--green); }
.logline--cmd p { color: var(--acc); }
.logs__wait { padding: 26px; text-align: center; color: var(--txt-3); font-size: 12px; }

/* ----------------------------------------------------- карточка задачи -- */
.task__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tagx { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 99px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--txt-3); }
.bot__tag { font-style: normal; margin-left: 6px; padding: 2px 5px; border-radius: 5px; font-size: 9.5px;
  background: rgba(85, 230, 165, .14); border: 1px solid rgba(85, 230, 165, .3); color: var(--green); vertical-align: middle; }
.bot__bh { display: flex; gap: 4px; flex-wrap: wrap; }
.bot__bh em { font-style: normal; padding: 2px 6px; border-radius: 6px; font-size: 9.5px; letter-spacing: .04em;
  background: rgba(169, 188, 255, .12); border: 1px solid rgba(169, 188, 255, .2); color: var(--acc); }
.ic { width: 24px; height: 24px; border-radius: 8px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3);
  color: var(--txt-3); font-size: 13px; line-height: 1; cursor: pointer; transition: color .25s, border-color .25s, transform .35s var(--ease); }
.ic:hover { color: var(--acc); border-color: rgba(169, 188, 255, .45); transform: rotate(180deg); }
.ic:disabled { opacity: .45; cursor: wait; transform: none; }
.sleeping { padding: 8px 0; font-family: var(--font-mono); font-size: 11.5px; color: var(--orange); }
@media (max-width: 700px) {
  .bot { grid-template-columns: minmax(0, 1fr) 70px 26px 88px; }
  .bot__bh { display: none; }
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.vis { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .backdrop::before, .backdrop__grid, .backdrop__grid::after, .backdrop__glow, .vox { animation: none !important; }
  .btn::after { display: none; }
}

/* ---------- функции по тарифам ---------- */
.fset.is-locked { border-style: dashed; background: rgba(255, 255, 255, .015); }
.fset.is-locked .chk, .fset.is-locked .inp, .fset.is-locked textarea, .fset.is-locked .hint { opacity: .45; }
.chk.is-locked, .tabs button.is-locked { opacity: .5; }
.lock { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 2px 8px; border-radius: 99px;
  border: 1px dashed rgba(255, 200, 120, .5); color: #ffc97a; background: rgba(255, 200, 120, .08);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.featlist { list-style: none; margin: 14px 0 16px; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 12.5px; font-weight: 460; }
.featlist li.on { color: var(--txt-2); }
.featlist li.off { color: var(--txt-3); opacity: .5; }
.feat-grid { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 6px; }
.feat-grid label { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 12.5px; color: var(--txt-3); cursor: pointer; background: rgba(255, 255, 255, .02); }
.feat-grid label:has(input:checked) { border-color: rgba(169, 188, 255, .5); color: var(--txt); background: rgba(169, 188, 255, .08); }
.feat-grid input { accent-color: #a9bcff; }
.price__feats { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.price__feats span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 99px; border: 1px solid rgba(169, 188, 255, .28); color: var(--txt-2); background: rgba(169, 188, 255, .06); }
.price__feats span.feat-soon { border-style: dashed; border-color: rgba(255, 195, 92, .45); color: var(--txt-3); background: rgba(255, 195, 92, .07); }
.price__feats span.feat-soon b { color: var(--orange); font-weight: 700; }
.featlist li.feat-soon { color: var(--txt-3); opacity: .7; }
.featlist li.feat-soon::before { content: '◷  '; color: var(--orange); font-family: var(--font-mono); }
.tabs button .lock { margin-left: 7px; padding: 1px 6px; font-size: 9px; }

/* ---------- оформление подписки через Telegram ---------- */
.tg-steps { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 9px; font-size: 14px; line-height: 1.6; color: var(--txt-2); font-weight: 450; }
.tg-steps li::marker { font-family: var(--font-mono); color: var(--acc); }
.tg-draft { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-word;
  margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-2);
  background: rgba(0, 0, 0, .32); color: var(--txt-2); }
.tg-link { color: var(--acc); font-weight: 700; }
