/* ======================================================================
   NEMAZING ONLINE · V730 MOBILE FIRST
   Dedicated mobile hardening layer. Desktop remains visually unchanged.
   ====================================================================== */
:root{
  --nm730-edge:12px;
  --nm730-gap:12px;
  --nm730-radius:16px;
  --nm730-line:#e4e5ed;
  --nm730-bg:#f6f7fb;
  --nm730-card:#fff;
  --nm730-text:#1d2130;
  --nm730-muted:#778096;
  --nm730-accent:#6f5cff;
  --nm730-accent2:#8f7bff;
  --nm730-soft:#f0edff;
}

/* Global defensive rules: nothing may push the page horizontally. */
html,body{max-width:100%;overflow-x:hidden!important}
body.nm710-ui *,body.nmf710-body *,body.nx400-body *{box-sizing:border-box}
img,svg,video,canvas{max-width:100%}
body.nm710-ui pre,body.nmf710-body pre{max-width:100%;overflow:auto}

/* Keep the account control compact even on desktop: Profile already exists in nav. */
body.nm710-ui .nm710-account{width:44px!important;max-width:44px!important;padding:5px!important;justify-content:center!important}
body.nm710-ui .nm710-account-copy,body.nm710-ui .nm710-chevron{display:none!important}

@media (max-width:900px){
  :root{--nm710-header:62px!important}
  html{scroll-padding-top:70px}
  body.nm710-ui{background:var(--nm730-bg)!important}
  body.nm710-ui main{width:100%!important;max-width:100%!important;overflow:clip!important}

  /* ===== Public header: only logo + one menu button ===== */
  body.nm710-ui .nm710-header{height:62px!important;min-height:62px!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(18px)!important}
  body.nm710-ui .nm710-header-inner{width:100%!important;height:62px!important;padding:0 12px!important;display:flex!important;align-items:center!important;gap:8px!important}
  body.nm710-ui .nm710-brand{width:142px!important;min-width:142px!important;height:38px!important}
  body.nm710-ui .nm710-brand img{width:142px!important;height:36px!important;object-fit:contain!important;object-position:left center!important}
  body.nm710-ui .nm710-actions{margin-left:auto!important;gap:8px!important}
  body.nm710-ui .nm710-account-wrap{display:none!important}
  body.nm710-ui .nm710-menu-toggle{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;margin:0!important;border-radius:12px!important;background:#fff!important;border:1px solid var(--nm730-line)!important}
  body.nm710-ui .nm710-menu-toggle svg{width:19px!important;height:19px!important}
  body.nm710-ui .nm710-mobile-backdrop{inset:62px 0 0!important;background:rgba(24,24,34,.28)!important;backdrop-filter:blur(4px)!important}
  body.nm710-ui .nm710-nav{
    position:fixed!important;left:10px!important;right:10px!important;top:72px!important;bottom:auto!important;z-index:9999!important;
    max-height:calc(100dvh - 84px)!important;overflow:auto!important;overscroll-behavior:contain!important;
    grid-template-columns:1fr!important;gap:6px!important;padding:8px!important;border:1px solid #e2e3ec!important;border-radius:17px!important;
    background:rgba(255,255,255,.985)!important;box-shadow:0 24px 64px rgba(31,28,56,.17)!important;
  }
  body.nm710-ui .nm710-nav a{height:48px!important;min-height:48px!important;width:100%!important;justify-content:flex-start!important;padding:0 13px!important;border-radius:11px!important;border:1px solid transparent!important;background:#fafaff!important;font-size:12px!important}
  body.nm710-ui .nm710-nav a.is-active{background:var(--nm730-soft)!important;border-color:#ddd7ff!important}
  body.nm710-ui .nm710-nav a svg{width:18px!important;height:18px!important}

  /* ===== Universal page width / rhythm ===== */
  body.nm710-ui .container,
  body.nm710-ui main>.container,
  body.nm710-ui [class$="-shell"],
  body.nm710-ui [class$="-wrap"]{max-width:100%!important}
  body.nm710-ui .container{width:calc(100% - 24px)!important;margin-inline:12px!important}
  body.nm710-ui main:not(.nx400-main){min-height:auto!important;padding-top:18px!important;padding-bottom:34px!important}
  body.nm710-ui h1{font-size:clamp(27px,8vw,38px)!important;line-height:1.05!important;overflow-wrap:anywhere}
  body.nm710-ui h2{font-size:clamp(19px,5.5vw,27px)!important;line-height:1.12!important;overflow-wrap:anywhere}
  body.nm710-ui p{line-height:1.55!important}
  body.nm710-ui button,body.nm710-ui .btn,body.nm710-ui a.btn{min-height:44px}
  body.nm710-ui input,body.nm710-ui select,body.nm710-ui textarea{max-width:100%!important;font-size:16px!important}
  body.nm710-ui textarea{min-height:120px}
  body.nm710-ui .card,body.nm710-ui .panel,body.nm710-ui .account-panel,body.nm710-ui .nm151-legal-card{border-radius:16px!important}

  /* ===== Home ===== */
  body.nm-home-page.nm710-ui .nm600-home-main{padding-top:14px!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:calc(100% - 24px)!important;margin-left:12px!important;margin-right:12px!important}
  body.nm-home-page.nm710-ui .nm600-home-hero{border-radius:18px!important}
  body.nm-home-page.nm710-ui .nm600-home-hero>.container{width:100%!important;margin:0!important;padding:22px 16px!important}
  body.nm-home-page.nm710-ui .nm600-home-hero-grid{grid-template-columns:1fr!important;gap:18px!important}
  body.nm-home-page.nm710-ui .nm600-home-copy h1{font-size:clamp(34px,10vw,46px)!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;justify-content:center!important}
  body.nm-home-page.nm710-ui .nm600-service-grid,body.nm-home-page.nm710-ui .nm600-showcase-grid{grid-template-columns:1fr!important;gap:10px!important}

  /* ===== Account / profile ===== */
  body.account-page.nm710-ui .account-shell{width:calc(100% - 24px)!important;margin:0 12px!important;display:block!important}
  body.account-page.nm710-ui .account-sidebar{position:static!important;width:100%!important;margin:0 0 12px!important}
  body.account-page.nm710-ui .account-sidebar nav,body.account-page.nm710-ui .profile-tabs{display:flex!important;gap:6px!important;overflow-x:auto!important;scroll-snap-type:x proximity;padding-bottom:3px!important}
  body.account-page.nm710-ui .account-sidebar nav a,body.account-page.nm710-ui .profile-tabs>*{flex:0 0 auto!important;scroll-snap-align:start!important;white-space:nowrap!important}
  body.account-page.nm710-ui .profile-unified-stats,body.account-page.nm710-ui .profile-unified-grid,body.account-page.nm710-ui .game-link-v2-details{grid-template-columns:1fr!important}
  body.account-page.nm710-ui .account-main,body.account-page.nm710-ui .account-panel{min-width:0!important;width:100%!important}

  /* ===== Donate ===== */
  body.donate-clean-page.nm710-ui .nm50-donate-shell,body.donate-clean-page.nm710-ui .donate-shell{width:calc(100% - 24px)!important;margin-inline:12px!important;grid-template-columns:1fr!important}
  body.donate-clean-page.nm710-ui .nm50-donate-summary{position:static!important}
  body.donate-clean-page.nm710-ui .nm50-donate-block{padding-left:0!important;padding-right:0!important}
  body.donate-clean-page.nm710-ui .nm50-presets{grid-template-columns:repeat(2,minmax(0,1fr))!important}

  /* ===== Shop ===== */
  body.nm108-shop-page.nm710-ui .nm108-wrap{width:calc(100% - 24px)!important;margin-inline:12px!important;padding:18px 0 34px!important}
  body.nm108-shop-page.nm710-ui .nm108-head{grid-template-columns:1fr!important;gap:10px!important}
  body.nm108-shop-page.nm710-ui .nm108-hero,body.nm108-shop-page.nm710-ui .nm108-wallet{padding:18px!important;border-radius:17px!important}
  body.nm108-shop-page.nm710-ui .nm108-hero h1{font-size:32px!important}
  body.nm108-shop-page.nm710-ui .nm108-catalog-head{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}
  body.nm108-shop-page.nm710-ui .nm108-tabs{display:flex!important;overflow-x:auto!important;gap:6px!important;scroll-snap-type:x proximity!important}
  body.nm108-shop-page.nm710-ui .nm108-tabs>*{flex:0 0 auto!important;scroll-snap-align:start!important;white-space:nowrap!important}
  body.nm108-shop-page.nm710-ui .nm600-shop-tools{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.nm108-shop-page.nm710-ui .nm108-grid{grid-template-columns:1fr!important;gap:10px!important}

  /* ===== Inventory / trades ===== */
  body.inventory-page.nm710-ui .inventory-v2-main>.container{width:calc(100% - 24px)!important;margin-inline:12px!important}
  body.inventory-page.nm710-ui .inventory-v2-header{padding:18px!important;align-items:flex-start!important;flex-direction:column!important;border-radius:17px!important}
  body.inventory-page.nm710-ui .inventory-v2-toolbar{padding:7px!important;overflow:hidden!important}
  body.inventory-page.nm710-ui .inventory-category-tabs{flex-wrap:nowrap!important;overflow-x:auto!important}
  body.inventory-page.nm710-ui .inventory-filter{flex:0 0 auto!important;white-space:nowrap!important}
  body.inventory-page.nm710-ui .inventory-grid{grid-template-columns:1fr!important}
  body.trades-page.nm710-ui .nm36-cabinet-layout{width:calc(100% - 24px)!important;margin-inline:12px!important;grid-template-columns:1fr!important;gap:10px!important}
  body.trades-page.nm710-ui #nm36-trades-sidebar{position:static!important}
  body.trades-page.nm710-ui .nm36-trade-create{padding:16px!important;border-radius:16px!important}
  body.trades-page.nm710-ui .nm36-trade-tabs{overflow-x:auto!important;flex-wrap:nowrap!important}
  body.trades-page.nm710-ui .nm36-trade-tab{flex:0 0 auto!important;white-space:nowrap!important}

  /* ===== Games: redesign mobile cards instead of squeezing desktop layout ===== */
  body.nm95-games-page.nm710-ui .nm600-games-shell{width:calc(100% - 24px)!important;margin-inline:12px!important;padding:18px 0 34px!important}
  body.nm95-games-page.nm710-ui .nm600-games-head{padding:20px 17px!important;border-radius:18px!important}
  body.nm95-games-page.nm710-ui .nm600-games-head h1{font-size:32px!important}
  body.nm95-games-page.nm710-ui .nm600-games-grid{grid-template-columns:1fr!important;gap:10px!important;margin-top:10px!important}
  body.nm95-games-page.nm710-ui .nm600-game-card{display:grid!important;grid-template-columns:1fr!important;min-height:0!important;border-radius:17px!important;overflow:hidden!important}
  body.nm95-games-page.nm710-ui .nm600-game-art{min-height:104px!important;font-size:32px!important;background:linear-gradient(135deg,#f4f1ff,#ece8ff)!important}
  body.nm95-games-page.nm710-ui .nm600-game-copy{padding:16px!important}
  body.nm95-games-page.nm710-ui .nm600-game-copy h2{font-size:21px!important;margin:5px 0!important}
  body.nm95-games-page.nm710-ui .nm600-game-copy p{margin:0 0 10px!important;font-size:12px!important}

  /* ===== Client / roulette ===== */
  body.play-v88-page.nm710-ui .v88-client-shell,body.roulette-page.nm710-ui .roulette-v4-shell{width:calc(100% - 24px)!important;margin-inline:12px!important}
  body.play-v88-page.nm710-ui .v88-client-hero{padding:20px 17px!important;border-radius:18px!important}
  body.play-v88-page.nm710-ui .v88-client-copy h1{font-size:34px!important}
  body.play-v88-page.nm710-ui .v88-client-download{width:100%!important;justify-content:center!important}
  body.play-v88-page.nm710-ui .v88-client-grid{grid-template-columns:1fr!important;gap:10px!important}
  body.play-v88-page.nm710-ui .v88-client-card{min-height:0!important;padding:17px!important}
  body.roulette-page.nm710-ui .roulette-v4-heading{padding:18px!important;border-radius:18px!important}
  body.roulette-page.nm710-ui .roulette-type-grid{grid-template-columns:1fr!important;gap:9px!important}
  body.roulette-page.nm710-ui .roulette-v4-stage,body.roulette-page.nm710-ui .roulette-recent-section{padding:16px!important;border-radius:17px!important}

  /* ===== Content / legal / contact / contest ===== */
  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:calc(100% - 24px)!important;margin-inline:12px!important}
  body.nm90-contacts-page.nm710-ui .nm90-contact-grid,body.nm113-contest-page.nm710-ui .nm113-steps,body.nm113-contest-page.nm710-ui .nm113-prizes{grid-template-columns:1fr!important}
  body.rules-v87-page.nm710-ui .rules-v87-layout,body.nm600-legal-page.nm710-ui .content-grid,body.nm113-contest-page.nm710-ui .nm113-content-grid,body.nm113-contest-page.nm710-ui .nm113-hero-grid{grid-template-columns:1fr!important}
  body.rules-v87-page.nm710-ui .rules-v87-nav,body.nm600-legal-page.nm710-ui .side-nav,body.nm113-contest-page.nm710-ui .nm113-submit-card{position:static!important}

  /* ===== Music ===== */
  body.nm600-music-page.nm710-ui main>.container,body.nm600-music-page.nm710-ui .music-shell{width:calc(100% - 24px)!important;margin-inline:12px!important}
  body.nm600-music-page.nm710-ui [class*="music-grid"],body.nm600-music-page.nm710-ui [class*="track-grid"]{grid-template-columns:1fr!important}

  /* ===== Footer: compact mobile version ===== */
  body.nm710-ui .nm720-site-footer{margin-top:20px!important;padding:0!important}
  body.nm710-ui .nm720-site-footer>.container{width:calc(100% - 24px)!important;margin-inline:12px!important;padding:22px 0 calc(14px + env(safe-area-inset-bottom))!important}
  body.nm710-ui .nm720-footer-main{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 14px!important}
  body.nm710-ui .nm720-footer-brand{grid-column:1/-1!important}
  body.nm710-ui .nm720-footer-logo{width:132px!important}
  body.nm710-ui .nm720-footer-brand p{display:none!important}
  body.nm710-ui .nm720-footer-col{min-width:0!important}
  body.nm710-ui .nm720-footer-col h4{margin-bottom:8px!important;font-size:10px!important}
  body.nm710-ui .nm720-footer-col a{font-size:10px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
  body.nm710-ui .nm720-footer-col:last-child{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px 12px!important}
  body.nm710-ui .nm720-footer-col:last-child h4{grid-column:1/-1!important}
  body.nm710-ui .nm720-footer-bottom{margin-top:17px!important;padding-top:12px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;font-size:9px!important}

  /* ===== Generic tables / modals / toolbars ===== */
  body.nm710-ui table{max-width:100%!important}
  body.nm710-ui .nm730-table-scroll{width:100%!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;border-radius:12px!important}
  body.nm710-ui [role="dialog"],body.nm710-ui .modal,body.nm710-ui [class*="modal"]{max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important}
  body.nm710-ui .toolbar,body.nm710-ui [class*="toolbar"]{max-width:100%!important}

  /* ===== Vacancies / interview ===== */
  body.nm142-vacancy-body.nm710-ui .nm161-vac-shell,body.nm142-vacancy-body.nm710-ui .nm142-vacancies,body.nm-interview-page.nm710-ui .nm-interview-shell-wrap{width:calc(100% - 24px)!important;margin-inline:12px!important}
  body.nm142-vacancy-body.nm710-ui .nm142-vacancy-tabs{overflow-x:auto!important;flex-wrap:nowrap!important}
  body.nm142-vacancy-body.nm710-ui .nm142-vacancy-tabs a{flex:0 0 auto!important;white-space:nowrap!important}
  body.nm-interview-page.nm710-ui #interview-room{min-height:420px!important;border-radius:16px!important}
}

/* ======================================================================
   FORUM MOBILE
   ====================================================================== */
@media (max-width:900px){
  body.nmf710-body{padding-bottom:82px!important;overflow-x:hidden!important;background:var(--nm730-bg)!important}
  body.nmf710-body .nmf116-shell,body.nmf710-body .nmf152-shell{width:calc(100% - 20px)!important;margin-inline:10px!important;padding:10px 0 18px!important}
  body.nmf710-body .nmf161-bar{position:sticky!important;top:8px!important;z-index:900!important;min-height:54px!important;margin:0 0 10px!important;padding:6px 7px!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;border-radius:15px!important}
  body.nmf710-body .nmf161-brand{min-width:0!important;padding:2px 4px!important;gap:8px!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 strong{font-size:11px!important}
  body.nmf710-body .nmf161-brand-copy small{font-size:7px!important}
  body.nmf710-body .nmf161-nav{display:none!important}
  body.nmf710-body .nmf165-nav-tools{margin:0!important;gap:5px!important}
  /* Search/messages/notifications already exist in bottom dock. Keep only ACP shortcut up top. */
  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{grid-template-columns:1fr!important;gap:14px!important;padding:18px 15px!important;border-radius:17px!important}
  body.nmf710-body .nmf600-forum-hero h1{font-size:28px!important}
  body.nmf710-body .nmf600-hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  body.nmf710-body .nmf600-hero-actions a{width:100%!important;justify-content:center!important}
  body.nmf710-body .nmf600-hero-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  body.nmf710-body .nmf600-hero-metrics>div{min-width:0!important;padding:9px 4px!important}
  body.nmf710-body .nmf600-hero-metrics strong{font-size:15px!important}
  body.nmf710-body .nmf600-hero-metrics span{font-size:6.5px!important;overflow-wrap:anywhere!important}

  body.nmf710-body .nmf116-home-grid,body.nmf710-body .nmf147-home-grid{grid-template-columns:1fr!important;gap:10px!important}
  body.nmf710-body .nmf116-sidebar{grid-template-columns:1fr!important;gap:8px!important}
  body.nmf710-body .nmf116-group{border-radius:16px!important}
  body.nmf710-body .nmf116-group>header{padding:12px!important}
  body.nmf710-body .nmf116-node{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:11px!important;white-space:normal!important;overflow-wrap:anywhere!important}
  body.nmf710-body .node-copy small{font-size:8.5px!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{padding:14px!important;border-radius:16px!important;flex-direction:column!important;gap:10px!important}
  body.nmf710-body .nmf116-head-actions{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
  body.nmf710-body .nmf116-head-actions>*{width:100%!important;justify-content:center!important}

  body.nmf710-body .post-card{grid-template-columns:1fr!important;border-radius:16px!important;overflow:hidden!important}
  body.nmf710-body .post-author{grid-template-columns:46px minmax(0,1fr)!important;padding:12px!important;gap:10px!important;text-align:left!important}
  body.nmf710-body .post-avatar{width:44px!important;height:44px!important;margin:0!important}
  body.nmf710-body .post-body{padding:13px!important;font-size:12px!important;overflow-wrap:anywhere!important}
  body.nmf710-body .post-body img{height:auto!important}

  body.nmf710-body .nmf165-search-main,body.nmf710-body .nmf165-member-grid,body.nmf710-body .member-grid,body.nmf710-body .nmfpm-shell{grid-template-columns:1fr!important}
  body.nmf710-body .nmfpm-sidebar{max-height:none!important;border-right:0!important;border-bottom:1px solid #eceef3!important}

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

/* ======================================================================
   FORUM ACP MOBILE
   ====================================================================== */
@media (max-width:980px){
  body.nx400-body{overflow-x:hidden!important;background:#f5f6fa!important}
  body.nx400-body .nx400-sidebar{width:min(88vw,320px)!important;max-width:320px!important;background:#fff!important;color:var(--nm730-text)!important;border-right:1px solid var(--nm730-line)!important;box-shadow:24px 0 60px rgba(24,22,45,.18)!important}
  body.nx400-body .nx400-brand-row{height:60px!important;padding:0 12px!important;border-bottom:1px solid #eceef3!important}
  body.nx400-body .nx400-brand-text b{color:var(--nm730-text)!important}
  body.nx400-body .nx400-brand-text small{color:#8b92a4!important}
  body.nx400-body .nx400-sidebar-search{margin:10px!important;background:#f7f7fb!important;border-color:#e5e6ee!important;color:#7d8495!important}
  body.nx400-body .nx400-sidebar-search input{font-size:16px!important;color:var(--nm730-text)!important}
  body.nx400-body .nx400-nav{padding:0 8px 110px!important}
  body.nx400-body .nx400-nav-caption{padding:12px 8px 5px!important;color:#a0a6b4!important;font-size:8px!important}
  body.nx400-body .nx400-nav-item{min-height:48px!important;padding:7px 8px!important;border-radius:11px!important;color:#667084!important}
  body.nx400-body .nx400-nav-item.is-active{background:var(--nm730-soft)!important;color:var(--nm730-accent)!important}
  body.nx400-body .nx400-nav-copy b{font-size:10.5px!important;color:inherit!important}
  body.nx400-body .nx400-nav-copy small{font-size:8px!important;color:#9aa1b0!important}
  body.nx400-body .nx400-sidebar-bottom{background:#fff!important;border-top:1px solid #eceef3!important}
  body.nx400-body .nx400-profile{background:#f8f8fb!important}
  body.nx400-body .nx400-profile b{color:var(--nm730-text)!important}
  body.nx400-body .nx400-side-links a{background:#f8f8fb!important;color:#667084!important;border-color:#e7e8ef!important}

  body.nx400-body .nx400-main{width:100%!important;margin-left:0!important;min-width:0!important}
  body.nx400-body .nx400-topbar{height:58px!important;grid-template-columns:minmax(0,1fr) auto!important;padding:0 10px!important;gap:8px!important}
  body.nx400-body .nx400-top-left{min-width:0!important;gap:8px!important}
  body.nx400-body .nx400-mobile-menu{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:11px!important}
  body.nx400-body .nx400-breadcrumb{min-width:0!important;gap:5px!important}
  body.nx400-body .nx400-breadcrumb span,body.nx400-body .nx400-breadcrumb i{display:none!important}
  body.nx400-body .nx400-breadcrumb strong{font-size:11px!important;max-width:58vw!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  body.nx400-body .nx400-top-right{gap:5px!important}
  body.nx400-body .nx400-state{display:none!important}
  body.nx400-body .nx400-square-btn{width:38px!important;height:38px!important;border-radius:11px!important}

  body.nx400-body .nx400-pagebar{padding:14px 10px 10px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important}
  body.nx400-body .nx400-page-title{align-items:flex-start!important;gap:10px!important}
  body.nx400-body .nx400-page-icon{width:38px!important;height:38px!important;flex:0 0 38px!important}
  body.nx400-body .nx400-page-title h1{font-size:20px!important;line-height:1.08!important;overflow-wrap:anywhere!important}
  body.nx400-body .nx400-page-title p{font-size:9.5px!important;line-height:1.45!important}
  body.nx400-body .nx400-page-actions{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
  body.nx400-body .nx400-page-actions .nx400-btn{width:100%!important;min-height:42px!important;justify-content:center!important}
  body.nx400-body .nx400-content{width:100%!important;padding:0 10px calc(28px + env(safe-area-inset-bottom))!important;overflow:hidden!important}
  body.nx400-body .nx400-flash{margin:0 10px 10px!important;border-radius:12px!important}
  body.nx400-body .nx400-panel,body.nx400-body .nx400-card,body.nx400-body .nma-card{max-width:100%!important;border-radius:14px!important;overflow:hidden!important}
  body.nx400-body .nx400-content form{max-width:100%!important}
  body.nx400-body input,body.nx400-body select,body.nx400-body textarea{max-width:100%!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}
  body.nx400-body [class*="grid"]{max-width:100%!important}
  body.nx400-body .nma-role-grid,body.nx400-body .nma-ops-bottom,body.nx400-body .health-grid,body.nx400-body .perm-row{grid-template-columns:1fr!important}
  body.nx400-body .nma137-complaint-stats,body.nx400-body .nma132-stat-grid,body.nx400-body .nma-ops-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.nx400-body .nma137-complaint-filter,body.nx400-body .nma132-filter,body.nx400-body .nma136-topic-filter{grid-template-columns:1fr!important}
}

@media (max-width:420px){
  :root{--nm730-edge:10px}
  body.nm710-ui .nm710-header-inner{padding:0 10px!important}
  body.nm710-ui .nm710-brand,body.nm710-ui .nm710-brand img{width:132px!important;min-width:132px!important}
  body.nm710-ui .container{width:calc(100% - 20px)!important;margin-inline:10px!important}
  body.nm710-ui .nm720-site-footer>.container{width:calc(100% - 20px)!important;margin-inline:10px!important}
  body.nm710-ui .nm720-footer-main{gap:16px 10px!important}
  body.nm710-ui .nm720-footer-col a{font-size:9.5px!important}
  body.nmf710-body .nmf600-hero-metrics span{font-size:6px!important}
  body.nmf710-body .nmf170-mobile-dock{left:6px!important;right:6px!important;bottom:max(6px,env(safe-area-inset-bottom))!important}
  body.nmf710-body .nmf170-mobile-dock a{font-size:7px!important}
  body.nx400-body .nma137-complaint-stats,body.nx400-body .nma132-stat-grid,body.nx400-body .nma-ops-stats{grid-template-columns:1fr!important}
}
