@font-face {
  font-family: Instrument;
  src: url(./serif.woff2) format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Hanken;
  src: url(./sans.woff2) format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Hanken;
  src: url(./sans-medium.woff2) format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}
:root {
  --paper: #f8f6f0;
  --ink: #252722;
  --muted: #62635b;
  --hair: #d1d0c6;
  --deep: #394a41;
  --oxide: #9b4f38;
  --sans: Hanken, Arial, sans-serif;
  --serif: Instrument, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(20px, 4.8vw, 82px);
  font: 100%/1.45 var(--sans);
  background: var(--paper);
  color: var(--ink);
  scroll-padding-top: 20px;
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
input {
  touch-action: manipulation;
}
button,
input {
  font: inherit;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  color: inherit;
}
::selection {
  background: #e2c4a4;
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid #8a482e;
  outline-offset: 4px;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1,
h2,
.entry h3,
.plate-link,
.question > a {
  font-family: var(--serif);
  font-synthesis: none;
}
p {
  text-wrap: pretty;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  line-height: 0.98;
  letter-spacing: -0.043em;
  font-size: clamp(66px, 8.75vw, 139px);
}
h2 {
  font-size: clamp(41px, 5.1vw, 77px);
  line-height: 1;
  letter-spacing: -0.038em;
}
.wrap {
  width: min(100%, 1650px);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 15px;
  top: -100px;
  z-index: 10;
  background: var(--ink);
  padding: 10px 20px;
  color: white;
}
.skip:focus {
  top: 12px;
}
.mast-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mast-inner {
  min-height: 77px;
}
.mast {
  border-bottom: 1px solid var(--hair);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  letter-spacing: -0.063em;
  font-size: 27px;
  line-height: 1;
}
.sign {
  display: inline-flex;
  color: var(--ink);
}
.mast nav,
.footer-inner > div {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 49px);
}
.mast nav a,
.footer-inner > div a {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.mast nav a:hover,
.footer-inner > div a:hover,
.crumb a:hover,
.plate-link:hover,
.question > a:hover,
.index-field a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
.eyebrow,
.entry-meta,
.cover-legend,
.plot-top,
.chapter-no,
.stage-nav,
.field-cover > span {
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.085em;
  text-transform: uppercase;
}
.eyebrow {
  color: var(--muted);
}
.eyebrow span,
.field-cover i {
  color: #85857a;
  margin-inline: 7px;
}
.imprint {
  display: flex;
  align-items: center;
  gap: 10px;
}
.imprint b {
  width: 24px;
  height: 2px;
  background: var(--oxide);
}
.cover {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(28px, 4.5vw, 85px);
  padding-block: clamp(38px, 4.6vw, 82px) clamp(30px, 3.8vw, 60px);
  align-items: center;
}
.cover-copy {
  padding-block: 12px;
}
.cover h1 {
  font-size: clamp(86px, 9vw, 154px);
  line-height: 0.89;
  margin: clamp(21px, 2.25vw, 40px) 0 clamp(23px, 2.7vw, 41px);
  letter-spacing: -0.052em;
}
.cover-copy > p,
.field-copy > p,
.plate-head > p {
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.42;
  max-width: 37ch;
  color: #4a4d46;
}
.cover-copy > p {
  max-width: 32ch;
}
.cover-links {
  margin-top: clamp(26px, 3vw, 45px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  flex-wrap: wrap;
}
.action {
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
}
.action:hover {
  background: #455046;
}
.text-link {
  display: inline-block;
  border-bottom: 1px solid #a1a097;
  padding: 3px 0;
  font-size: 15px;
}
.text-link:hover {
  border-color: var(--ink);
}
.cover-plate,
.plot-frame,
.field-cover,
.specimen {
  background: var(--plate-color, #edf0e7);
  background: color-mix(in srgb, var(--pigment, #a0ada0) 17%, #f6f5eb);
}
.cover-plate {
  --pigment: #a0ada0;
  position: relative;
  overflow: hidden;
  border: 1px solid #c9cfc1;
}
.cover-legend,
.plot-top {
  display: flex;
  justify-content: space-between;
  color: #4c5349;
  padding: 16px 21px 0;
}
.cover-art,
.plot {
  position: relative;
  aspect-ratio: 640/420;
}
.cover-art img,
.plot img,
.plot svg,
.cover-art svg,
.field-cover img,
.specimen img {
  width: 100%;
  height: auto;
}
.cover-plate figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 20px 14px;
  padding-top: 10px;
  border-top: 1px solid #bec5b7;
}
.plate-link {
  font-size: clamp(21px, 2vw, 31px);
  letter-spacing: -0.018em;
  line-height: 1.15;
}
.plate-link span {
  font: 14px var(--sans);
  vertical-align: middle;
}
.cover-control {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
  font-size: 13px;
  color: #434940;
}
.cover-control input {
  width: clamp(60px, 7vw, 114px);
}
input[type="range"] {
  accent-color: #45594a;
  min-height: 40px;
  margin: 0;
  cursor: pointer;
}
.question {
  display: flex;
  gap: 25px;
  align-items: center;
  padding-bottom: clamp(30px, 4.8vw, 80px);
}
.question > .eyebrow {
  color: var(--oxide);
  white-space: nowrap;
}
.question > a {
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.16;
}
.shelf {
  padding-bottom: clamp(56px, 8vw, 112px);
  scroll-margin-top: 22px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--ink);
  padding-block: 24px 23px;
}
.fields-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 2px 0 34px;
  border-top: 1px solid var(--hair);
}
.fields-list a {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 12px 3px;
  border-bottom: 1px solid var(--hair);
  font-size: 16px;
}
.fields-list a:hover {
  color: var(--oxide);
}
.fields-list span {
  font: 10px var(--mono);
  color: var(--muted);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px clamp(15px, 2.1vw, 34px);
}
.entry {
  min-width: 0;
  display: block;
}
.specimen {
  aspect-ratio: 640/388;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.specimen img {
  object-fit: contain;
  max-height: 100%;
  transition: transform 0.28s ease;
}
.entry:hover .specimen img {
  transform: scale(1.035);
}
.entry-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  margin: 13px 0 4px;
}
.diagonal {
  font: 17px/1 var(--sans);
}
.entry h3 {
  font-size: clamp(29px, 3.1vw, 48px);
  letter-spacing: -0.032em;
  line-height: 1.05;
}
.entry p {
  color: #575a51;
  margin-top: 8px;
  max-width: 45ch;
  font-size: 16px;
  line-height: 1.43;
}
.end {
  border-top: 1px solid var(--hair);
}
.footer-inner {
  min-height: 100px;
}
.footer-inner .wordmark {
  font-size: 22px;
}
.crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  padding-block: 23px 10px;
}
.crumb i {
  font-style: normal;
  color: #91958a;
}
.field-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(25px, 6vw, 100px);
  align-items: center;
  padding-block: 32px clamp(42px, 5vw, 80px);
}
.field-copy h1 {
  margin: 19px 0;
}
.field-copy .action {
  margin-top: 28px;
}
.field-cover {
  display: block;
  border: 1px solid var(--hair);
  padding: 3px 16px 15px;
}
.field-cover > span {
  display: block;
  border-top: 1px solid var(--hair);
  padding-top: 12px;
  text-align: right;
}
.original,
.colophon {
  padding: 24px 0 65px;
}
.original h2,
.colophon h2 {
  font-size: 35px;
}
.original p {
  margin: 14px 0;
}
.original .text-link {
  margin-right: 20px;
}
.plate-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  align-items: end;
  gap: 35px;
  padding-block: clamp(27px, 3.2vw, 55px);
}
.plate-head h1 {
  font-size: clamp(58px, 6.8vw, 108px);
  margin-top: 14px;
}
.plate-head > p {
  font-size: clamp(17px, 1.4vw, 22px);
  margin-bottom: 4px;
}
.reading {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.62fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}
.apparatus {
  position: sticky;
  top: 15px;
}
.plot-frame {
  border: 1px solid var(--hair);
}
.plot-top {
  padding: 15px 20px 0;
}
.plot {
  max-height: min(56svh, 620px);
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: auto;
  height: min(40vw, 56svh, 620px);
  overflow: hidden;
}
.plot > img,
.plot > svg {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.instrument {
  margin: 0 18px;
  display: grid;
  grid-template-columns: minmax(85px, 1fr) minmax(64px, 1.4fr) minmax(
      44px,
      auto
    );
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--hair);
  font-size: 15px;
  min-height: 57px;
}
.instrument input {
  width: 100%;
}
.instrument output {
  font: 13px var(--mono);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.stage-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: var(--muted);
}
.stage-nav a {
  min-width: 42px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--hair);
  font-size: 12px;
}
.stage-nav [aria-current] {
  color: var(--ink);
  border-color: var(--ink);
  border-bottom-width: 2px;
}
.stage-nav span {
  margin-left: 7px;
  font-size: 10px;
}
.chapters {
  padding-top: 6px;
}
.chapter {
  min-height: 50svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-margin-top: 18svh;
  padding-block: 24px;
  position: relative;
}
.chapter + .chapter {
  border-top: 1px solid var(--hair);
}
.chapter-no {
  color: var(--oxide);
  margin-bottom: 14px;
}
.chapter h2 {
  font-size: clamp(33px, 3.4vw, 52px);
  line-height: 1.04;
}
.chapter p,
.colophon p {
  line-height: 1.5;
  font-size: clamp(17px, 1.3vw, 21px);
  margin-top: 14px;
  max-width: 38ch;
  color: #4d5148;
}
.chapter noscript img {
  width: 100%;
  height: auto;
}
.plate-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 42px;
}
.next .section-head h2 {
  font-size: 42px;
}
.next .specimen {
  aspect-ratio: 1.95;
}
.directory {
  padding-bottom: 60px;
}
.directory header {
  padding: 40px 0 32px;
}
.directory header .eyebrow {
  margin-bottom: 16px;
}
.lookup {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px 0 25px;
  flex-wrap: wrap;
}
.lookup label {
  font-size: 16px;
}
.lookup input {
  background: #fffdf7;
  border: 1px solid #acafa4;
  border-radius: 2px;
  padding: 9px 14px;
  min-height: 44px;
  width: min(100%, 355px);
  color: var(--ink);
}
.lookup span {
  color: var(--muted);
  font-size: 14px;
}
.index-field {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-top: 1px solid var(--hair);
  padding: 20px 0;
}
.index-field h2 {
  font-size: 36px;
}
.index-field ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.index-field li a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 40px;
}
.index-field li span {
  color: var(--muted);
}
.colophon {
  border-top: 1px solid var(--hair);
  max-width: 65ch;
}
.colophon h2:not(:first-child) {
  margin-top: 35px;
}
.colophon p {
  max-width: 60ch;
}
.colophon a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.colophon > .text-link {
  margin-top: 20px;
}
.enhanced {
  display: none;
}
.js .cover-control {
  display: flex;
}
.js .instrument {
  display: grid;
}
.js .lookup {
  display: flex;
}
[hidden] {
  display: none !important;
}
.drawing-in {
  animation: drawing-ink 0.32s ease-out;
}
@keyframes drawing-ink {
  from {
    opacity: 0.55;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1650px) {
  .plot {
    height: min(620px, 56svh);
  }
}
@media (max-width: 1000px) {
  .fields-list {
    grid-template-columns: repeat(4, 1fr);
  }
  .cover {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 23px;
  }
  .cover h1 {
    font-size: clamp(75px, 9.5vw, 99px);
  }
  .cover-control {
    flex-direction: column;
    gap: 0;
    align-items: flex-end;
  }
  .cover-control input {
    min-height: 25px;
  }
  .cover-plate figcaption {
    min-height: 59px;
  }
  .gallery {
    gap: 31px 18px;
  }
  .cover-links {
    gap: 13px;
  }
  .reading {
    grid-template-columns: 1.24fr 0.76fr;
    gap: 28px;
  }
}
@media (max-width: 740px) {
  :root {
    --gutter: clamp(18px, 5vw, 33px);
  }
  .mast-inner {
    min-height: 61px;
  }
  .wordmark {
    font-size: 24px;
    gap: 8px;
  }
  .wordmark svg {
    width: 19px;
    height: 19px;
  }
  .mast nav,
  .footer-inner > div {
    gap: 17px;
  }
  .mast nav a,
  .footer-inner > div a {
    font-size: 14px;
  }
  .nav-extra {
    display: none !important;
  }
  .cover {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 28px;
  }
  .cover-copy {
    padding: 0;
  }
  .cover h1 {
    font-size: clamp(70px, 12.5vw, 96px);
    margin: 16px 0;
    line-height: 0.96;
  }
  .cover h1 br {
    display: none;
  }
  .cover-copy > p {
    font-size: 18px;
    max-width: 42ch;
  }
  .cover-links {
    margin-top: 19px;
  }
  .cover-plate figcaption {
    min-height: 48px;
  }
  .cover-control {
    flex-direction: row;
    align-items: center;
    gap: 9px;
  }
  .cover-control input {
    min-height: 40px;
    width: 62px;
  }
  .cover-art {
    max-height: 400px;
  }
  .cover-art img,
  .cover-art svg {
    height: 100%;
    object-fit: contain;
  }
  .cover-legend,
  .plot-top {
    padding: 12px 14px 0;
  }
  .cover-plate figcaption {
    margin: 0 13px 8px;
  }
  .cover-control {
    font-size: 12px;
  }
  .question {
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 30px;
  }
  .question > .eyebrow {
    margin-top: 5px;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 14px;
  }
  .fields-list {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 25px;
  }
  .fields-list a {
    font-size: 14px;
    gap: 5px;
    padding: 10px 0;
  }
  .fields-list span {
    font-size: 9px;
  }
  .entry h3 {
    font-size: 31px;
  }
  .entry p {
    font-size: 15px;
  }
  .field-intro {
    grid-template-columns: 1fr;
    padding-block: 20px 30px;
    gap: 25px;
  }
  .field-cover img {
    max-height: 350px;
  }
  .plate-head {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 18px 24px;
  }
  .plate-head h1 {
    margin-top: 10px;
  }
  .plate-head > p {
    max-width: 44ch;
  }
  .reading {
    display: block;
  }
  .apparatus {
    top: 0;
    z-index: 2;
    background: var(--paper);
    padding-bottom: 4px;
  }
  .plot {
    height: min(56vw, 34svh);
    max-height: none;
  }
  .instrument {
    min-height: 46px;
    font-size: 14px;
    gap: 8px;
    margin-inline: 13px;
  }
  .stage-nav {
    margin-top: 0;
  }
  .stage-nav a {
    min-height: 35px;
  }
  .stage-nav span {
    font-size: 10px;
  }
  .chapter {
    padding: 19px 0 33px;
    min-height: 43svh;
    scroll-margin-top: clamp(215px, calc(34svh + 128px), 460px);
    justify-content: flex-start;
  }
  .chapter-no {
    margin-bottom: 8px;
  }
  .chapter p {
    margin-top: 8px;
  }
  .plate-foot {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .colophon {
    padding-bottom: 20px;
  }
  .index-field {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lookup {
    gap: 10px;
  }
  .footer-inner {
    min-height: 90px;
    gap: 20px;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 24px;
  }
  .footer-inner > div {
    flex-wrap: wrap;
  }
  .footer-inner > div a {
    min-height: 28px;
  }
  .entry-meta {
    font-size: 10px;
    margin-top: 8px;
  }
}
@media (max-width: 430px) {
  .cover h1 {
    font-size: clamp(62px, 15.2vw, 72px);
    letter-spacing: -0.05em;
  }
  .cover-control {
    gap: 4px;
  }
  .cover-control span {
    max-width: 8ch;
    line-height: 1.1;
  }
  .fields-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .entry p {
    font-size: 14px;
  }
  .entry h3 {
    font-size: 27px;
  }
  .index-field ul {
    grid-template-columns: 1fr;
  }
  .question {
    display: block;
  }
  .question > a {
    display: block;
    margin-top: 5px;
  }
  .gallery {
    gap: 27px 11px;
  }
  .section-head {
    padding-block: 16px;
  }
  .crumb {
    gap: 8px;
    font-size: 13px;
  }
  .next .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .next .entry:last-child:nth-child(odd) {
    display: none;
  }
}
@media (max-height: 570px) {
  .apparatus {
    position: relative;
    top: auto;
  }
  .chapter {
    scroll-margin-top: 20px;
  }
  .plot {
    height: min(42vw, 360px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .entry:hover .specimen img {
    transform: none;
  }
}
@media print {
  .mast nav,
  .end,
  .enhanced,
  .stage-nav,
  .next,
  .cover-links {
    display: none !important;
  }
  .apparatus {
    position: static;
  }
  .chapter {
    min-height: 0;
    break-inside: avoid;
  }
  .reading {
    display: block;
  }
  .plot {
    height: 300px;
  }
  body {
    background: white;
  }
}
.volume-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #d3d4c9 transparent;
  border-bottom: 1px solid var(--hair);
  overscroll-behavior-x: contain;
}
.volume-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: 13px;
  color: #44483f;
}
.volume-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.volume-nav a span {
  font: 9px var(--mono);
  color: var(--muted);
}
.cover h1 {
  letter-spacing: -0.035em;
}
@media (max-width: 740px) {
  .volume-nav {
    gap: 16px;
  }
  .volume-nav a {
    min-height: 34px;
  }
  .cover-plate .plate-link {
    font-size: clamp(18px, 5.1vw, 24px);
  }
}
.plate-sound {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-inline: 18px;
}
.plate-sound:has([hidden]) {
  display: none;
}
.listen {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-top: 1px solid var(--hair);
  padding: 3px 4px;
  background: transparent;
  font: 500 15px var(--sans);
  cursor: pointer;
}
.listen:hover,
.listen[aria-pressed="true"] {
  color: var(--oxide);
}
.plate-sound [role="status"] {
  font-size: 13px;
}
[data-knight-file] {
  cursor: pointer;
}
.plot-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.plot-top {
  align-items: center;
  padding-top: 5px;
}
.js .expand {
  display: inline-grid;
  place-items: center;
  min-height: 37px;
  min-width: 37px;
}
.expand,
.loupe-bar button,
.loupe-bar select {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}
.expand:hover {
  background: #d6dbcd;
}
.loupe-bar button,
.loupe-bar select {
  min-height: 42px;
  font-size: 15px;
}
.loupe-bar button {
  border-bottom: 1px solid var(--hair);
}
dialog[data-loupe] {
  width: min(95vw, 1200px);
  max-width: 95vw;
  padding: 0;
  border: 1px solid var(--hair);
  background: var(--paper);
  color: var(--ink);
}
dialog[data-loupe]::backdrop {
  background: rgb(24 27 23/0.55);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.loupe-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 18px;
  border-bottom: 1px solid var(--hair);
}
.loupe-bar strong {
  margin-right: auto;
  font: 400 clamp(22px, 3vw, 34px)/1.1 var(--serif);
}
.loupe-bar label {
  font-size: 14px;
  white-space: nowrap;
}
.loupe-pan {
  overflow: auto;
  max-height: 76svh;
}
.loupe-pan [data-detail] {
  width: calc(100% * var(--zoom, 1));
  min-width: 100%;
}
.loupe-pan svg {
  width: 100%;
  height: auto;
}
.loupe-pan [data-detail][style*="--zoom: 1"] {
  max-width: min(100%, 115.8svh);
  margin-inline: auto;
}
@media (max-width: 740px) {
  .js .expand {
    min-height: 40px;
    min-width: 40px;
  }
  .loupe-bar {
    gap: 9px;
    padding-inline: 10px;
  }
}
@media (max-width: 740px) and (min-height: 571px) {
  .chapter {
    scroll-margin-top: calc(var(--reading-top, 350px) + 10px);
  }
}
html:not(.js) .reading {
  display: block;
}
html:not(.js) .apparatus {
  display: none;
}
html:not(.js) .chapter {
  min-height: 0;
  max-width: 740px;
  margin-inline: auto;
}
