:root {
  color-scheme: light;
  --primary: #0052d9;
  --primary-hover: #006eff;
  --primary-active: #003c9e;
  --primary-light: #e5f0ff;
  --primary-border: #b3d2ff;
  --text-1: #1d2129;
  --text-2: #4e5969;
  --text-3: #86909c;
  --border: #e5e6eb;
  --danger: #f53f3f;
  --radius: 0;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fs-1: 12px;
  --lh-1: 20px;
  --fs-2: 14px;
  --lh-2: 22px;
  --fs-3: 16px;
  --lh-3: 24px;
  --fs-4: 20px;
  --lh-4: 28px;
  --fs-5: 24px;
  --lh-5: 32px;
  --fs-6: 30px;
  --lh-6: 38px;
  --fs-7: 38px;
  --lh-7: 46px;
}

* {
  box-sizing: border-box
}

html,
body {
  min-height: 100%
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%
}

a {
  color: var(--primary);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent
}

a:hover {
  color: var(--primary-hover);
  text-decoration: none
}

a:focus,
a:active,
a:visited {
  text-decoration: none
}

a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-2);
  font-family: var(--font-family);
  font-size: var(--fs-2);
  line-height: var(--lh-2);
  background:
    url("/member-auth/assets/logig-27be66ee.png") center/cover no-repeat fixed,
    linear-gradient(-135deg, #50aeff 0%, #297aff 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
      rgba(247, 250, 255, .97) 0%,
      rgba(247, 250, 255, .94) 20%,
      rgba(247, 250, 255, .78) 40%,
      rgba(247, 250, 255, .34) 58%,
      rgba(247, 250, 255, .10) 76%,
      rgba(247, 250, 255, .06) 100%);
}

.site-head {
  position: fixed;
  top: 26px;
  left: 44px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px
}

.site-head img {
  height: 34px;
  width: auto;
  display: block
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 56px;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 112px 48px 56px;
}

.intro {
  max-width: 640px
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 20px;
  padding: 3px 10px;
  border-radius: 0;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 82, 217, .18);
  color: var(--primary);
  font-size: var(--fs-1);
  line-height: var(--lh-1);
  font-weight: 500;
}

.intro h1 {
  margin: 0 0 18px;
  font-size: var(--fs-7);
  line-height: var(--lh-7);
  color: var(--text-1);
  letter-spacing: 0;
  font-weight: 600
}

.intro .lead {
  margin: 0 0 32px;
  font-size: var(--fs-3);
  line-height: 26px;
  color: var(--text-2);
  max-width: 560px
}

.features {
  display: grid;
  gap: 16px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  max-width: 560px
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-2);
  color: var(--text-2);
  line-height: var(--lh-2)
}

.features .check {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(0, 82, 217, .18);
  margin-top: 1px;
}

.features .check svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round
}

.features strong {
  display: block;
  color: var(--text-1);
  font-weight: 500;
  font-size: var(--fs-2);
  line-height: var(--lh-2)
}

.features .desc {
  display: block;
  font-size: var(--fs-2);
  line-height: var(--lh-2);
  color: var(--text-2)
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 28px;
  border-top: 1px solid rgba(29, 33, 41, .10);
  max-width: 560px
}

.services span {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(29, 33, 41, .10);
  border-radius: 0;
  background: rgba(255, 255, 255, .66);
  color: var(--text-2);
  font-size: var(--fs-1);
  line-height: 1;
}

.auth-panel {
  width: 100%;
  background: #fff;
  border-radius: 0;
  padding: 28px 28px 24px;
  box-shadow: 0 18px 44px rgba(16, 48, 96, .18)
}

.form-head h2 {
  margin: 0 0 6px;
  font-size: var(--fs-5);
  line-height: var(--lh-5);
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: 0
}

.form-head p {
  margin: 0 0 24px;
  font-size: var(--fs-2);
  line-height: var(--lh-2);
  color: var(--text-3)
}

.form-head p a {
  color: var(--primary);
  font-weight: 500
}

.field {
  display: block;
  margin-bottom: 16px
}

.field .label {
  display: block;
  font-size: var(--fs-2);
  color: var(--text-1);
  margin-bottom: 8px;
  line-height: var(--lh-2)
}

.input-wrap {
  position: relative;
  min-width: 0
}

.input-wrap svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--text-3);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  height: 42px;
  padding: 0 13px 0 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  background-clip: padding-box;
  font-family: inherit;
  font-size: var(--fs-2);
  line-height: normal;
  color: var(--text-1);
  outline: none;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}

.input-wrap input::placeholder {
  color: var(--text-3);
  opacity: 1
}

.input-wrap input:hover {
  border-color: #9db9e8
}

.input-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 82, 217, .12)
}

.input-wrap input:-webkit-autofill,
.input-wrap input:-webkit-autofill:hover {
  -webkit-text-fill-color: var(--text-1);
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
  caret-color: var(--text-1);
  transition: background-color 9999s ease-out;
}

.input-wrap input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(0, 82, 217, .12);
  box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(0, 82, 217, .12);
}

.input-wrap input::-webkit-contacts-auto-fill-button,
.input-wrap input::-webkit-credentials-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}

input::-ms-reveal,
input::-ms-clear {
  display: none
}

.btn {
  width: 100%;
  height: 42px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: var(--fs-2);
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, opacity .15s;
}

.btn:hover {
  background: var(--primary-hover)
}

.btn:active {
  background: var(--primary-active)
}

.btn:focus-visible,
.code-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px
}

.btn[disabled] {
  opacity: .66;
  cursor: not-allowed
}

.links {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: var(--fs-2);
  line-height: var(--lh-2)
}

.links.end {
  justify-content: flex-end
}

.links a {
  color: var(--primary);
  font-weight: 500
}

.links a:hover {
  color: var(--primary-hover)
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 16px;
  font-size: var(--fs-1);
  line-height: 1.7;
  color: var(--text-3)
}

.agree input {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  padding: 0;
  border: 1px solid #c9cdd4;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}

.agree input:checked {
  border-color: var(--primary);
  background-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2 4.2 8.4 11 1.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px 8px;
}

.agree input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px
}

.agree a {
  color: var(--primary)
}

.agree a:hover {
  color: var(--primary-hover);
  text-decoration: none
}

.code-row {
  display: flex;
  gap: 8px
}

.code-row .input-wrap {
  flex: 1
}

.code-btn {
  flex: 0 0 112px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  font-family: inherit;
  font-size: var(--fs-2);
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s;
}

.code-btn:hover {
  background: #d6e8ff
}

.code-btn[disabled] {
  opacity: .66;
  cursor: not-allowed
}

#captcha-element {
  width: 0;
  height: 0;
  overflow: hidden
}

.captcha-note {
  display: none;
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px solid #ffccc7;
  border-radius: 0;
  background: #fff2f0;
  color: #cf2e2e;
  font-size: var(--fs-1);
  line-height: 18px;
}

.captcha-note.show {
  display: block
}

.site-foot {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 48px 26px;
  font-size: var(--fs-1);
  color: rgba(255, 255, 255, .86);
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.site-foot a {
  color: rgba(255, 255, 255, .86)
}

.site-foot a:hover {
  color: #fff
}

.site-foot .sep {
  margin: 0 6px;
  color: rgba(255, 255, 255, .55)
}

.toast-wrap {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000002;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  max-width: min(90vw, 420px);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
  font-size: var(--fs-2);
  line-height: 1.5;
  color: var(--text-1);
  animation: toastIn .18s ease-out;
  transition: opacity .18s, transform .18s;
}

.toast.error {
  border-color: #ffccc7;
  background: #fff2f0
}

.toast.success {
  border-color: #aff0b5;
  background: #f0fbf2
}

.toast.info {
  border-color: #bedaff;
  background: #f2f7ff
}

.toast .toast-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.toast.error .toast-icon {
  background: var(--danger)
}

.toast.success .toast-icon {
  background: #00b42a
}

.toast.info .toast-icon {
  background: var(--primary)
}

.toast.out {
  opacity: 0;
  transform: translateY(-6px)
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media (max-width:1040px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 40px;
    padding: 104px 32px 40px
  }

  .intro h1 {
    font-size: var(--fs-6);
    line-height: var(--lh-6)
  }
}

@media (max-width:860px) {
  body {
    background: #eef5ff url("/member-auth/assets/logig-27be66ee.png") center/cover no-repeat scroll
  }

  body::before {
    background: linear-gradient(180deg, rgba(247, 250, 255, .88) 0%, rgba(247, 250, 255, .94) 55%, rgba(247, 250, 255, .97) 100%)
  }

  .site-head {
    position: absolute;
    top: 20px;
    left: 24px
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    align-content: start;
    padding: 88px 24px 32px
  }

  .intro {
    max-width: none
  }

  .intro h1 {
    font-size: var(--fs-6);
    line-height: var(--lh-6)
  }

  .intro .lead {
    margin-bottom: 0
  }

  .features,
  .services {
    display: none
  }

  .input-wrap input,
  .btn,
  .code-btn {
    font-size: 16px
  }

  .auth-panel {
    max-width: 440px;
    margin: 0 auto;
    width: 100%
  }

  .site-foot {
    padding: 0 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    color: var(--text-3)
  }

  .site-foot a {
    color: var(--text-3)
  }

  .site-foot a:hover {
    color: var(--primary)
  }

  .site-foot .sep {
    color: var(--text-3)
  }
}

@media (max-width:640px) {
  .eyebrow {
    display: none
  }

  .intro .lead {
    display: none
  }

  .intro h1 {
    font-size: var(--fs-5);
    line-height: var(--lh-5);
    margin-bottom: 0
  }

  .hero {
    gap: 22px
  }
}

@media (max-width:480px) {
  .hero {
    padding: 80px 16px 26px
  }

  .intro h1 {
    font-size: var(--fs-5);
    line-height: var(--lh-5)
  }

  .auth-panel {
    padding: 22px 18px 18px;
    border-radius: 0
  }
}

@media (prefers-reduced-motion:reduce) {
  .toast {
    animation: none;
    transition: none
  }
}