html,
body {
  min-height: 100%;
  margin: 0;
}

.pc-auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 36, 66, .08), transparent 28%),
    linear-gradient(135deg, #fff7f8 0%, #f6f8fb 42%, #eef8f3 100%);
  color: #1f2937;
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.pc-auth-page * {
  box-sizing: border-box;
}

.pc-auth-page a {
  color: inherit;
  text-decoration: none;
}

.pc-auth-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.pc-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.pc-auth-brand img {
  max-width: 116px;
  max-height: 42px;
  object-fit: contain;
}

.pc-auth-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #667085;
  font-size: 14px;
}

.pc-auth-nav a:hover {
  color: #ff2442;
}

.pc-auth-main {
  max-width: 1180px;
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 52px;
  align-items: center;
  margin: 0 auto;
  padding: 36px 24px 56px;
}

.pc-auth-story {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, .07);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .66) 0%, rgba(255, 255, 255, .18) 100%),
    url("/static/newhome/images/login_bg.png") center center / contain no-repeat,
    rgba(255, 255, 255, .42);
  box-shadow: 0 22px 70px rgba(15, 23, 42, .08);
}

.pc-auth-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(255, 36, 66, .12), transparent 28%);
  pointer-events: none;
}

.pc-auth-story > * {
  display: none;
}

.pc-auth-kicker {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 36, 66, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #ff2442;
  font-size: 13px;
  font-weight: 700;
}

.pc-auth-title {
  max-width: 620px;
  margin: 18px 0 14px;
  color: #111827;
  font-size: 44px;
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: 0;
}

.pc-auth-subtitle {
  max-width: 560px;
  margin: 0;
  color: #667085;
  font-size: 17px;
}

.pc-auth-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 650px;
  margin-top: 34px;
}

.pc-auth-highlight {
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, .07);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}

.pc-auth-highlight strong {
  display: block;
  margin-bottom: 7px;
  color: #111827;
  font-size: 17px;
}

.pc-auth-highlight span {
  color: #667085;
  font-size: 13px;
}

.pc-auth-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pc-auth-trust span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  background: rgba(31, 41, 55, .06);
  color: #475467;
  font-size: 13px;
}

.pc-auth-card {
  width: 100%;
  padding: 30px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

.pc-auth-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.pc-auth-card-head h1 {
  margin: 0;
  color: #111827;
  font-size: 26px;
  line-height: 1.25;
}

.pc-auth-card-head p {
  margin: 6px 0 0;
  color: #98a2b3;
  font-size: 13px;
}

.pc-auth-switch {
  flex: 0 0 auto;
  color: #ff2442;
  font-size: 14px;
  font-weight: 700;
}

.pc-auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pc-auth-field {
  position: relative;
}

.pc-auth-field label,
.pc-auth-radio-label {
  display: block;
  margin-bottom: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.pc-auth-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: #111827;
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.pc-auth-input:focus {
  border-color: #ff2442;
  box-shadow: 0 0 0 4px rgba(255, 36, 66, .1);
}

.pc-auth-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  gap: 10px;
}

.pc-auth-code-btn,
.pc-auth-captcha {
  height: 48px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
}

.pc-auth-code-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff2442;
  cursor: pointer;
  font-weight: 700;
}

.pc-auth-captcha {
  width: 126px;
  object-fit: cover;
  cursor: pointer;
}

.pc-auth-radio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pc-auth-radio-list label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #eaecf0;
  border-radius: 6px;
  background: #f9fafb;
  color: #475467;
  cursor: pointer;
}

.pc-auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #667085;
  font-size: 13px;
}

.pc-auth-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pc-auth-options a,
.pc-auth-agree a,
.pc-auth-link {
  color: #ff2442;
}

.pc-auth-agree {
  color: #667085;
  font-size: 13px;
}

.pc-auth-submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: #ff2442;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(255, 36, 66, .28);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.pc-auth-submit:hover {
  background: #e61f3a;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(255, 36, 66, .32);
}

.pc-auth-third {
  margin-top: 18px;
}

.pc-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #98a2b3;
  font-size: 13px;
}

.pc-auth-divider::before,
.pc-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eaecf0;
}

.pc-auth-oauth-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.pc-auth-oauth {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
  color: #344054;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pc-auth-oauth:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.pc-auth-oauth.wechat:hover {
  border-color: rgba(34, 197, 94, .46);
}

.pc-auth-oauth.qq:hover {
  border-color: rgba(24, 144, 255, .46);
}

.pc-auth-oauth-icon {
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
}

.pc-auth-oauth strong {
  font-size: 14px;
}

.pc-auth-third p {
  margin: 10px 0 0;
  color: #98a2b3;
  text-align: center;
  font-size: 12px;
}

.pc-auth-helper {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eaecf0;
  color: #98a2b3;
  text-align: center;
  font-size: 13px;
}

.pc-auth-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 26px;
  color: #98a2b3;
  text-align: center;
  font-size: 13px;
}

.layui-layer-content {
  padding: 15px;
  line-height: 25px;
}

@media (max-width: 980px) {
  .pc-auth-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 18px;
  }

  .pc-auth-story {
    min-height: auto;
    aspect-ratio: 16 / 9;
    padding: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .74) 0%, rgba(255, 255, 255, .24) 100%),
      url("/static/newhome/images/login_bg.png") center center / contain no-repeat,
      rgba(255, 255, 255, .5);
  }

  .pc-auth-title {
    font-size: 34px;
  }

  .pc-auth-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pc-auth-header {
    height: auto;
    align-items: flex-start;
    padding-top: 18px;
    padding-bottom: 12px;
  }

  .pc-auth-nav {
    gap: 12px;
    font-size: 13px;
  }

  .pc-auth-title {
    font-size: 28px;
  }

  .pc-auth-card {
    padding: 22px;
  }

  .pc-auth-card-head {
    display: block;
  }

  .pc-auth-switch {
    display: inline-block;
    margin-top: 10px;
  }
}
