@charset "UTF-8";
/* ==========================================================================
   Тема «Глубокий космос» — оформление всего сайта (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: #d5def3;
  --sp-muted: #8f9cc4;
  --sp-head: #f2f6ff;
  --sp-cyan: #67e8f9;
  --sp-blue: #7cb4ff;
  --sp-violet: #b49bff;
  --sp-pink: #f0abfc;
  --sp-gold: #fcd77a;
  --sp-green: #5ee39a;
  --sp-red: #ff7a85;
  --sp-link: #8fd3ff;
  --sp-link-hover: #e0f4ff;
  --sp-glass: rgba(11, 16, 38, .66);
  --sp-glass-2: rgba(15, 22, 52, .78);
  --sp-glass-solid: rgba(9, 13, 31, .94);
  --sp-field: rgba(4, 8, 24, .62);
  --sp-edge: rgba(148, 178, 255, .18);
  --sp-edge-hi: rgba(160, 205, 255, .5);
  --sp-edge-grad: linear-gradient(145deg, rgba(150, 200, 255, .55), rgba(150, 190, 255, .08) 38%, rgba(140, 120, 255, .05) 62%, rgba(200, 140, 255, .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(40, 80, 200, .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(140, 200, 255, .25),
    0 0 36px -6px rgba(90, 160, 255, .45);
  --sp-accent-grad: linear-gradient(135deg, #2b6cf6 0%, #6d3df0 55%, #b42ee0 100%);
  --sp-accent-grad-h: linear-gradient(135deg, #3d7dff 0%, #7f52ff 55%, #c94af2 100%);
  --sp-cyan-grad: linear-gradient(135deg, #0ea5c6 0%, #2563eb 100%);
  /* бывшие «золотые» полосы старого дизайна (подставляет base.css) — полупрозрачное сине-фиолетовое стекло */
  --sp-gold-grad: linear-gradient(135deg, rgba(52, 92, 220, .5), rgba(112, 64, 230, .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: #33427a #070a18; }
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(103, 232, 249, .35); color: #fff; }
.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: 0 0 12px rgba(120, 200, 255, .55); }
.sp-theme h1, .sp-theme h2, .sp-theme h3, .sp-theme h4 { color: var(--sp-head); text-shadow: 0 0 18px rgba(120, 170, 255, .25); 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(150, 190, 255, .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(56, 70, 180, .28), transparent 70%),
    radial-gradient(50% 40% at 85% 12%, rgba(120, 40, 160, .22), transparent 70%),
    radial-gradient(70% 50% at 70% 85%, rgba(20, 90, 140, .22), transparent 70%),
    radial-gradient(120% 80% at 50% 50%, #070a1d 0%, #04050d 70%);
}
/* Слой 1 — «Космические утёсы» (Webb, NASA/ESA/CSA/STScI): снизу экрана, тает кверху */
#space-bg .sp-l1 {
  left: -6%; right: -6%; bottom: -14%; height: 78%;
  background: url(neb-cliffs.webp) 50% 100% / cover no-repeat;
  opacity: .62;
  filter: saturate(1.08) brightness(.82);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 42%, rgba(0, 0, 0, .55) 70%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, #000 42%, rgba(0, 0, 0, .55) 70%, transparent 100%);
}
/* Слой 2 — «Мистическая гора» (Hubble, NASA/ESA/STScI): дальний план вверху справа, светом поверх */
#space-bg .sp-l2 {
  top: -12%; right: -10%; width: 70%; height: 80%;
  background: url(neb-mystic.webp) 50% 40% / cover no-repeat;
  opacity: .36;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, rgba(0, 0, 0, .5) 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 25%, rgba(0, 0, 0, .5) 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(2, 3, 9, .75) 100%),
    linear-gradient(to bottom, rgba(4, 5, 13, .35), transparent 22%);
  will-change: auto;
}
@media (max-width: 980px) {
  #space-bg .sp-l1 { background-image: url(neb-cliffs-m.webp); height: 62%; left: -30%; right: -30%; opacity: .55; }
  #space-bg .sp-l2 { background-image: url(neb-mystic-m.webp); 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(255, 255, 255, .045), rgba(255, 255, 255, 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(90, 140, 255, .14), transparent 60%),
    linear-gradient(rgba(8, 12, 30, .45), rgba(8, 12, 30, .45));
  border: 1px solid rgba(150, 190, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 40px -24px rgba(0, 0, 0, .9);
  -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(80, 170, 255, .55)); 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%, #bfe6ff 30%, #8ab4ff 55%, #d6b8ff 80%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #e8f0ff;
  filter: drop-shadow(0 0 14px rgba(110, 170, 255, .45));
  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(150, 190, 255, .16), 0 8px 24px -10px rgba(0, 0, 0, .9); }
.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: #dbeafe; border: 1px solid rgba(150, 190, 255, .28);
  background: linear-gradient(160deg, rgba(40, 60, 130, .75), rgba(14, 20, 48, .85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 18px -6px rgba(0, 0, 0, .9), 0 0 18px -6px rgba(90, 160, 255, .6);
}
.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: #c9d6f5; 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: #fff; background: rgba(120, 160, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(150, 200, 255, .25), 0 0 18px -4px rgba(90, 160, 255, .55);
  text-shadow: 0 0 10px rgba(150, 210, 255, .8);
}
.sp-theme .main-navigation__link_active,
.sp-theme .main-navigation__link_active:hover {
  color: #fff; background: var(--sp-accent-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 20px -6px rgba(110, 70, 255, .85), 0 0 24px -6px rgba(80, 140, 255, .8);
}
.sp-theme .main-navigation__link_regard {
  background: linear-gradient(90deg, rgba(255, 90, 160, .35), rgba(120, 90, 255, .35), rgba(40, 200, 255, .35));
  background-size: 200% 100%; animation: gradientMove 6s ease infinite; color: #fff;
}
.sp-theme .sp-nav-hot { color: var(--sp-gold) !important; text-shadow: 0 0 10px rgba(252, 215, 122, .6); }
.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(252, 215, 122, .7);
}
.sp-theme .link_language { color: #c9d6f5; border-radius: 12px; }
.sp-theme .link_language:hover { background: rgba(120, 160, 255, .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(0, 0, 0, .9), 0 0 0 1px rgba(150, 190, 255, .08);
}
.sp-theme .dropdown-menu li > a { color: var(--sp-text); }
.sp-theme .dropdown-menu li > a:hover { background: rgba(120, 160, 255, .16); color: #fff; }

/* ---------- Цепочка ссылок и бегущая строка ---------- */
.sp-theme .link-chain {
  border-radius: 12px; opacity: .9; height: auto; min-height: 25px;
  background: rgba(10, 16, 40, .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, .06), 0 8px 20px -10px rgba(0, 0, 0, .9);
}
.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(200, 210, 240, .5); color: #dfe6f7; }
.sp-theme .color-chain-blue, .sp-theme .color-chain-blue:hover { border-color: #6c8cff; color: #9fb4ff; }
.sp-theme .color-chain-green, .sp-theme .color-chain-green:hover { border-color: #3fcf7f; color: #7cf0ad; }
.sp-theme .color-chain-red, .sp-theme .color-chain-red:hover { border-color: #ff5f6d; color: #ff9aa4; }
.sp-theme .color-chain-brown, .sp-theme .color-chain-brown:hover { border-color: #d48a5a; color: #f0b48b; }
.sp-theme .add-chain {
  color: var(--sp-cyan); border: 1px solid rgba(103, 232, 249, .45); border-radius: 12px;
  background: rgba(10, 30, 50, .5); box-shadow: 0 0 18px -6px rgba(103, 232, 249, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.sp-theme .add-chain:hover { background: rgba(103, 232, 249, .15); color: #fff; box-shadow: 0 0 26px -4px rgba(103, 232, 249, .9); }
.sp-theme .sp-marquee { border-radius: 12px; padding: 6px 10px; background: rgba(8, 14, 34, .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: 0 0 22px rgba(120, 170, 255, .5);
  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), #8b5cf6, transparent);
  box-shadow: 0 0 12px rgba(103, 232, 249, .8);
  border-radius: 2px;
}
/* Заголовки карточек колонок (.titles2) */
.sp-theme .titles2 {
  background: linear-gradient(180deg, rgba(120, 160, 255, .16), rgba(120, 160, 255, 0));
  color: #e6efff; text-shadow: 0 0 12px rgba(120, 180, 255, .6);
  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(150, 190, 255, .16);
}
.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(16, 24, 58, .72); color: #e6efff; text-shadow: none; font-weight: 600; letter-spacing: .3px;
  border: 1px solid rgba(150, 190, 255, .14); border-radius: 12px; margin: 0 0 6px; padding: 11px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 8px 18px -10px rgba(0, 0, 0, .9);
}
.sp-theme .usermnutitle-g:hover {
  background: linear-gradient(135deg, rgba(43, 108, 246, .45), rgba(109, 61, 240, .45));
  border-color: rgba(160, 200, 255, .4); box-shadow: 0 0 22px -6px rgba(100, 150, 255, .8);
}
.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: #c4d0ee; 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(120, 160, 255, .1); color: #fff; border-color: rgba(103, 232, 249, .6); }
.sp-theme .usermnuline-act, .sp-theme .usermnuline-act:hover {
  background: linear-gradient(90deg, rgba(103, 232, 249, .18), rgba(103, 232, 249, 0)); color: #fff; border-color: var(--sp-cyan);
  box-shadow: inset 3px 0 12px -6px rgba(103, 232, 249, .9);
}
.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: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); 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, .28), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 6px 18px -6px rgba(100, 70, 255, .8), 0 0 0 1px rgba(170, 150, 255, .25);
  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: #fff; transform: translateY(-1px); filter: brightness(1.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 26px -6px rgba(110, 80, 255, .95), 0 0 26px -4px rgba(90, 160, 255, .8);
}
.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, #1677d8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 18px -6px rgba(20, 180, 200, .8); }
.sp-theme .btn.blue:hover, .sp-theme .btn.orange:hover { background: linear-gradient(135deg, #14b8a6, #2b8af0); }
.sp-theme .btn.red, .sp-theme .btn_big_red { background: linear-gradient(135deg, #e0435c, #a3237a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 18px -6px rgba(230, 60, 110, .8); }
.sp-theme .btn.red:hover { background: linear-gradient(135deg, #f0546d, #b8338c); }
.sp-theme .btn.gray, .sp-theme .btn.black { background: linear-gradient(135deg, #3a4568, #252c48); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 6px 16px -8px rgba(0, 0, 0, .9); }
.sp-theme .btn_big_orange { background: linear-gradient(135deg, #f59e0b, #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(0, 0, 0, .4); }
.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: #eef3ff; text-shadow: none; font-weight: 600;
  background: linear-gradient(160deg, rgba(40, 62, 140, .5), rgba(16, 22, 54, .72));
  border: 1px solid rgba(150, 190, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 22px -12px rgba(0, 0, 0, .9);
  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(60, 90, 220, .6), rgba(110, 60, 230, .45)); border-color: rgba(160, 205, 255, .5);
  transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 26px -6px rgba(100, 150, 255, .8);
}
.sp-theme .menu-add a:hover span { color: #cfe0ff; }

/* Гостевая панель слева: статистика и кнопки входа/регистрации */
.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: #fff; text-shadow: 0 0 12px rgba(103, 232, 249, .6); }
.sp-theme .sp-col .stats .bord { height: 1px; border: 0; margin: 6px auto; width: 70%; background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .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: #fff; border: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 22px -8px rgba(110, 70, 255, .9); }
.sp-theme .button_theme_white { background: rgba(14, 22, 54, .6); color: #dfe9ff; border: 1px solid rgba(150, 200, 255, .4); box-shadow: 0 0 20px -8px rgba(103, 232, 249, .8); }
.sp-theme .button_theme_green:hover, .sp-theme .button_theme_white:hover { filter: brightness(1.15); color: #fff; }

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

/* Графики Highcharts (выплаты, статистика) — прозрачный фон и светлые подписи */
.sp-theme .highcharts-background { fill: rgba(6, 10, 28, .35) !important; }
.sp-theme .highcharts-plot-background { fill: transparent !important; }
.sp-theme .highcharts-grid-line { stroke: rgba(150, 180, 255, .12) !important; }
.sp-theme .highcharts-axis-line, .sp-theme .highcharts-tick { stroke: rgba(150, 180, 255, .3) !important; }
.sp-theme .highcharts-container text, .sp-theme .highcharts-legend-item text, .sp-theme .highcharts-axis-labels text { fill: #b8c6ea !important; color: #b8c6ea !important; }
.sp-theme .highcharts-title, .sp-theme .highcharts-title tspan { fill: #eef3ff !important; }
.sp-theme .highcharts-tooltip-box { fill: rgba(9, 13, 31, .95) !important; stroke: rgba(150, 190, 255, .4) !important; }
.sp-theme .highcharts-credits { display: none; }

/* ---------- Формы ---------- */
.sp-theme input, .sp-theme select, .sp-theme textarea {
  color: #eaf1ff; background-color: var(--sp-field); border: 1px solid rgba(150, 185, 255, .22); border-radius: 10px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.sp-theme input::placeholder, .sp-theme textarea::placeholder { color: #7482ad; }
.sp-theme input:focus, .sp-theme select:focus, .sp-theme textarea:focus {
  border-color: rgba(103, 232, 249, .7); background-color: rgba(6, 12, 34, .8);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45), 0 0 0 3px rgba(103, 232, 249, .16), 0 0 18px -4px rgba(103, 232, 249, .6);
}
.sp-theme select option { background: #0b1130; color: #eaf1ff; }
.sp-theme input[type="checkbox"], .sp-theme input[type="radio"] { accent-color: #6d5cff; 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: #eaf1ff; -webkit-box-shadow: 0 0 0 40px #0b1430 inset; caret-color: #fff; }
.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(80, 110, 220, .34), rgba(60, 70, 180, .22));
  color: #eef4ff; text-shadow: none; font-weight: 600; letter-spacing: .2px;
  border-bottom: 1px solid rgba(140, 190, 255, .35);
}
.sp-theme .table td, .sp-theme .table-pay td { border-bottom: 1px solid rgba(140, 170, 255, .1); }
.sp-theme .table tr:hover td, .sp-theme .table-pay tr:hover td { background: rgba(120, 160, 255, .06); }

/* ---------- Сообщения ---------- */
.sp-theme .msg-warning, .sp-theme .msg-error, .sp-theme .msg-ok, .sp-theme .msg-info2 {
  border-radius: 12px; text-shadow: none; color: #f4f7ff; border: 1px solid; padding: 12px 14px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sp-theme .msg-warning { background: rgba(120, 90, 20, .35); border-color: rgba(252, 215, 122, .45); box-shadow: 0 0 22px -8px rgba(252, 215, 122, .6); }
.sp-theme .msg-error { background: rgba(140, 20, 50, .38); border-color: rgba(255, 110, 130, .55); box-shadow: 0 0 22px -8px rgba(255, 90, 120, .7); }
.sp-theme .msg-ok, .sp-theme .msg-info2 { background: rgba(10, 110, 80, .35); border-color: rgba(94, 227, 154, .5); box-shadow: 0 0 22px -8px rgba(94, 227, 154, .6); }

/* ---------- Плавающие ярлыки: онлайн, чат, техподдержка, уведомления ---------- */
.sp-theme .on_line, .sp-theme .go2_ajaxchat {
  background: linear-gradient(160deg, rgba(36, 56, 130, .85), rgba(12, 18, 46, .9)); color: #e0ecff;
  border: 1px solid rgba(150, 190, 255, .35); border-bottom: 0; text-shadow: 0 0 8px rgba(120, 180, 255, .8);
  opacity: .92; box-shadow: 0 0 18px -6px rgba(90, 150, 255, .8);
}
.sp-theme .go2_ajaxchat a { color: #e0ecff; font-size: 14px; letter-spacing: 1px; }
.sp-theme .on_line { color: var(--sp-green); }
.sp-theme .support_panel {
  background: linear-gradient(160deg, rgba(36, 56, 130, .85), rgba(12, 18, 46, .9)); border: 1px solid rgba(150, 190, 255, .35);
  opacity: .9; box-shadow: 0 0 18px -6px rgba(90, 150, 255, .8); font-size: 15px; line-height: 12px;
}
.sp-support-x { color: #ffb3bd; cursor: pointer; font-size: 12px; }
.sp-support-text { color: #e0ecff; }
.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(0, 0, 0, .9), 0 0 20px -8px rgba(90, 150, 255, .7);
}
.sp-theme .sp-scrollbtn {
  border-radius: 50%; padding: 9px; box-sizing: border-box;
  background: linear-gradient(160deg, rgba(36, 56, 130, .8), rgba(12, 18, 46, .9)); border: 1px solid rgba(150, 190, 255, .3);
  box-shadow: 0 0 18px -6px rgba(90, 150, 255, .8);
}
.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(0, 0, 0, .95), 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(43, 108, 246, .55), rgba(109, 61, 240, .5)); color: #fff; text-shadow: 0 0 10px rgba(150, 200, 255, .7); font-weight: 600; }
.sp-theme #popup .closed-popup { color: #fff; }
.sp-theme .pop-up-footer { background: rgba(120, 160, 255, .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: #d6c2ff; 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(170, 210, 255, .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(103, 232, 249, .35); background: rgba(10, 40, 60, .35); box-shadow: 0 0 18px -6px rgba(103, 232, 249, .7); }
.sp-hero__title { font-size: 34px; line-height: 1.15; margin: 16px 0 10px; color: #fff; text-shadow: 0 0 30px rgba(110, 170, 255, .55); font-weight: 700; }
.sp-hero__title span { background: linear-gradient(100deg, #9be7ff, #8ab4ff 45%, #d6b8ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sp-hero__lead { max-width: 640px; margin: 0 auto; color: #b9c6e8; 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(14, 22, 54, .6); box-shadow: inset 0 0 0 1px rgba(150, 200, 255, .4), 0 0 20px -8px rgba(103, 232, 249, .8); }
.sp-btn-ghost.btn:hover { background: rgba(40, 70, 150, .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(12, 20, 48, .6); border: 1px solid rgba(150, 190, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 24px -14px rgba(0, 0, 0, .9); }
.sp-stat b { display: block; font-size: 22px; color: #fff; text-shadow: 0 0 16px rgba(103, 232, 249, .7); }
.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: 0 0 18px rgba(120, 170, 255, .45); }
.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(80, 130, 255, .16), transparent 55%) padding-box,
    linear-gradient(rgba(12, 18, 44, .72), rgba(12, 18, 44, .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(60, 100, 255, .35), rgba(150, 70, 255, .25)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 10px 24px -10px rgba(90, 120, 255, .9); 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: #b6c3e6; 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(12, 18, 44, .66); border: 1px solid rgba(150, 190, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 24px -14px rgba(0, 0, 0, .9); color: #dfe8ff; font-size: 13px; }
.sp-adtype img { width: 54px; height: 54px; display: block; margin: 0 auto 8px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .6)); transform: translateZ(26px); }
.sp-adtype:hover { box-shadow: var(--sp-shadow-lift); border-color: rgba(150, 200, 255, .4); }
.sp-prices { list-style: none; margin: 0; padding: 6px; border-radius: 16px; background: rgba(10, 16, 40, .55); border: 1px solid rgba(150, 190, 255, .14); }
.sp-prices li { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; border-bottom: 1px solid rgba(150, 190, 255, .08); color: #c8d3ef; 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(103, 232, 249, .8); transform: translateY(-1px); }
.sp-prices b { color: var(--sp-gold); font-weight: 600; white-space: nowrap; }
.sp-prices .sp-yt { color: #ff7b7b; }
.sp-prices .sp-vk { color: #8db7ff; }

@media (max-width: 980px) {
  .sp-theme #contentwrapper { padding: 16px 12px 30px; border-radius: 18px; }
  .sp-theme .sp-col { background: rgba(6, 9, 24, .9); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-right: 1px solid rgba(150, 190, 255, .18); box-shadow: 20px 0 60px -10px rgba(0, 0, 0, .9); }
  .sp-theme .sp-col-right { border-right: 0; border-left: 1px solid rgba(150, 190, 255, .18); box-shadow: -20px 0 60px -10px rgba(0, 0, 0, .9); }
  .sp-theme .sp-drawer-close { color: #dbeafe; background: rgba(40, 60, 130, .5); border: 1px solid rgba(150, 190, 255, .28); }
  .sp-theme .sp-shade { background: rgba(2, 4, 12, .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(150, 190, 255, .35); 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: 0 0 8px var(--sp-green); }
  .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(150, 190, 255, .1); }
  .sp-theme table.sp-stack > tbody > tr:last-child { border-bottom: 0; }
}

/* ---------- Без анимаций по желанию системы ---------- */
@media (prefers-reduced-motion: reduce) {
  .sp-theme *, .sp-theme *::before, .sp-theme *::after { animation: none !important; transition: none !important; }
  .sp-tilt.sp-tilting { transform: none; }
  #space-bg .sp-layer { transform: none !important; }
}
