/* ======================================================================
   NEMAZING ONLINE · V710 UNIFORM
   Final alignment layer: one grid, one header, one palette, one rhythm.
   ====================================================================== */
:root{
  --nm710-bg:#f6f7fb;
  --nm710-bg-soft:#f2efff;
  --nm710-surface:#ffffff;
  --nm710-surface-2:#fbfaff;
  --nm710-text:#1d2130;
  --nm710-text-2:#343a4d;
  --nm710-muted:#778096;
  --nm710-line:#e5e7ef;
  --nm710-line-strong:#dcd8f7;
  --nm710-accent:#6f5cff;
  --nm710-accent-2:#8f7bff;
  --nm710-accent-3:#5747e8;
  --nm710-accent-soft:#f0edff;
  --nm710-good:#20b77a;
  --nm710-danger:#df5968;
  --nm710-warning:#806cff;
  --nm710-shadow:0 10px 34px rgba(43,38,84,.075);
  --nm710-shadow-lg:0 24px 70px rgba(43,38,84,.12);
  --nm710-radius:18px;
  --nm710-radius-lg:24px;
  --nm710-container:1240px;
  --nm710-header:74px;
  --nm-warning:#806cff;
  --nm-warning-soft:#f2efff;
}

html{background:var(--nm710-bg)!important;color-scheme:light!important}
body{
  min-width:320px!important;
  background:
    radial-gradient(circle at 8% -8%,rgba(111,92,255,.09),transparent 32rem),
    radial-gradient(circle at 95% 0%,rgba(143,123,255,.07),transparent 35rem),
    var(--nm710-bg)!important;
  color:var(--nm710-text)!important;
}
body.nm710-ui{padding-top:0!important}
body.nm710-ui *{scrollbar-color:#c8c2f6 transparent}
body.nm710-ui main{position:relative;z-index:1}
body.nm710-ui .container{width:min(calc(100% - 40px),var(--nm710-container))!important;margin-inline:auto!important}
body.nm710-ui .hidden,[hidden]{display:none!important}

/* ===== Canonical header ===== */
.nm710-header{
  position:sticky!important;top:0!important;z-index:10000!important;
  width:100%!important;height:var(--nm710-header)!important;
  margin:0!important;padding:0!important;
  border:0!important;border-bottom:1px solid rgba(222,224,235,.95)!important;
  background:rgba(255,255,255,.92)!important;background-image:none!important;
  box-shadow:0 8px 28px rgba(37,32,74,.045)!important;
  backdrop-filter:blur(18px) saturate(155%)!important;
  color:var(--nm710-text)!important;
}
.nm710-header.is-scrolled{box-shadow:0 12px 36px rgba(37,32,74,.075)!important}
.nm710-header-inner{
  width:min(calc(100% - 40px),var(--nm710-container))!important;height:100%!important;margin:0 auto!important;padding:0!important;
  display:grid!important;grid-template-columns:188px minmax(0,1fr) auto!important;align-items:center!important;gap:18px!important;
}
.nm710-brand{display:flex!important;align-items:center!important;width:188px!important;min-width:0!important;text-decoration:none!important}
.nm710-brand img{display:block!important;width:184px!important;height:42px!important;object-fit:contain!important;object-position:left center!important;filter:invert(1) saturate(.15) brightness(.28)!important}
.nm710-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important}
.nm710-nav a{
  position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  height:42px!important;min-height:42px!important;padding:0 12px!important;margin:0!important;
  border:1px solid transparent!important;border-radius:12px!important;background:transparent!important;background-image:none!important;
  color:#697287!important;font-size:12px!important;font-weight:850!important;line-height:1!important;letter-spacing:-.012em!important;text-decoration:none!important;
  box-shadow:none!important;transform:none!important;white-space:nowrap!important;transition:.16s ease!important;
}
.nm710-nav a svg{width:17px!important;height:17px!important;flex:0 0 17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.nm710-nav a:hover{color:var(--nm710-accent)!important;background:var(--nm710-accent-soft)!important;border-color:#e2ddff!important;transform:translateY(-1px)!important}
.nm710-nav a.is-active{color:var(--nm710-accent)!important;background:linear-gradient(180deg,#f7f5ff,#efecff)!important;border-color:#ddd7ff!important;box-shadow:0 6px 17px rgba(111,92,255,.09)!important}
.nm710-nav a::before,.nm710-nav a::after{display:none!important;content:none!important}
.nm710-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;min-width:0!important}
.nm710-account{
  height:46px!important;max-width:220px!important;padding:5px 10px 5px 6px!important;display:flex!important;align-items:center!important;gap:9px!important;
  border:1px solid var(--nm710-line)!important;border-radius:13px!important;background:#fff!important;color:var(--nm710-text)!important;
  box-shadow:0 4px 14px rgba(45,40,83,.045)!important;cursor:pointer!important;transition:.16s ease!important;
}
.nm710-account:hover{border-color:#d9d4fa!important;box-shadow:0 8px 22px rgba(45,40,83,.075)!important}
.nm710-avatar{width:34px!important;height:34px!important;flex:0 0 34px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:linear-gradient(145deg,var(--nm710-accent),var(--nm710-accent-2))!important;color:#fff!important;font-size:12px!important;font-weight:950!important;box-shadow:0 7px 17px rgba(111,92,255,.18)!important;overflow:hidden!important}
.nm710-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
.nm710-account-copy{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;line-height:1.15!important}
.nm710-account-copy strong{max-width:135px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:var(--nm710-text)!important;font-size:11.5px!important;font-weight:900!important}
.nm710-account-copy small{max-width:135px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;margin-top:3px!important;color:var(--nm710-muted)!important;font-size:9px!important;font-weight:700!important}
.nm710-chevron{width:16px!important;color:#959bad!important;font-size:15px!important;text-align:center!important}
.nm710-dropdown{
  position:absolute!important;right:0!important;top:calc(100% + 10px)!important;width:252px!important;padding:8px!important;
  border:1px solid var(--nm710-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--nm710-shadow-lg)!important;
}
.nm710-account-wrap{position:relative!important}
.nm710-dropdown-head{display:flex!important;align-items:center!important;gap:10px!important;padding:8px 8px 12px!important;margin-bottom:6px!important;border-bottom:1px solid #eceef3!important}
.nm710-dropdown-head div:last-child{min-width:0!important;display:flex!important;flex-direction:column!important}
.nm710-dropdown-head strong{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12px!important;font-weight:900!important}
.nm710-dropdown-head small{margin-top:3px!important;color:var(--nm710-muted)!important;font-size:9.5px!important}
.nm710-dropdown a,.nm710-dropdown button{
  width:100%!important;min-height:40px!important;padding:0 10px!important;display:flex!important;align-items:center!important;gap:9px!important;
  border:0!important;border-radius:10px!important;background:transparent!important;color:var(--nm710-text-2)!important;font-size:11px!important;font-weight:800!important;text-decoration:none!important;text-align:left!important;cursor:pointer!important;
}
.nm710-dropdown a:hover,.nm710-dropdown button:hover{background:var(--nm710-accent-soft)!important;color:var(--nm710-accent)!important}
.nm710-menu-toggle{display:none!important;width:44px!important;height:44px!important;padding:0!important;border:1px solid var(--nm710-line)!important;border-radius:12px!important;background:#fff!important;color:var(--nm710-text)!important;box-shadow:none!important;cursor:pointer!important}
.nm710-menu-toggle svg{width:20px!important;height:20px!important;stroke:currentColor!important}
.nm710-mobile-backdrop{display:none;position:fixed;inset:var(--nm710-header) 0 0;background:rgba(24,24,34,.22);backdrop-filter:blur(2px);z-index:9990}
body.nm710-menu-open{overflow:hidden!important}
body.nm710-menu-open .nm710-mobile-backdrop{display:block}

/* Kill visual traces of historical menu systems. */
body.nm710-ui .site-header:not(.nm710-header),
body.nm710-ui .nm91-global-menu,
body.nm710-ui .nm93-global-menu,
body.nm710-ui .nm33-games-dropdown{display:none!important}

/* ===== Global rhythm ===== */
body.nm710-ui main:not(.nx400-main){min-height:calc(100vh - var(--nm710-header) - 190px)!important}
body.nm710-ui main:not(.nm600-home-main):not(.nm95-games-main):not(.roulette-v4-main):not(.v88-client-main):not(.nm90-contacts-main):not(.rules-v87-main):not(.nm113-main):not(.nm108-wrap):not(.nm95-404-main){padding-top:34px!important;padding-bottom:56px!important}
body.nm710-ui h1{letter-spacing:-.04em!important}
body.nm710-ui h2{letter-spacing:-.03em!important}
body.nm710-ui p{line-height:1.65}
body.nm710-ui .card,
body.nm710-ui .panel,
body.nm710-ui .account-panel,
body.nm710-ui .admin-panel-pro,
body.nm710-ui .nm151-legal-card{
  border-color:var(--nm710-line)!important;border-radius:var(--nm710-radius)!important;background:var(--nm710-surface)!important;box-shadow:var(--nm710-shadow)!important;
}
body.nm710-ui .btn,body.nm710-ui button.btn{border-radius:12px!important}
body.nm710-ui input,body.nm710-ui select,body.nm710-ui textarea{border-radius:11px!important}

/* ===== Unified footer ===== */
body.nm710-ui .site-footer,
body.nm710-ui footer.site-footer{
  margin:0!important;padding:36px 0 24px!important;border-top:1px solid var(--nm710-line)!important;background:#fff!important;color:var(--nm710-text)!important;
}
body.nm710-ui .site-footer .nm19-footer-grid{display:grid!important;grid-template-columns:1.6fr repeat(3,minmax(130px,.72fr))!important;gap:34px!important}
body.nm710-ui .site-footer .nm19-footer-logo img{width:176px!important;filter:invert(1) saturate(.15) brightness(.28)!important}
body.nm710-ui .site-footer p{max-width:390px!important;color:var(--nm710-muted)!important;font-size:11px!important}
body.nm710-ui .site-footer h4{margin:0 0 12px!important;color:var(--nm710-text)!important;font-size:11px!important;font-weight:900!important}
body.nm710-ui .site-footer a{display:block!important;margin:8px 0!important;color:#71798b!important;font-size:10.5px!important;font-weight:700!important;text-decoration:none!important}
body.nm710-ui .site-footer a:hover{color:var(--nm710-accent)!important}
body.nm710-ui .nm19-footer-bottom{margin-top:25px!important;padding-top:16px!important;border-top:1px solid #eceef3!important;color:#9aa1af!important;font-size:9.5px!important}

/* ===== Home ===== */
body.nm710-ui .nm600-home-main{padding:34px 0 60px!important}
body.nm710-ui .nm600-home-hero{width:min(calc(100% - 40px),var(--nm710-container))!important;margin:0 auto 14px!important;border-radius:26px!important;border:1px solid #dfdbf5!important;box-shadow:var(--nm710-shadow)!important}
body.nm710-ui .nm600-home-services,
body.nm710-ui .nm600-home-showcase,
body.nm710-ui .nm600-home-cta{width:min(calc(100% - 40px),var(--nm710-container))!important;margin-inline:auto!important}
body.nm710-ui .nm600-home-card,
body.nm710-ui .nm600-showcase-card{border-radius:18px!important;border:1px solid var(--nm710-line)!important;box-shadow:0 7px 24px rgba(43,38,84,.055)!important}

/* ===== Account / Inventory / Trades ===== */
body.account-page.nm710-ui main>.container,
body.inventory-page.nm710-ui .inventory-main>.container,
body.trades-page.nm710-ui main>.container{width:min(calc(100% - 40px),1180px)!important}
body.account-page.nm710-ui .account-shell{display:grid!important;grid-template-columns:230px minmax(0,1fr)!important;gap:16px!important;align-items:start!important}
body.account-page.nm710-ui .account-sidebar,
body.inventory-page.nm710-ui .nm36-sidebar,
body.trades-page.nm710-ui .nm36-sidebar{position:sticky!important;top:calc(var(--nm710-header) + 16px)!important;border:1px solid var(--nm710-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--nm710-shadow)!important}
body.account-page.nm710-ui .account-nav-item,
body.inventory-page.nm710-ui .nm36-sidebar-link,
body.trades-page.nm710-ui .nm36-sidebar-link{border-radius:10px!important}
body.account-page.nm710-ui .account-nav-item.active,
body.inventory-page.nm710-ui .nm36-sidebar-link.active,
body.trades-page.nm710-ui .nm36-sidebar-link.active{background:var(--nm710-accent-soft)!important;color:var(--nm710-accent)!important}
body.account-page.nm710-ui .profile-unified-head{border:1px solid #dfdbf4!important;border-radius:20px!important;background:linear-gradient(135deg,#fff,#f5f2ff)!important;box-shadow:var(--nm710-shadow)!important}
body.inventory-page.nm710-ui .inventory-card,
body.trades-page.nm710-ui .trade-card{border:1px solid var(--nm710-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:0 7px 22px rgba(43,38,84,.05)!important}

/* ===== Donate ===== */
body.donate-clean-page.nm710-ui main>.container{width:min(calc(100% - 40px),1080px)!important}
body.donate-clean-page.nm710-ui .donate-card,
body.donate-clean-page.nm710-ui .donate-panel,
body.donate-clean-page.nm710-ui .payment-card{border:1px solid var(--nm710-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--nm710-shadow)!important}

/* ===== Games / Client / Roulette ===== */
body.nm710-ui .nm600-games-shell,
body.nm710-ui .v88-client-shell,
body.nm710-ui .roulette-v4-shell{width:min(calc(100% - 40px),1180px)!important;margin-inline:auto!important}
body.nm710-ui .nm600-games-main,
body.nm710-ui .v88-client-main,
body.nm710-ui .roulette-v4-main{padding:34px 0 58px!important}
body.nm710-ui .nm600-games-head,
body.nm710-ui .v88-client-hero,
body.nm710-ui .roulette-v4-heading{border-radius:22px!important;box-shadow:var(--nm710-shadow)!important}
body.nm710-ui .nm600-game-card,
body.nm710-ui .v88-client-card,
body.nm710-ui .roulette-type-card,
body.nm710-ui .roulette-v4-stage,
body.nm710-ui .roulette-recent-section{border-color:var(--nm710-line)!important;box-shadow:0 7px 24px rgba(43,38,84,.055)!important}

/* ===== Shop ===== */
body.nm108-shop-page.nm710-ui .nm108-wrap{width:min(calc(100% - 40px),1200px)!important;margin:0 auto!important;padding:34px 0 58px!important}
body.nm108-shop-page.nm710-ui .nm108-hero{border:1px solid #dfdbf5!important;border-radius:22px!important;background:linear-gradient(135deg,#fff,#f4f1ff)!important;box-shadow:var(--nm710-shadow)!important}
body.nm108-shop-page.nm710-ui .nm108-card{border:1px solid var(--nm710-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 7px 24px rgba(43,38,84,.055)!important}
body.nm108-shop-page.nm710-ui .nm108-tabs,
body.nm108-shop-page.nm710-ui .nm600-shop-tools{border-radius:16px!important}
body.nm108-shop-page.nm710-ui .nm108-footer{border-top:1px solid var(--nm710-line)!important;background:#fff!important}

/* ===== Music gets the exact same site chrome ===== */
body.nm600-music-page.nm710-ui .app{width:min(calc(100% - 40px),1180px)!important;margin:0 auto!important;padding:28px 0 58px!important}
body.nm600-music-page.nm710-ui .topbar{display:none!important}
body.nm600-music-page.nm710-ui .layout{margin-top:0!important}
body.nm600-music-page.nm710-ui .card{border-radius:20px!important;box-shadow:var(--nm710-shadow)!important}

/* ===== Contacts / Rules / Contest / Legal ===== */
body.nm90-contacts-page.nm710-ui .nm90-contact-shell,
body.rules-v87-page.nm710-ui .rules-v87-shell,
body.nm113-contest-page.nm710-ui .nm113-shell,
body.nm600-legal-page.nm710-ui main>.container,
body.nm600-content-page.nm710-ui main>.container{width:min(calc(100% - 40px),1100px)!important;margin-inline:auto!important}
body.nm90-contacts-page.nm710-ui .nm90-contact-head,
body.rules-v87-page.nm710-ui .rules-v87-head,
body.nm113-contest-page.nm710-ui .nm113-hero,
body.nm600-legal-page.nm710-ui .nm600-legal-hero,
body.nm600-content-page.nm710-ui .nm600-content-hero{border-radius:22px!important;border:1px solid #dfdbf5!important;box-shadow:var(--nm710-shadow)!important}
body.nm600-legal-page.nm710-ui .nm151-legal-card{margin:12px auto!important;width:min(calc(100% - 40px),1100px)!important}

/* ===== Toasts / modals / cookie ===== */
body.nm710-ui .toast{z-index:12000!important;border:1px solid var(--nm710-line)!important;border-radius:14px!important;background:#fff!important;color:var(--nm710-text)!important;box-shadow:var(--nm710-shadow-lg)!important}
body.nm710-ui .modal{z-index:11900!important;background:rgba(22,23,33,.34)!important;backdrop-filter:blur(5px)!important}
body.nm710-ui .modal-card{border:1px solid var(--nm710-line)!important;border-radius:22px!important;background:#fff!important;box-shadow:var(--nm710-shadow-lg)!important}
body.nm710-ui .cookie{z-index:11800!important;border:1px solid var(--nm710-line)!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--nm710-shadow)!important}

/* ===== Forum alignment ===== */
body.nmf710-body{background:var(--nm710-bg)!important}
body.nmf710-body .nmf116-shell{width:min(calc(100% - 40px),1180px)!important;margin:0 auto!important;padding:24px 0 58px!important}
body.nmf710-body .nmf116-main{min-width:0!important}
body.nmf710-body .nmf116-card,
body.nmf710-body .nmf116-panel,
body.nmf710-body .nmf152-card,
body.nmf710-body .nmf600-card,
body.nmf710-body .nmf116-category,
body.nmf710-body .nmf116-topic-row,
body.nmf710-body .nmf116-post{border:1px solid var(--nm710-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 7px 24px rgba(43,38,84,.05)!important}
body.nmf710-body .nmf116-user-nav{border:1px solid var(--nm710-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 7px 22px rgba(43,38,84,.045)!important}
body.nmf710-body .nmf116-user-nav a.active,
body.nmf710-body .nmf116-user-nav button.active{background:var(--nm710-accent-soft)!important;color:var(--nm710-accent)!important}
body.nmf710-body .nmf116-flash{border-radius:14px!important}

/* ===== Main admin ===== */
body.admin-page.nm710-ui{background:#f4f5fa!important}
body.admin-page.nm710-ui .admin-shell-pro{width:min(calc(100% - 32px),1380px)!important;margin:20px auto 54px!important}
body.admin-page.nm710-ui .admin-sidebar-pro{border:1px solid var(--nm710-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--nm710-shadow)!important}
body.admin-page.nm710-ui .admin-side-nav button.active{background:var(--nm710-accent-soft)!important;color:var(--nm710-accent)!important}
body.admin-page.nm710-ui .admin-panel-pro{box-shadow:var(--nm710-shadow)!important}

/* ===== Forum ACP strict uniformity ===== */
body.nx400-body{--nx710-accent:var(--nm710-accent);background:#f4f5fa!important;color:var(--nm710-text)!important}
body.nx400-body .nx400-sidebar{background:#fff!important;border-right:1px solid var(--nm710-line)!important;box-shadow:8px 0 30px rgba(43,38,84,.035)!important}
body.nx400-body .nx400-brand-mark{background:linear-gradient(145deg,var(--nm710-accent),var(--nm710-accent-2))!important;color:#fff!important}
body.nx400-body .nx400-nav-item{border-radius:11px!important}
body.nx400-body .nx400-nav-item.is-active{background:var(--nm710-accent-soft)!important;color:var(--nm710-accent)!important}
body.nx400-body .nx400-topbar{height:68px!important;border-bottom:1px solid var(--nm710-line)!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(15px)!important}
body.nx400-body .nx400-pagebar{padding-top:22px!important;padding-bottom:14px!important}
body.nx400-body .nx400-content{padding-bottom:48px!important}
body.nx400-body .nx400-panel,
body.nx400-body .nx400-card,
body.nx400-body .nma-card{border-color:var(--nm710-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:0 7px 24px rgba(43,38,84,.05)!important}
body.nx400-body .nx400-btn.is-primary{background:linear-gradient(135deg,var(--nm710-accent),var(--nm710-accent-2))!important;border-color:var(--nm710-accent)!important;color:#fff!important}

/* ===== Responsive ===== */
@media (max-width:1080px){
  .nm710-header-inner{grid-template-columns:165px minmax(0,1fr) auto!important;gap:10px!important}
  .nm710-brand{width:165px!important}.nm710-brand img{width:162px!important}
  .nm710-nav a{padding:0 9px!important;font-size:11px!important}.nm710-nav a svg{width:16px!important;height:16px!important}
  .nm710-account{max-width:180px!important}.nm710-account-copy strong,.nm710-account-copy small{max-width:95px!important}
}
@media (max-width:900px){
  :root{--nm710-header:68px}
  .nm710-header-inner{width:min(calc(100% - 24px),var(--nm710-container))!important;display:flex!important;gap:8px!important}
  .nm710-brand{width:154px!important}.nm710-brand img{width:154px!important;height:38px!important}
  .nm710-menu-toggle{display:grid!important;place-items:center!important;margin-left:auto!important;order:2!important}
  .nm710-actions{order:3!important}.nm710-account{width:44px!important;height:44px!important;padding:5px!important;border-radius:12px!important}.nm710-account-copy,.nm710-chevron{display:none!important}
  .nm710-nav{
    position:fixed!important;left:12px!important;right:12px!important;top:calc(var(--nm710-header) + 10px)!important;z-index:9999!important;
    display:none!important;grid-template-columns:1fr 1fr!important;gap:7px!important;padding:10px!important;
    border:1px solid var(--nm710-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--nm710-shadow-lg)!important;
  }
  body.nm710-menu-open .nm710-nav{display:grid!important}
  .nm710-nav a{height:48px!important;justify-content:flex-start!important;padding:0 13px!important;border:1px solid #ececf2!important;background:#fafaff!important;font-size:11.5px!important}
  .nm710-dropdown{position:fixed!important;top:calc(var(--nm710-header) + 10px)!important;right:12px!important;width:min(290px,calc(100% - 24px))!important}
  body.nm710-ui .container{width:min(calc(100% - 24px),var(--nm710-container))!important}
  body.account-page.nm710-ui .account-shell{grid-template-columns:1fr!important}
  body.account-page.nm710-ui .account-sidebar,body.inventory-page.nm710-ui .nm36-sidebar,body.trades-page.nm710-ui .nm36-sidebar{position:static!important}
  body.nm710-ui .site-footer .nm19-footer-grid{grid-template-columns:1fr 1fr!important;gap:24px!important}
}
@media (max-width:620px){
  .nm710-nav{grid-template-columns:1fr!important}
  .nm710-nav a{height:45px!important}
  body.nm710-ui .site-footer .nm19-footer-grid{grid-template-columns:1fr!important}
  body.nm710-ui .nm19-footer-bottom{display:flex!important;flex-direction:column!important;gap:6px!important;align-items:flex-start!important}
  body.nm710-ui .nm600-home-hero,
  body.nm710-ui .nm600-home-services,
  body.nm710-ui .nm600-home-showcase,
  body.nm710-ui .nm600-home-cta,
  body.nm108-shop-page.nm710-ui .nm108-wrap,
  body.nm710-ui .nm600-games-shell,
  body.nm710-ui .v88-client-shell,
  body.nm710-ui .roulette-v4-shell,
  body.nm90-contacts-page.nm710-ui .nm90-contact-shell,
  body.rules-v87-page.nm710-ui .rules-v87-shell,
  body.nm113-contest-page.nm710-ui .nm113-shell,
  body.nm600-legal-page.nm710-ui main>.container,
  body.nm600-content-page.nm710-ui main>.container,
  body.nmf710-body .nmf116-shell{width:min(calc(100% - 20px),var(--nm710-container))!important}
}

/* Motion kept subtle and consistent. */
@media (prefers-reduced-motion:no-preference){
  body.nm710-ui .nm710-header,body.nm710-ui .nm710-nav a,body.nm710-ui .nm710-account,body.nm710-ui .btn{transition:.16s ease!important}
}

/* ===== Maintenance page uses the same brand palette ===== */
body.nm600-maintenance-page.nm710-ui{
  color:var(--nm710-text)!important;
  background:radial-gradient(circle at 50% 10%,rgba(111,92,255,.14),transparent 30rem),linear-gradient(180deg,#fbfaff,#f4f2ff)!important;
}
body.nm600-maintenance-page.nm710-ui::before{background:linear-gradient(rgba(111,92,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(111,92,255,.035) 1px,transparent 1px)!important}
body.nm600-maintenance-page.nm710-ui .page{padding:38px 34px!important;border:1px solid #dfdaf8!important;border-radius:28px!important;background:rgba(255,255,255,.86)!important;box-shadow:var(--nm710-shadow-lg)!important;backdrop-filter:blur(16px)!important}
body.nm600-maintenance-page.nm710-ui .logo{margin-bottom:32px!important;filter:invert(1) saturate(.18) brightness(.28)!important}
body.nm600-maintenance-page.nm710-ui .status{color:var(--nm710-accent)!important}
body.nm600-maintenance-page.nm710-ui .status i{background:var(--nm710-accent)!important;box-shadow:0 0 0 5px rgba(111,92,255,.11)!important}
body.nm600-maintenance-page.nm710-ui h1{color:var(--nm710-text)!important}
body.nm600-maintenance-page.nm710-ui h1 span{background:linear-gradient(90deg,var(--nm710-accent),var(--nm710-accent-2))!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important}
body.nm600-maintenance-page.nm710-ui p{color:var(--nm710-muted)!important}
body.nm600-maintenance-page.nm710-ui .progress{background:#eae7fb!important}
body.nm600-maintenance-page.nm710-ui .progress span{background:linear-gradient(90deg,var(--nm710-accent),var(--nm710-accent-2))!important}
body.nm600-maintenance-page.nm710-ui .note{color:#8c93a3!important}
body.nm600-maintenance-page.nm710-ui .footer{color:#9ba1af!important}

/* ======================================================================
   V745 CLEAN LIGHT HARD FIX
   one light theme / real avatar image / stable header-main-footer
   ====================================================================== */
html{
  color-scheme:light!important;
  background:#f4f5fa!important;
}
html[data-theme="dark"],html[data-theme="light"]{
  color-scheme:light!important;
}
#theme-toggle,.theme-toggle,[data-theme-toggle],.theme-switcher,
.nm-theme-toggle,.dark-mode-toggle,.light-mode-toggle{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
body:not(.admin-page):not(.nx400-body){
  min-height:100vh!important;
  display:flex!important;
  flex-direction:column!important;
  background:#f4f5fa!important;
}
body:not(.admin-page):not(.nx400-body)>main{
  flex:1 0 auto!important;
  width:100%!important;
  min-width:0!important;
}
body:not(.admin-page):not(.nx400-body)>.nm710-header,
body:not(.admin-page):not(.nx400-body)>header.nm710-header{
  flex:0 0 auto!important;
  width:100%!important;
  position:relative!important;
  z-index:100!important;
  background:#fff!important;
  border-bottom:1px solid #e7e9f1!important;
  box-shadow:none!important;
}
body:not(.admin-page):not(.nx400-body) .nm710-header-inner{
  width:min(calc(100% - 40px),1240px)!important;
  max-width:1240px!important;
  min-height:72px!important;
  margin:0 auto!important;
  padding:0!important;
}

/* Canonical footer independent from historical page CSS. */
body:not(.admin-page):not(.nx400-body)>.site-footer.nm710-site-footer{
  flex:0 0 auto!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  margin:32px 0 0!important;
  padding:0!important;
  background:#fff!important;
  border:0!important;
  border-top:1px solid #e7e9f1!important;
  box-shadow:none!important;
  position:relative!important;
  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  transform:none!important;
}
body:not(.admin-page):not(.nx400-body)>.site-footer.nm710-site-footer>.container{
  display:block!important;
  width:min(calc(100% - 40px),1240px)!important;
  max-width:1240px!important;
  min-height:0!important;
  margin:0 auto!important;
  padding:28px 0 16px!important;
}
body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-grid{
  display:grid!important;
  grid-template-columns:minmax(280px,1.35fr) repeat(3,minmax(150px,.7fr))!important;
  gap:28px 42px!important;
  align-items:start!important;
  width:100%!important;
}
body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-brand,
body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-col{
  display:block!important;
  min-width:0!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
  transform:none!important;
}
body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-logo{
  display:inline-flex!important;
  width:auto!important;height:auto!important;
  margin:0 0 12px!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-logo img{
  display:block!important;
  width:170px!important;height:40px!important;
  object-fit:contain!important;object-position:left center!important;
  filter:invert(1) saturate(.05) brightness(.22)!important;
  opacity:1!important;
}
body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-brand p{
  max-width:360px!important;margin:0!important;
  color:#767f98!important;font-size:12px!important;line-height:1.65!important;
}
body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-col h4{
  margin:2px 0 10px!important;padding:0!important;
  color:#1d2136!important;font-size:11px!important;font-weight:900!important;
  letter-spacing:.05em!important;text-transform:uppercase!important;
}
body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-col a{
  display:block!important;width:max-content!important;max-width:100%!important;
  margin:0!important;padding:5px 0!important;
  color:#6f7892!important;font-size:12px!important;font-weight:700!important;
  line-height:1.35!important;text-decoration:none!important;
}
body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-bottom{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;
  width:100%!important;min-height:0!important;
  margin:22px 0 0!important;padding:14px 0 0!important;
  border-top:1px solid #eceef4!important;
  color:#8b93a8!important;font-size:10px!important;line-height:1.4!important;
}

/* Real profile/avatar image: no glow, tint, opacity, gradients or blend effects. */
html body.account-page .profile-unified-avatar,
html body.account-page .avatar-settings-preview,
html body.account-page #profile-avatar,
html body.account-page #avatar-settings-preview{
  overflow:hidden!important;
  background:#eef1f6!important;
  background-image:none!important;
  border:1px solid #e4e7ef!important;
  box-shadow:none!important;
  filter:none!important;
  backdrop-filter:none!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
  isolation:isolate!important;
}
html body.account-page .profile-unified-avatar::before,
html body.account-page .profile-unified-avatar::after,
html body.account-page .avatar-settings-preview::before,
html body.account-page .avatar-settings-preview::after{
  display:none!important;content:none!important;
}
html body.account-page .profile-unified-avatar img.nm745-avatar-image,
html body.account-page .avatar-settings-preview img.nm745-avatar-image,
html body.account-page [data-user-avatar] img.nm745-avatar-image,
html body.account-page .js-user-avatar img.nm745-avatar-image{
  display:block!important;
  width:100%!important;height:100%!important;
  min-width:100%!important;min-height:100%!important;
  margin:0!important;padding:0!important;
  object-fit:cover!important;object-position:center!important;
  border:0!important;border-radius:inherit!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
  transform:none!important;
}
html body.account-page .profile-unified-head.nm744-profile-head{
  background:#fff!important;background-image:none!important;
  border-radius:22px 22px 0 0!important;
}
html body.account-page .profile-unified-head.nm744-profile-head::before,
html body.account-page .profile-unified-head.nm744-profile-head::after{
  display:none!important;content:none!important;background:none!important;
}

@media(max-width:900px){
  body:not(.admin-page):not(.nx400-body) .nm710-header-inner{
    width:min(calc(100% - 24px),1240px)!important;
    min-height:64px!important;
  }
  body:not(.admin-page):not(.nx400-body)>.site-footer.nm710-site-footer>.container{
    width:min(calc(100% - 28px),1240px)!important;
  }
  body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-grid{
    grid-template-columns:1fr 1fr!important;gap:20px 24px!important;
  }
  body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-brand{grid-column:1/-1!important;}
}
@media(max-width:620px){
  body:not(.admin-page):not(.nx400-body)>.site-footer.nm710-site-footer{margin-top:20px!important;}
  body:not(.admin-page):not(.nx400-body)>.site-footer.nm710-site-footer>.container{
    width:min(calc(100% - 24px),1240px)!important;padding:22px 0 14px!important;
  }
  body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-grid{
    grid-template-columns:1fr 1fr!important;gap:18px 14px!important;
  }
  body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-brand{grid-column:1/-1!important;}
  body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-logo img{width:145px!important;height:34px!important;}
  body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-brand p{font-size:11px!important;}
  body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-col:last-of-type{grid-column:1/-1!important;}
  body:not(.admin-page):not(.nx400-body) .nm710-site-footer .nm19-footer-bottom{
    flex-direction:column!important;align-items:flex-start!important;gap:5px!important;margin-top:18px!important;
  }
}

/* ==========================================================
   NEMAZING V746 — canonical navigation + isolated footer
   ========================================================== */
body:not(.admin-page):not(.nx400-body) > footer.nm746-footer{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  margin:32px 0 0!important;
  padding:0!important;
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  background:#fff!important;
  border:0!important;
  border-top:1px solid #e7e9f1!important;
  box-shadow:none!important;
  overflow:hidden!important;
  color:#1d2136!important;
  flex:0 0 auto!important;
}
body:not(.admin-page):not(.nx400-body) > footer.nm746-footer *{box-sizing:border-box!important;}
body:not(.admin-page):not(.nx400-body) .nm746-footer-wrap{
  width:min(calc(100% - 40px),1240px)!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:28px 0 16px!important;
}
body:not(.admin-page):not(.nx400-body) .nm746-footer-top{
  display:grid!important;
  grid-template-columns:minmax(260px,1.1fr) minmax(0,2fr)!important;
  align-items:start!important;
  gap:48px!important;
}
body:not(.admin-page):not(.nx400-body) .nm746-footer-brand{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
body:not(.admin-page):not(.nx400-body) .nm746-footer-logo{
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  height:auto!important;
  margin:0 0 12px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body:not(.admin-page):not(.nx400-body) .nm746-footer-logo img{
  display:block!important;
  width:160px!important;
  height:38px!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:invert(1) saturate(.05) brightness(.22)!important;
  opacity:1!important;
}
body:not(.admin-page):not(.nx400-body) .nm746-footer-brand p{
  max-width:360px!important;
  margin:0!important;
  padding:0!important;
  color:#747d98!important;
  font-size:12px!important;
  line-height:1.65!important;
}
body:not(.admin-page):not(.nx400-body) .nm746-footer-links{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:34px!important;
  min-width:0!important;
}
body:not(.admin-page):not(.nx400-body) .nm746-footer-links > div{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:0!important;
  min-width:0!important;
}
body:not(.admin-page):not(.nx400-body) .nm746-footer-links h4{
  margin:0 0 9px!important;
  padding:0!important;
  color:#1c2034!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1.3!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
}
body:not(.admin-page):not(.nx400-body) .nm746-footer-links a{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:5px 0!important;
  color:#6f7892!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.35!important;
  text-decoration:none!important;
  white-space:normal!important;
}
body:not(.admin-page):not(.nx400-body) .nm746-footer-links a:hover{color:#6f5cff!important;}
body:not(.admin-page):not(.nx400-body) .nm746-footer-bottom{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  width:100%!important;
  margin:22px 0 0!important;
  padding:14px 0 0!important;
  border-top:1px solid #eceef4!important;
  color:#8a92a8!important;
  font-size:10px!important;
  line-height:1.4!important;
}
/* old footers may exist in source but are never allowed to display after V746 boot */
body.nm710-ui > footer.site-footer:not(.nm746-footer),
body.nm710-ui > .site-footer:not(.nm746-footer){display:none!important;}

@media(max-width:900px){
  body:not(.admin-page):not(.nx400-body) .nm746-footer-wrap{width:min(calc(100% - 28px),1240px)!important;}
  body:not(.admin-page):not(.nx400-body) .nm746-footer-top{grid-template-columns:1fr!important;gap:24px!important;}
  body:not(.admin-page):not(.nx400-body) .nm746-footer-links{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;}
}
@media(max-width:620px){
  body:not(.admin-page):not(.nx400-body) > footer.nm746-footer{margin-top:20px!important;}
  body:not(.admin-page):not(.nx400-body) .nm746-footer-wrap{width:min(calc(100% - 24px),1240px)!important;padding:22px 0 14px!important;}
  body:not(.admin-page):not(.nx400-body) .nm746-footer-links{grid-template-columns:1fr 1fr!important;gap:18px 14px!important;}
  body:not(.admin-page):not(.nx400-body) .nm746-footer-links > div:last-child{grid-column:1/-1!important;}
  body:not(.admin-page):not(.nx400-body) .nm746-footer-logo img{width:145px!important;height:34px!important;}
  body:not(.admin-page):not(.nx400-body) .nm746-footer-bottom{flex-direction:column!important;align-items:flex-start!important;gap:5px!important;margin-top:18px!important;}
}
