@charset "UTF-8";
/* Светлая тема «Клевер»: ФАЙЛ СГЕНЕРИРОВАН из statica/space/space.css скриптом _tools/gen_klever.py — вручную не править. Ручные правки — в statica/space/klever.css. */
/* ==========================================================================
   Тема «Глубокий космос» — оформление всего сайта (des=1).
   Порядок подключения: normalize.css → space/base.css (перекрашенный style.css)
   → fa_my.css → space/layout.css (каркас, адаптив) → этот файл.
   Фоновые снимки: NASA / ESA / CSA / STScI (телескопы «Джеймс Уэбб» и «Хаббл»),
   NASA Image and Video Library — см. statica/space/CREDITS.txt.
   Звёзды, пыль, падающие звёзды и параллакс — statica/space/space-fx.js.
   ========================================================================== */

:root {
  --sp-bg: #04050d;
  --sp-text: #dfe3e9;
  --sp-muted: #98a7bb;
  --sp-head: #f2f6ff;
  --sp-cyan: #eac478;
  --sp-blue: #ecca86;
  --sp-violet: #f6dfa4;
  --sp-pink: #f7e3b0;
  --sp-gold: #fcd77a;
  --sp-green: #5ee39a;
  --sp-red: #ff7a85;
  --sp-link: #f5db99;
  --sp-link-hover: #eceff3;
  --sp-glass: rgba(13, 21, 32, .66);
  --sp-glass-2: rgba(18, 29, 44, .78);
  --sp-glass-solid: rgba(11, 17, 26, .94);
  --sp-field: rgba(4, 8, 24, .62);
  --sp-edge: rgba(245, 221, 158, .18);
  --sp-edge-hi: rgba(246, 224, 169, .5);
  --sp-edge-grad: linear-gradient(145deg, rgba(246, 221, 159, .55), rgba(246, 221, 159, .08) 38%, rgba(236, 201, 132, .05) 62%, rgba(245, 218, 150, .42));
  --sp-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    inset 0 -1px 0 rgba(0, 0, 0, .35),
    0 2px 4px rgba(0, 0, 0, .35),
    0 12px 28px -8px rgba(0, 0, 0, .75),
    0 28px 60px -28px rgba(199, 147, 50, .45);
  --sp-shadow-lift:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 4px 10px rgba(0, 0, 0, .4),
    0 22px 44px -12px rgba(0, 0, 0, .8),
    0 0 0 1px rgba(245, 218, 150, .25),
    0 0 36px -6px rgba(233, 194, 116, .45);
  --sp-accent-grad: linear-gradient(135deg, #d2a34b 0%, #d4a753 55%, #cf9d40 100%);
  --sp-accent-grad-h: linear-gradient(135deg, #e7bc65 0%, #e9c170 55%, #e7bc65 100%);
  --sp-cyan-grad: linear-gradient(135deg, #b6862e 0%, #d09e41 100%);
  /* бывшие «золотые» полосы старого дизайна (подставляет base.css) — полупрозрачное сине-фиолетовое стекло */
  --sp-gold-grad: linear-gradient(135deg, rgba(208, 158, 65, .5), rgba(211, 165, 78, .42));
  --sp-radius: 16px;
  --sp-radius-s: 10px;
  --sp-blur: blur(14px) saturate(140%);
  --sp-font: "Segoe UI", "Roboto", "Helvetica Neue", "Noto Sans", Arial, sans-serif;
}

/* ---------- Основа ---------- */
html { background: var(--sp-bg); color-scheme: dark; scrollbar-color: #2f7a4f #dde2d9; }
body.sp-theme {
  background: var(--sp-bg);
  color: var(--sp-text);
  font-family: var(--sp-font);
  font-size: 14px;
  line-height: 1.45;
}
.sp-theme ::selection { background: rgba(189, 238, 116, 0.35); color: #101412; }
.sp-theme a { color: var(--sp-link); transition: color .2s, text-shadow .2s, background .25s, box-shadow .25s, border-color .25s; }
.sp-theme a:hover { color: var(--sp-link-hover); text-shadow: none; }
.sp-theme h1, .sp-theme h2, .sp-theme h3, .sp-theme h4 { color: var(--sp-head); text-shadow: none; font-weight: 600; letter-spacing: .2px; }
.sp-theme h3 { font-size: 19px; }
.sp-theme hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(211, 243, 162, 0.35), transparent); margin: 10px 0; }
.sp-theme b, .sp-theme strong { color: inherit; }
.sp-theme center { color: inherit; }

/* ---------- Фон: слои параллакса ---------- */
#space-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: var(--sp-bg); }
#space-bg .sp-layer { position: absolute; will-change: transform; }
/* Слой 0 — глубина: еле заметные облака газа и общий тон */
#space-bg .sp-l0 {
  inset: -10%;
  background:
    radial-gradient(60% 45% at 18% 22%, rgba(64, 150, 79, 0.28), transparent 70%),
    radial-gradient(50% 40% at 85% 12%, rgba(64, 150, 79, 0.22), transparent 70%),
    radial-gradient(70% 50% at 70% 85%, rgba(49, 121, 87, 0.22), transparent 70%),
    radial-gradient(120% 80% at 50% 50%, #f7faf5 0%, #fbfcfa 70%);
}
/* Слой 1 — «Космические утёсы» (Webb, NASA/ESA/CSA/STScI): снизу экрана, тает кверху */
#space-bg .sp-l1 {
  left: -6%; right: -6%; bottom: -14%; height: 78%;
  background: url(../space/cg-neb-gold.webp?v=2) 50% 100% / cover no-repeat;
  opacity: .62;
  filter: saturate(1.08) brightness(.82);
  -webkit-mask-image: linear-gradient(to top, #dde2d9 0%, #dde2d9 42%, rgba(25, 61, 45, 0.22) 70%, transparent 100%);
  mask-image: linear-gradient(to top, #dde2d9 0%, #dde2d9 42%, rgba(25, 61, 45, 0.22) 70%, transparent 100%);
}
/* Слой 2 — «Мистическая гора» (Hubble, NASA/ESA/STScI): дальний план вверху справа, светом поверх */
#space-bg .sp-l2 {
  top: -12%; right: -10%; width: 70%; height: 80%;
  background: url(../space/cg-neb-teal.webp?v=2) 50% 40% / cover no-repeat;
  opacity: .36;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #dde2d9 25%, rgba(25, 61, 45, 0.22) 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, #dde2d9 25%, rgba(25, 61, 45, 0.22) 60%, transparent 100%);
}
#space-fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#space-bg .sp-vignette {
  inset: 0;
  background:
    radial-gradient(130% 95% at 50% 40%, transparent 55%, rgba(252, 253, 252, 0.75) 100%),
    linear-gradient(to bottom, rgba(251, 252, 250, 0.35), transparent 22%);
  will-change: auto;
}
@media (max-width: 980px) {
  #space-bg .sp-l1 { background-image: url(../space/cg-neb-gold-m.webp?v=2); height: 62%; left: -30%; right: -30%; opacity: .55; }
  #space-bg .sp-l2 { background-image: url(../space/cg-neb-teal-m.webp?v=2); width: 120%; right: -40%; height: 60%; opacity: .3; }
}

/* ---------- Объёмное стекло: общий рецепт ---------- */
.sp-theme .sp-glass,
.sp-theme .main-navigation,
.sp-theme #contentwrapper,
.sp-theme .sp-col .banners,
.sp-theme .sp-col .banners2,
.sp-theme .sp-footer .footer__container,
.sp-theme #popup {
  background:
    linear-gradient(180deg, rgba(25, 61, 45, 0.032), rgba(25, 61, 45, 0) 120px) padding-box,
    linear-gradient(var(--sp-glass), var(--sp-glass)) padding-box,
    var(--sp-edge-grad) border-box;
  border: 1px solid transparent;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  -webkit-backdrop-filter: var(--sp-blur);
  backdrop-filter: var(--sp-blur);
}

/* ---------- Шапка ---------- */
.sp-theme .sp-header { position: relative; }
.sp-theme .sp-header::before {
  /* стекло шапки — на псевдоэлементе, чтобы кнопки внутри могли стать position:fixed */
  content: ""; position: absolute; inset: 8px -10px 2px; z-index: -1; border-radius: 22px;
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(187, 237, 112, 0.14), transparent 60%),
    linear-gradient(rgba(247, 249, 245, 0.45), rgba(247, 249, 245, 0.45));
  border: 1px solid rgba(47, 122, 79, 0.108);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.036), 0 20px 40px -24px rgba(32, 59, 42, 0.27);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.sp-theme .sp-logo:hover { text-shadow: none; }
.sp-theme .sp-logo__emblem { filter: drop-shadow(0 0 10px rgba(110, 170, 60, 0.193)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.sp-theme .sp-logo:hover .sp-logo__emblem { transform: rotate(-14deg) scale(1.06); }
.sp-theme .sp-logo__name {
  background: linear-gradient(100deg, #ffffff 0%, #d4f4a4 30%, #cef297 55%, #d4f4a4 80%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #1a201d;
  filter: drop-shadow(0 0 14px rgba(110, 170, 60, 0.158));
  animation: sp-shine 9s ease-in-out infinite;
}
.sp-theme .sp-logo__tag { color: var(--sp-muted); }
@keyframes sp-shine { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.sp-theme #baner-serf { border-radius: 8px; box-shadow: 0 0 0 1px rgba(110, 170, 60, 0.056), 0 8px 24px -10px rgba(32, 59, 42, 0.27); }
.sp-theme .sp-header__adlinks { color: var(--sp-muted); }
.sp-theme .sp-header__adlinks a { color: var(--sp-muted); }
.sp-theme .sp-header__adlinks a:hover { color: var(--sp-cyan); }
.sp-theme .sp-iconbtn {
  color: #212824; border: 1px solid rgba(47, 122, 79, 0.252);
  background: linear-gradient(160deg, rgba(51, 125, 91, 0.75), rgba(242, 246, 238, 0.85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.072), 0 6px 18px -6px rgba(32, 59, 42, 0.27), 0 0 18px -6px rgba(110, 170, 60, 0.21);
}
.sp-theme .sp-iconbtn:active { transform: scale(.95); }

/* ---------- Верхнее меню ---------- */
.sp-theme .main-navigation { padding: 5px; margin-bottom: 0; border-radius: 18px; }
.sp-theme .main-navigation__link {
  color: #2d3732; text-shadow: none; box-shadow: none; background: transparent;
  border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 500; letter-spacing: .2px;
  position: relative;
}
.sp-theme .main-navigation__link:hover {
  color: #101412; background: rgba(195, 239, 129, 0.12);
  box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.087), 0 0 18px -4px rgba(110, 170, 60, 0.193);
  text-shadow: none;
}
.sp-theme .main-navigation__link_active,
.sp-theme .main-navigation__link_active:hover {
  color: #101412; background: var(--sp-accent-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 20px -6px rgba(110, 170, 60, 0.297), 0 0 24px -6px rgba(110, 170, 60, 0.28);
}
.sp-theme .main-navigation__link_regard {
  background: linear-gradient(90deg, rgba(187, 237, 112, 0.35), rgba(187, 237, 112, 0.35), rgba(173, 234, 83, 0.35));
  background-size: 200% 100%; animation: gradientMove 6s ease infinite; color: #101412;
}
.sp-theme .sp-nav-hot { color: var(--sp-gold) !important; text-shadow: none; }
.sp-theme .sp-nav-hot::after {
  content: ""; position: absolute; top: 7px; right: 6px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sp-gold); box-shadow: 0 0 8px 2px rgba(110, 170, 60, 0.245);
}
.sp-theme .link_language { color: #2d3732; border-radius: 12px; }
.sp-theme .link_language:hover { background: rgba(195, 239, 129, 0.12); }
.sp-theme .dropdown-toggle__avatar, .sp-theme .flags::after { filter: invert(88%) sepia(10%) saturate(600%) hue-rotate(185deg); }
.sp-theme .dropdown-menu {
  background: var(--sp-glass-solid); border: 1px solid var(--sp-edge); border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 40px -10px rgba(32, 59, 42, 0.27), 0 0 0 1px rgba(110, 170, 60, 0.028);
}
.sp-theme .dropdown-menu li > a { color: var(--sp-text); }
.sp-theme .dropdown-menu li > a:hover { background: rgba(195, 239, 129, 0.16); color: #101412; }

/* ---------- Цепочка ссылок и бегущая строка ---------- */
.sp-theme .link-chain {
  border-radius: 12px; opacity: .9; height: auto; min-height: 25px;
  background: rgba(244, 248, 242, 0.55); border-width: 1px; border-style: solid;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.036), 0 8px 20px -10px rgba(32, 59, 42, 0.27);
}
.sp-theme .link-chain:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 0 22px -4px currentColor; }
.sp-theme .color-chain-black, .sp-theme .color-chain-black:hover { border-color: rgba(25, 61, 45, 0.22); color: #222a26; }
.sp-theme .color-chain-blue, .sp-theme .color-chain-blue:hover { border-color: #2f7a4f; color: #2f7a4f; }
.sp-theme .color-chain-green, .sp-theme .color-chain-green:hover { border-color: #3fcf7f; color: #298e54; }
.sp-theme .color-chain-red, .sp-theme .color-chain-red:hover { border-color: #ff5f6d; color: #ba2c3a; }
.sp-theme .color-chain-brown, .sp-theme .color-chain-brown:hover { border-color: #2f7a4f; color: #2f7a4f; }
.sp-theme .add-chain {
  color: var(--sp-cyan); border: 1px solid rgba(47, 122, 79, 0.405); border-radius: 12px;
  background: rgba(242, 246, 239, 0.5); box-shadow: 0 0 18px -6px rgba(110, 170, 60, 0.245), inset 0 1px 0 rgba(255, 255, 255, 0.048);
}
.sp-theme .add-chain:hover { background: rgba(189, 238, 116, 0.15); color: #101412; box-shadow: 0 0 26px -4px rgba(110, 170, 60, 0.315); }
.sp-theme .sp-marquee { border-radius: 12px; padding: 6px 10px; background: rgba(246, 249, 244, 0.55); border: 1px solid var(--sp-edge); }
.sp-theme .sp-marquee__text { color: var(--sp-green); font-weight: 600; }

/* ---------- Центр и колонки ---------- */
.sp-theme #contentwrapper { padding: 20px 22px 44px; }
.sp-theme .sp-col .banners, .sp-theme .sp-col .banners2 {
  padding: 0 0 12px; margin-bottom: 16px; overflow: hidden;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s;
}
.sp-theme .sp-col .banners:hover { box-shadow: var(--sp-shadow-lift); }

/* Заголовки страниц (.titles) — светящаяся строка с линией */
.sp-theme .titles {
  position: relative; background: none; color: var(--sp-head); text-shadow: none;
  font-size: 21px; font-weight: 600; letter-spacing: .3px; padding: 4px 8px 14px; margin: 0 0 18px; border-radius: 0;
}
.sp-theme .titles::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: min(320px, 70%); height: 2px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--sp-cyan), #baed6d, transparent);
  box-shadow: 0 0 12px rgba(110, 170, 60, 0.28);
  border-radius: 2px;
}
/* Заголовки карточек колонок (.titles2) */
.sp-theme .titles2 {
  background: linear-gradient(180deg, rgba(195, 239, 129, 0.16), rgba(195, 239, 129, 0));
  color: #1b211e; text-shadow: none;
  font-size: 12.5px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  padding: 11px 10px 10px; margin: 0 0 10px !important;
  border-bottom: 1px solid rgba(47, 122, 79, 0.144);
}
.sp-theme .titles2 i { font-style: normal; text-transform: none; letter-spacing: .3px; color: var(--sp-gold); }
.sp-theme .title { color: var(--sp-head); }

/* ---------- Левое меню пользователя ---------- */
.sp-theme .usermnutitle-g, .sp-theme .usermnutitle-g:hover {
  background: rgba(239, 244, 235, 0.72); color: #1b211e; text-shadow: none; font-weight: 600; letter-spacing: .3px;
  border: 1px solid rgba(47, 122, 79, 0.126); border-radius: 12px; margin: 0 0 6px; padding: 11px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.036), 0 8px 18px -10px rgba(32, 59, 42, 0.27);
}
.sp-theme .usermnutitle-g:hover {
  background: linear-gradient(135deg, rgba(173, 234, 83, 0.45), rgba(173, 234, 83, 0.45));
  border-color: rgba(47, 122, 79, 0.36); box-shadow: 0 0 22px -6px rgba(110, 170, 60, 0.28);
}
.sp-theme .usermnutitle-g::before { filter: invert(80%) sepia(30%) saturate(900%) hue-rotate(170deg) brightness(1.1); margin-right: 6px; }
.sp-theme .usermnublock { padding: 2px 0 8px; }
.sp-theme .user_menuline, .sp-theme .usermnuline-act {
  color: #323d38; border-left: 3px solid transparent; border-radius: 0 10px 10px 0; padding: 7px 10px 7px 14px; margin: 1px 0;
}
.sp-theme .user_menuline:hover { background: rgba(195, 239, 129, 0.1); color: #101412; border-color: rgba(47, 122, 79, 0.45); }
.sp-theme .usermnuline-act, .sp-theme .usermnuline-act:hover {
  background: linear-gradient(90deg, rgba(189, 238, 116, 0.18), rgba(189, 238, 116, 0)); color: #101412; border-color: var(--sp-cyan);
  box-shadow: inset 3px 0 12px -6px rgba(110, 170, 60, 0.315);
}
.sp-theme .logtext { color: var(--sp-green); }

/* ---------- Кнопки ---------- */
.sp-theme .btn,
.sp-theme input[type="submit"], .sp-theme input[type="button"], .sp-theme button.btn {
  position: relative; color: #101412; text-shadow: 0 1px 2px rgba(32, 59, 42, 0.135); border: 0; border-radius: 12px;
  background: var(--sp-accent-grad); font-weight: 600; letter-spacing: .2px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.168), inset 0 -2px 0 rgba(32, 59, 42, 0.075), 0 6px 18px -6px rgba(110, 170, 60, 0.28), 0 0 0 1px rgba(110, 170, 60, 0.087);
  transition: transform .18s, box-shadow .25s, filter .25s, background .25s;
}
.sp-theme .btn { padding: 7px 16px 8px; }
.sp-theme .btn:hover,
.sp-theme input[type="submit"]:hover, .sp-theme input[type="button"]:hover {
  color: #101412; transform: translateY(-1px); filter: brightness(1.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 26px -6px rgba(110, 170, 60, 0.332), 0 0 26px -4px rgba(110, 170, 60, 0.28);
}
.sp-theme .btn:active, .sp-theme input[type="submit"]:active { transform: translateY(1px); }
.sp-theme .btn.green, .sp-theme .btn.green:hover { background: var(--sp-accent-grad); }
.sp-theme .btn.blue, .sp-theme .btn.orange, .sp-theme .btn_big_green, .sp-theme .btn_big_blue { background: linear-gradient(135deg, #0f9f8f, #40964f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 18px -6px rgba(110, 170, 60, 0.28); }
.sp-theme .btn.blue:hover, .sp-theme .btn.orange:hover { background: linear-gradient(135deg, #14b8a6, #adea53); }
.sp-theme .btn.red, .sp-theme .btn_big_red { background: linear-gradient(135deg, #e0435c, #40964f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 18px -6px rgba(230, 60, 110, 0.24); }
.sp-theme .btn.red:hover { background: linear-gradient(135deg, #f0546d, #40964f); }
.sp-theme .btn.gray, .sp-theme .btn.black { background: linear-gradient(135deg, #dae5d0, #e6eedf); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 6px 16px -8px rgba(32, 59, 42, 0.27); }
.sp-theme .btn_big_orange { background: linear-gradient(135deg, #40964f, #e2553a); }
.sp-theme .btn_big_green, .sp-theme .btn_big_red, .sp-theme .btn_big_orange, .sp-theme .btn_big_blue { border: 0; border-radius: 12px; text-shadow: 0 1px 2px rgba(32, 59, 42, 0.12); }
.sp-theme .btn_big_green:hover, .sp-theme .btn_big_red:hover, .sp-theme .btn_big_orange:hover, .sp-theme .btn_big_blue:hover { border: 0; opacity: 1; filter: brightness(1.12); }

/* Плитки выбора вида рекламы (advertise) и подменю заказа */
.sp-theme .menu-add { width: auto; max-width: 620px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sp-theme .menu-add a, .sp-theme .menu-zacaz-dop a {
  position: relative; width: auto; display: block; padding: 12px 14px; margin: 0; border-radius: 14px;
  color: #181d1a; text-shadow: none; font-weight: 600;
  background: linear-gradient(160deg, rgba(53, 130, 94, 0.5), rgba(240, 245, 236, 0.72));
  border: 1px solid rgba(47, 122, 79, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.048), 0 10px 22px -12px rgba(32, 59, 42, 0.27);
  transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
}
.sp-theme .menu-add a span { display: block; margin-top: 3px; color: var(--sp-muted); font-weight: 400; font-size: 12px; }
.sp-theme .menu-add a:hover, .sp-theme .menu-zacaz-dop a:hover, .sp-theme .menu-zacaz-dop a.active {
  background: linear-gradient(160deg, rgba(64, 150, 79, 0.6), rgba(173, 234, 83, 0.45)); border-color: rgba(47, 122, 79, 0.45);
  transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.084), 0 0 26px -6px rgba(110, 170, 60, 0.28);
}
.sp-theme .menu-add a:hover span { color: #262e2a; }

/* Гостевая панель слева: статистика и кнопки входа/регистрации */
.sp-theme .sp-col .stats {
  padding: 8px 12px 12px; margin-bottom: 14px; border-radius: var(--sp-radius);
  background: linear-gradient(var(--sp-glass), var(--sp-glass)) padding-box, var(--sp-edge-grad) border-box;
  border: 1px solid transparent; box-shadow: var(--sp-shadow);
  -webkit-backdrop-filter: var(--sp-blur); backdrop-filter: var(--sp-blur);
}
.sp-theme .sp-col .stats .title { margin: 8px 0; color: var(--sp-head); }
.sp-theme .sp-col .stats .t2 { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--sp-muted); }
.sp-theme .sp-col .stats .t3 { color: #101412; text-shadow: none; }
.sp-theme .sp-col .stats .bord { height: 1px; border: 0; margin: 6px auto; width: 70%; background: linear-gradient(90deg, transparent, rgba(189, 238, 116, 0.6), transparent); }
.sp-theme .sp-col .stats strong { color: var(--sp-muted) !important; text-shadow: none !important; }
.sp-theme .right-control-wrap { display: grid; gap: 10px; margin-bottom: 16px; }
.sp-theme .button2 { border-radius: 12px; min-height: 44px; display: flex; align-items: center; justify-content: center; text-shadow: none; font-weight: 600; box-sizing: border-box; }
.sp-theme .button_theme_green { background: var(--sp-accent-grad); color: #101412; border: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 22px -8px rgba(110, 170, 60, 0.315); }
.sp-theme .button_theme_white { background: rgba(241, 245, 237, 0.6); color: #1e2522; border: 1px solid rgba(47, 122, 79, 0.36); box-shadow: 0 0 20px -8px rgba(110, 170, 60, 0.28); }
.sp-theme .button_theme_green:hover, .sp-theme .button_theme_white:hover { filter: brightness(1.15); color: #101412; }

/* Разные блоки страниц */
.sp-theme .cashback-money-add { background: rgba(233, 247, 242, 0.28); border: 1px solid rgba(94, 227, 154, 0.45); border-radius: 14px; color: #1a201d; box-shadow: 0 0 26px -10px rgba(94, 227, 154, 0.21); }
.sp-theme .ajaxchat .tos-chat { background: var(--sp-glass-solid); color: var(--sp-text); border-radius: 14px; }

/* Графики Highcharts (выплаты, статистика) — прозрачный фон и светлые подписи */
.sp-theme .highcharts-background { fill: rgba(25, 37, 31, 0.35) !important; }
.sp-theme .highcharts-plot-background { fill: transparent !important; }
.sp-theme .highcharts-grid-line { stroke: rgba(47, 122, 79, 0.108) !important; }
.sp-theme .highcharts-axis-line, .sp-theme .highcharts-tick { stroke: rgba(47, 122, 79, 0.27) !important; }
.sp-theme .highcharts-container text, .sp-theme .highcharts-legend-item text, .sp-theme .highcharts-axis-labels text { fill: #394640 !important; color: #394640 !important; }
.sp-theme .highcharts-title, .sp-theme .highcharts-title tspan { fill: #181d1a !important; }
.sp-theme .highcharts-tooltip-box { fill: rgba(25, 37, 31, 0.95) !important; stroke: rgba(47, 122, 79, 0.36) !important; }
.sp-theme .highcharts-credits { display: none; }

/* ---------- Формы ---------- */
.sp-theme input, .sp-theme select, .sp-theme textarea {
  color: #1a1f1c; background-color: var(--sp-field); border: 1px solid rgba(47, 122, 79, 0.198); border-radius: 10px;
  box-shadow: inset 0 2px 6px rgba(32, 59, 42, 0.135);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.sp-theme input::placeholder, .sp-theme textarea::placeholder { color: #2f7a4f; }
.sp-theme input:focus, .sp-theme select:focus, .sp-theme textarea:focus {
  border-color: rgba(47, 122, 79, 0.45); background-color: rgba(247, 249, 244, 0.8);
  box-shadow: inset 0 2px 6px rgba(32, 59, 42, 0.135), 0 0 0 3px rgba(110, 170, 60, 0.056), 0 0 18px -4px rgba(110, 170, 60, 0.21);
}
.sp-theme select option { background: #f2f6ef; color: #1a1f1c; }
.sp-theme input[type="checkbox"], .sp-theme input[type="radio"] { accent-color: #2f7a4f; box-shadow: none; }
.sp-theme input[type="file"] { background: transparent; box-shadow: none; border: 0; }
.sp-theme input[type="image"] { background: transparent; border: 0; box-shadow: none; }
.sp-theme input:-webkit-autofill { -webkit-text-fill-color: #1a1f1c; -webkit-box-shadow: 0 0 0 40px #dde2d9 inset; caret-color: #101412; }
.sp-theme label { color: inherit; }

/* ---------- Таблицы ---------- */
.sp-theme table { color: inherit; }
.sp-theme .table, .sp-theme .table-pay, .sp-theme .tables { border-radius: 12px; overflow: hidden; }
.sp-theme .table th, .sp-theme .table-pay th, .sp-theme th {
  background: linear-gradient(180deg, rgba(173, 234, 83, 0.34), rgba(64, 150, 79, 0.22));
  color: #181d1a; text-shadow: none; font-weight: 600; letter-spacing: .2px;
  border-bottom: 1px solid rgba(47, 122, 79, 0.315);
}
.sp-theme .table td, .sp-theme .table-pay td { border-bottom: 1px solid rgba(47, 122, 79, 0.09); }
.sp-theme .table tr:hover td, .sp-theme .table-pay tr:hover td { background: rgba(195, 239, 129, 0.06); }

/* ---------- Сообщения ---------- */
.sp-theme .msg-warning, .sp-theme .msg-error, .sp-theme .msg-ok, .sp-theme .msg-info2 {
  border-radius: 12px; text-shadow: none; color: #151a17; border: 1px solid; padding: 12px 14px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sp-theme .msg-warning { background: rgba(37, 89, 65, 0.35); border-color: rgba(47, 122, 79, 0.405); box-shadow: 0 0 22px -8px rgba(110, 170, 60, 0.21); }
.sp-theme .msg-error { background: rgba(140, 20, 50, 0.38); border-color: rgba(255, 110, 130, 0.55); box-shadow: 0 0 22px -8px rgba(255, 90, 120, 0.21); }
.sp-theme .msg-ok, .sp-theme .msg-info2 { background: rgba(233, 247, 242, 0.35); border-color: rgba(94, 227, 154, 0.5); box-shadow: 0 0 22px -8px rgba(94, 227, 154, 0.18); }

/* ---------- Плавающие ярлыки: онлайн, чат, техподдержка, уведомления ---------- */
.sp-theme .on_line, .sp-theme .go2_ajaxchat {
  background: linear-gradient(160deg, rgba(51, 124, 90, 0.85), rgba(243, 247, 239, 0.9)); color: #1e2521;
  border: 1px solid rgba(47, 122, 79, 0.315); border-bottom: 0; text-shadow: none;
  opacity: .92; box-shadow: 0 0 18px -6px rgba(110, 170, 60, 0.28);
}
.sp-theme .go2_ajaxchat a { color: #1e2521; font-size: 14px; letter-spacing: 1px; }
.sp-theme .on_line { color: var(--sp-green); }
.sp-theme .support_panel {
  background: linear-gradient(160deg, rgba(51, 124, 90, 0.85), rgba(243, 247, 239, 0.9)); border: 1px solid rgba(47, 122, 79, 0.315);
  opacity: .9; box-shadow: 0 0 18px -6px rgba(110, 170, 60, 0.28); font-size: 15px; line-height: 12px;
}
.sp-support-x { color: #ba2c3e; cursor: pointer; font-size: 12px; }
.sp-support-text { color: #1e2521; }
.sp-theme #load-new-mess .mew-mail-mess, .sp-theme #load-new-mess-s .mew-mail-mess {
  background: var(--sp-glass-solid); border: 1px solid var(--sp-edge); border-radius: 12px; opacity: .96;
  box-shadow: 0 12px 30px -10px rgba(32, 59, 42, 0.27), 0 0 20px -8px rgba(110, 170, 60, 0.245);
}
.sp-theme .sp-scrollbtn {
  border-radius: 50%; padding: 9px; box-sizing: border-box;
  background: linear-gradient(160deg, rgba(51, 124, 90, 0.8), rgba(243, 247, 239, 0.9)); border: 1px solid rgba(47, 122, 79, 0.27);
  box-shadow: 0 0 18px -6px rgba(110, 170, 60, 0.28);
}
.sp-theme .sp-scrollbtn img { filter: grayscale(1) brightness(2.2); opacity: .9; }

/* ---------- Всплывающее окно ---------- */
.sp-theme #popup { background-color: transparent; color: var(--sp-text); overflow: hidden; border-radius: 18px; box-shadow: 0 30px 80px -10px rgba(32, 59, 42, 0.285), var(--sp-shadow-lift); }
.sp-theme #popup { background:
    linear-gradient(var(--sp-glass-solid), var(--sp-glass-solid)) padding-box,
    var(--sp-edge-grad) border-box; }
.sp-theme #popup .title-popup { background: linear-gradient(135deg, rgba(173, 234, 83, 0.55), rgba(173, 234, 83, 0.5)); color: #101412; text-shadow: none; font-weight: 600; }
.sp-theme #popup .closed-popup { color: #101412; }
.sp-theme .pop-up-footer { background: rgba(195, 239, 129, 0.1); }

/* ---------- Подвал ---------- */
.sp-theme .sp-footer { background: none; }
.sp-theme .sp-footer .footer__container { border-radius: 20px 20px 0 0; border-bottom: 0; }
.sp-theme .sp-footlinks a { color: var(--sp-muted); font-size: 12.5px; text-decoration: none; }
.sp-theme .sp-footlinks a:hover { color: var(--sp-cyan); }
.sp-theme .sp-footstats { color: var(--sp-muted); }
.sp-theme .sp-footstats b { color: var(--sp-cyan); font-weight: 600; }
.sp-theme .sp-copy { color: var(--sp-muted); }
.sp-theme .sp-copy__name { color: #2f7a4f; font-weight: 600; }

/* ---------- 3D-наклон карточек (только мышь, ставит space-fx.js) ---------- */
.sp-tilt { position: relative; transform-style: preserve-3d; }
.sp-tilt.sp-tilting {
  transform: perspective(900px) rotateX(var(--sp-rx, 0deg)) rotateY(var(--sp-ry, 0deg)) translateZ(0);
  transition: transform .12s linear, box-shadow .3s;
}
.sp-tilt:not(.sp-tilting) { transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.sp-tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--sp-mx, 50%) var(--sp-my, 50%), rgba(212, 244, 164, 0.16), transparent 45%);
}
.sp-tilt.sp-tilting::after { opacity: 1; }

/* ---------- Главная страница (index.tpl) ---------- */
.sp-hero { position: relative; text-align: center; padding: 16px 6px 8px; }
.sp-hero__kicker { display: inline-block; font-size: 11.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--sp-cyan); padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(47, 122, 79, 0.315); background: rgba(240, 245, 236, 0.35); box-shadow: 0 0 18px -6px rgba(110, 170, 60, 0.245); }
.sp-hero__title { font-size: 34px; line-height: 1.15; margin: 16px 0 10px; color: #101412; text-shadow: none; font-weight: 700; }
.sp-hero__title span { background: linear-gradient(100deg, #d4f4a4, #cef297 45%, #d4f4a4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sp-hero__lead { max-width: 640px; margin: 0 auto; color: #3a4740; font-size: 15px; }
.sp-hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 22px 0 6px; }
.sp-hero__cta .btn { font-size: 15px; padding: 12px 24px; min-height: 46px; box-sizing: border-box; display: inline-flex; align-items: center; }
.sp-btn-ghost.btn { background: rgba(241, 245, 237, 0.6); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.14), 0 0 20px -8px rgba(110, 170, 60, 0.28); }
.sp-btn-ghost.btn:hover { background: rgba(55, 135, 98, 0.55); }
.sp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 6px; }
.sp-stat { position: relative; padding: 14px 10px; text-align: center; border-radius: 14px; background: rgba(242, 246, 239, 0.6); border: 1px solid rgba(47, 122, 79, 0.144); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.036), 0 12px 24px -14px rgba(32, 59, 42, 0.27); }
.sp-stat b { display: block; font-size: 22px; color: #101412; text-shadow: none; }
.sp-stat span { font-size: 12px; color: var(--sp-muted); }
.sp-section-title { text-align: center; font-size: 20px; color: var(--sp-head); margin: 34px 0 16px; font-weight: 600; text-shadow: none; }
.sp-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sp-card {
  position: relative; padding: 20px 18px 18px; border-radius: 18px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(185, 237, 107, 0.16), transparent 55%) padding-box,
    linear-gradient(rgba(243, 247, 240, 0.72), rgba(243, 247, 240, 0.72)) padding-box,
    var(--sp-edge-grad) border-box;
  border: 1px solid transparent; box-shadow: var(--sp-shadow);
}
.sp-card:hover { box-shadow: var(--sp-shadow-lift); }
.sp-card__icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; background: linear-gradient(145deg, rgba(180, 235, 97, 0.35), rgba(182, 236, 102, 0.25)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 10px 24px -10px rgba(110, 170, 60, 0.315); transform: translateZ(30px); }
.sp-card__icon img { width: 46px; height: 46px; object-fit: contain; }
.sp-card h3 { margin: 0 0 8px; font-size: 18px; text-align: left; transform: translateZ(20px); }
.sp-card p { margin: 0; color: #3c4a43; line-height: 1.55; }
.sp-adtypes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sp-adtype { position: relative; text-align: center; padding: 16px 6px 12px; border-radius: 16px; background: rgba(243, 247, 240, 0.66); border: 1px solid rgba(47, 122, 79, 0.144); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.036), 0 12px 24px -14px rgba(32, 59, 42, 0.27); color: #1e2522; font-size: 13px; }
.sp-adtype img { width: 54px; height: 54px; display: block; margin: 0 auto 8px; filter: drop-shadow(0 6px 12px rgba(32, 59, 42, 0.18)); transform: translateZ(26px); }
.sp-adtype:hover { box-shadow: var(--sp-shadow-lift); border-color: rgba(47, 122, 79, 0.36); }
.sp-prices { list-style: none; margin: 0; padding: 6px; border-radius: 16px; background: rgba(244, 248, 242, 0.55); border: 1px solid rgba(47, 122, 79, 0.126); }
.sp-prices li { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; border-bottom: 1px solid rgba(47, 122, 79, 0.072); color: #303b35; line-height: 1.5; }
.sp-prices li:last-child { border-bottom: 0; }
.sp-prices li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--sp-cyan); box-shadow: 0 0 10px 1px rgba(110, 170, 60, 0.28); transform: translateY(-1px); }
.sp-prices b { color: var(--sp-gold); font-weight: 600; white-space: nowrap; }
.sp-prices .sp-yt { color: #ba2c2c; }
.sp-prices .sp-vk { color: #2f7a4f; }

@media (max-width: 980px) {
  .sp-theme #contentwrapper { padding: 16px 12px 30px; border-radius: 18px; }
  .sp-theme .sp-col { background: rgba(248, 250, 246, 0.9); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-right: 1px solid rgba(47, 122, 79, 0.162); box-shadow: 20px 0 60px -10px rgba(32, 59, 42, 0.27); }
  .sp-theme .sp-col-right { border-right: 0; border-left: 1px solid rgba(47, 122, 79, 0.162); box-shadow: -20px 0 60px -10px rgba(32, 59, 42, 0.27); }
  .sp-theme .sp-drawer-close { color: #212824; background: rgba(51, 125, 91, 0.5); border: 1px solid rgba(47, 122, 79, 0.252); }
  .sp-theme .sp-shade { background: rgba(252, 253, 251, 0.6); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
  .sp-theme .main-navigation { border-radius: 14px; padding: 3px; }
  .sp-theme .main-navigation__link { padding: 12px 14px; }
  .sp-theme .titles { font-size: 19px; }
  .sp-hero__title { font-size: 26px; }
  .sp-hero__kicker { font-size: 10px; letter-spacing: 1.6px; padding: 6px 12px; }
  .sp-stats { gap: 8px; }
  .sp-stat b { font-size: 18px; }
  .sp-features { grid-template-columns: 1fr; }
  .sp-adtypes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-theme .menu-add { grid-template-columns: 1fr; }
  /* Ярлыки по краям экрана на телефоне — компактные «таблетки» внизу */
  .sp-theme .on_line, .sp-theme .go2_ajaxchat {
    transform: none; right: auto; top: auto; bottom: 14px; width: auto; height: 34px; line-height: 32px; padding: 0 12px;
    border-radius: 999px; border-bottom: 1px solid rgba(47, 122, 79, 0.315); font-size: 13px;
  }
  .sp-theme .on_line { left: 10px; }
  .sp-theme .on_line .onpovorot { font-size: 13px; }
  .sp-theme .on_line .onpovorot::before { content: "● "; color: var(--sp-green); text-shadow: none; }
  .sp-theme .go2_ajaxchat { left: 74px; }
  .sp-theme .go2_ajaxchat a { font-size: 12px; }
  .sp-theme .support_panel { display: none; }
  .sp-theme .sp-scrollbtn { width: 40px; height: 40px; right: 10px; }
}
@media (max-width: 420px) {
  .sp-hero__title { font-size: 23px; }
  .sp-adtypes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-hero__cta .btn { flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 980px) {
  .sp-theme table.sp-stack > tbody > tr, .sp-theme table.sp-stack > tr { border-bottom: 1px solid rgba(47, 122, 79, 0.09); }
  .sp-theme table.sp-stack > tbody > tr:last-child { border-bottom: 0; }
}

/* ---------- Без анимаций по желанию системы ----------
   BUX2: только пока посетитель сам не включил анимацию переключателем «Анимация» (html[data-cg-motion="on"], cosmos.js) */
@media (prefers-reduced-motion: reduce) {
  html:not([data-cg-motion="on"]) .sp-theme *, html:not([data-cg-motion="on"]) .sp-theme *::before, html:not([data-cg-motion="on"]) .sp-theme *::after { animation: none !important; transition: none !important; }
  html:not([data-cg-motion="on"]) .sp-tilt.sp-tilting { transform: none; }
  html:not([data-cg-motion="on"]) #space-bg .sp-layer { transform: none !important; }
}
