/* NEMAZING V830 — ночная тема (основа; остальное перекрашивает nemazing-v830-theme.js) */
html.nm-dark{color-scheme:dark;background:#0a0c11!important}
/* пока скрипты собирают новый интерфейс — страницу не показываем (не дольше 1.2 с) */
html.nm-boot:not(#nm830b) body,html.nm-dark:not(.nm830-ready):not(#nm830b) body{opacity:0;animation:nm830show 0s 1.2s forwards}
@keyframes nm830show{to{opacity:1}}
html body{transition:opacity .12s}
/* фон внутренних страниц и форума: тот же мир, но в сумерках */
html.nm-dark body:not(#nm830).nm710-ui,html.nm-dark body:not(#nm830).nmf710-body,html.nm-dark body:not(#nm830){background:radial-gradient(1100px 420px at 50% -180px,rgba(255,176,32,.07),transparent 70%),#0a0c11!important;color:#e8eaf0}
html.nm-dark body.nmf710-body.nmf710-body::before{background:radial-gradient(1100px 420px at 50% -180px,rgba(255,176,32,.07),transparent 70%),#0a0c11!important}
html.nm-dark body.nmf710-body.nmf710-body::after{opacity:0}
html.nm-dark ::placeholder{color:#6f778c!important;opacity:1}
html.nm-dark ::selection{background:rgba(139,120,255,.35);color:#fff}
html.nm-dark img{filter:none}
/* главная: у картинки мира светлый край — прячем его */
html.nm-dark .nm748-hero-media img{-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.35) 28%,#000 55%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.35) 28%,#000 55%);filter:brightness(.8) saturate(1.05)}
html.nm-dark .nm748-hero,html.nm-dark .nm748-hero::before,html.nm-dark .nm748-hero::after{background-color:transparent!important}
html.nm-dark .nm748-hero::before,html.nm-dark .nm748-hero::after,html.nm-dark .nm748-hero-media::before,html.nm-dark .nm748-hero-media::after{background-image:linear-gradient(90deg,#0b0e18 0,rgba(11,14,24,.6) 45%,transparent 70%)!important;opacity:1}
html.nm-dark .nm825-stats{background:rgba(21,26,43,.92)!important}
html.nm-dark .nm827-type .pics,html.nm-dark .nm822s-media,html.nm-dark .nm825-prod .m,html.nm-dark .nm824-list .bar{background-color:#1b2135!important}
/* кнопка-переключатель */
.nm830-toggle{appearance:none;display:inline-grid;place-items:center;width:40px;height:40px;min-width:40px;padding:0;border-radius:12px;border:1px solid #e3e6ef;background:#fff;color:#4b5268;cursor:pointer;transition:.18s;flex:none}
.nm830-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nm830-toggle:hover{color:#6d5cff;border-color:#cfc7ff;transform:rotate(-12deg)}
html.nm-dark .nm830-toggle{background:#1b2135!important;border-color:rgba(255,255,255,.12)!important;color:#fcd34d!important}
html body .nm830-toggle.float{position:fixed!important;left:18px;bottom:18px;z-index:12500;width:50px;height:50px;border-radius:50%;background:#151926;border:0;color:#fcd34d;box-shadow:0 12px 30px rgba(20,24,40,.35),inset 0 0 0 1px rgba(255,255,255,.08);display:grid!important;opacity:1!important}
html body .nm830-toggle.float svg{width:22px;height:22px}
html body .nm830-toggle.float:hover{transform:scale(1.08) rotate(-12deg)}
html.nm-dark body .nm830-toggle.float{background:#fff!important;color:#f59e0b!important;border:0!important;box-shadow:0 12px 30px rgba(0,0,0,.5)!important}
@media(max-width:760px){html body .nm830-toggle.float{bottom:92px;left:12px;width:46px;height:46px}}
[data-nm710-header] .nm710-actions{display:flex;align-items:center;gap:8px}
html.nm-dark:not(#nm830x) img[src*="logo-black"]{filter:invert(1) hue-rotate(180deg) brightness(1.15)!important}
html.nm-dark .nm825-steps em{color:rgba(255,255,255,.06)!important}
html.nm830-measure *,html.nm830-measure *::before,html.nm830-measure *::after{transition:none!important}
html:not(#nm830p):not(#nm830q) body .nm830-pbc::before{background-color:var(--nm830-bc)!important}
html:not(#nm830p):not(#nm830q) body .nm830-pac::after{background-color:var(--nm830-ac)!important}
html:not(#nm830p):not(#nm830q) body .nm830-pbi::before{background-image:var(--nm830-bi)!important}
html:not(#nm830p):not(#nm830q) body .nm830-pai::after{background-image:var(--nm830-ai)!important}
/* V831: основа шапки, подвала и всплывашек задаётся сразу, без ожидания скрипта */
html.nm-dark body header.site-header,html.nm-dark body [data-nm710-header]{background-color:rgba(16,20,34,.94)!important;background-image:none!important;border-color:rgba(255,255,255,.08)!important;color:#eceff7!important}
html.nm-dark body footer.nm747-footer,html.nm-dark body footer.site-footer{background-color:#0f1322!important;background-image:none!important;border-color:rgba(255,255,255,.08)!important;color:#b4bbcd!important}
html.nm-dark body .cookie,html.nm-dark body .toast{background-color:#1b2135!important;color:#eceff7!important;border-color:rgba(255,255,255,.1)!important}
html.nm-dark body .nm710-menu-toggle{background-color:#1b2135!important;color:#eceff7!important;border-color:rgba(255,255,255,.12)!important}
/* V831: главная — ровное затемнение под текстом вместо серого тумана */
html.nm-dark .nm748-hero-media img{-webkit-mask-image:none!important;mask-image:none!important;filter:brightness(.72) saturate(1.05)!important}
html.nm-dark .nm748-hero-media::after{content:""!important;position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none!important;opacity:1!important;display:block!important;background:linear-gradient(90deg,#0b0e18 0,#0b0e18 30%,rgba(11,14,24,.86) 44%,rgba(11,14,24,.4) 62%,rgba(11,14,24,0) 80%),linear-gradient(0deg,#0b0e18 0,rgba(11,14,24,0) 22%),linear-gradient(180deg,rgba(11,14,24,.55) 0,rgba(11,14,24,0) 18%)!important}
@media(max-width:760px){html.nm-dark .nm748-hero-media::after{background:linear-gradient(180deg,rgba(11,14,24,.4) 0,rgba(11,14,24,.75) 45%,#0b0e18 100%)!important}}
/* кнопка не перекрывает плашку cookie */
html body:has(.cookie.show) .nm830-toggle.float{bottom:108px}
@media(max-width:760px){html body:has(.cookie.show) .nm830-toggle.float{bottom:126px}}
/* подвал старые скрипты постоянно пересобирают — красим его только стилями */
html.nm-dark body footer.nm747-footer :is(h1,h2,h3,h4,h5,h6,strong,b,.title,[class*="title"],[class*="brand"]){color:#eceff7!important}
html.nm-dark body footer.nm747-footer :is(p,span,small,li,div){color:#9aa3ba}
html.nm-dark body footer.nm747-footer a{color:#aab2c7!important}
html.nm-dark body footer.nm747-footer a:hover{color:#fff!important}
html.nm-dark body footer.nm747-footer :is(hr,[class*="bottom"],[class*="divider"]){border-color:rgba(255,255,255,.08)!important}

/* ===== V838: игровой тёмный дизайн (по умолчанию) ===== */
html.nm-dark{--nm825-hero-bg:linear-gradient(90deg,#12141b 0,rgba(18,20,27,.94) 40%,rgba(18,20,27,.62) 70%,rgba(18,20,27,.45)),url("/assets/img/game-17.jpg") center 40%/cover no-repeat}
html.nm-dark body{font-feature-settings:"ss01"}
/* шапка */
html.nm-dark body header.site-header,html.nm-dark body [data-nm710-header],html.nm-dark body .nm764-header{background-color:rgba(10,12,17,.86)!important;background-image:none!important;border-bottom:1px solid rgba(255,255,255,.06)!important;box-shadow:none!important;backdrop-filter:blur(14px)!important}
html.nm-dark body .nm710-header .nm710-nav a,html.nm-dark body .nm764-nav a{text-transform:uppercase!important;letter-spacing:.03em!important;font-weight:800!important;font-size:13px!important;color:rgba(232,234,240,.66)!important;background:transparent!important;border-color:transparent!important;border-radius:0!important;box-shadow:none!important}
html.nm-dark body .nm710-header .nm710-nav a:hover,html.nm-dark body .nm764-nav a:hover{color:#fff!important}
html.nm-dark body .nm710-header .nm710-nav a.is-active,html.nm-dark body .nm710-header .nm710-nav a[aria-current="page"],html.nm-dark body .nm764-nav a.is-active{color:#fff!important;box-shadow:inset 0 -3px 0 #ffb020!important}
html.nm-dark body .nm710-header .nm710-nav a svg,html.nm-dark body .nm710-header .nm710-nav a .nm768-icon{display:none!important}
html.nm-dark body .nm710-header .nm710-brand img,html.nm-dark body .nm764-logo img,html.nm-dark body .nm764-footer img{filter:invert(1) brightness(1.25)!important}
@media(max-width:900px){html.nm-dark body .nm710-header .nm710-nav a,html.nm-dark body .nm764-nav a{border-radius:12px!important;box-shadow:none!important}html.nm-dark body .nm710-header .nm710-nav a.is-active{background:rgba(255,176,32,.12)!important;color:#ffb020!important}}
/* заголовки первых экранов — крупно и заглавными */
html.nm-dark body :is(.nm825-hero,.nm824-hero,.nm833-hero,.nm824d-hero) h1,html.nm-dark body .nm748-title,html.nm-dark body .nm764-hero h1,html.nm-dark body .nm822s-hero h1{text-transform:uppercase!important;letter-spacing:-.025em!important;font-weight:800!important}
html.nm-dark body .nm748-title span,html.nm-dark body .nm764-hero h1 span{color:#ffb020!important;-webkit-text-fill-color:#ffb020!important}
html.nm-dark body :is(.nm825-hero,.nm824-hero,.nm833-hero,.nm824d-hero){background:var(--nm825-hero-bg)!important;border:1px solid rgba(255,255,255,.07)!important;box-shadow:0 24px 60px rgba(0,0,0,.45)!important}
html.nm-dark body :is(.nm824-hero,.nm833-hero)::after{opacity:.35}
html.nm-dark body :is(.nm825-hero,.nm824-hero,.nm833-hero,.nm824d-hero) :is(.k,.nm824-kicker,[class*="kicker"],[class*="eyebrow"]){color:#ffb020!important}
html.nm-dark .nm833-hero .ring{background:radial-gradient(closest-side,#14161d 78%,transparent 79%),conic-gradient(#ffb020 calc(var(--p)*1%),rgba(255,255,255,.1) 0)!important}
/* главная: первый экран как в примере — сцена из игры и персонажи */
html.nm-dark body .nm748-hero-media img{display:none!important}
html.nm-dark body .nm748-hero-media{background:url("/assets/img/game-17.jpg") center/cover no-repeat,#0a0c11!important}
html.nm-dark body .nm748-hero-media::after{background:linear-gradient(90deg,#0a0c11 0,rgba(10,12,17,.93) 30%,rgba(10,12,17,.4) 62%,rgba(10,12,17,.25)),linear-gradient(0deg,#0a0c11 0,transparent 30%)!important}
html.nm-dark body .nm838-chars{position:absolute;right:2vw;bottom:0;height:min(80%,700px);width:auto;z-index:2;pointer-events:none;filter:drop-shadow(0 30px 60px rgba(0,0,0,.6))}
html:not(.nm-dark) .nm838-chars{display:none!important}
@media(max-width:900px){html.nm-dark body .nm838-chars{display:none}}
html.nm-dark body .nm748-eyebrow{color:#ffb020!important}
html.nm-dark body .nm748-play{background:linear-gradient(180deg,#ffc043,#ff9500)!important;color:#1a1200!important;text-transform:uppercase;letter-spacing:.04em;box-shadow:0 12px 30px rgba(255,160,0,.35),inset 0 -3px 0 rgba(0,0,0,.18)!important}
html.nm-dark body .nm748-play *{color:#1a1200!important}
/* подвал */
html.nm-dark body footer.nm747-footer,html.nm-dark body .nm764-footer{background:#08090d!important;border-top:1px solid rgba(255,255,255,.06)!important}
/* кнопка темы: солнце — светлая версия сайта */
html.nm-dark body .nm830-toggle.float{background:#1a1d27!important;color:#ffb020!important;box-shadow:0 12px 30px rgba(0,0,0,.5),inset 0 0 0 1px rgba(255,255,255,.08)!important}
/* скроллбар и выделение */
html.nm-dark ::selection{background:rgba(255,176,32,.35);color:#fff}
html.nm-dark body .nm824d-hero::before,html.nm-dark body .nm824d-hero::after{opacity:.4}
/* «Клиент» (своя вёрстка) */
html.nm-dark body .nm764-hero{background-color:#0a0c11!important}
html.nm-dark body:not(#nm838) .nm764-overlay{background:linear-gradient(90deg,#0a0c11 0,rgba(10,12,17,.95) 28%,rgba(10,12,17,.78) 44%,rgba(10,12,17,.3) 64%,rgba(10,12,17,.1) 82%),linear-gradient(0deg,#0a0c11 0,transparent 25%)!important}
@media(max-width:900px){html.nm-dark body:not(#nm838) .nm764-overlay{background:linear-gradient(180deg,rgba(10,12,17,.45) 0,rgba(10,12,17,.88) 32%,#0a0c11 100%)!important}}
html.nm-dark body .nm764-hero h1{color:#fff!important;-webkit-text-fill-color:#fff!important}
html.nm-dark body .nm764-lead{color:rgba(232,234,240,.72)!important}
html.nm-dark body .nm764-eyebrow{color:#ffb020!important}
html.nm-dark body .nm764-spec{background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.1)!important;box-shadow:none!important}
html.nm-dark body .nm764-nav a svg,html.nm-dark body .nm764-nav a img,html.nm-dark body .nm764-nav a .nm768-icon{display:none!important}
html.nm-dark body .nm764-download{background:linear-gradient(180deg,#ffc043,#ff9500)!important;color:#1a1200!important;box-shadow:0 12px 30px rgba(255,160,0,.35)!important}
html.nm-dark body .nm764-download *{color:#1a1200!important}
/* «Игры»: большая карточка рулетки */
html.nm-dark body .nm827-feature{background:radial-gradient(520px 300px at 80% 30%,rgba(255,176,32,.16),transparent 60%),linear-gradient(135deg,#171a23,#101218)!important;border:1px solid rgba(255,255,255,.07)!important}
/* ===== V839: светлая тема — те же оранжевые акценты ===== */
html:not(.nm-dark){--nm825-hero-bg:linear-gradient(90deg,#12141b 0,rgba(18,20,27,.94) 40%,rgba(18,20,27,.62) 70%,rgba(18,20,27,.45)),url("/assets/img/game-17.jpg") center 40%/cover no-repeat}
html:not(.nm-dark) body .nm710-header .nm710-nav a{text-transform:uppercase!important;letter-spacing:.03em!important;font-weight:800!important;font-size:13px!important;background:transparent!important;border-color:transparent!important;border-radius:0!important;box-shadow:none!important;color:#4a5068!important}
html:not(.nm-dark) body .nm710-header .nm710-nav a:hover{color:#11131a!important}
html:not(.nm-dark) body .nm710-header .nm710-nav a.is-active,html:not(.nm-dark) body .nm710-header .nm710-nav a[aria-current="page"],html:not(.nm-dark) body .nm764-nav a.is-active{color:#11131a!important;background:transparent!important;box-shadow:inset 0 -3px 0 #ff9f1a!important}
html:not(.nm-dark) body .nm710-header .nm710-nav a svg,html:not(.nm-dark) body .nm710-header .nm710-nav a .nm768-icon{display:none!important}
@media(max-width:900px){html:not(.nm-dark) body .nm710-header .nm710-nav a{border-radius:12px!important}html:not(.nm-dark) body .nm710-header .nm710-nav a.is-active{background:#fff4e0!important;color:#c26a00!important;box-shadow:none!important}}
html:not(.nm-dark) body :is(.nm825-hero,.nm824-hero,.nm833-hero,.nm824d-hero){background:var(--nm825-hero-bg)!important}
html:not(.nm-dark) body :is(.nm825-hero,.nm824-hero,.nm833-hero,.nm824d-hero) h1,html:not(.nm-dark) body .nm748-title,html:not(.nm-dark) body .nm764-hero h1{text-transform:uppercase!important;letter-spacing:-.025em!important}
html:not(.nm-dark) body :is(.nm825-hero,.nm824-hero,.nm833-hero,.nm824d-hero) :is(.k,.nm824-kicker,[class*="kicker"],[class*="eyebrow"]){color:#ffb020!important}
html:not(.nm-dark) .nm833-hero .ring{background:radial-gradient(closest-side,#14161d 78%,transparent 79%),conic-gradient(#ffb020 calc(var(--p)*1%),rgba(255,255,255,.1) 0)!important}
html:not(.nm-dark) body .nm748-title span,html:not(.nm-dark) body .nm764-hero h1 span{color:#ff9500!important;-webkit-text-fill-color:#ff9500!important;background:none!important}
html:not(.nm-dark) body :is(.nm748-eyebrow,.nm764-eyebrow){color:#e07b00!important}
html:not(.nm-dark) body :is(.nm748-play,.nm764-download){background:linear-gradient(180deg,#ffc043,#ff9500)!important;color:#1a1200!important;box-shadow:0 12px 30px rgba(255,160,0,.3)!important}
html:not(.nm-dark) body :is(.nm748-play,.nm764-download) *{color:#1a1200!important}
html:not(.nm-dark) ::selection{background:rgba(255,176,32,.3)}
html body :is([class*="kicker"],[class*="eyebrow"],.k)::before{background:#ff9f1a!important;border-color:#ff9f1a!important}
html body :is([class*="eyebrow"]) > span:empty{background:#ff9f1a!important}
/* V841: меню одинаковое на всех страницах (в т.ч. «Клиент»), в обеих темах */
html:not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a{text-transform:uppercase!important;letter-spacing:.03em!important;font-weight:800!important;font-size:13px!important;background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html:not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a :is(svg,img,.nm768-icon){display:none!important}
html:not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a:is(.is-active,[aria-current="page"]){box-shadow:inset 0 -3px 0 #ff9f1a!important}
html.nm-dark:not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a{color:rgba(232,234,240,.66)!important}
html.nm-dark:not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a:is(:hover,.is-active,[aria-current="page"]){color:#fff!important}
html:not(.nm-dark):not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a{color:#4a5068!important}
html:not(.nm-dark):not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a:is(:hover,.is-active,[aria-current="page"]){color:#11131a!important}
@media(max-width:900px){html:not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a{border-radius:12px!important}html:not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a:is(.is-active,[aria-current="page"]){box-shadow:none!important;background:rgba(255,160,0,.14)!important;color:#e07b00!important}}
/* красивое наведение в меню: текст ярче, снизу плавно вырастает оранжевая полоска */
html:not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a{position:relative!important;transition:color .18s!important}
html:not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a::after{content:""!important;position:absolute!important;left:14px!important;right:14px!important;bottom:0!important;height:3px!important;border-radius:3px 3px 0 0!important;background:#ff9f1a!important;transform:scaleX(0)!important;transition:transform .22s ease!important;opacity:1!important;display:block!important;top:auto!important;width:auto!important}
html:not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a:is(:hover,.is-active,[aria-current="page"])::after{transform:scaleX(1)!important}
html:not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a:is(.is-active,[aria-current="page"]){box-shadow:none!important}
html:not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a:hover:not(.is-active):not([aria-current="page"])::after{opacity:.55!important}
@media(max-width:900px){html:not(#nm841a):not(#nm841b) body :is(.nm710-header .nm710-nav,.nm764-nav) a::after{display:none!important}}
/* V842: иконки разделов форума — оранжевые (в обеих темах) */
html body img[src*="/forum-icons/"]{filter:hue-rotate(160deg) saturate(2.4) brightness(1.4)!important}
html body :is(.nmf153-node-icon,.nmf153-sub-icon,.node-icon):has(img[src*="/forum-icons/"]){background:#fff4e0!important;border-color:rgba(255,160,0,.25)!important}
html.nm-dark body :is(.nmf153-node-icon,.nmf153-sub-icon,.node-icon):has(img[src*="/forum-icons/"]){background:#1f2230!important;border-color:rgba(255,160,0,.18)!important}
