/* privacy.css —— 隐私协议页 + 登录/注册页底部入口（在 theme.css 之前加载） */

/* 登录 / 注册页底部：勾选同意隐私协议 */
.privacy-agree {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-tip, #8a96a3);
  -webkit-tap-highlight-color: transparent;
}
.privacy-check {
  flex: none;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border: 1.5px solid #c3ccd5;
  border-radius: 50%;
  background: #fff;
  position: relative;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.privacy-check.on {
  background: var(--accent, #4fc3f7);
  border-color: var(--accent, #4fc3f7);
}
.privacy-check.on::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.privacy-agree-text { cursor: pointer; -webkit-user-select: none; user-select: none; }
.privacy-agree-link {
  color: var(--accent, #4fc3f7);
  text-decoration: underline;
  cursor: pointer;
  padding: 6px 0; /* 扩大点击热区 */
}
.privacy-agree-link:active { opacity: .55; }
.privacy-agree.shake { animation: privacyShake .4s ease; }
@keyframes privacyShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

/* 隐私协议页：长文本阅读排版 */
#page-privacy .page-content {
  background: var(--bg-card, #fff);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.privacy-doc {
  padding: 20px 18px calc(32px + env(safe-area-inset-bottom, 0px));
  max-width: 720px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-body, #4a5560);
  word-break: break-word;
  -webkit-user-select: text;
  user-select: text; /* 允许选中复制，方便审核 */
}
.privacy-doc .privacy-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-title, #1a2b3c);
  text-align: center;
  margin: 0 0 6px;
  letter-spacing: 1px;
}
.privacy-doc .privacy-meta {
  text-align: center;
  font-size: 12px;
  color: var(--text-tip, #8a96a3);
  margin: 0 0 20px;
}
.privacy-doc h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-title, #1a2b3c);
  margin: 24px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--accent, #4fc3f7);
  line-height: 1.4;
}
.privacy-doc p { margin: 0 0 8px; text-align: justify; }
.privacy-doc ul { margin: 0 0 8px; padding-left: 20px; }
.privacy-doc li { margin-bottom: 6px; }
