/* Shared compact Discord auth dock for the public pages. */
body.home #auth-box.auth,
body.info #auth-box.auth{
  position: fixed !important;
  top: 14px !important;
  right: 14px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home #auth-box .hidden,
body.home #auth-login.hidden,
body.home #auth-user.hidden,
body.info #auth-box .hidden,
body.info #auth-login.hidden,
body.info #auth-user.hidden{
  display: none !important;
}

body.home #auth-login.auth__btn,
body.info #auth-login.auth__btn,
body.home #auth-user.auth__user,
body.info #auth-user.auth__user{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(243,243,246,.92);
  background: rgba(0,0,0,.35);
  box-shadow: 0 18px 70px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 1000;
  line-height: 1;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

body.home #auth-login.auth__btn,
body.info #auth-login.auth__btn{
  cursor: pointer;
}

body.home #auth-login:hover,
body.home #auth-user:hover,
body.info #auth-login:hover,
body.info #auth-user:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
}

body.home #auth-login .auth__discord,
body.info #auth-login .auth__discord{
  width: 18px;
  height: 18px;
  opacity: .95;
}

body.home #auth-avatar.auth__avatar,
body.info #auth-avatar.auth__avatar{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

body.home #auth-logout.auth__logout,
body.info #auth-logout.auth__logout{
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.06);
  cursor: pointer;
}

body.home #auth-logout:hover,
body.info #auth-logout:hover{
  background: rgba(255,255,255,.10);
}

html.home-intro-pending body.home > #auth-box{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.home.home-intro-done > #auth-box{
  animation: sharedAuthReveal .58s ease-out both;
}

@keyframes sharedAuthReveal{
  from{ opacity:0; transform:translateY(-10px); filter:blur(5px); }
  to{ opacity:1; transform:none; filter:none; }
}

@media (max-width: 560px){
  body.home #auth-box.auth,
  body.info #auth-box.auth{
    top: 10px !important;
    right: 10px !important;
  }

  body.home #auth-login.auth__btn,
  body.info #auth-login.auth__btn,
  body.home #auth-user.auth__user,
  body.info #auth-user.auth__user{
    padding: 8px 10px;
    font-size: .92rem;
  }
}
