/* 隐私政策、用户协议、关于等文字页共用。配色与首页一致（取自 App 深色主题） */
:root {
  color-scheme: dark;
  --bg: #080B09; --surface: #101511;
  --border: rgba(255, 255, 255, .08); --border-mid: rgba(255, 255, 255, .12);
  --tx1: #F3F5F2; --tx2: #C3C8C1; --tx3: #8B938B;
  --lime: #C8FF38;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--tx1); font: 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.5rem; }

header { position: sticky; top: 0; z-index: 10; background: rgba(8, 11, 9, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 3.75rem; }
.brand { display: flex; align-items: center; gap: .625rem; color: var(--tx1); font-weight: 700; font-size: 1.0625rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 1.75rem; height: auto; }
nav { display: flex; gap: 1.25rem; font-size: .875rem; }
nav a { color: var(--tx3); }
nav a:hover, nav a[aria-current] { color: var(--tx1); text-decoration: none; }

.doc { padding-top: 3rem; padding-bottom: 4rem; }
.doc h1 { margin: 0 0 .5rem; font-size: 2rem; font-weight: 800; }
.updated { margin: 0 0 2.5rem; color: var(--tx3); font-size: .875rem; }
.doc section { padding: 1.75rem 0; border-top: 1px solid var(--border); }
.doc h2 { margin: 0 0 .75rem; font-size: 1.1875rem; font-weight: 700; }
.doc p { margin: 0 0 .875rem; color: var(--tx2); }
.doc p:last-child { margin-bottom: 0; }

footer { border-top: 1px solid var(--border); padding: 2rem 0 2.5rem; font-size: .8125rem; color: var(--tx3); }
footer p { margin: .375rem 0; }
footer a { color: var(--tx3); }
footer a:hover { color: var(--tx1); text-decoration: none; }
footer .links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: .75rem; }

@media (max-width: 30rem) {
  nav { gap: .875rem; }
  .doc h1 { font-size: 1.625rem; }
}
