/* PC 登录 / 注册 · 黑金 */
body.pc-app.pc-auth-page {
  --h-bg: #080808;
  --h-card: #141414;
  --h-gold: #d4af37;
  --h-gold-light: #f5d76e;
  --h-text: #f5efe4;
  --h-muted: #8d877e;
  --h-line: rgba(255, 255, 255, 0.08);
  background: var(--h-bg);
  color: var(--h-text);
}

body.pc-app.pc-auth-page .pc-main {
  background:
    radial-gradient(ellipse 55% 45% at 15% 20%, rgba(212, 175, 55, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(90, 147, 248, 0.08), transparent 50%),
    var(--h-bg);
}

body.pc-app.auth-layout .pc-content {
  width: 100%;
  max-width: none;
  padding: 32px 24px;
}

.pc-auth-wrap {
  width: min(980px, 94vw);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  margin: 0 auto;
  border-radius: 24px 24px 24px 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  background: linear-gradient(155deg, #1c1816 0%, #121212 48%, #101010 100%);
}

/* 左侧视觉区 */
.pc-auth-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
  color: #fff;
  overflow: hidden;
}

.pc-auth-visual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
}

.pc-auth-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.72) 55%, rgba(8, 8, 8, 0.94) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.45) 100%);
  pointer-events: none;
}

.pc-auth-visual > * {
  position: relative;
  z-index: 1;
}

.pc-auth-visual-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--h-gold-light);
}

.pc-auth-visual h1 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.pc-auth-visual-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.pc-auth-visual-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-auth-visual-perks em {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.pc-auth-visual-perks em i {
  font-size: 16px;
  color: var(--h-gold-light);
}

/* 右侧表单区 */
.pc-auth-form {
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.28) 100%);
  border-left: 1px solid var(--h-line);
}

.pc-auth-home {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--h-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.pc-auth-home:hover {
  color: var(--h-gold-light);
}

.pc-auth-home i {
  font-size: 18px;
}

.pc-auth-form-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--h-text);
}

.pc-auth-form-sub {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--h-muted);
}

.pc-auth-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--h-line);
}

.pc-auth-tab {
  flex: 1;
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--h-muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.pc-auth-tab.is-active {
  color: #1a1200;
  background: linear-gradient(135deg, #ffe7a8, #d4af37);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.28);
}

.pc-auth-panel {
  display: none;
}

.pc-auth-panel.is-active {
  display: block;
}

.pc-auth-field {
  margin-bottom: 14px;
}

.pc-auth-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--h-muted);
}

.pc-auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pc-auth-field-icon {
  position: absolute;
  left: 14px;
  font-size: 18px;
  color: var(--h-muted);
  pointer-events: none;
}

.pc-auth-input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 12px 12px 4px;
  font-family: inherit;
  font-size: 14px;
  color: var(--h-text);
  background: rgba(0, 0, 0, 0.35);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.pc-auth-input::placeholder {
  color: #6d675f;
}

.pc-auth-input:focus {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.pc-auth-input-wrap.has-eye .pc-auth-input {
  padding-right: 44px;
}

.pc-auth-eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--h-muted);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.pc-auth-eye:hover {
  color: var(--h-gold-light);
  background: rgba(212, 175, 55, 0.08);
}

.pc-auth-submit {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: #1a1200;
  cursor: pointer;
  background: linear-gradient(135deg, #ffe7a8, #d4af37 55%, #c9971a);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.32);
  transition: transform 0.15s, box-shadow 0.15s;
}

.pc-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.4);
}

.pc-auth-submit:active {
  transform: translateY(0);
}

.pc-auth-submit.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.pc-auth-tip {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--h-muted);
  line-height: 1.5;
}

.pc-auth-tip button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--h-gold-light);
  font-weight: 700;
  cursor: pointer;
}

.pc-auth-tip button:hover {
  color: #ffe7a8;
}

@media (max-width: 900px) {
  .pc-auth-wrap {
    grid-template-columns: 1fr;
    width: min(480px, 94vw);
  }

  .pc-auth-visual {
    min-height: 220px;
    padding: 28px 24px;
  }

  .pc-auth-visual-perks {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .pc-auth-form {
    border-left: 0;
    border-top: 1px solid var(--h-line);
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  body.pc-app.auth-layout .pc-content {
    padding: 16px 12px;
  }

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

  .pc-auth-visual-perks {
    flex-direction: column;
  }
}
