:root {
  --gold: #E8B86D;
  --gold-light: #F5D598;
  --deep: #05040B;
  --text: #F2EDE0;
  --text-2: rgba(242, 237, 224, 0.72);
  --text-3: rgba(242, 237, 224, 0.45);
  --border: rgba(232, 184, 109, 0.22);
  --surface: rgba(255, 255, 255, 0.05);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  background: var(--deep);
  color: var(--text);
  line-height: 1.85;
  min-height: 100vh;
}
a { color: var(--gold-light); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px min(5vw, 48px);
  border-bottom: 1px solid var(--border);
  background: rgba(5, 4, 11, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand b {
  font-family: 'Noto Serif SC', 'STSong', serif;
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--gold-light);
}
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.nav-links a { color: var(--text-2); }
.nav-links a.active { color: var(--gold-light); font-weight: 700; }
.doc-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px min(5vw, 32px) 80px;
}
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
}
.doc-card h1 {
  font-family: 'Noto Serif SC', 'STSong', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.meta { font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.doc-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}
.doc-card h2:first-of-type { margin-top: 8px; }
.doc-card p { font-size: 15px; color: var(--text-2); margin-bottom: 10px; }
.doc-card ul { padding-left: 1.2em; margin-bottom: 10px; }
.doc-card li { font-size: 15px; color: var(--text-2); margin-bottom: 8px; }
.doc-card li::marker { color: var(--gold); }
.note {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(232, 184, 109, 0.06);
  font-size: 14px;
  color: var(--text-2);
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px min(5vw, 48px) 40px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}
.site-footer p + p { margin-top: 8px; }
@media (max-width: 640px) {
  .site-header { flex-direction: column; align-items: flex-start; }
  .doc-card { padding: 28px 22px; }
}
