/* ============================================================
   PC 大登录框（照闲鱼那种：左短信/密码，右扫码）
   只在外壳用；手机版还是 js/api.js 里那个小弹框
   ============================================================ */
.pc-login { position: fixed; inset: 0; z-index: 9999; display: none; }
.pc-login.show { display: block; }
.pc-login-mask {
  position: absolute; inset: 0; background: rgba(12, 12, 14, .45);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}

.pc-login-box {
  position: relative; width: 860px; max-width: calc(100vw - 80px);
  margin: 50vh auto 0; transform: translateY(-50%);
  background: #fff; border-radius: 20px;
  box-shadow: 0 30px 80px rgba(17,24,39,.28);
  display: flex; overflow: hidden;
}

/* 左：表单 */
.pc-login-left { flex: 1 1 auto; padding: 40px 44px 32px; min-width: 0; }
/* 左上角品牌区：logo + 名字 + 一句话 */
.pc-login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.pc-login-logo { width: 46px; height: 46px; border-radius: 13px; display: block; }
.pc-login-brand-tx { display: flex; flex-direction: column; gap: 3px; }
.pc-login-brand-tx b { font-size: 19px; font-weight: 800; color: #16181B; letter-spacing: .5px; }
.pc-login-brand-tx span { font-size: 12.5px; color: #9AA0A6; }

.pc-login-tabs { display: flex; gap: 26px; margin-bottom: 28px; }
.pc-login-tab {
  border: 0; background: transparent; cursor: pointer; padding: 0 0 8px;
  font-size: 20px; font-weight: 700; color: #B4B9C0; font-family: inherit;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.pc-login-tab.on { color: #16181B; border-bottom-color: #C41E3A; }

.pc-login-row { margin-bottom: 14px; }
.pc-login-input {
  width: 100%; height: 50px; padding: 0 16px;
  border: 1px solid #E7E8EB; border-radius: 10px; background: #F7F8FA;
  font-size: 15px; font-family: inherit; color: #16181B; outline: none;
  transition: border-color .15s, background .15s;
}
.pc-login-input:focus { border-color: #C41E3A; background: #fff; }
.pc-login-input::placeholder { color: #A8ADB5; }

.pc-login-coderow { display: flex; gap: 10px; }
.pc-login-coderow .pc-login-input { flex: 1; }
.pc-login-send {
  flex: none; width: 132px; height: 50px; border-radius: 10px; cursor: pointer;
  border: 1px solid #F3D6DD; background: #FFF5F7; color: #C41E3A;
  font-size: 14px; font-weight: 600; font-family: inherit;
}
.pc-login-send:disabled { color: #B4B9C0; border-color: #E7E8EB; background: #F7F8FA; cursor: default; }
.pc-login-send:hover:not(:disabled) { background: #FDE7EC; }

.pc-login-submit {
  width: 100%; height: 50px; margin-top: 8px; border: 0; border-radius: 10px; cursor: pointer;
  background: #C41E3A; color: #fff; font-size: 16px; font-weight: 600; font-family: inherit;
  box-shadow: 0 8px 20px rgba(196,30,58,.24);
}
.pc-login-submit:hover { background: #A9182F; }
.pc-login-submit:disabled { background: #E4E2E4; box-shadow: none; cursor: default; }

.pc-login-agree {
  display: flex; align-items: flex-start; gap: 7px; margin-top: 14px;
  font-size: 12px; color: #9AA0A6; line-height: 1.6;
}
.pc-login-agree input { margin-top: 2px; accent-color: #C41E3A; }
.pc-login-agree a { color: #5A5F66; }

.pc-login-tip { min-height: 18px; margin-top: 10px; font-size: 12.5px; color: #2F7D52; }
.pc-login-tip.bad { color: #C0271F; }

/* 右：扫码 */
.pc-login-right {
  flex: 0 0 320px; padding: 40px 32px; background: #FAFAFB;
  border-left: 1px solid #F0F1F3; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pc-login-qr-t {
  font-size: 17px; font-weight: 700; color: #16181B; margin-bottom: 16px;
}
.pc-login-qr {
  width: 190px; height: 190px; border-radius: 14px; background: #fff;
  border: 1px solid #ECEDEF; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pc-login-qr img, .pc-login-qr canvas { width: 100%; height: 100%; display: block; }
.pc-login-qr-ph { font-size: 12px; color: #B4B9C0; padding: 0 18px; line-height: 1.7; }
.pc-login-qr-s { margin-top: 14px; font-size: 12.5px; color: #8E8E93; line-height: 1.7; }

.pc-login-x {
  position: absolute; right: 16px; top: 14px; width: 32px; height: 32px;
  border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  color: #B4B9C0; font-size: 22px; line-height: 1; font-family: inherit;
}
.pc-login-x:hover { background: #F2F3F5; color: #5A5F66; }

@media (max-width: 900px) {
  .pc-login-box { width: calc(100vw - 40px); flex-direction: column; }
  .pc-login-right { display: none; }
  .pc-login-left { padding: 32px 24px 24px; }
}

/* 验证码短信来源的常驻提示 */
.pc-login-hint {
  margin: 3px 0 10px 2px;
  font-size: 11.5px; line-height: 1.6; color: #A8ADB5;
}

/* 顶部品牌行 + 赠卡说明 */
.pc-login-brand {
  display: flex; align-items: center; gap: 12px; margin-bottom: 26px;
}
.pc-login-logo {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, #C41E3A, #E4485F); color: #fff;
  font-size: 19px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(196,30,58,.26);
}
.pc-login-brand-tx b { display: block; font-size: 17px; font-weight: 800; color: #16181B; letter-spacing: -.3px; }
.pc-login-brand-tx span { display: block; margin-top: 2px; font-size: 12px; color: #9AA0A6; }

.pc-login-note {
  margin-top: 10px; font-size: 11.5px; line-height: 1.7; color: #B0B4BA;
}

/* 提交按钮禁用态更明显 */
.pc-login-submit:disabled { background: #EFEDEF; color: #B4B9C0; box-shadow: none; }

/* 新用户提示：放在提交按钮上方，比原来那行灰小字显眼 */
.pc-login-new {
  display: flex; align-items: flex-start; gap: 6px;
  margin: 14px 0 10px; padding: 9px 12px;
  background: #FFF7F2; border: 1px solid #FBE3D2; border-radius: 10px;
  font-size: 12px; line-height: 1.6; color: #8A5B66;
}
.pc-login-new-tag {
  flex: none; font-size: 10.5px; font-weight: 700; color: #C41E3A;
  background: #FFEBE0; border-radius: 4px; padding: 1px 5px; margin-top: 1px;
}

/* 协议行：文字可点开、链接也点得动 */
.pc-login-agree { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px;
                  font-size: 12px; line-height: 1.7; color: #8E8E93; }
.pc-login-agree input { margin: 3px 0 0; width: 15px; height: 15px; flex: none; accent-color: #C41E3A; }
.pc-login-agree-tx label { cursor: pointer; }
.pc-login-agree-tx a { color: #C41E3A; text-decoration: none; position: relative; z-index: 1; }
.pc-login-agree-tx a:hover { text-decoration: underline; }
