/* ======================================================================
   NEMAZING ONLINE · V740 MOBILE REBUILD
   Mobile-only layout rebuild. Desktop stays on V720/V730 visuals.
   ====================================================================== */
:root{
  --nm740-edge:12px;
  --nm740-gap:10px;
  --nm740-radius:16px;
  --nm740-line:#e5e6ee;
  --nm740-bg:#f6f7fb;
  --nm740-card:#fff;
  --nm740-text:#1d2130;
  --nm740-muted:#7d8597;
  --nm740-accent:#6f5cff;
  --nm740-accent-2:#8f7bff;
  --nm740-soft:#f1efff;
  --nm740-shadow:0 10px 30px rgba(31,34,52,.07);
}

/* No floating support/question/theme bubbles on public site. */
.nm142-support,.nm142-support-launch,#theme-toggle,.theme-toggle{display:none!important}

@media(max-width:768px){
  html{width:100%;max-width:100%;overflow-x:hidden!important;background:var(--nm740-bg)!important}
  body{width:100%;max-width:100%;min-width:0!important;margin:0!important;overflow-x:hidden!important;background:var(--nm740-bg)!important}
  body *{box-sizing:border-box}
  img,video,svg,canvas{max-width:100%;height:auto}
  body [style*="width:"]{max-width:100%}
  body main{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}

  /* ---------- one mobile header ---------- */
  body.nm710-ui{padding-top:58px!important}
  body.nm710-ui .nm710-header{
    position:fixed!important;inset:0 0 auto 0!important;z-index:5000!important;
    height:58px!important;min-height:58px!important;border-bottom:1px solid var(--nm740-line)!important;
    background:rgba(255,255,255,.98)!important;box-shadow:0 3px 18px rgba(26,29,43,.045)!important;
    backdrop-filter:blur(16px)!important;
  }
  body.nm710-ui .nm710-header-inner{width:100%!important;height:58px!important;margin:0!important;padding:0 11px!important;gap:8px!important}
  body.nm710-ui .nm710-brand{display:flex!important;align-items:center!important;width:128px!important;min-width:128px!important;height:34px!important;padding:0!important}
  body.nm710-ui .nm710-brand img{display:block!important;width:128px!important;height:32px!important;object-fit:contain!important;object-position:left center!important}
  body.nm710-ui .nm710-actions{margin-left:auto!important;display:flex!important;align-items:center!important;gap:6px!important}
  body.nm710-ui .nm710-account-wrap{display:none!important}
  body.nm710-ui .nm710-menu-toggle{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;margin:0!important;padding:0!important;border:1px solid var(--nm740-line)!important;border-radius:12px!important;background:#fff!important;color:#303546!important;box-shadow:none!important}
  body.nm710-ui .nm710-menu-toggle svg{width:19px!important;height:19px!important}
  body.nm710-ui .nm710-mobile-backdrop{position:fixed!important;inset:58px 0 0!important;z-index:4998!important;background:rgba(19,21,31,.25)!important;backdrop-filter:blur(3px)!important}
  body.nm710-ui .nm710-nav{
    position:fixed!important;inset:58px 0 0 0!important;z-index:4999!important;width:100%!important;height:calc(100dvh - 58px)!important;
    max-height:none!important;margin:0!important;padding:12px 12px calc(22px + env(safe-area-inset-bottom))!important;
    display:none!important;grid-template-columns:1fr!important;align-content:start!important;gap:7px!important;
    overflow-y:auto!important;overscroll-behavior:contain!important;border:0!important;border-radius:0!important;background:#f8f9fc!important;box-shadow:none!important;
  }
  body.nm710-ui.nm710-menu-open .nm710-nav{display:grid!important}
  body.nm710-ui .nm710-nav a{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;height:52px!important;min-height:52px!important;padding:0 14px!important;gap:11px!important;border:1px solid #e7e8ef!important;border-radius:14px!important;background:#fff!important;color:#3b4150!important;font-size:13px!important;font-weight:750!important;box-shadow:0 4px 15px rgba(25,29,43,.025)!important}
  body.nm710-ui .nm710-nav a.is-active{border-color:#d9d4ff!important;background:var(--nm740-soft)!important;color:#5f52e7!important}
  body.nm710-ui .nm710-nav a svg{width:19px!important;height:19px!important;flex:0 0 19px!important}

  /* remove any legacy header fragments that can reappear */
  body.nm710-ui>.site-header:not(.nm710-header),body.nm710-ui .header-actions:not(.nm710-actions),body.nm710-ui .account-menu-wrap:not(.nm710-account-wrap){display:none!important}

  /* ---------- universal mobile geometry ---------- */
  body.nm710-ui .container{width:auto!important;max-width:none!important;margin-left:var(--nm740-edge)!important;margin-right:var(--nm740-edge)!important;padding-left:0!important;padding-right:0!important}
  body.nm710-ui main{padding-top:14px!important;padding-bottom:28px!important}
  body.nm710-ui h1{margin-top:0!important;font-size:30px!important;line-height:1.06!important;letter-spacing:-.035em!important;overflow-wrap:anywhere!important}
  body.nm710-ui h2{font-size:21px!important;line-height:1.12!important;letter-spacing:-.025em!important;overflow-wrap:anywhere!important}
  body.nm710-ui h3{overflow-wrap:anywhere!important}
  body.nm710-ui p{font-size:13px!important;line-height:1.55!important;overflow-wrap:anywhere!important}
  body.nm710-ui input,body.nm710-ui select,body.nm710-ui textarea{width:100%;max-width:100%!important;min-width:0!important;font-size:16px!important}
  body.nm710-ui button,body.nm710-ui .btn,body.nm710-ui a.btn{min-height:44px!important}
  body.nm710-ui .modal-card,body.nm710-ui [role="dialog"]{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;margin:10px!important;border-radius:17px!important;overflow:auto!important}

  /* ---------- home ---------- */
  body.nm-home-page.nm710-ui .nm600-home-main{padding-top:12px!important}
  body.nm-home-page.nm710-ui .nm600-home-hero,body.nm-home-page.nm710-ui .nm600-home-services,body.nm-home-page.nm710-ui .nm600-home-showcase,body.nm-home-page.nm710-ui .nm600-home-cta{width:auto!important;margin:0 var(--nm740-edge) 12px!important}
  body.nm-home-page.nm710-ui .nm600-home-hero>.container,body.nm-home-page.nm710-ui .nm600-home-services>.container,body.nm-home-page.nm710-ui .nm600-home-showcase>.container,body.nm-home-page.nm710-ui .nm600-home-cta>.container{width:100%!important;margin:0!important}
  body.nm-home-page.nm710-ui .nm600-home-hero{border-radius:18px!important;overflow:hidden!important}
  body.nm-home-page.nm710-ui .nm600-home-hero-grid{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;padding:20px 15px!important}
  body.nm-home-page.nm710-ui .nm600-home-copy h1{font-size:36px!important}
  body.nm-home-page.nm710-ui .nm600-home-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.nm-home-page.nm710-ui .nm600-home-actions>*{width:100%!important}
  body.nm-home-page.nm710-ui .nm600-home-trust{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  body.nm-home-page.nm710-ui .nm600-service-grid,body.nm-home-page.nm710-ui .nm600-showcase-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}

  /* ---------- games ---------- */
  body.nm95-games-page.nm710-ui .nm600-games-main{padding:14px 0 26px!important}
  body.nm95-games-page.nm710-ui .nm600-games-shell{width:auto!important;margin:0 var(--nm740-edge)!important;padding:0!important}
  body.nm95-games-page.nm710-ui .nm600-games-head{padding:17px 15px!important;border:1px solid var(--nm740-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--nm740-shadow)!important}
  body.nm95-games-page.nm710-ui .nm600-games-head h1{font-size:29px!important;margin:5px 0 6px!important}
  body.nm95-games-page.nm710-ui .nm600-games-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin-top:10px!important}
  body.nm95-games-page.nm710-ui .nm600-game-card,body.nm95-games-page.nm710-ui .nm600-game-card.featured{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;min-height:0!important;gap:0!important;border:1px solid var(--nm740-line)!important;border-radius:16px!important;background:#fff!important;overflow:hidden!important;box-shadow:var(--nm740-shadow)!important}
  body.nm95-games-page.nm710-ui .nm600-game-art{width:76px!important;min-width:76px!important;height:100%!important;min-height:122px!important;border-radius:0!important}
  body.nm95-games-page.nm710-ui .nm600-game-art span{font-size:26px!important}
  body.nm95-games-page.nm710-ui .nm600-game-copy{padding:13px 13px 12px!important;min-width:0!important}
  body.nm95-games-page.nm710-ui .nm600-game-copy small{font-size:7px!important}
  body.nm95-games-page.nm710-ui .nm600-game-copy h2{margin:4px 0 4px!important;font-size:17px!important}
  body.nm95-games-page.nm710-ui .nm600-game-copy p{margin:0 0 8px!important;font-size:10.5px!important;line-height:1.45!important}
  body.nm95-games-page.nm710-ui .nm600-game-copy b{font-size:10px!important}

  /* ---------- account ---------- */
  body.account-page.nm710-ui .account-shell,body.account-page.nm710-ui .account-dashboard{width:auto!important;max-width:none!important;margin:0 var(--nm740-edge)!important;display:block!important}
  body.account-page.nm710-ui .nm36-sidebar,body.account-page.nm710-ui .account-sidebar{position:static!important;width:100%!important;max-width:100%!important;margin:0 0 10px!important;border-radius:16px!important;overflow:hidden!important}
  body.account-page.nm710-ui .nm36-sidebar nav,body.account-page.nm710-ui .account-sidebar nav{display:flex!important;gap:6px!important;padding:7px!important;overflow-x:auto!important;scrollbar-width:none!important}
  body.account-page.nm710-ui .nm36-sidebar nav::-webkit-scrollbar,body.account-page.nm710-ui .account-sidebar nav::-webkit-scrollbar{display:none!important}
  body.account-page.nm710-ui .nm36-sidebar a,body.account-page.nm710-ui .account-sidebar nav a{flex:0 0 auto!important;min-height:40px!important;white-space:nowrap!important}
  body.account-page.nm710-ui .nm36-cabinet-content,body.account-page.nm710-ui .account-main{width:100%!important;min-width:0!important}
  body.account-page.nm710-ui .account-hero-inner,body.account-page.nm710-ui .profile-unified-stats,body.account-page.nm710-ui .profile-unified-grid,body.account-page.nm710-ui .nm36-profile-meta{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.account-page.nm710-ui .account-panel{padding:14px!important;border-radius:16px!important}

  /* ---------- shop / inventory / donate / trades ---------- */
  body.nm108-shop-page.nm710-ui .nm108-wrap,body.donate-clean-page.nm710-ui .nm50-donate,body.inventory-page.nm710-ui .inventory-v2-main>.container,body.trades-page.nm710-ui .nm36-cabinet-layout{width:auto!important;max-width:none!important;margin-left:var(--nm740-edge)!important;margin-right:var(--nm740-edge)!important;padding-left:0!important;padding-right:0!important}
  body.nm108-shop-page.nm710-ui .nm108-head,body.donate-clean-page.nm710-ui .nm50-donate-grid,body.trades-page.nm710-ui .nm36-cabinet-layout{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  body.nm108-shop-page.nm710-ui .nm108-grid,body.inventory-page.nm710-ui .inventory-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  body.nm108-shop-page.nm710-ui .nm108-card{display:grid!important;grid-template-columns:108px minmax(0,1fr)!important;min-height:128px!important}
  body.nm108-shop-page.nm710-ui .nm108-media{width:108px!important;height:100%!important;min-height:128px!important}
  body.nm108-shop-page.nm710-ui .nm108-body{padding:12px!important;min-width:0!important}
  body.donate-clean-page.nm710-ui .nm50-donate-summary{position:static!important}
  body.inventory-page.nm710-ui .inventory-v2-header{display:block!important;padding:15px!important;border-radius:16px!important}
  body.inventory-page.nm710-ui .inventory-category-tabs,body.trades-page.nm710-ui .nm36-trade-tabs,body.nm108-shop-page.nm710-ui .nm108-tabs{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;overflow-x:auto!important;scrollbar-width:none!important}
  body.inventory-page.nm710-ui .inventory-category-tabs>* ,body.trades-page.nm710-ui .nm36-trade-tabs>* ,body.nm108-shop-page.nm710-ui .nm108-tabs>*{flex:0 0 auto!important;white-space:nowrap!important}

  /* ---------- play/client ---------- */
  body.play-v88-page.nm710-ui .v88-client-shell,body.nm710-ui .nm50-play{width:auto!important;margin:0 var(--nm740-edge)!important}
  body.play-v88-page.nm710-ui .v88-client-hero,body.nm710-ui .nm50-play-hero{display:grid!important;grid-template-columns:1fr!important;min-height:0!important;border-radius:17px!important}
  body.play-v88-page.nm710-ui .v88-client-grid,body.nm710-ui .nm50-play-steps{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.nm710-ui .nm50-play-copy{padding:22px 16px!important}
  body.nm710-ui .nm50-play-visual{min-height:260px!important}

  /* ---------- legal / contacts / misc ---------- */
  body.nm710-ui .nm151-legal-shell,body.nm710-ui .nm87-rules-shell,body.nm710-ui .nm90-contacts-shell{width:auto!important;max-width:none!important;margin-left:var(--nm740-edge)!important;margin-right:var(--nm740-edge)!important}
  body.nm710-ui .nm151-legal-grid,body.nm710-ui .nm90-contacts-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  body.nm710-ui .nm151-legal-card,body.nm710-ui .nm90-contact-card{padding:15px!important;border-radius:16px!important}

  /* ---------- footer ---------- */
  body.nm710-ui .nm720-site-footer{margin-top:18px!important;padding:24px 0 calc(18px + env(safe-area-inset-bottom))!important;border-top:1px solid var(--nm740-line)!important;background:#fff!important}
  body.nm710-ui .nm720-site-footer>.container{width:auto!important;margin:0 var(--nm740-edge)!important}
  body.nm710-ui .nm720-footer-main{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px 12px!important;align-items:start!important}
  body.nm710-ui .nm720-footer-brand{grid-column:1/-1!important;padding-bottom:14px!important;border-bottom:1px solid #eceef3!important}
  body.nm710-ui .nm720-footer-logo{display:block!important;width:132px!important;height:auto!important}
  body.nm710-ui .nm720-footer-logo img{width:132px!important;height:auto!important}
  body.nm710-ui .nm720-footer-brand p{max-width:290px!important;margin:8px 0 0!important;font-size:10px!important;line-height:1.5!important}
  body.nm710-ui .nm720-footer-col{min-width:0!important}
  body.nm710-ui .nm720-footer-col h4{margin:0 0 8px!important;font-size:10px!important}
  body.nm710-ui .nm720-footer-col a{display:block!important;margin:7px 0!important;font-size:9.5px!important;line-height:1.35!important}
  body.nm710-ui .nm720-footer-main>.nm720-footer-col:last-child{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;column-gap:12px!important}
  body.nm710-ui .nm720-footer-main>.nm720-footer-col:last-child h4{grid-column:1/-1!important}
  body.nm710-ui .nm720-footer-bottom{margin-top:16px!important;padding-top:12px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;font-size:8.5px!important}

  /* ---------- cookies/toasts ---------- */
  body.nm710-ui .cookie{left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;max-width:none!important;padding:11px!important;border-radius:14px!important;gap:8px!important}
  body.nm710-ui .cookie p{font-size:9.5px!important}
  body.nm710-ui .toast{left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;max-width:none!important}
}

/* ======================================================================
   FORUM MOBILE REBUILD
   ====================================================================== */
@media(max-width:768px){
  body.nmf710-body{width:100%!important;max-width:100%!important;margin:0!important;padding:0 0 calc(72px + env(safe-area-inset-bottom))!important;overflow-x:hidden!important;background:var(--nm740-bg)!important}
  body.nmf710-body .nmf116-shell,body.nmf710-body .nmf152-shell{width:auto!important;max-width:none!important;margin:0 9px!important;padding:9px 0 16px!important}
  body.nmf710-body .nmf161-bar{position:sticky!important;top:6px!important;z-index:1500!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;min-height:52px!important;margin:0 0 9px!important;padding:6px!important;border:1px solid var(--nm740-line)!important;border-radius:15px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 8px 28px rgba(35,37,53,.07)!important}
  body.nmf710-body .nmf161-brand{min-width:0!important;gap:8px!important;padding:0!important}
  body.nmf710-body .nmf161-brand-icon{width:36px!important;height:36px!important;flex:0 0 36px!important;border-radius:11px!important}
  body.nmf710-body .nmf161-brand-copy{min-width:0!important}
  body.nmf710-body .nmf161-brand-copy strong{display:block!important;font-size:10.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.nmf710-body .nmf161-brand-copy small{font-size:6.8px!important}
  body.nmf710-body .nmf161-nav,body.nmf710-body .nmf165-nav-tools>.nmf165-nav-tool:not(.nmf161-manage),body.nmf710-body .nmf165-nav-tools>.nmf165-bell-wrap{display:none!important}
  body.nmf710-body .nmf161-manage{width:38px!important;height:38px!important;border-radius:11px!important}
  body.nmf710-body .nmf165-notification-popover{display:none!important}

  body.nmf710-body .nmf600-forum-hero{display:grid!important;grid-template-columns:1fr!important;gap:11px!important;padding:15px!important;border-radius:16px!important}
  body.nmf710-body .nmf600-forum-hero h1{font-size:27px!important;line-height:1.05!important}
  body.nmf710-body .nmf600-hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
  body.nmf710-body .nmf600-hero-actions>*{width:100%!important}
  body.nmf710-body .nmf600-hero-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  body.nmf710-body .nmf600-hero-metrics>div{min-width:0!important;padding:8px 3px!important}
  body.nmf710-body .nmf600-hero-metrics strong{font-size:14px!important}
  body.nmf710-body .nmf600-hero-metrics span{font-size:6.2px!important;line-height:1.2!important}

  body.nmf710-body .nmf116-home-grid,body.nmf710-body .nmf147-home-grid,body.nmf710-body .nmf165-search-main,body.nmf710-body .nmf165-member-grid,body.nmf710-body .member-grid,body.nmf710-body .nmfpm-shell{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.nmf710-body .nmf116-sidebar{position:static!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.nmf710-body .nmf116-group,body.nmf710-body .side-card{border-radius:15px!important;overflow:hidden!important}
  body.nmf710-body .nmf116-node{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:9px!important;min-height:68px!important;padding:9px 10px!important}
  body.nmf710-body .node-stat,body.nmf710-body .node-last{display:none!important}
  body.nmf710-body .node-copy{min-width:0!important}
  body.nmf710-body .node-copy strong{font-size:10.8px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important}
  body.nmf710-body .node-copy small{font-size:8.2px!important;line-height:1.4!important}

  body.nmf710-body .nmf116-pagehead,body.nmf710-body .nmf165-search-head,body.nmf710-body .nmf165-topic-head,body.nmf710-body .topic-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:13px!important;border-radius:15px!important}
  body.nmf710-body .nmf116-head-actions{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;width:100%!important}
  body.nmf710-body .nmf116-head-actions>*{width:100%!important}
  body.nmf710-body .post-card{display:grid!important;grid-template-columns:1fr!important;border-radius:15px!important;overflow:hidden!important}
  body.nmf710-body .post-author{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:9px!important;padding:10px!important;text-align:left!important;border-right:0!important;border-bottom:1px solid #eceef3!important}
  body.nmf710-body .post-avatar{width:40px!important;height:40px!important;margin:0!important;border-radius:11px!important}
  body.nmf710-body .post-body{min-width:0!important;padding:12px!important;font-size:11px!important;line-height:1.55!important;overflow-wrap:anywhere!important}
  body.nmf710-body .post-body img,body.nmf710-body .post-body video{max-width:100%!important;height:auto!important}
  body.nmf710-body table{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}

  body.nmf710-body .nmf170-mobile-dock{position:fixed!important;left:7px!important;right:7px!important;bottom:max(7px,env(safe-area-inset-bottom))!important;z-index:3000!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px!important;padding:5px!important;border:1px solid #dde0ea!important;border-radius:17px!important;background:rgba(255,255,255,.985)!important;box-shadow:0 18px 48px rgba(36,34,65,.17)!important;backdrop-filter:blur(18px)!important}
  body.nmf710-body .nmf170-mobile-dock a{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;min-width:0!important;min-height:48px!important;padding:3px 1px!important;border-radius:10px!important;font-size:7.5px!important;line-height:1!important;text-align:center!important}
  body.nmf710-body .nmf170-mobile-dock svg{width:18px!important;height:18px!important;margin:0!important}
  body.nmf710-body .nmf170-mobile-dock a b{max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.nmf710-body .nmf170-mobile-dock a i{position:absolute!important;top:1px!important;right:calc(50% - 19px)!important;min-width:15px!important;height:15px!important;padding:0 3px!important;display:grid!important;place-items:center!important;border:2px solid #fff!important;border-radius:999px!important;background:#e15c69!important;color:#fff!important;font-size:6.5px!important;font-style:normal!important}
}

/* ======================================================================
   FORUM ACP MOBILE REBUILD
   ====================================================================== */
@media(max-width:900px){
  body.nx400-body{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow-x:hidden!important;background:var(--nm740-bg)!important}
  body.nx400-body .nx400-app,body.nx400-body .nx400-main{width:100%!important;max-width:100%!important;min-width:0!important}
  body.nx400-body .nx400-sidebar{position:fixed!important;top:0!important;bottom:0!important;left:0!important;z-index:4000!important;width:min(86vw,310px)!important;max-width:310px!important;height:100dvh!important;transform:translateX(-102%)!important;transition:transform .18s ease!important;overflow-y:auto!important;border-right:1px solid var(--nm740-line)!important;background:#fff!important;box-shadow:22px 0 60px rgba(25,27,42,.18)!important}
  body.nx400-body.nx400-sidebar-open .nx400-sidebar{transform:translateX(0)!important}
  body.nx400-body .nx400-topbar{position:sticky!important;top:0!important;z-index:2500!important;min-height:58px!important;height:58px!important;padding:0 9px!important;gap:7px!important;border-bottom:1px solid var(--nm740-line)!important;background:rgba(255,255,255,.98)!important;backdrop-filter:blur(16px)!important}
  body.nx400-body .nx400-page-title{min-width:0!important;font-size:13px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.nx400-body .nx400-top-actions{margin-left:auto!important;gap:5px!important}
  body.nx400-body .nx400-top-actions>*{min-width:38px!important;height:38px!important;padding:0 9px!important}
  body.nx400-body .nx400-content{width:100%!important;max-width:100%!important;min-width:0!important;padding:10px!important;overflow-x:hidden!important}
  body.nx400-body .nx400-pagehead{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;margin-bottom:9px!important;padding:13px!important;border-radius:15px!important}
  body.nx400-body .nx400-pagehead-actions{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;width:100%!important}
  body.nx400-body .nx400-pagehead-actions>*{width:100%!important}
  body.nx400-body .nx400-grid,body.nx400-body [class*="-grid"]{grid-template-columns:1fr!important}
  body.nx400-body .nx400-card,body.nx400-body [class*="-card"]{max-width:100%!important;border-radius:15px!important}
  body.nx400-body form{max-width:100%!important}
  body.nx400-body input,body.nx400-body select,body.nx400-body textarea{max-width:100%!important;min-width:0!important;font-size:16px!important}
  body.nx400-body table{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;white-space:nowrap!important}
  body.nx400-body .nx400-table-wrap,body.nx400-body [class*="table-wrap"]{width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  body.nx400-body .nx400-modal,body.nx400-body [class*="modal"]{max-width:calc(100vw - 18px)!important;max-height:calc(100dvh - 18px)!important}
}

@media(max-width:390px){
  :root{--nm740-edge:9px}
  body.nm710-ui .nm710-brand{width:116px!important;min-width:116px!important}
  body.nm710-ui .nm710-brand img{width:116px!important}
  body.nm710-ui h1{font-size:27px!important}
  body.nm-home-page.nm710-ui .nm600-home-copy h1{font-size:32px!important}
  body.nm95-games-page.nm710-ui .nm600-game-card,body.nm95-games-page.nm710-ui .nm600-game-card.featured{grid-template-columns:66px minmax(0,1fr)!important}
  body.nm95-games-page.nm710-ui .nm600-game-art{width:66px!important;min-width:66px!important}
  body.nm108-shop-page.nm710-ui .nm108-card{grid-template-columns:92px minmax(0,1fr)!important}
  body.nm108-shop-page.nm710-ui .nm108-media{width:92px!important}
}
