.zhsj-auth-switcher {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
  margin: 18px 0 20px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.zhsj-auth-switcher button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.zhsj-auth-switcher button:hover {
  color: #fff;
}

.zhsj-auth-switcher button.is-active {
  color: #090a10;
  background: #f7f7f9;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.zhsj-auth-subtitle {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  line-height: 1.5;
}

.zhsj-email-register-form[hidden],
dialog.login-minimal-shell form[hidden],
dialog.login-minimal-shell .login-showcase-controls[hidden] {
  display: none !important;
}

.zhsj-email-register-form {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: 28px;
}

.zhsj-email-register-form .zhsj-register-field {
  margin-bottom: 13px;
}

.zhsj-email-register-form .zhsj-register-field label {
  display: block;
  margin-bottom: 7px;
}

.zhsj-email-register-form .zhsj-register-field > input,
.zhsj-register-code-line > input {
  width: 100%;
  min-width: 0;
}

.zhsj-register-code-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
}

.zhsj-send-code {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.zhsj-send-code:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.zhsj-send-code:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.zhsj-register-status {
  min-height: 21px;
  margin: -1px 0 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.5;
}

.zhsj-register-status.is-error {
  color: #ff8e9b;
}

.zhsj-register-status.is-success {
  color: #73e6c0;
}

.zhsj-register-submit {
  margin-top: 2px;
}

dialog.login-minimal-shell.zhsj-register-mode {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}

@media (max-height: 760px) {
  .zhsj-auth-switcher {
    margin: 12px 0 14px;
  }

  .zhsj-email-register-form .zhsj-register-field {
    margin-bottom: 9px;
  }

  .zhsj-email-register-form .zhsj-register-field label {
    margin-bottom: 4px;
  }
}

@media (max-width: 680px) {
  .zhsj-register-code-line {
    grid-template-columns: minmax(0, 1fr) 108px;
  }
}
