/* BOOK_CARD_v1 (12 Oct 2026) - links.willmwatt.com/b/<slug>. Sits on top of bio_v2.css: same tokens, ground and navy fade. */
.book { padding-top: 48px; }
.bk-head { text-align: center; }
.bk-cover {
  display: block; width: min(260px, 72vw); height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  margin: 0 auto 28px; border-radius: 3px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .04);
}
.bk-series {
  margin: 0 0 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: lowercase; color: var(--muted);
}
.bk-title {
  margin: 0; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(32px, 9vw, 44px); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance;
}
.bk-author { margin: 12px 0 0; font-size: 16px; color: #dcd8cf; }
.bk-narr { margin: 6px auto 0; max-width: 420px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.bk-narr span { color: var(--copper); }
.bk-release { margin: 14px 0 0; font-size: 13px; letter-spacing: 0.04em; color: var(--fg); }

.bk-player {
  display: flex; align-items: center; gap: 14px; margin: 32px 0 0; padding: 14px 16px;
  background: rgba(17, 19, 28, .72); border: 1px solid var(--rule); border-radius: 3px;
}
.bk-play {
  flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--fg); color: var(--bg); display: flex; align-items: center; justify-content: center;
  transition: transform 160ms ease, background 160ms ease;
}
.bk-play:hover { transform: scale(1.05); }
.bk-play:focus-visible { outline: 1px solid var(--copper); outline-offset: 3px; }
.bk-play svg { width: 22px; height: 22px; fill: currentColor; }
.bk-play .i-pause, .bk-player.on .i-play { display: none; }
.bk-player.on .i-pause { display: block; }
.bk-track { flex: 1; min-width: 0; }
.bk-label { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; margin-bottom: 10px; }
.bk-time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.bk-bar { position: relative; height: 4px; background: var(--rule); border-radius: 2px; cursor: pointer; }
.bk-bar::before { content: ""; position: absolute; inset: -10px 0; } /* bigger tap target */
.bk-bar:focus-visible { outline: 1px solid var(--muted); outline-offset: 4px; }
.bk-fill { height: 100%; width: 0; background: var(--copper); border-radius: 2px; }

.bk-stores { margin: 36px 0 0; }
.bk-h {
  margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: lowercase; color: var(--muted);
}
.bk-stores .links { margin: 0; }
.link-label small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); letter-spacing: 0; }

/* BOOK_CARD_v3: promo banner and curated picks */
.bk-promo {
  margin: 28px 0 0; padding: 18px 18px 16px; text-align: center; border: 1px solid var(--copper); border-radius: 3px;
  background: linear-gradient(180deg, rgba(201, 115, 62, .12), rgba(201, 115, 62, .03));
}
.bk-promo + .bk-promo { margin-top: 12px; }
.bk-promo-h { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 24px; line-height: 1.15; }
.bk-promo-b { margin: 8px auto 0; max-width: 420px; font-size: 14.5px; line-height: 1.5; color: #dcd8cf; }
.bk-promo-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; min-height: 44px; padding: 0 20px;
  background: var(--fg); color: var(--bg); border-radius: 2px; font-size: 15px; font-weight: 500;
}
.bk-promo-btn:hover { background: #fff; }
.bk-promo-d { margin: 10px 0 0; font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }

.bk-picks { margin: 40px 0 0; }
.bk-pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 520px) { .bk-pick-grid { grid-template-columns: repeat(3, 1fr); } }
.bk-pick { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.bk-pick img, .bk-pick-ph { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #0b0d14; }
.bk-pick-ph { display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--copper); }
.bk-pick-t { padding: 10px 10px 12px; font-size: 13.5px; line-height: 1.35; }
.bk-pick:hover .bk-pick-t { color: #fff; }
.bk-pick:hover img { opacity: .88; }

/* BOOK_CARD_v4: each store's own icon, on a small light tile so dark logos (Apple) read on the dark page */
.link-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.link-ico {
  flex: none; width: 28px; height: 28px; padding: 4px; box-sizing: border-box; border-radius: 6px;
  background: #f3efe7; object-fit: contain;
}

/* CARD_PROMO_v1 (6 Nov 2026): a store running a promotion - red sticker over the logo, the offer in red under the name */
.link-ico-wrap { position: relative; flex: none; width: 28px; height: 28px; }
.link-sticker {
  position: absolute; top: -7px; right: -8px; min-width: 16px; height: 16px; padding: 0 3px; box-sizing: border-box;
  border-radius: 999px; background: #d9262c; color: #fff; font: 700 10px/16px "Instrument Sans", system-ui, sans-serif;
  text-align: center; letter-spacing: 0; box-shadow: 0 0 0 2px #07080c; transform: rotate(8deg);
}
.link-label small.link-promo { display: block; color: #ff5a5f; font-size: 12.5px; font-weight: 500; line-height: 1.35; margin-top: 2px; }
.link.has-promo .link-label { font-weight: 500; }

/* PUBLIC_LIBRARY_v1.3 (6 Nov 2026) - the Drey's cover bookmarks (static/nyt_bestsellers.js BOOKMARKS_v1), same shapes and
   colours: favicon on a white tile hanging from the top edge, the rank under it; gold = win, grey = nomination. */
.bm-wrap { position: absolute; top: 0; right: 6px; z-index: 2; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 3px;
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .45)); max-width: calc(100% - 36px); pointer-events: none; }
.bm { position: relative; width: 22px; padding: 4px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 1px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 6px), 0 100%); background: #1f2430; }
.bm.place { background: #1f2430; }
.bm.win { background: linear-gradient(180deg, #e2b546, #b8860b); }
.bm.nom { background: linear-gradient(180deg, #9aa6b2, #6b7785); }
.bm.more { background: #4b5563; }
.bm .bm-ico { width: 16px; height: 16px; border-radius: 3px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bm .bm-ico img { width: 14px; height: 14px; display: block; }
.bm .bm-n { font: 700 8.5px/1.1 -apple-system, system-ui, sans-serif; color: #fff; letter-spacing: -.02em; min-height: 9px; }
.bm.more .bm-n { font-size: 10px; min-height: 16px; display: flex; align-items: center; }
.bm-wrap.stack .bm { margin-left: -12px; }
.bm-wrap.stack .bm:last-child { margin-left: 0; }
.bm-wrap.stack .bm:nth-child(1) { z-index: 9; } .bm-wrap.stack .bm:nth-child(2) { z-index: 8; } .bm-wrap.stack .bm:nth-child(3) { z-index: 7; }
.bm-wrap.stack .bm:nth-child(4) { z-index: 6; } .bm-wrap.stack .bm:nth-child(5) { z-index: 5; } .bm-wrap.stack .bm:nth-child(6) { z-index: 4; }

/* PUBLIC_LIBRARY_v1.3 (6 Nov 2026): bookmarks over the card's cover, and the awards / bestseller-list rows */
.bk-cover-wrap { position: relative; display: block; width: min(260px, 72vw); margin: 0 auto 28px; }
.bk-cover-wrap .bk-cover { margin: 0; width: 100%; }
.bk-cover-wrap .bm-wrap { right: 10px; }
.bk-honours { margin: 36px 0 0; }
.hon { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--copper); }
.hon-row { border-bottom: 1px solid var(--rule); }
.hon-a { display: flex; align-items: center; gap: 12px; padding: 13px 4px; font-size: 15.5px; transition: padding 160ms ease; }
a.hon-a:hover, a.hon-a:focus-visible { padding-left: 10px; }
a.hon-a:hover .link-arrow { color: var(--copper); transform: translate(2px, -2px); }
.hon-ico { flex: none; width: 24px; height: 24px; border-radius: 4px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hon-ico.blank { background: var(--surface); }
.hon-ico img { width: 18px; height: 18px; display: block; }
.hon-row.win .hon-ico { box-shadow: 0 0 0 2px #b8860b; }
.hon-row.nom .hon-ico { box-shadow: 0 0 0 2px #6b7785; }
.hon-t { flex: 1; min-width: 0; }
.hon-l { display: block; }
.hon-y { color: var(--muted); font-size: 13px; }
.hon-t small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); letter-spacing: 0; line-height: 1.4; }

/* CARD_BUTTONS_v1 (8 Nov 2026): buttons under the player, and the folded blurb above the stores */
.bk-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.bk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1 1 160px; min-height: 46px; padding: 0 18px;
  border: 1px solid var(--copper); border-radius: 3px; color: var(--fg); font-size: 15px; font-weight: 500;
  background: rgba(201, 115, 62, .08); transition: background 160ms ease, transform 160ms ease;
}
.bk-btn span { color: var(--copper); font-size: 14px; transition: transform 160ms ease; }
.bk-btn:hover, .bk-btn:focus-visible { background: rgba(201, 115, 62, .18); }
.bk-btn:hover span { transform: translate(2px, -2px); }
.bk-btn:focus-visible { outline: 1px solid var(--muted); outline-offset: 2px; }
.bk-blurb { margin: 32px 0 0; }
.bk-blurb-body {
  font-size: 15px; line-height: 1.65; color: #dcd8cf; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.bk-blurb-body.open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.bk-more {
  margin: 10px 0 0; padding: 0; border: 0; background: none; cursor: pointer; color: var(--copper);
  font: inherit; font-size: 14px; letter-spacing: 0.02em;
}
.bk-more:hover { text-decoration: underline; }
.bk-more:focus-visible { outline: 1px solid var(--muted); outline-offset: 3px; }

/* CARD_TAGLINE_v1 (8 Nov 2026): the hook line under "Narrated by" - serif, copper rule each side, titles in italic */
.bk-tagline {
  margin: 22px auto 0; max-width: 440px; padding: 14px 0 0; position: relative;
  font-family: "Instrument Serif", Georgia, serif; font-size: 19px; line-height: 1.4; color: var(--fg); text-align: center;
}
.bk-tagline::before { content: ""; position: absolute; top: 0; left: 50%; width: 56px; height: 1px; background: var(--copper); transform: translateX(-50%); }
.bk-tagline em { font-style: italic; color: var(--copper); }   /* CARD_TAGLINE_v1.1: titles in copper */
