@font-face { font-family: "Libron"; src: url("fonts/Libron-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libron"; src: url("fonts/Libron-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libron"; src: url("fonts/Libron-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Libron"; src: url("fonts/Libron-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* Tokens, light first. Dark follows the system and changes colors only. */
:root {
  color-scheme: light;
  --paper: #FAF9F4; --paper-2: #F0EEE6;
  --ink: #1C1B18; --ink-2: #645F55;
  --rule: #D4D0C5; --rule-strong: #1C1B18;
  --rubric: #9A2A1F; --rubric-soft: #F2E2DE;
  --cover-ink: #F3EFE4;
  --cloth-1: #2F4A3E; --cloth-2: #5B2B2B; --cloth-3: #28374F; --cloth-4: #6E6134; --cloth-5: #4A3B5C;
  --font-text: "Libron", "Newsreader", Georgia, "Times New Roman", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-0: 12px; --fs-1: 14px; --fs-2: 17px; --fs-3: 21px; --fs-4: 27px; --fs-5: 34px; --fs-6: 44px;
}
/* System follows the device; a contributor's Light or Dark setting puts
   data-theme on the html element and wins over it. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #1B1A17; --paper-2: #242320;
    --ink: #E7E3D9; --ink-2: #A59F93;
    --rule: #3B3934; --rule-strong: #E7E3D9;
    --rubric: #DA7265; --rubric-soft: #3A2521;
    --cloth-1: #395A4B; --cloth-2: #6B3434; --cloth-3: #32445F; --cloth-4: #7A6C3C; --cloth-5: #56466B;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1B1A17; --paper-2: #242320;
  --ink: #E7E3D9; --ink-2: #A59F93;
  --rule: #3B3934; --rule-strong: #E7E3D9;
  --rubric: #DA7265; --rubric-soft: #3A2521;
  --cloth-1: #395A4B; --cloth-2: #6B3434; --cloth-3: #32445F; --cloth-4: #7A6C3C; --cloth-5: #56466B;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-text); font-size: var(--fs-2); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--rubric); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.15; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--rubric); outline-offset: 2px; }

.sc { font-variant-caps: all-small-caps; letter-spacing: .08em; }
.mono { font-family: var(--font-mono); font-size: .86em; }
.muted { color: var(--ink-2); }
.rubric { color: var(--rubric); }
.ital { font-style: italic; }
.small { font-size: var(--fs-1); }
.inline { display: inline-flex; gap: 6px; align-items: center; }
.center { align-items: center; }
.measure { max-width: 62ch; }
.measure p + p { margin-top: .6em; }
.narrow { max-width: 460px; }
.fs-2 { font-size: var(--fs-2); }
.fs-3 { font-size: var(--fs-3); line-height: 1.3; }
.fs-4 { font-size: var(--fs-4); line-height: 1.2; }
.fs-5 { font-size: var(--fs-5); line-height: 1.15; }
.fs-6 { font-size: var(--fs-6); line-height: 1.1; }
.eyebrow { font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: var(--fs-1); color: var(--rubric); }
.help { font-size: var(--fs-0); color: var(--ink-2); }
.help a { color: var(--rubric); }
.flash, .notice { font-size: var(--fs-1); padding: 8px 12px; border-left: 2px solid var(--rubric); background: var(--rubric-soft); }

/* Page: a running head, the text block, a folio */
.page { max-width: 1160px; margin: 0 auto; padding: 26px 44px 30px; display: grid; gap: 34px; min-height: 100vh; grid-template-rows: auto 1fr auto; }
.main { display: grid; gap: 34px; align-content: start; min-width: 0; }
.main > * { min-width: 0; }
.runhead { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--rule-strong); flex-wrap: wrap; }
.brand { font-variant-caps: all-small-caps; letter-spacing: .12em; font-size: var(--fs-3); white-space: nowrap; }
.nav { display: flex; gap: 22px; align-items: center; font-size: var(--fs-1); font-variant-caps: all-small-caps; letter-spacing: .08em; }
.nav a.on { color: var(--rubric); border-bottom: 1px solid var(--rubric); }
.nav a.me { border-bottom: 0; line-height: 0; }
.nav a.me.on .av { outline: 2px solid var(--rubric); outline-offset: 1px; }
.menu-toggle, .menu-label { display: none; }
.bars { display: block; width: 18px; height: 11px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; position: relative; }
.bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid currentColor; transform: translateY(-50%); }
.menu-toggle:checked ~ .menu-label { color: var(--rubric); }
.folio { padding-top: 10px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-1); color: var(--ink-2); }
.folio .lang { display: flex; align-items: baseline; }
.folio .lang button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-2); font-size: var(--fs-1); }
.folio .lang button:hover { color: var(--rubric); }
.folio .lang button.on { color: var(--ink); }
.folio .lang button + button::before { content: "\00B7"; margin: 0 8px; color: var(--rule-strong); }

/* Layout inside the page */
.cols { display: grid; grid-template-columns: var(--c, 1fr 1fr); gap: 40px; align-items: start; }
.cols.three { --c: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cols.tight-cols { --c: 1fr 1fr; gap: 16px; }
.cols.featured { --c: 150px 1fr; gap: 28px; }
.cols > *, .stack > *, .stack-lg > * { min-width: 0; }
.stack { display: grid; gap: 12px; }
.stack-lg { display: grid; gap: 20px; }
.titlebar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.sect-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 6px; border-bottom: 1px solid var(--rule-strong); }
.sect-h h3 { font-size: var(--fs-3); }
.toc li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; font-size: var(--fs-2); }
.toc.small li { font-size: var(--fs-1); }
.toc .leader { flex: 1; border-bottom: 1px dotted var(--ink-2); min-width: 20px; transform: translateY(-5px); }
.toc .meta { color: var(--ink-2); font-size: var(--fs-1); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.toc .cover.thumb { width: 22px; align-self: center; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: var(--fs-1); margin: 0; }
.kv dt { color: var(--ink-2); font-variant-caps: all-small-caps; letter-spacing: .1em; }
.kv dd { margin: 0; }
.hl { display: grid; grid-template-columns: 100px 1fr; gap: 14px; align-items: start; }
.hl .ttl { font-size: var(--fs-2); }
.statline { display: flex; gap: 28px; flex-wrap: wrap; font-size: var(--fs-1); color: var(--ink-2); }
.statline b { font-weight: 400; color: var(--ink); font-size: var(--fs-3); font-variant-numeric: tabular-nums; margin-right: 6px; }
.people { display: flex; gap: 14px 18px; flex-wrap: wrap; align-items: center; }
.people a { display: inline-flex; gap: 8px; align-items: center; }
.profile-head { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.paging { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-1); }

/* Pieces */
.av { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); display: inline-grid; place-items: center; font-size: 11px; font-variant-caps: all-small-caps; letter-spacing: .04em; flex: none; object-fit: cover; vertical-align: middle; }
.av.lg { width: 84px; height: 84px; font-size: 30px; }
.av.sm { width: 22px; height: 22px; font-size: 9px; }
.av[title] { cursor: default; }
.avs { display: inline-flex; gap: 3px; flex-wrap: wrap; vertical-align: middle; }
.av-link { display: inline-flex; flex: none; border-radius: 50%; vertical-align: middle; }
.av-link .av[title] { cursor: pointer; }
.av-link:hover .av { outline: 2px solid var(--rubric); outline-offset: 1px; }
.cover { aspect-ratio: 2 / 3; width: 100%; background: var(--cloth-1); color: var(--cover-ink); position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 14% 12%; container-type: inline-size; box-shadow: inset 7px 0 0 rgba(0,0,0,.22), 0 1px 2px rgba(0,0,0,.25); object-fit: cover; }
span.cover::before { content: ""; position: absolute; inset: 7% 9%; border: 1px solid rgba(243,239,228,.4); outline: 1px solid rgba(243,239,228,.4); outline-offset: 3px; pointer-events: none; }
.cover .t { font-size: max(12px, 11cqi); line-height: 1.1; text-wrap: balance; }
.cover .a { font-variant-caps: all-small-caps; letter-spacing: .12em; font-size: max(8px, 7.5cqi); opacity: .9; }
.cover.thumb { width: 34px; flex: none; padding: 0; display: grid; place-items: center; justify-content: center; box-shadow: inset 3px 0 0 rgba(0,0,0,.22), 0 1px 1px rgba(0,0,0,.25); container-type: normal; }
span.cover.thumb::before { inset: 9% 12%; outline: none; }
.cover.thumb .t { font-size: 15px; line-height: 1; }
.cover.featured-thumb { display: none; }
.cover.small { max-width: 200px; }
.cover.featured { max-width: 150px; }
.cover.full { max-width: 280px; }
.cover.c2 { background: var(--cloth-2); } .cover.c3 { background: var(--cloth-3); } .cover.c4 { background: var(--cloth-4); } .cover.c5 { background: var(--cloth-5); }
img.cover { padding: 0; }
.tcell { display: flex; gap: 12px; align-items: center; }
.tag { display: inline-block; font-size: var(--fs-0); font-variant-caps: all-small-caps; letter-spacing: .1em; border: 1px solid var(--rule); border-radius: 2px; padding: 0 7px; line-height: 20px; color: var(--ink-2); white-space: nowrap; }
a.tag:hover { color: var(--rubric); border-color: var(--rubric); }
.tag.lang { border-color: transparent; background: var(--paper-2); color: var(--ink); }
.tag.lock { border-style: dashed; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.shelf { font-variant-caps: all-small-caps; letter-spacing: .1em; border-bottom: 1px dotted var(--ink-2); white-space: nowrap; }
.shelf:hover { color: var(--rubric); border-bottom-color: var(--rubric); }
.members { border-left: 2px solid var(--rubric); padding-left: 16px; }
/* Shelves as a bookcase: short planks stacked, one spine per book, the name under each plank, no count. */
.bookcase { display: grid; gap: 16px; }
.shelfcard { display: grid; gap: 5px; justify-items: start; min-width: 0; }
.shelfcard .plank { display: flex; align-items: flex-end; gap: 2px; height: 40px; width: 100%; padding: 0 4px; border-bottom: 2px solid var(--rule-strong); overflow: hidden; }
.shelfcard .plank i { display: block; flex: none; background: var(--cloth-1); box-shadow: inset 1px 0 0 rgba(0,0,0,.18); }
.shelfcard .plank .c2 { background: var(--cloth-2); } .shelfcard .plank .c3 { background: var(--cloth-3); }
.shelfcard .plank .c4 { background: var(--cloth-4); } .shelfcard .plank .c5 { background: var(--cloth-5); }
.shelfcard .plank .ink { background: var(--ink-2); }
.shelfcard .plank .pale { background: var(--paper-2); box-shadow: inset 1px 0 0 var(--rule), inset -1px 0 0 var(--rule); }
.shelfcard .shelf { font-size: var(--fs-1); white-space: normal; line-height: 1.3; }
.shelfcard:hover .plank { border-color: var(--rubric); }
.shelfcard:hover .shelf { color: var(--rubric); border-bottom-color: var(--rubric); }
.mark { color: var(--rubric); font-weight: 700; }
.mark.off { color: var(--rule); font-weight: 400; }
.rating { display: inline-flex; gap: 1px; vertical-align: -1px; }
.rating svg { width: 11px; height: 11px; fill: var(--rubric); stroke: var(--rubric); stroke-width: 1.2; }
.r0 svg, .r1 svg:nth-child(n+2), .r2 svg:nth-child(n+3), .r3 svg:nth-child(n+4), .r4 svg:nth-child(n+5),
.r0 button svg, .r1 button:nth-child(n+2) svg, .r2 button:nth-child(n+3) svg, .r3 button:nth-child(n+4) svg, .r4 button:nth-child(n+5) svg { fill: none; stroke: var(--ink-2); opacity: .6; }
.rating.lg svg { width: 18px; height: 18px; }
.rate { display: inline-block; }
.rate button { background: none; border: 0; padding: 2px; margin: 0; cursor: pointer; line-height: 0; }
.rate button svg { width: 14px; height: 14px; }
.rate .rating { gap: 0; }
.rate .rating:hover button svg { fill: var(--rubric); stroke: var(--rubric); opacity: 1; }
.rate .rating button:hover ~ button svg { fill: none; stroke: var(--ink-2); opacity: .6; }
.btn { font-size: var(--fs-1); font-variant-caps: all-small-caps; letter-spacing: .1em; padding: 7px 16px; border: 1px solid var(--rule-strong); background: var(--ink); color: var(--paper); border-radius: 2px; cursor: pointer; line-height: 1.3; display: inline-block; }
.btn:hover { color: var(--paper); background: var(--rubric); border-color: var(--rubric); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: transparent; color: var(--rubric); }
.btn.quiet { border-color: transparent; background: transparent; color: var(--rubric); padding-inline: 0; }
.btn.quiet:hover { background: transparent; }
.btn.quiet.muted { color: var(--ink-2); }
.btn.sm { padding: 4px 10px; font-size: var(--fs-0); }
.btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btns.tight { gap: 6px; justify-content: center; flex-wrap: nowrap; }
.field { display: grid; gap: 5px; }
.field > label, .field > .lbl { font-size: var(--fs-0); font-variant-caps: all-small-caps; letter-spacing: .12em; color: var(--ink-2); }
.input { font-size: var(--fs-1); padding: 7px 10px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); border-radius: 2px; width: 100%; min-height: 36px; }
textarea.input { min-height: 88px; resize: vertical; line-height: 1.45; }
textarea.input.short { min-height: 60px; }
input[type=file].input { padding: 5px 10px; font-size: var(--fs-0); }
.checks { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--fs-1); color: var(--ink); padding-top: 6px; }
.check-row { display: flex; gap: 10px; align-items: baseline; font-size: var(--fs-1); }

/* Titles: one row per language on the form, a two-column list on the entry */
.tedit { display: grid; gap: 8px; }
.tedit .row { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto 64px; gap: 10px; align-items: center; }
.tedit .row.head { font-size: var(--fs-0); font-variant-caps: all-small-caps; letter-spacing: .12em; color: var(--ink-2); }
.tedit .btn.quiet:disabled { color: var(--ink-2); opacity: .5; cursor: default; }
.radio { display: inline-flex; gap: 6px; align-items: center; font-size: var(--fs-1); white-space: nowrap; cursor: pointer; }
.radio input { accent-color: var(--rubric); margin: 0; }
.default-submit { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }
.orig { font-size: var(--fs-1); color: var(--ink-2); }
.orig .t { color: var(--ink); }
.titles { border-collapse: collapse; font-size: var(--fs-1); }
.titles td { padding: 4px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.titles tr:first-child td { padding-top: 0; }
.titles td:first-child { width: 1%; white-space: nowrap; padding-right: 14px; }

/* Theme: three radios drawn as one segmented rule */
.seg { display: inline-flex; width: max-content; border: 1px solid var(--rule-strong); border-radius: 2px; overflow: hidden; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 5px 16px; font-size: var(--fs-1); font-variant-caps: all-small-caps; letter-spacing: .1em; }
.seg label + label span { border-left: 1px solid var(--rule-strong); }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--rubric); outline-offset: -4px; }
details.help summary { cursor: pointer; color: var(--rubric); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--rubric); vertical-align: 1px; margin-right: 6px; }
.dot.on { background: var(--rubric); }
.dot.off { border-color: var(--ink-2); }
.dots { font-size: var(--fs-1); display: grid; gap: 6px; }
.deeplink { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: var(--fs-1); color: var(--ink-2); }
.deeplink .mono { color: var(--ink); background: var(--paper-2); padding: 2px 8px; border-radius: 2px; overflow-wrap: anywhere; }

/* Catalog table: booktabs rules, no vertical lines */
.cat { width: 100%; border-collapse: collapse; font-size: var(--fs-1); font-variant-numeric: tabular-nums; }
.cat th { text-align: left; font-weight: 400; font-variant-caps: all-small-caps; letter-spacing: .1em; color: var(--ink-2); padding: 8px 10px; border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); white-space: nowrap; }
.cat td { padding: 10px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cat tbody tr:last-child td { border-bottom: 2px solid var(--rule-strong); }
.cat tbody tr:hover td { background: var(--paper-2); }
.cat .ttl { font-size: var(--fs-2); line-height: 1.25; }
.cat .au { color: var(--ink-2); font-style: italic; }
.cat td.by, .cat td.rb { white-space: nowrap; }
.cat .num { text-align: right; white-space: nowrap; }
.cat .tab { font-variant-numeric: tabular-nums; }
.cat .n { color: var(--ink-2); font-size: var(--fs-0); }
.tablewrap { overflow-x: auto; }
.filters { display: grid; grid-template-columns: 1.6fr repeat(6, 1fr); gap: 12px; align-items: end; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: var(--fs-1); color: var(--ink-2); }
.chip { border: 1px solid var(--rule); border-radius: 2px; padding: 1px 8px; font-variant-caps: all-small-caps; letter-spacing: .08em; color: var(--ink); }
.chip .x { color: var(--rubric); margin-left: 6px; }

/* Readers and reviews on the entry page */
.readers { width: 100%; border-collapse: collapse; font-size: var(--fs-1); }
.readers td { padding: 7px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.readers tr:first-child td { border-top: 1px solid var(--rule-strong); }
.readers td.who { display: flex; gap: 10px; align-items: center; }
.readers td.c { text-align: center; width: 1%; white-space: nowrap; padding-inline: 10px; color: var(--ink-2); font-variant-caps: all-small-caps; letter-spacing: .08em; }
.readers td.c .mark { font-size: var(--fs-2); }
.readers tr.you td { background: var(--paper-2); }
.comment { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.comment.single { grid-template-columns: 1fr; }
.comment .by { display: flex; gap: 10px; align-items: baseline; font-size: var(--fs-1); }
.comment .by .when { color: var(--ink-2); font-size: var(--fs-0); }
.comment p { margin-top: 2px; }
.links li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-1); }
.links li > span:first-child { flex: none; }
.links .mono { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; text-align: right; }

/* Want-to-read list */
.wants li { display: grid; grid-template-columns: 26px 1fr auto; gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.wants li:first-child { border-top: 1px solid var(--rule-strong); }
.wants .ttl { font-size: var(--fs-3); line-height: 1.2; }
.wants .au { color: var(--ink-2); font-style: italic; margin-left: 8px; }
.wants .meta { font-size: var(--fs-1); color: var(--ink-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.want.done .ttl { text-decoration: line-through; text-decoration-color: var(--rubric); color: var(--ink-2); }
.tick { width: 24px; height: 24px; border: 1px solid var(--rule-strong); background: var(--paper); border-radius: 2px; display: grid; place-items: center; color: var(--rubric); font-weight: 700; font-size: 20px; line-height: 1; cursor: pointer; padding: 0; margin-top: 4px; }
.tick.on::before { content: "\00D7"; }

@media (prefers-reduced-motion: no-preference) { a, .btn, .tag { transition: color .12s, background-color .12s; } }

/* Phone: the table becomes a list, the nav folds behind Menu */
@media (max-width: 760px) {
  .page { padding: 20px 20px 24px; gap: 26px; }
  .cols, .cols.three, .cols.tight-cols { grid-template-columns: 1fr; gap: 24px; }
  .cols.featured { grid-template-columns: 1fr; gap: 0; }
  .cols.featured > .cover.featured { display: none; }
  span.cover.featured-thumb { display: grid; }
  img.cover.featured-thumb { display: block; width: 34px; }
  .toc li { flex-wrap: wrap; gap: 2px 10px; }
  .toc .leader { display: none; }
  .toc .meta { flex-basis: 100%; white-space: normal; padding-left: 0; }
  .toc .cover.thumb ~ .meta { padding-left: 32px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .wide { grid-column: 1 / -1; }
  .tedit .row { grid-template-columns: minmax(0, 1fr) auto 64px; }
  .tedit .row .ti { grid-column: 1 / -1; grid-row: 1; }
  .tedit .row.head { display: none; }
  .menu-label { display: inline-block; cursor: pointer; padding: 6px 0 6px 12px; }
  .nav { display: none; flex-basis: 100%; flex-wrap: wrap; gap: 10px 18px; padding-top: 8px; }
  .menu-toggle:checked ~ .nav { display: flex; }
  .fs-6 { font-size: var(--fs-5); }
  .cat thead { display: none; }
  .cat tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .cat td { display: block; border: 0; padding: 0; }
  .cat tbody tr:last-child td { border: 0; }
  .cat tbody tr:hover td { background: transparent; }
  .cat td:first-child { grid-column: 1 / -1; }
  .cat td.by, .cat td:nth-child(3), .cat td:nth-child(5) { display: none; }
  .cat td.num { text-align: left; }
  .readers td.c { padding-inline: 4px; }
  .btns.tight { flex-wrap: wrap; }
}
