/* 用户协议 / 隐私政策：一栏阅读版式，跟随系统深浅色。 */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --fg: #172231;
  --muted: #5d6b7c;
  --line: #e2e8f0;
  --accent: #1f6feb;
  --font: Inter, 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f141a;
    --surface: #161c24;
    --fg: #e4e9ef;
    --muted: #97a3b2;
    --line: #29323d;
    --accent: #6aa5ff;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.8 var(--font); -webkit-font-smoothing: antialiased; }
.legal { max-width: 820px; margin: 0 auto; padding: 40px max(16px, env(safe-area-inset-left)) 64px; }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.legal-top img { height: 32px; width: auto; }
.legal-top a { color: var(--accent); font-size: 14px; text-decoration: none; }
article { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 36px 40px; }
h1 { margin: 0 0 6px; font-size: 26px; line-height: 1.35; }
.meta { margin: 0 0 24px; color: var(--muted); font-size: 13px; }
h2 { margin: 30px 0 8px; font-size: 18px; line-height: 1.5; }
h3 { margin: 18px 0 6px; font-size: 15px; }
p, li { margin: 6px 0; }
ul, ol { padding-left: 1.4em; margin: 6px 0; }
strong { font-weight: 600; }
article a { color: var(--accent); text-underline-offset: 2px; }
.lead { padding: 14px 16px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: color-mix(in srgb, var(--fg) 4%, transparent); font-weight: 600; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
footer { margin-top: 24px; color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 640px) {
  .legal { padding-top: 20px; }
  article { padding: 22px 18px; border-radius: 12px; }
  h1 { font-size: 22px; }
}
