/* The blog's stylesheet: the blog's own reading layout (RFC 008), made for readers who are older, or have low vision (RFC 014). The colour roles and their four
   palettes are in palettes.css, and nothing here names a colour: every colour is a role, so a palette cannot be half applied. Sizes are in rem or em (the
   reader's text size always works), and only borders are in px. No inline style anywhere: everything the pages look like is here. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--rf-bg); color: var(--rf-fg); font-family: var(--rf-font-sans); font-size: 1.125rem; line-height: 1.75; }
:lang(ja) body, body:lang(ja) { line-height: 1.9; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--rf-primary); text-underline-offset: 0.18em; }
a:hover { color: var(--rf-primary-hover); }
:focus-visible { outline: 3px solid var(--rf-focus); outline-offset: 2px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 0.5rem; top: -4rem; background: var(--rf-primary); color: var(--rf-primary-fg); padding: 0.5rem 1rem; border-radius: var(--rf-radius-sm); z-index: 10; }
.skip-link:focus { top: 0.5rem; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.4rem); margin: 1.4rem 0 0.6rem; }
h2 { font-size: 1.55rem; margin: 2.6rem 0 0.8rem; }
h3 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.muted { color: var(--rf-fg-muted); }

/* ---- header and footer */
.site-header { border-bottom: 1px solid var(--rf-border); background: var(--rf-bg-elev); }
html[data-scrolled] .site-header { box-shadow: 0 1px 8px rgb(15 23 42 / 0.08); }
.site-header .bar { max-width: var(--wide); margin: 0 auto; padding: 0.6rem 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--rf-fg); text-decoration: none; margin-right: auto; }
.brand img { width: 2rem; height: 2rem; display: block; }
.site-header nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; margin: 0; padding: 0; align-items: center; }
.site-header nav a { color: var(--rf-fg); text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover { border-bottom-color: var(--rf-border-strong); }
.site-header nav a[aria-current] { border-bottom-color: var(--rf-primary); font-weight: 700; }
/* Settings (RFC 014 §9.1): the panel overlays the page under the header, at the right, and moves nothing; the positioned ancestor is the header's bar */
.site-header .bar { position: relative; }
.settings summary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0 0.9rem; border: 1px solid var(--rf-border-strong); border-radius: 999px; cursor: pointer; list-style: none; color: var(--rf-fg); }
.settings summary::-webkit-details-marker { display: none; }
.settings summary::after { content: "▾"; font-size: 0.875em; }
.settings[open] summary { background: var(--rf-primary-soft); }
.settings[open] summary::after { content: "▴"; }
.gear { width: 1.5rem; height: 1.5rem; flex: none; }
.settings-panel { max-height: calc(100vh - 6rem); max-height: calc(100dvh - 6rem); overflow-y: auto; position: absolute; z-index: 20; top: 100%; right: 1rem; width: min(20rem, calc(100vw - 2rem)); margin-top: 0.25rem; padding: 0.5rem 1.2rem 1rem; background: var(--rf-bg-elev); border: 1px solid var(--rf-border-strong); border-radius: var(--rf-radius-md); }
.settings-title { margin: 0.6rem 0 0.2rem; font-weight: 700; }
.settings-panel .lang { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.settings-panel .lang li { flex: 1 1 6rem; }
.settings-panel .lang a { display: flex; align-items: center; padding: 0 0.6rem; border: 1px solid var(--rf-border-strong); border-radius: var(--rf-radius-sm); color: var(--rf-fg); text-decoration: none; }
.settings-panel .lang a[aria-current] { background: var(--rf-primary-soft); border-width: 2px; font-weight: 700; }
.settings-panel .lang a[aria-current]::after { content: "✓"; margin-left: auto; }
.setting, .lang-pick { margin: 0.6rem 0 0; padding: 0; border: 0; }
.setting legend { padding: 0; margin: 0 0 0.2rem; font-weight: 700; }
.setting > label, .lang-pick > label { display: block; margin: 0 0 0.2rem; font-weight: 700; }
.setting select, .lang-pick select { display: block; box-sizing: border-box; width: 100%; padding: 0 0.6rem; border: 1px solid var(--rf-border-strong); border-radius: var(--rf-radius-sm); background: var(--rf-bg-elev); color: var(--rf-fg); font: inherit; cursor: pointer; }
.setting select:hover, .lang-pick select:hover { background: var(--rf-primary-soft); }
.setting .hint, .lang-pick .hint { margin: 0 0 0.4rem; color: var(--rf-fg-muted); font-size: 0.875rem; }
fieldset.setting label { display: flex; align-items: center; gap: 0.6rem; padding: 0 0.6rem; border: 1px solid var(--rf-border-strong); border-radius: var(--rf-radius-sm); margin: 0 0 0.5rem; cursor: pointer; }
.setting input { width: 1.5rem; height: 1.5rem; margin: 0; flex: none; }
fieldset.setting label:has(input:checked) { background: var(--rf-primary-soft); border-width: 2px; font-weight: 700; }
.site-footer { margin-top: 4rem; border-top: 1px solid var(--rf-border); background: var(--rf-bg-muted); color: var(--rf-fg); }
.site-footer .inner { max-width: var(--wide); margin: 0 auto; padding: 2rem 1rem; display: grid; gap: 1.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.site-footer h2 { font-size: 1.05rem; margin: 0 0 0.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.5rem; }
.site-footer .copyright { grid-column: 1 / -1; color: var(--rf-fg-muted); font-size: 0.95rem; }

/* ---- page frame */
main { display: block; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: var(--measure); margin: 0 auto; padding: 0 1rem; }
.crumbs { max-width: var(--wide); margin: 0 auto; padding: 0.4rem 1rem 0; font-size: 0.95rem; color: var(--rf-fg-muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0; }
.crumbs li + li::before { content: "›"; margin: 0 0.5rem; color: var(--rf-fg-muted); }
.lead { font-size: 1.1rem; color: var(--rf-fg-muted); max-width: var(--measure); }

/* ---- lists of posts */
/* ---- the card (RFC 013): a box that is one link as a whole; and the entry (RFC 013 §10): a row of a calm list, not a box. A 1 px rule lies above each entry (so between entries and above the first), no gap, no border around it, no radius, no background at rest. The hover and the keyboard focus only turn the row's background to the muted one, in 150 ms, and underline the title: no border colour changes, no fill */
.entries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.entry { position: relative; overflow-wrap: anywhere; padding: 1.1rem 0.5rem; border-top: 1px solid var(--rf-border); transition: background-color 150ms ease; }
.entry:hover { background: var(--rf-bg-muted); }
/* keyboard focus only (RFC 013 §10.3): :focus-visible, not :focus-within, which would also shade the row after a mouse click or a Back that restores the focus; a rule of its own, so a browser without :has() still gets the hover */
.entry:has(:focus-visible) { background: var(--rf-bg-muted); }
.entry-title { margin: 0 0 0.2rem; font-size: 1.2rem; font-weight: 700; }
.entry-link { text-decoration: none; }
.entry:hover .entry-link { text-decoration: underline; }
.entry:has(:focus-visible) .entry-link { text-decoration: underline; }
/* the title's link is stretched over the whole entry; a secondary link (.place) stays above it, with its own destination */
.entry-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--rf-radius-md); }
.entry-link:focus-visible { outline: none; }
.entry-link:focus-visible::after { outline: 3px solid var(--rf-focus); outline-offset: 2px; }
.entry .meta { font-size: 0.95rem; color: var(--rf-fg-muted); }
.entry p { margin: 0.4rem 0 0; }
/* the label (RFC 012 §8.1, RFC 013 §10.2): underlined text in the muted colour, no border, no background, no pill; one link, so its "›" does not read as two. Its target is still 44 px tall (the size rule below), an invisible height */
.place { position: relative; z-index: 1; display: inline-flex; align-items: center; color: var(--rf-fg-muted); text-decoration: underline; white-space: normal; }
.place:hover { color: var(--rf-fg); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); }
.card { background: var(--rf-bg-elev); border: 1px solid var(--rf-border-strong); border-radius: var(--rf-radius-md); }
.card:hover { border-color: var(--rf-primary); background: var(--rf-primary-soft); }
.card-link { display: block; height: 100%; padding: 1rem 1.2rem; border-radius: var(--rf-radius-md); color: var(--rf-fg); text-decoration: none; }
.card-link:focus-visible { outline-offset: -3px; }
.card-link[aria-current] { background: var(--rf-primary-soft); border-radius: var(--rf-radius-md); box-shadow: inset 0 0 0 2px var(--rf-primary); }
.interests .cards { margin: 0.4rem 0 0.8rem; }
.card-name { font-weight: 700; color: var(--rf-primary); }
.card-link:hover .card-name { text-decoration: underline; }
.card-arrow { position: relative; left: 0; margin-left: 0.3em; font-size: 0.9em; color: var(--rf-primary); text-decoration: none; }
/* the arrow stays on the last line of the name (A-1): it is text, inline, not a box, and a word joiner before it (generated, so never read and never copied) forbids a line break between the name and the arrow, in either language and at any width */
.card-arrow::before { content: "\2060"; }
/* what answers the reader and nothing else (RFC 012 §10.2): on hover and on focus the arrow moves a little and the card rises 2 px with a soft shadow, in 150 ms; nothing moves on load; under reduced motion only the colour changes */
.card { transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, background-color 150ms ease; }
.card-arrow { transition: left 150ms ease; }
.card:hover, .card:focus-within { transform: translateY(-2px); box-shadow: var(--rf-shadow); }
.card:hover .card-arrow, .card:focus-within .card-arrow { left: 0.25em; }
.band { background: var(--rf-bg-muted); border-radius: var(--rf-radius-md); padding: 1.25rem 1.25rem 1.5rem; margin: 1.5rem 0; }
.band h2 { margin-top: 0; }
.all-posts { margin: 1rem 0 0; }
.all-posts a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
.card-count { color: var(--rf-fg-muted); font-size: 0.95rem; }
.card-line { display: block; margin-top: 0.3rem; color: var(--rf-fg-muted); font-size: 1rem; }

.pager { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; list-style: none; padding: 0; margin: 2rem 0 0; }
.pager a, .pager [aria-current] { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; padding: 0.35rem 0.9rem; text-align: center; border: 1px solid var(--rf-border-strong); border-radius: var(--rf-radius-sm); text-decoration: none; background: var(--rf-bg-elev); }
.pager-nav { text-align: center; }
.search-results:focus { outline: none; }
.pager-gap { display: inline-flex; align-items: center; min-height: max(2.75rem, 44px); padding: 0 0.25rem; }
.pager-status { margin: 0.5rem 0 0; color: var(--rf-fg-muted); font-size: 0.95rem; }
.pager [aria-current] { background: var(--rf-primary); color: var(--rf-primary-fg); border-color: var(--rf-primary); }
/* the rows of links to a list's other views (RFC 016 §6.2): each link is a control of 44 px or more; the current one is marked by a heavier border and a tick, not by colour alone */
.views { display: grid; gap: 0.5rem; margin: 1rem 0 1.25rem; }
.views-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0; }
.views-name { font-weight: 700; }
.views ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.views a { display: inline-flex; align-items: center; padding: 0.35rem 0.9rem; border: 1px solid var(--rf-border-strong); border-radius: var(--rf-radius-sm); text-decoration: none; }
.views a:hover { background: var(--rf-primary-soft); text-decoration: underline; }
.views a[aria-current] { border-width: 3px; font-weight: 700; }
.views a[aria-current]::before { content: "\2713\00a0"; }
.taglist { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0; padding: 0; }
.taglist a { display: inline-flex; align-items: center; background: var(--rf-primary-soft); border: 1px solid var(--rf-border-strong); border-radius: 999px; padding: 0.1rem 0.9rem; text-decoration: none; font-size: 0.95rem; }
.year { margin-top: 1.4rem; }
.year summary { cursor: pointer; font-weight: 700; }

/* ---- a post */
.post { max-width: var(--measure); margin: 0 auto; padding: 0 1rem; }
.post-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 1.1rem; color: var(--rf-fg-muted); font-size: 0.95rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.post-line li + li::before { content: ""; }
.plain-note { background: var(--rf-primary-soft); border-left: 4px solid var(--rf-accent-warm); padding: 0.5rem 0.9rem; border-radius: var(--rf-radius-sm); margin: 0 0 1.2rem; }
.series-bar { background: var(--rf-primary-soft); border: 1px solid var(--rf-border-strong); border-radius: var(--rf-radius-md); padding: 0.5rem 1rem; margin: 1rem 0; font-size: 1rem; }
.series-bar p { margin: 0; }
.series-bar .prevnext { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1rem; }
.toc, .interests { border: 1px solid var(--rf-border-strong); border-radius: var(--rf-radius-md); background: var(--rf-bg-elev); padding: 0.4rem 1rem; margin: 1rem 0; }
.toc summary, .interests summary { cursor: pointer; font-weight: 700; padding: 0.5rem 0; }
.toc nav ul { padding-left: 1.2rem; margin: 0.3rem 0; }
.body { overflow-wrap: anywhere; }
.body p, .body ul, .body ol, .body blockquote, .body pre { margin-block: 0 1.5em; }
.body li + li { margin-top: 0.4em; }
.body h2 .header-link, .body h3 .header-link, .body h4 .header-link { margin-left: 0.4rem; text-decoration: none; opacity: 0; }
.body h2:hover .header-link, .body h3:hover .header-link, .body h4:hover .header-link, .header-link:focus { opacity: 1; }
.header-link::before { content: "#"; }
.body img, .body video { border-radius: var(--rf-radius-sm); }
.body figure { margin: 1.2rem 0; }
.body table { border-collapse: collapse; display: block; overflow-x: auto; max-width: 100%; }
.body th, .body td { border: 1px solid var(--rf-border-strong); padding: 0.35rem 0.7rem; }
.body blockquote { margin: 1rem 0; padding: 0.1rem 1rem; border-left: 4px solid var(--rf-border-strong); color: var(--rf-fg-muted); }
.body code { font-family: var(--rf-font-mono); font-size: 0.95em; background: var(--rf-bg-muted); padding: 0.1em 0.35em; border-radius: 4px; }
.code-block { position: relative; margin: 1.2rem 0; }
.code-block pre { margin: 0; padding: 3.4rem 1rem 1rem; overflow-x: auto; border-radius: var(--rf-radius-md); border: 1px solid var(--rf-border-strong); font-size: 0.95em; line-height: 1.6; tab-size: 4; }
.code-block pre code { background: none; padding: 0; font-size: inherit; }
.code-lang { position: absolute; left: 0.8rem; top: 0.75rem; font-size: 0.875rem; color: var(--rf-fg-muted); font-family: var(--rf-font-mono); }
.code-copy { position: absolute; right: 0.5rem; top: 0.3rem; font: inherit; font-size: 0.95rem; padding: 0.15rem 0.9rem; border: 1px solid var(--rf-border-strong); border-radius: var(--rf-radius-sm); background: var(--rf-bg-elev); color: var(--rf-fg); cursor: pointer; }
.code-copy:hover { background: var(--rf-primary-soft); }
.share { font: inherit; padding: 0.4rem 1.2rem; border: 1px solid var(--rf-primary); border-radius: var(--rf-radius-sm); background: var(--rf-bg-elev); color: var(--rf-primary); cursor: pointer; }
.share:hover { background: var(--rf-primary-soft); }
.share-small { padding: 0.25rem 0.9rem; font-size: 0.95rem; }
.tags-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; margin: 0 0 1rem; }
.tags-row .tags-name { font-weight: 700; }
.tags-row .taglist { margin: 0; }
.related h2, .onward h2 { font-size: 1.25rem; }
.onward ul { padding-left: 1.2rem; }
.brand-block { margin: 2.5rem 0 0; padding: 1rem 1.2rem; border: 1px solid var(--rf-border-strong); border-radius: var(--rf-radius-md); background: var(--rf-bg-muted); }
.brand-block h2 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.brand-block p { margin: 0.2rem 0; }
.brand-block .links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: 0.5rem; }
a.external::after { content: "↗"; font-size: 0.875em; margin-left: 0.15em; text-decoration: none; display: inline-block; }
.live { min-height: 1.4rem; font-size: 0.95rem; color: var(--rf-fg-muted); }

/* ---- the search page */
.search-box label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.search-box input[type="search"] { min-width: 0; width: 100%; max-width: 30rem; font: inherit; padding: 0.55rem 0.8rem; border: 1px solid var(--rf-border-strong); border-radius: var(--rf-radius-sm); background: var(--rf-bg-elev); color: var(--rf-fg); }
.search-note { color: var(--rf-fg-muted); }
.search-results { margin-top: 1.5rem; }
.search-results .excerpt { color: var(--rf-fg-muted); font-size: 0.95rem; }
.no-js-only { display: block; }
html[data-js] .no-js-only { display: none; }

@media (max-width: 40rem) {
  .site-header .bar { gap: 0.4rem 1rem; }
  .brand { margin-right: 0; width: 100%; }
}
@media print { .site-header, .site-footer, .share, .code-copy, .skip-link { display: none; } }

.text-center { text-align: center; }

.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }

/* ---- roles, interests, the home's search (RFC 012) */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: 1.5rem 0; }
.button { display: inline-flex; align-items: center; padding: 0.6rem 1.2rem; border-radius: var(--rf-radius-sm); background: var(--rf-primary); color: var(--rf-primary-fg); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--rf-primary-hover); }
.home-search { margin: 1.5rem 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.home-search label { font-weight: 700; }
.home-search input[type="search"] { flex: 1 1 14rem; min-width: 0; max-width: 28rem; font: inherit; padding: 0.5rem 0.8rem; border: 1px solid var(--rf-border-strong); border-radius: var(--rf-radius-sm); background: var(--rf-bg-elev); color: var(--rf-fg); }
.home-search button, .search-box button { font: inherit; padding: 0.5rem 1rem; border: 1px solid var(--rf-primary); border-radius: var(--rf-radius-sm); background: var(--rf-primary); color: var(--rf-primary-fg); cursor: pointer; }

/* ---- controls (RFC 014 §5): outside running text, every control is at least 44 x 44 CSS pixels (the larger of 2.75rem and 44px, so a larger text size
   makes them larger), with at least 8 CSS pixels between neighbours. The cards and the entries are far larger already. tools/move/reading-checks.py measures
   these in a browser; the list of what it measures is there. */
.brand, .site-header nav a, .settings summary, .settings-panel .lang a, fieldset.setting label, .setting select, .lang-pick select, .site-footer a, .crumbs a, .pager a, .pager [aria-current], .code-copy, .share, .button, .actions a, .brand-block .links a,
.taglist a, .place, .series-bar a, .skip-link, .post-line a, .home-search button, .home-search input, .search-box button, .search-box input,
.toc summary, .interests summary, .views a { min-height: max(2.75rem, 44px); }
.brand, .site-header nav a, .site-footer a, .crumbs a, .code-copy, .share, .brand-block .links a, .series-bar a, .post-line a, .actions a, .skip-link {
  display: inline-flex; align-items: center; }
.site-header nav a, .site-footer a, .pager a, .pager [aria-current], .code-copy, .share, .button, .actions a, .brand-block .links a, .taglist a, .place, .series-bar a,
.home-search button, .search-box button, .skip-link, .post-line a, .crumbs a, .views a { min-width: max(2.75rem, 44px); }
.site-header nav a, .site-footer a, .crumbs a, .series-bar a, .post-line a { padding-block: 0; }
.home-search button, .search-box button { min-width: max(2.75rem, 44px); }
.header-link { display: inline-block; min-width: 1.5rem; }

/* ---- the reader's settings (RFC 014 §1, §2.4, §5) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card:hover, .card:focus-within { transform: none; box-shadow: none; }
  .card:hover .card-arrow, .card:focus-within .card-arrow { left: 0; }
}
/* the system's own colours: nothing here overrides them, and nothing is said by a background colour alone */
@media (forced-colors: active) {
  .card, .series-bar, .brand-block, .plain-note, .toc, .interests { border: 1px solid CanvasText; }
  .entry { border-top: 1px solid CanvasText; }
  .card:hover { border-color: Highlight; }
  .entry-link:focus-visible::after, .card-link:focus-visible { outline-color: Highlight; }
  .card:hover, .card:focus-within { box-shadow: none; }
  .band { border: 1px solid CanvasText; }
  .taglist a, .pager a, .pager [aria-current], .button, .share, .code-copy, .settings summary, .settings-panel .lang a, fieldset.setting label, .setting select, .lang-pick select, .views a { border: 1px solid ButtonText; }
  .pager [aria-current], .views [aria-current] { border-width: 3px; font-weight: 700; text-decoration: underline; }
  .plain-note { border-left-width: 4px; }
  .site-header nav a[aria-current] { text-decoration: underline; }
}

/* ---- the reading settings (RFC 015 §1): data/settings.yaml lists them; settings.js sets `data-<setting>` on <html> before the first paint, and these rules
   do the rest, so nothing flashes or shifts after the page appears. Every value that is not the default has its rule here or in palettes.css (the build
   refuses one that has none). */
:root[data-size="large"] { font-size: 125%; }
:root[data-size="larger"] { font-size: 150%; }
:root[data-wrap="on"] .code-block pre { white-space: pre-wrap; overflow-wrap: anywhere; }
/* the contents of a post are a native details, closed unless the reader chose otherwise; with the setting on, or without a script, they are shown open (the
   word "Contents" stays, but its marker and its pointer say nothing that is not true) */
:root[data-contents="on"] .toc::details-content, :root:not([data-js]) .toc::details-content { content-visibility: visible; }
:root[data-contents="on"] .toc summary, :root:not([data-js]) .toc summary { list-style: none; cursor: default; }
:root[data-contents="on"] .toc summary::-webkit-details-marker, :root:not([data-js]) .toc summary::-webkit-details-marker { display: none; }

/* ---- emphasis by what it means, the same in every language (RFC 015 §7): bold, never italic or oblique */
em, strong, dfn { font-style: normal; font-weight: 700; }
i, cite, var, address { font-style: normal; font-weight: 400; }
