:root {
  --bg: #ffffff;
  --fg: #1b1f23;
  --muted: #5a6470;
  --line: #d9dee3;
  --accent: #0b5cad;
  --card: #f5f7f9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171a;
    --fg: #e6e9ec;
    --muted: #a3acb6;
    --line: #2c3238;
    --accent: #6cb2ff;
    --card: #1c2024;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.top, main, .foot { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; color: var(--fg); text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.top nav a { text-decoration: none; }
main { padding-top: 8px; padding-bottom: 40px; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 18px 0 12px; }
h2 { font-size: 1.35rem; margin: 32px 0 8px; }
h3 { font-size: 1.1rem; margin: 22px 0 6px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.lead { font-size: 1.08rem; }
.byline { color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 36px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .cols { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.card h2 { margin-top: 0; }
.appicon { width: 72px; height: 72px; border-radius: 16px; float: right; margin: 0 0 8px 12px; }
.badge img { width: 180px; height: auto; display: block; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
th { background: var(--card); }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; }
.warn { border-left: 4px solid #d08700; background: var(--card); padding: 10px 14px; }
.foot { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 32px; color: var(--muted); font-size: .92rem; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.shots figure { margin: 0; }
.shots img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.shots figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
