@font-face {
  font-family: "Caveat";
  src: url("caveat.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Caveat";
  src: url("caveat-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --leather: #3a2618;
  --leather-2: #4a3121;
  --leather-3: #2a1a10;
  --page: #f6efdf;
  --page-2: #ece2cb;
  --rule: rgba(70, 100, 150, 0.17);
  --line: #d9ccb0;
  --text: #2b2620;
  --muted: #6b5d48;
  --ink: #24314f;
  --ink-soft: #4b5a78;
  --star: #2f5fa7;
  --ribbon: #2f6b55;
  --accent: #2f6b55;
  --accent-ink: #f6efdf;
  --shadow: rgba(40, 25, 10, 0.3);
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --leather: #1c120b;
    --leather-2: #261810;
    --leather-3: #120b06;
    --page: #201d19;
    --page-2: #2a2621;
    --rule: rgba(180, 200, 240, 0.07);
    --line: #3d362c;
    --text: #e8e0cf;
    --muted: #b0a48e;
    --ink: #c8d4f0;
    --ink-soft: #9fb0d4;
    --star: #8fb3f0;
    --ribbon: #3f8a6e;
    --accent: #6fbf9c;
    --accent-ink: #14110d;
    --shadow: rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  padding: 30px 20px 40px;
  color: var(--text);
  font: 17px/1.55 var(--serif);
  background-color: var(--leather);
  background-image:
    radial-gradient(circle at 20% 15%, rgba(255, 220, 170, 0.06), transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(0, 0, 0, 0.3), transparent 55%),
    repeating-radial-gradient(circle at 30% 40%, rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 5px);
  background-attachment: fixed;
}

a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }

img { display: block; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.book {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 34px 48px 28px 56px;
  background-color: var(--page);
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 26px),
    repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px);
  border-radius: 4px 10px 10px 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 6px 0 0 -2px var(--page-2), 10px 2px 0 -3px var(--line), 0 24px 60px rgba(0, 0, 0, 0.55);
}

.book::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 64px;
  width: 26px;
  height: 120px;
  background: var(--ribbon);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%);
  box-shadow: 0 2px 4px var(--shadow);
}

.top { position: relative; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  font: 700 56px/1 var(--hand);
}

.logo svg { width: 46px; height: 46px; flex: none; border-radius: 9px; box-shadow: 0 2px 6px var(--shadow); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 18px 0 0;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--ink);
}

.tab {
  color: var(--text);
  text-decoration: none;
  font: 700 25px/1.2 var(--hand);
  padding: 2px 0;
}

.tab:hover { color: var(--ink); }
.tab[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.count { font: 500 0.7em var(--hand); color: var(--muted); }

.mbar { display: none; }

.banner { margin: 16px 0 0; padding: 10px 14px; border: 1.5px dashed var(--ink); color: var(--ink); }

main { min-height: 360px; padding-top: 22px; }

.heading { margin: 34px 0 12px; color: var(--ink); font: 700 34px/1.1 var(--hand); }
.heading small { margin-left: 12px; font: 500 22px var(--hand); color: var(--muted); }
.view > .heading:first-child { margin-top: 4px; }

.note, .hint { color: var(--muted); font-style: italic; }
.note { margin: 24px 0; max-width: 60ch; }
.note.error { color: #a8432f; font-style: normal; }
.hint.small { font-size: 15px; }
.loading { opacity: 0.55; transition: opacity 0.2s; }

.search { max-width: 640px; margin: 0 0 10px; }
.search.narrow { max-width: 420px; }

.search input, textarea, .page-in, .goal input, .sort select, .add-date input {
  width: 100%;
  padding: 10px 14px;
  color: var(--text);
  font: 20px var(--serif);
  background: rgba(255, 255, 255, 0.35);
  border: 1.5px solid var(--ink);
  border-radius: 255px 12px 225px 12px / 12px 225px 12px 255px;
  outline: none;
}

@media (prefers-color-scheme: dark) {
  .search input, textarea, .page-in, .goal input, .sort select, .add-date input { background: rgba(255, 255, 255, 0.04); }
}

.search input { font-size: 21px; padding: 12px 18px; }
.search input::placeholder, textarea::placeholder { color: var(--muted); font-style: italic; }
.search input:focus, textarea:focus, .page-in:focus { box-shadow: 0 0 0 3px var(--rule); border-color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 3px 14px 4px;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  font: 700 21px/1.3 var(--hand);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover:not(:disabled) { background: var(--rule); }
.btn.on, .btn.primary { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.btn.on:hover:not(:disabled), .btn.primary:hover:not(:disabled) { opacity: 0.9; background: var(--accent); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn.small { padding: 1px 10px 2px; font-size: 18px; }
.btn.ghost { border-color: transparent; }
.btn.danger { color: #a8432f; border-color: #a8432f; }
.btn.danger:hover:not(:disabled) { color: #fff; background: #a8432f; }

.ic { display: inline-flex; }
.ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn[aria-pressed="true"] .ic svg:has(use[href="#i-pin"]), .btn[aria-pressed="true"] .ic svg:has(use[href="#i-want"]) { fill: currentColor; }

.link { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link .ic svg { width: 15px; height: 15px; }

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.row.center { justify-content: center; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 26px 20px;
  margin-top: 8px;
}

.card { display: flex; flex-direction: column; gap: 8px; }
.card .btn { align-self: flex-start; }
.card-link { display: flex; flex-direction: column; gap: 8px; color: var(--text); text-decoration: none; }

.cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  background: var(--page-2);
  box-shadow: 0 1px 2px var(--shadow), 3px 6px 12px var(--shadow);
  overflow: hidden;
  transition: transform 0.15s;
}

.cover.portrait { border-radius: 4px; }
.cimg { width: 100%; height: 100%; object-fit: cover; }
.card-link:hover .cover, .card-link:focus-visible .cover { transform: translateY(-3px) rotate(-1deg); }
.card-link:focus-visible { outline: none; }

.nocover {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 10px;
  color: var(--ink);
  background: var(--page-2);
  background-image: repeating-linear-gradient(to bottom, transparent 0 17px, var(--rule) 17px 18px);
  text-align: center;
  font: 700 21px/1.1 var(--hand);
  overflow-wrap: break-word;
  hyphens: auto;
}

.cap { display: flex; flex-direction: column; line-height: 1.25; }
.cap b { font-size: 15px; font-weight: 600; }
.cap i { font-size: 14px; color: var(--muted); }
.cap small { font-size: 13px; color: var(--muted); font-style: italic; }

.badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 0 8px 1px;
  color: #f6efdf;
  background: rgba(36, 49, 79, 0.88);
  border-radius: 3px;
  font: 700 17px/1.4 var(--hand);
}

.badge.stars-badge { font: 15px/1.5 var(--serif); letter-spacing: 0.06em; color: #fff; }
.badge.reading { background: rgba(47, 107, 85, 0.92); }
.badge.want { background: rgba(107, 93, 72, 0.9); }
#view-want .badge.want, #view-reading .badge.reading { display: none; }

.results { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.results li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.result { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; color: var(--text); text-decoration: none; }
.result:hover b { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.thumb { width: 50px; height: 75px; flex: none; object-fit: cover; box-shadow: 0 1px 2px var(--shadow), 2px 3px 6px var(--shadow); }
.thumb.nocover { width: 50px; height: 75px; padding: 3px; font-size: 11px; }
.what { display: block; min-width: 0; }
.what b { font-size: 18px; font-weight: 600; }
.what i { color: var(--muted); }
.what small { display: block; color: var(--muted); font-size: 15px; }
.side { flex: none; }
.side .badge { position: static; }

.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px 18px; }
.people a { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; line-height: 1.25; }
.people a:hover b { color: var(--ink); text-decoration: underline; }
.people span { display: flex; flex-direction: column; min-width: 0; }
.people b { font-weight: 600; }
.people small { color: var(--muted); font-size: 14px; font-style: italic; }
.face { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 25%; box-shadow: 0 1px 3px var(--shadow); filter: sepia(0.2); }
.face.blank { display: grid !important; place-items: center; background: var(--page-2); color: var(--ink); font: 700 20px var(--hand) !important; }

.more { margin: 22px 0 0; }

.recent { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 640px; margin: 12px 0 0; }
.recent .label { color: var(--muted); font: 700 20px var(--hand); margin-right: 4px; }
.recent .link { font-size: 15px; color: var(--muted); margin-left: 4px; }
.rchip { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.rchip a { padding: 2px 4px 3px 12px; color: var(--text); text-decoration: none; font-size: 15px; }
.rchip button { padding: 0 10px 0 6px; border: 0; background: none; color: var(--muted); font: 16px var(--serif); cursor: pointer; }

.book-head { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.author-head { grid-template-columns: 200px 1fr; }

.taped { position: relative; transform: rotate(-1.5deg); }
.taped::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  z-index: 1;
  width: 96px;
  height: 26px;
  transform: translateX(-50%) rotate(2deg);
  background: rgba(240, 228, 190, 0.75);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.big-cover, .taped .nocover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 2px 3px var(--shadow), 6px 12px 24px var(--shadow); }
.taped .nocover { font-size: 32px; }

.title { margin: 0; color: var(--ink); font: 700 clamp(36px, 5vw, 52px)/1.05 var(--hand); }
.by { margin: 6px 0 0; font-size: 19px; }
.facts { margin: 6px 0 0; color: var(--muted); }
.desc { margin: 14px 0 0; max-width: 62ch; }
.subjects { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.subjects span { padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); }
.links { margin: 16px 0 0; font-size: 15px; color: var(--muted); }

.verdict {
  margin: 22px 0 0;
  padding: 16px 18px;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.28);
  border: 1.5px solid var(--ink);
  border-radius: 6px 14px 8px 12px;
}

@media (prefers-color-scheme: dark) { .verdict { background: rgba(255, 255, 255, 0.03); } }

.verdict > * + * { margin-top: 14px; }
.verdict.flash { animation: flash 1.4s ease-out; }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 4px var(--accent); } 100% { box-shadow: 0 0 0 0 transparent; } }

.statuses { display: flex; flex-wrap: wrap; gap: 8px; }
.dates p { margin: 0; color: var(--muted); }
.dates .date { white-space: nowrap; color: var(--text); }
.dates .x { margin-left: 2px; padding: 0 4px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 16px; }
.add-date { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 15px; color: var(--muted); }
.add-date input { width: auto; padding: 3px 10px; font-size: 15px; }

.rater { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.star-words { color: var(--muted); font: 500 22px var(--hand); min-width: 5em; }
.stars { display: inline-flex; gap: 3px; cursor: pointer; touch-action: manipulation; border-radius: 4px; }
.stars:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.star { position: relative; display: block; width: 36px; height: 36px; }
.star > span { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; }
.star .empty { width: 100%; }
.star .full { width: var(--fill, 0%); }
.star svg { display: block; width: 36px; height: 36px; }
.star .empty svg { fill: none; stroke: var(--ink-soft); stroke-width: 1.4; stroke-linejoin: round; }
.star .full svg { fill: var(--star); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.stars.hover .full svg { fill: var(--ink-soft); }

.notes { margin-top: 30px; max-width: 760px; }
.note-form { display: grid; gap: 10px; margin-bottom: 18px; }
.note-form textarea { font: 500 24px/1.3 var(--hand); resize: vertical; }
.page-in { width: 110px; font-size: 17px; padding: 6px 12px; }

.quote { margin: 0 0 22px; padding: 4px 0 0 34px; position: relative; max-width: 760px; }
.quote::before { content: "“"; position: absolute; left: 0; top: -14px; color: var(--ribbon); font: 700 64px/1 var(--hand); }
.quote blockquote { margin: 0; color: var(--ink); font: 500 26px/1.3 var(--hand); white-space: pre-wrap; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 6px; color: var(--muted); font-size: 15px; }
.quote figcaption a { color: var(--text); }
.quote .pg { font-style: italic; }
.quote .acts { display: inline-flex; gap: 14px; margin-left: auto; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 6px 0 20px; }
.sort { color: var(--muted); font: 700 20px var(--hand); }
.sort select { width: auto; margin-left: 4px; padding: 4px 10px; font-size: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.chip { padding: 1px 12px 2px; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 999px; font: 16px var(--serif); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.chip[aria-pressed="true"] .count { color: inherit; }

.tally { margin: -4px 0 12px; }
.check { cursor: pointer; }
.check input { accent-color: var(--accent); }

.goal { max-width: 520px; margin: 4px 0 10px; }
.goal-line { margin: 0; font: 500 28px var(--hand); color: var(--ink); }
.goal-line b { font-size: 40px; }
.goal .bar { height: 12px; margin: 6px 0 10px; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.goal .bar span { display: block; height: 100%; width: var(--p); background: var(--accent); }
.goal-form { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.goal-form label { display: inline-flex; align-items: center; gap: 8px; }
.goal input { width: 90px; padding: 3px 10px; font-size: 16px; }

.histogram { position: relative; display: flex; align-items: flex-end; gap: 4px; max-width: 320px; height: 80px; margin: 6px 0 18px; padding-bottom: 20px; }
.bar-h { flex: 1; height: var(--h); background: var(--star); opacity: 0.8; border-radius: 2px 2px 0 0; }
.axis { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }

.spotlight { display: flex; align-items: center; gap: 24px; max-width: 540px; margin: 0 0 26px; padding: 14px; border: 1.5px dashed var(--ink); border-radius: 8px; }
.spot-cover { width: 96px; flex: none; aspect-ratio: 2 / 3; overflow: hidden; box-shadow: 2px 4px 10px var(--shadow); }
.label { margin: 0; color: var(--muted); font: 700 20px var(--hand); }
.spot-title { margin: 0; font: 700 30px/1.1 var(--hand); }
.spot-title a { color: var(--ink); text-decoration: none; }

.drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 64ch; padding: 24px 18px; text-align: center; border: 2px dashed var(--ink); border-radius: 10px; cursor: pointer; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop span { color: var(--ink); font: 700 28px var(--hand); }
.drop.over, .drop:hover { background: var(--rule); }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }

.import { max-width: 64ch; margin: 16px 0 0; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 8px; }
.import p { margin: 0 0 10px; }
.import progress { width: 100%; height: 12px; margin: 0 0 12px; accent-color: var(--accent); }
.missed { max-height: 220px; overflow: auto; margin: 0 0 14px; padding: 8px 8px 8px 26px; background: var(--page-2); font-size: 15px; }

.option { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; max-width: 64ch; padding: 10px 0; }
.option + .option { border-top: 1px dashed var(--line); }
.option p { margin: 0; }

.about { margin: 44px 0 0; padding: 14px 0 0; border-top: 2px solid var(--ink); }
.about[hidden] { display: none; }
.about h2 { margin: 0 0 4px; color: var(--ink); font: 700 28px var(--hand); }
.about p { max-width: 64ch; margin: 0; color: var(--muted); text-wrap: balance; }

.foot { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot p { margin: 0 0 6px; text-wrap: balance; }
.foot a { color: var(--muted); }
.credit { margin-top: 16px !important; font-size: 13px; }

.share { max-width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 18px; color: var(--text); background: var(--page); border: 1.5px solid var(--ink); border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.share::backdrop { background: rgba(20, 12, 6, 0.7); }
.share img { display: block; width: 100%; height: auto; max-height: calc(100vh - 150px); object-fit: contain; margin: 0 auto 14px; }
.share .hint { margin: 40px auto; text-align: center; }

.toast { position: fixed; left: 50%; bottom: 22px; z-index: 10; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); padding: 10px 18px; color: #f6efdf; background: #24314f; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); transform: translate(-50%, 140%); opacity: 0; transition: transform 0.2s, opacity 0.2s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast .link { color: #b9d8ff; font: 700 19px var(--hand); }

.log-row, .results.log li { flex-wrap: wrap; }
.log-actions { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-left: 66px; }
.log-actions .star, .log-actions .star svg { width: 30px; height: 30px; }
.log-actions .star-words { display: none; }

@media (max-width: 760px) {
  body { padding: 10px 6px 24px; }
  .book { padding: 18px 14px 18px 20px; }
  .book::before { right: 18px; height: 44px; width: 18px; }
  .logo { font-size: 42px; gap: 10px; }
  .logo svg { width: 36px; height: 36px; }
  .mbar { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 0 0 10px; border-bottom: 2px solid var(--ink); }
  .mbtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 14px; color: var(--ink); background: none; border: 1.5px solid var(--ink); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; font: 700 22px var(--hand); text-decoration: none; cursor: pointer; }
  .mbtn .ic svg { width: 19px; height: 19px; }
  #m-search, #m-log { flex: 1; }
  .mbtn[aria-current], .top.menu-open #menu-btn { background: var(--rule); }
  .mbtn.primary { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
  .tabs { display: none; position: absolute; left: 0; right: 0; z-index: 5; margin: 6px 0 0; padding: 4px 0; flex-direction: column; gap: 0; background: var(--page); border: 1.5px solid var(--ink); border-radius: 8px; box-shadow: 0 14px 30px var(--shadow); }
  .top.menu-open .tabs { display: flex; }
  .tab { padding: 10px 18px; border-bottom: 1px dashed var(--line); }
  .tab:last-child { border-bottom: 0; }
  .tab[aria-current="page"] { background: var(--rule); text-decoration: none; }
  .tab[data-tab="search"] { display: none; }
  .heading { font-size: 30px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 20px 14px; }
  .cap b { font-size: 14px; }
  .book-head, .author-head { grid-template-columns: 1fr; gap: 22px; }
  .taped { width: 58%; max-width: 240px; margin: 8px auto 0; }
  .results li { flex-wrap: wrap; }
  .log-actions { margin-left: 0; width: 100%; justify-content: space-between; }
  .quote .acts { margin-left: 0; }
  .star, .star svg { width: 40px; height: 40px; }
}
