/* DEPS 统一账户门闸（控制台 / 官网弹层共用） */
.deps-auth-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 26, 0.97);
  padding: 24px;
  display: none;
}
html.deps-auth-locked .deps-auth-gate { display: flex; }
html.deps-auth-locked .deps-auth-hide-when-locked { display: none !important; }

.deps-auth-card {
  width: 100%;
  max-width: 440px;
  background: #121a2f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  max-height: 92vh;
  overflow-y: auto;
}
.deps-auth-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  text-align: center;
  color: #f5f7fb;
}
.deps-auth-hint {
  text-align: center;
  color: #a7b0c5;
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.55;
}
.deps-auth-main-tabs,
.deps-auth-method-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.deps-auth-tab {
  flex: 1;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #a7b0c5;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.deps-auth-tab.active {
  border-color: rgba(198, 167, 105, 0.45);
  color: #c6a769;
  background: rgba(198, 167, 105, 0.1);
}
.deps-auth-panel { display: none; }
.deps-auth-panel.active { display: block; }
.deps-auth-method-panel { display: none; }
.deps-auth-method-panel.active { display: block; }

.deps-auth-card label {
  display: block;
  font-size: 13px;
  color: #a7b0c5;
  margin: 12px 0 6px;
}
.deps-auth-card input[type="email"],
.deps-auth-card input[type="password"],
.deps-auth-card input[type="tel"],
.deps-auth-card input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #f5f7fb;
  font-size: 15px;
  box-sizing: border-box;
}
.deps-auth-sms-row { display: flex; gap: 10px; }
.deps-auth-sms-row input { flex: 1; }
.deps-auth-otp-btn {
  flex-shrink: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #121a2f;
  color: #c6a769;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.deps-auth-otp-btn:disabled { opacity: 0.45; cursor: not-allowed; color: #a7b0c5; }
.deps-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 16px;
  padding: 0 20px;
  border: none;
  border-radius: 12px;
  background: #c6a769;
  color: #0b1020;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.deps-auth-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.deps-auth-btn-ghost {
  background: transparent;
  color: #f5f7fb;
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 10px;
}
.deps-auth-link {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border: none;
  background: none;
  color: #c6a769;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
}
.deps-auth-err {
  margin-top: 12px;
  font-size: 14px;
  color: #ef4444;
  display: none;
  line-height: 1.5;
}
.deps-auth-err.show { display: block; }
.deps-auth-wx-host {
  width: 100%;
  max-width: 320px;
  height: 380px;
  margin: 0 auto;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.deps-auth-wx-host iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.deps-auth-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: #a7b0c5;
}
.deps-auth-foot a { color: #c6a769; text-decoration: none; }
.deps-auth-tos {
  margin: 12px 0;
  font-size: 13px;
  color: #a7b0c5;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.deps-auth-tos a { color: #c6a769; }

/* 官网弹层容器 */
.deps-auth-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.65);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.deps-auth-modal-overlay.active { display: flex; }
.deps-auth-modal-overlay .deps-auth-card { position: relative; }
