/* 服务条款 / 隐私政策页：配色和主站 index.html 一致，跟随系统深浅色和主站的主题设置 */
:root { --bg: #ffffff; --fg: #0d0d0d; --muted: #5d5d5d; --line: #e5e5e5; --link: #0d0d0d;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #212121; --fg: #ececec; --muted: #b4b4b4; --line: #3a3a3a; --link: #ececec; color-scheme: dark; } }
:root[data-theme="dark"] { --bg: #212121; --fg: #ececec; --muted: #b4b4b4; --line: #3a3a3a; --link: #ececec; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 15.5px; line-height: 1.7; }
a { color: var(--link); text-underline-offset: 2px; }
[hidden] { display: none !important; }
.top { position: sticky; top: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.brand { font-weight: 600; text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.top nav a { color: var(--muted); }
#lang { font: inherit; font-size: 13px; color: var(--fg); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; cursor: pointer; }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 28px; font-weight: 600; margin: 8px 0 4px; }
h2 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
ul { padding-left: 1.3em; }
li { margin: 4px 0; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; padding: 16px; }
footer a { color: var(--muted); }
