:root {
  color-scheme: light dark;
  --bg: #f8fafc;
  --fg: #1e1b2e;
  --muted: #475569;
  --card: #ffffff;
  --border: #e2e8f0;
  --accent: #4f46e5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f14;
    --fg: #f3f4f6;
    --muted: #aeb6c2;
    --card: #161b22;
    --border: #2a313c;
    --accent: #818cf8;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, "Hiragino Sans", "Yu Gothic", "Segoe UI", Roboto, sans-serif;
  line-height: 1.75;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }
header.site { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  color: white; font-size: 18px; flex-shrink: 0;
}
h1 { font-size: 1.6rem; margin: 0 0 4px; }
h2 { font-size: 1.2rem; margin-top: 2.2em; border-bottom: 1px solid var(--border); padding-bottom: .3em; }
h3 { font-size: 1.02rem; margin-top: 1.6em; }
p, li { color: var(--fg); }
.muted { color: var(--muted); font-size: .92rem; }
nav.pages { display: flex; gap: 16px; margin: 18px 0 32px; flex-wrap: wrap; }
nav.pages a {
  color: var(--accent); text-decoration: none; font-size: .92rem; font-weight: 600;
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px;
}
nav.pages a.active { background: var(--accent); color: white; border-color: var(--accent); }
table { width: 100%; border-collapse: collapse; margin: 1em 0; }
table th, table td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top;
  font-size: .95rem;
}
table th { width: 32%; color: var(--muted); font-weight: 600; white-space: nowrap; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px 28px; }
.peek { text-align: right; padding-right: 32px; margin-bottom: -1px; line-height: 0; }
.peek img { width: 128px; height: auto; }
footer { margin-top: 48px; font-size: .85rem; color: var(--muted); }
a { color: var(--accent); }
.lang-block + .lang-block { margin-top: 2.4em; padding-top: 1.6em; border-top: 1px dashed var(--border); }
ul { padding-left: 1.4em; }
