/* ==========================================================================
   kabinet-skin.css — дизайн v3 (04.11.2026): весь сайт, КРОМЕ лендинга.
   Кабинет: сайдбар во всю высоту (sidebar-new-b24.js, классы lc2-*), без
   верхней шапки на десктопе; на мобиле — тонкая полоса + выезжающее меню.
   Токены:
     фон            #000          панель сайдбара  #0a0a0a
     обводка        rgba(255,255,255,.04)  (карточки — 2px)
     поверхность    rgba(255,255,255,.01–.03)
     текст          .90 заголовки · .70 значения · .30 подписи · .15 ярлыки
     акцент         violet: bg rgba(139,92,246,.08) · border rgba(167,139,250,.1) · text rgba(196,181,253,.7)
     радиусы        кнопки/пункты 12 · карточки 16
   Цвета — тёмная тема (html.dark); лендинг исключён (html.lc-home).
   Бэкап прошлой версии (v2, шапка как на лендинге): kabinet-skin.css.bak-v2-20261104
   ========================================================================== */

/* ===================== 0. Тема: переменные shadcn и фон ===================== */
html.dark:not(.lc-home) {
  --background: #000;
  --card: #0a0a0a;
  --card-foreground: #fafafa;
  --popover: #0c0c0c;
  --popover-foreground: #fafafa;
  --secondary: #141414;
  --muted: #121212;
  --muted-foreground: rgba(255, 255, 255, 0.45);
  --accent: #161616;
  --border: rgba(255, 255, 255, 0.06);
  --input: rgba(255, 255, 255, 0.08);
  --ring: rgba(167, 139, 250, 0.4);
  --sidebar: #0a0a0a;
  --sidebar-accent: rgba(255, 255, 255, 0.08);
  --sidebar-border: rgba(255, 255, 255, 0.04);
}
html.dark:not(.lc-home),
html.dark:not(.lc-home) body,
html.dark:not(.lc-home) #root,
html.dark:not(.lc-home) #root .bg-background,
html.dark:not(.lc-home) #root .bg-zinc-950,
html.dark:not(.lc-home) #root .bg-\[\#0a0a0c\],
html.dark:not(.lc-home) #root .bg-\[\#0a0a0c\]\/80 { background-color: #000 !important; }
html.dark:not(.lc-home) #root :is(.bg-muted\/20, .bg-muted\/30, .bg-muted\/40) { background-color: transparent !important; }
/* auth-страницы: только чёрный фон, вид родной (требование 30.10) */
html.lk-auth .bg-zinc-950,
html.lk-auth body { background-color: #000 !important; }

/* ===================== 1. Каркас кабинета ===================== */
/* ВАЖНО (04.11): старую навигацию CSS-ом НЕ прячем — новый сайдбар её просто не рендерит.
   Класс html.lk-cab ставит kabinet.js ТОЛЬКО если в DOM есть новый aside.lc2-side,
   поэтому при любом сбое загрузки нового чанка страница остаётся со старой шапкой/меню. */

html.lk-cab #root main[class*="ease-in-out"] {
  padding-top: 56px !important;
  padding-left: 0 !important;
  transition: none !important;
}
@media (min-width: 1024px) {
  html.lk-cab #root main[class*="ease-in-out"] { padding-top: 0 !important; padding-left: 240px !important; }
}
html.lk-cab #root main[class*="ease-in-out"] > div {
  max-width: 1400px !important;
  padding: 16px !important;
}
@media (min-width: 640px) { html.lk-cab #root main[class*="ease-in-out"] > div { padding: 24px !important; } }
@media (min-width: 1024px) { html.lk-cab #root main[class*="ease-in-out"] > div { padding: 32px !important; } }

/* ---------- сайдбар ---------- */
.lc2-side {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: 288px;
  background: #0a0a0a;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  transform: translateX(-100%);
  transition: transform 0.3s ease !important;
}
.lc2-side.is-open { transform: none; }
@media (min-width: 1024px) {
  .lc2-side { width: 240px; z-index: 30; transform: none; }
}
.lc2-side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  flex-shrink: 0;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.lc2-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lc2-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}
.lc2-logo img { width: 20px; height: 20px; }
.lc2-brand-name { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
@media (min-width: 1024px) { .lc2-close { display: none !important; } }

.lc2-nav {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: none;
}
.lc2-nav::-webkit-scrollbar { display: none; }
.lc2-group { display: flex; flex-direction: column; gap: 2px; }
.lc2-group-title {
  padding: 0 12px;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.15);
}
.lc2-links { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.04); }
.lc2-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease !important;
}
.lc2-item:hover { color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.04); }
.lc2-item.is-active { color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.08); }
.lc2-item.is-ext { color: rgba(255, 255, 255, 0.25); }
.lc2-item.is-ext:hover { color: rgba(255, 255, 255, 0.5); }
.lc2-ic { width: 18px; height: 18px; flex-shrink: 0; }
.lc2-label { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lc2-ext { width: 14px; height: 14px; opacity: 0.6; flex-shrink: 0; }
.lc2-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  font-size: 10px; font-weight: 700;
  background: rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.7);
}

/* низ сайдбара: язык/тема + пользователь */
.lc2-side-bottom { flex-shrink: 0; padding: 8px 12px 12px; border-top: 1px solid rgba(255, 255, 255, 0.04); }
.lc2-tools { display: flex; align-items: center; gap: 4px; padding: 0 2px 8px; }
.lc2-iconbtn,
.lc2-tools > button,
.lc2-tools .lc2-lang {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: 32px !important; height: 32px !important; min-width: 32px !important;
  padding: 0 !important;
  border: 0 !important; border-radius: 10px !important;
  background: transparent !important; box-shadow: none !important;
  color: rgba(255, 255, 255, 0.3) !important;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease !important;
}
.lc2-iconbtn:hover,
.lc2-tools > button:hover,
.lc2-tools .lc2-lang:hover { color: rgba(255, 255, 255, 0.6) !important; background: rgba(255, 255, 255, 0.05) !important; }
.lc2-iconbtn svg, .lc2-tools svg { width: 17px; height: 17px; }
.lc2-theme .lc2-moon { display: none; }
html.light .lc2-theme .lc2-sun { display: none; }
html.light .lc2-theme .lc2-moon { display: block; }

.lc2-user-wrap { position: relative; }
.lc2-user {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 10px; border: 0; border-radius: 12px;
  background: transparent; color: inherit; text-align: left; cursor: pointer;
  transition: background-color 0.2s ease !important;
}
.lc2-user:hover, .lc2-user.is-open { background: rgba(255, 255, 255, 0.04); }
.lc2-ava {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 999px; overflow: hidden;
  background: rgba(139, 92, 246, 0.2); color: #c4b5fd;
  font-size: 14px; font-weight: 600;
}
.lc2-ava img { width: 100%; height: 100%; object-fit: cover; }
.lc2-user-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.lc2-user-name { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.7); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lc2-user-bal { font-size: 12px; color: rgba(255, 255, 255, 0.25); }
.lc2-chev { width: 16px; height: 16px; color: rgba(255, 255, 255, 0.2); transition: transform 0.2s ease !important; }
.lc2-user.is-open .lc2-chev { transform: rotate(180deg); }
.lc2-user-menu {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 5;
  padding: 6px; border-radius: 14px;
  background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 40px rgba(0, 0, 0, 0.6);
  animation: lc2-pop 0.16s ease-out;
}
@keyframes lc2-pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.lc2-menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border: 0; border-radius: 10px; background: transparent;
  font: inherit; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.6);
  text-decoration: none; cursor: pointer; text-align: left;
  transition: color 0.2s ease, background-color 0.2s ease !important;
}
.lc2-menu-item svg { width: 16px; height: 16px; }
.lc2-menu-item:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.lc2-menu-item.is-danger { color: rgba(248, 113, 113, 0.75); }
.lc2-menu-item.is-danger:hover { background: rgba(248, 113, 113, 0.08); color: #fca5a5; }
.lc2-menu-sep { height: 1px; margin: 4px 6px; background: rgba(255, 255, 255, 0.06); }

/* мобильная верхняя полоса */
.lc2-mtop {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 16px;
  background: rgba(10, 10, 10, 0.9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.lc2-mtop .lc2-iconbtn { width: 36px !important; height: 36px !important; color: rgba(255, 255, 255, 0.5) !important; }
.lc2-mtop .lc2-logo { width: 24px; height: 24px; background: transparent; }
.lc2-mtop .lc2-logo img { width: 24px; height: 24px; }
.lc2-spacer { flex: 1; }
.lc2-balchip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 10px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.6);
}
.lc2-balchip svg { width: 14px; height: 14px; color: rgba(167, 139, 250, 0.7); }
@media (min-width: 1024px) { .lc2-mtop { display: none !important; } }
.lc2-overlay {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease !important;
}
.lc2-overlay.is-open { opacity: 1; pointer-events: auto; }
@media (min-width: 1024px) { .lc2-overlay { display: none; } }

/* ===================== 2. Типографика страниц ===================== */
html.dark.lk-cab #root main h1 {
  font-size: clamp(24px, 2.4vw, 30px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9) !important;
}
html.dark.lk-cab #root main h1 + p,
html.dark.lk-cab #root main .pg-page-head p,
html.dark.lk-cab #root main .pg-muted {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.3) !important;
}
html.dark.lk-cab #root main :is(h2, .pg-section-title, .pg-sec-title) { color: rgba(255, 255, 255, 0.85) !important; }

/* ===================== 3. Карточки ===================== */
html.dark:not(.lc-home) #root :is(.pg-card, .pg-sec, .pg-ne-card, .pg-sup-hours, .pg-sup-tg, .bal4-card, .bal4-balcard, .bal2-history, .refs-card, .refs-stat, .st2-card, .svc-card, [data-slot="card"], .bg-card) {
  background-color: rgba(255, 255, 255, 0.01) !important;
  border: 0 !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04) !important;
  border-radius: 16px !important;
}
html.dark:not(.lc-home) #root :is(.pg-sup-tg, .pg-banner) { overflow: hidden; }
html.dark:not(.lc-home) #root .pg-banner {
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04) !important;
}
html.dark:not(.lc-home) #root :is(.dark\:bg-white\/5.rounded-2xl, .rounded-2xl.dark\:bg-white\/\[3\%\]) {
  background-color: rgba(255, 255, 255, 0.01) !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04) !important;
}
html.dark:not(.lc-home) #root :is(.svc-card) {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}
html.dark:not(.lc-home) #root :is(.svc-card):hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.07) !important;
  background-color: rgba(255, 255, 255, 0.015) !important;
}
html.dark:not(.lc-home) #root .svc-name { color: rgba(255, 255, 255, 0.8) !important; font-weight: 700 !important; }
html.dark:not(.lc-home) #root .svc-card:hover .svc-name { color: rgba(255, 255, 255, 0.95) !important; }
html.dark:not(.lc-home) #root :is(.svc-muted, .svc-type) { color: rgba(255, 255, 255, 0.3) !important; }
html.dark:not(.lc-home) #root .svc-val { color: rgba(255, 255, 255, 0.7) !important; font-weight: 500 !important; }
html.dark:not(.lc-home) #root .svc-row svg { color: rgba(255, 255, 255, 0.2) !important; }
html.dark:not(.lc-home) #root .pg-sec:has(.pg-sess-head) {
  background: transparent !important; box-shadow: none !important;
  padding-left: 0 !important; padding-right: 0 !important;
}
html.dark:not(.lc-home) #root .pg-sess,
html.dark:not(.lc-home) #root .pg-sess.current {
  background-color: rgba(255, 255, 255, 0.01) !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04) !important;
  border: 0 !important;
}
html.dark:not(.lc-home) #root .pg-pass-empty {
  background: transparent !important;
  border: 1px dashed rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

/* ===================== 4. Кнопки ===================== */
/* 4a. Главная — белая */
html:not(.lc-home) #root :is(.pg-white-btn, .bal4-cta, .bal4-tag-btn, .refs-save, .pg-red-btn, .svc-mg-btn.primary, a.rounded-xl.dark\:bg-white, button.rounded-2xl.bg-white),
html:not(.lc-home) body > div button.rounded-2xl.bg-white {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  min-height: 40px !important; height: auto !important;
  padding: 10px 20px !important;
  border: 0 !important; border-radius: 12px !important;
  background: #fff !important; color: #000 !important;
  font-size: 14px !important; font-weight: 500 !important;
  opacity: 1 !important; box-shadow: none !important;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease !important;
}
html:not(.lc-home) #root :is(.bal4-cta) { width: 100%; }
html:not(.lc-home) #root .refs-save { padding: 0 !important; width: 40px !important; }
html:not(.lc-home) #root :is(.pg-white-btn, .bal4-cta, .bal4-tag-btn, .refs-save, .pg-red-btn, .svc-mg-btn.primary, a.rounded-xl.dark\:bg-white, button.rounded-2xl.bg-white):hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.9) !important;
  transform: scale(1.02);
}
html:not(.lc-home) #root :is(.pg-white-btn, .bal4-cta, .bal4-tag-btn, .refs-save, .pg-red-btn, .svc-mg-btn.primary):active:not(:disabled) { transform: scale(0.98); }
html:not(.lc-home) #root :is(.pg-white-btn, .pg-red-btn, .bal4-cta, .svc-mg-btn.primary):disabled {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.3) !important;
  transform: none !important;
  cursor: not-allowed !important;
}
html:not(.lc-home) #root :is(.pg-white-btn, .pg-red-btn, .bal4-cta) svg { color: currentColor !important; }

/* 4b. Действие — фиолетовая (как «Управление» в образце) */
html.dark:not(.lc-home) #root :is(.svc-go, .pg-btn, .pg-pass-add) {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  min-height: 40px !important;
  padding: 10px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14px !important; font-weight: 500 !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease !important;
}
html.dark:not(.lc-home) #root :is(.svc-go, .pg-btn, .pg-pass-add):hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}
html.dark:not(.lc-home) #root :is(.svc-go, .pg-btn, .pg-pass-add):active { transform: scale(0.97); }
html.dark:not(.lc-home) #root .svc-go { width: 100%; padding: 12px 18px !important; }
html.dark:not(.lc-home) #root :is(.svc-go, .pg-btn, .pg-pass-add) svg { color: currentColor !important; }
html.dark:not(.lc-home) #root .pg-btn-xs { min-height: 34px !important; padding: 6px 14px !important; font-size: 13px !important; }

/* 4c. Нейтральная — стекло */
html.dark:not(.lc-home) #root :is(.pg-btn-sm:not(.pg-white-btn), .refs-share, .st-refresh, .svc-mg-btn.ghost, .pg-file-btn, .refs-copybtn) {
  min-height: 40px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px !important; font-weight: 500 !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}
html.dark:not(.lc-home) #root :is(.pg-btn-sm:not(.pg-white-btn), .refs-share, .st-refresh, .svc-mg-btn.ghost, .pg-file-btn, .refs-copybtn):hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
}
html.dark:not(.lc-home) #root :is(.pg-btn-sm:not(.pg-white-btn), .refs-share, .st-refresh, .svc-mg-btn.ghost) { padding: 0 16px !important; }
html.dark:not(.lc-home) #root :is(.pg-file-btn, .refs-copybtn) { width: 40px !important; height: 40px !important; padding: 0 !important; }

/* 4d. Опасная */
html.dark:not(.lc-home) #root .svc-mg-btn.danger {
  border-radius: 12px !important;
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(248, 113, 113, 0.12) !important;
  color: rgba(252, 165, 165, 0.8) !important;
}
html.dark:not(.lc-home) #root .svc-mg-btn.danger.solid { background: rgba(239, 68, 68, 0.85) !important; color: #fff !important; }

/* 4e. Ghost */
html.dark:not(.lc-home) #root .pg-ghost-btn {
  opacity: 1 !important; height: 36px !important; padding: 0 12px !important;
  border-radius: 10px !important; color: rgba(255, 255, 255, 0.3) !important;
}
html.dark:not(.lc-home) #root .pg-ghost-btn:hover { color: rgba(255, 255, 255, 0.7) !important; background: rgba(255, 255, 255, 0.04) !important; }

/* 4f. Сегменты-переключатели (покупка услуг) */

/* 4g. shadcn-кнопки (админка) */
html.dark:not(.lc-home) #root [data-slot="button"] { border-radius: 10px !important; }
html.dark:not(.lc-home) #root [data-slot="button"].bg-primary { background: #fff !important; color: #000 !important; }
html.dark:not(.lc-home) #root [data-slot="button"].bg-primary:hover { background: rgba(255, 255, 255, 0.9) !important; }

/* ===================== 5. Поля ввода ===================== */
html.dark:not(.lc-home) #root :is(.pg-input, .pg-textarea, .refs-input, .pg-dd-btn, .bal4-card input, input[data-slot="input"], textarea[data-slot="textarea"]) {
  opacity: 1 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
}
html.dark:not(.lc-home) #root :is(.pg-input, .pg-textarea, .refs-input, .bal4-card input, input[data-slot="input"], textarea[data-slot="textarea"]):focus {
  outline: none !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}
html.dark:not(.lc-home) #root :is(.pg-input, .pg-textarea, .refs-input, .bal4-card input)::placeholder { color: rgba(255, 255, 255, 0.2) !important; }
html.dark:not(.lc-home) #root .pg-dd-btn:hover { background: rgba(255, 255, 255, 0.04) !important; border-color: rgba(255, 255, 255, 0.1) !important; }

/* ===================== 6. Бейджи, иконки, статусы ===================== */
html.dark:not(.lc-home) #root :is(.pg-icbox, .pg-icircle, .refs-ic) {
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: none !important; border: 0 !important;
  color: rgba(255, 255, 255, 0.5) !important;
}
html.dark:not(.lc-home) #root .pg-avatar { background: rgba(139, 92, 246, 0.2) !important; color: #c4b5fd !important; box-shadow: none !important; }
html.dark:not(.lc-home) #root .pg-badge { background: rgba(255, 255, 255, 0.06) !important; color: rgba(255, 255, 255, 0.6) !important; box-shadow: none !important; }
html.dark:not(.lc-home) #root .st2-node-chip.is-on {
  background: rgba(34, 197, 94, 0.15) !important;
  color: rgb(34, 197, 94) !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* ===================== 7. Документы: белый лист → тёмный ===================== */
html.dark:not(.lc-home) #root .bg-white.border-neutral-300\/60 {
  background: rgba(255, 255, 255, 0.01) !important;
  border: 0 !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04) !important;
  border-radius: 16px !important;
  color: rgba(255, 255, 255, 0.7) !important;
}
html.dark:not(.lc-home) #root .bg-white.border-neutral-300\/60 :is(p, li, span, div, td) { color: rgba(255, 255, 255, 0.6) !important; }
html.dark:not(.lc-home) #root .bg-white.border-neutral-300\/60 :is(h1, h2, h3, h4, strong, b) { color: rgba(255, 255, 255, 0.9) !important; }
html.dark:not(.lc-home) #root .bg-white.border-neutral-300\/60 a { color: rgba(196, 181, 253, 0.85) !important; }
html.dark:not(.lc-home) #root .bg-white.border-neutral-300\/60 :is(hr, [class*="border-"]) { border-color: rgba(255, 255, 255, 0.06) !important; }

/* ===================== 8. Шапка публичных страниц (/terms, /wiki …) ===================== */
html:not(.lc-home):not(.lk-auth) .lk-header {
  height: 56px !important;
  background: rgba(0, 0, 0, 0.85) !important;
  -webkit-backdrop-filter: blur(16px) !important; backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  box-shadow: none !important;
}
html:not(.lc-home):not(.lk-auth) .lk-header-inner { height: 56px !important; padding: 0 16px !important; }
html:not(.lc-home):not(.lk-auth) .lk-logo { gap: 10px !important; }
html:not(.lc-home):not(.lk-auth) .lk-logo span { font-size: 14px !important; font-weight: 600 !important; color: rgba(255, 255, 255, 0.8) !important; }
html:not(.lc-home):not(.lk-auth) .lk-navlink svg { display: none !important; }
html:not(.lc-home):not(.lk-auth) .lk-header .lk-nav { gap: 4px !important; }
html:not(.lc-home):not(.lk-auth) .lk-header .lk-nav .lk-navlink span { display: inline !important; }
html:not(.lc-home):not(.lk-auth) .lk-navlink {
  padding: 6px 14px !important; border-radius: 10px !important;
  font-size: 14px !important; font-weight: 500 !important;
  background: transparent !important; box-shadow: none !important;
  color: rgba(255, 255, 255, 0.3) !important;
}
html:not(.lc-home):not(.lk-auth) .lk-navlink:hover { color: rgba(255, 255, 255, 0.6) !important; background: rgba(255, 255, 255, 0.04) !important; }
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > button,
html:not(.lc-home):not(.lk-auth) .lk-header .lk-icobtn,
html:not(.lc-home):not(.lk-auth) .lk-header .lk-icobtn-lang {
  width: 32px !important; height: 32px !important; border: 0 !important; border-radius: 10px !important;
  background: transparent !important; box-shadow: none !important; color: rgba(255, 255, 255, 0.3) !important;
}
html:not(.lc-home):not(.lk-auth) .lk-hdr-right .lk-chip {
  height: 32px !important; padding: 0 14px !important; border: 0 !important; border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.05) !important; color: rgba(255, 255, 255, 0.7) !important;
  font-size: 13px !important; font-weight: 500 !important; box-shadow: none !important;
}
@media (min-width: 1024px) { html:not(.lc-home):not(.lk-auth) .lk-header .lk-nav { display: flex !important; } }

/* ===================== 9. Футеры ===================== */
html.dark:not(.lc-home) #root footer.bg-white { background: #000 !important; border-top: 1px solid rgba(255, 255, 255, 0.04); }
html.dark:not(.lc-home) #root footer.bg-white a:not([class*="rounded-full"]) { color: rgba(255, 255, 255, 0.3) !important; transition: color 0.2s ease !important; }
html.dark:not(.lc-home) #root footer.bg-white a:not([class*="rounded-full"]):hover { color: rgba(255, 255, 255, 0.6) !important; }
html.dark:not(.lc-home) #root footer.bg-white :is(h3, h4) {
  font-size: 10px !important; font-weight: 600 !important; letter-spacing: 0.1em !important;
  text-transform: uppercase !important; color: rgba(255, 255, 255, 0.2) !important;
}
html.dark:not(.lc-home) #root footer.bg-white a[class*="rounded-full"] {
  border-radius: 10px !important; border-color: transparent !important;
  background: rgba(255, 255, 255, 0.04) !important; color: rgba(255, 255, 255, 0.4) !important;
}
html.dark:not(.lc-home) #root footer.bg-white .border-t { border-color: rgba(255, 255, 255, 0.04) !important; }

/* кабинет (#lk-cab-footer, создаёт kabinet.js) */
#lk-cab-footer { display: none; }
html.lk-cab:not(.lc-home) #lk-cab-footer {
  display: block;
  padding: 0 16px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.2);
}
@media (min-width: 1024px) { html.lk-cab:not(.lc-home) #lk-cab-footer { padding: 0 32px 28px calc(240px + 32px); } }
#lk-cab-footer .lkf-in {
  max-width: 1336px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.04);
}
#lk-cab-footer .lkf-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
#lk-cab-footer a { color: rgba(255, 255, 255, 0.25); text-decoration: none; transition: color 0.2s ease !important; }
#lk-cab-footer a:hover { color: rgba(255, 255, 255, 0.6); }
#lk-cab-footer .lkf-soc { display: flex; gap: 4px; }
#lk-cab-footer .lkf-soc a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}
#lk-cab-footer .lkf-soc a:hover { background: rgba(255, 255, 255, 0.04); }
#lk-cab-footer svg { width: 15px; height: 15px; fill: currentColor; }

/* ===================== 10. Светлая тема кабинета (форма та же) ===================== */
html.light .lc2-side { background: #fafafa; border-right-color: rgba(24, 24, 27, 0.06); }
html.light .lc2-side-top, html.light .lc2-side-bottom, html.light .lc2-links { border-color: rgba(24, 24, 27, 0.06); }
html.light .lc2-logo { background: rgba(24, 24, 27, 0.05); }
html.light .lc2-brand-name { color: rgba(24, 24, 27, 0.85); }
html.light .lc2-group-title { color: rgba(24, 24, 27, 0.35); }
html.light .lc2-item { color: rgba(24, 24, 27, 0.5); }
html.light .lc2-item:hover { color: rgba(24, 24, 27, 0.8); background: rgba(24, 24, 27, 0.04); }
html.light .lc2-item.is-active { color: #111114; background: rgba(24, 24, 27, 0.07); }
html.light .lc2-user-name { color: rgba(24, 24, 27, 0.8); }
html.light .lc2-user-bal { color: rgba(24, 24, 27, 0.45); }
html.light .lc2-user:hover, html.light .lc2-user.is-open { background: rgba(24, 24, 27, 0.04); }
html.light .lc2-user-menu { background: #fff; box-shadow: 0 0 0 1px rgba(24, 24, 27, 0.08), 0 16px 40px rgba(0, 0, 0, 0.12); }
html.light .lc2-menu-item { color: rgba(24, 24, 27, 0.65); }
html.light .lc2-menu-item:hover { color: #111114; background: rgba(24, 24, 27, 0.05); }
html.light .lc2-iconbtn, html.light .lc2-tools > button, html.light .lc2-tools .lc2-lang { color: rgba(24, 24, 27, 0.45) !important; }
html.light .lc2-mtop { background: rgba(250, 250, 250, 0.9); border-bottom-color: rgba(24, 24, 27, 0.06); }
html.light .lc2-balchip { background: rgba(24, 24, 27, 0.05); color: rgba(24, 24, 27, 0.7); }
html.light #lk-cab-footer .lkf-in { border-top-color: rgba(24, 24, 27, 0.08); }
html.light #lk-cab-footer, html.light #lk-cab-footer a { color: rgba(24, 24, 27, 0.45); }

/* ===================== 11. Правки после скринов v3 ===================== */
/* крестик «закрыть» — только на мобиле */
@media (min-width: 1024px) { .lc2-side-top .lc2-iconbtn.lc2-close { display: none !important; } }
/* карточка услуги — по образцу: компактнее, подписи тихие, значения ярче */
html.dark:not(.lc-home) #root .svc-card { padding: 20px !important; outline: 0 !important; }
html.dark:not(.lc-home) #root .svc-name { font-size: 18px !important; }
html.dark:not(.lc-home) #root .svc-price { padding-top: 6px !important; font-size: 15px !important; color: rgba(255, 255, 255, 0.25) !important; }
html.dark:not(.lc-home) #root .svc-price > :first-child { color: rgba(255, 255, 255, 0.7); }
html.dark:not(.lc-home) #root .svc-rows { gap: 12px !important; padding-top: 18px !important; padding-bottom: 20px !important; }
html.dark:not(.lc-home) #root .svc-row { gap: 12px !important; }
html.dark:not(.lc-home) #root .svc-row p { font-size: 14px !important; font-weight: 400 !important; color: rgba(255, 255, 255, 0.3) !important; }
html.dark:not(.lc-home) #root .svc-row .svc-val { color: rgba(255, 255, 255, 0.7) !important; font-weight: 500 !important; }
html.dark:not(.lc-home) #root .svc-go {
  background-image: none !important;
  outline: 0 !important;
}
html.dark:not(.lc-home) #root .svc-go p { font-size: 14px !important; font-weight: 500 !important; }
html.dark:not(.lc-home) #root .svc-go:hover { transform: none; opacity: 1 !important; }
/* баннер куки в кабинете — справа (слева он закрывал блок пользователя в сайдбаре) */
@media (min-width: 1024px) {
  html.lk-cab body div.fixed.bottom-6.left-6.z-\[100\] { left: auto !important; right: 24px !important; }
}

/* ═══════════ §11 (04.11.2026) правки юзера: сайдбар, лого, язык/тема, покупка, оформление ═══════════ */
/* сайдбар — цвет фона кабинета, не серый */
.lc2-side { background: #000 !important; border-right-color: rgba(255, 255, 255, 0.06) !important; }
html.light .lc2-side { background: #fff !important; border-right-color: rgba(24, 24, 27, 0.08) !important; }
/* заголовки групп («Основное») видно */
.lc2-group-title { font-size: 11px !important; color: rgba(255, 255, 255, 0.42) !important; letter-spacing: 0.12em !important; }
html.light .lc2-group-title { color: rgba(24, 24, 27, 0.45) !important; }
/* логотип + название — как в шапке лендинга (36px + 20px) */
.lc2-side-top { height: 64px !important; }
.lc2-brand { gap: 8px !important; }
.lc2-logo { width: 36px !important; height: 36px !important; background: transparent !important; border-radius: 0 !important; }
.lc2-logo img { width: 36px !important; height: 36px !important; }
.lc2-brand-name { font-size: 20px !important; font-weight: 600 !important; line-height: 1 !important; letter-spacing: -0.01em; }
.lc2-mtop { height: 64px !important; }
.lc2-mtop .lc2-logo, .lc2-mtop .lc2-logo img { width: 32px !important; height: 32px !important; }
.lc2-mtop .lc2-brand-name { font-size: 18px !important; }
@media (max-width: 1023px) { html.lk-cab #root main { padding-top: 64px !important; } }
@media (max-width: 380px) { .lc2-mtop .lc2-brand-name { display: none; } }

/* язык + тема — крупные 40px кнопки с чёткими svg (сайдбар, мобильная шапка, шапка публичных страниц) */
.lc2-tools { gap: 2px !important; padding: 4px 2px 10px !important; }
.lc2-tools > button, .lc2-tools .lc2-lang,
.lc2-mtop .lc2-mtools > button, .lc2-mtop .lc2-mtools .lc2-lang,
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > button,
html:not(.lc-home):not(.lk-auth) .lk-header .lk-icobtn {
  width: 32px !important; height: 32px !important; min-width: 32px !important; padding: 0 !important;
  border: 0 !important; border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.7) !important;
  transform: none !important;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}
.lc2-tools > button:hover, .lc2-tools .lc2-lang:hover,
.lc2-mtop .lc2-mtools > button:hover, .lc2-mtop .lc2-mtools .lc2-lang:hover,
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > button:hover,
html:not(.lc-home):not(.lk-auth) .lk-header .lk-icobtn:hover {
  background: transparent !important; box-shadow: none !important; color: #fff !important;
}
.lc2-tools svg, .lc2-mtools svg,
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > button svg {
  width: 20px !important; height: 20px !important; stroke-width: 1.8 !important; transform: none !important; shape-rendering: geometricPrecision;
}
.lc2-tools > button > span, .lc2-mtools > button > span, html:not(.lc-home):not(.lk-auth) .lk-hdr-right > button > span { transform: none !important; }
.lc2-mtools { display: flex; align-items: center; gap: 0; }
.lc2-mtop .lc2-mtools > button, .lc2-mtop .lc2-mtools .lc2-lang { width: 36px !important; height: 36px !important; min-width: 36px !important; }
@media (min-width: 1024px) { .lc2-mtools { display: none !important; } }
html.light .lc2-tools > button, html.light .lc2-tools .lc2-lang,
html.light .lc2-mtools > button, html.light .lc2-mtools .lc2-lang,
html.light:not(.lc-home):not(.lk-auth) .lk-hdr-right > button {
  background: transparent !important; box-shadow: none !important; color: rgba(24, 24, 27, 0.7) !important;
}
html.light .lc2-tools > button:hover, html.light .lc2-tools .lc2-lang:hover,
html.light .lc2-mtools > button:hover, html.light .lc2-mtools .lc2-lang:hover,
html.light:not(.lc-home):not(.lk-auth) .lk-hdr-right > button:hover {
  background: transparent !important; color: #111114 !important;
}

/* ── Покупка: без VPN (группа «Сервис» скрыта), фильтры и карточки как на лендинге ── */
/* шапка карточки: иконка-плитка 44px слева, над названием — «Minecraft» мелким кикером */

/* ── Оформление заказа: поля и выпадашки как в «Создать обращение» (58px, 16px) ── */

/* светлая тема для покупки/оформления */
/* фикс: иконку-плитку позиционируем от самой карточки */
.lc2-balchip { white-space: nowrap !important; flex-shrink: 0 !important; }
@media (max-width: 420px) { .lc2-mtop { gap: 8px !important; padding: 0 12px !important; } .lc2-mtop .lc2-balchip svg { display: none !important; } }
/* мобайл: оформление заказа не шире экрана */

/* логотип в шапке публичных страниц — как на лендинге (36px + 20px) */
html:not(.lc-home):not(.lk-auth) .lk-header .lk-logo { gap: 6px !important; }
html:not(.lc-home):not(.lk-auth) .lk-header .lk-logo > img,
html:not(.lc-home):not(.lk-auth) .lk-header .lk-logo > svg { width: 36px !important; height: 36px !important; }
html:not(.lc-home):not(.lk-auth) .lk-header .lk-logo span { font-size: 20px !important; line-height: 1 !important; font-weight: 600 !important; }
@media (max-width: 380px) { html:not(.lc-home):not(.lk-auth) .lk-header .lk-logo span { display: none !important; } }

/* ═══ 04.11: иконки языка и темы — глобус iconoir + солнце с лучами / луна со звёздами ═══ */
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"]) svg,
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"]) > span { display: none !important; }
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"])::before {
  content: "" !important; display: block !important; width: 16px !important; height: 16px !important; flex: 0 0 16px !important;
  background: currentColor !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10'/%3E%3Cpath d='m2.5 12.5l5.5 2L7 18l1 3m9-.5l-.5-2.5l-2.5-1v-3.5l3-1l4.5.5M19 5.5L18.5 7l-3.5.5v3l2.5-1h2l2 1m-19 0l2.5-2L7.5 8l2-3l-1-2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10'/%3E%3Cpath d='m2.5 12.5l5.5 2L7 18l1 3m9-.5l-.5-2.5l-2.5-1v-3.5l3-1l4.5.5M19 5.5L18.5 7l-3.5.5v3l2.5-1h2l2 1m-19 0l2.5-2L7.5 8l2-3l-1-2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat !important;
  transition: transform .2s ease !important;
}
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"]):hover::before { transform: scale(1.15); }
/* тема: в тёмной — солнце с лучами, в светлой — луна со звёздами */
.lk-hdr-right > button:is([aria-label="Светлая тема"], [aria-label="Тёмная тема"], [aria-label="Light theme"], [aria-label="Dark theme"]) svg,
:is(.lc2-tools, .lc2-mtools) .lc2-theme svg { display: none !important; }
.lk-hdr-right > button:is([aria-label="Светлая тема"], [aria-label="Тёмная тема"], [aria-label="Light theme"], [aria-label="Dark theme"])::before,
:is(.lc2-tools, .lc2-mtools) .lc2-theme::before {
  content: "" !important; display: block !important; width: 19px !important; height: 19px !important; flex: 0 0 19px !important;
  background: currentColor !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2' fill='black'/%3E%3Cpath d='M12 1.8v2.4M12 19.8v2.4M4.8 4.8l1.7 1.7M17.5 17.5l1.7 1.7M1.8 12h2.4M19.8 12h2.4M4.8 19.2l1.7-1.7M17.5 6.5l1.7-1.7'/%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2' fill='black'/%3E%3Cpath d='M12 1.8v2.4M12 19.8v2.4M4.8 4.8l1.7 1.7M17.5 17.5l1.7 1.7M1.8 12h2.4M19.8 12h2.4M4.8 19.2l1.7-1.7M17.5 6.5l1.7-1.7'/%3E%3C/svg%3E") center / contain no-repeat !important;
}
.lk-hdr-right > button:is([aria-label="Тёмная тема"], [aria-label="Dark theme"])::before,
html.light :is(.lc2-tools, .lc2-mtools) .lc2-theme::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 14.6A8.6 8.6 0 1 1 9.4 3.8a6.8 6.8 0 0 0 10.8 10.8Z' fill='black'/%3E%3Cpath d='M17 2.6v3.2M15.4 4.2h3.2' stroke-width='1.7'/%3E%3Cpath d='M21.2 7.6v2M20.2 8.6h2' stroke-width='1.5'/%3E%3C/svg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 14.6A8.6 8.6 0 1 1 9.4 3.8a6.8 6.8 0 0 0 10.8 10.8Z' fill='black'/%3E%3Cpath d='M17 2.6v3.2M15.4 4.2h3.2' stroke-width='1.7'/%3E%3Cpath d='M21.2 7.6v2M20.2 8.6h2' stroke-width='1.5'/%3E%3C/svg%3E") !important;
}

/* ═══ 04.11: покупка — убран VPN (строка «Сервис»), карточки тарифов НЕ трогаем (как на lymucloud.ru) ═══ */
html:not(.lc-home) #root .bs2-head + .bs2-pills-wrap { display: none !important; }
/* оформление заказа — поля и выпадашки как в «Создать обращение»: 58px, 16px/500, фон .02, рамка .06, радиус 12 */

/* 04.11: глобус чуть больше и белее, иконка темы тоже белее */
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"])::before {
  width: 19px !important; height: 19px !important; flex: 0 0 19px !important;
}
html:not(.light) :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) > button,
html:not(.light) .lc2-tools .lc2-lang, html:not(.light) .lc2-mtools .lc2-lang { color: rgba(255, 255, 255, 0.95) !important; }
html.light :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) > button,
html.light .lc2-tools .lc2-lang, html.light .lc2-mtools .lc2-lang { color: rgba(17, 17, 20, 0.9) !important; }
/* 04.11: сайдбар и мобильная шапка — РОВНО цвет фона кабинета в обеих темах */
html.light .lc2-side, html.light .lc2-mtop { background: oklch(0.972 0 0) !important; }
html.light .lc2-side { border-right-color: rgba(24, 24, 27, 0.06) !important; }
html:not(.light) .lc2-side, html:not(.light) .lc2-mtop { background: #000 !important; }

/* 04.11: иконки языка/темы ещё больше и чисто белые */
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"])::before {
  width: 22px !important; height: 22px !important; flex: 0 0 22px !important;
}
.lk-hdr-right > button:is([aria-label="Светлая тема"], [aria-label="Тёмная тема"], [aria-label="Light theme"], [aria-label="Dark theme"])::before,
:is(.lc2-tools, .lc2-mtools) .lc2-theme::before { width: 22px !important; height: 22px !important; flex: 0 0 22px !important; }
html:not(.light) :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) > button,
html:not(.light) .lc2-tools .lc2-lang, html:not(.light) .lc2-mtools .lc2-lang,
html:not(.light) :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) > button:hover { color: #fff !important; opacity: 1 !important; }

/* 04.11: вернули прежний сайдбар (как на проде) — фон = фон кабинета, заголовок «Основное» виден */
html:not(.lc-home) aside.lk-sidebar, html:not(.lc-home) aside.lk-drawer { background: var(--background) !important; }
html.dark:not(.lc-home) aside.lk-sidebar, html.dark:not(.lc-home) aside.lk-drawer { background: #000 !important; }
/* 04.11: глобус в шапке — чисто белый, без приглушения */
html:not(.light) :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"]) { opacity: 1 !important; filter: none !important; color: #fff !important; }
html:not(.light) :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"])::before { background: #fff !important; opacity: 1 !important; }

/* 04.11: шапка — ник/аватар левее иконок; глобус и солнце/луна одного размера и цвета */
.lk-hdr-right { display: flex !important; align-items: center !important; }
.lk-hdr-right > .lk-chip { order: -1 !important; margin-left: 0 !important; margin-right: 6px !important; }
:is(.lk-hdr-right, .lc2-tools, .lc2-mtools) :is(button[aria-label^="Сменить язык"], button[aria-label^="Change language"], button[aria-label^="Switch language"], button[aria-label^="Switch to"], button[aria-label^="Переключить"])::before,
.lk-hdr-right > button:is([aria-label="Светлая тема"], [aria-label="Тёмная тема"], [aria-label="Light theme"], [aria-label="Dark theme"])::before,
:is(.lc2-tools, .lc2-mtools) .lc2-theme::before {
  width: 20px !important; height: 20px !important; flex: 0 0 20px !important; transform: none;
}
html:not(.light) :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) > button::before,
html:not(.light) :is(.lc2-tools, .lc2-mtools) .lc2-lang::before { background: #fff !important; opacity: 1 !important; }
html.light :is(.lk-hdr-right, .lc2-tools, .lc2-mtools) > button::before,
html.light :is(.lc2-tools, .lc2-mtools) .lc2-lang::before { background: #111114 !important; opacity: 1 !important; }

/* 04.11: кнопка темы в шапке кабинета (aria-label «Сменить тему») — та же иконка, размер и цвет */
.lk-hdr-right > button:is([aria-label="Сменить тему"], [aria-label="Toggle theme"]) svg { display: none !important; }
.lk-hdr-right > button:is([aria-label="Сменить тему"], [aria-label="Toggle theme"])::before {
  content: "" !important; display: block !important; width: 20px !important; height: 20px !important; flex: 0 0 20px !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2' fill='black'/%3E%3Cpath d='M12 1.8v2.4M12 19.8v2.4M4.8 4.8l1.7 1.7M17.5 17.5l1.7 1.7M1.8 12h2.4M19.8 12h2.4M4.8 19.2l1.7-1.7M17.5 6.5l1.7-1.7'/%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2' fill='black'/%3E%3Cpath d='M12 1.8v2.4M12 19.8v2.4M4.8 4.8l1.7 1.7M17.5 17.5l1.7 1.7M1.8 12h2.4M19.8 12h2.4M4.8 19.2l1.7-1.7M17.5 6.5l1.7-1.7'/%3E%3C/svg%3E") center / contain no-repeat !important;
}
html.light .lk-hdr-right > button:is([aria-label="Сменить тему"], [aria-label="Toggle theme"])::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 14.6A8.6 8.6 0 1 1 9.4 3.8a6.8 6.8 0 0 0 10.8 10.8Z' fill='black'/%3E%3Cpath d='M17 2.6v3.2M15.4 4.2h3.2' stroke-width='1.7'/%3E%3Cpath d='M21.2 7.6v2M20.2 8.6h2' stroke-width='1.5'/%3E%3C/svg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 14.6A8.6 8.6 0 1 1 9.4 3.8a6.8 6.8 0 0 0 10.8 10.8Z' fill='black'/%3E%3Cpath d='M17 2.6v3.2M15.4 4.2h3.2' stroke-width='1.7'/%3E%3Cpath d='M21.2 7.6v2M20.2 8.6h2' stroke-width='1.5'/%3E%3C/svg%3E") !important; }
/* 04.11: шапка кабинета/публичных страниц тёмная в обеих темах → иконки всегда белые; на лендинге в светлой — тёмные */
html.light:not(.lc-home) .lk-hdr-right > button::before { background: #fff !important; }
html.light:not(.lc-home) .lk-hdr-right > button { color: #fff !important; }
/* 04.11: по просьбе юзера кнопки языка и темы в шапке убраны совсем (лендинг, кабинет, публичные страницы) */
.lk-hdr-right > button:is([aria-label^="Сменить язык"], [aria-label^="Change language"], [aria-label^="Switch language"], [aria-label^="Switch to"], [aria-label^="Переключить"], [aria-label="Светлая тема"], [aria-label="Тёмная тема"], [aria-label="Light theme"], [aria-label="Dark theme"], [aria-label="Сменить тему"], [aria-label="Toggle theme"]) { display: none !important; }
.lk-hdr-right > .lk-chip { margin-right: 0 !important; }

/* 04.11: шапка кабинета и публичных страниц — как на лендинге (64px, чёрная, без полоски, ник в капсуле) */
html:not(.lc-home):not(.lk-auth) .lk-header {
  height: 64px !important; background: #000 !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  border-bottom: 0 !important; box-shadow: none !important;
}
html:not(.lc-home):not(.lk-auth) .lk-header-inner { height: 64px !important; padding: 0 32px !important; }
@media (max-width: 640px) { html:not(.lc-home):not(.lk-auth) .lk-header-inner { padding: 0 16px !important; } }
html:not(.lc-home):not(.lk-auth) .lk-header .lk-navlink { padding: 8px 16px !important; border-radius: 10px !important; font-size: 14px !important; font-weight: 500 !important; }
html:not(.lc-home):not(.lk-auth) .lk-hdr-right .lk-chip {
  height: 36px !important; padding: 0 16px !important; border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important; color: #fff !important;
  font-size: 14px !important; font-weight: 500 !important; box-shadow: none !important; gap: 8px !important;
}
html:not(.lc-home):not(.lk-auth) .lk-hdr-right .lk-chip:hover { background: rgba(255, 255, 255, 0.1) !important; }
html:not(.lc-home):not(.lk-auth) .lk-hdr-right .lk-chip svg { width: 15px !important; height: 15px !important; }
html.light:not(.lc-home):not(.lk-auth) .lk-header { background: #fff !important; }
html.light:not(.lc-home):not(.lk-auth) .lk-hdr-right .lk-chip { background: rgba(24, 24, 27, 0.05) !important; color: #111114 !important; }
html.light:not(.lc-home):not(.lk-auth) .lk-logo span { color: rgba(24, 24, 27, 0.85) !important; }

/* ═══════════ §12 (04.11, вечер) — правки по списку юзера ═══════════ */
/* — боковая панель: кнопка «Выйти» справа у аватара/ника/баланса — */
aside :is(.lk-user) { position: relative; align-items: center !important; }
aside .lk-user .lk-user-info { flex: 1 1 auto; min-width: 0; }
aside .lk-user-out {
  flex: 0 0 auto; width: 36px; height: 36px; margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; color: rgba(255, 255, 255, 0.45); background: transparent; border: 0; cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
aside .lk-user-out:hover { color: #f87171; background: rgba(239, 68, 68, 0.1); }
html.light aside .lk-user-out { color: rgba(24, 24, 27, 0.45); }
/* — настройки: «Выйти» больше нет в шапке страницы — */
html:not(.lc-home) #root .pg-page-head > .pg-ghost-btn { display: none !important; }

/* — главная: баннер чуть меньше и темнее — */
html:not(.lc-home) #root .pg-banner { min-height: 0 !important; height: auto !important; position: relative; overflow: hidden; }
html:not(.lc-home) #root .pg-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.35)); pointer-events: none; }
html:not(.lc-home) #root .pg-banner-inner { position: relative; z-index: 1; padding: 40px 48px !important; min-height: 0 !important; }
html:not(.lc-home) #root .pg-banner h1 { font-size: 32px !important; line-height: 1.15 !important; }
html:not(.lc-home) #root .pg-banner p { font-size: 15px !important; color: rgba(255,255,255,.75) !important; }
@media (max-width: 640px) { html:not(.lc-home) #root .pg-banner-inner { padding: 28px 24px !important; } html:not(.lc-home) #root .pg-banner h1 { font-size: 24px !important; } }
/* — «Ваши услуги» + кнопка «Купить сервер» справа — */
html:not(.lc-home) #root .pg-sec-head2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
html:not(.lc-home) #root .pg-sec-head2 .pg-section-title { margin: 0 !important; }
html:not(.lc-home) #root .pg-buy2-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 12px;
  background: #fff; color: #000; font-size: 14px; font-weight: 600; text-decoration: none; transition: opacity .2s, transform .2s;
}
html:not(.lc-home) #root .pg-buy2-btn:hover { opacity: .9; transform: translateY(-1px); }
/* — пусто: новый вид — */
html:not(.lc-home) #root .pg-empty2 {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 56px 24px; border-radius: 18px; border: 1px dashed rgba(255,255,255,.12); background: rgba(255,255,255,.02);
}
html:not(.lc-home) #root .pg-empty2-ic { width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: rgba(139,92,246,.12); color: #a78bfa; margin-bottom: 6px; }
html:not(.lc-home) #root .pg-empty2 h3 { font-size: 20px; font-weight: 600; color: #fff; margin: 0; }
html:not(.lc-home) #root .pg-empty2 p { font-size: 14px; color: rgba(255,255,255,.5); max-width: 420px; margin: 0; }
html:not(.lc-home) #root .pg-empty2-btn { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 12px; background: #fff; color: #000; font-weight: 600; font-size: 14px; text-decoration: none; }
html:not(.lc-home) #root .pg-empty2-btn svg { width: 16px; height: 16px; }
/* — карточки серверов: без меток gaming/coding — */
html:not(.lc-home) #root .svc-card .svc-type { display: none !important; }

/* — пополнение баланса: блок пополнения на всю ширину, поле шире — */
html:not(.lc-home) #root .bal4-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 24px !important; }
html:not(.lc-home) #root .bal4-col { display: grid !important; grid-template-columns: 1fr auto; align-items: end; gap: 12px 16px; }
html:not(.lc-home) #root .bal4-col .bal4-h { grid-column: 1 / -1; }
html:not(.lc-home) #root .bal4-balcard { min-height: 0 !important; padding: 22px 28px !important; justify-content: flex-start !important; }
html:not(.lc-home) #root .bal4-bal-num { font-size: 40px !important; text-align: left !important; }
html:not(.lc-home) #root .bal4-tag-btn { height: 52px !important; padding: 0 22px !important; white-space: nowrap; }
html:not(.lc-home) #root .bal4-card { padding: 32px !important; border-radius: 18px !important; }
html:not(.lc-home) #root .bal4-inputwrap { height: 64px !important; border-radius: 14px !important; }
html:not(.lc-home) #root .bal4-inputwrap input { font-size: 17px !important; height: 100% !important; }
html:not(.lc-home) #root .bal4-inputwrap input::placeholder { font-size: 15px; color: rgba(255,255,255,.35); }
html:not(.lc-home) #root .bal4-cur { font-size: 20px !important; color: rgba(255,255,255,.6) !important; }
html:not(.lc-home) #root .bal4-cta { height: 54px !important; border-radius: 14px !important; font-size: 15px !important; font-weight: 600 !important; }
@media (max-width: 640px) { html:not(.lc-home) #root .bal4-col { grid-template-columns: 1fr; } }

/* — покупка: фильтры, карточки тарифов и оформление светлее (серее), рамки видно — */
/* оформление: поля мягче, больше, рамки видно */
/* блок оплаты */
/* модалка условий бесплатного тарифа */
html:not(.lc-home) #root .bs2-free-terms .bs2-modal-terms { margin: 12px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
html:not(.lc-home) #root .bs2-free-terms .bs2-modal-terms li { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.75); }
html:not(.lc-home) #root .bs2-modal-accept { display: flex !important; align-items: center; gap: 10px; margin-top: 16px; cursor: pointer; }
html:not(.lc-home) #root .bs2-modal-accept input { width: 18px; height: 18px; accent-color: #8b5cf6; }

/* — поддержка «всё в одном» — */
html:not(.lc-home) #root .sup1-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
html:not(.lc-home) #root .sup1-head h1 { font-size: 30px; font-weight: 700; color: rgba(255,255,255,.92); margin: 0 0 4px; }
html:not(.lc-home) #root .sup1-head p { font-size: 14px; color: rgba(255,255,255,.4); margin: 0; }
html:not(.lc-home) #root .sup1-actions { display: flex; gap: 8px; }
html:not(.lc-home) #root .sup1-new { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 12px; background: #fff; color: #000; font-size: 14px; font-weight: 600; text-decoration: none; }
html:not(.lc-home) #root .sup1-new:hover { opacity: .9; }
html:not(.lc-home) #root .sup1-ds { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.65); font-size: 14px; font-weight: 500; text-decoration: none; }
html:not(.lc-home) #root .sup1-ds:hover { color: #fff; background: rgba(255,255,255,.05); }
html:not(.lc-home) #root .sup1-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 1023px) { html:not(.lc-home) #root .sup1-stats { grid-template-columns: repeat(2, 1fr); } }
html:not(.lc-home) #root .sup1-stat { padding: 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); display: flex; flex-direction: column; gap: 8px; }
html:not(.lc-home) #root .sup1-stat-l { font-size: 13px; color: rgba(255,255,255,.45); }
html:not(.lc-home) #root .sup1-stat b { font-size: 24px; font-weight: 700; color: rgba(255,255,255,.9); }
html:not(.lc-home) #root .sup1-o b { color: #34d399; } html:not(.lc-home) #root .sup1-w b { color: #60a5fa; }
html:not(.lc-home) #root .sup1-card { padding: 24px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
html:not(.lc-home) #root .sup1-card-h { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
html:not(.lc-home) #root .sup1-ic { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(139,92,246,.12); color: #a78bfa; }
html:not(.lc-home) #root .sup1-ic svg { width: 18px; height: 18px; }
html:not(.lc-home) #root .sup1-card-h h2 { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.85); margin: 0; }
html:not(.lc-home) #root .sup1-card-h p { font-size: 12px; color: rgba(255,255,255,.35); margin: 2px 0 0; }
html:not(.lc-home) #root .sup1-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 44px 16px; }
html:not(.lc-home) #root .sup1-empty-ic { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.3); margin-bottom: 8px; }
html:not(.lc-home) #root .sup1-empty-t { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.7); margin: 0; }
html:not(.lc-home) #root .sup1-empty-d { font-size: 13px; color: rgba(255,255,255,.35); margin: 0; }

/* — рефералка: подсказка под пригласительной ссылкой + видимая кнопка сохранения кода — */
html:not(.lc-home) #root .refs-sep::after { content: "Скопируйте ссылку и отправьте друзьям — вы получите 7% с каждого их пополнения."; display: block; margin-top: 8px; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.4); }
html:not(.lc-home) #root .refs-save { color: #000 !important; }
html:not(.lc-home) #root .refs-save svg { stroke: #000 !important; color: #000 !important; width: 18px; height: 18px; }

/* — настройки: проще для глаз — */
html:not(.lc-home) #root .pg-prof-grid { gap: 16px !important; }
html:not(.lc-home) #root .pg-prof-col { gap: 16px !important; }
html:not(.lc-home) #root .pg-sec { padding: 20px 22px !important; border-radius: 16px !important; }
html:not(.lc-home) #root .pg-sec-title { font-size: 15px !important; margin-bottom: 12px !important; }
html:not(.lc-home) #root .pg-sec .pg-sec-desc, html:not(.lc-home) #root .pg-sec .pg-hint, html:not(.lc-home) #root .pg-sec .pg-label { display: none !important; }
html:not(.lc-home) #root .pg-sec .pg-input-wrap .pg-input { height: 48px !important; }
html:not(.lc-home) #root .pg-sec .pg-field + .pg-field { margin-top: 10px !important; }
html:not(.lc-home) #root .pg-sec-actions { margin-top: 12px !important; }
html:not(.lc-home) #root .pg-page-head p { font-size: 14px !important; }
/* §12 доводка */
html:not(.lc-home) #root .refs-save svg { flex: 0 0 18px !important; min-width: 18px !important; }
html:not(.lc-home) #root .pg-sec-head2 .pg-section-title { margin: 0 !important; padding: 0 !important; line-height: 40px !important; }
html:not(.lc-home) #root .bal4-col { align-items: stretch !important; }
html:not(.lc-home) #root .bal4-tag-btn {
  height: auto !important; align-self: stretch !important; padding: 0 26px !important; border-radius: 16px !important;
  background: rgba(255,255,255,.04) !important; color: rgba(255,255,255,.85) !important; border: 1px solid rgba(255,255,255,.12) !important; box-shadow: none !important;
}
html:not(.lc-home) #root .bal4-tag-btn:hover { background: rgba(255,255,255,.08) !important; color: #fff !important; }
html:not(.lc-home) #root .bal4-tag-btn * { color: inherit !important; }
html:not(.lc-home) #root .bs2-free-terms .bs2-modal-terms { list-style: none !important; padding-left: 0 !important; }
html:not(.lc-home) #root .bs2-free-terms .bs2-modal-terms li { position: relative; padding-left: 18px; }
html:not(.lc-home) #root .bs2-free-terms .bs2-modal-terms li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; }
html:not(.lc-home) #root .bal4-col > button.bal4-tag-btn.bal4-tag-btn {
  background: rgba(255,255,255,.04) !important; color: rgba(255,255,255,.85) !important; border: 1px solid rgba(255,255,255,.12) !important;
  margin: 0 !important; align-self: stretch !important; height: auto !important; min-height: 0 !important;
}
html:not(.lc-home) #root .bal4-col > button.bal4-tag-btn.bal4-tag-btn:hover { background: rgba(255,255,255,.08) !important; color: #fff !important; }
html:not(.lc-home) #root .bal4-col > .bal4-balcard { margin: 0 !important; }
html:not(.lc-home) #root .bal4-col { width: 100% !important; max-width: none !important; }

/* ═══════════ §13 (04.11, ночь) ═══════════ */
/* — иконки сайдбара: iconoir — */
aside:is(.lk-sidebar,.lk-drawer) .lk-item svg { display: none !important; }
aside:is(.lk-sidebar,.lk-drawer) .lk-item .lk-item-l::before { content: ""; width: 20px; height: 20px; flex: 0 0 20px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href="/dashboard"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M9 21H7a4 4 0 0 1-4-4v-6.292a4 4 0 0 1 1.927-3.421l5-3.03a4 4 0 0 1 4.146 0l5 3.03A4 4 0 0 1 21 10.707V17a4 4 0 0 1-4 4h-2m-6 0v-4a3 3 0 1 1 6 0v4m-6 0h6'/%3E%3C/svg%3E"); }
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href="/servers"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m6 18.01l.01-.011M6 6.01l.01-.011'/%3E%3Cpath d='M2 9.4V2.6a.6.6 0 0 1 .6-.6h18.8a.6.6 0 0 1 .6.6v6.8a.6.6 0 0 1-.6.6H2.6a.6.6 0 0 1-.6-.6Zm0 12v-6.8a.6.6 0 0 1 .6-.6h18.8a.6.6 0 0 1 .6.6v6.8a.6.6 0 0 1-.6.6H2.6a.6.6 0 0 1-.6-.6Z'/%3E%3C/g%3E%3C/svg%3E"); }
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href="/notifications"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M18 8.4c0-1.697-.632-3.325-1.757-4.525S13.59 2 12 2s-3.117.674-4.243 1.875C6.632 5.075 6 6.703 6 8.4C6 15.867 3 18 3 18h18s-3-2.133-3-9.6M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E"); }
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href="/balance"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M19 20H5a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2Z'/%3E%3Cpath fill='black' stroke-linecap='round' stroke-linejoin='round' d='M16.5 14a.5.5 0 1 1 0-1a.5.5 0 0 1 0 1'/%3E%3Cpath d='M18 7V5.603a2 2 0 0 0-2.515-1.932l-11 2.933A2 2 0 0 0 3 8.537V9'/%3E%3C/g%3E%3C/svg%3E"); }
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href="/buy-server"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath fill='black' d='M19.5 22a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3m-10 0a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3'/%3E%3Cpath d='M5 4h17l-2 11H7zm0 0c-.167-.667-1-2-3-2m18 13H5.23c-1.784 0-2.73.781-2.73 2s.946 2 2.73 2H19.5'/%3E%3C/g%3E%3C/svg%3E"); }
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href="/support"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M9 12h3m3 0h-3m0 0V9m0 3v3m0 7c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12c0 1.821.487 3.53 1.338 5L2.5 21.5l4.5-.838A9.96 9.96 0 0 0 12 22'/%3E%3C/svg%3E"); }
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href="/tickets"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M8 10h8m-8 4h4m0 8c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12c0 1.821.487 3.53 1.338 5L2.5 21.5l4.5-.838A9.96 9.96 0 0 0 12 22'/%3E%3C/svg%3E"); }
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href="/profile"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M12 15a3 3 0 1 0 0-6a3 3 0 0 0 0 6'/%3E%3Cpath d='m19.622 10.395l-1.097-2.65L20 6l-2-2l-1.735 1.483l-2.707-1.113L12.935 2h-1.954l-.632 2.401l-2.645 1.115L6 4L4 6l1.453 1.789l-1.08 2.657L2 11v2l2.401.656L5.516 16.3L4 18l2 2l1.791-1.46l2.606 1.072L11 22h2l.604-2.387l2.651-1.098C16.697 18.832 18 20 18 20l2-2l-1.484-1.75l1.098-2.652l2.386-.62V11z'/%3E%3C/g%3E%3C/svg%3E"); }
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href="/referrals"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M17 10h3m3 0h-3m0 0V7m0 3v3M1 20v-1a7 7 0 1 1 14 0v1'/%3E%3Cpath d='M8 12a4 4 0 1 0 0-8a4 4 0 0 0 0 8'/%3E%3C/g%3E%3C/svg%3E"); }
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href="/admin"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='m8.5 11.5l3 3l5-5'/%3E%3Cpath d='M5 18L3.13 4.913a.996.996 0 0 1 .774-1.114l7.662-1.703a2 2 0 0 1 .868 0L20.096 3.8c.51.113.848.596.774 1.114L19 18c-.07.495-.5 3.5-7 3.5S5.07 18.495 5 18'/%3E%3C/g%3E%3C/svg%3E"); }
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href="/admin/tickets"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='m8.5 11.5l3 3l5-5'/%3E%3Cpath d='M5 18L3.13 4.913a.996.996 0 0 1 .774-1.114l7.662-1.703a2 2 0 0 1 .868 0L20.096 3.8c.51.113.848.596.774 1.114L19 18c-.07.495-.5 3.5-7 3.5S5.07 18.495 5 18'/%3E%3C/g%3E%3C/svg%3E"); }
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href^="http"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M8 21h12.4a.6.6 0 0 0 .6-.6V3.6a.6.6 0 0 0-.6-.6H3.6a.6.6 0 0 0-.6.6V16m.5 4.5L12 12m0 0v4m0-4H8'/%3E%3C/svg%3E"); }
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href*="console."] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m6 18.01l.01-.011M6 6.01l.01-.011'/%3E%3Cpath d='M2 9.4V2.6a.6.6 0 0 1 .6-.6h18.8a.6.6 0 0 1 .6.6v6.8a.6.6 0 0 1-.6.6H2.6a.6.6 0 0 1-.6-.6Zm0 12v-6.8a.6.6 0 0 1 .6-.6h18.8a.6.6 0 0 1 .6.6v6.8a.6.6 0 0 1-.6.6H2.6a.6.6 0 0 1-.6-.6Z'/%3E%3C/g%3E%3C/svg%3E"); }
html:not(.lc-home) #root .bs2-head + .bs2-pills-wrap { display: none !important; }
/* шапка карточки: иконка-плитка 44px слева, над названием — «Minecraft» мелким кикером */

/* фикс: иконку-плитку позиционируем от самой карточки */
/* — плавающий сайдбар (≥1024) — */
@media (min-width: 1024px) {
  html:not(.lc-home) aside.lk-sidebar {
    top: 76px !important; bottom: 12px !important; left: 12px !important; height: auto !important; max-height: none !important;
    border-radius: 20px !important; border: 1px solid rgba(255,255,255,.08) !important;
    background: #0b0b0e !important; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8) !important; overflow-y: auto !important;
  }
}
html.light:not(.lc-home) aside.lk-sidebar { background: #fff !important; border-color: rgba(24,24,27,.08) !important; box-shadow: 0 20px 50px -24px rgba(0,0,0,.18) !important; }

/* — цветные карточки-счётчики (как в рефералке) — */
html:not(.lc-home) #root .cz-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0 8px; }
@media (max-width: 1023px) { html:not(.lc-home) #root .cz-stats { grid-template-columns: repeat(2, 1fr); } }
html:not(.lc-home) #root .cz-stat { padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); transition: border-color .2s, transform .2s, background .2s; }
html:not(.lc-home) #root .cz-stat:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
html:not(.lc-home) #root .cz-stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
html:not(.lc-home) #root .cz-stat-l { font-size: 13px; color: rgba(255,255,255,.45); margin: 0; }
html:not(.lc-home) #root .cz-stat-v { font-size: 22px; font-weight: 700; color: rgba(255,255,255,.92); }
html:not(.lc-home) #root .cz-green svg { color: #34d399; } html:not(.lc-home) #root .cz-blue svg { color: #60a5fa; }
html:not(.lc-home) #root .cz-violet svg { color: #a78bfa; } html:not(.lc-home) #root .cz-amber svg { color: #fbbf24; }

/* — новый баннер на главной — */
html:not(.lc-home) #root .pg-banner {
  background: radial-gradient(520px 220px at 88% -10%, rgba(139,92,246,.38), transparent 65%), radial-gradient(420px 220px at -5% 120%, rgba(59,130,246,.22), transparent 60%), linear-gradient(135deg, #0e0e14, #0a0a0d) !important;
  background-size: auto !important; border: 1px solid rgba(255,255,255,.08) !important; border-radius: 20px !important;
}
html:not(.lc-home) #root .pg-banner::after {
  background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px !important;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 80% 20%, #000 10%, transparent 70%);
}
html:not(.lc-home) #root .pg-banner-inner { padding: 36px 40px !important; }
html:not(.lc-home) #root .pg-banner h1 { font-size: 30px !important; }
html:not(.lc-home) #root .pg-banner p { color: rgba(255,255,255,.6) !important; }

/* — пусто на главной: без иконки — */
html:not(.lc-home) #root .pg-empty2-ic { display: none !important; }

/* — уведомления — */
html:not(.lc-home) #root .pg-head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
html:not(.lc-home) #root .pg-ne-card {
  display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center; gap: 10px !important;
  padding: 56px 24px !important; border-radius: 20px !important; border: 1px solid rgba(255,255,255,.08) !important;
  background: radial-gradient(400px 160px at 50% 0%, rgba(139,92,246,.12), transparent 70%), rgba(255,255,255,.02) !important;
}
html:not(.lc-home) #root .pg-ne-card .pg-icircle { width: 56px !important; height: 56px !important; border-radius: 16px !important; background: rgba(139,92,246,.14) !important; color: #a78bfa !important; }
html:not(.lc-home) #root .pg-ne-title { font-size: 17px !important; font-weight: 600 !important; color: #fff !important; }
html:not(.lc-home) #root .pg-ne-desc { font-size: 14px !important; color: rgba(255,255,255,.45) !important; max-width: 420px; }

/* — пополнение баланса: заново — */
html:not(.lc-home) #root .bal4-grid { display: grid !important; grid-template-columns: minmax(280px, 1fr) 2fr !important; gap: 20px !important; align-items: stretch !important; }
@media (max-width: 1023px) { html:not(.lc-home) #root .bal4-grid { grid-template-columns: 1fr !important; } }
html:not(.lc-home) #root .bal4-col { display: flex !important; flex-direction: column !important; gap: 12px !important; width: auto !important; }
html:not(.lc-home) #root .bal4-col2 { display: flex; flex-direction: column; gap: 12px; }
html:not(.lc-home) #root .bal4-h { font-size: 15px !important; font-weight: 600 !important; color: rgba(255,255,255,.75) !important; margin: 0 !important; }
html:not(.lc-home) #root .bal4-col > .bal4-balcard {
  flex: 1; position: relative; display: flex !important; flex-direction: column; justify-content: center !important; padding: 28px !important; border-radius: 20px !important;
  border: 1px solid rgba(52,211,153,.18) !important; background: radial-gradient(360px 160px at 100% 0%, rgba(52,211,153,.16), transparent 70%), rgba(255,255,255,.02) !important;
}
html:not(.lc-home) #root .bal4-balcard::before { content: "Доступно на счёте"; font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 6px; }
html:not(.lc-home) #root .bal4-bal-num { font-size: 40px !important; font-weight: 700 !important; text-align: left !important; color: #fff !important; }
html:not(.lc-home) #root .bal4-col > button.bal4-tag-btn.bal4-tag-btn { height: 48px !important; flex: 0 0 auto; border-radius: 14px !important; justify-content: center; }
html:not(.lc-home) #root .bal4-col2 .bal4-card { flex: 1; padding: 28px !important; border-radius: 20px !important; border: 1px solid rgba(255,255,255,.1) !important; background: rgba(255,255,255,.025) !important; }
html:not(.lc-home) #root .bal4-inputwrap { height: 60px !important; border-radius: 14px !important; background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.12) !important; transition: border-color .2s, box-shadow .2s; }
html:not(.lc-home) #root .bal4-inputwrap:focus-within { border-color: rgba(167,139,250,.6) !important; box-shadow: 0 0 0 4px rgba(139,92,246,.15); }

/* — оформление заказа: заново — */
html:not(.lc-home) #root .bs2-co-banner { display: none !important; }
/* — секция условий бесплатного тарифа — */
html:not(.lc-home) #root .bs2-free-sec { margin: 4px 0 16px; padding: 22px; border-radius: 18px; border: 1px solid rgba(251,191,36,.25); background: radial-gradient(380px 140px at 0% 0%, rgba(251,191,36,.12), transparent 70%), rgba(255,255,255,.02); animation: czIn .45s cubic-bezier(.2,.7,.2,1) both; }
html:not(.lc-home) #root .bs2-ft-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
html:not(.lc-home) #root .bs2-ft-ic { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(251,191,36,.15); color: #fbbf24; font-weight: 800; font-size: 18px; }
html:not(.lc-home) #root .bs2-ft-title { font-size: 16px; font-weight: 600; color: #fff; margin: 0; }
html:not(.lc-home) #root .bs2-ft-sub { font-size: 12.5px; color: rgba(255,255,255,.45); margin: 2px 0 0; }
html:not(.lc-home) #root .bs2-ft-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
html:not(.lc-home) #root .bs2-ft-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.8); }
html:not(.lc-home) #root .bs2-ft-dot { width: 7px; height: 7px; flex: 0 0 7px; margin-top: 8px; border-radius: 50%; background: #fbbf24; }
html:not(.lc-home) #root .bs2-ft-accept { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); cursor: pointer; font-size: 14px; color: rgba(255,255,255,.85); transition: border-color .2s, background .2s; }
html:not(.lc-home) #root .bs2-ft-accept input { position: absolute; opacity: 0; pointer-events: none; }
html:not(.lc-home) #root .bs2-ft-box { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 6px; border: 2px solid rgba(255,255,255,.25); transition: all .2s; position: relative; }
html:not(.lc-home) #root .bs2-ft-accept.is-on { border-color: rgba(139,92,246,.5); background: rgba(139,92,246,.08); }
html:not(.lc-home) #root .bs2-ft-accept.is-on .bs2-ft-box { background: #8b5cf6; border-color: #8b5cf6; animation: czSel .3s ease; }
html:not(.lc-home) #root .bs2-ft-accept.is-on .bs2-ft-box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* — анимации появления — */
@keyframes czIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes czPop { from { opacity: 0; transform: scale(.97) translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes czSel { 0% { transform: scale(1); } 45% { transform: scale(1.04); } 100% { transform: scale(1); } }
html:not(.lc-home) #root :is(.pg-banner, .cz-stat, .svc-card, .pg-empty2, .pg-ne-card, .pg-sec, .refs-stat, .refs-card, .bal4-balcard, .bal4-card, .bal2-history, .pg-ticket, .tk2, .pg-sup-form, .pg-page-head, .bs2-head) {
  animation: czIn .5s cubic-bezier(.2,.7,.2,1) both;
}
html:not(.lc-home) #root :is(.cz-stats, .pg-grid, .refs-grid4, .pg-prof-col, .pg-tickets-grid) > :nth-child(2) { animation-delay: .06s; }
html:not(.lc-home) #root :is(.cz-stats, .pg-grid, .refs-grid4, .pg-prof-col, .pg-tickets-grid) > :nth-child(3) { animation-delay: .12s; }
html:not(.lc-home) #root :is(.cz-stats, .pg-grid, .refs-grid4, .pg-prof-col, .pg-tickets-grid) > :nth-child(4) { animation-delay: .18s; }
html:not(.lc-home) #root :is(.cz-stats, .pg-grid, .refs-grid4, .pg-prof-col, .pg-tickets-grid) > :nth-child(5) { animation-delay: .24s; }
html:not(.lc-home) #root :is(.cz-stats, .pg-grid, .refs-grid4, .pg-prof-col, .pg-tickets-grid) > :nth-child(n+6) { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) { html:not(.lc-home) #root * { animation: none !important; } }

/* §13 доводка */
@media (min-width: 1024px) { html:not(.lc-home) aside.lk-sidebar { padding-top: 16px !important; } }
html:not(.lc-home) #root .bal3-root .bal4-grid.bal4-grid { display: grid !important; grid-template-columns: minmax(280px, 1fr) 2fr !important; }
@media (max-width: 1023px) { html:not(.lc-home) #root .bal3-root .bal4-grid.bal4-grid { grid-template-columns: 1fr !important; } }
html:not(.lc-home) #root .bal4-col > .bal4-balcard { align-items: flex-start !important; text-align: left !important; }
html:not(.lc-home) #root .bal3-root .bal4-grid > .bal4-col, html:not(.lc-home) #root .bal3-root .bal4-grid > .bal4-col2 { grid-column: auto !important; width: auto !important; min-width: 0 !important; }

/* ═══ §14 (04.11): сайдбар на всю высоту (не плавающий), лого+название в сайдбаре, остальное в шапке ═══ */
@media (min-width: 1024px) {
  html:not(.lc-home) aside.lk-sidebar {
    top: 0 !important; bottom: 0 !important; left: 0 !important; height: 100vh !important;
    border-radius: 0 !important; border: 0 !important; border-right: 1px solid rgba(255,255,255,.06) !important;
    background: #000 !important; box-shadow: none !important; padding-top: 80px !important; z-index: 40 !important;
  }
  html.lc-sb:not(.lc-home) #root header.lk-header { left: 280px !important; width: calc(100% - 280px) !important; }
  html.lc-sb:not(.lc-home) #root header.lk-header .lk-logo { position: fixed !important; left: 24px !important; top: 14px !important; }
  html.lc-sb:not(.lc-home) #root header.lk-header .lk-header-inner { padding-left: 24px !important; }
  html.lc-sb:not(.lc-home) aside.lk-sidebar::before { content: ""; position: absolute; left: 16px; right: 16px; top: 64px; height: 1px; background: rgba(255,255,255,.06); }
}
html.light:not(.lc-home) aside.lk-sidebar { background: #fff !important; box-shadow: none !important; }

/* §15 (04.11): баннера на главной нет — только текст */
html:not(.lc-home) #root .pg-banner, html:not(.lc-home) #root .pg-banner.pg-banner {
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; min-height: 0 !important; overflow: visible !important;
}
html:not(.lc-home) #root .pg-banner::before, html:not(.lc-home) #root .pg-banner::after { display: none !important; content: none !important; }
html:not(.lc-home) #root .pg-banner-inner { padding: 8px 0 0 !important; min-height: 0 !important; }
html:not(.lc-home) #root .pg-banner h1 { font-size: 30px !important; margin: 0 0 6px !important; }
html:not(.lc-home) #root .pg-banner p { font-size: 15px !important; color: rgba(255,255,255,.5) !important; margin: 0 !important; }
html.light:not(.lc-home) #root .pg-banner p { color: rgba(24,24,27,.55) !important; }
html:not(.lc-home) #root .cz-stats { margin-top: 24px !important; }
html:not(.lc-home) #root .pg-banner.pg-banner { padding: 0 !important; height: auto !important; display: block !important; margin: 0 !important; }
html:not(.lc-home) #root .pg-banner .pg-banner-inner { padding: 4px 0 0 !important; margin: 0 !important; height: auto !important; max-width: none !important; }

/* §16 (04.11): в кабинете шапки нет (≥1024) — остаётся только лого+название по центру верха сайдбара */
@media (min-width: 1024px) {
  html.lc-sb:not(.lc-home) #root header.lk-header {
    left: 0 !important; width: 280px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; pointer-events: none;
  }
  html.lc-sb:not(.lc-home) #root header.lk-header :is(.lk-nav, .lk-hdr-right, .lk-burger) { display: none !important; }
  html.lc-sb:not(.lc-home) #root header.lk-header .lk-logo {
    position: fixed !important; left: 0 !important; top: 14px !important; width: 280px !important; justify-content: center !important; pointer-events: auto;
  }
}

/* ═══ §17 (04.11): покупка услуг и оформление заказа — переделка ═══ */
/* каталог: фильтры одной панелью */
/* оформление: 2 колонки — слева шаги, справа сводка + оплата */
/* оплата справа */
html:not(.lc-home) #root .bs2-free-sec { padding: 18px !important; }
/* §17 доводка */
html:not(.lc-home) #root .bs2-root > .bs2-head + .bs2-pills-wrap.bs2-pills-wrap { display: none !important; }
@media (min-width: 1024px) {
  html.lc-sb:not(.lc-home) #root main { padding-top: 0 !important; }
}

/* §18 (04.11): фильтры Тип/Локация — как на лендинге (без панели-обёртки), обводка видна */
html:not(.lc-home) #root .bs2-root > .bs2-head + .bs2-pills-wrap.bs2-pills-wrap { display: none !important; }

/* ═══ §19 (04.11): ОФОРМЛЕНИЕ ЗАКАЗА — заново. Слева шаги-карточки, справа единая панель «Итог заказа» ═══ */
html:not(.lc-home) #root .bs2-root .bs2-co > .bs2-co-banner { display: none !important; }
/* левая колонка: каждый шаг — своя карточка */
/* поля: мягкие, 54px */
/* правая колонка: единая панель «Итог заказа» */

/* ═══ §20 (04.11): оформление заказа в стиле примеров юзера (тонкие рамки .04, фон .01, r16, белая кнопка, фиолетовые акценты) ═══ */
/* карточки шагов */
/* заголовок шага: фиолетовая плашка-иконка 36px + текст */
/* поля */
/* итог заказа */
/* оплата: своя карточка */
/* условия бесплатного — фиолетовая карточка как «Реферальная программа» в примере */
html:not(.lc-home) #root .bs2-root .bs2-free-sec { border-radius: 16px !important; border: 1px solid rgba(139,92,246,.1) !important; background: radial-gradient(circle at 50% 120%, rgba(139,92,246,.08), transparent), rgba(139,92,246,.03) !important; padding: 20px !important; }
html:not(.lc-home) #root .bs2-root .bs2-ft-ic { background: rgba(139,92,246,.1) !important; color: rgba(167,139,250,.8) !important; border-radius: 12px !important; }
html:not(.lc-home) #root .bs2-root .bs2-ft-title { color: rgba(255,255,255,.8) !important; font-size: 15px !important; }
html:not(.lc-home) #root .bs2-root .bs2-ft-sub { color: rgba(255,255,255,.25) !important; }
html:not(.lc-home) #root .bs2-root .bs2-ft-list li { color: rgba(255,255,255,.55) !important; font-size: 13.5px !important; }
html:not(.lc-home) #root .bs2-root .bs2-ft-dot { background: rgba(167,139,250,.7) !important; }
html:not(.lc-home) #root .bs2-root .bs2-ft-accept { border-color: rgba(167,139,250,.1) !important; background: rgba(139,92,246,.05) !important; color: rgba(196,181,253,.8) !important; }

/* §21 (04.11): оформление — секция ПОД тарифами на той же странице (родной вид), плавный переход */
html:not(.lc-home) #root .bs2-root .bs2-co-section { margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.08); scroll-margin-top: 24px; animation: czIn .5s cubic-bezier(.2,.7,.2,1) both; }
html:not(.lc-home) #root .bs2-root .bs2-co-section .bs2-head h2 { font-size: 26px; font-weight: 700; color: #fff; margin: 0 0 6px; }
html:not(.lc-home) #root .bs2-root .bs2-co-banner { display: none !important; }
html { scroll-behavior: smooth; }

/* ═══ §22 (04.11): оформление под тарифами — 3 секции по образцу юзера ═══ */
html:not(.lc-home) #root .bs2-co-section.bs3 { border-top: 0 !important; padding-top: 8px !important; margin-top: 40px !important; display: flex; flex-direction: column; gap: 40px; }
html:not(.lc-home) #root .bs3 .bs3-div { width: 100%; height: 1px; border-radius: 999px; background: rgba(255,255,255,.1); }
html:not(.lc-home) #root .bs3 .bs3-sec { display: flex; flex-direction: column; gap: 24px; animation: czIn .45s cubic-bezier(.2,.7,.2,1) both; }
html:not(.lc-home) #root .bs3 .bs3-sh { display: flex; flex-direction: column; gap: 10px; }
html:not(.lc-home) #root .bs3 .bs3-sh-t { display: flex; align-items: center; gap: 14px; }
html:not(.lc-home) #root .bs3 .bs3-sh-t svg { color: #fff; flex: 0 0 20px; }
html:not(.lc-home) #root .bs3 .bs3-sh-t p { font-size: 18px; font-weight: 600; color: #fff; margin: 0; }
html:not(.lc-home) #root .bs3 .bs3-sh-s { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); margin: 0; }
html:not(.lc-home) #root .bs3 .bs3-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 32px; }
html:not(.lc-home) #root .bs3 :is(.bs3-f, .bs3-row > .bs2-field) { display: grid !important; gap: 10px !important; width: 288px; max-width: 100%; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
html:not(.lc-home) #root .bs3 .bs3-f-wide { width: 420px; }
@media (max-width: 767px) { html:not(.lc-home) #root .bs3 :is(.bs3-f, .bs3-f-wide, .bs3-row > .bs2-field) { width: 100%; } }
html:not(.lc-home) #root .bs3 :is(.bs3-fl, .bs2-field-label, .bs2-field-label label) { font-size: 15px !important; font-weight: 400 !important; color: rgba(255,255,255,.3) !important; margin: 0 !important; }
html:not(.lc-home) #root .bs3 .bs2-field-label > svg { display: none !important; }
/* поле ввода: мягкий фон, приглушено → ярче при наведении/фокусе */
html:not(.lc-home) #root .bs3 .bs2-name-row { display: flex; gap: 8px; }
html:not(.lc-home) #root .bs3 .bs2-name-wrap, html:not(.lc-home) #root .bs3 .bs2-promo input {
  height: 48px !important; border-radius: 12px !important; background: rgba(255,255,255,.05) !important;
  border: 0 !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05) !important; opacity: .6; transition: opacity .2s ease, box-shadow .2s ease !important;
}
html:not(.lc-home) #root .bs3 .bs2-name-wrap { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
html:not(.lc-home) #root .bs3 .bs2-name-wrap > svg { width: 16px; height: 16px; color: rgba(255,255,255,.4); }
html:not(.lc-home) #root .bs3 .bs2-name-wrap input { background: transparent !important; border: 0 !important; height: 100% !important; color: #f5f5f5 !important; font-size: 15px !important; width: 100%; outline: none; }
html:not(.lc-home) #root .bs3 :is(.bs2-name-wrap, .bs2-promo input):hover { opacity: .85; box-shadow: inset 0 0 0 2px rgba(255,255,255,.06) !important; }
html:not(.lc-home) #root .bs3 :is(.bs2-name-wrap:focus-within, .bs2-promo input:focus) { opacity: 1; box-shadow: inset 0 0 0 2px rgba(255,255,255,.1) !important; outline: none; }
html:not(.lc-home) #root .bs3 .bs2-name-wrap input::placeholder, html:not(.lc-home) #root .bs3 .bs2-promo input::placeholder { color: #737373; }
html:not(.lc-home) #root .bs3 .bs2-dice { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; background: transparent !important; border: 0 !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.05) !important; color: rgba(255,255,255,.75); transition: box-shadow .2s, transform .15s !important; }
html:not(.lc-home) #root .bs3 .bs2-dice:hover { box-shadow: inset 0 0 0 2px rgba(255,255,255,.1) !important; }
html:not(.lc-home) #root .bs3 .bs2-req-hint { margin: 6px 0 0 !important; font-size: 12.5px !important; color: rgba(251,191,36,.8) !important; }
/* выпадающие списки: прозрачные с кольцом */
html:not(.lc-home) #root .bs3 .bs2-dd-btn {
  height: 48px !important; width: 100% !important; padding: 0 20px 0 24px !important; border-radius: 12px !important;
  background: transparent !important; border: 0 !important; box-shadow: 0 0 0 2px rgba(255,255,255,.05) !important; transition: box-shadow .2s ease !important;
}
html:not(.lc-home) #root .bs3 .bs2-dd-btn:hover { box-shadow: 0 0 0 2px rgba(255,255,255,.1) !important; }
html:not(.lc-home) #root .bs3 .bs2-dd-btn p { font-size: 15px !important; font-weight: 500 !important; color: #e5e5e5 !important; }
html:not(.lc-home) #root .bs3 .bs2-dd-btn p.is-ph { color: #737373 !important; }
html:not(.lc-home) #root .bs3 .bs2-dd-btn svg { color: rgba(255,255,255,.4) !important; }
/* промокод */
html:not(.lc-home) #root .bs3 .bs2-promo { display: flex !important; gap: 8px !important; margin: 0 !important; }
html:not(.lc-home) #root .bs3 .bs2-promo input { flex: 1; padding: 0 16px !important; color: #f5f5f5 !important; font-size: 15px !important; }
html:not(.lc-home) #root .bs3 .bs2-promo-btn { height: 48px !important; padding: 0 18px !important; border-radius: 12px !important; background: transparent !important; color: rgba(255,255,255,.75) !important; border: 0 !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.05) !important; font-size: 14px !important; }
html:not(.lc-home) #root .bs3 .bs2-promo-btn:hover { box-shadow: inset 0 0 0 2px rgba(255,255,255,.12) !important; color: #fff !important; }
html:not(.lc-home) #root .bs3 .bs2-promo-btn.is-applied { color: #34d399 !important; box-shadow: inset 0 0 0 2px rgba(52,211,153,.25) !important; }
/* итог и кнопка */
html:not(.lc-home) #root .bs3 .bs3-pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
html:not(.lc-home) #root .bs3 .bs3-total h3 { font-size: 20px; font-weight: 500; color: #fff; margin: 0; }
html:not(.lc-home) #root .bs3 .bs3-total h3 span { font-size: 14px; opacity: .7; }
html:not(.lc-home) #root .bs3 .bs3-total p { font-size: 13px; color: rgba(255,255,255,.35); margin: 4px 0 0; }
html:not(.lc-home) #root .bs3 .bs2-pay-btn {
  display: inline-flex !important; align-items: center !important; gap: 12px !important; width: auto !important; height: 42px !important; padding: 0 24px !important;
  border-radius: 12px !important; background: #fff !important; color: #000 !important; border: 0 !important; box-shadow: none !important; font-size: 14px !important;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease !important;
}
html:not(.lc-home) #root .bs3 .bs2-pay-btn * { color: inherit !important; }
html:not(.lc-home) #root .bs3 .bs2-pay-btn:hover:not(:disabled) { background: #000 !important; color: #fff !important; box-shadow: 0 0 0 1px #fff !important; }
html:not(.lc-home) #root .bs3 .bs2-pay-btn:disabled { background: rgba(255,255,255,.08) !important; color: rgba(255,255,255,.35) !important; }
@media (max-width: 767px) { html:not(.lc-home) #root .bs3 .bs2-pay-btn { width: 100% !important; justify-content: center !important; } }
html:not(.lc-home) #root .bs3 .bs2-cond { border-radius: 16px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); padding: 18px; }
html:not(.lc-home) #root .bs3 :is(.bs2-free-sec, .bs2-cond) { max-width: 760px; }
html:not(.lc-home) #root .bs3 .bs3-f:has(.bs2-name-row) { width: 360px; }
html:not(.lc-home) #root .bs3 .bs2-name-row { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
html:not(.lc-home) #root .bs3 .bs2-name-wrap input, html:not(.lc-home) #root .bs3 .bs2-name-wrap input:focus { box-shadow: none !important; border: 0 !important; background: transparent !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; }
html:not(.lc-home) #root .bs3 .bs2-name-wrap::before, html:not(.lc-home) #root .bs3 .bs2-name-wrap::after { display: none !important; }
html:not(.lc-home) #root .bs3 .bs2-dd-btn > svg { transform: rotate(-90deg); transition: transform .2s ease !important; }
html:not(.lc-home) #root .bs3 .bs2-name-wrap > svg { display: none !important; }
html:not(.lc-home) #root .bs3 .bs2-name-wrap { padding: 0 16px !important; }
html:not(.lc-home) #root .bs3 .bs2-dd-btn > svg { transform: rotate(90deg) !important; }
html:not(.lc-home) #root .bs3 .bs2-dd-btn.bs2-dd-btn > svg { transform: none !important; }
html:not(.lc-home) #root .bs3 .bs2-promo input { min-width: 0 !important; width: auto !important; } html:not(.lc-home) #root .bs3 .bs2-promo { width: 100% !important; } html:not(.lc-home) #root .bs3 .bs3-f { min-width: 0; }

/* §23 (04.11): окно условий бесплатного тарифа (открывается по «Получить бесплатно») */
html:not(.lc-home) #root .bs2-modal-backdrop { background: rgba(0,0,0,.7) !important; backdrop-filter: blur(6px); animation: czFade .2s ease both; }
html:not(.lc-home) #root .bs2-modal-card { max-width: 520px !important; width: calc(100% - 32px) !important; border-radius: 20px !important; border: 1px solid rgba(255,255,255,.1) !important; background: #0b0b0e !important; padding: 26px !important; animation: czPop .22s cubic-bezier(.2,.8,.2,1) both; max-height: calc(100vh - 48px); overflow-y: auto; }
@keyframes czFade { from { opacity: 0; } to { opacity: 1; } }
html:not(.lc-home) #root .bs2-modal-title { font-size: 20px !important; font-weight: 600 !important; color: #fff !important; }
html:not(.lc-home) #root .bs2-modal-sub { font-size: 14px !important; color: rgba(255,255,255,.45) !important; }
html:not(.lc-home) #root .bs2-fm { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 4px; }
html:not(.lc-home) #root .bs2-fm-block { padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); }
html:not(.lc-home) #root .bs2-fm-h { font-size: 15px; font-weight: 600; color: #fff; margin: 0 0 10px; }
html:not(.lc-home) #root .bs2-fm-s { font-size: 13px; color: rgba(255,255,255,.45); margin: -4px 0 12px; }
html:not(.lc-home) #root .bs2-fm .bs2-ft-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
html:not(.lc-home) #root .bs2-fm .bs2-ft-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.75); }
html:not(.lc-home) #root .bs2-fm .bs2-ft-dot { width: 6px; height: 6px; flex: 0 0 6px; margin-top: 8px; border-radius: 50%; background: #a78bfa; }
html:not(.lc-home) #root .bs2-fm .bs2-cond-list { display: flex; flex-direction: column; gap: 8px; }
html:not(.lc-home) #root .bs2-fm .bs2-cond-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); text-decoration: none; color: rgba(255,255,255,.8); font-size: 14px; transition: border-color .2s, background .2s, transform .15s; }
html:not(.lc-home) #root .bs2-fm .bs2-cond-item:hover { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
html:not(.lc-home) #root .bs2-fm .bs2-cond-item.is-done { border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.06); }
html:not(.lc-home) #root .bs2-fm .bs2-cond-ic { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; }
html:not(.lc-home) #root .bs2-fm .bs2-cond-item.is-done .bs2-cond-ic { background: #10b981; border-color: #10b981; }
html:not(.lc-home) #root .bs2-fm .bs2-cond-net { flex: 1; }
html:not(.lc-home) #root .bs2-fm .bs2-cond-link { font-size: 13px; color: rgba(255,255,255,.45); }
html:not(.lc-home) #root .bs2-modal-accept { display: flex !important; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.85); cursor: pointer; }
html:not(.lc-home) #root .bs2-modal-accept input { width: 18px; height: 18px; accent-color: #8b5cf6; }
html:not(.lc-home) #root .bs2-modal-actions { display: flex !important; gap: 10px !important; justify-content: flex-end !important; margin-top: 20px !important; }
html:not(.lc-home) #root .bs2-modal-btn { height: 44px !important; padding: 0 20px !important; border-radius: 12px !important; font-size: 14px !important; display: inline-flex !important; align-items: center !important; gap: 8px !important; }
html:not(.lc-home) #root .bs2-modal-btn.ghost { background: transparent !important; color: rgba(255,255,255,.7) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12) !important; border: 0 !important; }
html:not(.lc-home) #root .bs2-modal-btn.pri { background: #fff !important; color: #000 !important; border: 0 !important; }
html:not(.lc-home) #root .bs2-modal-btn.pri * { color: inherit !important; }
html:not(.lc-home) #root .bs2-modal-btn.pri:disabled { background: rgba(255,255,255,.08) !important; color: rgba(255,255,255,.35) !important; }

/* §24 (04.11): иконки слева внутри полей выбора + мягкая анимация окна */
html:not(.lc-home) #root .bs3 .bs2-dd-btn { position: relative; padding-left: 48px !important; }
html:not(.lc-home) #root .bs3 .bs2-dd-btn::before { content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: rgba(255,255,255,.55); -webkit-mask: var(--fi) center / contain no-repeat; mask: var(--fi) center / contain no-repeat; transition: background .2s ease; }
html:not(.lc-home) #root .bs3 .bs2-dd-btn:hover::before { background: rgba(255,255,255,.85); }
html:not(.lc-home) #root .bs3 .bs3-row > :nth-child(2) { --fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M17.5 17.5c2.5 3.5 6.449.915 5.5-2.5c-1.425-5.129-2.2-7.984-2.603-9.492A2.03 2.03 0 0 0 18.438 4H5.562c-.918 0-1.718.625-1.941 1.515C2.78 8.863 2.033 11.802 1.144 15c-.948 3.415 3 6 5.5 2.5M18 8.5l.011.01M16.49 7l.011.01M16.49 10l.011.01M15 8.5l.011.01M7 7v3M5.5 8.5h3'/%3E%3Cpath d='M8 16a2 2 0 1 0 0-4a2 2 0 0 0 0 4m8 0a2 2 0 1 0 0-4a2 2 0 0 0 0 4'/%3E%3C/g%3E%3C/svg%3E"); }
html:not(.lc-home) #root .bs3 .bs3-row > :nth-child(3) { --fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M8 15.4V8.6a.6.6 0 0 1 .6-.6h6.8a.6.6 0 0 1 .6.6v6.8a.6.6 0 0 1-.6.6H8.6a.6.6 0 0 1-.6-.6'/%3E%3Cpath d='M20 4.6v14.8a.6.6 0 0 1-.6.6H4.6a.6.6 0 0 1-.6-.6V4.6a.6.6 0 0 1 .6-.6h14.8a.6.6 0 0 1 .6.6M17 4V2m-5 2V2M7 4V2m0 18v2m5-2v2m5-2v2m3-5h2m-2-5h2m-2-5h2M4 17H2m2-5H2m2-5H2'/%3E%3C/g%3E%3C/svg%3E"); }
html:not(.lc-home) #root .bs3 .bs3-row > :nth-child(4) { --fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.5' d='M3 17.4V6.6a.6.6 0 0 1 .6-.6h13.079c.2 0 .388.1.5.267l3.6 5.4a.6.6 0 0 1 0 .666l-3.6 5.4a.6.6 0 0 1-.5.267H3.6a.6.6 0 0 1-.6-.6Z'/%3E%3C/svg%3E"); }
html:not(.lc-home) #root .bs3 .bs3-row > :nth-child(5) { --fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M17 11.6V15a6 6 0 0 1-6 6H9a6 6 0 0 1-6-6v-3.4a.6.6 0 0 1 .6-.6h12.8a.6.6 0 0 1 .6.6M12 9c0-1 .714-2 2.143-2A2.857 2.857 0 0 0 17 4.143V3.5M8 9v-.5a3 3 0 0 1 3-3a2 2 0 0 0 2-2V3'/%3E%3Cpath d='M16 11h2.5a2.5 2.5 0 0 1 0 5H17'/%3E%3C/g%3E%3C/svg%3E"); }
html:not(.lc-home) #root .bs3 .bs3-sec:nth-of-type(2) .bs3-row > :nth-child(1), html:not(.lc-home) #root .bs3 .bs3-row > .bs3-f:has(.bs2-dd) { --fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M15 4V2m0 2v2m0-2h-4.5M3 10v9a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9zm0 0V6a2 2 0 0 1 2-2h2m0-2v4m14 4V6a2 2 0 0 0-2-2h-.5'/%3E%3C/svg%3E"); }
html:not(.lc-home) #root .bs3 .bs3-row > :nth-child(1):has(.bs2-name-row) { --fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m14.363 5.652l1.48-1.48a2 2 0 0 1 2.829 0l1.414 1.414a2 2 0 0 1 0 2.828l-1.48 1.48m-4.243-4.242l-9.616 9.615a2 2 0 0 0-.578 1.238l-.242 2.74a1 1 0 0 0 1.084 1.085l2.74-.242a2 2 0 0 0 1.24-.578l9.615-9.616m-4.243-4.242l4.243 4.242'/%3E%3C/svg%3E"); }
html:not(.lc-home) #root .bs3 .bs2-name-wrap { position: relative; padding-left: 44px !important; }
html:not(.lc-home) #root .bs3 .bs2-name-wrap::before { content: ""; display: block !important; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: rgba(255,255,255,.55); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m14.363 5.652l1.48-1.48a2 2 0 0 1 2.829 0l1.414 1.414a2 2 0 0 1 0 2.828l-1.48 1.48m-4.243-4.242l-9.616 9.615a2 2 0 0 0-.578 1.238l-.242 2.74a1 1 0 0 0 1.084 1.085l2.74-.242a2 2 0 0 0 1.24-.578l9.615-9.616m-4.243-4.242l4.243 4.242'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m14.363 5.652l1.48-1.48a2 2 0 0 1 2.829 0l1.414 1.414a2 2 0 0 1 0 2.828l-1.48 1.48m-4.243-4.242l-9.616 9.615a2 2 0 0 0-.578 1.238l-.242 2.74a1 1 0 0 0 1.084 1.085l2.74-.242a2 2 0 0 0 1.24-.578l9.615-9.616m-4.243-4.242l4.243 4.242'/%3E%3C/svg%3E") center / contain no-repeat; }
html:not(.lc-home) #root .bs3 .bs2-promo { position: relative; }
html:not(.lc-home) #root .bs3 .bs2-promo::before { content: ""; position: absolute; left: 16px; top: 24px; width: 18px; height: 18px; margin-top: -9px; z-index: 1; pointer-events: none; background: rgba(255,255,255,.55); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10'/%3E%3Cpath fill='black' d='M15.5 16a.5.5 0 1 0 0-1a.5.5 0 0 0 0 1m-7-7a.5.5 0 1 0 0-1a.5.5 0 0 0 0 1'/%3E%3Cpath d='m16 8l-8 8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10'/%3E%3Cpath fill='black' d='M15.5 16a.5.5 0 1 0 0-1a.5.5 0 0 0 0 1m-7-7a.5.5 0 1 0 0-1a.5.5 0 0 0 0 1'/%3E%3Cpath d='m16 8l-8 8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
html:not(.lc-home) #root .bs3 .bs2-promo input { padding-left: 44px !important; }
/* окно: мягкое появление вместо «прыжка» */
@keyframes czFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes czRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html:not(.lc-home) #root .bs2-modal-backdrop { animation: czFadeIn .3s ease-out both !important; }
html:not(.lc-home) #root .bs2-modal-card { animation: czRise .38s cubic-bezier(.16,1,.3,1) .04s both !important; }
@media (prefers-reduced-motion: reduce) { html:not(.lc-home) #root :is(.bs2-modal-backdrop, .bs2-modal-card) { animation: none !important; } }
/* фикс: при генерации названия текст двоился (мой цвет инпута перебивал прозрачность на время анимации) */
html:not(.lc-home) #root .bs3 .bs2-name-wrap.is-fx input { color: transparent !important; caret-color: transparent !important; }
html:not(.lc-home) #root .bs3 .bs2-name-fx { left: 44px !important; right: 16px !important; font-size: 15px !important; }

/* §25b (04.11): выпадающий список больше не просвечивает — секция с открытым списком поверх следующих */
html:not(.lc-home) #root .bs3 .bs3-sec { position: relative; z-index: 1; }
html:not(.lc-home) #root .bs3 .bs3-sec:has(.bs2-dd-menu) { z-index: 30; }
html:not(.lc-home) #root .bs3 .bs2-dd { position: relative; }
html:not(.lc-home) #root .bs3 .bs2-dd-menu { z-index: 40 !important; }
/* §26: выпадающий список — темнее */
html:not(.lc-home) #root .bs3 .bs2-dd-menu { background: #0a0a0c !important; border-color: rgba(255,255,255,.08) !important; box-shadow: 0 20px 44px -14px rgba(0,0,0,.9) !important; }
html:not(.lc-home) #root .bs3 .bs2-dd-opt:hover { background: rgba(255,255,255,.05) !important; }
html:not(.lc-home) #root .bs3 .bs2-dd-opt.is-active, html:not(.lc-home) #root .bs3 .bs2-dd-opt.active { background: rgba(255,255,255,.07) !important; }

/* §27 (04.11): нормальные ошибки — карточки с иконкой (всплывающие и в формах) */
[data-sonner-toast][data-type="error"] {
  background: #170a0c !important; border: 1px solid rgba(239,68,68,.35) !important; color: #fecaca !important;
  border-radius: 14px !important; box-shadow: 0 18px 40px -16px rgba(239,68,68,.35) !important;
}
[data-sonner-toast][data-type="error"] [data-title] { color: #fff !important; font-weight: 600 !important; }
[data-sonner-toast][data-type="error"] [data-description] { color: rgba(254,202,202,.8) !important; }
[data-sonner-toast][data-type="error"] [data-icon] { color: #f87171 !important; }
[data-sonner-toast][data-type="success"] { background: #08130e !important; border: 1px solid rgba(52,211,153,.3) !important; color: #d1fae5 !important; border-radius: 14px !important; }
[data-sonner-toast][data-type="success"] [data-icon] { color: #34d399 !important; }
html:not(.lc-home) #root :is(.bs2-err, .svc-mg-err) {
  display: flex !important; align-items: flex-start; gap: 10px; margin: 8px 0 !important; padding: 12px 14px !important;
  border-radius: 12px !important; border: 1px solid rgba(239,68,68,.3) !important; background: rgba(239,68,68,.08) !important;
  color: #fecaca !important; font-size: 14px !important; line-height: 1.45 !important; animation: czErr .35s ease both;
}
html:not(.lc-home) #root :is(.bs2-err, .svc-mg-err)::before {
  content: "!"; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: #ef4444; color: #fff;
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
@keyframes czErr { 0% { opacity: 0; transform: translateX(0); } 25% { opacity: 1; transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } 100% { transform: none; } }

/* §28 (04.11): ошибки форм — уведомлением сверху справа, в самой форме не показываем */
html:not(.lc-home) #root :is(.bs2-err, .svc-mg-err) { display: none !important; }
#lk-toasts { position: fixed; top: 20px; right: 20px; z-index: 2147483000; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.lk-toast {
  pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 14px;
  background: #170a0c; border: 1px solid rgba(239,68,68,.35); color: #fecaca; font-family: inherit;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.2); animation: lkToastIn .32s cubic-bezier(.16,1,.3,1) both;
}
.lk-toast.is-out { animation: lkToastOut .26s ease both; }
.lk-toast-ic { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: #ef4444; color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.lk-toast-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lk-toast-tx b { font-size: 14px; font-weight: 600; color: #fff; }
.lk-toast-tx span { font-size: 13.5px; line-height: 1.45; color: rgba(254,202,202,.85); }
.lk-toast-x { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 8px; border: 0; background: transparent; color: rgba(254,202,202,.6); font-size: 18px; line-height: 1; cursor: pointer; }
.lk-toast-x:hover { background: rgba(239,68,68,.15); color: #fff; }
@keyframes lkToastIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes lkToastOut { to { opacity: 0; transform: translateX(24px); } }

/* §29 (04.11): в кабинете (≥1024) лого+название в сайдбаре не показываем */
@media (min-width: 1024px) {
  html.lc-sb:not(.lc-home) #root header.lk-header { display: none !important; }
  html.lc-sb:not(.lc-home) aside.lk-sidebar { padding-top: 16px !important; }
  html.lc-sb:not(.lc-home) aside.lk-sidebar::before { display: none !important; content: none !important; }
}
@media (min-width: 1024px) { html.lc-sb:not(.lc-home) aside.lk-sidebar { padding-top: 32px !important; } }
@media (min-width: 1024px) { html.lc-sb:not(.lc-home) aside.lk-sidebar { padding-top: 56px !important; } }

/* ═══ §30 (04.11): страница баланса по образцу юзера (bl5-*) ═══ */
html:not(.lc-home) #root .bl5 { display: flex; flex-direction: column; gap: 24px; }
html:not(.lc-home) #root .bl5-head h1 { font-size: 30px; font-weight: 700; color: rgba(255,255,255,.9); margin: 0; }
html:not(.lc-home) #root .bl5-head p { font-size: 14px; color: rgba(255,255,255,.3); margin: 4px 0 0; }
html:not(.lc-home) #root :is(.bl5-hero, .bl5-card, .bl5-stat) { background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); animation: czIn .45s cubic-bezier(.2,.7,.2,1) both; }
html:not(.lc-home) #root .bl5-hero { position: relative; overflow: hidden; border-radius: 18px; padding: 30px; display: flex; align-items: center; gap: 20px; }
html:not(.lc-home) #root .bl5-hero-glow { position: absolute; top: 0; right: 0; width: 280px; height: 280px; pointer-events: none; opacity: .18; background: radial-gradient(circle at right top, #8b5cf6, transparent 60%); }
html:not(.lc-home) #root .bl5-hero-ic { position: relative; width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(139,92,246,.12); color: #a78bfa; flex: 0 0 56px; }
html:not(.lc-home) #root .bl5-hero p { position: relative; font-size: 14px; color: rgba(255,255,255,.35); margin: 0 0 4px; }
html:not(.lc-home) #root .bl5-hero b { position: relative; display: block; font-size: 38px; font-weight: 700; color: rgba(255,255,255,.92); letter-spacing: -.01em; }
html:not(.lc-home) #root .bl5-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1023px) { html:not(.lc-home) #root .bl5-stats { grid-template-columns: repeat(2, 1fr); } }
html:not(.lc-home) #root .bl5-stats > :nth-child(2) { animation-delay: .05s; } html:not(.lc-home) #root .bl5-stats > :nth-child(3) { animation-delay: .1s; } html:not(.lc-home) #root .bl5-stats > :nth-child(4) { animation-delay: .15s; }
html:not(.lc-home) #root .bl5-stat { border-radius: 14px; padding: 16px; display: flex; flex-direction: column; }
html:not(.lc-home) #root .bl5-stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
html:not(.lc-home) #root .bl5-stat-top p { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.35); margin: 0; }
html:not(.lc-home) #root .bl5-stat b { font-size: 21px; font-weight: 700; color: rgba(255,255,255,.9); }
html:not(.lc-home) #root .bl5-stat small { font-size: 12px; color: rgba(255,255,255,.25); margin-top: 4px; }
html:not(.lc-home) #root .bl5-c-green { color: #22c55e; } html:not(.lc-home) #root .bl5-c-red { color: #ef4444; } html:not(.lc-home) #root .bl5-c-violet { color: #8b5cf6; } html:not(.lc-home) #root .bl5-c-amber { color: #f59e0b; }
html:not(.lc-home) #root .bl5-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 1023px) { html:not(.lc-home) #root .bl5-grid { grid-template-columns: 1fr; } }
html:not(.lc-home) #root .bl5-card { border-radius: 18px; padding: 24px; }
html:not(.lc-home) #root .bl5-card-h { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
html:not(.lc-home) #root .bl5-card-h h2 { font-size: 16px; font-weight: 600; color: rgba(255,255,255,.9); margin: 0; }
html:not(.lc-home) #root .bl5-tile { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(139,92,246,.1); color: #a78bfa; flex: 0 0 40px; }
html:not(.lc-home) #root .bl5-form { display: flex; flex-direction: column; gap: 12px; }
html:not(.lc-home) #root .bl5-label { font-size: 13.5px; color: rgba(255,255,255,.45); margin: 4px 0 -2px; }
html:not(.lc-home) #root .bl5-amount { position: relative; }
html:not(.lc-home) #root .bl5-amount input { width: 100%; height: 58px; padding: 0 48px 0 16px; border-radius: 14px; font-size: 24px; font-weight: 700; color: rgba(255,255,255,.9); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); outline: none; transition: border-color .2s; -moz-appearance: textfield; }
html:not(.lc-home) #root .bl5-amount input::-webkit-outer-spin-button, html:not(.lc-home) #root .bl5-amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
html:not(.lc-home) #root .bl5-amount input:focus { border-color: rgba(139,92,246,.45); }
html:not(.lc-home) #root .bl5-amount span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: rgba(255,255,255,.3); }
html:not(.lc-home) #root .bl5-hint { font-size: 12.5px; color: rgba(255,255,255,.25); margin: 0; }
html:not(.lc-home) #root .bl5-quick { display: flex; flex-wrap: wrap; gap: 8px; }
html:not(.lc-home) #root .bl5-chip { padding: 8px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.55); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); cursor: pointer; transition: all .2s; }
html:not(.lc-home) #root .bl5-chip:hover { border-color: rgba(139,92,246,.35); color: rgba(255,255,255,.85); }
html:not(.lc-home) #root .bl5-chip.is-on { background: #8b5cf6; border-color: #8b5cf6; color: #fff; }
html:not(.lc-home) #root .bl5-methods { display: flex; flex-direction: column; gap: 8px; }
html:not(.lc-home) #root .bl5-method { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 14px; text-align: left; cursor: pointer; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.07); transition: all .2s; }
html:not(.lc-home) #root .bl5-method:hover { border-color: rgba(139,92,246,.25); }
html:not(.lc-home) #root .bl5-method.is-on { background: rgba(139,92,246,.08); border-color: rgba(139,92,246,.35); }
html:not(.lc-home) #root .bl5-m-ic { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.04); flex: 0 0 40px; }
html:not(.lc-home) #root .bl5-method.is-on .bl5-m-ic { background: rgba(139,92,246,.2); }
html:not(.lc-home) #root .bl5-m-ic img { max-width: 26px; max-height: 22px; object-fit: contain; }
html:not(.lc-home) #root .bl5-m-tx { display: flex; flex-direction: column; flex: 1; }
html:not(.lc-home) #root .bl5-m-tx b { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.8); }
html:not(.lc-home) #root .bl5-method.is-on .bl5-m-tx b { color: #c4b5fd; }
html:not(.lc-home) #root .bl5-m-tx small { font-size: 12px; color: rgba(255,255,255,.3); }
html:not(.lc-home) #root .bl5-m-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: #fff; flex: 0 0 20px; }
html:not(.lc-home) #root .bl5-method.is-on .bl5-m-dot { background: #8b5cf6; border-color: #8b5cf6; }
html:not(.lc-home) #root .bl5-pay { margin-top: 6px; height: 50px; border-radius: 14px; border: 0; background: #8b5cf6; color: #fff; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: background .2s, transform .15s; }
html:not(.lc-home) #root .bl5-pay:hover:not(:disabled) { background: #7c4dff; }
html:not(.lc-home) #root .bl5-pay:active:not(:disabled) { transform: scale(.98); }
html:not(.lc-home) #root .bl5-pay:disabled { opacity: .5; }
html:not(.lc-home) #root .bl5-code { height: 50px; padding: 0 16px; border-radius: 14px; font-family: ui-monospace, monospace; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); outline: none; }
html:not(.lc-home) #root .bl5-code::placeholder { color: rgba(255,255,255,.15); }
html:not(.lc-home) #root .bl5-code:focus { border-color: rgba(139,92,246,.45); }
html:not(.lc-home) #root .bl5-ghost { height: 48px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: transparent; color: rgba(255,255,255,.75); font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: background .2s; }
html:not(.lc-home) #root .bl5-ghost:hover:not(:disabled) { background: rgba(255,255,255,.04); }
html:not(.lc-home) #root .bl5-ghost:disabled { opacity: .45; }
html:not(.lc-home) #root .bl5-ghost.sm { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13px; }
html:not(.lc-home) #root .bl5-list { display: flex; flex-direction: column; gap: 8px; }
html:not(.lc-home) #root .bl5-tx { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); }
html:not(.lc-home) #root .bl5-tx-ic { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: 0 0 40px; }
html:not(.lc-home) #root .bl5-tx-ic.plus { background: rgba(34,197,94,.1); color: #22c55e; } html:not(.lc-home) #root .bl5-tx-ic.minus { background: rgba(239,68,68,.1); color: #ef4444; }
html:not(.lc-home) #root .bl5-tx-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html:not(.lc-home) #root .bl5-tx-main b { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85); }
html:not(.lc-home) #root .bl5-tx-main span { font-size: 12.5px; color: rgba(255,255,255,.3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html:not(.lc-home) #root .bl5-tx-main small { font-size: 12px; color: rgba(255,255,255,.2); }
html:not(.lc-home) #root .bl5-tx-side { text-align: right; flex: 0 0 auto; }
html:not(.lc-home) #root .bl5-tx-side p { font-size: 16px; font-weight: 700; margin: 0; }
html:not(.lc-home) #root .bl5-tx-side p.plus { color: #22c55e; } html:not(.lc-home) #root .bl5-tx-side p.minus { color: #ef4444; }
html:not(.lc-home) #root .bl5-tx-side a { font-size: 12px; color: rgba(255,255,255,.35); text-decoration: none; }
html:not(.lc-home) #root .bl5-tx-side a:hover { color: #c4b5fd; }
html:not(.lc-home) #root .bl5-more { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 10px; font-size: 13px; color: rgba(255,255,255,.2); }
html:not(.lc-home) #root .bl5-empty { padding: 32px 0; text-align: center; font-size: 14px; color: rgba(255,255,255,.3); }

/* ═══ §31 (04.11): карточка «Пополнить» — спокойнее и ровнее ═══ */
html:not(.lc-home) #root .bl5-form { gap: 10px; }
html:not(.lc-home) #root .bl5-label { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.3); margin: 10px 0 0; }
html:not(.lc-home) #root .bl5-form > .bl5-label:first-child { margin-top: 0; }
/* сумма: тонкое поле, ₽ слева от цифры не мешает */
html:not(.lc-home) #root .bl5-amount input { height: 64px; padding: 0 52px 0 20px; border-radius: 16px; font-size: 28px; font-weight: 600; letter-spacing: -.01em; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); box-shadow: none; transition: border-color .2s, background .2s, box-shadow .2s; }
html:not(.lc-home) #root .bl5-amount input::placeholder { color: rgba(255,255,255,.15); }
html:not(.lc-home) #root .bl5-amount input:focus { background: rgba(255,255,255,.035); border-color: rgba(139,92,246,.5); box-shadow: 0 0 0 4px rgba(139,92,246,.1); }
html:not(.lc-home) #root .bl5-amount span { right: 20px; font-size: 22px; font-weight: 500; color: rgba(255,255,255,.25); }
html:not(.lc-home) #root .bl5-hint { font-size: 12px; color: rgba(255,255,255,.22); margin: -2px 0 0 4px; }
/* быстрые суммы: ровная сетка 5 в ряд, выбранная — мягкая подсветка, без заливки */
html:not(.lc-home) #root .bl5-quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 4px; }
@media (max-width: 520px) { html:not(.lc-home) #root .bl5-quick { grid-template-columns: repeat(3, 1fr); } }
html:not(.lc-home) #root .bl5-chip { height: 40px; padding: 0; border-radius: 12px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.55); background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); text-align: center; }
html:not(.lc-home) #root .bl5-chip:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }
html:not(.lc-home) #root .bl5-chip.is-on { background: rgba(139,92,246,.12); border-color: rgba(139,92,246,.5); color: #ddd6fe; }
/* способы оплаты: две плитки в ряд */
html:not(.lc-home) #root .bl5-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 520px) { html:not(.lc-home) #root .bl5-methods { grid-template-columns: 1fr; } }
html:not(.lc-home) #root .bl5-method { padding: 12px 14px; border-radius: 14px; gap: 12px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
html:not(.lc-home) #root .bl5-method:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
html:not(.lc-home) #root .bl5-method.is-on { background: rgba(139,92,246,.08); border-color: rgba(139,92,246,.5); }
html:not(.lc-home) #root .bl5-m-ic, html:not(.lc-home) #root .bl5-method.is-on .bl5-m-ic { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: #fff; }
html:not(.lc-home) #root .bl5-m-ic img { max-width: 26px; max-height: 20px; }
html:not(.lc-home) #root .bl5-m-tx b, html:not(.lc-home) #root .bl5-method.is-on .bl5-m-tx b { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.88); }
html:not(.lc-home) #root .bl5-m-tx small { font-size: 12px; color: rgba(255,255,255,.3); }
html:not(.lc-home) #root .bl5-m-dot { width: 18px; height: 18px; flex: 0 0 18px; border: 1.5px solid rgba(255,255,255,.18); transition: all .2s; }
html:not(.lc-home) #root .bl5-method.is-on .bl5-m-dot { background: #8b5cf6; border-color: #8b5cf6; }
/* кнопка оплаты: белая, как главные кнопки сайта */
html:not(.lc-home) #root .bl5-pay { margin-top: 14px; height: 52px; border-radius: 14px; background: #fff; color: #0a0a0a; font-size: 15px; font-weight: 600; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset; }
html:not(.lc-home) #root .bl5-pay:hover:not(:disabled) { background: #ececec; }
html:not(.lc-home) #root .bl5-pay:disabled { opacity: .45; }

/* ═══ §32 (04.11): баланс в шапке страницы, правая колонка (промокод + история), белый вместо фиолетового ═══ */
html:not(.lc-home) #root .bl5-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
html:not(.lc-home) #root .bl5-now { display: flex; flex-direction: column; align-items: flex-end; padding: 12px 20px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
html:not(.lc-home) #root .bl5-now span { font-size: 12px; color: rgba(255,255,255,.35); }
html:not(.lc-home) #root .bl5-now b { font-size: 26px; font-weight: 700; color: #fff; line-height: 1.2; }
@media (max-width: 640px) { html:not(.lc-home) #root .bl5-now { width: 100%; align-items: flex-start; } }
html:not(.lc-home) #root .bl5-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
/* белые акценты */
html:not(.lc-home) #root .bl5-tile { background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); }
html:not(.lc-home) #root .bl5-c-violet { color: rgba(255,255,255,.7); }
html:not(.lc-home) #root .bl5-amount input:focus, html:not(.lc-home) #root .bl5-code:focus { border-color: rgba(255,255,255,.35); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
html:not(.lc-home) #root .bl5-chip.is-on { background: #fff; border-color: #fff; color: #0a0a0a; }
html:not(.lc-home) #root .bl5-method.is-on { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.45); }
html:not(.lc-home) #root .bl5-method.is-on .bl5-m-dot { background: #fff; border-color: #fff; color: #0a0a0a; }
html:not(.lc-home) #root .bl5-tx-side a:hover { color: #fff; }
/* история в колонке */
html:not(.lc-home) #root .bl5-col .bl5-tx { padding: 12px 14px; }
html:not(.lc-home) #root .bl5-col .bl5-tx-side p { font-size: 15px; }
html:not(.lc-home) #root .bl5-more { padding-top: 12px; }
html:not(.lc-home) #root .bl5-more .bl5-ghost.sm { width: 100%; height: 42px; border-radius: 12px; font-size: 13.5px; }

/* §33 (04.11): подсказки под строками интеграций */
html:not(.lc-home) #root .pg-row-note { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.35); margin: 8px 0 0; }
html:not(.lc-home) #root .pg-row-note.ok { color: rgba(34,197,94,.8); }
html:not(.lc-home) #root .pg-row-note.bad { color: #f87171; }
html:not(.lc-home) #root .pg-row-note:empty { display: none; }
html:not(.lc-home) #root .pg-sec .pg-row + .pg-row-note + .pg-row, html:not(.lc-home) #root .pg-sec .pg-row + .pg-row { margin-top: 12px; }

/* ═══ §34 (04.11): настройки по образцу юзера (без большой рамки и шума) ═══ */
html:not(.lc-home) #root .lc-st-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; animation: czIn .45s cubic-bezier(.2,.7,.2,1) both; }
html:not(.lc-home) #root .lc-st-kick { font-size: 12px; color: rgba(255,255,255,.3); }
html:not(.lc-home) #root .lc-st-name { margin: 0; font-size: clamp(30px, 3vw, 40px); font-weight: 600; line-height: 1.05; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.lc-home) #root .lc-st-mail { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.45); min-width: 0; }
html:not(.lc-home) #root .lc-st-mail span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.lc-home) #root .lc-st-desc { margin: 4px 0 0; max-width: 480px; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.3); }
html:not(.lc-home) #root .lc-st { display: flex; flex-direction: column; gap: 36px; }
html:not(.lc-home) #root .lc-st-group { display: flex; flex-direction: column; gap: 12px; animation: czIn .45s cubic-bezier(.2,.7,.2,1) both; }
html:not(.lc-home) #root .lc-st-group + .lc-st-group { animation-delay: .06s; }
html:not(.lc-home) #root .lc-st-gt { margin: 0 0 4px 4px; font-size: 14px; color: rgba(255,255,255,.4); }
/* карточки действий */
html:not(.lc-home) #root .lc-st-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
html:not(.lc-home) #root .lc-st-card { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; border: 0; background: rgba(255,255,255,.04); text-align: left; cursor: pointer; color: #fff; transition: background .2s, box-shadow .2s; }
html:not(.lc-home) #root .lc-st-card:hover { background: rgba(255,255,255,.07); }
html:not(.lc-home) #root .lc-st-card.is-on { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
html:not(.lc-home) #root .lc-st-ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); color: rgba(255,255,255,.65); transition: background .2s, color .2s; }
html:not(.lc-home) #root .lc-st-card:hover .lc-st-ic, html:not(.lc-home) #root .lc-st-card.is-on .lc-st-ic { background: rgba(255,255,255,.1); color: #fff; }
html:not(.lc-home) #root .lc-st-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html:not(.lc-home) #root .lc-st-tx b { font-size: 15px; font-weight: 500; color: #fff; }
html:not(.lc-home) #root .lc-st-tx small { font-size: 12px; color: rgba(255,255,255,.4); }
html:not(.lc-home) #root .lc-st-ar { margin-left: auto; display: flex; color: rgba(255,255,255,.25); transition: transform .2s, color .2s; }
html:not(.lc-home) #root .lc-st-card:hover .lc-st-ar { color: rgba(255,255,255,.6); transform: translateX(2px); }
html:not(.lc-home) #root .lc-st-card.is-on .lc-st-ar { transform: rotate(90deg); color: rgba(255,255,255,.6); }
/* раскрывающаяся форма под карточками */
html:not(.lc-home) #root .lc-st-pane { margin: 0 !important; padding: 20px 22px !important; border-radius: 16px !important; background: rgba(255,255,255,.025) !important; border: 1px solid rgba(255,255,255,.06) !important; box-shadow: none !important; animation: czIn .3s cubic-bezier(.2,.7,.2,1) both; }
/* строки интеграций и безопасности — плоско, без рамок секций */
html:not(.lc-home) #root .lc-st-rows .pg-sec { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; display: flex; flex-direction: column; gap: 12px; }
html:not(.lc-home) #root .lc-st-rows .pg-sec > .pg-sec-title, html:not(.lc-home) #root .lc-st-rows .pg-sec > .pg-sec-desc { display: none; }
html:not(.lc-home) #root .lc-st-rows .pg-row { margin: 0 !important; padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,.04); border: 0; gap: 16px; }
html:not(.lc-home) #root .lc-st-rows .pg-icbox { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.65); }
html:not(.lc-home) #root .lc-st-rows .pg-row-name { font-size: 15px; font-weight: 500; color: #fff; }
html:not(.lc-home) #root .lc-st-rows .pg-row-sub { font-size: 12px; color: rgba(255,255,255,.4); }
html:not(.lc-home) #root .lc-st-rows .pg-row-sub.ok { color: rgba(134,239,172,.85); }
html:not(.lc-home) #root .lc-st-rows .pg-row-note { margin: -4px 4px 0; }
/* ключи доступа — такая же строка */
html:not(.lc-home) #root .lc-st-rows .pg-sec:has(.pg-pass-list) { display: grid; grid-template-columns: 44px 1fr auto; column-gap: 16px; row-gap: 2px; align-items: center; padding: 16px 20px !important; border-radius: 16px; background: rgba(255,255,255,.04) !important; }
html:not(.lc-home) #root .lc-st-rows .pg-sec:has(.pg-pass-list)::before { content: ""; grid-column: 1; grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.06) center / 22px no-repeat; -webkit-mask: none; position: relative; }
html:not(.lc-home) #root .lc-st-rows .pg-sec:has(.pg-pass-list)::after { content: ""; grid-column: 1; grid-row: 1 / 3; justify-self: center; width: 22px; height: 22px; background: rgba(255,255,255,.65); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M7 16v-4.639c0-.51.1-.999.285-1.453M17 16v-3.185m-7.778-5.08A5.5 5.5 0 0 1 12 7c2.28 0 4.203 1.33 4.805 3.15M10 17v-2.177M14 17v-5.147C14 10.83 13.105 10 12 10s-2 .83-2 1.853v.794M6 3H3v3m15-3h3v3M6 21H3v-3m15 3h3v-3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M7 16v-4.639c0-.51.1-.999.285-1.453M17 16v-3.185m-7.778-5.08A5.5 5.5 0 0 1 12 7c2.28 0 4.203 1.33 4.805 3.15M10 17v-2.177M14 17v-5.147C14 10.83 13.105 10 12 10s-2 .83-2 1.853v.794M6 3H3v3m15-3h3v3M6 21H3v-3m15 3h3v-3'/%3E%3C/svg%3E") center / contain no-repeat; }
html:not(.lc-home) #root .lc-st-rows .pg-sec:has(.pg-pass-list) > .pg-sec-title { display: block; grid-column: 2; grid-row: 1; margin: 0; font-size: 15px; font-weight: 500; color: #fff; align-self: end; }
html:not(.lc-home) #root .lc-st-rows .pg-sec:has(.pg-pass-list) > .pg-sec-desc { display: block; grid-column: 2; grid-row: 2; margin: 0; font-size: 12px; color: rgba(255,255,255,.4); align-self: start; }
html:not(.lc-home) #root .lc-st-rows .pg-pass-list { display: contents; }
html:not(.lc-home) #root .lc-st-rows .pg-pass-add { grid-column: 3; grid-row: 1 / 3; width: auto; height: 40px; padding: 0 16px; margin: 0; border-radius: 12px; border: 0; background: #fff; color: #0a0a0a; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; cursor: pointer; }
html:not(.lc-home) #root .lc-st-rows .pg-pass-add:hover { background: #e9e9e9; }
html:not(.lc-home) #root .lc-st-rows .pg-pass-add svg { width: 16px; height: 16px; }
html:not(.lc-home) #root .lc-st-rows .pg-pass-row { grid-column: 1 / -1; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); }
html:not(.lc-home) #root .lc-st-rows .pg-sec:has(.pg-pass-list) .pg-loading { grid-column: 1 / -1; }
@media (max-width: 640px) {
  html:not(.lc-home) #root .lc-st-rows .pg-row { flex-wrap: wrap; }
  html:not(.lc-home) #root .lc-st-rows .pg-sec:has(.pg-pass-list) { grid-template-columns: 44px 1fr; }
  html:not(.lc-home) #root .lc-st-rows .pg-pass-add { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; justify-content: center; }
}
/* §34b правки */
html:not(.lc-home) #root .lc-st-head { margin-bottom: 4px; }
html:not(.lc-home) #root .lc-st-cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
html:not(.lc-home) #root .lc-st-rows .pg-sec:has(.pg-pass-list) > .pg-sec-desc { display: block !important; }
html:not(.lc-home) #root .lc-st-rows .pg-sec .pg-pass-add { background: #fff !important; color: #0a0a0a !important; border: 0 !important; box-shadow: none !important; }
html:not(.lc-home) #root .lc-st-rows .pg-sec .pg-pass-add:hover { background: #e9e9e9 !important; }
html:not(.lc-home) #root .lc-st-rows .pg-sec:has(.pg-pass-list) { row-gap: 2px !important; min-height: 0 !important; }
html:not(.lc-home) #root .lc-st-rows .pg-sec:has(.pg-pass-list) > :is(.pg-sec-title, .pg-sec-desc) { margin: 0 !important; padding: 0 !important; line-height: 1.35 !important; }

/* §35 (04.11): «Изменить пароль/никнейм» — во всплывающем окне */
html:not(.lc-home) #root .lc-st-pane { position: fixed !important; z-index: 1000; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 26px 24px 22px !important; border-radius: 20px !important; background: #0b0b0d !important; border: 1px solid rgba(255,255,255,.08) !important; box-shadow: 0 0 0 100vmax rgba(0,0,0,.65), 0 30px 80px rgba(0,0,0,.6) !important; animation: lcStPop .22s cubic-bezier(.2,.7,.2,1) both; }
@keyframes lcStPop { from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%); } }
html:not(.lc-home) #root .lc-st-pane .pg-sec-title { font-size: 18px !important; font-weight: 600 !important; color: #fff !important; margin: 0 40px 18px 0 !important; }
html:not(.lc-home) #root .lc-st-pane .pg-input { width: 100%; }
html:not(.lc-home) #root .lc-st-pane .pg-sec-actions .pg-white-btn { width: 100%; justify-content: center; }
html:not(.lc-home) #root .lc-st-x { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 10px; border: 0; background: rgba(255,255,255,.05); color: rgba(255,255,255,.6); font-size: 18px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
html:not(.lc-home) #root .lc-st-x:hover { background: rgba(255,255,255,.1); color: #fff; }
html:not(.lc-home) #root .lc-st-card.is-on .lc-st-ar { transform: none; }
html.lc-modal-open { overflow: hidden; }
/* предки с animation/transform делают fixed-окно «привязанным» к блоку — снимаем, пока окно открыто */
html.lc-st-noanim:not(.lc-home) #root :is(main, main *):is(:has(.lc-st-group), .lc-st-group) { animation: none !important; transform: none !important; filter: none !important; contain: none !important; will-change: auto !important; }
html:not(.lc-home) body #root section.pg-sec.lc-st-pane.lc-st-pane { background: #0b0b0d !important; border: 1px solid rgba(255,255,255,.08) !important; box-shadow: 0 0 0 100vmax rgba(0,0,0,.7), 0 30px 80px rgba(0,0,0,.6) !important; }

/* ═══ §36 (04.11): фиолетовый → белый (серверы, уведомления, покупка, окно условий) ═══ */
html:not(.lc-home) #root .bs2-modal-accept input, html:not(.lc-home) #root .bs2-fm input[type=checkbox] { accent-color: #fff !important; }
html:not(.lc-home) #root .bs2-fm .bs2-ft-dot, html:not(.lc-home) #root .bs2-root .bs2-ft-dot { background: rgba(255,255,255,.55) !important; }
html:not(.lc-home) #root .bs2-free-terms .bs2-modal-terms li::before { background: rgba(255,255,255,.55) !important; }
html:not(.lc-home) #root .bs2-ft-accept.is-on { border-color: rgba(255,255,255,.4) !important; background: rgba(255,255,255,.06) !important; }
html:not(.lc-home) #root .bs2-ft-accept.is-on .bs2-ft-box { background: #fff !important; border-color: #fff !important; color: #0a0a0a !important; }
html:not(.lc-home) #root .bs2-root .bs2-ft-ic { background: rgba(255,255,255,.06) !important; color: rgba(255,255,255,.8) !important; }
html:not(.lc-home) #root .bs2-root .bs2-ft-accept { border-color: rgba(255,255,255,.08) !important; background: rgba(255,255,255,.03) !important; color: rgba(255,255,255,.8) !important; }
html:not(.lc-home) #root .bs2-root .bs2-free-sec { border-color: rgba(255,255,255,.08) !important; background: rgba(255,255,255,.02) !important; }
html:not(.lc-home) #root .pg-ne-card { background: rgba(255,255,255,.02) !important; }
html:not(.lc-home) #root .pg-ne-card .pg-icircle { background: rgba(255,255,255,.06) !important; color: rgba(255,255,255,.8) !important; }
html:not(.lc-home) #root .sup1-ic, html:not(.lc-home) #root .pg-empty2-ic { background: rgba(255,255,255,.06) !important; color: rgba(255,255,255,.8) !important; }
/* окно «Условия тарифа»: предки с анимацией привязывали fixed-окно к блоку страницы */
html.lc-st-noanim:not(.lc-home) #root :is(main, main *):is(:has(#bs2-checkout), #bs2-checkout) { animation: none !important; transform: none !important; filter: none !important; contain: none !important; will-change: auto !important; }

/* ═══ §37 (04.11): фильтры «Тип/Локация» видимее + новая карточка услуги (главная, серверы) ═══ */
html:not(.lc-home):not(.lc-x) body #root .bs2-pills { background: rgba(255,255,255,.04) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.09) !important; }
html:not(.lc-home):not(.lc-x) body #root .bs2-pill:not(.is-active):not(.is-disabled):hover { background: rgba(255,255,255,.05) !important; }
html:not(.lc-home):not(.lc-x) body #root .bs2-pill.is-active { background: rgba(255,255,255,.1) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14) !important; }

html:not(.lc-home):not(.lc-x) body #root .svc-card { display: flex !important; flex-direction: column !important; padding: 22px !important; border-radius: 20px !important; background: rgba(255,255,255,.03) !important; border: 1px solid rgba(255,255,255,.07) !important; box-shadow: none !important; transition: border-color .2s, background .2s, transform .2s !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-card:hover { border-color: rgba(255,255,255,.14) !important; background: rgba(255,255,255,.04) !important; transform: translateY(-2px); }
html:not(.lc-home):not(.lc-x) body #root .svc-body { flex: 1 1 auto; padding: 0 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-head { display: flex; align-items: center; gap: 10px; margin: 0 0 6px !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-name { margin: 0 !important; font-size: 18px !important; font-weight: 600 !important; color: #fff !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.lc-home):not(.lc-x) body #root .svc-type { display: none !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-price { margin: 0 0 18px !important; font-size: 22px !important; font-weight: 700 !important; color: #fff !important; letter-spacing: -.01em; }
html:not(.lc-home):not(.lc-x) body #root .svc-price .svc-rub { color: #fff !important; font-weight: 700 !important; margin-left: 1px; }
html:not(.lc-home):not(.lc-x) body #root .svc-price .svc-muted { font-size: 13px !important; font-weight: 400 !important; color: rgba(255,255,255,.35) !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-rows { display: flex !important; flex-direction: column !important; gap: 0 !important; border-top: 1px solid rgba(255,255,255,.06); }
html:not(.lc-home):not(.lc-x) body #root .svc-row { display: flex !important; align-items: center !important; gap: 10px !important; padding: 10px 0 !important; border-bottom: 1px solid rgba(255,255,255,.06); }
html:not(.lc-home):not(.lc-x) body #root .svc-row > svg { width: 16px !important; height: 16px !important; flex: 0 0 16px; color: rgba(255,255,255,.3) !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-row > p { flex: 1; display: flex !important; align-items: center; gap: 6px; margin: 0 !important; font-size: 13px !important; color: rgba(255,255,255,.4) !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-row > p > :is(.svc-val, .svc-ok, .svc-off, .svc-warn, .svc-bad) { margin-left: auto !important; font-size: 13px !important; font-weight: 500 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-row > p > .svc-val { color: rgba(255,255,255,.9) !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-row > p > .svc-ok { color: #4ade80 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-row > p > .svc-off { color: rgba(255,255,255,.45) !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-flag { width: 18px !important; height: auto !important; border-radius: 3px; margin: 0 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-foot { margin-top: 18px !important; padding: 0 !important; border: 0 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-foot .svc-go { width: 100% !important; min-height: 44px !important; border-radius: 12px !important; background: #fff !important; color: #0a0a0a !important; border: 0 !important; font-weight: 600 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-foot .svc-go:hover { background: #e9e9e9 !important; color: #0a0a0a !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-foot .svc-go p { margin: 0 !important; color: inherit !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-foot .svc-go svg { color: inherit !important; }
/* §37b (04.11): без рамок и линий — как плитки в настройках (фон вместо обводки) */
html:not(.lc-home):not(.lc-x) body #root .bs2-pills { background: rgba(255,255,255,.05) !important; box-shadow: none !important; border: 0 !important; }
html:not(.lc-home):not(.lc-x) body #root .bs2-pill.is-active { background: rgba(255,255,255,.12) !important; box-shadow: none !important; border: 0 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-card { border: 0 !important; background: rgba(255,255,255,.04) !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-card:hover { border: 0 !important; background: rgba(255,255,255,.06) !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-rows { border-top: 0 !important; gap: 4px !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-row { border-bottom: 0 !important; padding: 7px 0 !important; }
/* §37c (04.11): карточки тарифов в покупке — тоже без рамки */
html:not(.lc-home):not(.lc-x) body #root .bs2-root .bs2-card { border: 0 !important; box-shadow: none !important; outline: 0 !important; background: rgba(255,255,255,.04) !important; }
html:not(.lc-home):not(.lc-x) body #root .bs2-root .bs2-card:hover { border: 0 !important; box-shadow: none !important; background: rgba(255,255,255,.06) !important; }
html:not(.lc-home):not(.lc-x) body #root .bs2-root .bs2-card::before, html:not(.lc-home):not(.lc-x) body #root .bs2-root .bs2-card::after { border: 0 !important; box-shadow: none !important; }

/* ═══ §38 (04.11): страница сервера /servers/:id — без обводок и линий, плитки как в настройках ═══ */
html.lc-sd:not(.lc-home) #root main .border-t { display: none !important; }
html.lc-sd:not(.lc-home) #root main :is(.rounded-2xl, .rounded-xl, .rounded-lg) { box-shadow: none !important; border-color: transparent !important; }
html.lc-sd:not(.lc-home) #root main .rounded-2xl.bg-muted\/50 { background: rgba(255,255,255,.04) !important; transition: background .2s !important; }
html.lc-sd:not(.lc-home) #root main button.rounded-2xl.bg-muted\/50:hover { background: rgba(255,255,255,.07) !important; }
html.lc-sd:not(.lc-home) #root main .size-11.rounded-xl { background: rgba(255,255,255,.06) !important; color: rgba(255,255,255,.75) !important; }
html.lc-sd:not(.lc-home) #root main .size-11.rounded-2xl { background: rgba(255,255,255,.05) !important; }
/* «Продление сервера» — обычная кнопка, а не огромный блок */
html.lc-sd:not(.lc-home) #root main button.flex-1.rounded-2xl.bg-primary\/10 { flex: 0 0 auto !important; min-height: 48px !important; border: 0 !important; background: #fff !important; color: #0a0a0a !important; }
html.lc-sd:not(.lc-home) #root main button.rounded-2xl.bg-primary\/10 { border: 0 !important; }
html.lc-sd:not(.lc-home) #root main button.rounded-2xl.bg-primary\/10:hover { background: #e9e9e9 !important; }
/* чипы в «Докупить ресурсы» — обычный шрифт, без синего */
html.lc-sd:not(.lc-home) #root main span.rounded-lg.px-2\.5 { font-family: inherit !important; font-size: 12px !important; background: rgba(255,255,255,.06) !important; color: rgba(255,255,255,.65) !important; }
html.lc-sd:not(.lc-home) #root main span.rounded-lg.bg-blue-500\/10 { color: #fff !important; background: rgba(255,255,255,.12) !important; }
/* бегунок автопродления — белый при включении */
html.lc-sd:not(.lc-home) #root main span.rounded-full.bg-primary { background: #fff !important; }

/* ═══ §39 (05.11): раунд 2 ═══ */
/* «Выключено» (автопродление) — красным */
html:not(.lc-home):not(.lc-x) body #root .svc-row > p > .svc-off { color: #f87171 !important; }
/* настройки — простая шапка */
html:not(.lc-home) #root .lc-st-head .lc-st-name { font-size: 30px; font-weight: 700; color: rgba(255,255,255,.92); white-space: normal; }
html:not(.lc-home) #root .lc-st-head .lc-st-desc { margin: 0; font-size: 14px; max-width: 560px; color: rgba(255,255,255,.35); }
html:not(.lc-home) #root .lc-st-head { gap: 6px; }
/* баланс: вся история во всплывающем окне */
html:not(.lc-home) #root .bl5-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.7); animation: lcFade .2s ease both; }
@keyframes lcFade { from { opacity: 0; } to { opacity: 1; } }
html:not(.lc-home) #root .bl5-modal-card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; border-radius: 20px; background: #0b0b0d; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: lcStPop2 .22s cubic-bezier(.2,.7,.2,1) both; }
@keyframes lcStPop2 { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
html:not(.lc-home) #root .bl5-modal-h { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 14px; }
html:not(.lc-home) #root .bl5-modal-h h3 { margin: 0; font-size: 18px; font-weight: 600; color: #fff; }
html:not(.lc-home) #root .bl5-modal-x { width: 32px; height: 32px; border-radius: 10px; border: 0; background: rgba(255,255,255,.05); color: rgba(255,255,255,.6); cursor: pointer; font-size: 15px; }
html:not(.lc-home) #root .bl5-modal-x:hover { background: rgba(255,255,255,.1); color: #fff; }
html:not(.lc-home) #root .bl5-modal-list { overflow: auto; padding: 0 22px 22px; }
html.lc-st-noanim:not(.lc-home) #root :is(main, main *):is(:has(.bl5), .bl5) { animation: none !important; transform: none !important; filter: none !important; contain: none !important; will-change: auto !important; }
html.lc-modal-open { overflow: hidden; }

/* ═══ §40 (05.11): поддержка — «Создать обращение» компактнее, список обращений строками, чат как мессенджер ═══ */
/* создать обращение */
html:not(.lc-home):not(.lc-x) body #root .pg-sup-form :is(.pg-input, .pg-dd-btn) { min-height: 0 !important; height: 46px !important; font-size: 14px !important; border-radius: 12px !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-form .pg-textarea { min-height: 110px !important; font-size: 14px !important; border-radius: 12px !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-form .pg-label { font-size: 13px !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-actions :is(button, .pg-btn, .pg-file-btn) { min-height: 0 !important; height: 42px !important; font-size: 14px !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-tg { min-height: 0 !important; height: 210px !important; border: 0 !important; box-shadow: none !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-tg-text { font-size: 19px !important; line-height: 1.3 !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-hours { border: 0 !important; box-shadow: none !important; background: rgba(255,255,255,.04) !important; padding: 20px !important; font-size: 14px !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-side { gap: 14px !important; }

/* список обращений — карточки как у серверов (05.11 r3) */
html:not(.lc-home):not(.lc-x) body #root .pg-tickets-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important; gap: 20px !important; }
html:not(.lc-home):not(.lc-x) body #root .tk2 { display: flex !important; flex-direction: column !important; gap: 0 !important; padding: 22px !important; border: 0 !important; border-radius: 20px !important; background: rgba(255,255,255,.04) !important; box-shadow: none !important; transition: background .2s, transform .2s !important; }
html:not(.lc-home):not(.lc-x) body #root .tk2:hover { background: rgba(255,255,255,.06) !important; transform: translateY(-2px); }
html:not(.lc-home):not(.lc-x) body #root .tk2-head { margin: 0 0 14px !important; }
html:not(.lc-home):not(.lc-x) body #root .tk2-headrow { align-items: center !important; gap: 12px !important; }
html:not(.lc-home):not(.lc-x) body #root .tk2-iconbox { width: 40px !important; height: 40px !important; flex: 0 0 40px; border: 0 !important; border-radius: 12px !important; background: rgba(255,255,255,.06) !important; }
html:not(.lc-home):not(.lc-x) body #root .tk2 .pg-ticket-title { font-size: 17px !important; font-weight: 600 !important; color: #fff !important; overflow: hidden; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical; }
html:not(.lc-home):not(.lc-x) body #root .tk2 .pg-ticket-chip { align-self: flex-start; margin: 0 0 16px !important; box-shadow: none !important; }
html:not(.lc-home):not(.lc-x) body #root .tk2-rows { display: flex !important; flex-direction: column !important; gap: 0 !important; margin: 0 !important; padding: 0 !important; flex: 1 1 auto; }
html:not(.lc-home):not(.lc-x) body #root .tk2-row { display: flex !important; align-items: center !important; gap: 10px !important; padding: 7px 0 !important; }
html:not(.lc-home):not(.lc-x) body #root .tk2-row svg { width: 16px !important; height: 16px !important; color: rgba(255,255,255,.3) !important; opacity: 1; }
html:not(.lc-home):not(.lc-x) body #root .tk2-val { font-size: 13px !important; color: rgba(255,255,255,.55) !important; }
html:not(.lc-home):not(.lc-x) body #root .tk2 .pg-ticket-btn { margin-top: 18px !important; width: 100% !important; height: 44px !important; min-height: 0 !important; padding: 0 16px !important; border-radius: 12px !important; font-size: 14px !important; font-weight: 600 !important; background: #fff !important; color: #0a0a0a !important; }
html:not(.lc-home):not(.lc-x) body #root .tk2 .pg-ticket-btn:hover { background: #e9e9e9 !important; }

/* §40b правки: баннер не обрезаем, кнопки отправки/вложения видимые */
html:not(.lc-home):not(.lc-x) body #root .pg-sup-tg { height: auto !important; min-height: 190px !important; }
html.lc-tk:not(.lc-home) #root main .w-full.relative > button.rounded-full svg { color: inherit !important; stroke: currentColor !important; }

/* ═══ §41 (05.11): баннер на главной кабинета ═══ */
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban { position: relative !important; overflow: hidden !important; display: block !important; min-height: 0 !important; margin: 0 0 28px !important; padding: 36px 40px !important; border: 0 !important; border-radius: 24px !important; box-shadow: none !important; background: radial-gradient(600px 260px at 85% 120%, rgba(255,255,255,.10), transparent 70%), linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.02) 60%) !important; animation: czIn .45s cubic-bezier(.2,.7,.2,1) both; }
html:not(.lc-home) #root .lc-dban .pg-banner-inner { position: relative; z-index: 2; max-width: 560px; padding: 0 !important; background: none !important; }
html:not(.lc-home) #root .lc-dban-kick { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; margin-bottom: 14px; border-radius: 999px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); }
html:not(.lc-home) #root .lc-dban h1 { margin: 0 0 8px !important; font-size: clamp(26px, 2.6vw, 34px) !important; line-height: 1.15 !important; }
html:not(.lc-home) #root .lc-dban h1 .pg-name { color: #fff !important; background: none !important; -webkit-text-fill-color: #fff !important; }
html:not(.lc-home) #root .lc-dban p { margin: 0 !important; font-size: 15px !important; color: rgba(255,255,255,.5) !important; }
html:not(.lc-home) #root .lc-dban-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
html:not(.lc-home) #root :is(.lc-dban-pri, .lc-dban-sec) { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; font-size: 14px; font-weight: 500; text-decoration: none !important; transition: background .2s, transform .15s; }
html:not(.lc-home) #root .lc-dban-pri { background: #fff; color: #0a0a0a !important; font-weight: 600; }
html:not(.lc-home) #root .lc-dban-pri:hover { background: #e9e9e9; }
html:not(.lc-home) #root .lc-dban-sec { background: rgba(255,255,255,.07); color: rgba(255,255,255,.85) !important; }
html:not(.lc-home) #root .lc-dban-sec:hover { background: rgba(255,255,255,.12); color: #fff !important; }
html:not(.lc-home) #root :is(.lc-dban-pri, .lc-dban-sec):active { transform: scale(.98); }
html:not(.lc-home) #root .lc-dban-art { position: absolute; z-index: 1; right: 40px; top: 50%; width: 230px; height: auto; transform: translateY(-50%) rotate(-6deg); filter: grayscale(1) brightness(1.15); opacity: .55; pointer-events: none; -webkit-mask-image: linear-gradient(to left, #000 60%, transparent); mask-image: linear-gradient(to left, #000 60%, transparent); }
html:not(.lc-home) #root .lc-dban-art2 { position: absolute; z-index: 1; right: 250px; bottom: -40px; width: 140px; height: auto; transform: rotate(10deg); filter: grayscale(1); opacity: .22; pointer-events: none; }
@media (max-width: 900px) { html:not(.lc-home) #root .lc-dban-art2 { display: none; } html:not(.lc-home) #root .lc-dban-art { right: -40px; width: 180px; opacity: .25; } }
@media (max-width: 640px) { html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban { padding: 26px 22px !important; } }
html:not(.lc-home):not(.lc-x) body #root .lc-dban .lc-dban-kick { align-self: flex-start !important; width: fit-content !important; max-width: 100%; }
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban { margin-bottom: 0 !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban + * { margin-top: 20px !important; }

/* ═══ §42 v2 (05.11): АДМИН-ПАНЕЛЬ — дёшево: через переменные темы shadcn, без «* {}» и [class*=…] ═══ */
#root .lc-adm {
  --background: #000; --card: rgba(255,255,255,.04); --popover: #0b0b0d; --muted: rgba(255,255,255,.05);
  --accent: rgba(255,255,255,.06); --secondary: rgba(255,255,255,.08); --input: transparent;
  --border: transparent; --ring: rgba(255,255,255,.15); --primary: #fff; --primary-foreground: #0a0a0a;
  background: #000 !important;
}
#root .lc-adm > aside { width: 250px !important; background: #000 !important; border: 0 !important; backdrop-filter: none !important; }
#root .lc-adm > aside > div:first-child { height: 72px !important; border: 0 !important; padding: 0 18px !important; }
#root .lc-adm > aside nav { padding: 4px 12px 12px !important; }
#root .lc-adm .lc-adm-gt { margin: 16px 0 6px 12px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.3); }
#root .lc-adm nav .lc-adm-gt:first-child { margin-top: 4px; }
#root .lc-adm nav a > div { padding: 9px 12px !important; border-radius: 12px !important; color: rgba(255,255,255,.55) !important; }
#root .lc-adm nav a > div:hover { background: rgba(255,255,255,.05) !important; color: #fff !important; }
#root .lc-adm nav a > div.bg-primary\/10 { background: rgba(255,255,255,.08) !important; color: #fff !important; }
#root .lc-adm nav a > div > div.absolute { background: rgba(255,255,255,.08) !important; box-shadow: none !important; }
#root .lc-adm nav a > div svg { color: currentColor !important; }
#root .lc-adm nav a > div span { font-size: 14px !important; }
#root .lc-adm > aside > div:last-child { border: 0 !important; padding: 10px 12px 14px !important; }
#root .lc-adm > aside > div:last-child > div { background: rgba(255,255,255,.04) !important; border-radius: 12px !important; }
#root .lc-adm > div > header { border: 0 !important; background: transparent !important; backdrop-filter: none !important; }
/* карточки shadcn */
#root .lc-adm [data-slot=card] { border: 0 !important; box-shadow: none !important; border-radius: 18px !important; background: rgba(255,255,255,.04) !important; }
#root .lc-adm [data-slot=card] [data-slot=card] { background: rgba(255,255,255,.035) !important; }
/* таблицы */
#root .lc-adm table { border-collapse: separate !important; border-spacing: 0 4px !important; }
#root .lc-adm thead tr, #root .lc-adm th { border: 0 !important; background: transparent !important; color: rgba(255,255,255,.4) !important; }
#root .lc-adm tbody tr { border: 0 !important; background: rgba(255,255,255,.025); }
#root .lc-adm tbody tr:hover { background: rgba(255,255,255,.05); }
#root .lc-adm td:first-child { border-radius: 12px 0 0 12px; }
#root .lc-adm td:last-child { border-radius: 0 12px 12px 0; }
/* поля */
#root .lc-adm :is(input, textarea, select)[data-slot], #root .lc-adm [data-slot=select-trigger], #root .lc-adm [data-slot=input], #root .lc-adm [data-slot=textarea] { background: rgba(255,255,255,.05) !important; border: 0 !important; box-shadow: none !important; border-radius: 12px !important; }
/* кнопки-контуры shadcn (variant outline) */
#root .lc-adm [data-slot=button][data-variant=outline], #root .lc-adm button.border.bg-background { background: rgba(255,255,255,.06) !important; border: 0 !important; box-shadow: none !important; }
/* вкладки */
#root .lc-adm [data-slot=tabs-list] { background: rgba(255,255,255,.05) !important; }
#root .lc-adm [data-slot=tabs-trigger][data-state=active] { background: #fff !important; color: #0a0a0a !important; box-shadow: none !important; }
/* бейджи shadcn */
#root .lc-adm [data-slot=badge] { box-shadow: none !important; }
#root .lc-adm [data-slot=badge][data-variant=outline], #root .lc-adm [data-slot=badge][data-variant=secondary] { background: rgba(255,255,255,.08) !important; color: rgba(255,255,255,.85) !important; border-color: transparent !important; }
/* графики */
#root .lc-adm .recharts-rectangle { fill: rgba(255,255,255,.75) !important; }
#root .lc-adm .recharts-area-curve, #root .lc-adm .recharts-line-curve { stroke: #fff !important; }
#root .lc-adm .recharts-area-area { fill: rgba(255,255,255,.12) !important; }
/* окна/меню (вне #root) */
html.lc-admin [role=dialog] { background: #0b0b0d !important; border: 1px solid rgba(255,255,255,.08) !important; border-radius: 20px !important; }
html.lc-admin :is([role=menu], [role=listbox]) { background: #0b0b0d !important; border: 1px solid rgba(255,255,255,.08) !important; border-radius: 14px !important; }
html:not(.lc-x):not(.lc-y) body #root .lc-adm :is([data-slot=input], [data-slot=textarea], [data-slot=select-trigger], [data-slot=tabs-list], [data-slot=badge]) { border-color: transparent !important; box-shadow: none !important; }
html:not(.lc-x):not(.lc-y) body #root .lc-adm [data-slot=input] { background: rgba(255,255,255,.05) !important; }
#root .lc-adm .border-t, #root .lc-adm .border-b { border-color: transparent !important; }
html:not(.lc-x):not(.lc-y) body #root .lc-adm :is(.rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl, .rounded-full) { box-shadow: none !important; }
/* §41b (05.11 r3): баннер без «мусора» — без 3D-картинок, без плашки, без дубля «Купить сервер» */
html:not(.lc-home) #root .lc-dban :is(.lc-dban-art, .lc-dban-art2, .lc-dban-kick, .lc-dban-pri) { display: none !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban { padding: 32px 36px !important; background: radial-gradient(520px 220px at 100% 0%, rgba(255,255,255,.08), transparent 70%), rgba(255,255,255,.04) !important; }
html:not(.lc-home) #root .lc-dban .lc-dban-pri + .lc-dban-sec { background: #fff; color: #0a0a0a !important; font-weight: 600; }
html:not(.lc-home) #root .lc-dban .lc-dban-pri + .lc-dban-sec:hover { background: #e9e9e9; }

/* ═══ §43 (05.11 r3): чат обращения по образцу юзера ═══ */
html.lc-tk:not(.lc-home) #root main [class*="ring-1"] { box-shadow: none !important; }
/* шапка — без плашки, крупный заголовок */
html.lc-tk:not(.lc-home) #root main .rounded-2xl.p-4.shrink-0 { background: transparent !important; padding: 0 0 8px !important; }
html.lc-tk:not(.lc-home) #root main .rounded-2xl.p-4.shrink-0 > div:first-child .size-10 { display: none !important; }
html.lc-tk:not(.lc-home) #root main .rounded-2xl.p-4.shrink-0 h1 { font-size: clamp(20px, 2.2vw, 30px) !important; font-weight: 600 !important; }
html.lc-tk:not(.lc-home) #root main .rounded-2xl.p-4.shrink-0 h1 + p { font-size: 16px !important; color: rgba(255,255,255,.4) !important; }
html.lc-tk:not(.lc-home) #root main .rounded-2xl.p-4.shrink-0 .mt-3 { display: none !important; }
/* сетка 7/5, колонка сообщений без плашки */
html.lc-tk:not(.lc-home) #root main .flex-1.grid { gap: 32px !important; }
@media (min-width: 1024px) {
  html.lc-tk:not(.lc-home) #root main .lg\:col-span-8 { grid-column: span 7 / span 7 !important; }
  html.lc-tk:not(.lc-home) #root main .lg\:col-span-4 { grid-column: span 5 / span 5 !important; }
}
html.lc-tk:not(.lc-home) #root main .lg\:col-span-8 { background: transparent !important; border-radius: 0 !important; }
html.lc-tk:not(.lc-home) #root main .overflow-y-auto.gap-5 { gap: 24px !important; padding: 16px 4px 24px !important; }
/* сообщение: иконка + имя + метка, ниже серый блок */
html.lc-tk:not(.lc-home) #root main .flex.gap-3.items-start { gap: 16px !important; flex-direction: row !important; }
html.lc-tk:not(.lc-home) #root main .flex.gap-3.items-start > .flex-col { width: 100% !important; max-width: none !important; align-items: stretch !important; gap: 12px !important; }
html.lc-tk:not(.lc-home) #root main .flex.gap-3.items-start > .w-10.h-10 { width: 42px !important; height: 42px !important; border-radius: 12px !important; background: rgba(255,255,255,.03) !important; border: 1px solid rgba(255,255,255,.05) !important; }
html.lc-tk:not(.lc-home) #root main .flex.gap-3.items-start p.text-sm.font-semibold { font-size: 17px !important; font-weight: 500 !important; color: #fff !important; }
html.lc-tk:not(.lc-home) #root main .flex.gap-3.items-start span.rounded-full.px-2 { display: inline-flex !important; padding: 4px 12px !important; font-size: 13px !important; color: #fff !important; }
html.lc-tk:not(.lc-home) #root main span.rounded-full.w-1\.5 { width: 7px !important; height: 7px !important; padding: 0 !important; }
html.lc-tk:not(.lc-home) #root main .flex.gap-3.items-start .bg-slate-50.p-4 { align-self: stretch !important; width: 100% !important; padding: 16px !important; border-radius: 12px !important; background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.05) !important; }
html.lc-tk:not(.lc-home) #root main .flex.gap-3.items-start .bg-slate-50.p-4 .text-sm { font-size: 15px !important; color: #8e8e8e !important; }
/* правая панель */
html.lc-tk:not(.lc-home) #root main .lg\:col-span-4 > .rounded-2xl { padding: 28px !important; border-radius: 12px !important; background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.05) !important; }
html.lc-tk:not(.lc-home) #root main .lg\:col-span-4 :is(.size-8, .size-10) { background: rgba(255,255,255,.03) !important; border: 1px solid rgba(255,255,255,.05) !important; color: rgba(255,255,255,.3) !important; }
html.lc-tk:not(.lc-home) #root main .lg\:col-span-4 p.font-semibold { font-size: 20px !important; font-weight: 500 !important; }
html.lc-tk:not(.lc-home) #root main .lg\:col-span-4 button.inline-flex { height: 48px !important; border-radius: 999px !important; border: 0 !important; background: rgba(255,255,255,.06) !important; color: #fff !important; }
html.lc-tk:not(.lc-home) #root main .lg\:col-span-4 button.inline-flex:hover { background: rgba(255,255,255,.1) !important; }
/* поле ввода */
html.lc-tk:not(.lc-home) #root main .border-t.mt-auto { border-top: 0 !important; background: transparent !important; padding: 8px 0 0 !important; }
html.lc-tk:not(.lc-home) #root main textarea { min-height: 150px !important; padding: 18px !important; border-radius: 12px !important; background: rgba(255,255,255,.05) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1) !important; color: #f5f5f5 !important; font-size: 15px !important; }
html.lc-tk:not(.lc-home) #root main textarea:focus { box-shadow: inset 0 0 0 2px rgba(255,255,255,.18) !important; outline: none !important; }
html.lc-tk:not(.lc-home) #root main .w-full.relative > button.rounded-full { background: rgba(255,255,255,.15) !important; color: #fff !important; }
html.lc-tk:not(.lc-home) #root main .w-full.relative > button.rounded-full + button.rounded-full { background: #10b981 !important; }
html:not(.lc-x) body.lc-y, html.lc-tk:not(.lc-home) #root main :is(.rounded-2xl.p-4.shrink-0, .lg\:col-span-8) { border: 0 !important; outline: 0 !important; box-shadow: none !important; }

/* ═══ §44 (05.11 r3): окна страницы сервера — продление / докупка ресурсов / улучшение тарифа ═══ */
html.lc-sd [role=dialog] { max-height: calc(100vh - 40px) !important; overflow-y: auto !important; background: #0b0b0d !important; border: 1px solid rgba(255,255,255,.08) !important; border-radius: 20px !important; box-shadow: 0 30px 80px rgba(0,0,0,.6) !important; padding: 24px !important; }
html.lc-sd [role=dialog] .border-b { border-color: transparent !important; padding-bottom: 6px !important; }
html.lc-sd [role=dialog] h2 { font-size: 20px !important; font-weight: 600 !important; }
html.lc-sd [role=dialog] :is(.ring-1, [class*="ring-border"]) { box-shadow: none !important; }
/* чипы «Осталось дней / Докуплено» */
html.lc-sd [role=dialog] span.rounded-full.bg-muted\/60 { background: rgba(255,255,255,.05) !important; padding: 6px 12px !important; }
/* строки ресурсов */
html.lc-sd [role=dialog] .rounded-2xl.bg-muted\/50 { padding: 12px 14px !important; border-radius: 14px !important; background: rgba(255,255,255,.04) !important; }
html.lc-sd [role=dialog] .rounded-2xl.bg-muted\/50:hover { background: rgba(255,255,255,.06) !important; }
html.lc-sd [role=dialog] .rounded-2xl.bg-muted\/50 .size-9 { background: rgba(255,255,255,.06) !important; color: rgba(255,255,255,.7) !important; }
html.lc-sd [role=dialog] .rounded-2xl.bg-muted\/50 .mt-3 { margin-top: 6px !important; padding-left: 48px; }
html.lc-sd [role=dialog] .rounded-2xl.bg-muted\/50 .mt-3 .h-1\.5 { display: none !important; }
html.lc-sd [role=dialog] .rounded-2xl.bg-muted\/50 .mt-3 > p { width: auto !important; text-align: left !important; font-size: 12px !important; color: rgba(255,255,255,.45) !important; }
html.lc-sd [role=dialog] .rounded-2xl.bg-muted\/50 button.size-8 { width: 34px !important; height: 34px !important; border-radius: 10px !important; background: rgba(255,255,255,.08) !important; color: #fff !important; }
html.lc-sd [role=dialog] .rounded-2xl.bg-muted\/50 button.size-8:hover:not(:disabled) { background: rgba(255,255,255,.14) !important; }
html.lc-sd [role=dialog] .rounded-2xl.bg-muted\/50 button.size-8:disabled { opacity: .3 !important; }
html.lc-sd [role=dialog] .rounded-2xl.bg-muted\/50 .min-w-\[76px\] { min-width: 64px !important; }
html.lc-sd [role=dialog] .rounded-2xl.bg-muted\/50 .min-w-\[76px\] p { font-size: 15px !important; color: #fff !important; }
/* улучшение тарифа: список */
html.lc-sd [role=dialog] .max-h-\[55vh\] { max-height: 46vh !important; margin-bottom: 8px; }
html.lc-sd [role=dialog] button.rounded-xl.bg-muted\/50 { padding: 14px 16px !important; border-radius: 14px !important; background: rgba(255,255,255,.04) !important; transition: background .15s !important; }
html.lc-sd [role=dialog] button.rounded-xl.bg-muted\/50:hover { background: rgba(255,255,255,.08) !important; }
html.lc-sd [role=dialog] span.rounded-md.font-mono, html.lc-sd [role=dialog] span.rounded-md.bg-muted\/70 { font-family: inherit !important; font-size: 12px !important; background: rgba(255,255,255,.06) !important; color: rgba(255,255,255,.7) !important; box-shadow: none !important; }
/* кнопки окна: основная белая, вторичная серая */
html.lc-sd [role=dialog] button.bg-primary { background: #fff !important; color: #0a0a0a !important; border: 0 !important; }
html.lc-sd [role=dialog] button.bg-primary:disabled { opacity: .35 !important; }
html.lc-sd [role=dialog] button[class*="border-input"], html.lc-sd [role=dialog] button.border { background: rgba(255,255,255,.06) !important; border: 0 !important; color: #fff !important; }
html.lc-sd [data-slot=dialog-overlay], html.lc-sd .fixed.inset-0.bg-black\/80 { backdrop-filter: none !important; background: rgba(0,0,0,.7) !important; }

/* ═══ §45 (05.11 r3): вики — шапка и боковое меню в стиле кабинета ═══ */
html.lc-wiki #root .min-h-screen.bg-\[\#0a0a0c\] { background: #000 !important; }
html.lc-wiki #root .sticky.top-0.z-50 { background: rgba(0,0,0,.85) !important; border-bottom: 1px solid rgba(255,255,255,.05) !important; }
html.lc-wiki #root .sticky.top-0.z-50 > div { height: 64px !important; gap: 14px !important; }
html.lc-wiki #root .sticky.top-0.z-50 > div > a:first-child { height: 38px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.75) !important; font-size: 14px !important; }
html.lc-wiki #root .sticky.top-0.z-50 > div > a:first-child:hover { background: rgba(255,255,255,.09); color: #fff !important; }
html.lc-wiki #root .sticky.top-0.z-50 .h-5.w-px { display: none !important; }
html.lc-wiki #root .sticky.top-0.z-50 .h-7.w-7.rounded-xl { width: 34px !important; height: 34px !important; background: rgba(255,255,255,.06) !important; color: #fff !important; }
html.lc-wiki #root .sticky.top-0.z-50 .h-7.w-7.rounded-xl svg { color: #fff !important; }
html.lc-wiki #root .sticky.top-0.z-50 span.font-semibold { font-size: 16px !important; color: #fff !important; }
html.lc-wiki #root .sticky.top-0.z-50 input { height: 40px !important; border: 0 !important; border-radius: 12px !important; background: rgba(255,255,255,.05) !important; color: #fff !important; font-size: 14px !important; }
html.lc-wiki #root .sticky.top-0.z-50 input:focus { background: rgba(255,255,255,.08) !important; outline: none !important; box-shadow: 0 0 0 2px rgba(255,255,255,.1) !important; }
/* меню */
html.lc-wiki #root aside.w-64 { width: 260px !important; }
html.lc-wiki #root aside.w-64 > div { top: 88px !important; }
html.lc-wiki #root aside.w-64 > div > div + div { margin-top: 14px; }
html.lc-wiki #root aside.w-64 button.px-3.py-2\.5 { padding: 6px 10px !important; background: transparent !important; }
html.lc-wiki #root aside.w-64 button.px-3.py-2\.5 > div.h-7 { display: none !important; }
html.lc-wiki #root aside.w-64 button.px-3.py-2\.5 > span.flex-1 { font-size: 11px !important; font-weight: 600 !important; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35) !important; }
html.lc-wiki #root aside.w-64 button.px-3.py-2\.5 > span.text-\[10px\] { display: none !important; }
html.lc-wiki #root aside.w-64 button.px-3.py-2\.5:hover > span.flex-1 { color: rgba(255,255,255,.6) !important; }
html.lc-wiki #root aside.w-64 .ml-5.border-l { margin-left: 0 !important; padding-left: 0 !important; border-left: 0 !important; }
html.lc-wiki #root aside.w-64 .ml-5 button { padding: 8px 12px !important; border-radius: 10px !important; font-size: 14px !important; color: rgba(255,255,255,.55) !important; }
html.lc-wiki #root aside.w-64 .ml-5 button:hover { background: rgba(255,255,255,.05) !important; color: #fff !important; }
html.lc-wiki #root aside.w-64 .ml-5 button.bg-primary\/10 { background: rgba(255,255,255,.08) !important; color: #fff !important; font-weight: 500 !important; }
html.lc-wiki #root aside.w-64 .ml-5 button > span.w-1 { display: none !important; }
/* хлебные крошки и карточки «назад/далее» */
html.lc-wiki #root main span.text-blue-400 { color: rgba(255,255,255,.6) !important; }
html.lc-wiki #root main .mt-10 button.rounded-2xl { border: 0 !important; background: rgba(255,255,255,.04) !important; }
html.lc-wiki #root main .mt-10 button.rounded-2xl:hover { background: rgba(255,255,255,.07) !important; }
html.lc-wiki #root main :is(span.text-sky-400, span.text-emerald-400, span.text-blue-400) { color: rgba(255,255,255,.6) !important; }

/* ═══ §46 (05.11 r3): карточка сервера «компактная со статусом» (главная + серверы) ═══ */
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc2 { display: flex !important; flex-direction: column !important; gap: 0 !important; padding: 22px !important; border: 0 !important; border-radius: 20px !important; background: rgba(255,255,255,.04) !important; }
html:not(.lc-home) #root .svc2-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html:not(.lc-home):not(.lc-x) body #root .svc2 .svc-name { margin: 0 !important; font-size: 18px !important; font-weight: 600 !important; color: #fff !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.lc-home) #root .svc2-st { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); }
html:not(.lc-home) #root .svc2-st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
html:not(.lc-home) #root .svc2-st.svc-ok { background: rgba(34,197,94,.1); color: #4ade80; }
html:not(.lc-home) #root .svc2-st.svc-warn { background: rgba(245,158,11,.1); color: #fbbf24; }
html:not(.lc-home) #root .svc2-st.svc-off { background: rgba(239,68,68,.1); color: #f87171; }
html:not(.lc-home) #root .svc2-plan { display: flex; align-items: center; gap: 6px; margin: 6px 0 22px; font-size: 13.5px; color: rgba(255,255,255,.5); }
html:not(.lc-home) #root .svc2-plan .svc-flag { width: 16px; height: auto; border-radius: 3px; }
html:not(.lc-home) #root .svc2-price { color: rgba(255,255,255,.5); }
html:not(.lc-home) #root .svc2-term { margin-bottom: 18px; }
html:not(.lc-home) #root .svc2-days { display: flex; align-items: baseline; gap: 2px; margin-bottom: 10px; }
html:not(.lc-home) #root .svc2-days b { font-size: 30px; font-weight: 700; line-height: 1; color: #fff; }
html:not(.lc-home) #root .svc2-days span { font-size: 13.5px; color: rgba(255,255,255,.5); }
html:not(.lc-home) #root .svc2-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
html:not(.lc-home) #root .svc2-bar i { display: block; height: 100%; border-radius: inherit; background: #fff; transition: width .6s ease; }
html:not(.lc-home) #root .svc2-term.is-soon .svc2-bar i { background: #f87171; }
html:not(.lc-home) #root .svc2-term.is-soon .svc2-days b { color: #f87171; }
html:not(.lc-home) #root .svc2-auto { margin: 0 0 16px; font-size: 13px; color: rgba(255,255,255,.45); }
html:not(.lc-home) #root .svc2-auto .svc-ok { color: #4ade80; } html:not(.lc-home) #root .svc2-auto .svc-off { color: #f87171; }
html:not(.lc-home):not(.lc-x) body #root .svc2 .svc2-go { margin-top: auto !important; width: 100% !important; height: 44px !important; min-height: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; border-radius: 12px !important; border: 0 !important; background: #fff !important; color: #0a0a0a !important; font-weight: 600 !important; font-size: 14px !important; }
html:not(.lc-home):not(.lc-x) body #root .svc2 .svc2-go:hover { background: #e9e9e9 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc2 .svc2-go p { margin: 0 !important; color: inherit !important; }
html:not(.lc-home):not(.lc-x) body #root .svc2 .svc2-go svg { width: 16px; height: 16px; color: inherit !important; }

/* ═══ §47 (05.11 r4): блок юзера в сайдбаре — ник полностью (до 12 симв.), аватар крупнее и ближе ═══ */
html:not(.lc-x) body aside .lk-user { gap: 10px !important; }
html:not(.lc-x) body aside .lk-user .lk-user-tile { width: 46px !important; height: 46px !important; flex: 0 0 46px !important; border-radius: 14px !important; }
html:not(.lc-x) body aside .lk-user .lk-user-tile svg { width: 20px !important; height: 20px !important; }
html:not(.lc-x) body aside .lk-user .lk-user-name { overflow: visible !important; text-overflow: clip !important; white-space: nowrap !important; max-width: none !important; font-size: 15px !important; }
html:not(.lc-x) body aside .lk-user .lk-user-info { gap: 2px !important; }
/* плашка cookie — компактная */
html:not(.lc-x) body .fixed.bottom-6.left-6.z-\[100\] { width: 340px !important; padding: 14px 16px !important; border-radius: 16px !important; bottom: 16px !important; left: 16px !important; }
html:not(.lc-x) body .fixed.bottom-6.left-6.z-\[100\] .w-12.h-12 { display: none !important; }
html:not(.lc-x) body .fixed.bottom-6.left-6.z-\[100\] .gap-4 { gap: 0 !important; }
html:not(.lc-x) body .fixed.bottom-6.left-6.z-\[100\] .mb-2 { margin-bottom: 4px !important; }
html:not(.lc-x) body .fixed.bottom-6.left-6.z-\[100\] :is(h2, h3, p.text-lg, .text-lg) { font-size: 14px !important; }
html:not(.lc-x) body .fixed.bottom-6.left-6.z-\[100\] p.text-sm { font-size: 12.5px !important; margin-bottom: 12px !important; }
html:not(.lc-x) body .fixed.bottom-6.left-6.z-\[100\] button { height: 34px !important; min-height: 0 !important; font-size: 13px !important; padding: 0 14px !important; border-radius: 10px !important; }
@media (max-width: 640px) { html:not(.lc-x) body .fixed.bottom-6.left-6.z-\[100\] { width: auto !important; right: 12px !important; left: 12px !important; bottom: 12px !important; } }

/* ═══ §48 (05.11 r4): карточка сервера по образцу юзера (svc3) ═══ */
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3 { display: flex !important; flex-direction: column !important; gap: 0 !important; padding: 20px !important; border: 0 !important; border-radius: 18px !important; background: rgba(255,255,255,.04) !important; transition: background .2s, transform .2s !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3:hover { background: rgba(255,255,255,.06) !important; transform: translateY(-2px); }
html:not(.lc-home) #root .svc3-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
html:not(.lc-home) #root .svc3-tt { min-width: 0; flex: 1; }
html:not(.lc-home):not(.lc-x) body #root .svc3 .svc-name { margin: 0 !important; font-size: 18px !important; font-weight: 700 !important; color: rgba(255,255,255,.88) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.lc-home) #root .svc3-sub { display: flex; align-items: center; gap: 6px; margin: 3px 0 0; font-size: 14px; color: rgba(255,255,255,.3); }
html:not(.lc-home) #root .svc3-sub .svc-flag { width: 15px; height: auto; border-radius: 2px; }
html:not(.lc-home) #root .svc3-st { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; }
html:not(.lc-home) #root .svc3-st svg { width: 12px; height: 12px; }
html:not(.lc-home) #root .svc3-st.is-ok { background: rgba(34,197,94,.15); color: #22c55e; }
html:not(.lc-home) #root .svc3-st.is-warn { background: rgba(250,204,21,.13); color: #facc15; }
html:not(.lc-home) #root .svc3-st.is-bad { background: rgba(239,68,68,.15); color: #f87171; }
html:not(.lc-home) #root .svc3-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; flex: 1; }
html:not(.lc-home) #root .svc3-row { display: flex; align-items: center; gap: 12px; font-size: 14px; }
html:not(.lc-home) #root .svc3-row svg { flex: 0 0 16px; color: rgba(255,255,255,.2); }
html:not(.lc-home) #root .svc3-l { color: rgba(255,255,255,.3); }
html:not(.lc-home) #root .svc3-v { font-weight: 500; color: rgba(255,255,255,.7); }
html:not(.lc-home) #root .svc3-row.is-warn svg { color: rgba(250,204,21,.6); } html:not(.lc-home) #root .svc3-row.is-warn .svc3-v { color: rgba(250,204,21,.85); }
html:not(.lc-home) #root .svc3-row.is-red svg { color: rgba(248,113,113,.7); } html:not(.lc-home) #root .svc3-row.is-red .svc3-v { color: #f87171; }
html:not(.lc-home) #root .svc3-row.is-ok svg { color: rgba(74,222,128,.5); }
html:not(.lc-home):not(.lc-x) body #root .svc3 .svc3-go { width: 100% !important; height: 46px !important; min-height: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; border-radius: 12px !important; border: 1px solid rgba(255,255,255,.08) !important; background: rgba(255,255,255,.06) !important; color: rgba(255,255,255,.8) !important; font-size: 14px !important; font-weight: 500 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc3 .svc3-go:hover { background: rgba(255,255,255,.12) !important; color: #fff !important; }
html:not(.lc-home):not(.lc-x) body #root .svc3 .svc3-go:active { transform: scale(.97); }
html:not(.lc-home):not(.lc-x) body #root .svc3 .svc3-go svg { width: 16px; height: 16px; }

/* ═══ §49 (05.11 r4): карточка обращения — больше информации, статус с иконкой и цветом ═══ */
html:not(.lc-home):not(.lc-x) body #root .tk3 { padding: 20px !important; border-radius: 18px !important; }
html:not(.lc-home) #root .tk3-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
html:not(.lc-home) #root .tk3-tt { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
html:not(.lc-home) #root .tk3-ttx { min-width: 0; }
html:not(.lc-home):not(.lc-x) body #root .tk3 .pg-ticket-title { font-size: 16px !important; -webkit-line-clamp: 1 !important; color: rgba(255,255,255,.9) !important; }
html:not(.lc-home) #root .tk3-id { margin: 2px 0 0; font-size: 12.5px; color: rgba(255,255,255,.3); }
html:not(.lc-home) #root .tk3-st { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; }
html:not(.lc-home) #root .tk3-st.is-open { background: rgba(34,197,94,.15); color: #22c55e; }
html:not(.lc-home) #root .tk3-st.is-answered { background: rgba(59,130,246,.15); color: #60a5fa; }
html:not(.lc-home) #root .tk3-st.is-progress { background: rgba(250,204,21,.13); color: #facc15; }
html:not(.lc-home) #root .tk3-st.is-closed { background: rgba(239,68,68,.13); color: #f87171; }
html:not(.lc-home) #root .tk3-rows { display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px; }
html:not(.lc-home) #root .tk3-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
html:not(.lc-home) #root .tk3-l { color: rgba(255,255,255,.35); }
html:not(.lc-home) #root .tk3-v { color: rgba(255,255,255,.75); font-weight: 500; text-align: right; }
html:not(.lc-home) #root .tk3-row.pr-hi .tk3-v { color: #f87171; } html:not(.lc-home) #root .tk3-row.pr-md .tk3-v { color: #facc15; } html:not(.lc-home) #root .tk3-row.pr-lo .tk3-v { color: #4ade80; }
html:not(.lc-home) #root .tk3-last { display: flex; gap: 6px; margin-bottom: 16px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: 13px; line-height: 1.45; overflow: hidden; }
html:not(.lc-home) #root .tk3-who { flex: 0 0 auto; color: rgba(255,255,255,.5); font-weight: 500; }
html:not(.lc-home) #root .tk3-msg { color: rgba(255,255,255,.4); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html:not(.lc-home):not(.lc-x) body #root .tk3 .tk3-go { margin-top: auto !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; height: 46px !important; border-radius: 12px !important; background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.08) !important; color: rgba(255,255,255,.85) !important; font-weight: 500 !important; }
html:not(.lc-home):not(.lc-x) body #root .tk3 .tk3-go:hover { background: rgba(255,255,255,.12) !important; color: #fff !important; }
html:not(.lc-home):not(.lc-x) body #root .tk3 .tk3-go svg { width: 16px !important; height: 16px !important; }
html:not(.lc-home):not(.lc-x) body #root .tk3 .pg-ticket-title { -webkit-line-clamp: 2 !important; white-space: normal !important; line-height: 1.3 !important; }
html:not(.lc-home) #root .tk3-id { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ═══ §50 (05.11 r4): чат — просторнее и удобнее ═══ */
@media (min-width: 1024px) {
  html.lc-tk:not(.lc-home) #root main .lg\:col-span-8 { grid-column: span 8 / span 8 !important; }
  html.lc-tk:not(.lc-home) #root main .lg\:col-span-4 { grid-column: span 4 / span 4 !important; }
}
html.lc-tk:not(.lc-home) #root main .max-w-\[100rem\] { gap: 10px !important; }
html.lc-tk:not(.lc-home) #root main .rounded-2xl.p-4.shrink-0 h1 { font-size: clamp(20px, 1.9vw, 26px) !important; }
html.lc-tk:not(.lc-home) #root main .flex-1.grid { gap: 24px !important; }
html.lc-tk:not(.lc-home) #root main .overflow-y-auto.gap-5 { gap: 20px !important; padding: 8px 8px 20px 0 !important; scroll-behavior: smooth; }
html.lc-tk:not(.lc-home) #root main .flex.gap-3.items-start .bg-slate-50.p-4 { padding: 14px 16px !important; }
html.lc-tk:not(.lc-home) #root main .flex.gap-3.items-start .bg-slate-50.p-4 .text-sm { font-size: 15.5px !important; line-height: 1.6 !important; color: rgba(255,255,255,.78) !important; }
html.lc-tk:not(.lc-home) #root main .flex.gap-3.items-start p.text-sm.font-semibold { font-size: 15.5px !important; }
/* «Редактировать / Удалить» — только при наведении на сообщение */
html.lc-tk:not(.lc-home) #root main .flex.gap-3.items-start .pt-0\.5 button { opacity: 0 !important; transition: opacity .15s !important; }
html.lc-tk:not(.lc-home) #root main .flex.gap-3.items-start:hover .pt-0\.5 button { opacity: .6 !important; }
html.lc-tk:not(.lc-home) #root main .flex.gap-3.items-start .pt-0\.5 button:hover { opacity: 1 !important; }
/* поле ввода — компактное, растёт по мере текста */
html.lc-tk:not(.lc-home) #root main textarea { min-height: 76px !important; max-height: 220px !important; padding: 16px 120px 16px 18px !important; resize: vertical !important; font-size: 15px !important; }
html.lc-tk:not(.lc-home) #root main .w-full.relative > button.rounded-full { top: 50% !important; bottom: auto !important; transform: translateY(-50%) !important; }
html.lc-tk:not(.lc-home) #root main .border-t.mt-auto { padding-top: 4px !important; }

/* ═══ §51 (05.11 r4): админка — фон светлее, контуры видны, цветные иконки, «Журнал действий» ═══ */
#root .lc-adm { --background: #0c0c0f; background: #0c0c0f !important; }
#root .lc-adm > aside { background: #09090b !important; border-right: 1px solid rgba(255,255,255,.05) !important; }
#root .lc-adm [data-slot=card] { background: rgba(255,255,255,.035) !important; border: 1px solid rgba(255,255,255,.07) !important; }
#root .lc-adm [data-slot=card] [data-slot=card] { border-color: rgba(255,255,255,.05) !important; }
#root .lc-adm tbody tr { background: rgba(255,255,255,.03); }
/* цветные иконки на карточках-счётчиках (обзор и др.) */
#root .lc-adm main .grid > [data-slot=card]:nth-child(5n+1) [data-slot=card-header] svg { color: #60a5fa !important; }
#root .lc-adm main .grid > [data-slot=card]:nth-child(5n+2) [data-slot=card-header] svg { color: #4ade80 !important; }
#root .lc-adm main .grid > [data-slot=card]:nth-child(5n+3) [data-slot=card-header] svg { color: #facc15 !important; }
#root .lc-adm main .grid > [data-slot=card]:nth-child(5n+4) [data-slot=card-header] svg { color: #34d399 !important; }
#root .lc-adm main .grid > [data-slot=card]:nth-child(5n+5) [data-slot=card-header] svg { color: #f472b6 !important; }
/* лента активности спрятана, вместо неё — кнопка журнала */
#root .lc-adm .lc-jr-hidden { display: none !important; }
#root .lc-adm .lc-jr-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
#root .lc-adm .lc-jr-bar b { display: block; font-size: 16px; color: #fff; }
#root .lc-adm .lc-jr-bar span { font-size: 13px; color: rgba(255,255,255,.45); }
#root .lc-adm .lc-jr-bar button { flex: 0 0 auto; height: 42px; padding: 0 18px; border-radius: 12px; border: 0; background: #fff; color: #0a0a0a; font-weight: 600; font-size: 14px; cursor: pointer; }
#root .lc-adm .lc-jr-bar button:hover { background: #e9e9e9; }
/* окно журнала (вне #root) */
.lc-jr { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.7); font-family: inherit; }
.lc-jr-card { width: min(860px, 100%); height: min(86vh, 900px); display: flex; flex-direction: column; border-radius: 20px; background: #0f0f12; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.6); overflow: hidden; color: #fff; }
.lc-jr-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 10px; }
.lc-jr-h h3 { margin: 0; font-size: 19px; font-weight: 600; }
.lc-jr-h p { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.45); }
.lc-jr-x { width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); cursor: pointer; }
.lc-jr-x:hover { background: rgba(255,255,255,.12); color: #fff; }
.lc-jr-f { padding: 6px 22px 12px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.lc-jr-f input { height: 40px; padding: 0 14px; border-radius: 12px; border: 0; background: rgba(255,255,255,.06); color: #fff; font-size: 14px; outline: none; }
.lc-jr-f input:focus { box-shadow: 0 0 0 2px rgba(255,255,255,.12); }
.lc-jr-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-jr-tabs button { height: 30px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(255,255,255,.05); color: rgba(255,255,255,.6); font-size: 12.5px; cursor: pointer; }
.lc-jr-tabs button.on { background: #fff; color: #0a0a0a; font-weight: 600; }
.lc-jr-list { flex: 1; overflow-y: auto; padding: 10px 14px 18px; }
.lc-jr-row { display: flex; gap: 12px; padding: 12px 10px; border-radius: 12px; }
.lc-jr-row:hover { background: rgba(255,255,255,.035); }
.lc-jr-dot { flex: 0 0 10px; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: #a1a1aa; }
.c-money .lc-jr-dot { background: #4ade80; } .c-srv .lc-jr-dot { background: #60a5fa; } .c-user .lc-jr-dot { background: #a78bfa; } .c-admin .lc-jr-dot { background: #f59e0b; }
.lc-jr-main { flex: 1; min-width: 0; }
.lc-jr-t { display: flex; justify-content: space-between; gap: 12px; }
.lc-jr-t b { font-size: 14px; font-weight: 600; }
.lc-jr-t time { flex: 0 0 auto; font-size: 12px; color: rgba(255,255,255,.35); }
.lc-jr-d { margin: 3px 0 0; font-size: 13.5px; color: rgba(255,255,255,.7); word-break: break-word; }
.lc-jr-ch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 13px; }
.lc-jr-ch .was { padding: 2px 8px; border-radius: 8px; background: rgba(239,68,68,.1); color: #fca5a5; text-decoration: line-through; text-decoration-color: rgba(252,165,165,.5); }
.lc-jr-ch .now { padding: 2px 8px; border-radius: 8px; background: rgba(34,197,94,.12); color: #86efac; }
.lc-jr-ch .arr { color: rgba(255,255,255,.35); }
.lc-jr-who { margin: 5px 0 0; font-size: 12px; color: rgba(255,255,255,.35); }
.lc-jr-empty { padding: 40px 0; text-align: center; color: rgba(255,255,255,.4); font-size: 14px; }
html.lc-jr-open { overflow: hidden; }

/* ═══ §52 (05.11 r5) ═══ */
/* баннер — без кнопок */
html:not(.lc-home) #root .lc-dban .lc-dban-btns { display: none !important; }
/* карточки серверов шире: максимум 2 в ряд на обычном экране, 3 — на очень широком */
html:not(.lc-home):not(.lc-x) body #root .pg-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)) !important; gap: 20px !important; }
@media (max-width: 640px) { html:not(.lc-home):not(.lc-x) body #root .pg-grid { grid-template-columns: 1fr !important; } }
/* админка: карточки обзора и др. (не data-slot) — серые с контуром, как «Журнал действий» */
#root .lc-adm .text-card-foreground { background: rgba(255,255,255,.035) !important; border: 1px solid rgba(255,255,255,.07) !important; border-radius: 18px !important; box-shadow: none !important; }
#root .lc-adm .text-card-foreground .text-card-foreground { border-color: rgba(255,255,255,.05) !important; }
/* меню админки — иконки нейтральные */
#root .lc-adm nav a > div svg { color: currentColor !important; opacity: .75 !important; }

/* ═══ §53 (05.11 r5): карточка обращения по образцу (tk4), максимум 3 в ряд ═══ */
html:not(.lc-home):not(.lc-x) body #root .pg-tickets-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px !important; }
@media (max-width: 1279px) { html:not(.lc-home):not(.lc-x) body #root .pg-tickets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 720px) { html:not(.lc-home):not(.lc-x) body #root .pg-tickets-grid { grid-template-columns: 1fr !important; } }
html:not(.lc-home):not(.lc-x) body #root .tk2.tk4 { display: flex !important; flex-direction: column !important; justify-content: space-between !important; gap: 0 !important; padding: 24px !important; border-radius: 14px !important; background: rgba(255,255,255,.03) !important; border: 1px solid rgba(255,255,255,.04) !important; transform: none !important; }
html:not(.lc-home):not(.lc-x) body #root .tk2.tk4:hover { background: rgba(255,255,255,.045) !important; }
html:not(.lc-home) #root .tk4-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
html:not(.lc-home) #root .tk4-ic { display: flex; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.03); color: rgba(255,255,255,.3); }
html:not(.lc-home) #root .tk4-ic svg { width: 16px; height: 16px; }
html:not(.lc-home) #root .tk4-title { margin: 0; width: 100%; font-size: 20px; font-weight: 600; line-height: 1.3; color: #fff; word-break: break-word; }
html:not(.lc-home) #root .tk4-st { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #fff; white-space: nowrap; }
html:not(.lc-home) #root .tk4-st i { width: 8px; height: 8px; border-radius: 50%; }
html:not(.lc-home) #root .tk4-st.is-open { background: rgba(0,255,133,.05); border: 1px solid rgba(0,255,133,.05); } html:not(.lc-home) #root .tk4-st.is-open i { background: #28ec30; }
html:not(.lc-home) #root .tk4-st.is-answered { background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.08); } html:not(.lc-home) #root .tk4-st.is-answered i { background: #60a5fa; }
html:not(.lc-home) #root .tk4-st.is-progress { background: rgba(250,204,21,.07); border: 1px solid rgba(250,204,21,.07); } html:not(.lc-home) #root .tk4-st.is-progress i { background: #facc15; }
html:not(.lc-home) #root .tk4-st.is-closed { background: rgba(239,68,68,.07); border: 1px solid rgba(239,68,68,.07); } html:not(.lc-home) #root .tk4-st.is-closed i { background: #ef4444; }
html:not(.lc-home) #root .tk4-rows { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; width: 100%; }
html:not(.lc-home) #root .tk4-row { display: flex; align-items: center; gap: 16px; }
html:not(.lc-home) #root .tk4-row svg { flex: 0 0 16px; color: rgba(255,255,255,.3); }
html:not(.lc-home) #root .tk4-row p { margin: 0; font-size: 15px; color: rgba(255,255,255,.9); }
html:not(.lc-home) #root .tk4-row.pr-hi svg { color: rgba(239,68,68,.7); } html:not(.lc-home) #root .tk4-row.pr-md svg { color: rgba(250,204,21,.7); } html:not(.lc-home) #root .tk4-row.pr-lo svg { color: rgba(74,222,128,.7); }
html:not(.lc-home) #root .tk4-go { display: flex; align-items: center; gap: 16px; width: 100%; margin-top: 48px; padding: 12px 24px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 2px rgba(255,255,255,.04); color: #fff !important; font-size: 15px; text-decoration: none !important; transition: transform .15s, opacity .15s, background .15s; }
html:not(.lc-home) #root .tk4-go:hover { transform: scale(.99); background: rgba(255,255,255,.07); }
html:not(.lc-home) #root .tk4-go svg { width: 12px; height: 12px; }
html:not(.lc-x):not(.lc-y):not(.lc-z) body #root .lc-adm main .text-card-foreground { background: rgba(255,255,255,.035) !important; border: 1px solid rgba(255,255,255,.08) !important; border-radius: 18px !important; }
html:not(.lc-x):not(.lc-y):not(.lc-z) body #root .lc-adm main .text-card-foreground .text-card-foreground { border-color: rgba(255,255,255,.05) !important; }

/* ═══ §54 (05.11 r5): «Создать обращение» — форма в карточке, аккуратные поля и кнопки ═══ */
html:not(.lc-home):not(.lc-x) body #root .pg-sup-grid { gap: 24px !important; align-items: start !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-form { padding: 28px !important; border-radius: 18px !important; background: rgba(255,255,255,.03) !important; border: 1px solid rgba(255,255,255,.06) !important; gap: 18px !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-form .pg-field { gap: 8px !important; margin: 0 !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-form .pg-label { font-size: 13px !important; font-weight: 500 !important; color: rgba(255,255,255,.55) !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-form .pg-req { color: #f87171 !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-form :is(.pg-input, .pg-dd-btn, .pg-textarea) { background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.07) !important; box-shadow: none !important; color: #fff !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-form :is(.pg-input, .pg-textarea):focus, html:not(.lc-home):not(.lc-x) body #root .pg-sup-form .pg-dd-btn:focus-visible { border-color: rgba(255,255,255,.25) !important; background: rgba(255,255,255,.06) !important; outline: none !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-form .pg-textarea { min-height: 140px !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-form .pg-sup-row2 { gap: 14px !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-actions { display: flex !important; gap: 10px !important; margin-top: 6px !important; padding-top: 18px !important; border-top: 1px solid rgba(255,255,255,.06) !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-actions > button:first-child, html:not(.lc-home):not(.lc-x) body #root .pg-sup-actions .pg-btn { flex: 1 1 auto !important; height: 46px !important; border-radius: 12px !important; border: 0 !important; background: #fff !important; color: #0a0a0a !important; font-weight: 600 !important; font-size: 15px !important; justify-content: center !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-actions > button:first-child:disabled, html:not(.lc-home):not(.lc-x) body #root .pg-sup-actions .pg-btn:disabled { background: rgba(255,255,255,.12) !important; color: rgba(255,255,255,.45) !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-actions .pg-file-btn, html:not(.lc-home):not(.lc-x) body #root .pg-sup-actions .pg-file-wrap button { flex: 0 0 46px !important; width: 46px !important; height: 46px !important; border-radius: 12px !important; background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.07) !important; color: #fff !important; }
/* правая колонка */
html:not(.lc-home):not(.lc-x) body #root .pg-sup-side { gap: 16px !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-tg { min-height: 170px !important; border-radius: 18px !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-tg-text { font-size: 17px !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-tg-arrow { display: none !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-hours { display: flex !important; align-items: flex-start !important; gap: 14px !important; padding: 18px 20px !important; border-radius: 18px !important; background: rgba(255,255,255,.03) !important; border: 1px solid rgba(255,255,255,.06) !important; font-size: 14px !important; line-height: 1.55 !important; color: rgba(255,255,255,.75) !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-sup-hours svg { flex: 0 0 22px; width: 22px !important; height: 22px !important; margin: 0 !important; color: #facc15 !important; }

/* ═══ §55 (05.11 r6): «Ваши обращения» — счётчики сверху и подправленная карточка ═══ */
html:not(.lc-home) #root .cz-red svg { color: #f87171; }
html:not(.lc-home) #root .tk-stats { margin: 0 0 24px !important; }
/* иконка и статус в одну строку, тема ниже */
html:not(.lc-home) #root .tk4-body { display: grid !important; grid-template-columns: auto 1fr; grid-template-areas: "ic st" "title title" "rows rows"; align-items: center; gap: 16px 12px !important; width: 100%; }
html:not(.lc-home) #root .tk4-ic { grid-area: ic; }
html:not(.lc-home) #root .tk4-st { grid-area: st; justify-self: end; font-size: 13px !important; }
html:not(.lc-home) #root .tk4-title { grid-area: title; font-size: 18px !important; }
html:not(.lc-home) #root .tk4-rows { grid-area: rows; gap: 12px !important; padding-top: 4px !important; }
html:not(.lc-home) #root .tk4-row p { font-size: 14px !important; color: rgba(255,255,255,.8) !important; }
/* кнопка — как у карточек серверов */
html:not(.lc-home) #root .tk4-go { margin-top: 24px !important; justify-content: center; gap: 8px !important; height: 46px; padding: 0 16px !important; border: 1px solid rgba(255,255,255,.08); box-shadow: none !important; background: rgba(255,255,255,.06) !important; font-size: 14px !important; font-weight: 500; flex-direction: row-reverse; }
html:not(.lc-home) #root .tk4-go:hover { background: rgba(255,255,255,.12) !important; transform: none !important; }
html:not(.lc-home) #root .tk4-go svg { width: 16px !important; height: 16px !important; }

/* ═══ §56 (05.11 r7): админка — заметные серые рамки ═══ */
html:not(.lc-x):not(.lc-y):not(.lc-z) body #root .lc-adm main :is([data-slot=card], .text-card-foreground) { border: 1px solid rgba(255,255,255,.12) !important; }
html:not(.lc-x):not(.lc-y):not(.lc-z) body #root .lc-adm main :is([data-slot=card], .text-card-foreground) :is([data-slot=card], .text-card-foreground) { border-color: rgba(255,255,255,.09) !important; }
html:not(.lc-x):not(.lc-y):not(.lc-z) body #root .lc-adm :is([data-slot=input], [data-slot=textarea], [data-slot=select-trigger], input:not([type=checkbox]):not([type=radio]), textarea) { border: 1px solid rgba(255,255,255,.12) !important; }
html:not(.lc-x):not(.lc-y):not(.lc-z) body #root .lc-adm :is([data-slot=input], [data-slot=textarea], input, textarea):focus { border-color: rgba(255,255,255,.3) !important; }
html:not(.lc-x):not(.lc-y):not(.lc-z) body #root .lc-adm [data-slot=tabs-list] { border: 1px solid rgba(255,255,255,.12) !important; }
html:not(.lc-x):not(.lc-y):not(.lc-z) body #root .lc-adm :is([data-slot=button][data-variant=outline], button.border.bg-background) { border: 1px solid rgba(255,255,255,.12) !important; }
html:not(.lc-x):not(.lc-y):not(.lc-z) body #root .lc-adm [data-slot=badge] { border: 1px solid rgba(255,255,255,.1) !important; }
html:not(.lc-x):not(.lc-y):not(.lc-z) body #root .lc-adm tbody tr td { border-top: 1px solid rgba(255,255,255,.08) !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; }
html:not(.lc-x):not(.lc-y):not(.lc-z) body #root .lc-adm tbody tr td:first-child { border-left: 1px solid rgba(255,255,255,.08) !important; }
html:not(.lc-x):not(.lc-y):not(.lc-z) body #root .lc-adm tbody tr td:last-child { border-right: 1px solid rgba(255,255,255,.08) !important; }
#root .lc-adm .lc-jr-bar { border-color: rgba(255,255,255,.12) !important; }
#root .lc-adm > aside { border-right-color: rgba(255,255,255,.08) !important; }
html.lc-admin [role=dialog] { border-color: rgba(255,255,255,.12) !important; }

/* ═══ §57 (05.11): карточка обращения строкой, как в новой админке (tk5) ═══ */
html:not(.lc-home):not(.lc-x) body #root .pg-tickets-grid, html:not(.lc-home):not(.lc-x) body #root .tk-list { display: flex !important; flex-direction: column !important; grid-template-columns: none !important; gap: 8px !important; max-width: none !important; }
html:not(.lc-home) #root a.tk5 { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); color: inherit; text-decoration: none; transition: background .15s, border-color .15s, transform .2s cubic-bezier(.22,1,.36,1) !important; }
html:not(.lc-home) #root a.tk5:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); transform: translateY(-1px); }
html:not(.lc-home) #root .tk5-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.65); }
html:not(.lc-home) #root .tk5-ic svg { width: 18px; height: 18px; }
html:not(.lc-home) #root .tk5-body { flex: 1; min-width: 0; }
html:not(.lc-home) #root .tk5-title { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.35; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.lc-home) #root .tk5-meta { margin: 3px 0 0; font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.lc-home) #root .tk5-st { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; font-weight: 500; }
html:not(.lc-home) #root .tk5-st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
html:not(.lc-home) #root .tk5-st.is-open { color: #4ade80; background: rgba(74,222,128,.12); }
html:not(.lc-home) #root .tk5-st.is-answered { color: #60a5fa; background: rgba(96,165,250,.13); }
html:not(.lc-home) #root .tk5-st.is-progress { color: #fbbf24; background: rgba(251,191,36,.12); }
html:not(.lc-home) #root .tk5-st.is-closed { color: #a1a1aa; background: rgba(255,255,255,.07); }
html:not(.lc-home) #root .tk5-go { flex: none; display: grid; place-items: center; color: rgba(255,255,255,.3); transition: transform .2s, color .15s; }
html:not(.lc-home) #root a.tk5:hover .tk5-go { color: #fff; transform: translateX(3px); }
html.light:not(.lc-home) #root a.tk5 { border-color: rgba(24,24,27,.1); background: rgba(24,24,27,.02); }
html.light:not(.lc-home) #root a.tk5:hover { background: rgba(24,24,27,.05); border-color: rgba(24,24,27,.2); }
html.light:not(.lc-home) #root .tk5-title { color: #18181b; } html.light:not(.lc-home) #root .tk5-meta { color: rgba(24,24,27,.55); }
html.light:not(.lc-home) #root .tk5-ic { background: rgba(24,24,27,.05); color: rgba(24,24,27,.65); } html.light:not(.lc-home) #root .tk5-go { color: rgba(24,24,27,.35); }
@media (max-width: 640px) {
  html:not(.lc-home) #root a.tk5 { flex-wrap: wrap; gap: 10px 12px; padding: 12px; }
  html:not(.lc-home) #root .tk5-body { flex: 1 1 calc(100% - 52px); }
  html:not(.lc-home) #root .tk5-title { white-space: normal; }
  html:not(.lc-home) #root .tk5-meta { white-space: normal; }
  html:not(.lc-home) #root .tk5-st { margin-left: 52px; } html:not(.lc-home) #root .tk5-go { margin-left: auto; }
}

/* ═══ §58 (05.11): чат обращения как мессенджер (tc) ═══ */
html:not(.lc-home) #root .tc { display: flex; flex-direction: column; height: calc(100dvh - 48px); max-width: 960px; margin: 0 auto; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.02); overflow: hidden; }
html:not(.lc-home) #root .tc-center { align-items: center; justify-content: center; gap: 10px; color: rgba(255,255,255,.7); }
html:not(.lc-home) #root .tc-spin { width: 18px; height: 18px; animation: spin 1s linear infinite; }
html:not(.lc-home) #root .tc-link { color: rgba(255,255,255,.6); text-decoration: underline; }
html:not(.lc-home) #root .tc-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
html:not(.lc-home) #root .tc-back { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: rgba(255,255,255,.6); transition: background .15s, color .15s; }
html:not(.lc-home) #root .tc-back:hover { background: rgba(255,255,255,.07); color: #fff; }
html:not(.lc-home) #root .tc-title { flex: 1; min-width: 0; }
html:not(.lc-home) #root .tc-title h1 { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.3; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.lc-home) #root .tc-title p { margin: 1px 0 0; font-size: 12.5px; color: rgba(255,255,255,.42); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.lc-home) #root .tc-st { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; font-weight: 500; }
html:not(.lc-home) #root .tc-st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
html:not(.lc-home) #root .tc-st.is-open { color: #4ade80; background: rgba(74,222,128,.12); } html:not(.lc-home) #root .tc-st.is-answered { color: #60a5fa; background: rgba(96,165,250,.13); } html:not(.lc-home) #root .tc-st.is-progress { color: #fbbf24; background: rgba(251,191,36,.12); } html:not(.lc-home) #root .tc-st.is-closed { color: #a1a1aa; background: rgba(255,255,255,.07); }
html:not(.lc-home) #root .tc-act { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; background: transparent; color: rgba(255,255,255,.75); font-size: 13px; cursor: pointer; transition: background .15s; }
html:not(.lc-home) #root .tc-act:hover { background: rgba(255,255,255,.07); }
html:not(.lc-home) #root .tc-list { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 3px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.14) transparent; overscroll-behavior: contain; }
html:not(.lc-home) #root .tc-day { align-self: center; margin: 12px 0; } html:not(.lc-home) #root .tc-day span { padding: 4px 11px; border-radius: 99px; background: rgba(255,255,255,.06); font-size: 12px; color: rgba(255,255,255,.5); }
html:not(.lc-home) #root .tc-sys { align-self: center; max-width: 80%; margin: 8px 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.45); white-space: pre-wrap; }
html:not(.lc-home) #root .tc-msg { display: flex; align-items: flex-start; gap: 8px; max-width: 76%; animation: tcin .22s ease-out; }
html:not(.lc-home) #root .tc-msg.first { margin-top: 10px; }
html:not(.lc-home) #root .tc-msg.mine { align-self: flex-end; flex-direction: row-reverse; }
@keyframes tcin { from { opacity: 0; transform: translateY(5px); } }
html:not(.lc-home) #root .tc-ava { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 13px; font-weight: 600; color: #fff; }
html:not(.lc-home) #root .tc-msg.first .tc-ava { background: rgba(255,255,255,.1); }
html:not(.lc-home) #root .tc-col { min-width: 0; display: flex; flex-direction: column; } html:not(.lc-home) #root .tc-msg.mine .tc-col { align-items: flex-end; }
html:not(.lc-home) #root .tc-name { margin: 0 0 3px 2px; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.55); }
html:not(.lc-home) #root .tc-bubble { position: relative; padding: 8px 12px 6px; border-radius: 14px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.92); font-size: 14.5px; line-height: 1.45; }
html:not(.lc-home) #root .tc-msg.them.first .tc-bubble { border-top-left-radius: 5px; }
html:not(.lc-home) #root .tc-msg.mine .tc-bubble { background: #f4f4f5; color: #18181b; }
html:not(.lc-home) #root .tc-msg.mine.first .tc-bubble { border-top-right-radius: 5px; }
html:not(.lc-home) #root .tc-bubble.deleted { background: transparent !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: rgba(255,255,255,.45) !important; font-style: italic; }
html:not(.lc-home) #root .tc-text { white-space: pre-wrap; overflow-wrap: anywhere; }
html:not(.lc-home) #root .tc-time { display: block; margin-top: 2px; text-align: right; font-size: 11px; opacity: .5; }
html:not(.lc-home) #root .tc-atts { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
html:not(.lc-home) #root .tc-img img { display: block; max-width: 280px; max-height: 240px; border-radius: 10px; }
html:not(.lc-home) #root .tc-file { display: inline-flex; align-items: center; gap: 6px; max-width: 260px; padding: 6px 9px; border-radius: 9px; background: rgba(127,127,127,.18); color: inherit; font-size: 13px; text-decoration: none; }
html:not(.lc-home) #root .tc-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.lc-home) #root .tc-tools { display: flex; gap: 10px; height: 0; overflow: hidden; opacity: 0; transition: opacity .15s, height .15s; }
html:not(.lc-home) #root .tc-msg:hover .tc-tools, html:not(.lc-home) #root .tc-msg:focus-within .tc-tools { height: 20px; opacity: 1; padding-top: 2px; }
html:not(.lc-home) #root .tc-tools button { padding: 0; border: 0; background: none; color: rgba(255,255,255,.45); font-size: 12px; cursor: pointer; } html:not(.lc-home) #root .tc-tools button:hover { color: #fff; }
html:not(.lc-home) #root .tc-edit textarea { display: block; width: 300px; max-width: 100%; padding: 6px 8px; border: 1px solid rgba(0,0,0,.2); border-radius: 8px; background: rgba(255,255,255,.7); color: #18181b; font: inherit; resize: vertical; outline: none; }
html:not(.lc-home) #root .tc-edit-a { display: flex; justify-content: flex-end; gap: 12px; margin-top: 6px; } html:not(.lc-home) #root .tc-edit-a button { padding: 0; border: 0; background: none; color: #52525b; font-size: 13px; cursor: pointer; } html:not(.lc-home) #root .tc-edit-a .on { color: #18181b; font-weight: 600; }
html:not(.lc-home) #root .tc-compose { flex: none; padding: 10px 12px 12px; border-top: 1px solid rgba(255,255,255,.07); }
html:not(.lc-home) #root .tc-err { margin: 0 4px 8px; color: #f87171; font-size: 13px; }
html:not(.lc-home) #root .tc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; } html:not(.lc-home) #root .tc-chips span { display: inline-flex; align-items: center; gap: 6px; max-width: 220px; padding: 4px 8px; border-radius: 8px; background: rgba(255,255,255,.07); font-size: 12.5px; color: rgba(255,255,255,.8); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } html:not(.lc-home) #root .tc-chips button { display: grid; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
html:not(.lc-home) #root .tc-box { display: flex; align-items: flex-end; gap: 6px; padding: 5px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.03); transition: border-color .15s; }
html:not(.lc-home) #root .tc-box:focus-within { border-color: rgba(255,255,255,.28); }
html:not(.lc-home) #root .tc-box textarea { flex: 1; min-width: 0; max-height: 140px; padding: 8px 4px; border: 0; outline: 0; box-shadow: none; background: transparent; color: #fff; font: inherit; font-size: 14.5px; line-height: 1.4; resize: none; }
html:not(.lc-home) #root .tc-box textarea::placeholder { color: rgba(255,255,255,.35); }
html:not(.lc-home) #root .tc-icon, html:not(.lc-home) #root .tc-send { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 12px; cursor: pointer; transition: background .15s, transform .12s, opacity .15s; }
html:not(.lc-home) #root .tc-icon { background: transparent; color: rgba(255,255,255,.5); } html:not(.lc-home) #root .tc-icon:hover { background: rgba(255,255,255,.07); color: #fff; }
html:not(.lc-home) #root .tc-send { background: #fff; color: #000; } html:not(.lc-home) #root .tc-send:active:not(:disabled) { transform: scale(.93); } html:not(.lc-home) #root .tc-send:disabled { opacity: .3; cursor: default; }
html:not(.lc-home) #root .tc-closed { flex: none; padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.07); text-align: center; font-size: 13.5px; color: rgba(255,255,255,.5); }
@media (max-width: 1023px) { html:not(.lc-home) #root .tc { height: calc(100dvh - 88px); border-radius: 14px; } }
@media (max-width: 640px) {
  html:not(.lc-home) #root .tc { height: calc(100dvh - 84px); border-width: 0; border-radius: 0; background: transparent; }
  html:not(.lc-home) #root .tc-head { padding: 8px 8px; gap: 8px; } html:not(.lc-home) #root .tc-title h1 { font-size: 14.5px; }
  html:not(.lc-home) #root .tc-act span { display: none; } html:not(.lc-home) #root .tc-act { width: 34px; justify-content: center; padding: 0; }
  html:not(.lc-home) #root .tc-list { padding: 10px; } html:not(.lc-home) #root .tc-msg { max-width: 88%; }
  html:not(.lc-home) #root .tc-compose { padding: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); } html:not(.lc-home) #root .tc-box textarea { font-size: 16px; }
  html:not(.lc-home) #root .tc-img img { max-width: 100%; }
}
html.light:not(.lc-home) #root .tc { border-color: rgba(24,24,27,.1); background: #fff; } html.light:not(.lc-home) #root .tc-head,html.light:not(.lc-home) #root .tc-compose,html.light:not(.lc-home) #root .tc-closed { border-color: rgba(24,24,27,.08); }
html.light:not(.lc-home) #root .tc-title h1 { color: #18181b; } html.light:not(.lc-home) #root .tc-title p,html.light:not(.lc-home) #root .tc-name,html.light:not(.lc-home) #root .tc-sys,html.light:not(.lc-home) #root .tc-closed { color: rgba(24,24,27,.55); }
html.light:not(.lc-home) #root .tc-bubble { background: rgba(24,24,27,.06); color: #18181b; } html.light:not(.lc-home) #root .tc-msg.mine .tc-bubble { background: #18181b; color: #fff; } html.light:not(.lc-home) #root .tc-msg.first .tc-ava { background: rgba(24,24,27,.1); color: #18181b; }
html.light:not(.lc-home) #root .tc-day span { background: rgba(24,24,27,.06); color: rgba(24,24,27,.55); } html.light:not(.lc-home) #root .tc-box { border-color: rgba(24,24,27,.14); background: transparent; } html.light:not(.lc-home) #root .tc-box textarea { color: #18181b; } html.light:not(.lc-home) #root .tc-box textarea::placeholder { color: rgba(24,24,27,.4); }
html.light:not(.lc-home) #root .tc-send { background: #18181b; color: #fff; } html.light:not(.lc-home) #root .tc-back,html.light:not(.lc-home) #root .tc-icon,html.light:not(.lc-home) #root .tc-act { color: rgba(24,24,27,.65); border-color: rgba(24,24,27,.14); } html.light:not(.lc-home) #root .tc-tools button { color: rgba(24,24,27,.5); }
html:not(.lc-home):not(.lc-x) body #root .tc-box textarea { min-height: 0 !important; width: auto !important; margin: 0 !important; padding: 8px 4px !important; border: 0 !important; border-radius: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; resize: none !important; }

/* ═══ §59 (05.11): создание обращения в две колонки (tn) ═══ */
html:not(.lc-home) #root .tn-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-areas: "main side" "act side"; gap: 16px 48px; align-items: start; margin-top: 28px; }
html:not(.lc-home) #root .tn-main { grid-area: main; display: flex; flex-direction: column; gap: 20px; min-width: 0; } html:not(.lc-home) #root .tn-side { grid-area: side; display: flex; flex-direction: column; gap: 20px; min-width: 0; } html:not(.lc-home) #root .tn-act { grid-area: act; }
html:not(.lc-home):not(.lc-x) body #root .tn-input { display: block; width: 100%; padding: 12px 14px; border: 1px solid rgba(255,255,255,.08) !important; border-radius: 12px !important; background: rgba(255,255,255,.04) !important; box-shadow: none !important; color: #fff; font: inherit; font-size: 14.5px; line-height: 1.45; outline: none; transition: border-color .15s, background .15s; }
html:not(.lc-home):not(.lc-x) body #root .tn-input:hover { border-color: rgba(255,255,255,.14) !important; }
html:not(.lc-home):not(.lc-x) body #root .tn-input:focus { border-color: rgba(255,255,255,.32) !important; background: rgba(255,255,255,.06) !important; }
html:not(.lc-home) #root .tn-input::placeholder { color: rgba(255,255,255,.32); }
html:not(.lc-home):not(.lc-x) body #root .tn-area { min-height: 192px; resize: vertical; }
html:not(.lc-home) #root .tn-files { display: flex; align-items: center; gap: 10px; min-width: 0; }
html:not(.lc-home) #root .tn-file { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: transparent; color: rgba(255,255,255,.7); font-size: 13.5px; cursor: pointer; transition: background .15s; } html:not(.lc-home) #root .tn-file:hover { background: rgba(255,255,255,.06); } html:not(.lc-home) #root .tn-file svg { width: 16px; height: 16px; }
html:not(.lc-home) #root .tn-names { min-width: 0; font-size: 12.5px; color: rgba(255,255,255,.45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.lc-home) #root .tn-go { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 22px; border: 0; border-radius: 12px; background: #fff; color: #000; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: opacity .15s, transform .12s; } html:not(.lc-home) #root .tn-go:hover:not(:disabled) { opacity: .88; } html:not(.lc-home) #root .tn-go:active:not(:disabled) { transform: scale(.98); } html:not(.lc-home) #root .tn-go:disabled { opacity: .35; cursor: default; } html:not(.lc-home) #root .tn-go svg { width: 17px; height: 17px; }
@media (max-width: 860px) {
  html:not(.lc-home) #root .tn-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "main" "side" "act"; gap: 20px; margin-top: 18px; }
  html:not(.lc-home) #root .tn-go { width: 100%; } html:not(.lc-home):not(.lc-x) body #root .tn-input { font-size: 16px; } html:not(.lc-home):not(.lc-x) body #root .tn-area { min-height: 150px; }
}
html.light:not(.lc-home):not(.lc-x) body #root .tn-input { border-color: rgba(24,24,27,.14) !important; background: #fff !important; color: #18181b; } html.light:not(.lc-home) #root .tn-input::placeholder { color: rgba(24,24,27,.4); } html.light:not(.lc-home) #root .tn-file { border-color: rgba(24,24,27,.14); color: rgba(24,24,27,.7); } html.light:not(.lc-home) #root .tn-go { background: #18181b; color: #fff; } html.light:not(.lc-home) #root .tn-names { color: rgba(24,24,27,.55); }

/* ═══ §60 (05.11): баннер главной без свечения ═══ */
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban { background: rgba(255,255,255,.04) !important; background-image: none !important; box-shadow: none !important; }
html.light:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban { background: rgba(24,24,27,.04) !important; background-image: none !important; }
html:not(.lc-home):not(.lc-x) body #root .lc-dban :is(h1, h1 *, p) { text-shadow: none !important; }

/* ═══ §61 (05.11): чат обращения с панелью справа (tc2) ═══ */
html:not(.lc-home) #root .tc.tc2 { position: relative; flex-direction: row; max-width: 1180px; }
html:not(.lc-home) #root .tc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html:not(.lc-home) #root .tc-side { flex: none; width: 284px; display: flex; flex-direction: column; gap: 14px; padding: 16px; border-left: 1px solid rgba(255,255,255,.07); overflow-y: auto; }
html:not(.lc-home) #root .tc-side-head { display: flex; align-items: center; justify-content: space-between; min-height: 32px; }
html:not(.lc-home) #root .tc-side-head h2 { margin: 0; font-size: 15px; font-weight: 600; color: #fff; }
html:not(.lc-home) #root .tc-side-x, html:not(.lc-home) #root .tc-more, html:not(.lc-home) #root .tc-head-st { display: none; }
html:not(.lc-home) #root .tc-side-x { place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: rgba(255,255,255,.6); cursor: pointer; }
html:not(.lc-home) #root .tc-rows { flex: 1; margin: 0; }
html:not(.lc-home) #root .tc-row { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
html:not(.lc-home) #root .tc-row:last-child { border-bottom: 0; }
html:not(.lc-home) #root .tc-row dt { margin-bottom: 4px; font-size: 12px; color: rgba(255,255,255,.42); }
html:not(.lc-home) #root .tc-row dd { margin: 0; font-size: 14px; color: rgba(255,255,255,.9); overflow-wrap: anywhere; }
html:not(.lc-home) #root .tc-mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
html:not(.lc-home) #root .tc-side-btn { flex: none; display: flex; align-items: center; justify-content: center; gap: 7px; height: 40px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: transparent; color: rgba(255,255,255,.85); font-size: 13.5px; cursor: pointer; transition: background .15s; }
html:not(.lc-home) #root .tc-side-btn:hover { background: rgba(255,255,255,.07); }
html:not(.lc-home) #root .tc-scrim { display: none; }
@keyframes tcside { from { opacity: 0; transform: translateX(24px); } }
@media (max-width: 1023px) {
  html:not(.lc-home) #root .tc-more { display: inline-flex; }
  html:not(.lc-home) #root .tc-head-st { display: inline-flex; }
  html:not(.lc-home) #root .tc-side { display: none; position: absolute; z-index: 5; top: 0; right: 0; bottom: 0; width: min(300px, 88%); background: #0b0b0d; }
  html:not(.lc-home) #root .tc-side.open { display: flex; animation: tcside .2s ease-out; }
  html:not(.lc-home) #root .tc-side-x { display: grid; }
  html:not(.lc-home) #root .tc-scrim { display: block; position: absolute; z-index: 4; inset: 0; width: 100%; padding: 0; border: 0; background: rgba(0,0,0,.55); cursor: default; }
}
@media (max-width: 640px) {
  html:not(.lc-home) #root .tc-head-st { display: none; }
  html:not(.lc-home) #root .tc-more { width: auto; padding: 0 10px; }
}
html.light:not(.lc-home) #root .tc-side { border-color: rgba(24,24,27,.08); }
html.light:not(.lc-home) #root .tc-side-head h2 { color: #18181b; }
html.light:not(.lc-home) #root .tc-row { border-color: rgba(24,24,27,.07); }
html.light:not(.lc-home) #root .tc-row dt { color: rgba(24,24,27,.5); }
html.light:not(.lc-home) #root .tc-row dd { color: #18181b; }
html.light:not(.lc-home) #root .tc-side-btn { border-color: rgba(24,24,27,.14); color: #18181b; }
html.light:not(.lc-home) #root .tc-side-btn:hover { background: rgba(24,24,27,.05); }
html.light:not(.lc-home) #root .tc-side-x { color: rgba(24,24,27,.6); }
@media (max-width: 1023px) { html.light:not(.lc-home) #root .tc-side { background: #fff; } }
html.light:not(.lc-home) #root .tc-link { color: #18181b; }

/* Плавающая кнопка «Меню» не закрывает поле ввода чата */
@media (max-width: 1023px) { html:not(.lc-home) #root .tc.tc2 { height: calc(100dvh - 156px); } }

/* Поле ответа в обращении: значок слева не ложится на текст */
@media (min-width: 1024px) { html.lc-tk:not(.lc-home) #root main textarea[class*="lg:pl-14"] { padding-left: 54px !important; } }

/* Форма обращения: «Прикрепить файл» рядом с «Создать обращение» */
html:not(.lc-home) #root .tn-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
html:not(.lc-home) #root .tn-act .tn-file { height: 44px; border-radius: 12px; padding: 0 16px; }
html:not(.lc-home) #root .tn-act .tn-files { flex: 1; min-width: 0; }
html:not(.lc-home) #root .tn-act .tn-names { flex: 1; }
@media (max-width: 860px) { html:not(.lc-home) #root .tn-act .tn-files { flex-basis: 100%; } html:not(.lc-home) #root .tn-act .tn-file { flex: 1; justify-content: center; } html:not(.lc-home) #root .tn-act .tn-files:has(.tn-names) .tn-file { flex: none; } }

/* 10.11.2026: пункт «Документация» в аккаунте */
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href="/wiki"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
}

/* 12.11.2026: статус «Выключен» (сервер offline в Pterodactyl) */
.svc3-st.is-off { background: rgba(148,163,184,.14); color: #94a3b8; }
html.light:not(.lc-home) .svc3-st.is-off { background: rgba(71,85,105,.12); color: #475569; }

/* 12.11.2026: карточки серверов чуть выше */
@media (min-width: 768px) {
  .svc-card.svc3 { min-height: 345px; }
}
html:not(.lc-home) #root .svc3-rows { gap: 14px; margin-bottom: 22px; justify-content: space-between; }

/* 12.11.2026: светлая тема — текст карточек серверов (в базовых правилах он белый и не виден) */
html.light:not(.lc-home) body #root .svc3 .svc-name { color: rgba(24,24,27,.88) !important; }
html.light:not(.lc-home) body #root .svc3-sub { color: rgba(24,24,27,.45); }
html.light:not(.lc-home) body #root .svc3-l { color: rgba(24,24,27,.45); }
html.light:not(.lc-home) body #root .svc3-v { color: rgba(24,24,27,.82); }
html.light:not(.lc-home) body #root .svc3-row svg { color: rgba(24,24,27,.3); }
html.light:not(.lc-home) body #root .svc3 .svc3-go { border-color: rgba(24,24,27,.1) !important; background: rgba(24,24,27,.05) !important; color: rgba(24,24,27,.8) !important; }
html.light:not(.lc-home) body #root .svc3 .svc3-go:hover { background: rgba(24,24,27,.09) !important; color: #111114 !important; }

/* 12.11.2026: переключатель вида карточек в шапке «Серверов» */
.pg-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pg-head-actions .bs2-pills { display: flex; gap: 4px; }

/* 12.11.2026: переключатель вида карточек = кнопки как «Заказать сервер» */
.lc-style-row { display: flex; gap: 8px; }
.pg-head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pg-head-actions .pg-btn { flex: 0 0 auto !important; }
.pg-btn.lc-style-off {
  background: rgba(255,255,255,.07) !important;
  color: rgba(255,255,255,.75) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.13) !important;
  font-weight: 500 !important;
}
.pg-btn.lc-style-off:hover { background: rgba(255,255,255,.11) !important; color: #fff !important; }
html.light:not(.lc-home) .pg-btn.lc-style-off {
  background: rgba(24,24,27,.05) !important;
  color: rgba(24,24,27,.75) !important;
  box-shadow: inset 0 0 0 1px rgba(24,24,27,.14) !important;
}

/* 12.11.2026: сетка карточек серверов компактнее — больше колонок (было minmax 440px => 1 колонка) */
@media (max-width: 700px) { html:not(.lc-home):not(.lc-x):not(.lk-card-normal) body #root .pg-grid:has(> .svc-card.svc3) { grid-template-columns: 1fr !important; } }

/* 13.11.2026: карточки серверов — компактнее + свечение по статусу.
   Свечение: нижняя кромка (слева-снизу → справа-снизу) и верхний правый угол.
   Цвет задаётся классом статуса на карточке: .svc3.is-ok/.is-warn/.is-bad/.is-off */
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3 {
  position: relative !important;
  overflow: hidden !important;
  padding: 18px !important;
  min-height: 0 !important;
  border-radius: 16px !important;
}
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3 > * { position: relative; z-index: 1; }
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3::before {
  content: "" !important;
  position: absolute !important;
  left: -25% !important; right: -25% !important; bottom: -55% !important;
  height: 85% !important;
  background: radial-gradient(ellipse at 50% 100%, rgba(var(--lc-glow,148,163,184),.40) 0%, rgba(var(--lc-glow,148,163,184),.15) 40%, rgba(var(--lc-glow,148,163,184),0) 72%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  width: auto !important; height: auto !important;
  background: radial-gradient(120% 120% at 100% 0%, rgba(var(--lc-glow,148,163,184),.30) 0%, rgba(var(--lc-glow,148,163,184),.10) 38%, rgba(var(--lc-glow,148,163,184),0) 72%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
html:not(.lc-home):not(.lc-x) body #root .svc3.is-ok   { --lc-glow: 34,197,94; }
html:not(.lc-home):not(.lc-x) body #root .svc3.is-warn { --lc-glow: 250,204,21; }
html:not(.lc-home):not(.lc-x) body #root .svc3.is-bad  { --lc-glow: 239,68,68; }
html:not(.lc-home):not(.lc-x) body #root .svc3.is-off  { --lc-glow: 148,163,184; }

/* компактнее: меньше воздуха, кнопка ниже */
html:not(.lc-home):not(.lc-x) body #root .svc3-top { margin-bottom: 12px !important; align-items: center !important; }
html:not(.lc-home):not(.lc-x) body #root .svc3-rows { gap: 10px !important; margin-bottom: 14px !important; justify-content: flex-start !important; }
html:not(.lc-home):not(.lc-x) body #root .svc3 .svc3-go { height: 40px !important; border-radius: 10px !important; }
html:not(.lc-home):not(.lc-x) body #root .svc3-st { border-radius: 8px !important; }

html.light:not(.lc-home):not(.lc-x) body #root .svc-card.svc3::before {
  background: radial-gradient(ellipse at 50% 100%, rgba(var(--lc-glow,100,116,139),.20) 0%, rgba(var(--lc-glow,100,116,139),.07) 40%, rgba(var(--lc-glow,100,116,139),0) 72%) !important;
}
html.light:not(.lc-home):not(.lc-x) body #root .svc-card.svc3::after {
  background: radial-gradient(circle at 100% 0%, rgba(var(--lc-glow,100,116,139),.16) 0%, rgba(var(--lc-glow,100,116,139),0) 70%) !important;
}
/* 15.11.2026: иконка «Сборки» в сайдбаре (иконки рисуются маской по href) */
aside:is(.lk-sidebar,.lk-drawer) .lk-item[href="/builds"] {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 6.5v11L12 22l8-4.5v-11z'/%3E%3Cpath d='M4 6.5 12 11l8-4.5'/%3E%3Cpath d='M12 11v11'/%3E%3C/svg%3E");
}


/* tariff country flag: флаг страны в правом верхнем углу карточки тарифа (15.11) */
.bs2-card { position: relative; }
.bs2-flag-slot { position: absolute; top: 12px; right: 12px; z-index: 2; pointer-events: none; }
.bs2-card-flag {
  display: block; width: 26px; height: 19px; object-fit: cover;
  border-radius: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
@media (max-width: 767px) {
  .bs2-flag-slot { top: 10px; right: 10px; }
  .bs2-card-flag { width: 22px; height: 16px; }
}


/* tariff flag v2: без рамки, чуть левее и ниже (15.11) */
.bs2-flag-slot { top: 16px !important; right: 20px !important; }
.bs2-card-flag {
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
  width: 26px !important; height: 19px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
}
@media (max-width: 767px) {
  .bs2-flag-slot { top: 14px !important; right: 16px !important; }
  .bs2-card-flag { width: 22px !important; height: 16px !important; }
}

/* reference service cards (16.11, v3 — по скрину референса: тёмная карточка,
   зелёное свечение снизу-слева, тёмная кнопка с зелёным подсветом снизу) */
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 0 !important;
  padding: 32px !important;
  min-height: 0 !important;
  border-radius: 12px !important;
  background:
    radial-gradient(64% 66% at 0% 104%, rgba(var(--svr-glow,150,255,130),.20) 0%, rgba(var(--svr-glow,150,255,130),.06) 44%, rgba(var(--svr-glow,150,255,130),0) 74%),
    linear-gradient(180deg, #0c0c0d 0%, #08080a 55%, #050506 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.045) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref:hover {
  background:
    radial-gradient(64% 66% at 0% 104%, rgba(var(--svr-glow,150,255,130),.24) 0%, rgba(var(--svr-glow,150,255,130),.08) 44%, rgba(var(--svr-glow,150,255,130),0) 74%),
    linear-gradient(180deg, #0e0e10 0%, #0a0a0c 55%, #070708 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref::before,
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref::after { content: none !important; background: none !important; }

html:not(.lc-home):not(.lc-x) body #root .svc-ref-top { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important; margin: 0 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-name { margin: 0 !important; font-size: 19px !important; line-height: 1.25 !important; font-weight: 600 !important; letter-spacing: -.01em; color: #fff !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-brand { flex: 0 0 auto; font-size: 17px !important; line-height: 1.25 !important; font-weight: 500 !important; color: rgba(255,255,255,.32) !important; text-transform: lowercase; }

html:not(.lc-home):not(.lc-x) body #root .svc-ref-price { display: flex; align-items: baseline; gap: 0; margin: 16px 0 0 !important; font-size: 18px !important; font-weight: 500 !important; color: rgba(255,255,255,.5) !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-price b { font-size: 18px !important; font-weight: 500 !important; color: rgba(255,255,255,.55) !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-per { color: rgba(255,255,255,.45) !important; }

html:not(.lc-home):not(.lc-x) body #root .svc-ref-rows { display: flex; flex-direction: column; gap: 13px; margin: 24px 0 0 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-row { display: flex; align-items: center; gap: 16px; min-width: 0; font-size: 16px; line-height: 1.35; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-row svg { width: 16px; height: 16px; flex: 0 0 16px; color: rgba(255,255,255,.28) !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-p { margin: 0 !important; min-width: 0; font-size: 16px !important; line-height: 1.35 !important; color: #fff !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-l { color: #fff !important; font-weight: 600 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-v { color: rgba(255,255,255,.5) !important; font-weight: 400 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; flex: 0 0 auto; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-row.is-ok .svc-ref-v { color: #77ff61 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-row.is-warn .svc-ref-v { color: #ffc861 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-row.is-bad .svc-ref-v { color: #ff6187 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-row.is-off .svc-ref-v { color: rgba(255,255,255,.5) !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-row.is-on .svc-ref-v { color: #77ff61 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-row.is-mut .svc-ref-v { color: #ff6187 !important; }

/* тёмная кнопка с зелёным подсветом снизу (как в референсе) */
html:not(.lc-home):not(.lc-x) body #root .svc-ref-go {
  display: flex !important; align-items: center !important; justify-content: center !important;
  gap: 12px !important; width: 100% !important; height: 48px !important; min-height: 0 !important;
  margin: 32px 0 0 !important; padding: 14px 24px !important;
  border: 0 !important; border-radius: 16px !important;
  background:
    radial-gradient(92% 170% at 8% 150%, rgba(var(--svr-glow,150,255,130),.18) 0%, rgba(var(--svr-glow,150,255,130),.05) 46%, rgba(var(--svr-glow,150,255,130),0) 74%),
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.02) 100%) !important;
  color: #fff !important; font-size: 14px !important; font-weight: 400 !important; text-decoration: none !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
  transition: transform .16s ease, opacity .16s ease !important;
}
html:not(.lc-home):not(.lc-x) body #root .svc-ref-go:hover { transform: scale(.98) !important; opacity: .9 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-go svg { width: 16px !important; height: 16px !important; color: #fff !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-go span { color: #fff !important; }

@media (min-width: 1400px) {
  html:not(.lc-home):not(.lc-x) body #root .pg-grid:has(> .svc-card.svc-ref) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 700px) {
  html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref { padding: 24px !important; }
  html:not(.lc-home):not(.lc-x) body #root .svc-ref-name { font-size: 18px !important; }
  html:not(.lc-home):not(.lc-x) body #root .svc-ref-brand { font-size: 16px !important; }
  html:not(.lc-home):not(.lc-x) body #root .svc-ref-row,
  html:not(.lc-home):not(.lc-x) body #root .svc-ref-p { font-size: 15px !important; }
  html:not(.lc-home):not(.lc-x) body #root .svc-ref-go { margin-top: 32px !important; }
}

html.light:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref {
  background:
    radial-gradient(78% 62% at 4% 112%, rgba(34,170,20,.26) 0%, rgba(34,170,20,.08) 45%, rgba(255,255,255,0) 72%),
    linear-gradient(180deg, #ffffff 0%, #f7faf6 60%, #f2f6f1 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(24,24,27,.08) !important;
}
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-name { color: #18181b !important; }
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-brand { color: rgba(24,24,27,.42) !important; }
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-price,
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-price b { color: rgba(24,24,27,.55) !important; }
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-row svg { color: rgba(24,24,27,.3) !important; }
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-p,
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-l { color: #18181b !important; }
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-v { color: rgba(24,24,27,.5) !important; }
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-row.is-ok .svc-ref-v,
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-row.is-on .svc-ref-v { color: #17920c !important; }
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-go {
  background: radial-gradient(92% 170% at 10% 148%, rgba(34,170,20,.22) 0%, rgba(34,170,20,.05) 46%, rgba(34,170,20,0) 74%), linear-gradient(180deg, #fff, #f3f7f2) !important;
  color: #18181b !important; box-shadow: inset 0 0 0 1px rgba(24,24,27,.1) !important;
}
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-go span,
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-go svg { color: #18181b !important; }

/* ресурсы: аккуратный мини-блок из трёх ячеек (17.11) */
html:not(.lc-home):not(.lc-x) body #root .svc-ref-res {
  display: flex !important; gap: 12px; margin: 20px 0 auto !important;
  padding-top: 16px !important; border-top: 1px solid rgba(255,255,255,.07);
}
html:not(.lc-home):not(.lc-x) body #root .svc-ref-res-i { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
html:not(.lc-home):not(.lc-x) body #root .svc-ref-res-i b {
  font-size: 14px !important; font-weight: 600 !important; line-height: 1.2; color: #fff !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html:not(.lc-home):not(.lc-x) body #root .svc-ref-res-i span {
  font-size: 10.5px !important; line-height: 1.3; letter-spacing: .03em; color: rgba(255,255,255,.42) !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-res { border-top-color: rgba(24,24,27,.1); }
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-res-i b { color: #18181b !important; }
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-res-i span { color: rgba(24,24,27,.45) !important; }

/* свечение карточки по состоянию сервера (17.11):
   запущен — зелёное, запускается/останавливается — жёлтое,
   выключен — серо-синее, заморожен/истёк — красное */
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref { --svr-glow: 148,163,184; }
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref.is-ok { --svr-glow: 119,255,97; }
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref.is-warn { --svr-glow: 255,196,90; }
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref.is-bad { --svr-glow: 255,97,135; }
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref.is-off { --svr-glow: 148,163,184; }

/* no hover lift: карточка при наведении не поднимается (17.11) */
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref,
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref:hover { transform: none !important; }

/* ═══════════ §21 (19.11.2026): шапка во всех разделах кабинета + слитный сайдбар ═══════════ */
@media (min-width: 1280px) {
  /* шапка — как на публичных страницах, на всю ширину */
  html.lc-sb:not(.lc-home) #root header.lk-header {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 64px !important;
    background: #000 !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    z-index: 60 !important;
    pointer-events: auto !important;
  }
  html.lc-sb:not(.lc-home) #root header.lk-header .lk-header-inner {
    height: 64px !important;
    padding: 0 32px !important;
  }
  html.lc-sb:not(.lc-home) #root header.lk-header .lk-logo {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    justify-content: flex-start !important;
    pointer-events: auto !important;
  }
  html.lc-sb:not(.lc-home) #root header.lk-header :is(.lk-nav, .lk-hdr-right) { display: flex !important; }
  html.lc-sb:not(.lc-home) #root header.lk-header .lk-burger { display: none !important; }

  /* контент под шапку */
  html.lc-sb:not(.lc-home) #root main { padding-top: 64px !important; }

  /* сайдбар: без полос, чуть правее и ниже */
  html.lc-sb:not(.lc-home) aside.lk-sidebar {
    top: 76px !important;
    bottom: 12px !important;
    left: 16px !important;
    width: 264px !important;
    height: auto !important;
    max-height: none !important;
    padding: 8px 16px 24px !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    z-index: 45 !important;
  }
  html.lc-sb:not(.lc-home) aside.lk-sidebar::before,
  html.lc-sb:not(.lc-home) aside.lk-sidebar::after { display: none !important; content: none !important; }
  html.lc-sb:not(.lc-home) aside.lk-sidebar :is(.lk-user, .lk-sec, .lk-list, .lk-sec-title) {
    border: 0 !important;
    box-shadow: none !important;
  }
}
html.light.lc-sb:not(.lc-home) aside.lk-sidebar { background: transparent !important; }
html.light.lc-sb:not(.lc-home) #root header.lk-header { background: #fff !important; }

/* ═══════════ §23 (19.11.2026): главная — без фото-баннера, тёмная карточка, статистика полосой ═══════════ */
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .pg-banner.lc-dban.lc-dban {
  background-image: linear-gradient(135deg, #0b0c0b 0%, #080908 55%, #060706 100%) !important;
  background-color: #080908 !important;
  border-radius: 18px !important;
  padding: 26px 30px !important;
  min-height: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban :is(.lc-dban-art, .lc-dban-art2) { display: none !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban .lc-dban-kick {
  display: inline-flex !important;
  height: 24px !important; padding: 0 10px !important; margin-bottom: 10px !important;
  border-radius: 999px !important; background: rgba(255,255,255,.06) !important;
  color: rgba(255,255,255,.6) !important; font-size: 11.5px !important; font-weight: 500 !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban h1 {
  font-size: clamp(23px, 2.2vw, 30px) !important; margin: 0 0 6px !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban p {
  font-size: 14px !important; color: rgba(255,255,255,.5) !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban .lc-dban-btns {
  display: flex !important; flex-wrap: wrap !important; gap: 8px !important; margin-top: 16px !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban .lc-dban-pri {
  display: inline-flex !important; align-items: center !important; gap: 8px !important;
  height: 38px !important; padding: 0 16px !important; border-radius: 11px !important;
  background: #fff !important; color: #0a0a0a !important; font-size: 13px !important; font-weight: 600 !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban .lc-dban-sec {
  display: inline-flex !important; align-items: center !important;
  height: 38px !important; padding: 0 16px !important; border-radius: 11px !important;
  background: rgba(255,255,255,.06) !important; color: rgba(255,255,255,.85) !important;
  font-size: 13px !important; font-weight: 500 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban .lc-dban-sec:hover { background: rgba(255,255,255,.1) !important; color: #fff !important; }

/* статистика — одна полоса с разделителями */
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 20px 0 4px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.02) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
  overflow: hidden !important;
}
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat {
  position: relative !important;
  padding: 16px 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  transform: none !important;
}
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat:hover {
  transform: none !important;
  background: rgba(255,255,255,.02) !important;
  border-color: transparent !important;
}
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat + .cz-stat::before {
  content: "" !important; position: absolute !important;
  left: 0 !important; top: 14px !important; bottom: 14px !important;
  width: 1px !important; background: rgba(255,255,255,.07) !important;
}
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat-top { margin-bottom: 6px !important; }
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat-l { font-size: 12px !important; color: rgba(255,255,255,.42) !important; }
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat-v { font-size: 24px !important; font-weight: 600 !important; letter-spacing: -.02em !important; color: #fff !important; }
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat svg { width: 16px !important; height: 16px !important; opacity: .9 !important; }

/* карточка сервера — тёмная, без зелёного свечения */
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref {
  background: linear-gradient(180deg, #0a0a0b 0%, #070708 60%, #060607 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
  transform: none !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref::before,
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref::after {
  content: none !important; display: none !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-ref-go {
  background: rgba(255,255,255,.05) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-ref-go:hover {
  background: rgba(255,255,255,.09) !important;
}

/* адаптив: 2×2, разделители по сетке */
@media (max-width: 1023px) {
  html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat:nth-child(3)::before { display: none !important; }
  html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat:nth-child(n+3) { box-shadow: inset 0 1px 0 rgba(255,255,255,.07) !important; }
}
@media (max-width: 640px) {
  html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .pg-banner.lc-dban.lc-dban { padding: 22px !important; }
  html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban .lc-dban-btns .lc-dban-pri,
  html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban .lc-dban-btns .lc-dban-sec { flex: 1 1 auto; justify-content: center; }
}

/* светлая тема */
html.light:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .pg-banner.lc-dban.lc-dban {
  background-image: linear-gradient(135deg, #ffffff 0%, #f7f8f6 100%) !important;
  background-color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(24,24,27,.1) !important;
}
html.light:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban .lc-dban-kick { background: rgba(24,24,27,.05) !important; color: rgba(24,24,27,.55) !important; }
html.light:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban .lc-dban-pri { background: #18181b !important; color: #fff !important; }
html.light:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban .lc-dban-sec { background: rgba(24,24,27,.05) !important; color: #111114 !important; box-shadow: inset 0 0 0 1px rgba(24,24,27,.1) !important; }
html.light:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stats { background: #fff !important; box-shadow: inset 0 0 0 1px rgba(24,24,27,.1) !important; }
html.light:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat + .cz-stat::before { background: rgba(24,24,27,.1) !important; }
html.light:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat-l { color: rgba(24,24,27,.5) !important; }
html.light:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat-v { color: #111114 !important; }
html.light:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref { background: #fff !important; box-shadow: inset 0 0 0 1px rgba(24,24,27,.1) !important; }
html.light:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-ref-go { background: rgba(24,24,27,.04) !important; box-shadow: inset 0 0 0 1px rgba(24,24,27,.08) !important; }

/* §23b: текст баннера на главной в светлой теме */
html.light:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban h1,
html.light:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban h1 .pg-name {
  color: #111114 !important;
  -webkit-text-fill-color: #111114 !important;
  text-shadow: none !important;
}
html.light:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban p {
  color: rgba(24, 24, 27, 0.6) !important;
  text-shadow: none !important;
}
html.light:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban .lc-dban-kick {
  color: rgba(24, 24, 27, 0.55) !important;
}

/* §23c: на главной убираем кикер и кнопки из баннера (просьба юзера 19.11) */
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban .lc-dban-kick { display: none !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .lc-dban .lc-dban-btns { display: none !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .pg-banner.lc-dban.lc-dban { padding: 24px 28px !important; }

/* ═══════════ §24 (20.11.2026): фон страниц и сайдбара чуть светлее ═══════════ */
html.dark:not(.lc-home):not(.lk-auth) { --background: #0a0a0c; }
html.dark:not(.lc-home):not(.lk-auth) body,
html.dark:not(.lc-home):not(.lk-auth) #root { background-color: #0a0a0c !important; }
html.dark.lc-sb:not(.lc-home) #root header.lk-header { background: #0a0a0c !important; }
html.dark:not(.lc-home) aside.lk-sidebar { background-color: #0d0d10 !important; }

/* §26 (20.11.2026): выравнивание блока «Аренда» во вкладке «Услуга» — кнопки продления и автопродления по высоте карточки */
html.lc-svc-tab main .flex.flex-col.gap-3:has(> button + button) {
  height: 100% !important;
  justify-content: stretch !important;
}
html.lc-svc-tab main .flex.flex-col.gap-3:has(> button + button) > button {
  flex: 1 1 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

/* §26b: блок «Аренда» — сетка 1fr/1fr, кнопки ровно по высоте карточки */
html.lc-svc-tab main .flex.flex-col.gap-3:has(> button + button) {
  display: grid !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 12px !important;
  height: 100% !important;
}
html.lc-svc-tab main .flex.flex-col.gap-3:has(> button + button) > button {
  height: 100% !important;
  min-height: 0 !important;
  flex: none !important;
}

/* §29 (20.11.2026): флаг локации на карточках тарифов (главная, «Сервера») */
html:not(.lc-home) #root .svc-card.svc-ref .svc-ref-top { display: flex !important; align-items: center !important; gap: 8px !important; }
html:not(.lc-home) #root .svc-card.svc-ref .svc-ref-name { flex: 1 1 auto !important; min-width: 0 !important; }
html:not(.lc-home) #root .svc-card.svc-ref .svc-ref-brand { margin-left: auto !important; }
html:not(.lc-home) #root .svc-card.svc-ref .svc-ref-flag {
  width: 20px !important; height: 15px !important; border-radius: 3px !important;
  object-fit: cover !important; flex: 0 0 auto !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) !important;
}

/* ═══════════ §30 (20.11.2026): обращения и рефералка — без фото-баннеров и дублей заголовков ═══════════ */
html:not(.lc-home) #root .pg-banner.lc-dban:is(.lc-bn-support, .lc-bn-tickets, .lc-bn-referrals) {
  background-image: linear-gradient(135deg, #0b0c0b 0%, #080908 55%, #060706 100%) !important;
  background-color: #080908 !important;
  border-radius: 18px !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban:is(.lc-bn-support, .lc-bn-tickets, .lc-bn-referrals) h1,
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban:is(.lc-bn-support, .lc-bn-tickets, .lc-bn-referrals) h1 * { color: #fff !important; -webkit-text-fill-color: #fff !important; text-shadow: none !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban:is(.lc-bn-support, .lc-bn-tickets, .lc-bn-referrals) p { color: rgba(255,255,255,.55) !important; }

/* дубли заголовков */
html:not(.lc-home) #root .pg-root:has(.tk-stats) .pg-page-head { display: none !important; }
html:not(.lc-home) #root .pg-root:has(.refs-grid4) .refs-hero { display: none !important; }

/* рефералка: карточки как в кабинете */
html:not(.lc-home) #root .refs-grid4 .refs-stat {
  background: #0c0c0f !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
}
html:not(.lc-home) #root .refs-grid4 .refs-stat-top { font-size: 12px !important; color: rgba(255,255,255,.45) !important; }
html:not(.lc-home) #root .refs-grid4 .refs-stat-value { font-size: 24px !important; font-weight: 600 !important; color: #fff !important; }
html:not(.lc-home) #root .refs-card {
  background: #0c0c0f !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 16px !important;
}

/* обращения: форма карточками */
html:not(.lc-home) #root .pg-root.tn .tn-grid { gap: 20px !important; }
html:not(.lc-home) #root .pg-root.tn .tn-main,
html:not(.lc-home) #root .pg-root.tn .tn-side {
  background: #0c0c0f !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 14px !important;
  padding: 18px !important;
}
html:not(.lc-home) #root .pg-root.tn .tn-act { gap: 10px !important; margin-top: 18px !important; }
html:not(.lc-home) #root .pg-root.tn .tn-go {
  height: 42px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #0a0a0a !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}
html:not(.lc-home) #root .pg-root.tn .tn-files {
  height: 42px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}

/* §30b: перебиваем зимние фото-баннеры (у winter.css двойной .lc-dban) */
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-dban.lc-bn-support,
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-dban.lc-bn-tickets,
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-dban.lc-bn-referrals {
  background-image: linear-gradient(135deg, #0b0c0b 0%, #080908 55%, #060706 100%) !important;
  background-color: #080908 !important;
  border-radius: 18px !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}
/* Telegram-блок в «Создать обращение» — тёмный, без фото неба */
html:not(.lc-home) #root .pg-root.tn [style*="banner3.webp"] {
  background-image: linear-gradient(135deg, #0d0f14 0%, #0a0b0f 60%, #08090c 100%) !important;
  background-color: #0c0d12 !important;
}

/* §31 (20.11.2026): карточка услуги перенесена на страницу «Сервера» — на главной секцию не дублируем */
html:not(.lc-home) #root .pg-root:has(.cz-stats) .pg-section:has(.svc-card.svc-ref) { display: none !important; }

/* §33 (20.11.2026): сайдбару вернули прежний тёмный цвет (#000), страницы остаются #0a0a0c */
html.dark:not(.lc-home) aside.lk-sidebar { background-color: #000 !important; }

/* §35 (21.11.2026): флаг локации — в строке «Тариф», а не у типа */
html:not(.lc-home) #root .svc-card.svc-ref .svc-ref-row .svc-ref-flag {
  width: 18px !important;
  height: 13px !important;
  margin-left: 6px !important;
  border-radius: 2px !important;
  object-fit: cover !important;
  vertical-align: middle !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) !important;
}

/* §36 (21.11.2026): карточка услуги перенесена на «Сервера» и выглядит как на главной — тёмная, без свечения */
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref {
  background: linear-gradient(180deg, #0a0a0b 0%, #070708 60%, #060607 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
  transform: none !important;
}
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref::before,
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref::after {
  content: none !important; display: none !important;
}
html:not(.lc-home):not(.lc-x) body #root .svc-ref-go {
  background: rgba(255,255,255,.05) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
}
html:not(.lc-home):not(.lc-x) body #root .svc-ref-go:hover { background: rgba(255,255,255,.09) !important; }
html.light:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref {
  background: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(24,24,27,.1) !important;
}
html.light:not(.lc-home):not(.lc-x) body #root .svc-ref-go {
  background: rgba(24,24,27,.04) !important;
  box-shadow: inset 0 0 0 1px rgba(24,24,27,.08) !important;
}

/* §37 (21.11.2026): карточка остаётся и на главной — «перенеси» поняли как «сделай такую же на Серверах» */
html:not(.lc-home) #root .pg-root:has(.cz-stats) .pg-section:has(.svc-card.svc-ref) { display: block !important; }

/* §38 (21.11.2026): флаг без рамки и вплотную к названию тарифа */
html:not(.lc-home) #root .svc-card.svc-ref .svc-ref-row .svc-ref-flag {
  width: 16px !important;
  height: 12px !important;
  margin-left: 6px !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  outline: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
  vertical-align: -1px !important;
  display: inline-block !important;
}

/* §39 (21.11.2026): на «Серверах» при наведении карточка не меняет цвет — как на главной */
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref:hover {
  background: linear-gradient(180deg, #0a0a0b 0%, #070708 60%, #060607 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
  transform: none !important;
}
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref:hover::before,
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref:hover::after {
  content: none !important; display: none !important;
}
html.light:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref:hover {
  background: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(24,24,27,.1) !important;
}

/* §40 (21.11.2026): шапке вернули прежний чёрный цвет */
html.dark:not(.lc-home):not(.lk-auth) header.lk-header,
html.dark.lc-sb:not(.lc-home) #root header.lk-header { background: #000 !important; }

/* §45 (21.11.2026): главная — все рамки одного цвета (#0c0c0f), статистика аккуратнее */
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .pg-banner.lc-dban.lc-dban {
  background-image: none !important;
  background-color: #0c0c0f !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stats {
  background: #0c0c0f !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat {
  padding: 18px 20px !important;
  min-height: 96px !important;
}
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat-l { font-size: 12.5px !important; color: rgba(255,255,255,.45) !important; }
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat-v { font-size: 24px !important; font-weight: 600 !important; letter-spacing: -.02em !important; color: #fff !important; }
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stat svg { width: 16px !important; height: 16px !important; opacity: .9 !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref {
  background: #0c0c0f !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref:hover {
  background: #0c0c0f !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}

/* §46 (21.11.2026): тумблер снега в строке настроек */
html:not(.lc-home) #root .lc-snow-sw {
  width: 44px !important; height: 24px !important;
  flex: 0 0 auto !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.14) !important;
  position: relative !important;
  display: inline-block !important;
  transition: background .2s ease !important;
}
html:not(.lc-home) #root .lc-snow-sw i {
  position: absolute !important; top: 3px !important; left: 3px !important;
  width: 18px !important; height: 18px !important; border-radius: 50% !important;
  background: #fff !important;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), background .2s ease !important;
}
html:not(.lc-home) #root .lc-snow-sw.is-on { background: #fff !important; }
html:not(.lc-home) #root .lc-snow-sw.is-on i { transform: translateX(20px) !important; background: #0a0a0a !important; }
html.light:not(.lc-home) #root .lc-snow-sw { background: rgba(24,24,27,.14) !important; }
html.light:not(.lc-home) #root .lc-snow-sw.is-on { background: #18181b !important; }
html.light:not(.lc-home) #root .lc-snow-sw.is-on i { background: #fff !important; }

/* §47 (21.11.2026): главная и «Сервера» — темнее, все рамки #08080a */
html.dark:not(.lc-home):not(.lk-auth) { --background: #000; }
html.dark:not(.lc-home):not(.lk-auth) body,
html.dark:not(.lc-home):not(.lk-auth) #root { background-color: #000 !important; }
html.dark.lc-sb:not(.lc-home) #root header.lk-header { background: #000 !important; }
html.dark:not(.lc-home) aside.lk-sidebar { background-color: #000 !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .pg-banner.lc-dban.lc-dban {
  background-image: none !important;
  background-color: #08080a !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stats {
  background: #08080a !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref,
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref:hover {
  background: #08080a !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}

/* §48 (21.11.2026): карточка на главной и баннер «Серверов» — тот же тёмный #08080a */
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref,
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref:hover {
  background: #08080a !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-dban.lc-bn-servers {
  background-image: none !important;
  background-color: #08080a !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
}

/* §49 (22.11.2026): рамки на главной и «Серверах» — того же цвета, что фон (#000), только тонкая обводка */
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .pg-banner.lc-dban.lc-dban,
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-dban.lc-bn-servers {
  background-image: none !important;
  background-color: #000 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
}
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stats {
  background: #000 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
}
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref,
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref:hover,
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref,
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref:hover {
  background: #000 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
}

/* §50 (22.11.2026): рамки чуть-чуть серее фона (#050506), «прям чуточек» */
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .pg-banner.lc-dban.lc-dban,
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-dban.lc-bn-servers {
  background-color: #050506 !important;
}
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stats { background: #050506 !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref,
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref:hover,
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref,
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref:hover {
  background: #050506 !important;
}

/* §51 (22.11.2026): рамки ещё чуть светлее — #08080a */
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .pg-banner.lc-dban.lc-dban,
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-dban.lc-bn-servers { background-color: #08080a !important; }
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stats { background: #08080a !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref,
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref:hover,
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref,
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref:hover { background: #08080a !important; }

/* §52 (22.11.2026): рамки — нейтральный серый #0a0a0a без синего оттенка */
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .pg-banner.lc-dban.lc-dban,
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-dban.lc-bn-servers { background-color: #0a0a0a !important; }
html:not(.lc-home) #root .pg-root:has(.cz-stats) .cz-stats { background: #0a0a0a !important; }
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref,
html:not(.lc-home):not(.lc-x) body #root .svc-card.svc3.svc-ref:hover,
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref,
html:not(.lc-home):not(.lc-x) body #root .pg-root:has(.cz-stats) .svc-card.svc3.svc-ref:hover { background: #0a0a0a !important; }

/* §53 (22.11.2026): уведомления — тёмный баннер и аккуратные карточки */
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-dban.lc-bn-notif {
  background-image: none !important;
  background-color: #0a0a0a !important;
  border-radius: 18px !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-notif h1,
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-notif h1 * { color: #fff !important; -webkit-text-fill-color: #fff !important; text-shadow: none !important; }
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-notif p { color: rgba(255,255,255,.55) !important; }

html:not(.lc-home) #root .pg-root .pg-head-row { margin-bottom: 8px !important; }
html:not(.lc-home) #root .pg-root .pg-actions { gap: 8px !important; margin: 16px 0 6px !important; }
html:not(.lc-home) #root .pg-root .pg-actions .pg-btn {
  height: 34px !important; padding: 0 14px !important; border-radius: 10px !important;
  font-size: 12.5px !important; font-weight: 500 !important;
}
html:not(.lc-home) #root .pg-root .pg-actions .pg-btn:first-child { background: #fff !important; color: #0a0a0a !important; border: 0 !important; font-weight: 600 !important; }
html:not(.lc-home) #root .pg-root .pg-actions .pg-btn:last-child { background: rgba(255,255,255,.05) !important; color: rgba(255,255,255,.75) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important; }

html:not(.lc-home) #root .pg-root .pg-group { margin-top: 20px !important; }
html:not(.lc-home) #root .pg-root .pg-group-head { display: flex; align-items: center; gap: 10px; }
html:not(.lc-home) #root .pg-root .pg-group-head > * { font-size: 11px !important; letter-spacing: .06em !important; text-transform: uppercase !important; color: rgba(255,255,255,.35) !important; }
html:not(.lc-home) #root .pg-root .pg-group-line { background: rgba(255,255,255,.07) !important; height: 1px !important; }

html:not(.lc-home) #root .pg-root .pg-notif {
  background: #0a0a0a !important;
  border-radius: 14px !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
  padding: 16px 18px !important;
  transition: box-shadow .18s ease, background .18s ease;
}
html:not(.lc-home) #root .pg-root .pg-notif:hover {
  background: #0c0c0c !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14) !important;
}
html:not(.lc-home) #root .pg-root .pg-notif-ic {
  width: 36px !important; height: 36px !important; border-radius: 10px !important;
  background: rgba(255,255,255,.05) !important;
  display: flex; align-items: center; justify-content: center;
}
html:not(.lc-home) #root .pg-root .pg-notif-title { font-size: 15px !important; font-weight: 600 !important; color: #fff !important; }
html:not(.lc-home) #root .pg-root .pg-notif-time { font-size: 11.5px !important; color: rgba(255,255,255,.4) !important; }
html:not(.lc-home) #root .pg-root .pg-notif-msg { font-size: 13px !important; line-height: 1.5 !important; color: rgba(255,255,255,.55) !important; }
html:not(.lc-home) #root .pg-root .pg-notif-foot { margin-top: 12px !important; padding-top: 12px !important; border-top: 1px solid rgba(255,255,255,.06) !important; }
html:not(.lc-home) #root .pg-root .pg-notif-actions .pg-btn {
  height: 30px !important; padding: 0 12px !important; border-radius: 8px !important;
  font-size: 12px !important;
  background: rgba(255,255,255,.05) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.8) !important;
}
html:not(.lc-home) #root .pg-root .pg-notif-actions .pg-btn:hover { background: rgba(255,255,255,.09) !important; }

/* §54 (22.11.2026): бесплатный тариф — без «меню условий», только Telegram-гейт */
html:not(.lc-home) #root .bs2-fm-block:has(.bs2-ft-list),
html:not(.lc-home) #root .bs2-fm-block:has(.bs2-cond-list) { display: none !important; }

/* §55 (22.11.2026): модалка вне #root — скрываем условия и соцсети в бесплатном тарифе */
body .bs2-fm-block:has(.bs2-ft-list),
body .bs2-fm-block:has(.bs2-cond-list),
body .bs2-ft-list,
body .bs2-cond-list { display: none !important; }

/* §56 (22.11.2026): условия бесплатного тарифа снова показываем (скрыты только соцсети) */
body .bs2-fm-block:has(.bs2-ft-list) { display: block !important; }
body .bs2-ft-list { display: flex !important; }
body .bs2-fm-block:has(.bs2-cond-list),
body .bs2-cond-list { display: none !important; }
