/* 个人中心登录/注册页 — 星問 UI */
html.cs-auth-html {
  margin: 0;
  padding: 0;
  max-width: none !important;
  width: 100% !important;
  min-height: 100%;
  font-size: 100px;
  background: #e7dedf;
}

body.cs-auth-page {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
  min-height: 100vh;
  box-sizing: border-box;
  background: #e7dedf url("/statics/ffsm/index/ui/cs-auth-bg.jpg") center / cover no-repeat !important;
  color: #3e3a39;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.cs-auth-page #head,
body.cs-auth-page .public_header,
body.cs-auth-page .ainuo_foot_nav,
body.cs-auth-page #footer,
body.cs-auth-page .user_footer,
body.cs-auth-page .log_connect {
  display: none !important;
}

.cs-auth-shell {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 0 0.36rem 0.56rem;
}

.cs-auth-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 0.96rem;
}

.cs-auth-head__home {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.44rem;
  height: 0.44rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #6e6964;
  border: none;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.cs-auth-head__home img {
  width: 0.3rem;
  height: 0.3rem;
  display: block;
  object-fit: contain;
}

.cs-auth-head__home svg {
  width: 0.3rem;
  height: 0.3rem;
  display: block;
}

.cs-auth-head__title {
  font-size: 0.32rem;
  font-weight: 400;
  color: #5a5550;
  line-height: 1;
  letter-spacing: 0.08em;
}

.cs-auth-card {
  margin-top: 0.72rem;
  background: #fcfaf6;
  border: 1px solid #e2dce8;
  border-radius: 0.28rem;
  overflow: hidden;
  padding: 0 0.28rem;
  box-sizing: border-box;
}

.cs-auth-row {
  display: flex;
  align-items: center;
  min-height: 0.96rem;
  border-bottom: 1px solid #ebe6f2;
  box-sizing: border-box;
}

.cs-auth-row:last-child {
  border-bottom: none;
}

.cs-auth-row__label {
  flex: 0 0 auto;
  font-size: 0.28rem;
  color: #3e3a39;
  line-height: 1.2;
  white-space: nowrap;
  margin-right: 0.12rem;
}

.cs-auth-row__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 0.56rem;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.28rem !important;
  color: #3e3a39 !important;
  padding: 0 !important;
  margin: 0 !important;
  -webkit-appearance: none;
  appearance: none;
}

.cs-auth-row__input::placeholder {
  color: #b0abb0;
}

.cs-auth-row--code .cs-auth-row__code {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.12rem;
}

.cs-auth-row__code img {
  height: 0.52rem;
  width: auto;
  border-radius: 0.06rem;
  display: block;
  cursor: pointer;
}

.cs-auth-row__code .cs-auth-row__input {
  width: 1.2rem;
  flex: 0 0 1.2rem;
  text-align: center;
}

.cs-auth-row__check {
  flex: 0 0 auto;
  margin-left: 0.1rem;
  padding: 0.08rem 0.14rem;
  border: 1px solid #c8c0d8;
  border-radius: 0.28rem;
  background: #fff;
  color: #6b6662;
  font-size: 0.22rem;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
}

.cs-auth-msg {
  display: none;
  margin: 0.2rem 0 0;
  padding: 0.16rem 0.2rem;
  font-size: 0.24rem;
  line-height: 1.4;
  border-radius: 0.1rem;
  background: rgba(255, 255, 255, 0.85);
  color: #c45c26;
}

.cs-auth-actions {
  margin-top: 0.48rem;
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
}

.cs-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 0.92rem;
  border-radius: 999px;
  font-size: 0.3rem;
  font-weight: 400;
  font-family: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  text-decoration: none;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

.cs-auth-btn--primary {
  background: #3e3a39;
  color: #fff;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
}

.cs-auth-btn--secondary {
  background: #fcfaf6;
  color: #4a4642;
  border: 1px solid #d9d3ea;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
}

.cs-auth-btn:active {
  opacity: 0.92;
}
