:root { --bg: #f4f5f8; --fg: #1c2230; --muted: #5d6779; --line: #d5dae3; --accent: #2f6fdf; --tile: #acd2f9; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --bg: #15181e; --fg: #e4e8ef; --muted: #98a2b3; --line: #2c323d; --accent: #6b9cff; --tile: #4a76b0; color-scheme: dark; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 40px max(16px, env(safe-area-inset-right, 0px)) 64px max(16px, env(safe-area-inset-left, 0px)); }
.back { font-size: 13px; }
h1 { font-size: 24px; line-height: 1.3; margin: 12px 0 8px; text-wrap: balance; }
h2 { font-size: 17px; margin: 36px 0 8px; }
p, li { max-width: 65ch; }
a { color: var(--accent); }
.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 16px 0; }
.states figure { margin: 0; }
.states .tile { aspect-ratio: 1; background: var(--tile); border-radius: 6px; overflow: hidden; }
.states img { display: block; width: 100%; height: 100%; }
/* the ring drawings fill only the middle of their 600 px frames */
.states.ring img { transform: scale(1.9); }
.states figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }
