/* Shared by every design: reset, reading defaults, tables. Each theme sets the tokens and the look. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: var(--size, 18px); line-height: var(--lh, 1.6);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-kerning: normal; text-rendering: optimizeLegibility; overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--bg); padding: 8px 12px; }
.brand { text-decoration: none; }
.brand-mark:empty { display: none; }
.site-nav a, .site-foot a, .post-foot a { text-decoration: none; }
.dot { margin: 0 .5em; }

.post-title, .intro-title, .item-title, .prose h2, .prose h3 { text-wrap: balance; }
.prose p, .excerpt { text-wrap: pretty; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre, .prose .table-wrap { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; padding-left: .15em; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .anchor { margin-left: .3em; text-decoration: none; opacity: 0; color: var(--muted); font-weight: 400; transition: opacity .15s; }
.prose h2:hover .anchor, .prose h3:hover .anchor, .prose .anchor:focus { opacity: 1; }
.prose code { font-family: var(--mono); font-size: .86em; }
.prose pre { overflow-x: auto; padding: 1em 1.1em; font-size: .85em; line-height: 1.5; }
.prose pre code { font-size: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; font-size: .8em; line-height: 1.45; font-variant-numeric: lining-nums tabular-nums; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .6em .8em; min-width: 7em; }
.prose th:empty { min-width: 0; }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-item > a { display: block; text-decoration: none; }
.post-meta { margin: 0; }
