/* The Kwortex - новый дизайн сайта (светлая фиолетовая тема, зимой снег и сияние). Заменяет style.css и premium.css. */

/* ---------- шрифт Nunito (свой, без Google Fonts) ---------- */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-cyrillic-ext.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- токены ---------- */
:root {
  /* тёмная ночная тема (17.11.2026): фон #15101f..#1d1530, карточки #241a38, текст #ece6ff, приглушённый #b7a9d6 */
  --x-violet: #b69cff; --x-violet-bg: #7c3aed; --x-violet-2: #a78bfa; --x-violet-ink: #cbb8ff;
  --x-lilac: #1d1530; --x-lilac-2: #33264f; --x-gold: #fbbf24; --x-navy: #ece6ff; --x-muted: #b7a9d6;
  --x-bg-0: #15101f; --x-bg-1: #1d1530; --x-card: #241a38; --x-card-2: #2b2042; --x-line: rgba(167, 139, 250, .22);
  --x-r: 18px;
  --x-shadow: 0 14px 34px -16px rgba(0, 0, 0, .7), 0 0 0 1px rgba(167, 139, 250, .14), 0 0 26px -12px rgba(124, 58, 237, .45);
  --x-shadow-lift: 0 24px 48px -18px rgba(0, 0, 0, .8), 0 0 0 1px rgba(167, 139, 250, .3), 0 0 36px -10px rgba(124, 58, 237, .6);
  --x-grad: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 55%, #6d28d9 100%);
  --x-font: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --x-green: #4ade80; --x-red: #f87171;
  /* совместимость со старыми модулями (тикеты и т.п.) */
  --line: rgba(167, 139, 250, .22); --y: #7c3aed; --muted: #5b5683; --ink: #1e1b4b; --text: #1e1b4b; --body: var(--x-font); --head: var(--x-font); --kx-head: var(--x-font);
  --shadow: var(--x-shadow); --ease: cubic-bezier(.2, .8, .2, 1); --kx-ease: cubic-bezier(.2, .8, .2, 1); --grad: var(--x-grad);
  color-scheme: only dark;   /* сайт сам тёмный: браузер не должен перекрашивать его своей авто-темой */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--x-lilac); }
body { margin: 0; overflow-x: hidden; font-family: var(--x-font); color: var(--x-navy); font-weight: 600; font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; background: var(--x-lilac); }
img { max-width: 100%; display: block; }
figure { margin-inline: 0; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 900; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--x-font); color: var(--x-navy); line-height: 1.2; }
small { font-size: max(12px, .85em); }
button, input, select, textarea { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--x-violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: #ddd0fb; }
.x-ico { image-rendering: auto; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 12px; background: var(--x-violet-bg); color: #fff; font-weight: 900; transition: top .2s; }
.skip:focus { top: 12px; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .92em; background: var(--x-lilac-2); color: var(--x-violet-ink); padding: 1px 6px; border-radius: 6px; }

/* ---------- фон ---------- */
.x-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: linear-gradient(120deg, #f5f0ff, #ece2ff, #fdf4ff, #efe7ff, #f5f0ff); background-size: 400% 400%; animation: x-shimmer 26s ease-in-out infinite; }
.is-winter .x-bg { background-image: linear-gradient(120deg, #eef2ff, #e9e4ff, #e0f2fe, #efe7ff, #eef2ff); }
@keyframes x-shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.x-cloud { position: absolute; width: 260px; height: 80px; background: #fff; border-radius: 80px; opacity: .55; filter: blur(2px); animation: x-drift linear infinite; }
.x-cloud::before, .x-cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.x-cloud::before { width: 110px; height: 110px; top: -55px; left: 40px; }
.x-cloud::after { width: 140px; height: 140px; top: -75px; right: 40px; }
.x-cloud:nth-last-child(3) { top: 22%; animation-duration: 110s; animation-delay: -20s; }
.x-cloud:nth-last-child(2) { top: 55%; transform: scale(.7); animation-duration: 140s; animation-delay: -80s; opacity: .45; }
.x-cloud:last-child { top: 82%; transform: scale(.9); animation-duration: 125s; animation-delay: -50s; }
@keyframes x-drift { from { left: -320px; } to { left: 110vw; } }
.x-aurora { position: absolute; left: -10%; right: -10%; top: -15%; height: 75vh; filter: blur(34px); opacity: .9; animation: x-aurora 18s ease-in-out infinite alternate;
  background: radial-gradient(38% 55% at 18% 40%, rgba(45, 212, 191, .32), transparent 70%), radial-gradient(34% 50% at 55% 28%, rgba(167, 139, 250, .42), transparent 70%), radial-gradient(30% 48% at 86% 42%, rgba(56, 189, 248, .34), transparent 70%); }
@keyframes x-aurora { from { transform: translateX(-4%) skewX(-8deg); } to { transform: translateX(4%) skewX(8deg); } }
#x-particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.x-page { position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column; }
.x-page > main, .x-page > .x-layout { flex: 1 0 auto; }
.x-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: clamp(14px, 3vw, 28px); }

/* ---------- шапка ---------- */
.x-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(124, 58, 237, .12); box-shadow: 0 6px 24px -18px rgba(76, 29, 149, .5); transition: background .2s, box-shadow .2s; }
.x-nav.scrolled { background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px -18px rgba(76, 29, 149, .55); }
.x-nav__in { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.x-nav__logo { flex: none; }
.x-nav__logo img { height: 44px; width: auto; }
#nav { margin: 0 auto; }
.x-nav__links { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.x-nav__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; color: var(--x-navy); font-weight: 800; font-size: 14.5px; white-space: nowrap; transition: background .2s, color .2s; }
.x-nav__links a img { width: 20px; height: 20px; flex: none; }
.x-nav__links a:hover { background: var(--x-lilac-2); color: var(--x-violet-ink); }
.x-nav__links a.is-active { background: #e9ddff; color: var(--x-violet-ink); }
.x-nav__auth { display: flex; gap: 8px; align-items: center; flex: none; }
.x-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--x-lilac-2); color: var(--x-violet); cursor: pointer; margin-left: auto; align-items: center; justify-content: center; }
.x-burger span, .x-burger span::before, .x-burger span::after { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: currentColor; position: relative; transition: transform .25s, opacity .2s; }
.x-burger span::before, .x-burger span::after { content: ""; position: absolute; left: 0; }
.x-burger span::before { top: -6px; } .x-burger span::after { top: 6px; }
.menu-open .x-burger span { background: transparent; }
.menu-open .x-burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .x-burger span::after { transform: translateY(-6px) rotate(-45deg); }
.x-user { position: relative; }
.x-user__btn { gap: 8px; padding: 0 14px 0 10px; }
.x-ava { width: 24px; height: 24px; flex: none; border-radius: 6px; image-rendering: pixelated; box-shadow: 0 0 0 2px var(--x-lilac-2); }
.x-uname { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.x-user__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 230px; padding: 8px; display: grid; gap: 2px; background: #fff; }
.x-user__menu a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--x-navy); font-weight: 800; }
.x-user__menu a:hover { background: var(--x-lilac-2); color: var(--x-violet); }
.x-user__menu img { width: 22px; height: 22px; }
.tk-navbadge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: #db2777; color: #fff; font: 900 11.5px/1 var(--x-font); }

/* ---------- кнопки ---------- */
.x-btn, .btn, .btn2, .hbtn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; font-family: var(--x-font); font-weight: 900; font-size: 15px; line-height: 1.1; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; text-decoration: none; }
.x-btn::after, .btn::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.x-btn:hover::after, .btn:hover::after { left: 130%; }
.x-btn:hover, .btn:hover, .btn2:hover { transform: translateY(-2px); }
.x-btn:disabled, .btn:disabled, .btn2:disabled { opacity: .6; cursor: wait; transform: none; }
.x-btn--primary, .btn { background: #7c3aed var(--x-grad); color: #fff; box-shadow: 0 10px 22px -10px rgba(124, 58, 237, .8); }
.x-btn--white, .btn2 { background: #fff; color: var(--x-navy); box-shadow: 0 8px 20px -12px rgba(76, 29, 149, .45); border: 1px solid rgba(124, 58, 237, .15); }
.x-btn--white:hover, .btn2:hover { color: var(--x-violet); }
.x-btn--pink { background: #be185d linear-gradient(135deg, #ec4899, #db2777 50%, #14b8a6); color: #fff; box-shadow: 0 10px 22px -10px rgba(219, 39, 119, .7); }
.x-btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.x-btn--sm, .btn2.sm, .btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn2.sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn-danger { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.btn-danger:hover { background: #dc2626; color: #fff; }
.btn.loading, .x-btn.loading { pointer-events: none; color: transparent !important; }
.btn.loading::before, .x-btn.loading::before { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: kxSpin .7s linear infinite; }
@keyframes kxSpin { to { transform: rotate(360deg); } }
.btnlink { text-decoration: none; }

/* ---------- главная: hero ---------- */
.x-hero { position: relative; overflow: hidden; min-height: clamp(560px, 78vh, 760px); display: flex; align-items: center; }
.x-hero__bg { position: absolute; inset: -6% 0 -6% 0; will-change: transform; }
.x-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; max-width: none; animation: x-kenburns 32s ease-in-out infinite alternate; }
@keyframes x-kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -1.5%); } }
.x-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(245, 240, 255, .78) 0%, rgba(245, 240, 255, .35) 38%, rgba(245, 240, 255, 0) 60%); }
.x-hero__in { position: relative; z-index: 2; width: 100%; padding-block: 48px 120px; }
.x-hero__copy { max-width: 560px; }
.x-hero__logo { width: min(460px, 88%); height: auto; animation: x-float 5s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(167, 139, 250, .75)) drop-shadow(0 10px 18px rgba(76, 29, 149, .25)); }
@keyframes x-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.x-hero h1 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 900; line-height: 1.12; margin-top: 10px; }
.x-hero h1 span { display: block; color: #b45309; font-size: .68em; text-shadow: 0 2px 0 var(--x-gold), 0 0 14px rgba(255, 255, 255, .9); }
.x-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; padding: 0; list-style: none; }
.x-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .88); font-weight: 900; font-size: 13.5px; letter-spacing: .04em; color: var(--x-violet); box-shadow: var(--x-shadow); }
.x-badges li img { width: 24px; height: 24px; flex: none; }
.x-badges li:nth-child(2) { color: #be185d; }
.x-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.x-hero__edge { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; height: 90px; width: 100%; display: block; fill: var(--x-lilac); }
.is-winter .x-hero__edge { fill: #eef2ff; }

/* ---------- сетка главной ---------- */
.x-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 28px; padding-block: 8px 72px; }
.x-main { display: grid; gap: 48px; min-width: 0; align-content: start; }
.x-side { display: grid; gap: 18px; align-content: start; }
.x-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.x-sechead h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 900; display: flex; align-items: center; gap: 10px; }
.x-sechead h2 img { width: 40px; height: 40px; flex: none; }
.x-more { color: var(--x-violet); font-weight: 900; min-height: 44px; display: inline-flex; align-items: center; gap: 4px; }
.x-more:hover { text-decoration: underline; }
.x-chev { flex: none; }
.x-hico { display: flex; align-items: center; gap: 10px; }
.x-hico img { width: 32px; height: 32px; flex: none; }
.x-banner__ico { width: 56px; height: 56px; flex: none; }
.x-empty { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--x-muted); font-weight: 800; padding: 10px 0; }
.x-empty img { width: 28px; height: 28px; flex: none; }

/* ---------- карточки ---------- */
.x-card, .card { color: var(--x-navy); background-color: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .85); border-radius: var(--x-r); box-shadow: var(--x-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.card { padding: 22px; }
.x-lift:hover { transform: translateY(-6px); box-shadow: var(--x-shadow-lift); }
.x-winter { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background-image: linear-gradient(135deg, rgba(224, 242, 254, .85), rgba(237, 233, 254, .85)); }
.x-winter--new { background-image: linear-gradient(135deg, rgba(237, 228, 255, .9), rgba(252, 231, 243, .85)); }
.x-winter h2 { font-size: 22px; font-weight: 900; }
.x-winter p { color: var(--x-muted); }
.x-winter .x-btn { margin-left: auto; flex: none; }

.x-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.x-news article { overflow: hidden; display: flex; flex-direction: column; }
.x-news__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--x-lilac-2); }
.x-news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.x-news article:hover .x-news__media img { transform: scale(1.06); }
.x-date { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--x-violet); font-weight: 900; font-size: 13px; box-shadow: 0 4px 10px rgba(30, 27, 75, .15); }
.x-news__body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.x-news h3 { font-size: 18px; font-weight: 900; line-height: 1.25; }
.x-news p, .x-news li { color: var(--x-muted); font-size: 14.5px; }
.x-news__full { display: grid; gap: 8px; }
.x-news__full ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.x-news__full b, .x-news__full strong { color: var(--x-navy); }
.x-read { justify-self: start; display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; min-height: 44px; color: var(--x-violet); font: inherit; font-weight: 900; cursor: pointer; }
.x-read:hover { text-decoration: underline; }
.x-news--all { grid-template-columns: minmax(0, 1fr); }
.x-news--all .x-news__body { padding: 20px 24px 24px; }
.x-news--all h3 { font-size: 22px; }
@media (min-width: 821px) {
  .x-news--all article { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .x-news--all .x-news__media { aspect-ratio: 4 / 3; align-self: start; margin: 14px 0 14px 14px; border-radius: 14px; }
}

.x-servers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.x-server { position: relative; overflow: hidden; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; background-color: #1e1b4b; }
.x-server > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.x-server:hover > img { transform: scale(1.06); }
.x-server::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(30, 27, 75, 0) 20%, rgba(30, 27, 75, .6) 55%, rgba(20, 16, 56, .94) 100%); }
.x-server > *:not(img) { position: relative; z-index: 2; }
.x-server__icon { position: absolute !important; top: 18px; right: 18px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); border: 2px solid rgba(255, 255, 255, .7); }
.x-server__icon img { width: 40px; height: 40px; image-rendering: auto; }
.x-server__icon--gold { background: #6d28d9 linear-gradient(135deg, #fbbf24, #7c3aed); }
.x-server__icon--teal { background: #0f766e linear-gradient(135deg, #14b8a6, #ec4899); }
.x-server h3 { color: #fff; font-size: 28px; font-weight: 900; }
.x-server p { margin: 6px 0 16px; color: rgba(255, 255, 255, .92); font-size: 15px; }
.x-server .x-btn { align-self: flex-start; }

.x-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.x-feat { padding: 20px 18px; border-radius: var(--x-r); box-shadow: var(--x-shadow); transition: transform .25s, box-shadow .25s; }
.x-feat:nth-child(1) { background: linear-gradient(160deg, #efe4ff, #fff); }
.x-feat:nth-child(2) { background: linear-gradient(160deg, #dcfce7, #fff); }
.x-feat:nth-child(3) { background: linear-gradient(160deg, #fef3c7, #fff); }
.x-feat:nth-child(4) { background: linear-gradient(160deg, #fce7f3, #fff); }
.x-feat__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; box-shadow: 0 6px 14px -6px rgba(76, 29, 149, .35); margin-bottom: 12px; }
.x-feat__ico img { width: 40px; height: 40px; image-rendering: auto; }
.x-feat h3 { font-size: 17px; font-weight: 900; }
.x-feat p { color: var(--x-muted); font-size: 14px; margin-top: 4px; }

/* ---------- боковая колонка ---------- */
.x-side .x-card { padding: 18px; }
.x-side h3 { font-size: 18px; font-weight: 900; margin-bottom: 12px; }
.x-srvlist { display: grid; gap: 10px; }
.srvw { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 64px; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: var(--x-lilac); color: var(--x-navy); transition: background .2s, transform .2s; }
.srvw:hover { background: var(--x-lilac-2); transform: translateY(-2px); }
.srvw > img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; }
.srvw-ring { position: relative; width: 52px; height: 52px; display: grid; place-items: center; }
.srvw .ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.srvw .ring circle { fill: none; stroke-width: 8; }
.srvw .ring .trk { stroke: rgba(124, 58, 237, .14); }
.srvw .ring .arc { stroke: var(--x-violet); stroke-linecap: round; stroke-dasharray: 194.779; stroke-dashoffset: 194.779; transform: rotate(-90deg); transform-origin: 40px 40px; transition: stroke-dashoffset .7s ease; }
.srvw .rv { position: relative; font-weight: 900; font-size: 15px; color: var(--x-violet); }
.srvw .si { display: grid; min-width: 0; }
.srvw .si b { font-weight: 900; font-size: 15px; }
.srvw .si small { color: var(--x-muted); font-size: 12.5px; font-weight: 700; }
.srvw .kw-online { display: block; color: var(--x-violet); font-weight: 800; }
.x-social { display: flex; align-items: center; gap: 14px; color: var(--x-navy); }
.x-social__ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.x-social__ico svg { width: 28px; height: 28px; }
.x-ico-discord { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.x-ico-tg { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.x-social b { display: block; font-weight: 900; font-size: 17px; }
.x-social small { color: var(--x-muted); font-size: 14px; }
.x-social__arrow { margin-left: auto; color: var(--x-violet); display: grid; place-items: center; }
.x-vote p { color: var(--x-muted); font-size: 14px; margin: -6px 0 12px; }
.x-vote h4 { margin: 12px 0 8px; font-size: 14px; font-weight: 900; }
.x-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.x-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--x-lilac-2); color: var(--x-violet-ink); font-weight: 900; font-size: 13.5px; transition: background .2s, color .2s, transform .2s; }
.x-pill:hover { background: #6d28d9; color: #fff; transform: translateY(-2px); }
.x-pill.is-active { background: #6d28d9; color: #fff; }
.x-pill--btn { border: 0; font-family: inherit; cursor: pointer; }
.x-pill img { width: 22px; height: 22px; }

/* ---------- подвал ---------- */
.x-foot { position: relative; background: linear-gradient(180deg, #e9ddff, #ddd0fb); padding-block: 40px 28px; margin-top: 70px; }
.x-foot__edge { position: absolute; left: 0; right: 0; top: -59px; height: 60px; width: 100%; display: block; fill: #e9ddff; }
.x-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1.3fr; gap: 28px; }
.x-foot__brand img { width: 200px; height: auto; }
.x-foot__brand p, .x-foot__copy { color: var(--x-muted); font-size: 14px; margin-top: 8px; }
.x-foot__mon a { color: var(--x-violet); font-weight: 800; }
.x-foot__mon a:hover { text-decoration: underline; }
.x-foot h4 { margin: 0 0 8px; font-size: 16px; font-weight: 900; }
.x-foot ul { list-style: none; margin: 0; padding: 0; }
.x-foot ul a { display: inline-flex; align-items: center; min-height: 40px; color: var(--x-navy); font-size: 14.5px; }
.x-foot ul a:hover { color: var(--x-violet); }
.x-join { padding: 22px; border-radius: var(--x-r); background: #7c3aed var(--x-grad); color: #fff; box-shadow: var(--x-shadow); align-self: start; }
.x-join b { display: block; font-size: 18px; font-weight: 900; line-height: 1.25; margin-bottom: 14px; }
.x-join__btns { display: flex; gap: 10px; }
.x-join__btns a { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); color: #fff; transition: background .2s, transform .2s; }
.x-join__btns a:hover { background: rgba(255, 255, 255, .35); transform: translateY(-3px); }
.x-join__btns svg { width: 26px; height: 26px; }
.x-foot__copy { border-top: 1px solid rgba(124, 58, 237, .2); margin-top: 28px; padding-top: 18px; font-size: 13px; }
.x-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: rgba(255, 255, 255, .95); opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .35s; }
.x-cookie.on { opacity: 1; transform: none; }
.x-cookie p { font-size: 14px; color: var(--x-muted); }
.x-cookie a { color: var(--x-violet); font-weight: 800; text-decoration: underline; }
.x-cookie .x-btn { flex: none; }
.x-top { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: #7c3aed var(--x-grad); box-shadow: 0 10px 22px -10px rgba(124, 58, 237, .8); cursor: pointer; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.x-top.is-on { opacity: 1; transform: none; }
.x-has-cookie .x-top { bottom: 100px; }

/* ---------- внутренние страницы ---------- */
.x-pg { padding-block: 32px 40px; display: grid; gap: 24px; align-content: start; }
.x-phead { display: flex; align-items: center; gap: 16px; }
.x-phead img { width: 72px; height: 72px; flex: none; image-rendering: auto; }
.x-phead h1, .x-banner h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; line-height: 1.1; }
.x-phead p { color: var(--x-muted); margin-top: 4px; }
.x-banner { position: relative; overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; padding: 28px; background-color: #1e1b4b; }
.x-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(30, 27, 75, 0) 25%, rgba(20, 16, 56, .9)); }
.x-banner > div { position: relative; z-index: 2; display: grid; gap: 6px; }
.x-banner h1 { color: #fff; overflow-wrap: anywhere; }
.x-banner p { color: rgba(255, 255, 255, .92); }
.x-banner .x-eyebrow { color: var(--x-gold); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.x-banner--cab { min-height: 220px; }
.x-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -8px; }
.x-box { padding: 22px; display: grid; gap: 12px; align-content: start; }
.x-box h2 { font-size: 22px; font-weight: 900; }
.x-box h3 { font-size: 16px; font-weight: 900; }
.x-box p, .x-box li { color: var(--x-muted); }
.x-box p b, .x-box li b { color: var(--x-navy); }
.x-box a:not(.x-btn):not(.x-pill):not(.srvw):not(.x-dl__item):not(.bl-where), .x-legal a, .lnk { color: var(--x-violet); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.x-box ul, .x-box ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.x-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.x-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.x-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.x-facts > div { padding: 10px 14px; border-radius: 14px; background: #f6f2ff; border: 1px solid rgba(124, 58, 237, .16); min-width: 0; }
.x-facts dt { font-size: 13px; font-weight: 800; color: var(--x-muted); }
.x-facts dd { margin: 0; font-weight: 900; color: var(--x-navy); overflow-wrap: anywhere; }
.x-tags { display: flex !important; flex-wrap: wrap; gap: 8px !important; list-style: none; margin: 0; padding: 0 !important; }
.x-box .x-tags li { padding: 6px 12px; border-radius: 999px; background: var(--x-lilac-2); color: var(--x-violet-ink); font-weight: 800; font-size: 13.5px; }
.x-kits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.x-kits figure { margin: 0; padding: 10px; border-radius: 14px; background: var(--x-lilac); display: grid; gap: 6px; align-content: start; }
.x-kits img { width: 100%; height: auto; border-radius: 8px; image-rendering: auto; }
.x-kits figcaption { font-weight: 900; text-align: center; color: var(--x-navy); }
.x-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.x-stat { background-color: #fff; color: var(--x-navy); display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px 18px; }
.x-stat > img { grid-row: span 2; width: 44px; height: 44px; }
.x-stat span { color: var(--x-muted); font-size: 13.5px; font-weight: 800; }
.x-stat b { font-size: 24px; line-height: 1.1; color: var(--x-violet-ink); }
.x-stat--live { display: block; padding: 10px; }
.x-stat--live .srvw { grid-template-columns: 52px minmax(0, 1fr); background: transparent; }
.x-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.x-steps li { counter-increment: s; }
.x-steps li::before { content: counter(s, decimal-leading-zero); font-size: 34px; font-weight: 900; line-height: 1; color: var(--x-violet-2); }
.x-step__ico { width: 44px; height: 44px; }
.x-steps h2 { font-size: 19px; }
.x-steps .x-row { margin-top: auto; }
.x-steps .x-box { align-content: stretch; grid-template-rows: auto auto auto 1fr auto; }
.x-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.x-tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.x-tbl th, .x-tbl td { padding: 10px 12px; border-bottom: 1px solid rgba(124, 58, 237, .12); text-align: left; vertical-align: top; }
.x-tbl thead th { color: var(--x-violet-ink); font-weight: 900; background: #efe7ff; }
.x-tbl thead th:first-child { border-radius: 12px 0 0 12px; } .x-tbl thead th:last-child { border-radius: 0 12px 12px 0; }
.x-tbl tbody tr:hover > * { background: rgba(245, 240, 255, .7); }
.x-tbl .n { white-space: nowrap; font-weight: 900; color: var(--x-violet-ink); }
.x-tbl .c { text-align: center; white-space: nowrap; font-weight: 900; }
.x-tbl tr.hl > * { background: #fff7e0 !important; font-weight: 900; color: var(--x-navy); }
.x-tbl td.p { color: #9d174d; font-weight: 800; min-width: 170px; vertical-align: middle; }
.x-tbl td.p--none { color: var(--x-muted); }
.x-tbl td { color: var(--x-navy); }
.x-toc { position: relative; }
.x-rsec { scroll-margin-top: 90px; }
.x-legal { max-width: 900px; }
.x-legal h2 { font-size: 19px; margin-top: 6px; }
.x-count { color: var(--x-muted); font-weight: 800; }
.x-msg { padding: 10px 14px; border-radius: 12px; background: #dcfce7; color: #14532d; font-weight: 800; }
.x-msg.is-err { background: #fee2e2; color: #7f1d1d; }
.x-warn { padding: 12px 14px; border-radius: 14px; background: #fff1f2; color: #9f1239 !important; }
.x-warn b { color: #be123c !important; }
.x-dl { display: grid; gap: 10px; }
.x-dl__item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: #7c3aed var(--x-grad); color: #fff; box-shadow: 0 12px 24px -12px rgba(124, 58, 237, .8); transition: transform .2s, box-shadow .2s; }
.x-dl__item:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -14px rgba(124, 58, 237, .9); }
.x-dl__item b { display: block; font-size: 17px; color: #fff; }
.x-dl__item small { color: rgba(255, 255, 255, .85); font-weight: 700; }
.x-dl__item .winlogo { width: 38px; height: 38px; fill: #fff; flex: none; }
.x-dl__item img { width: 38px; height: 38px; flex: none; image-rendering: auto; }
.x-dl__item--alt { background: #fff; color: var(--x-navy); border: 1px solid rgba(124, 58, 237, .15); box-shadow: var(--x-shadow); }
.x-dl__item--alt b { color: var(--x-navy); } .x-dl__item--alt small { color: var(--x-muted); }
.x-java { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--x-lilac); font-weight: 900; }
.x-404 { text-align: center; justify-items: center; padding-block: 64px; display: grid; gap: 14px; }
.x-404 img { width: 120px; height: 120px; image-rendering: auto; animation: x-float 5s ease-in-out infinite; }
.x-404 h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 900; }
.x-404 p { color: var(--x-muted); max-width: 520px; }

/* ---------- вход, регистрация ---------- */
.x-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.x-auth__art { position: relative; min-height: 420px; }
.x-auth__art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-auth__art > img { object-position: 50% 100%; }
.x-auth__cap { position: absolute; left: 20px; right: 20px; top: 20px; z-index: 2; color: #fff; padding: 18px 20px; border-radius: 16px; background: rgba(27, 12, 66, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 14px 30px -14px rgba(27, 12, 66, .7); }
.x-auth__cap b { color: #fff; }
.x-auth__cap b { font-size: 24px; display: block; margin-bottom: 8px; }
.x-auth__cap ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.x-auth__cap li { display: flex; gap: 8px; align-items: flex-start; font-weight: 800; color: #f5f3ff; }
.x-auth__cap li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--x-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1b4b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.x-form { padding: clamp(20px, 4vw, 40px); display: grid; gap: 14px; align-content: center; }
.x-form h1 { font-size: 32px; font-weight: 900; }
.x-form__lead { color: var(--x-muted); margin-top: -6px; }
.x-form > .x-btn { width: 100%; }
.alt { color: var(--x-muted); text-align: center; }
.frow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* поля (общие для всех форм сайта) */
.fld { display: grid; gap: 6px; font-weight: 800; font-size: 14px; margin: 0; }
.fld > span:first-child { color: var(--x-navy); }
.x-in, .inp, .tk-sel { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid rgba(124, 58, 237, .25); background: #fbf9ff; font: inherit; font-weight: 700; color: var(--x-navy); transition: border-color .2s, box-shadow .2s, background .2s; }
.x-in::placeholder, .inp::placeholder { color: #9a95b8; font-weight: 600; }
.x-in:focus, .inp:focus, .tk-sel:focus { outline: none; border-color: var(--x-violet); background: #fff; box-shadow: 0 0 0 4px rgba(124, 58, 237, .15); }
select.inp, .sel { cursor: pointer; padding-right: 34px; -webkit-appearance: none; appearance: none; background: #fbf9ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/14px no-repeat; }
.pw { position: relative; display: block; }
.pw .inp { padding-right: 52px; }
.eye { position: absolute; right: 5px; top: 50%; width: 38px; height: 38px; margin-top: -19px; border: 0; border-radius: 10px; cursor: pointer; opacity: .75; transition: opacity .2s, background-color .2s;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/20px no-repeat; }
.eye.on { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18M10.6 5.1A10 10 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-3.2 4M6.1 6.1A17 17 0 0 0 2 12s3.6 7 10 7a9.9 9.9 0 0 0 5.9-1.9M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E"); }
.eye:hover { opacity: 1; background-color: var(--x-lilac-2); }
.hint { color: var(--x-muted); font-weight: 700; font-size: 12.5px; }
.hint.ok { color: var(--x-green); } .hint.bad { color: var(--x-red); }
.meter { display: block; height: 5px; border-radius: 5px; background: var(--x-lilac-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 5px; transition: width .35s var(--ease), background .35s; }
.meter[data-s="0"] i { width: 12%; background: #ef4444; } .meter[data-s="1"] i { width: 30%; background: #f97316; }
.meter[data-s="2"] i { width: 58%; background: #eab308; } .meter[data-s="3"] i { width: 80%; background: #84cc16; } .meter[data-s="4"] i { width: 100%; background: #22c55e; }
.chk { position: relative; display: flex; align-items: flex-start; gap: 10px; font-weight: 700; font-size: 14px; color: var(--x-navy); cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.chk i { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid rgba(124, 58, 237, .4); background: #fff; transition: background .2s, border-color .2s; }
.chk input:checked + i { background: var(--x-violet-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--x-violet); }
.chk input:focus-visible + i { outline: 2px solid var(--x-violet); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { display: none; padding: 10px 14px; border-radius: 12px; font-weight: 800; font-size: 14px; }
.msg.ok, .msg.err { display: block; }
.msg.ok { background: #dcfce7; color: #14532d; }
.msg.err { background: #fee2e2; color: #7f1d1d; }
.muted { color: var(--x-muted); }
.c-r { color: var(--x-red); } .c-g { color: var(--x-green); }
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--x-lilac-2); color: var(--x-violet); font-weight: 900; font-size: 13px; }
.badge.lord { background: linear-gradient(135deg, #fde68a, #fbbf24); color: var(--x-navy); }
.badge.warn { background: #fef3c7; color: #92400e; font-size: 12px; }
form.shake, .kx-shake { animation: kxShake .45s; }
@keyframes kxShake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.lightbox { position: fixed; inset: 0; background: rgba(30, 27, 75, .8); display: flex; align-items: center; justify-content: center; z-index: 100; opacity: 0; transition: opacity .3s; cursor: zoom-out; }
.lightbox.on { opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 16px; }

/* появление при прокрутке (класс .in ставит app.js) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .x-lift.reveal.in:hover { transform: translateY(-6px); }
body.leaving .x-pg, body.leaving .x-layout { opacity: .5; transform: translateY(-8px); transition: opacity .28s, transform .28s; }

/* ---------- личный кабинет ---------- */
.kx-top { align-items: stretch; }
.kx-stage { position: relative; min-height: 360px; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, rgba(167, 139, 250, .25), transparent 60%), linear-gradient(180deg, #e0f2fe, #ede4ff); }
.kx-shadow { position: absolute; left: 50%; bottom: 9%; width: 36%; height: 6%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 27, 75, .35), rgba(30, 27, 75, 0)); pointer-events: none; }
.kx-view { position: absolute; inset: 8px 0 6%; z-index: 1; cursor: grab; }
.kx-view:active { cursor: grabbing; }
.kx-view.skin3d-fallback canvas { image-rendering: pixelated; }
.kx-res { position: absolute; left: 12px; top: 12px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .85); color: var(--x-violet); font-weight: 800; font-size: 12px; }
.kx-hint { color: var(--x-muted); font-size: 13.5px; }
.kx-drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 16px; cursor: pointer; overflow: hidden; background: var(--x-lilac); border: 1.5px dashed rgba(124, 58, 237, .35); transition: border-color .2s, background-color .2s, box-shadow .25s, transform .2s; margin-bottom: 4px; }
.kx-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.kx-drop:hover { border-color: var(--x-violet); }
.kx-drop:focus-within { outline: 2px solid var(--x-violet); outline-offset: 3px; }
.kx-drop.over { border-style: solid; border-color: var(--x-violet); background: var(--x-lilac-2); box-shadow: 0 0 0 4px rgba(124, 58, 237, .14); transform: scale(1.01); }
.kx-drop.busy { cursor: progress; opacity: .85; }
.kx-drop.done { border-style: solid; border-color: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .14); }
.kx-drop-ic { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; color: var(--x-violet); background: #fff; box-shadow: 0 6px 14px -6px rgba(76, 29, 149, .35); }
.kx-drop-ic svg { animation: kxUp 2.4s ease-in-out infinite; }
@keyframes kxUp { 50% { transform: translateY(-3px); } }
.kx-drop-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kx-drop-txt b { font-size: 14.5px; color: var(--x-navy); }
.kx-drop-txt small { color: var(--x-muted); font-weight: 700; }
.kx-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.kx-progress i { display: block; height: 100%; width: 0; background: var(--x-grad); transition: width .2s linear; }
#kxSkinForm { display: grid; gap: 10px; }
.kx-idrow { display: flex; align-items: center; gap: 14px; }
.kx-face { width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; image-rendering: pixelated; box-shadow: 0 0 0 3px var(--x-lilac-2), 0 10px 22px -10px rgba(124, 58, 237, .7); }
.kx-idtext { min-width: 0; display: grid; gap: 6px; }
.cab-name { font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: var(--x-navy); overflow-wrap: anywhere; line-height: 1.1; }
.kx-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kx-until { padding: 3px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; color: #92400e; background: #fef3c7; }
.kx-until:empty { display: none; }
.kx-tiles > div.kx-coins { grid-column: 1 / -1; position: relative; padding-left: 58px; }
.kx-coin { position: absolute; left: 10px; top: 50%; width: 40px; height: 40px; margin-top: -20px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(255, 194, 58, .45)) drop-shadow(0 0 10px rgba(167, 139, 250, .25)); pointer-events: none; }
.kx-coins dd { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.kx-coins dd b { font-size: 22px; color: #b45309; }
.kx-coins dd small { color: var(--x-muted); font-weight: 700; }
.kx-coins.kx-glowing { animation: kxTileGlow 1.8s ease; }
@keyframes kxTileGlow { 20% { box-shadow: 0 0 0 3px rgba(251, 191, 36, .7), 0 0 30px -6px rgba(251, 191, 36, .9); } }
.kx-promo { position: relative; overflow: hidden; }
.kx-promo form { display: grid; gap: 10px; }
.kx-promo-row { display: flex; gap: 10px; }
.kx-code { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 2px; font: 800 15px ui-monospace, "Cascadia Mono", Consolas, monospace !important; }
.kx-code.bad { border-color: var(--x-red) !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .15) !important; }
.kx-fx { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.kx-burst { position: absolute; left: 50%; top: 55%; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -50%); }
.kx-plus { font: 900 44px/1 var(--x-font); background: linear-gradient(180deg, #fde68a, #f59e0b 45%, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 18px rgba(124, 58, 237, .45)); animation: kxPlus 2.4s ease forwards; }
.kx-burst small { font: 900 12px var(--x-font); letter-spacing: 2px; text-transform: uppercase; color: var(--x-violet); animation: kxPlus 2.4s ease forwards; }
@keyframes kxPlus { 0% { transform: scale(.3) translateY(20px); opacity: 0; } 18% { transform: scale(1.15); opacity: 1; } 30% { transform: scale(1); } 75% { opacity: 1; } 100% { transform: translateY(-40px); opacity: 0; } }
.kx-burst i { position: absolute; left: 50%; top: 40%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff2c0, #ffc23a 40%, #c96c00 80%); box-shadow: 0 0 10px rgba(255, 170, 40, .8); opacity: 0; animation: kxCoinFly 1.3s cubic-bezier(.15, .7, .3, 1) var(--dl) forwards; }
@keyframes kxCoinFly { 0% { transform: translate(0, 0) scale(.4); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1); opacity: 0; } }
.kx-reveal { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 26px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 2px var(--x-gold), var(--x-shadow-lift); transform: translate(-50%, -50%); animation: kxReveal .8s ease both; }
.kx-reveal.out { animation: kxRevealOut .5s ease forwards; }
.kx-reveal-k { font: 900 11px var(--x-font); letter-spacing: 2px; text-transform: uppercase; color: var(--x-violet); }
.kx-reveal small { color: var(--x-muted); font-weight: 700; }
@keyframes kxReveal { 0% { transform: translate(-50%, -50%) scale(.6); opacity: 0; } 60% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); } }
@keyframes kxRevealOut { to { transform: translate(-50%, -60%) scale(.9); opacity: 0; } }
.kx-pop { animation: kxPop .7s ease; }
@keyframes kxPop { 35% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(124, 58, 237, .2); } }
.sec-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--x-lilac); }
.sec-row p { font-size: 13.5px; }
details.danger { border-radius: 14px; border: 1px solid #fecaca; background: #fff5f5; padding: 0 14px; }
details.danger summary { cursor: pointer; min-height: 46px; display: flex; align-items: center; font-weight: 900; color: #b91c1c; }
details.danger form { display: grid; gap: 12px; padding-bottom: 14px; }
.kx-pass form { display: grid; gap: 14px; }
.kx-pass form > .x-btn { justify-self: start; }

/* ---------- уведомления ---------- */
.kx-toasts { position: fixed; right: 18px; bottom: 18px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 36px)); pointer-events: none; }
.kx-toast { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px 13px 16px; border-radius: 14px; pointer-events: auto; background: #fff; box-shadow: 0 0 0 1px rgba(124, 58, 237, .14), 0 18px 40px -12px rgba(76, 29, 149, .45); font-weight: 800; font-size: 14px; color: var(--x-navy); transform: translateY(16px) scale(.97); opacity: 0; transition: transform .35s, opacity .3s; }
.kx-toast.on { transform: none; opacity: 1; }
.kx-toast > i { flex-shrink: 0; width: 10px; height: 10px; margin-top: 5px; border-radius: 3px; background: #22c55e; }
.kx-toast.err > i { background: var(--x-red); }
.kx-toast span { flex: 1; min-width: 0; }
.kx-toast button { flex-shrink: 0; width: 22px; height: 22px; border: 0; border-radius: 6px; background: transparent; color: var(--x-muted); font-size: 18px; line-height: 1; cursor: pointer; }
.kx-toast button:hover { background: var(--x-lilac-2); color: var(--x-violet); }

/* ---------- админ-панель ---------- */
.kw-a { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; }
.kw-a__side { position: sticky; top: 92px; display: grid; gap: 4px; padding: 14px; border-radius: var(--x-r); background: rgba(46, 16, 101, .88); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: var(--x-shadow-lift); border: 1px solid rgba(196, 181, 253, .22); }
.kw-a__brand { padding: 6px 10px 12px; color: #c4b5fd; font-size: 12.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.kw-a__nav { display: grid; gap: 4px; }
.kw-a__item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: #ede9fe; font-weight: 800; font-size: 14.5px; transition: background .2s, color .2s; }
.kw-a__item img { width: 24px; height: 24px; flex: none; image-rendering: auto; }
.kw-a__item:hover { background: rgba(196, 181, 253, .16); color: #fff; }
.kw-a__item.is-active { background: #fff; color: var(--x-violet); }
.kw-a__main { display: grid; gap: 20px; min-width: 0; }
.kw-a__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; }
.kw-a__top h1 { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 3vw, 30px); font-weight: 900; }
.kw-a__top h1 img { width: 36px; height: 36px; image-rendering: auto; }
.kw-a__who { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--x-lilac-2); color: var(--x-violet); font-weight: 900; font-size: 14px; }
.live-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.live-top h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 900; }
.live-top h3 img { width: 28px; height: 28px; }
.live-count { padding: 4px 12px; border-radius: 999px; background: var(--x-lilac-2); color: var(--x-violet); font-weight: 900; font-size: 13px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #a8a3c4; box-shadow: 0 0 0 4px rgba(168, 163, 196, .2); }
.dot.on { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: livepulse 1.8s ease-in-out infinite; }
@keyframes livepulse { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, .08); } }
.live-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.lp { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--x-lilac); }
.lp .face { width: 40px; height: 40px; border-radius: 8px; image-rendering: pixelated; flex-shrink: 0; }
.lp-i { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lp-i b { overflow: hidden; text-overflow: ellipsis; }
.lp-i small { color: var(--x-muted); font-size: 12px; }
.lp-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.lp-t { font-weight: 800; font-size: 12px; color: var(--x-navy); }
.gb { font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: #ece9f6; color: var(--x-muted); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb.ok { background: #dcfce7; color: #15803d; } .gb.bad { background: #fee2e2; color: #b91c1c; }
.adm-top { display: flex; align-items: center; gap: 12px; }
.adm-top .inp { max-width: 380px; }
.kx-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.x-tbl.adm { min-width: 720px; }
.x-tbl.adm td { vertical-align: middle; }
.x-tbl.adm .inp { min-height: 38px; font-size: 14px; }
.admbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.kx-prform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.kx-prform .kx-c2 { grid-column: 1 / -1; }
.kx-prform .chk { align-self: end; margin-bottom: 12px; }
.kx-prform > .btn { justify-self: start; }
.kx-prform .inp:disabled { opacity: .5; }
.kx-codefld { display: flex; gap: 8px; }
.kx-codefld .btn2 { width: 48px; flex-shrink: 0; padding: 0; font-size: 18px; }
.kx-prtable { min-width: 720px; }
.kx-copy { border: 0; background: var(--x-lilac-2); color: var(--x-violet); padding: 4px 9px; border-radius: 8px; font: 800 13px ui-monospace, Consolas, monospace; letter-spacing: 1px; cursor: copy; }
.kx-prtable tr.kx-new td { animation: kxNew 2.4s ease; }
@keyframes kxNew { 0%, 40% { background: #fef3c7; } }
#ctAdm > div[style] { align-items: center; }
.kw-ct-msg:empty { display: none; }

/* ---------- платные услуги ---------- */
.kw-d__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.kw-d__bal { color: var(--x-muted); font-weight: 800; }
.kw-d__bal b { color: var(--x-navy); }
.kw-d__note { margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--x-lilac-2); color: var(--x-navy) !important; font-weight: 800; font-size: 14px; }
.kw-d__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; padding-top: 14px; }
.kw-d__card { --t: #16a34a; --t-soft: rgba(22, 163, 74, .12); position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 18px 18px; border-top: 4px solid var(--t); background: #fff; }
.kw-d__card[data-tier="premium"] { --t: #2563eb; --t-soft: rgba(37, 99, 235, .12); }
.kw-d__card[data-tier="deluxe"] { --t: #7c3aed; --t-soft: rgba(124, 58, 237, .12); }
.kw-d__card[data-tier="lord"] { --t: #d97706; --t-soft: rgba(251, 191, 36, .2); border: 2px solid var(--x-gold); border-top-width: 4px; box-shadow: 0 0 0 4px rgba(251, 191, 36, .22), 0 0 32px -4px rgba(251, 191, 36, .65), var(--x-shadow); }
.kw-d__card:hover { transform: translateY(-4px); box-shadow: var(--x-shadow-lift); }
.kw-d__ribbon { position: absolute; top: -13px; right: 16px; padding: 4px 12px; border-radius: 999px; background: var(--t); color: #fff; font-size: 12px; font-weight: 900; box-shadow: 0 6px 14px -6px var(--t); }
.kw-d__card[data-tier="lord"] .kw-d__ribbon { background: linear-gradient(135deg, #fde68a, #fbbf24 50%, #d97706); color: var(--x-navy); }
.kw-d__top { display: flex; align-items: center; gap: 12px; }
.kw-d__crown { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--t-soft); box-shadow: inset 0 0 0 2px var(--t); }
.kw-d__crown img { width: 34px; height: 34px; image-rendering: auto; }
.kw-d__card[data-tier="vip"] .kw-d__crown img { filter: hue-rotate(80deg) saturate(1.4); }
.kw-d__card[data-tier="premium"] .kw-d__crown img { filter: hue-rotate(180deg) saturate(1.4); }
.kw-d__card[data-tier="deluxe"] .kw-d__crown img { filter: hue-rotate(230deg) saturate(1.3); }
.kw-d__top h3 { font-size: 22px; font-weight: 900; }
.kw-d__top small { display: block; color: var(--x-muted); font-weight: 800; font-size: 12.5px; }
.kw-d__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.kw-d__price b { font-size: 34px; font-weight: 900; line-height: 1; color: var(--x-navy) !important; }
.kw-d__price span { color: var(--x-muted); font-weight: 800; font-size: 13px; }
.kw-d__perks { list-style: none !important; margin: 0; padding: 0 !important; display: grid; gap: 8px; }
.kw-d__perks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; color: var(--x-muted); font-size: 14px; font-weight: 700; }
.kw-d__perks li b { color: var(--x-navy); }
.kw-d__perks svg { width: 20px; height: 20px; color: var(--t); }
.kw-d__perks code { font-size: 12.5px; color: var(--x-navy); padding: 0 4px; }
.kw-d__kit { margin: auto 0 0; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: var(--t-soft); }
.kw-d__kit img { width: 72px; height: 48px; object-fit: cover; border-radius: 10px; image-rendering: auto; flex: none; }
.kw-d__kit figcaption { font-size: 13px; font-weight: 800; color: var(--x-navy); }
.kw-d__kit figcaption code { color: var(--x-navy); background: rgba(255, 255, 255, .75); }
.kw-d__own { font-size: 13px; font-weight: 900; color: var(--t) !important; }
.kw-d__buy { width: 100%; min-height: 50px; font-size: 16px; }
.kw-d__foot { font-size: 14px; }
.kw-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(30, 27, 75, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.kw-modal__box { width: min(460px, 100%); padding: 22px; display: grid; gap: 14px; background: #fff; }
.kw-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kw-modal__head h2 { font-size: 22px; font-weight: 900; }
.kw-x { width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--x-lilac-2); color: var(--x-violet); cursor: pointer; display: grid; place-items: center; }
.kw-d__sum { margin: 0; display: grid; }
.kw-d__sum div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--x-lilac-2); }
.kw-d__sum dt { color: var(--x-muted); font-weight: 800; }
.kw-d__sum dd { margin: 0; font-weight: 900; text-align: right; }
.kw-d__sum .is-total dd { font-size: 20px; color: var(--x-violet); }
.kw-d__short { padding: 12px 14px; border-radius: 14px; background: #fef2f2; color: #b91c1c; font-weight: 900; }
/* сравнительная таблица привилегий */
.kw-cmp { min-width: 640px; }
.kw-cmp th[scope="row"] { font-weight: 800; color: var(--x-navy); background: transparent; }
.kw-cmp th[scope="row"] small { color: var(--x-muted); font-weight: 700; }
.kw-cmp thead th.c { text-align: center; }
.kw-cmp thead th img { width: 22px; height: 22px; display: block; margin: 0 auto 4px; }
.kw-cmp thead th.t-vip img { filter: hue-rotate(80deg) saturate(1.4); }
.kw-cmp thead th.t-premium img { filter: hue-rotate(180deg) saturate(1.4); }
.kw-cmp thead th.t-deluxe img { filter: hue-rotate(230deg) saturate(1.3); }
.kw-cmp thead th.t-lord { color: #92400e; }
.kw-cmp td.c { vertical-align: middle; }
.kw-cmp td.c b { margin-left: 6px; font-weight: 900; vertical-align: middle; }
.kw-cmp td.is-y b { color: var(--x-green); }
.kw-cmp td.is-n b { color: var(--x-red); }
.kw-cmp tbody tr:nth-child(even) > * { background: rgba(245, 240, 255, .55); }
.kw-y, .kw-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; }
.kw-y { background: #dcfce7; color: #16a34a; }
.kw-n { background: #fee2e2; color: #dc2626; }
.kw-y svg, .kw-n svg { width: 16px; height: 16px; }
.kw-cmp td.is-price b { margin: 0; font-size: 15px; color: var(--x-navy); }
.kw-notes { list-style: none !important; padding: 0 !important; }
.kw-notes li { position: relative; padding: 10px 14px 10px 40px; border-radius: 12px; background: #fff7ed; color: #7c2d12 !important; font-weight: 700; }
.kw-notes li::before { content: "!"; position: absolute; left: 12px; top: 10px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #f97316; color: #fff; font-weight: 900; font-size: 13px; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .x-burger { display: inline-flex; }
  .x-nav__in { flex-wrap: wrap; }
  #nav, .x-nav__auth { display: none; }
  .menu-open #nav { display: block; width: 100%; order: 3; margin: 0; }
  .menu-open .x-nav__links { flex-direction: column; padding-bottom: 8px; }
  .menu-open .x-nav__links a { min-height: 46px; width: 100%; }
  .menu-open .x-nav__auth { display: flex; width: 100%; order: 4; padding-bottom: 14px; flex-wrap: wrap; }
  .menu-open .x-nav__auth > .x-btn { flex: 1; }
  .menu-open .x-user { flex: 1; }
  .menu-open .x-user__btn { width: 100%; }
  .x-user__menu { position: static; margin-top: 8px; width: 100%; }
  .x-layout { grid-template-columns: minmax(0, 1fr); }
  .x-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .x-foot__brand, .x-join { grid-column: span 3; }
  .kw-d__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .x-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kw-a { grid-template-columns: minmax(0, 1fr); }
  .kw-a__side { position: static; }
  .kw-a__nav { display: flex; flex-wrap: wrap; }
}
@media (max-width: 820px) {
  .x-news, .x-servers, .x-cols, .x-auth, .x-stats { grid-template-columns: minmax(0, 1fr); }
  .x-auth__art { min-height: 240px; }
  .x-news--all .x-news__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .x-nav__logo img { height: 38px; }
  .x-hero { min-height: 600px; align-items: flex-start; }
  .x-hero__bg img { object-position: 78% 30%; }
  .x-hero::before { background: linear-gradient(180deg, rgba(245, 240, 255, .88) 0%, rgba(245, 240, 255, .6) 50%, rgba(245, 240, 255, .15) 100%); }
  .x-hero__in { padding-block: 28px 110px; }
  .x-hero__cta .x-btn { flex: 1 1 100%; }
  .x-side, .x-feats { grid-template-columns: minmax(0, 1fr); }
  .x-server { min-height: 300px; }
  .x-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-foot__brand, .x-join { grid-column: span 2; }
  .x-steps, .x-facts { grid-template-columns: minmax(0, 1fr); }
  .x-cookie, .x-winter { flex-wrap: wrap; }
  .x-winter .x-btn { margin-left: 0; }
  .x-has-cookie .x-top { bottom: 150px; }
  .x-banner { min-height: 220px; padding: 20px; }
  .x-phead img { width: 56px; height: 56px; }
  .kw-d__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -22px; padding: 18px 22px 14px; scroll-padding: 0 22px; }
  .kw-d__card { flex: 0 0 84%; scroll-snap-align: start; }
  .kx-promo-row, .sec-row { flex-direction: column; align-items: stretch; }
  .kx-drop { flex-direction: column; text-align: center; }
  .kx-prform { grid-template-columns: 1fr; }
  .kx-toasts { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .x-sechead { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .x-bg, .x-cloud, .x-aurora, .x-hero__bg img, .x-hero__logo, .x-404 img, .kx-coin, .kx-drop-ic svg, .dot.on { animation: none !important; }
  .x-cloud, #x-particles { display: none; }
  .x-btn::after, .btn::after { display: none; }
  .x-lift:hover, .x-btn:hover, .x-pill:hover, .btn:hover, .btn2:hover { transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
#ctAdm .inp { width: auto; flex: 1 1 200px; min-width: 0 !important; }
#ctAdm #ctAmt { flex: 0 1 140px; }
.x-tbl.adm .sel { min-width: 150px; }
.kw-cmp th[scope="row"] { vertical-align: middle; }
@media (max-width: 640px) {
  .kw-cmp { min-width: 0; font-size: 12.5px; table-layout: fixed; }
  .kw-cmp th, .kw-cmp td { padding: 8px 3px; }
  .kw-cmp th[scope="row"], .kw-cmp thead th:first-child { width: 38%; padding-left: 8px; overflow-wrap: anywhere; }
  .kw-cmp thead th.c { font-size: 11.5px; }
  .kw-cmp thead th img { width: 18px; height: 18px; }
  .kw-cmp td.c b { display: block; margin: 2px 0 0; font-size: 12px; }
  .kw-cmp td.is-price b { font-size: 12px; white-space: normal; }
  .kw-y, .kw-n { width: 20px; height: 20px; }
  .kw-y svg, .kw-n svg { width: 13px; height: 13px; }
  .x-box { padding: 18px; }
}

/* ---------- раунд 2: контраст, наказания в правилах, привилегии на страницах серверов, иконки серверов ---------- */
.x-nav__links a img { object-fit: contain; }
.x-pill--btn img { width: 24px; height: 24px; object-fit: contain; }
.x-banner__ico--srv { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45)); }
.x-server__icon img { object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.x-server__icon--gold { background: #4c1d95 linear-gradient(135deg, #6d28d9, #312e81); }
.x-server__icon--teal { background: #0f766e linear-gradient(135deg, #0f766e, #831843); }
.x-pun { display: inline-block; padding: 5px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 800; line-height: 1.35; border: 1px solid transparent; }
.x-pun--perm { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.x-pun--ban { background: #ffedd5; color: #9a3412; border-color: #fed7aa; }
.x-pun--mute { background: #e0e7ff; color: #3730a3; border-color: #c7d2fe; }
.x-pun--info { background: #f1edfb; color: #3f3a66; border-color: #ddd6fe; }
.x-tbl td.p .x-pun { min-width: 0; }
.kw-donate--srv .kw-d__bar h2 { font-size: 22px; }
.kw-donate--srv .kw-d__kit { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
.kw-donate--srv .kw-d__kit img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 8px; background: #8b8b8b; cursor: zoom-in; }
.kw-donate--srv .kw-d__kit figcaption { text-align: center; }
.kw-d__card { color: var(--x-navy); }
.kw-d__card h3 { color: var(--x-navy); }
.x-box h2, .x-box h3, .x-card h2, .x-card h3 { color: var(--x-navy); }
.x-banner h1, .x-banner h2, .x-server h3 { color: #fff; }
.x-box dd, .x-box td, .x-box th { color: var(--x-navy); }
.x-box thead th { color: var(--x-violet-ink); }
.x-foot, .x-foot h4 { color: var(--x-navy); }
.kw-modal__box, .kw-modal__box dd { color: var(--x-navy); }
@media (max-width: 640px) {
  .x-tbl td.p { min-width: 130px; }
  .x-pun { font-size: 12.5px; padding: 4px 9px; }
  .x-banner__ico--srv { width: 52px; height: 52px; }
  .x-auth__cap { left: 12px; right: 12px; top: 12px; padding: 14px 16px; }
  .x-auth__cap b { font-size: 20px; }
}
.x-rsec .x-tbl td.p { width: 30%; }
.x-rsec .x-tbl td.n, .x-rsec .x-tbl td:nth-child(2) { vertical-align: middle; }


/* ===================== ТЁМНАЯ ТЕМА (раунд 2, 17.11.2026) =====================
   Всё ниже перекрывает светлые цвета выше. Текст светлый (#ece6ff / #b7a9d6) на тёмных плашках, золото для цен и корон. */
html, body { background: var(--x-bg-0); color: var(--x-navy); }
::selection { background: #5b21b6; color: #fff; }
code { background: #33264f; color: #e4d9ff; }
.x-bg { background: radial-gradient(60% 50% at 15% 0%, rgba(124, 58, 237, .28), transparent 70%), radial-gradient(50% 45% at 90% 20%, rgba(219, 39, 119, .14), transparent 70%), radial-gradient(60% 50% at 50% 100%, rgba(56, 189, 248, .1), transparent 70%), linear-gradient(160deg, #15101f, #1d1530 45%, #17112a); background-size: 100% 100%; animation: none; }
.is-winter .x-bg { background: radial-gradient(60% 50% at 20% 0%, rgba(45, 212, 191, .18), transparent 70%), radial-gradient(50% 45% at 85% 15%, rgba(167, 139, 250, .26), transparent 70%), linear-gradient(160deg, #111427, #171a33 45%, #15101f); }
.x-cloud { display: none; }
.x-aurora { opacity: .55; }
/* шапка и меню */
.x-nav { background: rgba(21, 16, 31, .82); border-bottom-color: rgba(167, 139, 250, .18); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9); }
.x-nav.scrolled { background: rgba(21, 16, 31, .94); }
.x-nav__links a { color: #ece6ff; }
.x-nav__links a:hover { background: #2d2147; color: #fff; }
.x-nav__links a.is-active { background: #3b2a63; color: #fff; box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .35); }
.x-burger { background: #2d2147; color: #ece6ff; }
.x-user__menu { background: #241a38; border: 1px solid var(--x-line); }
.x-user__menu a { color: #ece6ff; }
.x-user__menu a:hover { background: #33264f; color: #fff; }
.x-ava { box-shadow: 0 0 0 2px #3b2a63; }
@media (max-width: 1180px) { .menu-open .x-nav { background: rgba(21, 16, 31, .98); } .menu-open .x-nav__links a { border-bottom: 1px solid rgba(167, 139, 250, .1); } }
/* кнопки */
.x-btn--white, .btn2 { background: #2b2042; color: #ece6ff; border: 1px solid rgba(167, 139, 250, .35); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .8); }
.x-btn--white:hover, .btn2:hover { color: #fff; background: #35285a; }
.x-btn--primary, .btn { background: #6d28d9 linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #5b21b6 100%); color: #fff; box-shadow: 0 10px 26px -10px rgba(139, 92, 246, .85), inset 0 1px 0 rgba(255, 255, 255, .18); }
.x-btn::after, .btn::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent); }
.btn-danger { background: rgba(220, 38, 38, .16); color: #fca5a5; border-color: rgba(248, 113, 113, .4); }
.btn-danger:hover { background: #dc2626; color: #fff; }
/* hero: картинка затемняется, а не высветляется */
.x-hero::before { background: linear-gradient(90deg, rgba(15, 10, 26, .9) 0%, rgba(15, 10, 26, .62) 38%, rgba(15, 10, 26, .12) 66%, rgba(15, 10, 26, 0) 80%), linear-gradient(0deg, rgba(21, 16, 31, .85) 0%, rgba(21, 16, 31, 0) 32%); }
.x-hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.x-hero h1 span { color: #fde68a; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.x-badges li { background: rgba(36, 26, 56, .85); color: #e4d9ff; border: 1px solid rgba(167, 139, 250, .3); }
.x-badges li:nth-child(2) { color: #f9a8d4; }
.x-hero__edge, .is-winter .x-hero__edge { fill: #1a1329; }
/* карточки */
.x-card, .card { background-color: rgba(36, 26, 56, .92); border: 1px solid var(--x-line); color: var(--x-navy); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.x-winter { background-image: linear-gradient(135deg, rgba(56, 189, 248, .14), rgba(124, 58, 237, .2)); }
.x-winter--new { background-image: linear-gradient(135deg, rgba(124, 58, 237, .24), rgba(219, 39, 119, .14)); }
.x-news__media { background: #2b2042; }
.x-date { background: rgba(21, 16, 31, .85); color: #fde68a; border: 1px solid rgba(253, 230, 138, .35); }
.x-news__full b, .x-news__full strong { color: #fff; }
.x-feat { background: #241a38 !important; border: 1px solid var(--x-line); }
.x-feat:nth-child(1) { background: linear-gradient(160deg, rgba(124, 58, 237, .28), #241a38 70%) !important; }
.x-feat:nth-child(2) { background: linear-gradient(160deg, rgba(34, 197, 94, .2), #241a38 70%) !important; }
.x-feat:nth-child(3) { background: linear-gradient(160deg, rgba(251, 191, 36, .2), #241a38 70%) !important; }
.x-feat:nth-child(4) { background: linear-gradient(160deg, rgba(236, 72, 153, .2), #241a38 70%) !important; }
.x-feat__ico, .kx-drop-ic { background: #1d1530; box-shadow: 0 0 0 1px var(--x-line), 0 6px 14px -6px rgba(0, 0, 0, .7); }
.x-feat h3 { color: #fff; }
.srvw { background: #1d1530; color: #ece6ff; border: 1px solid rgba(167, 139, 250, .14); }
.srvw:hover { background: #2b2042; }
.srvw .ring .trk { stroke: rgba(167, 139, 250, .18); }
.srvw .ring .arc { stroke: #a78bfa; }
.x-pill { background: #2d2147; color: #e4d9ff; border: 1px solid rgba(167, 139, 250, .2); }
.x-pill:hover, .x-pill.is-active { background: #7c3aed; color: #fff; border-color: #8b5cf6; }
.x-box .x-tags li { background: #2d2147; color: #e4d9ff; border: 1px solid rgba(167, 139, 250, .2); }
.x-box p b, .x-box li b { color: #fff; }
.x-box a:not(.x-btn):not(.x-pill):not(.srvw):not(.x-dl__item):not(.bl-where), .x-legal a, .lnk { color: #c4b5fd; }
.x-more, .x-read, .x-foot__mon a, .x-cookie a { color: #c4b5fd; }
/* подвал и cookie */
.x-foot { background: linear-gradient(180deg, #1a1329, #120d1b); border-top: 0; }
.x-foot__edge { fill: #1a1329; }
.x-foot h4 { color: #fff; }
.x-foot ul a { color: #d8ccf5; }
.x-foot ul a:hover { color: #fff; }
.x-foot__copy { border-top-color: rgba(167, 139, 250, .18); }
.x-cookie { background: rgba(36, 26, 56, .97); border: 1px solid rgba(167, 139, 250, .3); }
.x-cookie p { color: #d8ccf5; }
/* внутренние страницы */
.x-banner::before { background: linear-gradient(180deg, rgba(15, 10, 26, .05) 20%, rgba(15, 10, 26, .92)); }
.x-banner .x-eyebrow { color: #fde68a; }
.x-facts > div, .x-kits figure, .x-java, .sec-row, .lp { background: #1d1530; border: 1px solid rgba(167, 139, 250, .16); }
.x-facts dd, .x-kits figcaption { color: #fff; }
.x-stat { background-color: #241a38; }
.x-stat b { color: #fde68a; }
.x-tbl th, .x-tbl td { border-bottom-color: rgba(167, 139, 250, .14); }
.x-tbl thead th { background: #2d2147; color: #e4d9ff; }
.x-tbl tbody tr:hover > * { background: rgba(124, 58, 237, .1); }
.x-tbl tr.hl > * { background: rgba(251, 191, 36, .14) !important; color: #fde68a; }
.x-tbl td { color: #ece6ff; }
.x-tbl .n { color: #c4b5fd; }
.x-tbl td.p { color: #f9a8d4; }
.x-msg { background: rgba(34, 197, 94, .14); color: #86efac; border: 1px solid rgba(74, 222, 128, .35); }
.x-msg.is-err { background: rgba(220, 38, 38, .14); color: #fca5a5; border-color: rgba(248, 113, 113, .35); }
.x-warn { background: rgba(225, 29, 72, .14); color: #fda4af !important; border: 1px solid rgba(251, 113, 133, .3); }
.x-warn b { color: #fecdd3 !important; }
.x-dl__item--alt { background: #2b2042; color: #ece6ff; border-color: rgba(167, 139, 250, .3); }
.x-dl__item--alt b { color: #fff; } .x-dl__item--alt small { color: var(--x-muted); }
/* формы */
.fld > span:first-child { color: #ece6ff; }
.x-in, .inp, .tk-sel { background: #1a1329; color: #ece6ff; border-color: rgba(167, 139, 250, .35); }
.x-in::placeholder, .inp::placeholder { color: #8a7cb0; }
.x-in:focus, .inp:focus, .tk-sel:focus { background: #1f1733; border-color: #a78bfa; box-shadow: 0 0 0 4px rgba(139, 92, 246, .25); }
select.inp, .sel { background-color: #1a1329; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
select option { background: #1d1530; color: #ece6ff; }
.eye { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.eye.on { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18M10.6 5.1A10 10 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-3.2 4M6.1 6.1A17 17 0 0 0 2 12s3.6 7 10 7a9.9 9.9 0 0 0 5.9-1.9M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E"); }
.eye:hover { background-color: #33264f; }
.chk { color: #ece6ff; }
.chk i { background: #1a1329; border-color: rgba(167, 139, 250, .55); }
.chk input:checked + i { border-color: #8b5cf6; }
.meter { background: #33264f; }
.msg.ok { background: rgba(34, 197, 94, .14); color: #86efac; }
.msg.err { background: rgba(220, 38, 38, .14); color: #fca5a5; }
.badge { background: #33264f; color: #e4d9ff; }
.badge.lord, .kw-d__card[data-tier="lord"] .kw-d__ribbon { color: #1e1b4b; }
.badge.warn, .kx-until { background: rgba(251, 191, 36, .16); color: #fde68a; }
.x-auth__cap { background: rgba(15, 10, 26, .78); }
/* кабинет */
.kx-stage { background: radial-gradient(120% 80% at 50% 0%, rgba(167, 139, 250, .25), transparent 60%), linear-gradient(180deg, #2a1f45, #1a1329); }
.kx-shadow { background: radial-gradient(closest-side, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); }
.kx-res { background: rgba(21, 16, 31, .85); color: #e4d9ff; }
.kx-drop { background: #1d1530; border-color: rgba(167, 139, 250, .4); }
.kx-drop.over { background: #2b2042; }
.kx-drop-ic { color: #c4b5fd; }
.kx-drop-txt b, .cab-name { color: #fff; }
.kx-face { box-shadow: 0 0 0 3px #3b2a63, 0 10px 22px -10px rgba(124, 58, 237, .8); }
.kx-coins dd b { color: #fde68a; }
.kx-reveal { background: #241a38; }
.kx-burst small, .kx-reveal-k { color: #c4b5fd; }
details.danger { background: rgba(220, 38, 38, .08); border-color: rgba(248, 113, 113, .35); }
details.danger summary { color: #fca5a5; }
.kx-toast { background: #241a38; color: #ece6ff; box-shadow: 0 0 0 1px rgba(167, 139, 250, .3), 0 18px 40px -12px rgba(0, 0, 0, .8); }
.kx-toast button:hover { background: #33264f; color: #fff; }
/* админка */
.kw-a__side { background: rgba(15, 10, 26, .92); }
.kw-a__item.is-active { background: #7c3aed; color: #fff; }
.kw-a__who, .live-count, .kx-copy { background: #33264f; color: #e4d9ff; }
.gb { background: #33264f; color: #d8ccf5; }
.gb.ok { background: rgba(34, 197, 94, .16); color: #86efac; } .gb.bad { background: rgba(220, 38, 38, .16); color: #fca5a5; }
.lp-t { color: #ece6ff; }
@keyframes kxNew { 0%, 40% { background: rgba(251, 191, 36, .2); } }
/* платные услуги */
.kw-d__note { background: #2d2147; color: #ece6ff !important; border: 1px solid rgba(167, 139, 250, .22); }
.kw-d__card { background: linear-gradient(180deg, var(--t-soft), rgba(36, 26, 56, 0) 42%), #241a38; color: #ece6ff; }
.kw-d__card[data-tier="vip"] { --t: #22c55e; --t-soft: rgba(34, 197, 94, .14); }
.kw-d__card[data-tier="premium"] { --t: #60a5fa; --t-soft: rgba(96, 165, 250, .14); }
.kw-d__card[data-tier="deluxe"] { --t: #a78bfa; --t-soft: rgba(167, 139, 250, .16); }
.kw-d__card[data-tier="lord"] { --t: #fbbf24; --t-soft: rgba(251, 191, 36, .14); }
.kw-d__card h3, .kw-d__perks li b { color: #fff; }
.kw-d__price b { color: #fde68a !important; }
.kw-d__perks li { color: #d8ccf5; }
.kw-d__perks code, .kw-d__kit figcaption, .kw-d__kit figcaption code { color: #ece6ff; }
.kw-d__kit figcaption code { background: rgba(0, 0, 0, .3); }
.kw-d__ribbon { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.kw-d__card[data-tier="vip"] .kw-d__ribbon, .kw-d__card[data-tier="premium"] .kw-d__ribbon { color: #0b1220; text-shadow: none; }
.kw-d__bal b { color: #fde68a; }
.kw-modal { background: rgba(8, 5, 14, .7); }
.kw-modal__box { background: #241a38; border: 1px solid rgba(167, 139, 250, .35); }
.kw-modal__box, .kw-modal__box dd, .kw-modal__head h2 { color: #ece6ff; }
.kw-d__sum div { border-bottom-color: rgba(167, 139, 250, .18); }
.kw-d__sum .is-total dd { color: #fde68a; }
.kw-x { background: #33264f; color: #ece6ff; }
.kw-d__short { background: rgba(220, 38, 38, .14); color: #fca5a5; }
.kw-cmp th[scope="row"] { color: #ece6ff; }
.kw-cmp thead th.t-lord { color: #fde68a; }
.kw-cmp tbody tr:nth-child(even) > * { background: rgba(167, 139, 250, .06); }
.kw-cmp td.is-y b { color: #86efac; } .kw-cmp td.is-n b { color: #fca5a5; }
.kw-cmp td.is-price b { color: #fde68a; }
.kw-y { background: rgba(34, 197, 94, .18); color: #4ade80; }
.kw-n { background: rgba(220, 38, 38, .18); color: #f87171; }
.kw-notes li { background: rgba(249, 115, 22, .12); color: #fed7aa !important; border: 1px solid rgba(251, 146, 60, .25); }
/* правила: значки наказаний */
.x-pun--perm { background: rgba(220, 38, 38, .16); color: #fca5a5; border-color: rgba(248, 113, 113, .4); }
.x-pun--ban { background: rgba(249, 115, 22, .15); color: #fdba74; border-color: rgba(251, 146, 60, .4); }
.x-pun--mute { background: rgba(99, 102, 241, .18); color: #c7d2fe; border-color: rgba(129, 140, 248, .4); }
.x-pun--info { background: rgba(167, 139, 250, .12); color: #ddd6fe; border-color: rgba(167, 139, 250, .3); }
/* общие перекрытия заголовков (светлые на тёмном) */
.x-box h2, .x-box h3, .x-card h2, .x-card h3, h1, h2, h3, h4 { color: #fff; }
.x-box dd, .x-box td, .x-box th { color: #ece6ff; }
.x-box thead th { color: #e4d9ff; }
.x-foot, .kw-modal__box { color: #ece6ff; }
.lightbox { background: rgba(8, 5, 14, .88); }
@media (max-width: 640px) {
  .x-hero::before { background: linear-gradient(180deg, rgba(15, 10, 26, .9) 0%, rgba(15, 10, 26, .66) 52%, rgba(21, 16, 31, .35) 82%, rgba(26, 19, 41, .9) 100%); }
}

/* ===================== РАУНД 3 (17.11.2026): живой фон, анимации, cookie =====================
   Все анимации - только transform и opacity. Пауза, когда вкладка скрыта (html.fx-paused), без анимаций при prefers-reduced-motion. */
/* --- фон: сияние, пиксельные облака, парящие острова, кристаллы --- */
.fx-aurora, .fx-layer { position: absolute; inset: 0; pointer-events: none; }
.fx-aurora i { position: absolute; width: 70vw; height: 60vh; border-radius: 50%; opacity: .55; will-change: transform; }
.fx-aurora i:first-child { left: -12vw; top: -14vh; background: radial-gradient(closest-side, rgba(139, 92, 246, .32), rgba(139, 92, 246, .1) 55%, transparent); animation: fx-aur1 26s ease-in-out infinite alternate; }
.fx-aurora i:last-child { right: -16vw; top: 18vh; background: radial-gradient(closest-side, rgba(236, 72, 153, .16), rgba(56, 189, 248, .07) 60%, transparent); animation: fx-aur2 32s ease-in-out infinite alternate; }
.is-winter .fx-aurora i:first-child { background: radial-gradient(closest-side, rgba(45, 212, 191, .24), rgba(56, 189, 248, .08) 55%, transparent); }
.is-winter .fx-aurora i:last-child { background: radial-gradient(closest-side, rgba(167, 139, 250, .24), rgba(96, 165, 250, .08) 60%, transparent); }
@keyframes fx-aur1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(14vw, 6vh, 0) scale(1.2); } }
@keyframes fx-aur2 { from { transform: translate3d(0, 0, 0) scale(1.1); } to { transform: translate3d(-12vw, -8vh, 0) scale(.9); } }
.fx-layer { will-change: transform; }
.fx-cloud { position: absolute; left: 0; height: auto; opacity: .1; image-rendering: pixelated; will-change: transform; animation: fx-drift 190s linear infinite; }
.fx-cloud--1 { top: 14%; width: 340px; animation-delay: -40s; }
.fx-cloud--2 { top: 47%; width: 240px; opacity: .07; animation-duration: 240s; animation-delay: -150s; }
.fx-cloud--3 { top: 76%; width: 300px; opacity: .08; animation-duration: 210s; animation-delay: -95s; }
.is-winter .fx-cloud { opacity: .09; }
@keyframes fx-drift { from { transform: translate3d(-480px, 0, 0); } to { transform: translate3d(calc(100vw + 40px), 0, 0); } }
.fx-isle { position: absolute; height: auto; opacity: .34; will-change: transform; animation: fx-bob 15s ease-in-out infinite; filter: drop-shadow(0 20px 26px rgba(76, 29, 149, .35)); }
.fx-isle--1 { left: -90px; top: 22%; width: 250px; }
.fx-isle--2 { right: -96px; top: 64%; width: 210px; scale: -1 1; opacity: .28; animation-duration: 19s; animation-delay: -6s; }
@keyframes fx-bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -18px, 0); } }
.fx-gem { position: absolute; display: block; will-change: transform; animation: fx-gem 9s ease-in-out infinite; }
.fx-gem img { display: block; width: 100%; height: auto; opacity: .5; filter: drop-shadow(0 0 8px rgba(167, 139, 250, .8)); }
.is-winter .fx-gem img { filter: hue-rotate(-70deg) saturate(.8) brightness(1.15) drop-shadow(0 0 8px rgba(125, 211, 252, .8)); }
.fx-gem--1 { left: 3.5%; top: 16%; width: 26px; }
.fx-gem--2 { right: 5%; top: 30%; width: 32px; animation-duration: 11s; animation-delay: -3s; }
.fx-gem--3 { left: 6%; top: 58%; width: 20px; animation-duration: 8s; animation-delay: -5s; }
.fx-gem--4 { right: 2.5%; top: 86%; width: 24px; animation-duration: 12s; animation-delay: -1s; }
.fx-gem--5 { left: 2%; top: 88%; width: 30px; animation-duration: 10s; animation-delay: -7s; }
.fx-gem--6 { right: 8%; top: 8%; width: 18px; animation-duration: 7.5s; animation-delay: -2s; }
@keyframes fx-gem { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); } 50% { transform: translate3d(0, -22px, 0) rotate(8deg); } }
html.fx-paused .x-bg *, html.fx-paused .fx-logo *, html.fx-paused .x-hero__logo, html.fx-paused .x-hero__bg img, html.fx-paused .x-side__deco *, html.fx-paused .x-cookie * { animation-play-state: paused !important; }

/* --- боковая колонка: без карточек соцсетей, закреплена при прокрутке, внизу парящий остров --- */
.x-side__deco { position: relative; height: 230px; pointer-events: none; display: none; }
.x-side__isle { position: absolute; left: 50%; top: 18px; width: 220px; height: auto; margin-left: -110px; animation: fx-bob 9s ease-in-out infinite; filter: drop-shadow(0 22px 26px rgba(124, 58, 237, .35)); }
.x-side__gem { position: absolute; left: 16%; top: 30px; width: 24px; height: auto; animation: fx-gem 7s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(167, 139, 250, .85)); }
.x-side__gem--2 { left: auto; right: 14%; top: 120px; width: 18px; animation-duration: 9s; animation-delay: -3s; }
.is-winter .x-side__gem { filter: hue-rotate(-70deg) saturate(.8) brightness(1.15) drop-shadow(0 0 8px rgba(125, 211, 252, .85)); }
@media (min-width: 1181px) {
  .x-side__deco { display: block; }
}
@media (min-width: 1181px) and (min-height: 860px) {
  .x-side { position: sticky; top: 92px; align-self: start; }
}

/* --- hero: свечение и искры у логотипа --- */
.x-hero__copy { position: relative; }
.x-hero__logo { position: relative; z-index: 1; }
.fx-logo { position: absolute; left: 0; top: 0; width: min(460px, 88%); aspect-ratio: 1800 / 594; pointer-events: none; z-index: 0; }
.fx-logo__glow { position: absolute; inset: -18% -10%; background: radial-gradient(closest-side, rgba(167, 139, 250, .55), rgba(124, 58, 237, .22) 55%, transparent); animation: fx-glow 4.5s ease-in-out infinite; }
.is-winter .fx-logo__glow { background: radial-gradient(closest-side, rgba(125, 211, 252, .45), rgba(124, 58, 237, .22) 55%, transparent); }
@keyframes fx-glow { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
.fx-tw { position: absolute; z-index: 2; width: 16px; height: 16px; background: radial-gradient(circle, #fff 0 22%, #fde68a 40%, rgba(253, 230, 138, 0) 72%); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); opacity: 0; animation: fx-tw 3.2s ease-in-out infinite; }
.fx-tw--1 { left: 6%; top: -4%; }
.fx-tw--2 { right: -2%; top: 18%; width: 20px; height: 20px; animation-delay: -1.1s; }
.fx-tw--3 { left: 46%; bottom: -6%; width: 12px; height: 12px; animation-delay: -2.2s; }
.fx-tw--4 { left: -3%; top: 52%; width: 14px; height: 14px; animation-delay: -.6s; }
@keyframes fx-tw { 0%, 100% { opacity: 0; transform: scale(.2) rotate(0); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } 70% { opacity: 0; transform: scale(.3) rotate(90deg); } }

/* --- появление страницы и блоков --- */
.x-hero__copy, .x-page > main, .x-page > .x-layout { animation: fx-enter .6s var(--ease) backwards; }
@keyframes fx-enter { from { opacity: 0; transform: translate3d(0, 12px, 0); } }
.js .reveal { transform: translate3d(0, 26px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { transform: none; }
.fx-rv { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .65s var(--ease), transform .65s var(--ease) !important; transition-delay: var(--fx-d, 0ms) !important; }
.fx-rv.fx-in { opacity: 1; transform: none; }

/* --- наведение: подъём и свечение карточек, блик и свечение кнопок --- */
.x-card, .x-feat, .kw-d__card { transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease; }
.x-main .x-card:hover, .x-pg .x-card:hover, .x-side .x-card:hover, .x-feat:hover { border-color: rgba(196, 181, 253, .45); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9), 0 0 0 1px rgba(167, 139, 250, .28), 0 0 36px -10px rgba(139, 92, 246, .55); }
.x-lift:hover, .js .x-lift.reveal.in:hover, .kw-d__card:hover { transform: translate3d(0, -6px, 0); box-shadow: var(--x-shadow-lift); }
.x-btn::after, .btn::after { left: 0; width: 45%; transform: translateX(-160%) skewX(-20deg); transition: transform .75s ease; }
.x-btn:hover::after, .btn:hover::after { left: 0; transform: translateX(300%) skewX(-20deg); }
.x-btn:active, .btn:active, .btn2:active { transform: translateY(0) scale(.97); }
.x-btn--primary:hover, .btn:hover { box-shadow: 0 16px 34px -12px rgba(139, 92, 246, .95), 0 0 26px -6px rgba(167, 139, 250, .75), inset 0 1px 0 rgba(255, 255, 255, .22); }
.x-btn--pink:hover { box-shadow: 0 16px 34px -12px rgba(219, 39, 119, .85), 0 0 26px -6px rgba(244, 114, 182, .65); }
.x-btn--white:hover, .btn2:hover { border-color: rgba(196, 181, 253, .6); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .8), 0 0 20px -8px rgba(167, 139, 250, .6); }
.x-hero__cta .x-btn--primary::after, .x-cookie .x-btn::after { animation: fx-shine 6s ease-in-out 1.6s infinite; }
@keyframes fx-shine { 0%, 70% { transform: translateX(-160%) skewX(-20deg); } 88%, 100% { transform: translateX(300%) skewX(-20deg); } }
.x-pill { transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.x-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(139, 92, 246, .8); }

/* --- уведомление о куки: стеклянная карточка снизу --- */
.x-cookie { position: fixed; z-index: 60; left: 50%; right: auto; bottom: 20px; width: min(580px, calc(100% - 24px)); max-width: none; margin: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: 20px; color: #ece6ff;
  background: linear-gradient(135deg, rgba(49, 36, 76, .86), rgba(27, 20, 44, .9)); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(167, 139, 250, .38); box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .9), 0 0 44px -14px rgba(139, 92, 246, .65), inset 0 1px 0 rgba(255, 255, 255, .08);
  opacity: 0; transform: translate3d(-50%, 150%, 0) scale(.96); transition: transform .35s cubic-bezier(.5, 0, .75, 0), opacity .3s ease; }
.x-cookie.on { opacity: 1; transform: translate3d(-50%, 0, 0); transition: transform .65s cubic-bezier(.2, 1.25, .3, 1), opacity .4s ease; }
.x-cookie::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(253, 230, 138, .7), rgba(196, 181, 253, .8), transparent); }
.x-cookie__ico { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: radial-gradient(circle at 50% 45%, rgba(251, 191, 36, .28), rgba(124, 58, 237, .2) 72%); box-shadow: inset 0 0 0 1px rgba(253, 230, 138, .22); }
.x-cookie__ico img { width: 40px; height: auto; }
.x-cookie.on .x-cookie__ico img { animation: fx-ck-pop .8s .25s cubic-bezier(.2, 1.4, .3, 1) both, fx-ck-bob 4s 1.3s ease-in-out infinite; }
@keyframes fx-ck-pop { from { opacity: 0; transform: scale(.3) rotate(-40deg); } to { opacity: 1; transform: none; } }
@keyframes fx-ck-bob { 0%, 100% { transform: none; } 50% { transform: translateY(-3px) rotate(-8deg); } }
.x-cookie p { flex: 1; min-width: 0; margin: 0; font-size: 14.5px; line-height: 1.4; color: #e4dcff; font-weight: 700; }
.x-cookie a { color: #c4b5fd; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.x-cookie a:hover { color: #fff; }
.x-cookie .x-btn { flex: none; min-width: 104px; }
@media (max-width: 640px) {
  .x-cookie { bottom: 12px; width: calc(100% - 20px); gap: 10px; padding: 10px; flex-wrap: nowrap; }
  .x-cookie__ico { width: 44px; height: 44px; }
  .x-cookie__ico img { width: 34px; }
  .x-cookie p { font-size: 13.5px; }
  .x-cookie .x-btn { min-width: 0; padding: 0 14px; }
  .x-has-cookie .x-top { bottom: 104px; }
  /* на телефоне фон легче */
  .fx-cloud--2, .fx-cloud--3, .fx-isle--2, .fx-gem--4, .fx-gem--5, .fx-gem--6 { display: none; }
  .fx-isle--1 { width: 150px; left: -60px; top: 30%; opacity: .26; }
  .fx-cloud--1 { width: 220px; }
  .fx-aurora i { width: 110vw; }
  .fx-tw--2 { right: 4%; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-aurora i, .fx-cloud, .fx-isle, .fx-gem, .fx-logo *, .x-side__deco *, .x-cookie *, .x-cookie .x-btn::after, .x-hero__cta .x-btn--primary::after { animation: none !important; }
  .fx-cloud { display: none; }
  .fx-tw { opacity: .8; }
  .x-hero__copy, .x-page > main, .x-page > .x-layout { animation: none; }
  .fx-rv { opacity: 1; transform: none; transition: none !important; }
  .x-cookie, .x-cookie.on { transition: opacity .2s; transform: translate3d(-50%, 0, 0); }
  .x-pill:hover, .x-lift:hover, .js .x-lift.reveal.in:hover, .kw-d__card:hover { transform: none; }
}
/* длинные заголовки страниц не вылезают за экран телефона (было на /privacy) */
.x-phead > div { min-width: 0; }
.x-phead h1 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }

/* 2026-11-17: фон главной (hero) стоит на месте — без ken burns и без параллакса при прокрутке */
.x-hero__bg { inset: 0; transform: none !important; will-change: auto; }
.x-hero__bg img { animation: none !important; transform: none !important; }
