
/* NEMAZING V25 — authenticated Profile becomes a normal menu item */

html body .site-header .nm25-profile-link{
  position:relative!important;
}

html body .site-header .nm25-profile-link .nm25-profile-dot{
  position:absolute!important;
  top:7px!important;
  right:17px!important;
  width:6px!important;
  height:6px!important;
  border-radius:50%!important;
  background:#34bf7a!important;
  box-shadow:0 0 0 3px #eefaf4!important;
}

html body .site-header .nm25-profile-link svg{
  stroke:#6c5cf6!important;
}

/* When logged in the separate round avatar on the right is unnecessary. */
html body.nm25-authenticated .site-header .header-actions.account-menu-wrap{
  display:none!important;
}

/* Center menu uses the free right-side space after the profile trigger disappears. */
html body.nm25-authenticated .site-header .container.header-inner{
  grid-template-columns:184px minmax(0,1fr) 0!important;
}

html body.nm25-authenticated .site-header .nm23-nav,
html body.nm25-authenticated .site-header .nm22-nav{
  justify-self:center!important;
}

/* Guest: no Profile button, right login/avatar trigger stays visible. */
html body:not(.nm25-authenticated) .site-header .nm25-profile-link{
  display:none!important;
}

/* Dropdown must never remain floating after trigger is hidden. */
html body.nm25-authenticated .site-header .account-dropdown{
  display:none!important;
}

@media(max-width:1120px){
  html body.nm25-authenticated .site-header .container.header-inner{
    grid-template-columns:160px minmax(0,1fr) 0!important;
  }
  html body .site-header .nm25-profile-link .nm25-profile-dot{
    right:14px!important;
  }
}

@media(max-width:900px){
  html body.nm25-authenticated .site-header .container.header-inner{
    grid-template-columns:145px 1fr 0!important;
  }

  html body .site-header .nm25-profile-link .nm25-profile-dot{
    top:6px!important;
    right:calc(50% - 16px)!important;
  }
}

