:root {
  --bg: #f7f8fb;
  --panel: #ffffff;
  --line: #dde3ee;
  --ink: #101828;
  --muted: #5a6b85;
  --accent: #4338ca;
  --ok: #15803d;
  --warn: #b45309;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1020px, 93vw); margin: 0 auto; }

header.site { background: var(--panel); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { width: 22px; height: 22px; }
.brand span { font-weight: 500; color: var(--muted); font-size: 12.5px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
nav.menu { display: flex; gap: 18px; font-size: 14.5px; }
nav.menu a { color: var(--muted); }
nav.menu a.active, nav.menu a:hover { color: var(--ink); text-decoration: none; }

h1 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.015em; margin: 0 0 12px; }
.lead { color: var(--muted); max-width: 680px; margin: 0 0 24px; }
main { padding: 40px 0 48px; }

.mirrors { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: 28px; }
.mirror { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.mirror .name { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mirror .name i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.mirror small { color: var(--muted); display: block; margin-top: 4px; }
.mirror.here { border-color: #c7d2fe; box-shadow: 0 1px 0 #c7d2fe inset; }

table.rel { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 14.5px; }
table.rel th, table.rel td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
table.rel th { background: #f1f4fa; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
table.rel tr:last-child td { border-bottom: 0; }
table.rel code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: #334155; }

.note { color: var(--muted); font-size: 14px; }
pre { background: #101828; color: #e5edf9; border-radius: 10px; padding: 15px 17px; overflow-x: auto; font: 13.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: #eef2fb; padding: 1px 5px; border-radius: 4px; }
pre code { background: none; padding: 0; }

footer.site { border-top: 1px solid var(--line); padding: 22px 0 34px; color: var(--muted); font-size: 13.5px; background: var(--panel); }
footer.site a { color: var(--muted); }
