/* hide the old separate "Login here" content gadget in BOTH states */
.WaGadgetLoginButton ~ #id_JNSlFez {
  display: none !important;
}

/* collapse the container (both states) */
.WaGadgetLoginButton .loginContainer,
.WaGadgetLoginButton .loginContainerInner {
  height: auto !important;
  min-height: 0 !important;
}

/* icon on top, text below — name when signed in, "Log in" when signed out */
.WaGadgetLoginButton .loginLink {
  display: block !important;
  text-align: center !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  padding-top: 40px !important;   /* knob: raise if text crowds the icon, lower to tighten */
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  line-height: 1.1 !important;
  white-space: nowrap;
}
#lightbox, #lightboxOverlay { display: none !important; }
