/* Livecounts.nl blog: index and posts. One file, system fonts, charts are inline SVG or HTML rows. */

:root {
    color-scheme: light;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    --bg: #F4F4F1; --surface: #FFFFFF; --surface-2: #F9F9F7; --sunken: #EDEDE9;
    --ink: #121214; --ink-2: #3B3B41; --muted: #66666E;
    --line: #E3E3DE; --line-2: #D0D0CA;
    --focus: #4F5BD5; --tld: #C62A3C;
    --btn: #121214; --btn-ink: #FFFFFF;
    --grid: #ECECE7; --axis: #C9C9C3;
    --s1: #2A78D6; --s2: #EB6834;
    --acc: #C62A3C;
    --shadow: 0 1px 2px rgba(18, 18, 20, .04), 0 14px 32px -20px rgba(18, 18, 20, .22);
    --r-lg: 14px; --r-md: 10px; --r-sm: 8px;
    --wrap: 1120px; --gutter: 24px; --measure: 700px;
}
.acc-fivem { --acc: #D9480F; }
.acc-minecraft { --acc: #2F7D32; }
.acc-steam { --acc: #1A73C9; }
.acc-discord { --acc: #5865F2; }
.acc-stream { --acc: #D93025; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #0D0D0F; --surface: #161618; --surface-2: #1B1B1E; --sunken: #101012;
        --ink: #F3F3F1; --ink-2: #CFCFD4; --muted: #9C9CA5;
        --line: #27272B; --line-2: #37373D;
        --focus: #8E96FF; --tld: #FF5C6C;
        --btn: #F3F3F1; --btn-ink: #121214;
        --grid: #232327; --axis: #3A3A40;
        --s1: #3987E5; --s2: #D95926;
        --acc: #E5475A;
        --shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 16px 40px -24px rgba(0, 0, 0, .9);
    }
    :root:not([data-theme="light"]) .acc-fivem { --acc: #E8661F; }
    :root:not([data-theme="light"]) .acc-minecraft { --acc: #3E9A41; }
    :root:not([data-theme="light"]) .acc-steam { --acc: #3C8EDB; }
    :root:not([data-theme="light"]) .acc-discord { --acc: #6F78F0; }
    :root:not([data-theme="light"]) .acc-stream { --acc: #E6483C; }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0D0D0F; --surface: #161618; --surface-2: #1B1B1E; --sunken: #101012;
    --ink: #F3F3F1; --ink-2: #CFCFD4; --muted: #9C9CA5;
    --line: #27272B; --line-2: #37373D;
    --focus: #8E96FF; --tld: #FF5C6C;
    --btn: #F3F3F1; --btn-ink: #121214;
    --grid: #232327; --axis: #3A3A40;
    --s1: #3987E5; --s2: #D95926;
    --acc: #E5475A;
    --shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 16px 40px -24px rgba(0, 0, 0, .9);
}
:root[data-theme="dark"] .acc-fivem { --acc: #E8661F; }
:root[data-theme="dark"] .acc-minecraft { --acc: #3E9A41; }
:root[data-theme="dark"] .acc-steam { --acc: #3C8EDB; }
:root[data-theme="dark"] .acc-discord { --acc: #6F78F0; }
:root[data-theme="dark"] .acc-stream { --acc: #E6483C; }

*, *::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: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; z-index: 80; left: 12px; top: -60px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--btn); color: var(--btn-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* header, same brand block as the counter pages */
.site-head { position: relative; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 20px; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; }
.tld { color: var(--tld); }
.head-nav { display: flex; gap: 20px; margin-left: auto; }
.head-nav a { padding-block: 17px; border-bottom: 2px solid transparent; color: var(--ink-2); font-size: 14px; text-decoration: none; white-space: nowrap; }
.head-nav a:hover { color: var(--ink); }
.head-nav a[aria-current="page"], .head-nav a[aria-current="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.icon-btn { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* post layout */
main { display: block; }
.post, .index { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-inline: auto; padding-block: 28px 8px; }
.index { max-width: 880px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.post-head { position: relative; margin-bottom: 26px; padding-top: 18px; }
.post-head::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 4px; border-radius: 2px; background: var(--acc); }
.kicker { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
h1 { margin: 0 0 12px; font-size: clamp(28px, 5.2vw, 40px); line-height: 1.15; letter-spacing: -.02em; font-weight: 750; text-wrap: balance; }
.lede { margin: 0 0 16px; color: var(--ink-2); font-size: 18.5px; line-height: 1.55; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; color: var(--muted); font-size: 13.5px; }
.byline a { color: var(--ink-2); }
.post-body h2 { margin: 44px 0 12px; font-size: 24px; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; scroll-margin-top: 16px; }
.post-body h3 { margin: 28px 0 8px; font-size: 18px; line-height: 1.3; font-weight: 650; }
.post-body p, .post-body li { color: var(--ink-2); }
.post-body p { margin: 0 0 16px; }
.post-body ul, .post-body ol:not(.bars) { margin: 0 0 18px; padding-left: 22px; }
.post-body li { margin-bottom: 6px; }
.post-body a:not(.promo-cta):not(.tool) { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body a:not(.promo-cta):not(.tool):hover { text-decoration-thickness: 2px; }
.post-body b, .post-body strong { color: var(--ink); font-weight: 650; }
.post-body code { padding: 1px 5px; border-radius: 5px; background: var(--sunken); color: var(--ink); font: 0.88em var(--mono); }
.post-body pre { margin: 0 0 18px; padding: 14px 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); font: 13.5px/1.55 var(--mono); tab-size: 2; }
.post-body pre code { padding: 0; background: none; font: inherit; }
.note { margin: 0 0 18px; padding: 12px 16px; border-left: 3px solid var(--line-2); background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 15px; }
.note p:last-child { margin-bottom: 0; }
.toc { margin: 0 0 8px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.toc-title { margin: 0 0 6px !important; color: var(--muted) !important; font-size: 13px; font-weight: 600; }
.toc ol { margin: 0 !important; padding-left: 20px !important; }
.toc li { margin: 2px 0 !important; font-size: 15px; }
.toc a { text-decoration: none !important; }
.toc a:hover { text-decoration: underline !important; }

/* live number box */
.live-stat { margin: 0 0 20px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.ls-grid { display: flex; flex-wrap: wrap; gap: 1px; margin: 0; background: var(--line); }
.ls-grid > div { flex: 1 1 150px; padding: 16px 18px; background: var(--surface); }
.live-stat dt { margin: 0 0 2px; color: var(--muted); font-size: 13px; }
.live-stat dd { margin: 0; color: var(--ink); font-size: 28px; font-weight: 750; letter-spacing: -.01em; line-height: 1.2; }
.live-stat dd.small { font-size: 20px; }
.post-body .live-stat-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--acc); vertical-align: 1px; }
.live-stat-foot a { color: var(--ink-2); }
/* the one live line in a post, kept apart from the snapshot box the text describes */
.post-body .live-now { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: baseline; margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); font-size: 15px; }
.live-now .live-dot { margin: 0; }
.live-now-text { min-height: 1.5em; color: var(--ink); }
.post-body .live-now > a { grid-column: 2; justify-self: start; color: var(--ink-2); font-size: 14px; }
@media (max-width: 560px) { .live-now-text { min-height: 3em; } }

/* figures and charts */
.fig { margin: 22px 0 26px; padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.fig-title { margin: 0 0 12px !important; color: var(--ink) !important; font-size: 15.5px; font-weight: 650; }
.fig figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.fig-data { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.fig-data summary { color: var(--ink-2); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.fig-data .table-wrap { margin-top: 10px; max-height: 360px; overflow: auto; }
.chart { position: relative; }
.lc { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.lc-narrow { display: none; }
@media (max-width: 560px) { .lc-wide { display: none; } .lc-narrow { display: block; } }
.lc text { fill: var(--muted); font-family: var(--font); }
.lc .lbl { fill: var(--ink); font-weight: 600; }
.lc .g { stroke: var(--grid); stroke-width: 1; }
.lc .base, .lc .tk { stroke: var(--axis); stroke-width: 1; }
.lc .ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lc .area { stroke: none; opacity: .1; }
.lc .ln.acc { stroke: var(--acc); } .lc .area.acc, .lc .dot.acc { fill: var(--acc); }
.lc .ln.s1 { stroke: var(--s1); } .lc .area.s1, .lc .dot.s1 { fill: var(--s1); }
.lc .ln.s2 { stroke: var(--s2); } .lc .area.s2, .lc .dot.s2 { fill: var(--s2); }
.lc .dot { stroke: var(--surface); stroke-width: 2; }
.lc .hov { display: none; pointer-events: none; }
.lc.on .hov { display: inline; }
.lc .hl { stroke: var(--line-2); stroke-width: 1; }
.lc .hov circle { stroke: var(--surface); stroke-width: 2; }
.tip { position: absolute; z-index: 5; min-width: 120px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow); color: var(--ink); font-size: 13px; line-height: 1.45; pointer-events: none; white-space: nowrap; }
.tip b { font-weight: 650; }
.tip .k { display: inline-block; width: 10px; height: 3px; margin-right: 6px; border-radius: 2px; vertical-align: middle; }
.minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.mini h3 { margin: 0 0 4px !important; font-size: 14.5px !important; }
.mini p { margin: 0 0 6px !important; color: var(--muted) !important; font-size: 13px; }
@media (max-width: 620px) { .minis { grid-template-columns: minmax(0, 1fr); } }

/* legend and HTML bar rows */
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 12px !important; color: var(--ink-2) !important; font-size: 13.5px; }
.legend .key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 10px; }
.legend .key:first-child { margin-left: 0; }
.key.s1 { background: var(--s1); } .key.s2 { background: var(--s2); } .key.acc { background: var(--acc); }
.key.dot-lo { border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--acc); }
.key.dot-hi { border-radius: 50%; background: var(--acc); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; font-size: 14px; }
.bar-label { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-label a { color: var(--ink); }
.bar-track { position: relative; display: block; height: 14px; }
.bar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 4px 4px 0; }
.bar.acc { background: var(--acc); } .bar.s1 { background: var(--s1); } .bar.s2 { background: var(--s2); }
.bar-val { min-width: 64px; color: var(--ink-2); font-size: 13.5px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pairs li { align-items: start; }
.pairs .bar-label { padding-top: 3px; }
.bar-stack { display: grid; gap: 2px; grid-column: 2 / 4; }
.bar-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.bar-line .bar-track { height: 12px; }
.ranges li { grid-template-columns: minmax(0, 170px) minmax(0, 1fr) auto; }
.rg-track { position: relative; display: block; height: 18px; margin-inline: 7px; background: linear-gradient(var(--grid), var(--grid)) 0 50% / 100% 1px no-repeat; }
.rg-line { position: absolute; top: 8px; height: 2px; background: var(--acc); }
.rg-dot { position: absolute; top: 3px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; }
.rg-dot.lo { background: var(--surface); box-shadow: 0 0 0 2px var(--acc) inset, 0 0 0 2px var(--surface); }
.rg-dot.hi { background: var(--acc); box-shadow: 0 0 0 2px var(--surface); }
@media (max-width: 560px) {
    .bars li, .ranges li { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
    .bar-label { grid-column: 1 / -1; }
    .bar-stack { grid-column: 1 / -1; }
}

/* tables */
.table-wrap { max-width: 100%; margin: 0 0 18px; overflow-x: auto; }
.fig .table-wrap { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
caption { padding-bottom: 8px; color: var(--muted); font-size: 13px; text-align: left; }
th, td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
tbody th { color: var(--ink); font-weight: 600; }
td { color: var(--ink-2); }
.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.post-body .data-table { margin: 20px 0 24px; padding: 6px 12px 4px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.data-table table { font-size: 14.5px; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table-foot { margin: 6px 0 22px !important; color: var(--muted) !important; font-size: 13px; }

th .sub { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; font-weight: 400; }
@media (max-width: 560px) {
    .post-body .data-table { padding: 4px 10px 2px; }
    th, td { padding: 8px 6px; }
    table { font-size: 13.5px; }
    .data-table table { font-size: 14px; }
    table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
    table.stack tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
    table.stack tbody tr:last-child { border-bottom: 0; }
    table.stack th, table.stack td { display: flex; gap: 12px; justify-content: space-between; padding: 2px 0; border: 0; text-align: left; white-space: normal; }
    table.stack td::before { content: attr(data-label); flex: none; max-width: 45%; color: var(--muted); font-size: 12.5px; }
    table.stack td { text-align: right; }
    table.stack td.t { display: block; text-align: left; }
    table.stack td.t::before { display: block; max-width: none; margin-bottom: 1px; }
}

/* screenshots */
.shot { margin: 22px 0 26px; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.shot figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }

/* steps */
.steps { counter-reset: st; list-style: none; padding-left: 0 !important; }
.steps > li { position: relative; padding-left: 38px; margin-bottom: 12px; }
.steps > li::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--sunken); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 26px; text-align: center; }

/* sponsored card: plain, clearly labelled, never styled like the charts */
.promo { margin: 26px 0 28px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface-2); }
.promo p { margin: 0 0 8px; }
.promo-eyebrow { color: var(--muted) !important; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.promo-title { color: var(--ink) !important; font-size: 17px; font-weight: 700; }
.promo-text { font-size: 15px; }
.promo-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 4px 0 10px; padding: 10px 16px; border-radius: var(--r-sm); background: var(--btn); color: var(--btn-ink); font-size: 14.5px; font-weight: 650; text-decoration: none; }
.promo-cta:hover { opacity: .9; }
.promo-cta .i { width: 16px; height: 16px; }
.promo-note, .disclosure { color: var(--muted) !important; font-size: 13px; }

/* ad slots: fixed reserved space, away from charts, live numbers and buttons */
.ad { margin: 36px 0; text-align: center; }
.ad-label { margin: 0 0 6px !important; color: var(--muted) !important; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ad-intro, .ad-mid { min-height: 300px; }
.ad-intro ins, .ad-mid ins { min-height: 280px; }
.ad-end { min-height: 120px; }
.ad-end ins { min-height: 100px; }
.ad:has(ins[data-ad-status="unfilled"]) .ad-label { visibility: hidden; }

/* sources */
.sources { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.post-body .sources h2 { margin: 0 0 8px; font-size: 16px; }
.sources ul { margin: 0 !important; padding-left: 18px !important; }
.sources li { color: var(--muted) !important; font-size: 13.5px; }

/* related tools and more posts */
.related, .more { margin: 40px 0 8px; }
.related h2, .more h2 { margin: 0 0 12px; font-size: 20px; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tools li { margin: 0; }
.tool { display: flex; flex-direction: column; gap: 2px; height: 100%; min-height: 44px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink); text-decoration: none; }
.tool:hover { border-color: var(--line-2); }
.tool b { font-size: 15px; font-weight: 650; }
.tool span { color: var(--muted); font-size: 13px; line-height: 1.45; }

/* index list */
.index-head { margin-bottom: 22px; }
.post-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pcard { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.pcard-thumb { display: block; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); }
.pcard-thumb svg { display: block; width: 100%; height: auto; }
.pcard-thumb .ln { fill: none; stroke: var(--acc); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pcard-thumb .area { fill: var(--acc); opacity: .1; }
.pcard-thumb .bar { fill: var(--acc); }
.pcard-thumb .g { stroke: var(--grid); stroke-width: 1; }
.pcard-thumb .dot { fill: var(--acc); stroke: var(--surface-2); stroke-width: 2; }
.pcard .kicker { margin-bottom: 4px; }
.pcard h2 { margin: 0 0 6px; font-size: 19px; line-height: 1.3; }
.pcard h2 a { text-decoration: none; }
.pcard h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pcard p { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }
.pcard .meta { margin: 0; color: var(--muted); font-size: 13px; }
.pcard .acc-fivem, .pcard .acc-minecraft, .pcard .acc-steam, .pcard .acc-discord, .pcard .acc-stream { display: block; }
@media (max-width: 560px) {
    .pcard { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .pcard-thumb { max-width: 100%; }
}

/* footer */
.site-foot { margin-top: 56px; border-top: 1px solid var(--line); background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 32px 20px; }
.foot-h { margin: 0 0 6px; font-size: 13.5px; font-weight: 650; }
.foot-grid ul { display: grid; justify-items: start; gap: 0; margin: 0; padding: 0; list-style: none; }
.foot-grid a { display: inline-block; padding-block: 10px; color: var(--ink-2); font-size: 13.5px; text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-block: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }

@media (max-width: 720px) {
    :root { --gutter: 16px; }
    .head-row { height: 52px; gap: 12px; }
    .head-nav { gap: 14px; }
    .head-nav a { font-size: 13.5px; padding-block: 15px; }
    .head-nav a:first-child, .head-nav a:nth-child(2) { display: none; }
    .brand { font-size: 16px; }
    .post, .index { padding-top: 18px; }
    .lede { font-size: 17px; }
    .post-body h2 { margin-top: 36px; font-size: 21.5px; }
    .fig { padding: 14px 12px 12px; margin-inline: -4px; }
    .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .foot-grid nav:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .ad, .promo, .site-head, .site-foot, .theme-toggle { display: none !important; } }
