/* 全屏登录 / 注册 — sage 绿、奶油底、动态光斑 */
:root {
  --life-green: #2c7a64;
  --life-green-dark: #1f5a4a;
  --life-green-mid: #3e9a7e;
  --life-mint: #e8f4ef;
  --life-cream: #fbf9f5;
  --life-paper: #faf6f0;
  --life-terracotta: #c45c3e;
  --life-gold: #c9a66b;
  --life-ink: #1c2b26;
  --life-muted: #66736e;
  --life-line: #dce6e1;
  --life-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

html,
body.life-auth {
  margin: 0;
  min-height: 100%;
  background: var(--life-cream);
  color: var(--life-ink);
  font-family: var(--life-font);
}

.life-auth {
  min-height: 100vh;
  overflow-x: hidden;
}

.life-auth a {
  color: var(--life-green);
  text-decoration: none;
}

.life-auth a:hover {
  color: var(--life-green-dark);
}

.life-auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 12% 18%, rgba(44, 122, 100, 0.16), transparent 58%),
    radial-gradient(900px 640px at 88% 8%, rgba(201, 166, 107, 0.18), transparent 52%),
    radial-gradient(800px 520px at 70% 92%, rgba(62, 154, 126, 0.12), transparent 56%),
    linear-gradient(160deg, #f7f3ea 0%, #eef6f2 48%, #fbf9f5 100%);
  background-size: 160% 160%;
  animation: life-auth-mesh 22s ease-in-out infinite;
}

.life-auth-bg:before,
.life-auth-bg:after,
.life-auth-orb {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.life-auth-bg:before {
  width: 420px;
  height: 420px;
  left: -80px;
  top: 12%;
  background: radial-gradient(circle, rgba(44, 122, 100, 0.28) 0%, transparent 70%);
  animation: life-auth-orb 16s ease-in-out infinite;
}

.life-auth-bg:after {
  width: 360px;
  height: 360px;
  right: -60px;
  bottom: 8%;
  background: radial-gradient(circle, rgba(201, 166, 107, 0.3) 0%, transparent 72%);
  animation: life-auth-orb-alt 19s ease-in-out infinite;
}

.life-auth-orb {
  width: 220px;
  height: 220px;
  left: 58%;
  top: 18%;
  background: radial-gradient(circle, rgba(196, 92, 62, 0.16) 0%, transparent 70%);
  animation: life-auth-orb 21s ease-in-out infinite reverse;
}

.life-auth-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(44, 122, 100, 0.22) 1.2px, transparent 1.4px),
    radial-gradient(rgba(201, 166, 107, 0.2) 1px, transparent 1.2px);
  background-size: 52px 52px, 36px 36px;
  background-position: 0 0, 18px 22px;
  opacity: 0.35;
  animation: life-auth-dots 28s linear infinite;
}

.life-auth-leaf {
  position: absolute;
  width: 18px;
  height: 10px;
  border-radius: 0 12px 0 12px;
  background: rgba(44, 122, 100, 0.18);
  transform: rotate(24deg);
  animation: life-auth-leaf 14s linear infinite;
}

.life-auth-leaf:nth-of-type(1) { left: 12%; top: 78%; animation-delay: 0s; }
.life-auth-leaf:nth-of-type(2) { left: 28%; top: 22%; width: 12px; height: 7px; animation-delay: -3s; background: rgba(201, 166, 107, 0.28); }
.life-auth-leaf:nth-of-type(3) { left: 72%; top: 64%; animation-delay: -6s; }
.life-auth-leaf:nth-of-type(4) { left: 84%; top: 30%; width: 14px; height: 8px; animation-delay: -9s; background: rgba(62, 154, 126, 0.22); }
.life-auth-leaf:nth-of-type(5) { left: 46%; top: 86%; animation-delay: -11s; }

@keyframes life-auth-mesh {
  0% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
  100% { background-position: 0% 40%; }
}

@keyframes life-auth-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(36px, -28px) scale(1.14); }
}

@keyframes life-auth-orb-alt {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 22px) scale(1.1); }
}

@keyframes life-auth-dots {
  from { background-position: 0 0, 18px 22px; }
  to { background-position: 52px 52px, 54px 74px; }
}

@keyframes life-auth-leaf {
  0% { transform: translateY(0) rotate(24deg); opacity: 0.15; }
  40% { opacity: 0.55; }
  100% { transform: translateY(-72vh) rotate(210deg); opacity: 0; }
}

.life-auth-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 16px 48px;
  box-sizing: border-box;
}

.life-auth-card {
  width: 100%;
  max-width: 400px;
  flex: 0 1 400px;
  padding: 42px 44px 34px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(231, 239, 233, 0.95);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(31, 90, 74, 0.12);
  backdrop-filter: blur(16px);
  box-sizing: border-box;
}

.life-auth-page-reg .life-auth-card {
  max-width: 420px;
  flex-basis: 420px;
  padding: 36px 40px 28px;
}

.life-auth-card form,
.life-auth-page-login .life-auth-extra,
.life-auth-page-login .life-auth-oauth {
  width: 100%;
  max-width: 312px;
  margin-left: auto;
  margin-right: auto;
}

.life-auth-page-reg .life-auth-card form,
.life-auth-page-reg .life-auth-tabs,
.life-auth-page-reg .life-auth-extra {
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.life-auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 22px;
  text-align: center;
}

.life-auth-brand img {
  display: block;
  max-height: 42px;
  width: auto;
  margin: 0 auto 10px;
}

.life-auth-brand b {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--life-ink);
}

.life-auth-brand small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--life-muted);
}

.life-auth-brand::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 99px;
  background: var(--life-green);
}

.life-auth-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding: 4px;
  border-radius: 999px;
  background: var(--life-mint);
}

.life-auth-tabs a {
  flex: 1;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 999px;
  color: var(--life-green-dark);
  font-size: 14px;
  font-weight: 600;
}

.life-auth-tabs a.active,
.life-auth-tabs a.is-on {
  background: #fff;
  color: var(--life-green);
  box-shadow: 0 6px 14px rgba(44, 122, 100, 0.12);
}

.life-auth-field,
.life-auth .line {
  position: relative;
  margin: 0 0 14px;
}

.life-auth .line {
  display: block;
  overflow: visible;
}

.life-auth .linel {
  display: block;
  float: none;
  width: auto;
  margin: 0 0 6px;
  color: var(--life-ink);
  font-size: 13px;
  font-weight: 600;
}

.life-auth .linel em {
  margin-right: 2px;
  color: var(--life-terracotta);
  font-style: normal;
}

.life-auth .liner {
  display: flex;
  align-items: center;
  float: none;
  width: 100%;
  position: relative;
  gap: 8px;
}

.life-auth .liner .inp {
  flex: 1 1 auto;
  min-width: 0;
}

.life-auth .liner input[type="hidden"] {
  display: none;
}

.life-auth .inp,
.life-auth .text_cmu,
.life-auth input[type="text"],
.life-auth input[type="password"],
.life-auth input[type="email"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--life-line);
  border-radius: 12px;
  background: #fff;
  color: var(--life-ink);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.life-auth .inp:focus,
.life-auth .text_cmu:focus,
.life-auth input[type="text"]:focus,
.life-auth input[type="password"]:focus {
  border-color: var(--life-green);
  box-shadow: 0 0 0 3px rgba(44, 122, 100, 0.12);
}

.life-auth-captcha {
  display: flex;
  align-items: center;
  gap: 8px;
}

.life-auth-captcha .inp,
.life-auth-captcha input {
  flex: 1;
  min-width: 0;
}

.life-auth-codeimg,
.life-auth #reflsh_code2,
.life-auth #verify_code_img {
  flex: 0 0 112px;
  width: 112px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--life-line);
  background: #fff;
  object-fit: cover;
  cursor: pointer;
}

.life-auth .po-ab,
.life-auth .to0,
.life-auth .ma-le-210 {
  position: static !important;
  left: auto !important;
  top: auto !important;
  margin: 0 !important;
}

.life-auth .icode,
.life-auth #count_down {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d7ebe3;
  border-radius: 12px;
  background: var(--life-mint);
  color: var(--life-green-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.life-auth .icode:disabled,
.life-auth #count_down:disabled {
  opacity: 0.7;
  cursor: default;
}

.life-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--life-muted);
}

.life-auth-btn,
.life-auth .login_bnt a,
.life-auth .regbtn,
.life-auth .J-login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin: 6px 0 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #3e9a7e 0%, #2c7a64 100%);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(44, 122, 100, 0.22);
  box-sizing: border-box;
}

.life-auth-btn:hover,
.life-auth .login_bnt a:hover,
.life-auth .regbtn:hover {
  background: var(--life-green-dark);
}

.life-auth-extra {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--life-muted);
}

.life-auth-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--life-line);
  color: var(--life-muted);
  font-size: 12px;
}

.life-auth-oauth span {
  width: 100%;
  text-align: center;
  margin-bottom: 4px;
}

.life-auth-oauth a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--life-mint);
  color: var(--life-green-dark);
}

.life-auth-oauth a.weixin { color: #1aad19; }
.life-auth-oauth a.qq { color: #12b7f5; }
.life-auth-oauth a.pay { color: #1677ff; }

.life-auth-oauth:not(:has(a)) {
  display: none;
}

.life-auth .checkcon,
.life-auth .checktxt {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--life-muted);
  line-height: 1.6;
}

.life-auth .iyes,
.life-auth #checktxt {
  width: 14px;
  height: 14px;
  margin: 0 4px 0 0;
  accent-color: var(--life-green);
}

.life-auth .v-txt,
.life-auth #err_check_code,
.life-auth .errorbox,
.life-auth .show-voice {
  display: none;
}

.life-auth-copy {
  margin: 22px 0 0;
  font-size: 12px;
  color: #8a9893;
  text-align: center;
}

.life-auth-copy a {
  color: inherit;
}

.life-auth .fn-fl,
.life-auth .fn-fr,
.life-auth .clearfix:after {
  float: none;
}

.life-auth .clearfix:after {
  content: none;
  display: none;
}

.life-auth .ui_tab,
.life-auth .ui_tab_content,
.life-auth .m-fnbox,
.life-auth .fnlogin,
.life-auth .ui_panel,
.life-auth .lo_intext,
.life-auth .loginsum_main,
.life-auth .layel2 {
  width: auto;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  overflow: visible;
}

@media (max-width: 560px) {
  .life-auth-card,
  .life-auth-page-reg .life-auth-card {
    max-width: 100%;
    flex-basis: auto;
    padding: 28px 20px 22px;
    border-radius: 22px;
  }
  .life-auth-card form,
  .life-auth-page-login .life-auth-extra,
  .life-auth-page-login .life-auth-oauth,
  .life-auth-page-reg .life-auth-card form,
  .life-auth-page-reg .life-auth-tabs,
  .life-auth-page-reg .life-auth-extra {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .life-auth-bg,
  .life-auth-bg:before,
  .life-auth-bg:after,
  .life-auth-orb,
  .life-auth-dots,
  .life-auth-leaf {
    animation: none !important;
  }
}
