@charset "UTF-8";
/* Светлая тема «Клевер»: ФАЙЛ СГЕНЕРИРОВАН из statica/space/cosmos.css скриптом _tools/gen_klever.py — вручную не править. Ручные правки — в statica/space/klever.css. */
/* ==========================================================================
   Cosmos Glass — оформление BUX2 (подключается ПОСЛЕДНИМ из стилей темы, templates/main.tpl).
   Тёмный навигационно-синий космос, золото, стекло с размытием, засечки в заголовках.
   Что здесь:
     0. Токены --cg-* (ими пользуются стили модулей), шрифт заголовков, значки меню
     1. Основа: фон страницы, текст, ссылки, заголовки
     2. Фон: туманности в слоях глубины (параллакс — space-fx.js), золотые отсветы, виньетка
     3. Стекло панелей, свечение при наведении
     4. Кнопки (золотой градиент с бликом), поля ввода
     5. Шапка, логотип, верхнее меню со значками
     6. Левая и правая колонки, карточка пользователя
     7. Подвал, плавающие вкладки, индикатор перехода
     8. Анимации: появление при прокрутке, смена содержимого, переключатель «Анимация»
     9. Главная (лендинг) — templates/index.tpl
    10. Телефон
   Цвета старой темы перекрашены в файлах темы скриптом _tools/gen_cosmos_recolor.py.
   Шрифт заголовков — Noto Serif Display (OFL, statica/fonts/CREDITS.txt), запасной — Georgia.
   ========================================================================== */

@font-face { font-family: "CG Serif"; src: url(../fonts/cg-serif-regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "CG Serif"; src: url(../fonts/cg-serif-bold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- 0. Токены ---------- */
:root {
  --cg-bg: #080d16;
  --cg-bg-deep: #05080f;
  --cg-panel: rgba(15, 25, 36, .82);
  --cg-panel-solid: #101b27;
  --cg-gold: #e6ba60;
  --cg-gold-light: #f5d990;
  --cg-gold-deep: #b98c3c;
  --cg-text: #ecedf0;
  --cg-muted: #9caabb;
  --cg-border: rgba(218, 177, 87, .26);
  --cg-border-hi: rgba(240, 205, 130, .55);
  --cg-line: rgba(187, 200, 223, .11);
  --cg-radius: 16px;
  --cg-radius-s: 10px;
  --cg-shadow: 0 16px 44px rgba(0, 0, 0, .28);
  --cg-glow: 0 0 0 1px rgba(230, 186, 96, .2), 0 18px 46px -14px rgba(230, 186, 96, .28);
  --cg-wine: #5a2a52;
  --cg-teal: #1c5a63;
  --cg-ok: #7fd1a8;
  --cg-bad: #f08a8a;
  --cg-serif: "CG Serif", Georgia, "Times New Roman", serif;
  --cg-sans: "Segoe UI", "Roboto", "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --cg-ease: cubic-bezier(.2, .7, .2, 1);
  --cg-gold-grad: linear-gradient(110deg, #f6dc98 0%, #e6ba60 46%, #d39f45 100%);
  --cg-gold-grad-h: linear-gradient(110deg, #fae6b2 0%, #ecc46e 46%, #dcab50 100%);
  --cg-glass-bg:
    linear-gradient(126deg, rgba(250, 216, 145, .06), rgba(250, 216, 145, 0) 46%),
    linear-gradient(145deg, rgba(19, 32, 45, .84), rgba(10, 17, 27, .8));
  --cg-edge: linear-gradient(150deg, rgba(240, 205, 130, .5), rgba(218, 177, 87, .14) 30%, rgba(218, 177, 87, .07) 68%, rgba(240, 205, 130, .3));

  /* старые переменные темы → значения Cosmos Glass (их читают space.css / polish.css / extra.css / shop.css / chat.css) */
  --sp-bg: #080d16;
  --sp-text: #e3e6ec;
  --sp-muted: #9caabb;
  --sp-head: #f4efe3;
  --sp-cyan: #f0cf86;
  --sp-blue: #e6ba60;
  --sp-violet: #f0cf86;
  --sp-pink: #f5d990;
  --sp-gold: #f5d990;
  --sp-green: #7fd1a8;
  --sp-red: #f08a8a;
  --sp-link: #e6ba60;
  --sp-link-hover: #f5d990;
  --sp-glass: rgba(14, 24, 36, .62);
  --sp-glass-2: rgba(18, 30, 44, .72);
  --sp-glass-solid: rgba(12, 20, 30, .96);
  --sp-field: rgba(5, 10, 18, .6);
  --sp-edge: rgba(218, 177, 87, .22);
  --sp-edge-hi: rgba(240, 205, 130, .5);
  --sp-edge-grad: var(--cg-edge);
  --sp-shadow: 0 16px 44px rgba(0, 0, 0, .3), 0 2px 6px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 244, 214, .06);
  --sp-shadow-lift: 0 22px 50px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(230, 186, 96, .22), 0 0 34px -8px rgba(230, 186, 96, .35);
  --sp-accent-grad: var(--cg-gold-grad);
  --sp-accent-grad-h: var(--cg-gold-grad-h);
  --sp-cyan-grad: var(--cg-gold-grad);
  --sp-gold-grad: linear-gradient(135deg, rgba(230, 186, 96, .22), rgba(185, 140, 60, .12));
  --sp-blur: blur(16px) saturate(125%);
  --sp-font: var(--cg-sans);
  --sp-b-primary: var(--cg-gold-grad);
  --sp-b-primary-glow: rgba(230, 186, 96, .55);
  --sp-b-cyan: var(--cg-gold-grad);
  --sp-b-danger: linear-gradient(135deg, #c9545b 0%, #8f2d3d 100%);
  --sp-b-success: linear-gradient(135deg, #39a77d 0%, #1f7558 100%);
  --sp-b-gold: linear-gradient(135deg, #f8d27a 0%, #e39a3c 100%);
}
:root {
  /* линейные значки меню (рисунок свой, создаёт _tools/d1/gen_cg_icons.py), красятся через mask-image */
  --cg-i-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.5 12 3.5l8.5 7V20a1 1 0 0 1-1 1h-5v-6h-5v6h-5a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
  --cg-i-news: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h12v13.5a2.5 2.5 0 0 1-2.5 2.5h-8A1.5 1.5 0 0 1 4 19.5z'/%3E%3Cpath d='M16 9h3.5v9.5A2.5 2.5 0 0 1 17 21M7 9h6M7 12.5h6M7 16h3.5'/%3E%3C/svg%3E");
  --cg-i-wallet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5h14.5a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2v-10a3 3 0 0 1 3-3H16'/%3E%3Cpath d='M15.5 14h2.5'/%3E%3C/svg%3E");
  --cg-i-trophy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5.5a4 4 0 0 1-8 0z'/%3E%3Cpath d='M8 6H4.5c0 2.5 1.5 4 3.8 4.2M16 6h3.5c0 2.5-1.5 4-3.8 4.2M12 13.5V17M8.5 20.5h7M9.5 17h5v3.5h-5z'/%3E%3C/svg%3E");
  --cg-i-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0M15.5 4.6a3.5 3.5 0 0 1 0 6.8M17.5 14.2a6.2 6.2 0 0 1 4 5.8'/%3E%3C/svg%3E");
  --cg-i-megaphone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10v4h3.5l9.5 5.5v-15L7 10z'/%3E%3Cpath d='M7 14l1.6 6h3l-1.3-4.6M19.5 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E");
  --cg-i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.8-3.4 8-8 9-4.6-1-8-4.2-8-9V6z'/%3E%3Cpath d='M8.6 12.2l2.4 2.4 4.4-4.8'/%3E%3C/svg%3E");
  --cg-i-help: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.6 9.4a2.5 2.5 0 1 1 3.6 2.3c-.8.4-1.2 1-1.2 1.8v.4M12 17.2v.1'/%3E%3C/svg%3E");
  --cg-i-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.8'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.8'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.8'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.8'/%3E%3C/svg%3E");
  --cg-i-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.6a1.6 1.6 0 0 1-1.6 1.4H7.8a1.6 1.6 0 0 1-1.6-1.4z'/%3E%3Cpath d='M9 10V6.5a3 3 0 0 1 6 0V10'/%3E%3C/svg%3E");
  --cg-i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.9z'/%3E%3C/svg%3E");
  --cg-i-logout: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h4.5a1.5 1.5 0 0 1 1.5 1.5v13a1.5 1.5 0 0 1-1.5 1.5H14'/%3E%3Cpath d='M10 8l-4 4 4 4M6 12h10'/%3E%3C/svg%3E");
  --cg-i-orbit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Cellipse cx='12' cy='12' rx='10' ry='3.6' transform='rotate%28-28 12 12%29'/%3E%3C/svg%3E");
  --cg-i-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --cg-i-bolt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 2.5 5 13.5h6l-1 8 8.5-11h-6z'/%3E%3C/svg%3E");
  --cg-i-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 3.5v17h17'/%3E%3Cpath d='M7.5 15.5l4-5 3.5 3 5-7'/%3E%3C/svg%3E");
  --cg-i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E");
  --cg-i-gift: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 9h17v4h-17zM5 13v8h14v-8M12 9v12'/%3E%3Cpath d='M12 9S8.5 3.5 6.5 5 8 9 12 9c4 0 7-2.5 5.5-4S12 9 12 9z'/%3E%3C/svg%3E");
  --cg-i-task: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v4h4M9 12.5l2 2 4-4M9 17.5h6'/%3E%3C/svg%3E");
  --cg-i-video: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M10 9.2l5 2.8-5 2.8z'/%3E%3C/svg%3E");
  --cg-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.5 7l8.5 6 8.5-6'/%3E%3C/svg%3E");
  --cg-i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
  --cg-i-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 14.5l5-5M8 11l-2.5 2.5a3.5 3.5 0 0 0 5 5L13 16M11 8l2.5-2.5a3.5 3.5 0 0 1 5 5L16 13'/%3E%3C/svg%3E");
  --cg-i-enter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H5.5A1.5 1.5 0 0 0 4 5.5v13A1.5 1.5 0 0 0 5.5 20H10'/%3E%3Cpath d='M14 8l4 4-4 4M18 12H8'/%3E%3C/svg%3E");
  --cg-i-rocket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15l-3-3c1.5-5 5-8.5 10.5-9-.5 5.5-4 9-7.5 12z'/%3E%3Cpath d='M9 12H5.5L8 8.5h4M12 15v3.5L15.5 16v-4M6.5 17.5c-1 1-1.5 3-1.5 3s2-.5 3-1.5'/%3E%3C/svg%3E");
  --cg-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13.5 6.5 19 12l-5.5 5.5'/%3E%3C/svg%3E");
}

/* ---------- 1. Основа ---------- */
html { background: var(--cg-bg); scrollbar-color: #dde2d9 #dde2d9; }
body.sp-theme { background: var(--cg-bg); color: var(--cg-text); font-family: var(--cg-sans); }
.sp-theme ::selection { background: rgba(64, 150, 79, 0.55); color: #101412; }
.sp-theme a { color: var(--cg-gold); }
.sp-theme a:hover { color: var(--cg-gold-light); text-shadow: none; }
.sp-theme h1, .sp-theme h2, .sp-theme h3 { font-family: var(--cg-serif); font-weight: 400; letter-spacing: .1px; color: #222925; text-shadow: none; line-height: 1.3; padding-block: 2px; }
.sp-theme h4 { color: #222925; text-shadow: none; }
.sp-theme hr { background: linear-gradient(90deg, transparent, rgba(173, 234, 83, 0.38), transparent); }
.sp-theme :focus-visible { outline-color: var(--cg-gold-light); }

/* заголовок страницы (.titles) — засечки, светлое золото, линия с ромбом */
.sp-theme #contentwrapper .titles {
  position: relative; font-family: var(--cg-serif); font-weight: 400; font-size: 25px; line-height: 1.25; letter-spacing: .2px;
  color: var(--cg-gold-light); text-shadow: none; background: none; border: 0; box-shadow: none;
  padding: 4px 10px 18px; margin: 0 0 18px;
}
.sp-theme #contentwrapper .titles::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: min(260px, 60%); height: 9px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(177, 235, 91, 0.75) 38%, transparent 46% 54%, rgba(177, 235, 91, 0.75) 62%, transparent) center / 100% 1px no-repeat;
  filter: drop-shadow(0 0 6px rgba(110, 170, 60, 0.193)); box-shadow: none; border-radius: 0;
}
.sp-theme #contentwrapper .titles::before { /* ромб в разрыве линии */
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 6px; height: 6px; margin-left: -3px; transform: rotate(45deg);
  background: var(--cg-gold-light); box-shadow: 0 0 8px rgba(110, 170, 60, 0.28);
}

/* ---------- 2. Фон: туманности в слоях глубины ----------
   1.0.1 (владелец: «виден шов — сделать бесшовным, размыть сильнее и чуть затемнить»):
   - картинки туманностей сильнее размыты прямо в файлах (_tools/gen_cosmos_nebula.py, SOFT) — показ ничего не стоит;
   - шов был у горизонта: картинка растягивалась «cover» и на широких экранах обрезалась сверху — по всей ширине
     шла прямая граница. Теперь у слоя пропорции самой картинки (1920×840) и она вписана в него целиком: края слоя —
     это края картинки, а они в файле строго чёрные (при смешивании «экран» чёрный не виден);
   - у боковых туманностей — мягкая маска по краям слоя (страховка: при любых пропорциях экрана край не проявится);
   - туманности примерно на пятую часть тусклее.
   ?v=2 у картинок — чтобы браузеры, запомнившие старые картинки, взяли новые. */
#space-bg { background: var(--cg-bg); }
#space-bg .sp-l0 {
  inset: -8%;
  background:
    radial-gradient(52% 44% at 14% 6%, rgba(246, 234, 246, 0.27), transparent 70%),
    radial-gradient(44% 40% at 86% 22%, rgba(233, 245, 247, 0.22), transparent 70%),
    radial-gradient(60% 34% at 50% 104%, rgba(49, 119, 86, 0.16), transparent 70%),
    radial-gradient(120% 90% at 50% 40%, #f5f8f3 0%, #f9fbf7 62%, #fafcf9 100%);
  filter: none; opacity: 1;
}
/* дальний план: горизонт «Космических утёсов» в янтаре — снизу экрана.
   Запасной вариант для старых браузеров (без aspect-ratio): прежняя растяжка + маска, гасящая верх слоя. */
#space-bg .sp-l1 {
  left: -6%; right: -6%; top: auto; bottom: -14%; width: auto; height: 74%;
  background: url(../space/cg-neb-gold.webp?v=2) 50% 100% / cover no-repeat;
  opacity: .5; filter: none; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #dde2d9 22%); mask-image: linear-gradient(to bottom, transparent, #dde2d9 22%);
}
@supports (aspect-ratio: 1) and (width: max(1px, 2px)) {
  /* Ширина: не уже 112% экрана (края за экраном) и не меньше 116% его высоты (на телефоне горизонт — около половины
     экрана), но не больше двух высот (на очень широком мониторе горизонт не заливает весь экран — по бокам он гаснет сам).
     Высота — из пропорций картинки. */
  #space-bg .sp-l1 {
    right: auto; height: auto; aspect-ratio: 16 / 7;
    width: min(max(112%, 116vh), 200vh); left: calc(50% - min(max(56%, 58vh), 100vh));
    background-position: 0 0; background-size: 100% 100%;
    -webkit-mask-image: none; mask-image: none;
  }
}
/* средний план: бирюзовая туманность справа */
#space-bg .sp-l2 {
  top: -4%; right: -12%; left: auto; bottom: auto; width: 66%; height: 96%;
  background: url(../space/cg-neb-teal.webp?v=2) 50% 50% / cover no-repeat;
  opacity: .58; filter: none; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #dde2d9 62%, transparent); mask-image: radial-gradient(closest-side, #dde2d9 62%, transparent);
}
/* ближний план: винно-фиолетовая туманность слева сверху */
#space-bg .sp-l3 {
  top: -16%; left: -14%; width: 74%; height: 96%;
  background: url(../space/cg-neb-wine.webp?v=2) 50% 50% / cover no-repeat;
  opacity: .66; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #dde2d9 62%, transparent); mask-image: radial-gradient(closest-side, #dde2d9 62%, transparent);
}
/* золотые отсветы — медленно «дышат» */
#space-bg .sp-l4 {
  inset: -10%; mix-blend-mode: screen; opacity: .72;
  background:
    radial-gradient(26% 20% at 30% 34%, rgba(177, 235, 91, 0.1), transparent 70%),
    radial-gradient(22% 18% at 74% 62%, rgba(204, 242, 147, 0.08), transparent 70%),
    radial-gradient(30% 22% at 56% 92%, rgba(173, 234, 83, 0.12), transparent 70%);
  animation: cg-breathe 14s ease-in-out infinite alternate;
}
@keyframes cg-breathe { from { opacity: .45; } to { opacity: .8; } }
#space-bg #space-fx { opacity: 1; }
#space-bg .sp-vignette {
  background:
    radial-gradient(125% 95% at 50% 38%, transparent 50%, rgba(252, 253, 251, 0.82) 100%),
    linear-gradient(to bottom, rgba(250, 252, 249, 0.5), transparent 20%, transparent 82%, rgba(250, 252, 249, 0.55));
}
@media (max-width: 980px) {
  #space-bg .sp-l1 { background-image: url(../space/cg-neb-gold-m.webp?v=2); opacity: .45; }
  #space-bg .sp-l2 { background-image: url(../space/cg-neb-teal-m.webp?v=2); width: 120%; right: -50%; height: 70%; top: 18%; opacity: .48; }
  #space-bg .sp-l3 { background-image: url(../space/cg-neb-wine-m.webp?v=2); width: 130%; left: -50%; height: 66%; top: -14%; opacity: .56; }
}
@supports not ((aspect-ratio: 1) and (width: max(1px, 2px))) {
  @media (max-width: 980px) { #space-bg .sp-l1 { height: 56%; left: -30%; right: -30%; } }
}

/* ---------- 3. Стекло ---------- */
.sp-theme #contentwrapper,
.sp-theme .sp-col .banners,
.sp-theme .sp-col .banners2,
.sp-theme .sp-col .stats,
.sp-theme .sp-col .usermenu,
.sp-theme .sp-footer .footer__container,
.sp-theme .main-navigation,
.sp-theme .cg-glass {
  background:
    linear-gradient(90deg, rgba(204, 242, 147, 0), rgba(204, 242, 147, 0.5), rgba(204, 242, 147, 0)) 50% 0 / 64% 1px no-repeat padding-box,
    var(--cg-glass-bg) padding-box,
    var(--cg-edge) border-box;
  border: 1px solid transparent;
  border-radius: var(--cg-radius);
  box-shadow: 0 18px 46px -10px rgba(32, 59, 42, 0.165), 0 2px 6px rgba(32, 59, 42, 0.075), inset 0 1px 0 rgba(255, 244, 214, 0.033), inset 0 0 0 1px rgba(255, 255, 255, 0.007);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}
.sp-theme #contentwrapper { border-radius: 18px; }
.sp-theme #popup {
  background: var(--cg-glass-bg) padding-box, var(--cg-edge) border-box;
  border: 1px solid transparent; border-radius: var(--cg-radius);
  box-shadow: 0 30px 80px -20px rgba(32, 59, 42, 0.255), 0 0 0 1px rgba(110, 170, 60, 0.042), inset 0 1px 0 rgba(255, 244, 214, 0.042);
}
/* панели колонок: подъём и золотое свечение при наведении */
.sp-theme .sp-col .banners, .sp-theme .sp-col .banners2, .sp-theme .sp-col .stats, .sp-theme .sp-col .usermenu {
  transition: box-shadow .45s var(--cg-ease), transform .45s var(--cg-ease);
}
.sp-theme .sp-col .banners:hover, .sp-theme .sp-col .banners2:hover, .sp-theme .sp-col .stats:hover, .sp-theme .sp-col .usermenu:hover {
  box-shadow: 0 22px 52px -12px rgba(32, 59, 42, 0.18), 0 0 0 1px rgba(110, 170, 60, 0.056), 0 0 38px -10px rgba(110, 170, 60, 0.105), inset 0 1px 0 rgba(255, 244, 214, 0.048);
}

/* ---------- 4. Кнопки ---------- */
.sp-b, .sp-theme .btn, .sp-theme .bugtnew, .sp-theme .e_bonus, .sp-theme .e_bonus_z, .sp-theme .e_bonus_money, .sp-theme .e_bonus_money_z {
  color: #19251f !important; text-shadow: none; font-weight: 700; letter-spacing: .2px; border-radius: 10px;
  background: var(--cg-gold-grad);
  box-shadow: inset 0 1px 0 rgba(255, 250, 230, 0.33), inset 0 -1px 0 rgba(110, 170, 60, 0.122), 0 2px 4px rgba(32, 59, 42, 0.105), 0 8px 22px -8px rgba(110, 170, 60, 0.193);
}
.sp-b::before, .sp-theme .btn::before, .sp-theme .bugtnew::before { background: linear-gradient(180deg, rgba(25, 61, 45, 0.238), rgba(25, 61, 45, 0)); border-radius: 9px 9px 40% 40% / 9px 9px 8px 8px; }
.sp-b::after, .sp-theme .btn::after, .sp-theme .bugtnew::after { background: linear-gradient(100deg, transparent, rgba(255, 253, 245, 0.7), transparent); }
.sp-b:hover, .sp-theme .btn:hover, .sp-theme .bugtnew:hover, .sp-theme .e_bonus:hover {
  color: #19251f !important; text-shadow: none; filter: brightness(1.06) saturate(1.05);
  background: var(--cg-gold-grad-h);
  box-shadow: inset 0 1px 0 rgba(255, 252, 240, 0.39), inset 0 -1px 0 rgba(110, 170, 60, 0.105), 0 4px 8px rgba(32, 59, 42, 0.105), 0 14px 30px -8px rgba(110, 170, 60, 0.21), 0 0 26px -6px rgba(110, 170, 60, 0.193);
}
.sp-b i, .sp-theme .btn i { filter: none; }
.sp-b:focus-visible, .sp-theme .btn:focus-visible, .sp-theme input[type="submit"]:focus-visible, .sp-theme button:focus-visible { outline: 2px solid var(--cg-gold-light); outline-offset: 3px; }
/* «тёмное стекло» — второстепенные кнопки */
.sp-b--ghost, .sp-theme .btn.gray, .sp-theme .btn.black, .sp-theme .sp-btn-ghost.btn, .sp-theme .sp-btn-ghost.btn:hover {
  color: var(--cg-text) !important; background: rgba(249, 251, 247, 0.55);
  box-shadow: inset 0 0 0 1px var(--cg-border), inset 0 1px 0 rgba(255, 244, 214, 0.036), 0 2px 4px rgba(32, 59, 42, 0.09);
}
.sp-b--ghost::before, .sp-theme .btn.gray::before, .sp-theme .btn.black::before, .sp-theme .sp-btn-ghost.btn::before { background: linear-gradient(180deg, rgba(25, 61, 45, 0.049), transparent); }
.sp-b--ghost:hover, .sp-theme .btn.gray:hover, .sp-theme .btn.black:hover, .sp-theme .sp-btn-ghost.btn:hover {
  color: var(--cg-gold-light) !important; background: linear-gradient(120deg, rgba(177, 235, 91, 0.16), rgba(173, 234, 83, 0.05)) , rgba(249, 251, 247, 0.55);
  box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.193), 0 4px 8px rgba(32, 59, 42, 0.09), 0 0 24px -6px rgba(110, 170, 60, 0.158);
}
.sp-b--cyan, .sp-theme .btn.blue, .sp-theme .btn.orange, .sp-theme .btn.blue:hover, .sp-theme .btn.orange:hover { background: var(--cg-gold-grad); }
/* «зелёные» кнопки BUX — это главное действие формы (сохранить, войти, оплатить): в Cosmos Glass они золотые, как в образце;
   зелёным остаётся только явный «успех» (.sp-b--success) */
.sp-theme .btn.green { background: var(--cg-gold-grad); }
.sp-theme .btn.green:hover { background: var(--cg-gold-grad-h); }
.sp-b--success { color: #101412 !important; background: var(--sp-b-success); text-shadow: 0 1px 1px rgba(32, 59, 42, 0.09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 4px rgba(32, 59, 42, 0.105), 0 8px 20px -8px rgba(57, 167, 125, 0.18); }
.sp-b--danger, .sp-theme .btn.red, .sp-theme .btn.red:hover { color: #101412 !important; background: var(--sp-b-danger); text-shadow: 0 1px 1px rgba(32, 59, 42, 0.09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 4px rgba(32, 59, 42, 0.105), 0 8px 20px -8px rgba(201, 84, 91, 0.18); }
.sp-b--gold { background: var(--sp-b-gold); }
/* кнопки форм */
.sp-theme input[type="submit"], .sp-theme input[type="button"], .sp-theme button[type="submit"]:not(.form-task-n):not(.form-task-r):not(.form-task-u):not(.form-task-p) {
  color: #19251f; font-weight: 700; text-shadow: none; border-radius: 10px;
  background: linear-gradient(180deg, rgba(25, 61, 45, 0.182), rgba(25, 61, 45, 0) 50%), var(--cg-gold-grad);
  box-shadow: inset 0 1px 0 rgba(255, 250, 230, 0.33), inset 0 -1px 0 rgba(110, 170, 60, 0.122), 0 2px 4px rgba(32, 59, 42, 0.105), 0 8px 22px -8px rgba(110, 170, 60, 0.193);
  transition: transform .18s var(--cg-ease), filter .25s, box-shadow .25s;
}
.sp-theme input[type="submit"]:hover, .sp-theme input[type="button"]:hover, .sp-theme button[type="submit"]:not(.form-task-n):not(.form-task-r):not(.form-task-u):not(.form-task-p):hover {
  filter: brightness(1.07); box-shadow: inset 0 1px 0 rgba(255, 252, 240, 0.39), 0 4px 8px rgba(32, 59, 42, 0.105), 0 14px 30px -8px rgba(110, 170, 60, 0.21);
}
.sp-theme input[type="file"]::file-selector-button { color: var(--cg-text); background: rgba(249, 251, 247, 0.6); box-shadow: inset 0 0 0 1px var(--cg-border); }
/* блик по главным кнопкам сам пробегает раз в несколько секунд */
.sp-theme .cg-shine { position: relative; overflow: hidden; isolation: isolate; }
.sp-theme .cg-shine::after { opacity: 1 !important; animation: cg-shine-run 6.5s var(--cg-ease) 1.2s infinite; }
@keyframes cg-shine-run { 0% { transform: skewX(-18deg) translateX(0); } 22%, 100% { transform: skewX(-18deg) translateX(430%); } }

/* поля ввода */
.sp-theme #contentwrapper input[type="text"], .sp-theme #contentwrapper input[type="password"], .sp-theme #contentwrapper input[type="email"],
.sp-theme #contentwrapper input[type="number"], .sp-theme #contentwrapper input[type="url"], .sp-theme #contentwrapper input[type="search"],
.sp-theme #contentwrapper input[type="tel"], .sp-theme #contentwrapper select, .sp-theme #contentwrapper textarea,
.sp-theme #popup input[type="text"], .sp-theme #popup input[type="password"], .sp-theme #popup input[type="number"], .sp-theme #popup select, .sp-theme #popup textarea {
  background-color: rgba(250, 251, 248, 0.62); color: var(--cg-text); border-color: rgba(25, 61, 45, 0.144);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.sp-theme #contentwrapper input:focus, .sp-theme #contentwrapper select:focus, .sp-theme #contentwrapper textarea:focus,
.sp-theme #popup input:focus, .sp-theme #popup select:focus, .sp-theme #popup textarea:focus {
  border-color: rgba(47, 122, 79, 0.45) !important; box-shadow: 0 0 0 3px rgba(110, 170, 60, 0.049), 0 0 18px -4px rgba(110, 170, 60, 0.14); outline: none;
  background-color: rgba(248, 250, 246, 0.8);
}
.sp-theme input::placeholder, .sp-theme textarea::placeholder { color: rgba(91, 111, 101, 0.7); }
.sp-theme input[type="checkbox"], .sp-theme input[type="radio"] { accent-color: var(--cg-gold); }

/* ---------- 5. Шапка, логотип, верхнее меню ---------- */
@media (min-width: 1181px) {
  .main.sp-shell { max-width: 1360px; }
  .sp-cols { grid-template-columns: 222px minmax(0, 1fr) 228px; gap: 18px; }
}
.sp-theme .sp-header::before {
  /* шапка без тяжёлой плашки: лёгкое стекло и золотая линия по низу */
  inset: 10px -6px 4px; border-radius: 20px; border: 0;
  background:
    linear-gradient(90deg, rgba(173, 234, 83, 0), rgba(173, 234, 83, 0.35) 30%, rgba(204, 242, 147, 0.5) 50%, rgba(173, 234, 83, 0.35) 70%, rgba(173, 234, 83, 0)) 50% 100% / 100% 1px no-repeat,
    radial-gradient(60% 140% at 0% 0%, rgba(177, 235, 91, 0.07), transparent 60%),
    linear-gradient(rgba(248, 250, 246, 0.28), rgba(248, 250, 246, 0.1));
  box-shadow: none;
}
.sp-theme .sp-logo { gap: 14px; }
.sp-theme .cg-mark {
  position: relative; display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px;
  border: 1px solid var(--cg-border);
  background: radial-gradient(120% 120% at 30% 20%, rgba(184, 236, 105, 0.22), rgba(54, 131, 95, 0.04) 60%), rgba(248, 250, 246, 0.55);
  box-shadow: 0 0 26px rgba(110, 170, 60, 0.049), inset 0 1px 0 rgba(255, 244, 214, 0.048);
  transition: transform .6s var(--cg-ease), box-shadow .6s var(--cg-ease);
}
.sp-theme .cg-mark svg { width: 40px; height: 40px; display: block; overflow: visible; }
.sp-theme .cg-mark .cg-mark__orbit { transform-origin: 32px 32px; animation: cg-orbit-spin 26s linear infinite; }
.sp-theme .sp-logo:hover .cg-mark { transform: rotate(-8deg) scale(1.05); box-shadow: 0 0 34px rgba(110, 170, 60, 0.105), inset 0 1px 0 rgba(255, 244, 214, 0.06); }
@keyframes cg-orbit-spin { to { transform: rotate(360deg); } }
.sp-theme .sp-logo__name {
  font-family: var(--cg-serif); font-weight: 700; font-size: 29px; letter-spacing: .3px; line-height: 1.12;
  background: linear-gradient(100deg, #d4f4a4 0%, #b1eb5b 28%, #d4f4a4 50%, #adea53 72%, #ccf293 100%);
  background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--cg-gold);
  filter: drop-shadow(0 0 16px rgba(110, 170, 60, 0.098)); animation: sp-shine 10s ease-in-out infinite;
}
.sp-theme .sp-logo__tag { font-size: 9.5px; letter-spacing: 2.6px; color: var(--cg-muted); margin-top: 6px; }
.sp-theme #baner-serf { border-radius: 10px; box-shadow: 0 0 0 1px rgba(110, 170, 60, 0.077), 0 10px 26px -12px rgba(32, 59, 42, 0.27); }
.sp-theme .sp-iconbtn {
  color: var(--cg-gold-light); border: 1px solid var(--cg-border);
  background: linear-gradient(150deg, rgba(184, 236, 105, 0.16), rgba(248, 250, 246, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.06), 0 6px 18px -6px rgba(32, 59, 42, 0.27), 0 0 18px -8px rgba(110, 170, 60, 0.21);
}

/* верхнее меню */
.sp-theme .main-navigation { padding: 6px; border-radius: 15px; }
.sp-theme .main-navigation__link {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  color: #3a4741; font-size: 13px; font-weight: 600; letter-spacing: .15px; padding: 10px 9px; border-radius: 10px;
  border: 1px solid transparent; background: transparent; box-shadow: none; text-shadow: none;
  transition: color .25s, background .3s, border-color .3s, box-shadow .3s;
}
.sp-theme .main-navigation__link::before {
  content: ""; flex: 0 0 16px; width: 16px; height: 16px; background: var(--cg-gold);
  -webkit-mask: var(--cg-i, var(--cg-i-orbit)) center / contain no-repeat; mask: var(--cg-i, var(--cg-i-orbit)) center / contain no-repeat;
  transition: transform .35s var(--cg-ease), background .25s;
}
/* пункты не помещаются в строку: значок над подписью; не помещаются и так — без значков (решает cosmos.js) */
.sp-theme .cg-nav-stack .main-navigation__link { flex-direction: column; gap: 4px; padding: 8px 6px 7px; font-size: 12px; line-height: 1.15; text-align: center; }
.sp-theme .cg-nav-stack .main-navigation__link::before { width: 17px; height: 17px; flex-basis: 17px; }
.sp-theme .cg-nav-stack .sp-nav-hot::after { top: 5px; right: 4px; }
.sp-theme .cg-nav-tight .main-navigation__link::before { display: none; }
.sp-theme .main-navigation__link:hover {
  color: var(--cg-gold-light); border-color: var(--cg-border); text-shadow: none;
  background: linear-gradient(120deg, rgba(177, 235, 91, 0.13), rgba(173, 234, 83, 0.03));
  box-shadow: 0 0 20px -8px rgba(110, 170, 60, 0.193);
}
.sp-theme .main-navigation__link:hover::before { transform: translateY(-1px) scale(1.1); background: var(--cg-gold-light); }
.sp-theme .main-navigation__link_active, .sp-theme .main-navigation__link.active,
.sp-theme .main-navigation__link_active:hover, .sp-theme .main-navigation__link.active:hover {
  color: var(--cg-gold-light); border-color: rgba(47, 122, 79, 0.378);
  background: linear-gradient(120deg, rgba(177, 235, 91, 0.2), rgba(173, 234, 83, 0.05)), rgba(248, 250, 246, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.048), 0 0 22px -8px rgba(110, 170, 60, 0.21);
}
.sp-theme .main-navigation__link_regard {
  color: var(--cg-gold-light); animation: none;
  background: linear-gradient(100deg, rgba(177, 235, 91, 0.05), rgba(177, 235, 91, 0.2), rgba(177, 235, 91, 0.05)) 0 0 / 220% 100%;
  border-color: rgba(47, 122, 79, 0.27); animation: cg-regard 5s ease-in-out infinite;
}
@keyframes cg-regard { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.sp-theme .sp-nav-hot { color: var(--cg-gold-light) !important; text-shadow: none; }
.sp-theme .sp-nav-hot::after { background: var(--cg-gold-light); box-shadow: 0 0 8px 2px rgba(110, 170, 60, 0.227); }
/* значки пунктов по адресу (состав пунктов не меняется; новые пункты получают значок-орбиту) */
.sp-theme .main-navigation__link[href="/"] { --cg-i: var(--cg-i-home); }
.sp-theme .main-navigation__link[href="news"] { --cg-i: var(--cg-i-news); }
.sp-theme .main-navigation__link[href="pay_today"] { --cg-i: var(--cg-i-wallet); }
.sp-theme .main-navigation__link[href="top100"] { --cg-i: var(--cg-i-trophy); }
.sp-theme .main-navigation__link[href="goodref"] { --cg-i: var(--cg-i-users); }
.sp-theme .main-navigation__link[href^="advertise"] { --cg-i: var(--cg-i-megaphone); }
.sp-theme .main-navigation__link[href="tos"] { --cg-i: var(--cg-i-shield); }
.sp-theme .main-navigation__link[href="faq"] { --cg-i: var(--cg-i-help); }
.sp-theme .main-navigation__link[href="katalog"] { --cg-i: var(--cg-i-grid); }
.sp-theme .main-navigation__link[href="shop"] { --cg-i: var(--cg-i-bag); }
.sp-theme .main-navigation__link[href="competition"] { --cg-i: var(--cg-i-star); }
.sp-theme .main-navigation__link[href^="logout"] { --cg-i: var(--cg-i-logout); }
.sp-theme .main-navigation__link[href*="visits"] { --cg-i: var(--cg-i-eye); }
.sp-theme .main-navigation__link[href*="guest"] { --cg-i: var(--cg-i-rocket); }
.sp-theme .main-navigation__link[href*="bonus"] { --cg-i: var(--cg-i-gift); }
.sp-theme .main-navigation__link[href*="mylink"] { --cg-i: var(--cg-i-link); }
.sp-theme .link_language { color: #3a4741; border-radius: 10px; }
.sp-theme .link_language:hover { background: rgba(177, 235, 91, 0.1); }
.sp-theme .dropdown-toggle__avatar, .sp-theme .flags::after { filter: invert(78%) sepia(40%) saturate(560%) hue-rotate(358deg) brightness(.98); }
.sp-theme .link_language_dropdown { background: var(--cg-panel-solid); border: 1px solid var(--cg-border); border-radius: 12px; box-shadow: 0 20px 50px -10px rgba(32, 59, 42, 0.24); }
.sp-theme .link_language_dropdown a { color: #3a4741; }
.sp-theme .link_language_dropdown a:hover { color: var(--cg-gold-light); background: rgba(177, 235, 91, 0.1); }
/* «+» рекламной цепочки */
.sp-theme .add-chain { color: #19251f; background: var(--cg-gold-grad); box-shadow: inset 0 1px 0 rgba(255, 250, 230, 0.33), 0 8px 22px -8px rgba(110, 170, 60, 0.245), 0 0 0 4px rgba(110, 170, 60, 0.028); }
.sp-theme .add-chain::before { text-shadow: none; }
.sp-theme .add-chain:hover { color: #19251f; background: var(--cg-gold-grad-h); box-shadow: inset 0 1px 0 rgba(255, 250, 230, 0.36), 0 10px 26px -8px rgba(110, 170, 60, 0.297), 0 0 0 6px rgba(110, 170, 60, 0.035); }

/* ---------- 6. Колонки ---------- */
.sp-theme .titles2 {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 10.5px/1.4 var(--cg-sans); letter-spacing: 1.1px; text-transform: uppercase; color: var(--cg-gold);
  background: none; border: 0; border-bottom: 1px solid var(--cg-line); text-shadow: none; box-shadow: none;
}
.sp-theme .titles2::before, .sp-theme .titles2::after { content: ""; width: 5px; height: 5px; flex: 0 0 5px; transform: rotate(45deg); background: var(--cg-gold); opacity: .7; box-shadow: 0 0 6px rgba(110, 170, 60, 0.21); }
.sp-theme .titles2 i { color: var(--cg-gold-light); }
/* подпись «Навигация» над разделами левого меню (как в образце) */
.sp-theme .sp-col .usermenu::before {
  content: "Навигация"; display: flex; align-items: center; gap: 8px; margin: 2px 4px 10px; padding: 0 0 9px 22px;
  font: 700 10.5px/1.4 var(--cg-sans); letter-spacing: 1.1px; text-transform: uppercase; color: var(--cg-gold);
  border-bottom: 1px solid var(--cg-line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6ba60' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6.5h16M4 12h16M4 17.5h10'/%3E%3C/svg%3E") 0 1px / 15px 15px no-repeat;
}
/* разделы левого меню */
.sp-theme .usermnutitle-g, .sp-theme .usermnutitle-g:hover {
  font-size: 12.5px; font-weight: 600; color: #303b35; border-radius: 10px;
  background: rgba(250, 251, 248, 0.28); border: 1px solid var(--cg-line); box-shadow: none;
  transition: color .25s, border-color .25s, background .25s, box-shadow .25s;
}
.sp-theme .usermnutitle-g:hover { color: var(--cg-gold-light); border-color: var(--cg-border); background: rgba(178, 235, 93, 0.08); box-shadow: 0 0 20px -10px rgba(110, 170, 60, 0.245); }
.sp-theme .usermnutitle-g::before, .sp-theme #mnu_title2::before, .sp-theme #mnu_title3::before, .sp-theme #mnu_title4::before, .sp-theme #mnu_title5::before, .sp-theme #mnu_title6::before {
  color: var(--cg-gold); font-size: 12px; background: linear-gradient(140deg, rgba(184, 236, 105, 0.18), rgba(248, 250, 246, 0.4));
  box-shadow: inset 0 0 0 1px var(--cg-border); border-radius: 8px;
}
.sp-theme .usermnutitle-g::after { color: var(--cg-gold); opacity: .7; }
.sp-theme .usermnublock { background: rgba(251, 252, 250, 0.34); box-shadow: inset 0 1px 3px rgba(32, 59, 42, 0.135), inset 0 0 0 1px rgba(25, 61, 45, 0.09); }
.sp-theme .user_menuline, .sp-theme .usermnuline-act { color: #425149; font-size: 12.5px; }
.sp-theme .user_menuline::before, .sp-theme .usermnuline-act::before { color: var(--cg-gold); }
.sp-theme .user_menuline:hover { color: var(--cg-gold-light); background: rgba(178, 235, 93, 0.08); box-shadow: inset 0 0 0 1px var(--cg-border); }
.sp-theme .user_menuline:hover::before { color: var(--cg-gold-light); text-shadow: none; }
.sp-theme .usermnuline-act, .sp-theme .usermnuline-act:hover {
  color: var(--cg-gold-light); background: linear-gradient(90deg, rgba(177, 235, 91, 0.2), rgba(177, 235, 91, 0.04));
  box-shadow: inset 0 0 0 1px var(--cg-border), inset 3px 0 0 var(--cg-gold), 0 0 18px -8px rgba(110, 170, 60, 0.245);
}
.sp-theme .usermnuline-act::before { color: var(--cg-gold-light); }
/* карточка пользователя */
.sp-theme .logtext { color: var(--cg-gold-light); font-weight: 600; }
.sp-theme .menu-balance { border-radius: 10px !important; background: rgba(250, 251, 248, 0.45); border: 1px solid var(--cg-line); box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.024); }
.sp-theme .menu-balance.b-green { border-color: rgba(127, 209, 168, 0.22); }
.sp-theme .menu-balance.b-red { border-color: var(--cg-border); }
.sp-theme .menu-balance a { color: #3a4741; }
.sp-theme .menu-balance a span[id^="new-money"] { color: var(--cg-gold-light); font-variant-numeric: tabular-nums; }
.sp-theme .menu-balance:hover { border-color: rgba(47, 122, 79, 0.405); box-shadow: 0 0 20px -8px rgba(110, 170, 60, 0.175); }
.sp-rwbtn { color: var(--cg-gold-light); background: linear-gradient(120deg, rgba(177, 235, 91, 0.16), rgba(248, 250, 246, 0.5)); border-color: var(--cg-border); }
.sp-rwbtn:hover { border-color: var(--cg-gold); box-shadow: 0 8px 22px -6px rgba(110, 170, 60, 0.14); }
/* статистика гостя в левой колонке */
.sp-theme .sp-col .stats .t2 { color: var(--cg-muted); letter-spacing: 1.2px; }
.sp-theme .sp-col .stats .t3, .sp-theme .sp-col .stats .title { color: var(--cg-gold-light); }
.sp-theme .sp-col .stats .bord { background: linear-gradient(90deg, transparent, rgba(173, 234, 83, 0.35), transparent); }
.sp-theme .sp-col .stats strong { color: var(--cg-muted) !important; text-shadow: none !important; }
#time-rab strong { color: var(--cg-muted) !important; text-shadow: none !important; }

/* ---------- 7. Подвал, вкладки, индикатор ---------- */
.sp-theme .sp-footer .footer__container { border-radius: 18px 18px 0 0; }
.sp-theme .sp-footlinks a { color: #3a4741; }
.sp-theme .sp-footlinks a:hover { color: var(--cg-gold-light); }
.sp-theme .sp-footstats { color: var(--cg-muted); }
.sp-theme .sp-footstats b { color: var(--cg-gold-light); font-variant-numeric: tabular-nums; }
.sp-theme .sp-copy { color: var(--cg-muted); }
.sp-theme .sp-copy__name { font-family: var(--cg-serif); font-weight: 700; font-size: 15px; color: var(--cg-gold); }
.sp-theme .cg-foot-mark { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 2px 0 12px; }
.sp-theme .cg-foot-mark .cg-mark { flex-basis: 34px; width: 34px; height: 34px; border-radius: 10px; }
.sp-theme .cg-foot-mark .cg-mark svg { width: 26px; height: 26px; }
.sp-theme .cg-foot-mark span { font-family: var(--cg-serif); font-size: 17px; color: var(--cg-gold-light); }
.sp-theme .on_line, .sp-theme .go2_ajaxchat, .sp-theme #clouse_support_panel .support_panel {
  background: linear-gradient(150deg, rgba(184, 236, 105, 0.14), rgba(248, 250, 246, 0.82));
  border-color: var(--cg-border); box-shadow: 0 10px 26px -10px rgba(32, 59, 42, 0.27), inset 0 1px 0 rgba(255, 244, 214, 0.042);
}
.sp-theme .sp-scrollbtn { color: #19251f; background: var(--cg-gold-grad); border: 0; box-shadow: inset 0 1px 0 rgba(255, 250, 230, 0.33), 0 10px 24px -8px rgba(110, 170, 60, 0.21); }
.sp-theme .sp-scrollbtn:hover { color: #19251f; background: var(--cg-gold-grad-h); }
#load-site-img .sp-lb-line { background: rgba(177, 235, 91, 0.1); }
#load-site-img .sp-lb-line::before { background: linear-gradient(90deg, rgba(177, 235, 91, 0), #b1eb5b 40%, #d4f4a4 80%, #ccf293); box-shadow: 0 0 14px rgba(110, 170, 60, 0.315), 0 0 4px rgba(110, 170, 60, 0.315); }
#load-site-img .sp-lb-ring { background: radial-gradient(circle at 50% 35%, rgba(27, 67, 49, 0.95), rgba(247, 249, 244, 0.95) 70%); border-color: var(--cg-border); }

/* ---------- 8. Анимации и переключатель ---------- */
/* появление при прокрутке: класс ставит cosmos.js только тем блокам, что ниже экрана; без скрипта всё видно сразу */
.cg-reveal { opacity: 0; transform: translate3d(0, 22px, 0) scale(.985); }
.cg-reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .75s var(--cg-ease) var(--cg-d, 0ms), transform .9s var(--cg-ease) var(--cg-d, 0ms);
}
/* плавная смена содержимого при переходе без перезагрузки (load_site) */
#contentwrapper.cg-swap > * { animation: cg-swap-in .42s var(--cg-ease) both; }   /* 1.0.1: короче и без размытия — размытие больших блоков на слабых компьютерах шло рывками */
#contentwrapper.cg-swap > :nth-child(2) { animation-delay: .05s; }
#contentwrapper.cg-swap > :nth-child(3) { animation-delay: .1s; }
#contentwrapper.cg-swap > :nth-child(4) { animation-delay: .15s; }
#contentwrapper.cg-swap > :nth-child(n+5) { animation-delay: .2s; }
@keyframes cg-swap-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
/* счётчики: цифры одинаковой ширины, чтобы при наборе ничего не прыгало */
[data-cg-count] { font-variant-numeric: tabular-nums; }

/* переключатель «Анимация: включена / выключена» */
.cg-motion-toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; cursor: pointer;
  font: 600 11.5px/1.3 var(--cg-sans); color: var(--cg-muted); letter-spacing: .2px;
  background: rgba(248, 250, 246, 0.6); border: 1px solid var(--cg-border);
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.03); transition: color .25s, border-color .25s, box-shadow .25s;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cg-motion-toggle:hover { color: var(--cg-gold-light); border-color: rgba(47, 122, 79, 0.45); box-shadow: 0 0 20px -6px rgba(110, 170, 60, 0.175); }
.cg-motion-toggle b { color: var(--cg-gold-light); font-weight: 600; }
.cg-motion-toggle i { width: 26px; height: 15px; flex: 0 0 26px; border-radius: 999px; position: relative; background: rgba(177, 235, 91, 0.28); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.158); transition: background .3s; }
.cg-motion-toggle i::after { content: ""; position: absolute; top: 2px; left: 13px; width: 11px; height: 11px; border-radius: 50%; background: var(--cg-gold-light); box-shadow: 0 0 8px rgba(110, 170, 60, 0.315); transition: left .3s var(--cg-ease), background .3s, box-shadow .3s; }
html[data-cg-motion="off"] .cg-motion-toggle i { background: rgba(25, 61, 45, 0.098); box-shadow: inset 0 0 0 1px rgba(25, 61, 45, 0.16); }
html[data-cg-motion="off"] .cg-motion-toggle i::after { left: 2px; background: #7d8a9b; box-shadow: none; }
html[data-cg-motion="off"] .cg-motion-toggle b { color: var(--cg-muted); }
.sp-footer .cg-motion-toggle { margin: 10px auto 0; }
/* выключено: никаких бесконечных анимаций и появления — всё сразу на месте */
html[data-cg-motion="off"] *, html[data-cg-motion="off"] *::before, html[data-cg-motion="off"] *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; }
html[data-cg-motion="off"] .cg-reveal { opacity: 1; transform: none; transition: none; }
html[data-cg-motion="off"] #load-site-img .sp-lb-line::before { animation: sp-lb-run 1.15s linear infinite !important; animation-iteration-count: infinite !important; }
html[data-cg-motion="off"] #load-site-img .sp-lb-ring::before { animation: sp-lb-spin 1.2s linear infinite !important; animation-iteration-count: infinite !important; }

/* ---------- 9. Главная (лендинг) ---------- */
.cg-home { display: grid; gap: 18px; container-type: inline-size; container-name: cghome; }
.cg-home__bar { display: flex; justify-content: flex-end; margin: -4px 0 -6px; }
.cg-home h1, .cg-home h2, .cg-home h3 { margin: 0; text-shadow: none; }
.cg-kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 10.5px/1.4 var(--cg-sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--cg-gold); }
.cg-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cg-gold); box-shadow: 0 0 10px 2px rgba(110, 170, 60, 0.193); animation: cg-pulse 2.6s ease-in-out infinite; }
@keyframes cg-pulse { 0%, 100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
.cg-ic { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; background: currentColor; color: var(--cg-gold);
  -webkit-mask: var(--i, var(--cg-i-orbit)) center / contain no-repeat; mask: var(--i, var(--cg-i-orbit)) center / contain no-repeat; }
.cg-icbox { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; color: var(--cg-gold);
  border: 1px solid var(--cg-border); background: radial-gradient(120% 120% at 30% 20%, rgba(184, 236, 105, 0.18), rgba(248, 250, 246, 0.2) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.042); transition: transform .5s var(--cg-ease), box-shadow .5s var(--cg-ease), color .3s; }
.cg-icbox .cg-ic { width: 21px; height: 21px; }

/* первый экран */
.cg-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: 10px 10px; padding: 34px 34px 24px; min-height: 390px; }
.cg-hero::before { /* мягкий свет за планетой */
  content: ""; position: absolute; right: -8%; top: -10%; width: 62%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(177, 235, 91, 0.14), rgba(246, 234, 246, 0.08) 55%, transparent 100%);
}
.cg-hero::after { /* отблеск, медленно бегущий по золотой рамке */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--cg-a, 0deg), transparent 0deg, transparent 300deg, rgba(212, 244, 164, 0.9) 335deg, transparent 360deg);
  -webkit-mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#ffffff 0 0) content-box exclude, linear-gradient(#ffffff 0 0);
  animation: cg-rim 9s linear infinite; opacity: .8;
}
@property --cg-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes cg-rim { to { --cg-a: 360deg; } }
html[data-cg-motion="off"] .cg-hero::after { display: none; }
.cg-hero__text { position: relative; z-index: 1; min-width: 0; }
.cg-home .cg-hero__title { font-family: var(--cg-serif); font-weight: 700; font-size: clamp(32px, 3.3vw, 46px); line-height: 1.12; color: #1f2623; margin: 16px 0 12px !important; padding-bottom: 4px; letter-spacing: .2px; }
.cg-hero__title span { display: block; padding-bottom: 4px; background: linear-gradient(100deg, #d4f4a4, #b1eb5b 40%, #d4f4a4 60%, #adea53); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--cg-gold); animation: sp-shine 9s ease-in-out infinite; overflow-wrap: anywhere; }
.cg-hero__lead { max-width: 470px; margin: 0 0 24px; color: #45544c; font-size: 14.5px; line-height: 1.7; }
.cg-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cg-hero__cta .btn { min-height: 46px; padding: 11px 22px; font-size: 14px; border-radius: 11px; gap: 10px; }
.cg-hero__cta .btn .cg-ic { width: 17px; height: 17px; color: inherit; transition: transform .35s var(--cg-ease); }
.cg-hero__cta .btn:hover .cg-ic { transform: translateX(3px); }
.cg-perks { grid-column: 1 / -1; position: relative; z-index: 1; list-style: none; margin: 8px 0 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border-top: 1px solid var(--cg-line); }
.cg-perks li { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.cg-perks .cg-icbox { width: 32px; height: 32px; flex-basis: 32px; border-radius: 50%; }
.cg-perks .cg-icbox .cg-ic { width: 16px; height: 16px; }
.cg-perks b { display: block; font-size: 12.5px; color: var(--cg-text); line-height: 1.35; }
.cg-perks small { display: block; font-size: 11.5px; color: var(--cg-muted); line-height: 1.4; margin-top: 2px; }

/* планета на орбитах */
.cg-hero__art { position: relative; z-index: 0; display: grid; place-items: center; min-width: 0; transform: translate3d(var(--cg-px, 0), var(--cg-py, 0), 0); transition: transform .9s var(--cg-ease); }
.cg-planet { width: min(100%, 360px); height: auto; aspect-ratio: 1; display: block; overflow: visible; }
.cg-planet .o1 { transform-origin: 200px 200px; animation: cg-orbit-spin 60s linear infinite; }
.cg-planet .o2 { transform-origin: 200px 200px; animation: cg-orbit-spin 38s linear infinite reverse; }
.cg-planet .o3 { transform-origin: 200px 200px; animation: cg-orbit-spin 24s linear infinite; }
.cg-planet .ring-text { transform-origin: 200px 200px; animation: cg-orbit-spin 120s linear infinite reverse; }
.cg-planet .sat { animation: cg-twinkle 3.2s ease-in-out infinite; }
.cg-planet .sat:nth-of-type(2n) { animation-delay: -1.4s; }
.cg-planet .glow { animation: cg-breathe 7s ease-in-out infinite alternate; transform-origin: 200px 200px; }
.cg-planet .tilt { transform-origin: 200px 200px; animation: cg-tilt 16s ease-in-out infinite alternate; }
@keyframes cg-twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes cg-tilt { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }

/* полоса показателей */
.cg-statbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; overflow: hidden; }
.cg-stat { display: flex; align-items: center; gap: 14px; padding: 17px 20px; min-width: 0; position: relative; }
.cg-stat:nth-child(2n) { border-left: 1px solid var(--cg-line); }
.cg-stat:nth-child(n+3) { border-top: 1px solid var(--cg-line); }
@container cghome (min-width: 980px) {
  .cg-statbar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cg-stat + .cg-stat { border-left: 1px solid var(--cg-line); }
  .cg-stat:nth-child(n+3) { border-top: 0; }
}
.cg-stat .cg-icbox { border-radius: 50%; width: 40px; height: 40px; flex-basis: 40px; }
.cg-stat small { display: block; font: 700 9.5px/1.3 var(--cg-sans); letter-spacing: 1.1px; text-transform: uppercase; color: var(--cg-muted); }
.cg-stat b { display: block; font-family: var(--cg-serif); font-weight: 400; font-size: 25px; line-height: 1.15; color: var(--cg-gold-light); white-space: nowrap; margin: 3px 0 1px; }
.cg-stat b em { font-style: normal; font-size: .62em; color: var(--cg-gold); margin-left: 3px; }
.cg-stat__sub { display: block; font-size: 11px; color: var(--cg-muted); }
.cg-stat b.is-word { font-size: 21px; }
.cg-stat:hover .cg-icbox { transform: rotate(-10deg) scale(1.08); box-shadow: 0 0 22px -4px rgba(110, 170, 60, 0.193); }

/* разделы с карточками */
.cg-sect { padding: 26px 24px 24px; }
.cg-sect__head { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 20px; }
.cg-sect__head h2 { font-family: var(--cg-serif); font-weight: 400; font-size: 25px; line-height: 1.2; color: #222925; }
.cg-sect__head p { margin: 5px 0 0; font-size: 12.5px; color: var(--cg-muted); }
.cg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cg-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 178px; padding: 16px 16px 14px; border-radius: 13px;
  color: var(--cg-text) !important; text-decoration: none !important; text-shadow: none !important;
  background: linear-gradient(160deg, rgba(25, 61, 45, 0.025), rgba(25, 61, 45, 0) 50%), rgba(249, 251, 248, 0.5);
  border: 1px solid var(--cg-line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--cg-ease), border-color .4s, box-shadow .5s var(--cg-ease), background .4s;
}
.cg-card::after { /* свет, бегущий за курсором (координаты ставит cosmos.js) */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(177, 235, 91, 0.16), transparent 70%);
}
.cg-card:hover { transform: translateY(-4px); border-color: var(--cg-border); box-shadow: 0 18px 40px -16px rgba(32, 59, 42, 0.24), 0 0 0 1px rgba(110, 170, 60, 0.035), 0 0 34px -12px rgba(110, 170, 60, 0.158); }
.cg-card:hover::after { opacity: 1; }
.cg-card:hover .cg-icbox { transform: translateY(-2px) rotate(-6deg); box-shadow: 0 0 22px -4px rgba(110, 170, 60, 0.21); color: var(--cg-gold-light); }
.cg-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.cg-tag { font: 700 9px/1.2 var(--cg-sans); letter-spacing: .9px; text-transform: uppercase; color: var(--cg-gold); padding: 4px 8px; border-radius: 999px; border: 1px solid var(--cg-border); background: rgba(177, 235, 91, 0.06); white-space: nowrap; }
.cg-card h3 { font-family: var(--cg-sans) !important; font-weight: 700 !important; font-size: 14.5px !important; color: #1a201d !important; margin: 14px 0 8px !important; line-height: 1.3; }
.cg-card p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #51635a; }
.cg-card__more { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--cg-gold); }
.cg-card__more .cg-ic { width: 15px; height: 15px; transition: transform .35s var(--cg-ease); }
.cg-card:hover .cg-card__more .cg-ic { transform: translateX(4px); }
.cg-card__price { font-family: var(--cg-serif); font-size: 13px; color: var(--cg-gold-light); }

/* три предложения */
.cg-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cg-promo { position: relative; display: flex; flex-direction: column; min-height: 196px; padding: 20px 18px 18px; text-decoration: none !important; color: var(--cg-text) !important; overflow: hidden; transition: transform .5s var(--cg-ease), box-shadow .5s var(--cg-ease); }
.cg-promo:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -16px rgba(32, 59, 42, 0.24), 0 0 40px -12px rgba(110, 170, 60, 0.158); }
.cg-promo small { font: 700 9.5px/1.3 var(--cg-sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--cg-muted); }
.cg-promo h3 { font-family: var(--cg-serif) !important; font-weight: 400 !important; font-size: 22px !important; line-height: 1.15; color: #222925 !important; margin: 10px 0 10px !important; }
.cg-promo p { margin: 0; font-size: 12.5px; color: #51635a; line-height: 1.6; max-width: 80%; }
.cg-promo__go { margin-top: auto; padding-top: 16px; font: 700 10.5px/1.3 var(--cg-sans); letter-spacing: 1px; text-transform: uppercase; color: var(--cg-gold); }
.cg-promo__art { position: absolute; right: 14px; bottom: 34px; color: var(--cg-gold); opacity: .9; transition: transform .6s var(--cg-ease), opacity .4s; }
.cg-promo__art .cg-ic { width: 44px; height: 44px; }
.cg-promo:hover .cg-promo__art { transform: translateY(-4px) rotate(-6deg) scale(1.06); opacity: 1; }

/* как начать */
.cg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: cgs; }
.cg-steps li { position: relative; padding: 18px 16px 16px; border-radius: 13px; border: 1px solid var(--cg-line); background: rgba(249, 251, 248, 0.45); counter-increment: cgs; }
.cg-steps li::before { content: "0" counter(cgs); display: block; font-family: var(--cg-serif); font-size: 26px; line-height: 1; color: var(--cg-gold); margin-bottom: 10px; }
.cg-steps b { display: block; font-size: 13.5px; color: #1a201d; margin-bottom: 6px; }
.cg-steps span { font-size: 12.5px; color: #51635a; line-height: 1.6; }

/* цены */
.cg-prices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.cg-prices li { display: flex; gap: 10px; align-items: baseline; padding: 9px 4px; border-bottom: 1px dashed rgba(25, 61, 45, 0.09); font-size: 12.5px; color: #45544c; line-height: 1.5; min-width: 0; }
.cg-prices li::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; transform: rotate(45deg) translateY(-1px); background: var(--cg-gold); box-shadow: 0 0 6px rgba(110, 170, 60, 0.21); }
.cg-prices b { color: var(--cg-gold-light); font-weight: 600; white-space: nowrap; }

/* ---------- 11. Страница «не найдена» (templates/404.tpl) — цифры с засечками на золотой орбите ---------- */
.sp-theme .sp-404__code {
  position: relative; isolation: isolate; font-family: var(--cg-serif); font-weight: 700; letter-spacing: 4px;
  background: linear-gradient(180deg, #fff6dc 10%, #ccf293 45%, #40964f 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(110, 170, 60, 0.112)); padding: 10px 26px; line-height: 1.2;
}
.sp-theme .sp-404__code::before {
  content: ""; position: absolute; left: -8%; right: -8%; top: 38%; height: 34%; z-index: -1; border-radius: 50%;
  border: 1.5px solid rgba(47, 122, 79, 0.405); border-left-color: rgba(47, 122, 79, 0.072); border-bottom-color: rgba(47, 122, 79, 0.45);
  transform: rotate(-12deg); animation: cg-404-ring 9s ease-in-out infinite alternate;
}
@keyframes cg-404-ring { from { transform: rotate(-14deg) scaleX(1); } to { transform: rotate(-8deg) scaleX(1.06); } }
.sp-theme .sp-404__text { color: var(--cg-muted); }

/* ---------- 12. Мелочи: графики Highcharts, значки с цветом в разметке ---------- */
.sp-theme .highcharts-series-0 .highcharts-graph, .sp-theme .highcharts-series-0.highcharts-graph { stroke: #2f7a4f !important; }
.sp-theme .highcharts-series-0 .highcharts-area, .sp-theme .highcharts-series-0.highcharts-area { fill: rgba(47, 122, 79, 0.18) !important; }
.sp-theme .highcharts-series-0 .highcharts-point, .sp-theme .highcharts-markers.highcharts-series-0 path { fill: #2f7a4f !important; stroke: #2f7a4f !important; }
.sp-theme .highcharts-series-1 .highcharts-graph { stroke: #7fd1a8 !important; }
.sp-theme .highcharts-series-1 .highcharts-point { fill: #31875c !important; }
.sp-theme .highcharts-series-2 .highcharts-graph { stroke: #d98aa8 !important; }
.sp-theme .highcharts-color-0 { fill: #2f7a4f; stroke: #2f7a4f; }
.sp-theme .highcharts-title, .sp-theme .highcharts-title tspan { fill: var(--cg-gold-light) !important; }
.sp-theme .sp-col .fa-clock { color: var(--cg-gold) !important; }
.sp-theme [style*="color:#0178A0" i] { color: #328ba4 !important; }   /* пол «мужской» на стене — светлее на тёмном */

/* ---------- 13. Золотые плашки по всему сайту: текст тёмный (на светлом золоте белый не читается) ---------- */
.shp-btn:not(.shp-btn--ghost), .shp-nav__i.is-cur, .shp-steps li::before, .sp-topw__btn, .sp-steps__n,
.sp-theme .menu-task-work__link.active, .sp-theme .menu-task-work__link.active:hover, .sp-theme .serf-text-ob-add,
.sp-theme .rating-purchase__item-button, .sp-theme .button_theme_green, .sp-theme .sp-subtab.is-cur,
.sp-theme a.rating#reyt-user-block, .sp-ic, .sp-theme .tos-chat__list li::before, .sp-theme .sp-top-num.is-bronze, .own-ad-badge,
.own-ad-check, a.own-ad-check, .own-ad-kcheck, a.own-ad-kcheck, .fc-move, .sp-theme .sp-pager .sp-pager__cur, .sys-btn,
.sp-theme .vkrepvel::after, .sp-theme .rutprosm::after, .sp-theme .tik_podp::after, .sp-theme .tik_likes::after,
.sp-gconnect__ico, .sp-cpoints__item b, .sp-code__ico, .sp-reward, .sp-instbar__ico, .shp-seller__ico, .shp-shophead__ico, .shp-hero__ico, .shp-pop__ico, .faq-group i {
  color: #19251f !important; text-shadow: none !important;
}
.shp-btn:not(.shp-btn--ghost), .shp-nav__i.is-cur, .sp-topw__btn, .sp-theme .menu-task-work__link.active, .sp-theme .sp-subtab.is-cur,
.sp-theme .rating-purchase__item-button, .sp-theme .button_theme_green { background: var(--cg-gold-grad); }
.shp-cat.is-cur { color: var(--cg-gold-light); background: linear-gradient(135deg, rgba(177, 235, 91, 0.24), rgba(64, 150, 79, 0.1)); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.193); }
.shp-tabs a.is-cur, .shp-sort a.is-cur { color: var(--cg-gold-light); }

/* ---------- 10. Телефон ---------- */
@media (max-width: 1180px) {
  .cg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-hero { grid-template-columns: 1fr; padding: 26px 24px 22px; }
  .cg-hero__art { order: -1; margin: -6px auto -10px; }
  .cg-planet { width: min(100%, 280px); }
}
@media (max-width: 980px) {
  /* телефон: большой блок содержимого без размытия фона (почти непрозрачный, разницы не видно, а прокрутка легче) */
  .sp-theme #contentwrapper { -webkit-backdrop-filter: none; backdrop-filter: none;
    background: linear-gradient(90deg, rgba(204, 242, 147, 0), rgba(204, 242, 147, 0.5), rgba(204, 242, 147, 0)) 50% 0 / 64% 1px no-repeat padding-box,
      linear-gradient(126deg, rgba(206, 242, 153, 0.06), rgba(206, 242, 153, 0) 46%) padding-box,
      linear-gradient(145deg, rgba(242, 246, 238, 0.93), rgba(247, 249, 244, 0.9)) padding-box, var(--cg-edge) border-box; }
  .sp-theme .main-navigation__link::before { display: none; }
  /* меню листается пальцем — правый край плавно гаснет, видно, что дальше есть пункты */
  .sp-topmenu .main-navigation__list { -webkit-mask-image: linear-gradient(90deg, #dde2d9 82%, transparent); mask-image: linear-gradient(90deg, #dde2d9 82%, transparent); }
  .sp-theme .sp-logo__name { font-size: 22px; }
  .sp-theme .cg-mark { flex-basis: 42px; width: 42px; height: 42px; border-radius: 12px; }
  .sp-theme .cg-mark svg { width: 32px; height: 32px; }
  .cg-trio, .cg-steps { grid-template-columns: 1fr; }
  .cg-prices { grid-template-columns: 1fr; }
  .cg-promo { min-height: 0; padding-right: 74px; }
  .cg-promo p { max-width: none; }
  .cg-promo__art { top: 20px; bottom: auto; right: 16px; }
}
@media (max-width: 640px) {
  .cg-home { gap: 14px; }
  .cg-hero { padding: 20px 16px 18px; min-height: 0; }
  .cg-hero__title { font-size: 31px; }
  .cg-hero__lead { font-size: 13.5px; margin-bottom: 18px; }
  .cg-hero__cta .btn { flex: 1 1 100%; }
  .cg-perks { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; padding-top: 14px; }
  .cg-planet { width: min(100%, 230px); }
  .cg-cards { grid-template-columns: 1fr; }
  .cg-card { min-height: 0; }
  .cg-stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 14px; }
  .cg-stat b { font-size: 21px; }
  .cg-sect { padding: 20px 14px 16px; }
  .cg-sect__head h2 { font-size: 21px; }
  .cg-sect__head .cg-icbox { display: none; }
  .cg-home__bar { justify-content: center; margin: 0; }
  .sp-theme #contentwrapper .titles { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-cg-motion="on"]) .cg-reveal { opacity: 1; transform: none; }
}
@media print { .cg-reveal { opacity: 1 !important; transform: none !important; } #space-bg { display: none; } }
