/* The journal of a saved world (docs/JOURNAL.md): a page of the Living Plate family.
   The atlas's paper and ink (docs/ATLAS.md), its text face and its ruled borders; charts
   in the chart maker's engraved manner. Phone first.

   Two manners, and they are unmistakably different (docs/JOURNAL.md, "Light and dark"):
   paper by day, and a dark page with warm light ink, which is the plain page's dark set
   (dashboard/dash.css) so that one switch means one thing on both. */

@font-face { font-family: "Plate Text"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/plate-text.woff2) format("woff2"); }
@font-face { font-family: "Plate Text"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/plate-text-italic.woff2) format("woff2"); }
@font-face { font-family: "Plate Script"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/plate-script.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --bg: #f0e5ca;          /* the atlas plate's paper, inside its frame (T-117: as the plate is
                             drawn, docs/media/T-054/plate-random-21.jpg, not paler) */
  --edge: #e3d0a9;        /* the same paper outside the frame, where it has toned darker */
  --tone: rgba(176, 134, 74, 0.2);   /* the toning toward a sheet's edges */
  --grain: 0.5;           /* how much the paper's grain shows on the sheet */
  --surface: #f0e5ca;
  --slip: #f8f0dc;        /* a slip laid on the page: read-outs */
  --ink: #2c1f18;         /* the atlas's ink */
  --ink-2: #4f4035;
  --muted: #625348;
  --grid: #dccfb4;
  --axis: #b9a98d;
  --rule: #cdbf9f;
  --other: #c9bda3;       /* "all other groups": bare paper, a shade down */
  --tint: #e6dcc3;        /* one series alone: a pale ground under its hatching */
  --wash: rgba(44, 31, 24, 0.07);
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100;
  --s5: #e87ba4; --s6: #008300; --s7: #6250d6; --s8: #e34948;
  --dim: none;            /* a picture drawn on paper, as it sits in this manner */
  --serif: "Plate Text", Baskerville, "Libre Baskerville", Georgia, serif;
  --script: "Plate Script", "Snell Roundhand", cursive;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #221d19; --edge: #171310; --tone: rgba(0, 0, 0, 0.42); --grain: 0.4; --surface: #2a241f; --slip: #342c26; --ink: #efe6d2; --ink-2: #cdbfa6; --muted: #a29380;
    --grid: #39312a; --axis: #4d443a; --rule: #3f362e; --other: #6f6457; --tint: #3b332b; --wash: rgba(239, 230, 210, 0.07);
    --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
    --s5: #d55181; --s6: #0ca30c; --s7: #9085e9; --s8: #e66767;
    --dim: brightness(0.8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #221d19; --edge: #171310; --tone: rgba(0, 0, 0, 0.42); --grain: 0.4; --surface: #2a241f; --slip: #342c26; --ink: #efe6d2; --ink-2: #cdbfa6; --muted: #a29380;
  --grid: #39312a; --axis: #4d443a; --rule: #3f362e; --other: #6f6457; --tint: #3b332b; --wash: rgba(239, 230, 210, 0.07);
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
  --s5: #d55181; --s6: #0ca30c; --s7: #9085e9; --s8: #e66767;
  --dim: brightness(0.8);
}

* { box-sizing: border-box; }
/* ---- the sheet (T-117). The page is one sheet of the atlas: its paper toned darker toward
   the edges and grained, and inside a margin the plate's ruled frame, a heavy rule with a
   hairline inside it, round everything. Outside the frame the paper is the darker --edge;
   by lamplight the same sheet, its edges falling into the dark. The grain is a small tile
   of noise, drawn once. */
html { -webkit-text-size-adjust: 100%; background: var(--edge); }
body { margin: 0; color: var(--ink); font: 17px/1.58 var(--serif); padding: 8px 5px 20px;
  background: var(--edge) var(--grain-tile) repeat; background-size: 180px 180px; min-height: 100vh; }
:root { --grain-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .16 0 0 0 .6 -.17'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E"); }
main { position: relative; isolation: isolate; max-width: 700px; margin: 0 auto; padding: 8px 14px 40px;
  background: var(--bg); border: 1.5px solid var(--ink-2); outline: 0.75px solid var(--ink-2); outline-offset: -5px;
  box-shadow: inset 0 0 42px 4px var(--tone); }
/* The grain over the sheet itself, under its words: below everything in the sheet, which is a
   layer of its own (isolation), so no part of the page makes a layer that a figure opened to
   the whole screen could be painted under. */
main::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--grain-tile) repeat; background-size: 180px 180px; opacity: var(--grain); mix-blend-mode: multiply; }
:root[data-theme="dark"] main::before { mix-blend-mode: screen; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) main::before { mix-blend-mode: screen; } }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
p { margin: 0 0 12px; text-wrap: pretty; }
i, em { font-style: italic; }
b { font-weight: 400; }

/* ---- the top: the site's name, which is the one way out of the page, and the lamp */
.top { display: flex; justify-content: space-between; align-items: center; min-height: 40px; margin: 0 -8px 0 0; color: var(--ink-2); }
.home { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; padding: 10px 10px 10px 0; }

/* ---- the title, as an atlas plate is titled (T-117): the name in spaced capitals, a line
   in script beneath it, then the summary under a short rule; and the plate's double rule,
   heavy over a hairline, across the sheet to close it. No box within the frame. */
.titlepage { text-align: center; margin: 14px 0 20px; padding: 0 4px 16px; border-bottom: 3px double var(--ink-2); }
h1 { font-weight: 400; font-size: 23px; line-height: 1.3; letter-spacing: 0.24em; text-transform: uppercase; margin: 0 0 0 0.24em; text-wrap: balance; }
h1 .small { display: block; font-size: 13px; letter-spacing: 0.2em; color: var(--ink-2); margin-bottom: 6px; }
h1 .name { font-style: italic; text-transform: none; letter-spacing: 0.02em; overflow-wrap: anywhere; font-size: 27px; }
.titlepage .script { font-family: var(--script); font-size: 23px; line-height: 1.3; margin: 4px 0 0; color: var(--ink); }
.titlepage .script .n { font-variant-numeric: normal; }
.titlepage .byline { font-size: 13.5px; line-height: 1.45; margin: 8px auto 0; max-width: 28em; color: var(--ink-2); font-style: italic; }
.titlepage .byline a { color: inherit; }
.summary { font-size: 16px; line-height: 1.5; margin: 12px auto 0; max-width: 30em; padding-top: 12px; position: relative; text-wrap: balance; }
.summary::before { content: ""; position: absolute; top: 0; left: 50%; width: 84px; margin-left: -42px; border-top: 1px solid var(--ink-2); }
.notice { border-top: 1px solid var(--ink-2); border-bottom: 1px solid var(--ink-2); padding: 8px 2px; margin: 0 0 -1px; font-size: 15.5px; line-height: 1.45; }
.notice b { letter-spacing: 0.1em; text-transform: uppercase; font-size: 12.5px; }
#notices:not(:empty) { margin-bottom: 18px; }

/* ---- figures. What a figure is belongs to living/living.css (T-102), fetched as one comes
   near. Here is only its place in the column and its caption, so nothing moves when that
   arrives; and the stand-in (a picture that is just there) until it does. */
figure { margin: 0; }
figure.living { margin: 6px auto 16px; text-align: center; }
figure.living.body { max-width: 380px; }
figure.living figcaption, figure.history figcaption { font-size: 14px; font-style: italic; line-height: 1.4; color: var(--ink-2); margin-top: 8px; text-wrap: balance; }
figure.living figcaption i { font-style: normal; }
/* The key to the drawing's tags, in the atlas plate's form (T-117; docs/ATLAS.md): the letter
   in italic with its full stop, the kind's engraved sign (drawn by living/living.js), its
   name in roman, and the measure in italics. The measure is written whole and closed up
   (.whole, .short); the figure's script shows the widest that costs no extra line
   (data-close 0 to 3: "144 cells, 77% of volume", "144 cells, 77%", "144 · 77%", "77%"), and
   without it "144 · 77%" stands. */
figure.living figcaption .tags { display: block; font-style: normal; color: var(--ink); margin-bottom: 2px; text-wrap: wrap; }
figure.living figcaption .tag { white-space: nowrap; }
figure.living figcaption .tag + .tag { margin-left: 0.7em; }
figure.living figcaption .tags i.l { font-style: italic; margin-right: 0.28em; }
figure.living figcaption .tags .sign { display: inline-block; width: 17px; height: 17px; vertical-align: -4px; margin: -2px 0.3em -2px 0; }
figure.living figcaption .tags .sign canvas { display: block; width: 100%; height: 100%; }
figure.living figcaption .tags .m { font-style: italic; font-size: 0.88em; color: var(--ink-2); margin-left: 0.35em; }
figure.living figcaption .tags .m .whole, figure.living figcaption .tags[data-close="0"] .m .short, figure.living figcaption .tags[data-close="1"] .m .short { display: none; }
figure.living figcaption .tags[data-close="0"] .m .whole, figure.living figcaption .tags[data-close="1"] .m .whole { display: inline; }
figure.living figcaption .tags[data-close="1"] .m .of, figure.living figcaption .tags[data-close="3"] .m .c { display: none; }
figure.living[data-standin] .sheet { border: 1.5px solid var(--ink-2); outline: 0.75px solid var(--ink-2); outline-offset: 2.5px; margin: 4px; background: #ebe0c6; }
figure.living[data-standin] img { display: block; width: 100%; height: auto; filter: var(--dim); }

/* ---- the account, the portraits, the questions */
.n { font-variant-numeric: lining-nums; white-space: nowrap; }
.id { font-variant-numeric: lining-nums; white-space: nowrap; }
section.part { margin: 34px 0 0; }
section#account { margin-top: 0; }
/* Heads as the plate's key heads them (CELL TYPES, MEASURED): spaced capitals with a hairline
   running out to the frame. An inhabitant is titled as a plate is: its name in spaced
   capitals, and its Latin name in script beneath. */
h2 { font-weight: 400; font-size: 13px; line-height: 1.35; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
h2::after { content: ""; flex: 1; min-width: 16px; border-top: 1px solid var(--ink-2); opacity: 0.6; }
h3 { font-weight: 400; font-size: 18px; line-height: 1.3; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 2px 0.22em; text-align: center; text-wrap: balance; }
h4 { font-weight: 400; font-style: italic; font-size: 16.5px; line-height: 1.3; margin: 18px 0 6px; }
.latin { text-align: center; font-family: var(--script); font-size: 23px; line-height: 1.25; color: var(--ink); margin: 0 0 8px; }
.latin i { font-style: normal; }
#account > p:first-of-type::first-letter { font-size: 3.05em; line-height: 0.82; float: left; padding: 5px 6px 0 0; }
article.who { margin: 0 0 30px; }
article.who + article.who { border-top: 1px solid var(--rule); padding-top: 26px; }
article.who h3 + p, article.who h3 + dl { margin-top: 10px; }


/* How many were alive, through the record: the chart maker's own drawing, put in the page
   by the builder (Charts.still) and woken by a touch. .plot is the drawing used when the
   builder has no Node to draw it with. */
figure.history { margin: 18px 0 4px; }
figure.history .plot { position: relative; }
figure.history .plot svg { display: block; width: 100%; height: 84px; overflow: visible; }
figure.history .plot .pen { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
figure.history .plot .wash { fill: var(--wash); stroke: none; }
figure.history .plot .base { fill: none; stroke: var(--ink-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
figure.history .plot .dot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ink); }
figure.history figcaption { text-align: center; }

/* ---- measurements: a table of a few lines, in place or folded under a portrait */
/* Measurements are set as the plate sets what it MEASURED: in italic, the names quieter
   than the numbers; under a portrait, folded under a head in spaced capitals with its
   hairline. */
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 3px 14px; margin: 6px 0 0; font-size: 14.5px; line-height: 1.45; font-style: italic; }
dl.facts dt { color: var(--muted); max-width: 9.5em; }
dl.facts dd { margin: 0; font-variant-numeric: lining-nums; }
dl.facts dd i { font-style: normal; }
details > summary { cursor: pointer; -webkit-tap-highlight-color: transparent; }
details.more { margin: 4px 0 0; font-size: 14.5px; }
details.more > summary { padding: 9px 0; color: var(--ink); font-style: normal; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: ""; flex: none; width: 0; height: 0; border-left: 5px solid var(--ink-2); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; transition: transform 0.15s; }
details.more[open] > summary::before { transform: rotate(90deg); }
details.more > summary::after { content: ""; flex: 1; min-width: 16px; border-top: 1px solid var(--ink-2); opacity: 0.6; }
details.more[open] { padding-bottom: 6px; }

/* ---- the record: every measurement, each line folded until it is opened */
.say { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; margin: 4px 0 10px; }
details.rec { border-top: 1px solid var(--rule); }
details.rec:last-of-type { border-bottom: 1px solid var(--rule); }
details.rec > summary { padding: 13px 0; font-size: 16.5px; }
details.rec > .in { padding: 0 0 18px; }

/* ---- the dial */
.dial { margin: 10px 0 4px; }
.dial label { display: block; font-size: 14.5px; font-style: italic; color: var(--ink-2); }
.dial label b { font-style: normal; font-size: 16px; color: var(--ink); }
.dial input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 6px 0 0; background: transparent; }
.dial input[type=range]::-webkit-slider-runnable-track { height: 1px; background: var(--ink); }
.dial input[type=range]::-moz-range-track { height: 1px; background: var(--ink); }
.dial input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--slip); border: 1.5px solid var(--ink); box-shadow: inset 0 0 0 3px var(--slip), inset 0 0 0 10px var(--ink); }
.dial input[type=range]:focus { outline: none; }
.dial input[type=range]:focus-visible { outline: 1px dotted var(--ink); outline-offset: 2px; }
.dial input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid var(--slip); outline: 1.5px solid var(--ink); }
.ticks, .ends { padding: 0 10px; }
.ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.ticks span { width: 0; display: flex; justify-content: center; white-space: nowrap; }
.ends { display: flex; justify-content: space-between; font-size: 12px; font-style: italic; color: var(--muted); margin-top: 2px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 6px 16px; margin: 12px 0 6px; }
.stat { border-top: 1px solid var(--rule); padding-top: 4px; }
.stat b { display: block; font-size: 22px; line-height: 1.2; font-variant-numeric: lining-nums; }
.stat > span { font-size: 13px; color: var(--muted); line-height: 1.3; display: block; font-style: italic; }
.stat > span .n { font-style: normal; }

/* ---- charts, in the engraved manner (dashboard/charts.js)
   The ink tells series apart: hatch, dash, shape, label. The colour is only a tint laid
   under it, as thin as it can be and still read as a colour on a phone in daylight; how
   thin is chosen for each ground (docs/JOURNAL.md, "Charts"; held by scripts/engraving.mjs). */
:root { --tint-strength: 0.32; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --tint-strength: 0.3; } }
:root[data-theme="dark"] { --tint-strength: 0.3; }
.chart { position: relative; margin: 8px 0 2px; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.chart > svg { display: block; width: 100%; overflow: visible; }
.chart .grid { stroke: var(--axis); stroke-width: 0.8; stroke-dasharray: 1 3.5; }
.chart .axis { stroke: var(--ink); stroke-width: 1; fill: none; stroke-linecap: round; }
.chart text { font-family: var(--serif); fill: var(--ink-2); font-size: 11.5px; font-variant-numeric: lining-nums tabular-nums; }
.chart text.label { fill: var(--ink); font-size: 12.5px; font-style: italic; }
.chart text.title { fill: var(--ink); font-size: 12.5px; font-style: italic; }
.chart .line { fill: none; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .pen { fill: var(--ink); }
.wash { fill-opacity: var(--tint-strength); }
.hatch { stroke: var(--ink); stroke-width: 0.75; stroke-opacity: 0.6; stroke-linecap: square; }
.hatch .stip { fill: var(--ink); fill-opacity: 0.62; stroke: none; }
.chart .edge, .sw .edge { fill: none; stroke: var(--ink); stroke-width: 0.9; stroke-linejoin: round; }
.chart .tone { fill: var(--ink); }
.chart .edot { stroke: var(--ink); stroke-width: 0.8; }
.chart .edot.open { fill: none; stroke-opacity: 0.5; }
.sw .edot { stroke: var(--ink); stroke-width: 0.8; }
.sw .edot.open { fill: none; stroke-opacity: 0.6; }
.chart .cross { stroke: var(--ink); stroke-width: 0.8; stroke-dasharray: 4 2; }
.chart .band { fill: var(--wash); }
.chart .mark { stroke: var(--ink); stroke-width: 1; }
.chart .hl { fill: var(--wash); }
.chart .ring.point { fill: var(--bg); stroke: var(--ink); stroke-width: 1.4; }
.chart.still { max-width: 420px; margin-left: auto; margin-right: auto; }
.chart.still > svg { height: auto; }
.chart text.name { paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.tip { position: absolute; background: var(--slip); color: var(--ink); border: 1px solid var(--ink-2); border-radius: 1px; padding: 6px 9px; font-size: 13px; line-height: 1.35;
  box-shadow: 2px 3px 0 rgba(44, 31, 24, 0.13); z-index: 5; font-variant-numeric: lining-nums tabular-nums; }
.tip { pointer-events: none; min-width: 120px; max-width: 250px; }
.tip .h { font-style: italic; color: var(--ink-2); margin-bottom: 2px; }
.tip .r { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.tip .r .k { display: flex; gap: 6px; align-items: center; color: var(--ink-2); margin: 0; }
.tip span.sw { display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 0.8px solid var(--ink); flex: none; }
.key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 13.5px; font-style: italic; color: var(--ink-2); }
.key li { display: flex; align-items: center; gap: 6px; }
svg.sw { flex: none; display: inline-block; }
svg.sw.line { overflow: visible; }
svg.sw .line { fill: none; stroke-width: 1.5; }
/* ---- the rest of the record */
ul.made { margin: 6px 0 10px; padding-left: 1.2em; font-size: 14.5px; line-height: 1.5; }
ul.made li { margin: 2px 0; }
details.numbers { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
details.numbers summary { cursor: pointer; padding: 6px 0; font-style: italic; list-style: none; }
details.numbers summary::-webkit-details-marker { display: none; }
details.numbers summary::before { content: ""; display: inline-block; width: 0; height: 0; margin: 0 7px 1px 1px; border-left: 5px solid var(--ink-2); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; transition: transform 0.15s; }
details.numbers[open] summary::before { transform: rotate(90deg); }
.tablewrap { max-height: 320px; overflow: auto; border-top: 3px double var(--ink-2); border-bottom: 1px solid var(--ink-2); }
table.t { border-collapse: collapse; width: 100%; font-size: 12.5px; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
table.t th, table.t td { padding: 3px 8px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--grid); }
table.t th { position: sticky; top: 0; background: var(--bg); font-weight: 400; font-style: italic; color: var(--ink-2); border-bottom: 1px solid var(--ink-2); }
table.t th:first-child, table.t td:first-child { text-align: left; }
.kinds { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 10px; }
.kind { display: grid; grid-template-columns: 112px 1fr; gap: 14px; border-top: 1px solid var(--rule); padding-top: 12px; }
.kind.nopic { grid-template-columns: 1fr; }
.kind .pic { width: 108px; height: 108px; margin: 3px; border: 1.5px solid var(--ink-2); outline: 0.75px solid var(--ink-2); outline-offset: 2px; background: #ebe0c6; }
.kind .pic img { width: 100%; height: 100%; object-fit: contain; display: block; filter: var(--dim); }
.kind h4 { margin: 0 0 3px; font-style: normal; }
.kind h4 .gid { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.nm { font-style: italic; }
ol.feed { list-style: none; padding: 0; margin: 8px 0 0; }
ol.feed li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--grid); font-size: 14.5px; line-height: 1.45; }
ol.feed .d { color: var(--ink-2); font-size: 13px; font-style: italic; text-align: right; font-variant-numeric: lining-nums tabular-nums; padding-top: 1px; }
ol.feed .d .n { white-space: nowrap; font-style: normal; }  /* a stretch (day 1.1 to 5.0) wraps between its days, never inside one */
.more { font-size: 13px; font-style: italic; color: var(--muted); }
footer { margin-top: 40px; font-size: 13.5px; line-height: 1.5; font-style: italic; color: var(--muted); border-top: 3px double var(--ink-2); padding-top: 12px; text-align: center; text-wrap: balance; }

/* ---- the shelf: a list of worlds */
ul.shelf { list-style: none; padding: 0; margin: 0; }
ul.shelf li { display: grid; grid-template-columns: 88px 1fr; gap: 14px; border-top: 1px solid var(--rule); padding: 14px 0; }
ul.shelf .thumb { width: 84px; height: 84px; margin: 3px; border: 1.5px solid var(--ink-2); outline: 0.75px solid var(--ink-2); outline-offset: 2px; background: #ebe0c6; display: block; }
ul.shelf span.thumb { visibility: hidden; }
ul.shelf .thumb img { width: 100%; height: 100%; display: block; object-fit: cover; filter: var(--dim); }
ul.shelf li:first-child { border-top: 0; }
ul.shelf .t { font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; display: block; line-height: 1.25; }
ul.shelf .t .name { font-style: italic; text-transform: none; letter-spacing: 0; }
ul.shelf .q { display: block; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; margin: 3px 0; }
ul.shelf .q .n { text-decoration: none; cursor: auto; }
ul.shelf .w { display: block; color: var(--ink-2); font-size: 13px; font-style: italic; margin-top: 2px; }
ul.shelf li.none { display: block; color: var(--ink-2); font-style: italic; }
main.journals .back { text-align: center; margin: 22px 0 0; font-size: 14.5px; }
main.journals .back a { color: var(--ink-2); }

@media (min-width: 720px) {
  body { padding: 28px 24px 40px; }
  main { max-width: 740px; padding: 26px 46px 48px; outline-offset: -7px; box-shadow: inset 0 0 70px 8px var(--tone); }
  .titlepage { padding: 6px 40px 20px; }
  h1 { font-size: 29px; }
  h1 .name { font-size: 34px; }
  .titlepage .script { font-size: 27px; }
  figure.living.body { max-width: 420px; }
}
