/* 手机实名强制绑定弹窗 / 强制页样式（独立，不影响业务页） */

.hf-phone-bind-gate {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hf-phone-bind-gate.is-hidden {
  display: none;
}

body.hf-phone-bind-gate-open {
  overflow: hidden;
}

.hf-phone-bind-gate__panel {
  width: min(420px, 100%);
  padding: 1.35rem 1.4rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.hf-phone-bind-gate__badge,
.hf-bind-phone-card__badge {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9a3412;
  background: #ffedd5;
}

.hf-phone-bind-gate__title {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.hf-phone-bind-gate__body {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
}

.hf-phone-bind-gate__actions,
.hf-bind-phone-actions {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.hf-phone-bind-gate__btn {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.hf-phone-bind-gate__btn--ghost {
  background: #f1f5f9;
  color: #475569;
}

.hf-phone-bind-gate__btn--primary,
.hf-bind-phone-page .profile-save-btn {
  background: #0f766e;
  color: #fff;
}

.hf-phone-bind-gate__btn--primary:hover,
.hf-bind-phone-page .profile-save-btn:hover {
  background: #0d9488;
}

.hf-bind-phone-card .profile-card__lead {
  max-width: 36rem;
}

.hf-bind-phone-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.hf-bind-phone-row .auth-field {
  flex: 1 1 140px;
  min-width: 0;
  width: auto;
  padding: 0.55rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.hf-bind-captcha-q {
  min-width: 4.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  text-align: center;
}

.hf-bind-phone-actions {
  margin-top: 1.1rem;
  justify-content: stretch;
}

.hf-bind-phone-actions .profile-save-btn {
  flex: 1 1 auto;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.hf-bind-phone-logout {
  appearance: none;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.5rem 0.25rem;
}
