
:root{
  --nk-brand:#21182e;--nk-brand-soft:#32233f;--nk-brand-text:#fbf8ff;--nk-shell-line:#e7def5;
  --nk-stanitsa:#8e261f;--nk-stanitsa-gold:#c89538;--nk-collection:#6b39c8;--nk-collection-pink:#ff74a8;
}
.nk-v10-global,.nk-v10-global-footer{display:none!important}
.nk-brandbar{position:relative;z-index:10001;background:linear-gradient(100deg,#21182e,#2e203d);color:var(--nk-brand-text);border-bottom:1px solid rgba(255,255,255,.09);font:800 12px/1.2 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.nk-brandbar-inner{width:min(1240px,calc(100% - 24px));min-height:48px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:14px}
.nk-brand-home{display:flex;align-items:center;gap:9px;color:#fff!important;text-decoration:none!important;white-space:nowrap}
.nk-brand-mark{width:31px;height:31px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#7c49db,#ff79aa);box-shadow:0 6px 16px rgba(0,0,0,.2);font-weight:950}
.nk-brand-home b{font-size:13px}.nk-brand-home small{display:block;color:#cabed7;font-size:9px;letter-spacing:.04em;margin-top:1px}
.nk-brand-switch{display:flex;align-items:center;gap:5px;overflow:auto;scrollbar-width:none}.nk-brand-switch::-webkit-scrollbar{display:none}.nk-brand-switch a{color:#eee5f7!important;text-decoration:none!important;padding:8px 10px;border-radius:999px;white-space:nowrap;border:1px solid transparent}.nk-brand-switch a:hover{background:rgba(255,255,255,.08)}
.nk-section-stanitsa .nk-brand-switch a[data-section="stanitsa"]{background:rgba(200,149,56,.18);border-color:rgba(239,210,139,.32);color:#ffe9ae!important}
.nk-section-collection .nk-brand-switch a[data-section="collection"]{background:rgba(139,89,232,.28);border-color:rgba(255,116,168,.28);color:#fff!important}
.nk-section-portal .nk-brand-switch a[data-section="portal"]{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.12);color:#fff!important}
/* Shared section-header geometry */
.nk-section-stanitsa .site-shell,.nk-section-collection .container{width:min(1240px,calc(100% - 24px))!important}
.nk-section-stanitsa .site-header,.nk-section-collection .topbar{min-height:72px;box-shadow:0 8px 26px rgba(44,28,66,.08)!important;backdrop-filter:blur(14px)!important}
.nk-section-stanitsa .site-header{background:rgba(255,249,236,.96)!important;color:#2d2117!important;border-bottom:1px solid #dfca9e!important}
.nk-section-stanitsa .site-header .header-inner{min-height:72px!important}
.nk-section-stanitsa .site-header .logo-mark{width:44px!important;height:44px!important;border-radius:15px!important;background:linear-gradient(135deg,#8e261f,#b84533)!important;border:1px solid rgba(200,149,56,.65)!important;color:#fff!important;font-family:Inter,ui-sans-serif,system-ui!important;box-shadow:0 8px 20px rgba(102,47,25,.18)!important}
.nk-section-stanitsa .site-header .logo b{font-family:Inter,ui-sans-serif,system-ui!important;font-size:16px!important;color:#3a2416!important;letter-spacing:0!important}
.nk-section-stanitsa .site-header .logo small{color:#8c765f!important;font-size:10px!important;letter-spacing:.06em!important;text-transform:none!important}
.nk-section-stanitsa .site-header .nav a,.nk-section-stanitsa .site-header .nav button{color:#5c4938!important;border-radius:999px!important;font-size:13px!important}
.nk-section-stanitsa .site-header .nav a:hover,.nk-section-stanitsa .site-header .nav a.active,.nk-section-stanitsa .site-header .nav button:hover{background:#f1dfbb!important;color:#7d211d!important}
.nk-section-stanitsa .site-header .resource{background:#fff6dd!important;border:1px solid #e2c98d!important;color:#6a4c20!important;border-radius:999px!important}
.nk-section-collection .topbar{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--nk-shell-line)!important}
.nk-section-collection .topbar .logo{border-radius:15px!important}
/* Match component geometry without erasing each section's palette */
.nk-section-stanitsa .panel,.nk-section-collection .panel{border-radius:26px!important}
.nk-section-stanitsa .badge,.nk-section-collection .pill{border-radius:999px!important}
/* One global footer, same visual language */
.nk-prod-footer{margin-top:34px!important;background:#fbf9ff!important;border-top:1px solid #e7def5!important;color:#756a8a!important}
.nk-prod-footer-inner{width:min(1240px,calc(100% - 24px))!important;min-height:62px!important}.nk-prod-footer a{color:#5d3aa6!important}
.nk-section-stanitsa .nk-prod-footer a[href*="stanitsa"],.nk-section-stanitsa .nk-prod-footer a[href="index.html"]{color:#8e261f!important}
/* Hide duplicated portal footer from older build */
.nk-section-portal>footer.footer{display:none!important}
/* Unified mobile brand navigation */
.nk-brand-mobile{display:none;position:fixed;left:50%;transform:translateX(-50%);bottom:10px;z-index:10002;width:min(720px,calc(100% - 16px));grid-template-columns:repeat(3,1fr);gap:7px;padding:7px;border-radius:19px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border:1px solid #e7def5;box-shadow:0 18px 45px rgba(40,30,60,.2)}
.nk-brand-mobile a{min-height:54px;border-radius:13px;display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;text-decoration:none!important;color:#554667!important;font:800 11px/1.1 Inter,Arial,sans-serif}.nk-brand-mobile a.active{background:#f1ebfb;color:#5d36aa!important}.nk-section-stanitsa .nk-brand-mobile a.active{background:#f6e9cf;color:#84271f!important}
@media(max-width:820px){.nk-brandbar-inner{width:calc(100% - 14px);min-height:46px}.nk-brand-home small{display:none}.nk-brand-switch a{padding:7px 9px;font-size:11px}.nk-brand-switch a[data-extra="1"]{display:none}.nk-brand-mobile{display:grid}body.nk-section-stanitsa,body.nk-section-collection{padding-bottom:80px}}
@media(max-width:560px){.nk-brand-home b{font-size:12px}.nk-brand-switch a[data-section="portal"]{display:none}.nk-brandbar-inner{gap:8px}.nk-brand-switch{gap:3px}}

body.nk-section-portal>.topbar{display:none!important}
