/* Hide guest auth controls before deferred auth JS runs */
html.kylo-signed-in #elSignInLink,
html.kylo-signed-in #elRegisterWrap,
html.kylo-signed-in #elRegisterButton,
html.kylo-signed-in #elSigninButton_mobile,
html.kylo-signed-in #elRegisterButton_mobile,
html.kylo-signed-in .kyloAuth_guest,
body.kylo-signed-in #elSignInLink,
body.kylo-signed-in #elRegisterWrap,
body.kylo-signed-in #elRegisterButton,
body.kylo-signed-in #elSigninButton_mobile,
body.kylo-signed-in #elRegisterButton_mobile,
body.kylo-signed-in .kyloAuth_guest {
  display: none !important;
}

html.kylo-signed-in #gcAccountGate,
body.kylo-signed-in #gcAccountGate {
  display: none !important;
}

html.kylo-signed-in #gcAccountApp[hidden],
body.kylo-signed-in #gcAccountApp[hidden] {
  display: block !important;
}

#kyloAuthSignedIn.kyloAuth_signedIn--boot {
  list-style: none;
}

#kyloAuthSignedIn .kyloAuth_userBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  font: inherit;
}

#kyloAuthSignedIn .kyloAuth_userName {
  font-weight: 600;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#kyloAuthSignedIn .kyloAuth_avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background-size: cover;
  background-position: center;
}
