:root {
  --bg: #ffffff;
  --fg: #1f2937;
  --muted: #6b7280;
  --accent: #1d4ed8;
  --line: #e5e7eb;
  --card: #f8fafc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --fg: #e5e7eb;
    --muted: #94a3b8;
    --accent: #60a5fa;
    --line: #1e293b;
    --card: #111c33;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  overflow-wrap: break-word;
  font: 16px/1.65 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
header img { width: 40px; height: 40px; }
header a { color: inherit; text-decoration: none; font-weight: 700; font-size: 20px; }
nav { margin-left: auto; display: flex; gap: 16px; font-size: 14px; }
nav a { font-weight: 400; font-size: 14px; color: var(--muted); }
h1 { font-size: 28px; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
h3 { font-size: 16px; margin: 20px 0 4px; }
a { color: var(--accent); }
.muted { color: var(--muted); font-size: 14px; }
.lang { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 32px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 16px 0; }
.btn { display: inline-block; background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 8px; text-decoration: none; font-weight: 600; }
@media (prefers-color-scheme: dark) { .btn { color: #0f172a; } }
footer { margin-top: 48px; font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { th, td { padding: 6px 4px; } nav { gap: 10px; } }
