:root { color-scheme: light dark; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  padding: 2rem 1.25rem 4rem;
}
main { max-width: 42rem; margin: 0 auto; }
h1 { font-size: 1.7rem; line-height: 1.25; }
h3 { margin-top: 2.2rem; }
a { color: #06c; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
pre { background: rgba(127,127,127,.12); padding: .75rem 1rem; overflow-x: auto; border-radius: 6px; }
code { background: rgba(127,127,127,.12); padding: .1em .35em; border-radius: 4px; }
pre code { background: none; padding: 0; }
blockquote { margin: 1rem 0; padding: .25rem 1rem; border-left: 3px solid rgba(127,127,127,.4); opacity: .92; }
img { max-width: 100%; height: auto; display: block; margin: 1.25rem auto; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
p > em:only-child { font-size: .9rem; opacity: .8; text-align: center; display: block; }
audio { display: block; margin: 1rem 0; width: 100%; max-width: 480px; }
hr { border: none; border-top: 1px solid rgba(127,127,127,.35); margin: 2.5rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { border: 1px solid rgba(127,127,127,.35); padding: .4rem .6rem; text-align: left; }

main img { cursor: zoom-in; }
#lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; z-index: 100; cursor: zoom-out; }
#lightbox img { max-width: 97vw; max-height: 97vh; width: auto; height: auto; border-radius: 4px; box-shadow: none; }
