/* Prerendered pages (sitegen.go): the map's dark palette, readable without JS. */
:root {
  --bg: #0f1117; --panel: #171a23; --line: #2a2f3c;
  --fg: #e6e8ee; --muted: #99a0b0; --accent: #5b9dff;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--fg); overflow-wrap: anywhere;
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.top {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel);
}
.brand { color: var(--fg); font-weight: 600; }
.top nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.langs a { margin-left: 8px; color: var(--muted); }
.langs a[aria-current] { color: var(--fg); font-weight: 600; }
main, footer { max-width: 820px; margin: 0 auto; padding: 0 16px; }
.crumbs { margin: 18px 0 6px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
h1 { margin: 4px 0 2px; font-size: 26px; line-height: 1.25; overflow-wrap: anywhere; }
h2 { margin: 26px 0 8px; font-size: 16px; color: var(--muted); font-weight: 600; }
.handle { margin: 0 0 10px; }
.badge {
  display: inline-block; margin: 0 6px 6px 0; padding: 2px 10px;
  border: 1px solid var(--line); border-radius: 12px; font-size: 13px;
}
.lead { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr)); gap: 10px; margin: 16px 0; }
.facts div { min-width: 0; }
.facts div { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.cta {
  display: inline-block; margin: 6px 0; padding: 9px 16px; border-radius: 8px;
  background: var(--accent); color: #0b1020; font-weight: 600;
}
.cta:hover { text-decoration: none; filter: brightness(1.1); }
.list { list-style: none; margin: 0; padding: 0; }
.list li {
  display: flex; gap: 8px; align-items: baseline; padding: 6px 0;
  border-bottom: 1px solid var(--line); overflow-wrap: anywhere;
}
.list .note { margin-left: auto; padding-left: 12px; color: var(--muted); white-space: nowrap; font-size: 13px; }
.muted { color: var(--muted); }
footer { margin-top: 36px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel); color: var(--fg);
}
.btn:hover { text-decoration: none; border-color: var(--accent); }
details summary { cursor: pointer; color: var(--muted); margin: 6px 0; }
textarea {
  width: 100%; background: var(--panel); color: var(--fg); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px; font: 12px/1.4 ui-monospace, Consolas, monospace;
}
#q {
  width: 100%; margin: 14px 0 6px; padding: 12px 14px; font-size: 18px;
  background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: 10px;
}
#q:focus { outline: none; border-color: var(--accent); }
