@font-face {
  font-family: DM;
  src: url(/static/fonts/sans.woff2) format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: DMSerif;
  src: url(/static/fonts/serif.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: DMSerif;
  src: url(/static/fonts/serif-italic.woff2) format("woff2");
  font-style: italic;
  font-display: swap;
}
:root {
  --paper: #faf8f2;
  --ink: #17382e;
  --mid: #526456;
  --rule: #d9d8cb;
  --gold: #d9b575;
  --serif: DMSerif, Georgia, serif;
  --sans: DM, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--sans);
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
a:hover {
  color: #966736;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin: 0 0 0.65em;
}
h1,
h2,
h3,
.brand {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
}
h1 {
  font-size: clamp(2.45rem, 4.5vw, 4.3rem);
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.45rem;
  letter-spacing: -0.015em;
}
:focus-visible {
  outline: 3px solid #b77519;
  outline-offset: 3px;
}
.wrap {
  width: min(1280px, 90%);
  margin-inline: auto;
}
.mast {
  background: #f9f6ed;
  border-bottom: 1px solid var(--rule);
}
.mast-in {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 4.5vw;
}
.brand {
  font-size: 1.55rem;
  letter-spacing: -0.045em;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 0.62rem;
  color: #17382e;
  white-space: nowrap;
}
.icon {
  height: 1.15em;
  width: 1.15em;
  flex: none;
  vertical-align: -0.16em;
}
.brand .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}
.mast nav {
  display: flex;
  gap: 2rem;
}
.mast nav a,
.my-shelf {
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
}
.mast nav a {
  padding: 0.6rem 0;
}
.mast nav a.current {
  box-shadow: inset 0 -2px #838c68;
}
.my-shelf {
  margin-left: auto;
  border: 1px solid #b8b9a8;
  border-radius: 5px;
  padding: 0.48rem 0.85rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}
#shelf-count:empty {
  display: none;
}
.hero {
  position: relative;
  color: #fff8e8;
  background: #112820 url(/static/library.webp) center 57% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 30, 23, 0.85) 0%,
    rgba(8, 30, 23, 0.6) 36%,
    transparent 74%
  );
}
.hero-text {
  position: relative;
  max-width: 700px;
  padding: clamp(2.9rem, 4.5vw, 4.8rem) 0;
}
.hero h1 {
  font-size: clamp(3.1rem, 5.3vw, 5.1rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 0.3em;
}
.hero h1 em {
  color: #e7c58a;
}
.hero p {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: #f2f0df;
  margin-bottom: 1.3em;
}
.searchbox {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fffef9;
  border: 1px solid #c7c7b7;
  border-radius: 6px;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  max-width: 620px;
  color: var(--ink);
  box-shadow: 0 3px 12px #13231714;
}
.searchbox .icon {
  color: #67786a;
}
.searchbox input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--ink);
  padding: 0.45rem 0;
  font-size: 1rem;
}
.searchbox input::placeholder {
  color: #647065;
}
.primary,
.action,
.switch button {
  border: 0;
  border-radius: 4px;
}
.primary {
  background: #28543f;
  color: white;
  font-weight: 600;
  padding: 0.62rem 1.25rem;
}
.primary:hover {
  background: #193c2d;
}
.quick {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  font-size: 0.82rem;
  margin-top: 0.85rem;
}
.quick span {
  color: #d3cfba;
}
.quick a {
  color: #fff1d3;
}
#suggest {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 325px;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: 0 10px 30px #13231938;
  border-radius: 5px;
}
#suggest a {
  display: block;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
}
#suggest small {
  display: block;
  color: var(--mid);
}
#suggest a:hover,
#suggest [aria-selected="true"] {
  background: #e5e9dc;
}
.collection,
.page,
.reading {
  padding-block: clamp(2rem, 3.5vw, 3.2rem);
}
.section-head,
.row-top,
.buy,
.shelf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.section-head {
  margin-bottom: 1.15rem;
}
.section-head h2,
.section-head h3 {
  margin: 0;
}
.kicker {
  color: #74613c;
  font-weight: 700;
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.switch {
  display: flex;
  border: 1px solid #c9cbbc;
  border-radius: 5px;
  padding: 3px;
  flex: none;
}
.switch button {
  display: flex;
  gap: 0.38rem;
  align-items: center;
  background: transparent;
  color: var(--mid);
  padding: 0.35rem 0.6rem;
  font-size: 0.85rem;
}
.switch button[aria-pressed="true"] {
  background: #e1e8da;
  color: #203c2d;
  font-weight: 700;
}
.switch .icon {
  width: 14px;
}
.filters,
.edition-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.filters {
  margin: 0 0 1.35rem;
}
.chip {
  display: inline-block;
  border: 1px solid var(--rule);
  border-radius: 2rem;
  padding: 0.32rem 0.88rem;
  font-size: 0.85rem;
  text-decoration: none;
  background: #fffdf8;
  color: #425247;
}
.chip.on {
  background: #244b39;
  color: white;
  border-color: #244b39;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}
.series-card,
.art-tile {
  text-decoration: none;
  display: block;
  min-width: 0;
}
.stage,
.art-stage {
  height: clamp(185px, 16vw, 242px);
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: #e3e1d3;
  overflow: hidden;
  padding: 1rem;
  isolation: isolate;
  position: relative;
}
.stage::after,
.art-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(130deg, #ffffff38, transparent 45%, #4e453215);
}
.hue-0 {
  background: #d8e0ce;
}
.hue-1 {
  background: #e8decb;
}
.hue-2 {
  background: #d7dfdf;
}
.hue-3 {
  background: #e7d8ca;
}
.hue-4 {
  background: #e2decf;
}
.stage > * {
  transition: transform 0.2s;
}
.series-card:hover .stage > *,
.art-tile:hover .art-stage > * {
  transform: translateY(-3px);
}
.card-info {
  padding-top: 0.85rem;
}
.card-info .kicker {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
}
.card-info h3 {
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
}
.card-info p,
.art-tile p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.45;
  margin: 0;
}
.card-info p span {
  white-space: nowrap;
}
.realbook {
  height: 100%;
  max-width: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
}
.jacket {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(3px 6px 5px #302a2340);
}
.realbook > .jacket {
  min-height: 0;
}
.typebook {
  height: 100%;
  aspect-ratio: 2/3;
  max-width: 100%;
  padding: 9% 7%;
  color: #f8e9c6;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  background-color: var(--cloth);
  background-image:
    linear-gradient(90deg, #0003, transparent 3%, #fff2 4%, transparent 5%),
    repeating-linear-gradient(35deg, transparent 0 2px, #ffffff05 2px 3px);
  box-shadow:
    2px 5px 7px #302a2340,
    inset 0 0 0 2px #0002;
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}
.typebook::before {
  content: "";
  position: absolute;
  inset: 6% 7% 6% 9%;
  border: 1px solid #e6cd8f88;
  pointer-events: none;
}
.typebook > * {
  position: relative;
}
.j-author {
  text-transform: uppercase;
  line-height: 1.2;
  font-size: clamp(8px, 8cqi, 13px);
  letter-spacing: 0.12em;
  font-weight: 600;
}
.typebook strong {
  font: 400 clamp(0.9rem, 18cqi, 2.55rem) / 0.97 var(--serif);
  overflow-wrap: anywhere;
  letter-spacing: -0.03em;
}
.typebook small {
  font-size: clamp(8px, 6cqi, 10px);
  letter-spacing: 0.03em;
  color: #fff0cf;
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 80%;
  font: italic 400 clamp(0.85rem, 13cqi, 1.7rem) var(--serif);
}
.ornament i {
  border-top: 1px solid currentColor;
  width: 24%;
}
.palette-0 {
  --cloth: #284d47;
}
.palette-1 {
  --cloth: #754333;
}
.palette-2 {
  --cloth: #314353;
}
.palette-3 {
  --cloth: #7b462a;
}
.palette-4 {
  --cloth: #503f53;
}
.palette-5 {
  --cloth: #455236;
}
.fallback {
  height: 100%;
}
.compact {
  display: block;
}
.compact .series-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--rule);
}
.compact .stage {
  width: 60px;
  height: 72px;
  padding: 0.3rem;
}
.compact .card-info {
  padding: 0;
}
.archive,
.detail-band {
  background: #eeeede;
  border-block: 1px solid var(--rule);
}
.archive {
  padding: 2.5rem 0;
}
.art-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.15rem;
}
.art-stage {
  height: 190px;
}
.art-tile h3 {
  margin: 0.6rem 0 0.15rem;
  font-size: 1.15rem;
}
.text-link,
.audio-tab {
  font-weight: 600;
  font-size: 0.9rem;
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.9rem 0;
}
.foot > div {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}
footer {
  border-top: 1px solid var(--rule);
}
.detail-band {
  padding: 1.4rem 0 2.5rem;
}
.crumb,
.source,
.muted,
.by {
  color: var(--mid);
}
.crumb {
  font-size: 0.85rem;
  margin-bottom: 1.3rem;
}
.feature {
  display: grid;
  grid-template-columns: minmax(130px, 205px) minmax(0, 750px);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: center;
}
.feature-art {
  height: 255px;
  display: grid;
  place-items: center;
}
.feature h1 {
  margin: 0 0 0.12em;
}
.feature .by {
  margin-bottom: 0.75rem;
}
.feature .filters {
  margin-bottom: 0.7rem;
}
.feature p {
  max-width: 75ch;
}
.feature-art .typebook {
  padding: 12% 9%;
}
.reading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 29%);
  gap: clamp(1.5rem, 5vw, 6rem);
}
.reading aside {
  min-width: 0;
}
.callout,
.panel,
.edition-panel,
.shelf-block {
  padding: 1.4rem;
  background: #fffdf7;
  border: 1px solid var(--rule);
  border-radius: 7px;
}
.callout {
  background: #e8edde;
  margin-bottom: 1.6rem;
}
.callout h2 {
  font-size: 1.8rem;
}
.side-notes h3 {
  margin-top: 1.2rem;
}
.side-notes p,
.source,
.evidence {
  font-size: 0.9rem;
}
.book-list,
.plain-list,
.edition-tabs,
.ed-list {
  list-style: none;
  padding: 0;
}
.book-row {
  display: flex;
  gap: 1.1rem;
  border-top: 1px solid var(--rule);
  padding: 1.1rem 0;
}
.rank {
  font: 1.3rem var(--serif);
  width: 2.3rem;
  flex: none;
  color: #67582f;
}
.row-content {
  width: 100%;
  min-width: 0;
}
.row-top {
  align-items: flex-start;
}
.book-row h3 {
  margin: 0 0 0.25rem;
}
.book-row h3 a,
.result a,
.panel h2 a {
  text-decoration: none;
}
.book-row h3 a:hover,
.result a:hover,
.panel h2 a:hover {
  text-decoration: underline;
}
.action {
  border: 1px solid #a2b09d;
  background: #fffdf6;
  color: #1b4432;
  white-space: nowrap;
  padding: 0.42rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.action[aria-pressed="true"] {
  background: #e2eadc;
}
.next-label,
.tag,
.status:not(:empty) {
  display: inline-block;
  font: 600 0.76rem var(--sans);
  padding: 0.2rem 0.45rem;
  color: #33543e;
  background: #e5eadc;
  border-radius: 3px;
  margin: 0.12rem 0.2rem 0.12rem 0;
}
.next-label {
  background: #f1e5c7;
  color: #634b26;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.book-row summary {
  font-size: 0.86rem;
}
.ed-list > li,
.result,
.shelf-row,
.credit {
  border-top: 1px solid var(--rule);
  padding: 0.8rem 0;
}
.ed-list > li > span {
  color: var(--mid);
  font-size: 0.85rem;
}
.ed-list .action {
  margin: 0.25rem;
}
.evidence {
  margin-top: 1.1rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--rule);
}
.source {
  margin: 0.6rem 0;
  overflow-wrap: anywhere;
}
.narrow {
  max-width: 900px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem 1rem;
}
.facts dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--mid);
  letter-spacing: 0.065em;
}
.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.buy {
  justify-content: flex-start;
  flex-wrap: wrap;
}
.buy a {
  font-size: 0.9rem;
}
.edition-tabs {
  margin: 0.4rem 0 1.1rem;
}
.contents {
  padding-left: 1.2rem;
  margin: 0.4rem 0;
}
.affiliate {
  margin: 1rem 0;
  padding: 0.8rem;
  background: #ede5cf;
}
.page .card-grid,
.stack,
.plain-list,
.shelf-block {
  margin: 1.4rem 0;
}
.result h2,
.panel h2 {
  font-size: 1.6rem;
  margin: 0;
}
.result p {
  margin: 0;
}
.intro {
  font-size: 1.15rem;
}
.plain-list {
  columns: 2;
}
.plain-list li {
  break-inside: avoid;
  margin-bottom: 0.38rem;
}
.credit {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.2rem;
}
.credit > .realbook {
  height: 160px;
}
.credit p {
  font-size: 0.9rem;
  margin-bottom: 0.3em;
}
.credit h2 {
  font-size: 1.45rem;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.skip:focus {
  position: absolute;
  z-index: 66;
  background: white;
  padding: 0.5rem;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1450px) {
  .hero-text {
    padding-block: 5rem;
  }
}
@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .art-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mast nav {
    gap: 1rem;
  }
  .hero-text {
    max-width: 575px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: 92%;
  }
  .mast-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand shelf" "nav nav";
    gap: 0.25rem 0.5rem;
    padding-top: 0.85rem;
  }
  .mast nav {
    grid-area: nav;
    gap: 1.4rem;
  }
  .mast nav a {
    padding: 0.45rem 0;
    font-size: 0.84rem;
  }
  .mast .brand {
    grid-area: brand;
    font-size: clamp(1.08rem, 5.3vw, 1.32rem);
    white-space: normal;
  }
  .brand .icon {
    width: 26px;
    height: 26px;
  }
  .my-shelf {
    grid-area: shelf;
    font-size: 0.82rem;
    padding: 0.37rem 0.55rem;
  }
  .hero {
    background-image: url(/static/library-small.webp);
    background-position: 65% center;
  }
  .hero::before {
    background: linear-gradient(90deg, #0c251bed, #10251caa 70%, #13251c55);
  }
  .hero-text {
    padding: 2.5rem 0;
  }
  .hero h1 {
    max-width: 450px;
  }
  .searchbox {
    gap: 0.4rem;
    padding-left: 0.65rem;
  }
  .searchbox input {
    font-size: 1rem;
    width: 40px;
  }
  .primary {
    padding: 0.65rem 0.8rem;
  }
  .desktop {
    display: none;
  }
  .section-head {
    gap: 0.5rem;
  }
  .switch button {
    font-size: 0.8rem;
    padding: 0.35rem 0.4rem;
  }
  .filters {
    gap: 0.35rem;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 0.75rem;
  }
  .stage {
    height: clamp(160px, 43vw, 250px);
    padding: 0.8rem;
  }
  .card-info h3 {
    font-size: 1.29rem;
  }
  .card-info p {
    font-size: 0.8rem;
  }
  .card-info {
    padding-top: 0.55rem;
  }
  .art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .art-stage {
    height: 175px;
  }
  .foot {
    flex-wrap: wrap;
  }
  .feature {
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }
  .feature-art {
    height: 128px;
  }
  .feature h1 {
    font-size: 2.15rem;
  }
  .feature p {
    font-size: 0.95rem;
  }
  .detail-band {
    padding-bottom: 1.2rem;
  }
  .reading {
    display: flex;
    flex-direction: column;
  }
  .reading aside {
    display: contents;
  }
  .callout {
    order: -1;
    margin-bottom: 0;
    padding: 0.85rem 1rem;
  }
  .callout h2 {
    display: inline;
    font-size: 1.25rem;
    margin-right: 0.5rem;
  }
  #next-read {
    display: inline;
  }
  .callout p {
    margin: 0.35rem 0;
    font-size: 0.85rem;
  }
  .book-row {
    gap: 0.5rem;
  }
  .rank {
    width: 1.5rem;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .credit {
    grid-template-columns: 80px minmax(0, 1fr);
  }
  .credit > .realbook {
    height: 115px;
  }
  .plain-list {
    columns: 1;
  }
  .quick {
    gap: 0.65rem;
  }
  .hero h1 {
    font-size: clamp(2.85rem, 9vw, 4rem);
  }
  .shelf-row {
    align-items: start;
  }
  .chip {
    font-size: 0.82rem;
  }
  .stage .typebook {
    min-width: 0;
  }
  .foot > div {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.all-guides {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}
.index-button {
  border: 1px solid #a5af9e;
  padding: 0.55rem 1.15rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.continue {
  margin: 1.8rem 0;
}
.continue > div {
  display: inline-block;
  vertical-align: top;
  margin: 0 1rem 0.8rem 0;
  background: #e9edde;
  border-radius: 4px;
  padding: 0.85rem 1.05rem;
}
.continue h3 {
  font-size: 1.15rem;
}
.row-art {
  display: none;
}
.book-list.jacket-view {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.jacket-view .book-row {
  position: relative;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.jacket-view .rank {
  position: absolute;
  top: 1.35rem;
  left: 0.35rem;
  background: var(--paper);
  border-radius: 3px;
  width: auto;
  text-align: center;
  min-width: 1.8rem;
  padding: 0.15rem;
  z-index: 1;
}
.jacket-view .row-art {
  display: grid;
  place-items: center;
  background: #e8e5d7;
  width: 100%;
  height: 170px;
  padding: 1rem;
}
.jacket-view .row-top {
  display: block;
}
.jacket-view .row-content h3 {
  font-size: 1.2rem;
}
.jacket-view .ed-list > li {
  overflow-wrap: anywhere;
}
.jacket-view .ed-list span {
  display: block;
}
.jacket-view .action {
  white-space: normal;
}
.compact .card-info {
  flex: 1;
}
.catalog-shelf-bar {
  margin-top: 1rem;
}
.hero .searchbox {
  max-width: 580px;
}
.hero .searchbox input {
  scroll-margin-top: 1rem;
}
@media (max-width: 700px) {
  .book-list.jacket-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .jacket-view .row-art {
    height: 150px;
  }
  .quick a {
    padding: 0.2rem 0;
  }
  .hero .searchbox input::placeholder {
    font-size: 0.87rem;
  }
}
.jump {
  display: inline-block;
  text-decoration: none;
}
.edition-picker {
  margin: 0 0 1rem;
}
.edition-picker label {
  font-weight: 600;
  font-size: 0.88rem;
}
.edition-picker > div {
  display: flex;
  gap: 0.5rem;
}
.edition-picker select {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  font: inherit;
  border: 1px solid #a5af9e;
  background: #fffdf9;
  color: var(--ink);
  padding: 0.6rem;
  border-radius: 4px;
}
.edition-picker .action {
  align-self: stretch;
}
.binding-crime {
  --cloth: #253730;
  background-image:
    linear-gradient(
      0deg,
      #192d29 2%,
      transparent 30%,
      transparent 80%,
      #1c2c24
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 12%,
      #d2bd8b18 12% 13%,
      transparent 13% 27%
    );
  color: #f2c780;
}
.binding-crime strong {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  font-size: clamp(0.85rem, 17cqi, 2.45rem);
}
.binding-crime::before {
  border-inline: 0;
  inset: 13% 10% 18%;
}
.binding-romance {
  --cloth: #c7dad0;
  color: #2a4c42;
  background-image:
    repeating-radial-gradient(
      ellipse at 0 100%,
      transparent 0 12px,
      #647e671c 13px,
      transparent 14px
    ),
    linear-gradient(130deg, #ebecce, transparent);
}
.binding-romance small {
  color: #334d44;
}
.binding-romance::before {
  border: 3px double #60785e;
  border-radius: 40% 40% 3% 3%;
  inset: 16% 7% 15%;
}
.binding-romance strong {
  font-style: italic;
  font-size: clamp(1rem, 21cqi, 2.7rem);
}
.binding-speculative {
  background-image:
    linear-gradient(
      160deg,
      transparent 48%,
      #b4bf9a18 48% 64%,
      transparent 64%
    ),
    repeating-linear-gradient(-38deg, transparent 0 9px, #d8dda20c 9px 10px);
}
@media (max-width: 700px) {
  .collection .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    scroll-padding: 0.5rem;
    padding: 0.2rem 0.1rem 0.5rem;
    margin-bottom: 0.75rem;
  }
  .collection .filters .chip {
    flex: none;
  }
  .collection .section-head {
    align-items: flex-end;
    margin-bottom: 0.85rem;
  }
  .collection .section-head h2 {
    font-size: 1.9rem;
  }
  .collection .switch button {
    font-size: 0.78rem;
  }
  .hero-text {
    padding: 2.15rem 0;
  }
  .edition-picker > div {
    align-items: stretch;
  }
  .edition-picker select {
    width: 60%;
  }
  .feature .jump {
    margin-bottom: 0.3rem;
  }
  .reading aside .callout h2 {
    margin-right: 0.25em;
  }
}
.realbook:has(.fallback:not([hidden])) {
  aspect-ratio: 2/3;
  width: auto;
  height: 100%;
  max-width: 100%;
  min-width: 0;
}
.realbook > .fallback:not([hidden]) {
  display: block;
  align-self: stretch;
  justify-self: stretch;
  min-width: 0;
  width: 100%;
  height: 100%;
}
.fallback .typebook {
  width: 100%;
  max-width: 100%;
}
@media (min-width: 720px) {
  .hero h1 { white-space: nowrap; }
}
@media (max-width: 440px) {
  .hero h1 { min-height: 2.1em; }
}
#private-shelf {
  min-height: 75vh;
}
