:root {
  --bg: #f7f7f8;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --border: #e5e5ea;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #2997ff;
    --border: #38383a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  font-size: 16px;
}
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}
h1 { font-size: 28px; margin: 0 0 8px; }
h2 {
  font-size: 20px;
  margin: 36px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
h3 { font-size: 17px; margin: 20px 0 8px; }
p, li { color: var(--text); }
ul { padding-left: 22px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.site-nav .brand { color: var(--text); font-weight: 700; margin-right: auto; }
.lang-switch { margin-bottom: 20px; }
.lang-switch a {
  color: var(--accent);
  text-decoration: none;
  margin-right: 16px;
  font-size: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}
th, td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
th { background: var(--bg); }
a { color: var(--accent); }
.divider { height: 48px; }
.links { list-style: none; padding: 0; margin: 16px 0 0; }
.links li { border-top: 1px solid var(--border); }
.links li:first-child { border-top: 0; }
.links a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}
.links span { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }
footer { text-align: center; color: var(--muted); font-size: 13px; margin-top: 32px; }
@media (max-width: 600px) {
  .card { padding: 24px 16px; }
  h1 { font-size: 24px; }
}
