.site-auth-wrap {
  position: fixed;
  top: 0.65rem;
  right: 1rem;
  z-index: 120;
}

.site-auth-wrap--atlas {
  top: 0.75rem;
  right: 1.1rem;
}

.atlas-home-link {
  position: fixed;
  top: 0.75rem;
  left: 1.1rem;
  z-index: 120;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  color: #d9b66a;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid rgba(217, 182, 106, 0.55);
  transition: 0.15s;
}

.atlas-home-link:hover {
  background: rgba(217, 182, 106, 0.12);
  color: #d9b66a;
  text-decoration: none;
}

.atlas-home-link--wealth {
  top: calc(28px + 0.55rem);
}

body.wa-page .site-auth-wrap {
  top: calc(28px + 0.55rem);
}

.site-auth-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-auth-user {
  font-size: 13px;
  color: #c7cedd;
  margin-right: 0.25rem;
}

.site-auth-btn {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.15s;
  border: 1px solid rgba(217, 182, 106, 0.55);
  background: transparent;
  color: #d9b66a;
}

.site-auth-btn:hover {
  background: rgba(217, 182, 106, 0.12);
}

.site-auth-btn--accent {
  background: #b58a3c;
  border-color: #b58a3c;
  color: #13203a;
  font-weight: bold;
}

.site-auth-btn--accent:hover {
  background: #d9b66a;
}

.site-auth-btn--out,
.site-auth-btn--ghost {
  background: transparent;
}

.site-auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(19, 32, 58, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.site-auth-modal.show {
  display: flex;
}

.site-auth-modal__panel {
  background: #fbf8ef;
  border-radius: 10px;
  padding: 26px;
  width: 100%;
  max-width: 420px;
  border-top: 4px solid #b58a3c;
}

.site-auth-modal__title {
  font-weight: normal;
  color: #1c2b46;
  font-size: 20px;
  margin-bottom: 16px;
}

.site-auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border-bottom: 1px solid #e3dcc8;
}

.site-auth-tab {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  color: #6f7787;
  padding: 8px 14px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.site-auth-tab.active {
  color: #1c2b46;
  border-bottom-color: #b58a3c;
  font-weight: bold;
}

.site-auth-field {
  margin-bottom: 14px;
}

.site-auth-field label {
  display: block;
  font-size: 12.5px;
  color: #6f7787;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.site-auth-field input {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 9px 11px;
  border: 1px solid #e3dcc8;
  border-radius: 5px;
  background: #fff;
  color: #26303f;
}

.site-auth-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.site-auth-msg {
  font-size: 13px;
  margin-top: 12px;
  min-height: 18px;
}

.site-auth-msg.err {
  color: #b04a3a;
}

.site-auth-msg.ok {
  color: #3f7d5a;
}
