.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: .2s;
  z-index: 9999;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 协议行整体 */
/* 协议整行居中 */
.terms-check {
  width: 100%;
  display: flex;
  justify-content: center;
  /* ⭐ 整段水平居中 */
  align-items: center;
  gap: 10px;

  margin-top: 14px;
  /* 你想更贴近分割线可调小 */
}

/* checkbox 本体 */
.terms-check input[type="checkbox"] {
  width: 18px;
  /* 放大 */
  height: 18px;
  margin: 0;
  /* 清掉浏览器默认偏移 */
  flex-shrink: 0;

  accent-color: var(--brand-auro);

  position: relative;
  top: 1px;
  /* ⭐ 视觉微调：对齐中文中线 */
}

/* 文本 */
.terms-check span {
  font-size: 14px;
  /* 比之前 12px 更协调 */
  color: #666;
  line-height: 1.4;
}

/* 协议链接高亮 */
.terms-check a {
  color: var(--brand-auro);
  font-weight: 600;
  text-decoration: none;
}

.terms-check a:hover {
  text-decoration: underline;
}
