/* Novel Atelier: glass shelf. Night is the default, Day is the light variant. */
:root, :root[data-theme="dark"] {
  --bg: #0b090d; --ink: #ffffff; --muted: #d9d1e4; --faint: #a79fb3;
  --glass: rgba(255,255,255,.07); --glass-2: rgba(255,255,255,.12); --line: rgba(255,255,255,.16); --shine: rgba(255,255,255,.18);
  --well: rgba(0,0,0,.28); --surface: rgba(24,18,28,.72); --track: rgba(255,255,255,.12);
  --accent: #ff8f7a; --accent-2: #ff6f6f; --accent-ink: #ffb3a3; --on-accent: #1b0b0b; --solid: #ffffff; --on-solid: #120d14;
  --heat: #f07399; --heat-ink: #f8a3bf; --heat-rgb: 240,115,153;
  --note-bg: rgba(0,0,0,.25); --ask-bg: rgba(255,143,122,.16); --ask-line: rgba(255,143,122,.5); --ask-ink: #ffc2b4;
  --ok-bg: rgba(126,226,160,.18); --ok-ink: #a9f5c4; --dec-bg: rgba(178,140,255,.2); --dec-ink: #d2c2ff; --rev-bg: rgba(255,170,90,.2); --rev-ink: #ffd0a0;
  --shadow: 0 18px 40px rgba(0,0,0,.45); --bd-op: .6;
  --sans: 'Be Vietnam Pro', system-ui, sans-serif; --serif: 'Be Vietnam Pro', system-ui, sans-serif; --read: 'Source Serif 4', Georgia, serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f2edf1; --ink: #1a1420; --muted: #564c61; --faint: #7a7085;
  --glass: rgba(255,255,255,.55); --glass-2: rgba(255,255,255,.75); --line: rgba(26,20,32,.12); --shine: rgba(255,255,255,.9);
  --well: rgba(26,20,32,.07); --surface: rgba(255,255,255,.86); --track: rgba(26,20,32,.1);
  --accent: #ff8f7a; --accent-2: #f2604f; --accent-ink: #b9351f; --on-accent: #1b0b0b; --solid: #1a1420; --on-solid: #ffffff;
  --heat: #c02663; --heat-ink: #9c1d4d; --heat-rgb: 192,38,99;
  --note-bg: rgba(26,20,32,.06); --ask-bg: rgba(242,96,79,.14); --ask-line: rgba(185,53,31,.4); --ask-ink: #9a2c18;
  --ok-bg: rgba(34,130,80,.16); --ok-ink: #1c6b40; --dec-bg: rgba(90,60,200,.14); --dec-ink: #45339a; --rev-bg: rgba(200,110,30,.16); --rev-ink: #8a4a10;
  --shadow: 0 18px 40px rgba(60,40,70,.18); --bd-op: .38;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
body { min-height: 100vh; }
a { color: var(--accent-ink); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.loading { padding: 48px; color: var(--muted); }

/* blurred cover behind everything */
.backdrop { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.backdrop img, .backdrop i { position: absolute; width: 75vw; height: 80vh; object-fit: cover; filter: blur(90px) saturate(1.5); opacity: var(--bd-op); }
.backdrop :nth-child(1) { left: -12vw; top: -22vh; }
.backdrop :nth-child(2) { right: -18vw; bottom: -20vh; opacity: calc(var(--bd-op) * .75); }
.backdrop i.a { background: #b8324a; border-radius: 50%; }
.backdrop i.b { background: #4a3a9c; border-radius: 50%; }
#app > header, #app > main { position: relative; z-index: 1; }

.glass { background: var(--glass); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--shine), var(--shadow); -webkit-backdrop-filter: blur(26px) saturate(165%); backdrop-filter: blur(26px) saturate(165%); }

/* top bar */
.top { position: sticky; top: 12px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 1240px; margin: 12px auto 0; padding: 8px 10px 8px 18px; border-radius: 28px; width: calc(100% - 32px); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.search { flex: 1 1 220px; display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--well); border: 1px solid var(--line); color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 14px; font-weight: 500; color: var(--ink); }
.search input::placeholder { color: var(--faint); }
.search kbd { font: 600 11px var(--sans); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); color: var(--faint); }
.top-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

main.wrap { max-width: 1240px; margin: 0 auto; padding: 26px 16px 110px; display: flex; flex-direction: column; gap: 24px; }

h1.title { margin: 0; font-size: clamp(30px, 5vw, 52px); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; overflow-wrap: anywhere; }
h1.title.big { font-size: clamp(40px, 8vw, 78px); }
h2.sec { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; }
.col { display: flex; flex-direction: column; gap: 8px; }
.grow { flex: 1 1 0; min-width: 0; }

.btn { border: 1px solid var(--line); background: var(--glass); color: var(--ink); font-size: 14px; font-weight: 700; padding: 0 16px; border-radius: 13px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; white-space: nowrap; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.btn:hover { background: var(--glass-2); color: var(--ink); }
.btn.primary { background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: var(--on-accent); border-color: transparent; box-shadow: 0 10px 24px rgba(255,111,111,.3); font-weight: 800; }
.btn.solid { background: var(--solid); color: var(--on-solid); border-color: transparent; font-weight: 800; }
.btn.big { min-height: 50px; padding: 0 22px; font-size: 15px; border-radius: 14px; }
.btn.small { font-size: 13px; padding: 0 12px; min-height: 36px; border-radius: 10px; }
.btn.on { background: var(--glass-2); border-color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: default; }
.pill-btn { border: 1px solid var(--line); background: var(--glass); color: var(--ink); font-size: 13px; font-weight: 700; padding: 0 14px; min-height: 40px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.pill-btn:hover { background: var(--glass-2); color: var(--ink); }
.pill-btn.on { background: var(--solid); color: var(--on-solid); border-color: transparent; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.icon-btn.on { color: #ffd166; border-color: #ffd166; }

.card { background: var(--glass); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; box-shadow: inset 0 1px 0 var(--shine); -webkit-backdrop-filter: blur(26px) saturate(165%); backdrop-filter: blur(26px) saturate(165%); }
.banner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 18px; text-decoration: none; color: inherit; -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.banner.ask { background: var(--ask-bg); border: 1px solid var(--ask-line); }
.banner.ask .eyebrow { color: var(--ask-ink); }
.banner.run { background: var(--glass); border: 1px solid var(--line); }
.banner.run .eyebrow { color: var(--accent-ink); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(255,143,122,.25); flex: none; }

/* crumbs */
.crumbs { align-self: flex-start; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 9px 16px; border-radius: 22px; font-size: 14px; font-weight: 600; }
.crumbs a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs .sep { color: var(--faint); }
.crumbs b { font-weight: 800; }

/* hero */
.hero { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; padding: 6px 6px 0; }
.hero .cover { width: 230px; flex: none; transform: rotate(-2deg); }
.hero .panel { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; }
.chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 13px; border-radius: 12px; background: var(--well); font-size: 13px; font-weight: 600; }
.chip b { font-size: 17px; font-weight: 800; }

/* filter bar */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 22px; }
.filters .lbl { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 6px; }
select.pick { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 32px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--well) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23999' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 13px center; color: var(--ink); font-size: 13px; font-weight: 600; max-width: 230px; }
select.pick.set { background-color: var(--glass-2); border-color: var(--ink); font-weight: 800; }
select.pick option { color: #1a1420; background: #fff; }
.seg { display: inline-flex; border-radius: 999px; background: var(--well); padding: 3px; }
.seg button { border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; padding: 0 13px; min-height: 34px; border-radius: 999px; }
.seg button.on { background: var(--glass-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* shelf */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 26px 22px; }
.bk { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cover { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 34px rgba(0,0,0,.45), 0 0 0 1px var(--line); background: var(--glass); text-decoration: none; color: var(--ink); transition: transform .18s ease; }
.bk:hover .cover { transform: translateY(-4px); }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover .ph { position: absolute; inset: 0; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; border: 1px dashed var(--line); border-radius: 10px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.cover .ph .t { font-size: 17px; font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; }
.addcover { border: 0; background: transparent; padding: 6px 0; color: var(--accent-ink); font-size: 12px; font-weight: 800; text-align: left; }
.dl { display: flex; gap: 6px; }
.dl button { flex: 1; min-height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); font-size: 12px; font-weight: 800; }
.dl button:first-child { background: var(--solid); color: var(--on-solid); border-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .bk .dl { position: absolute; left: 8px; right: 8px; top: 0; z-index: 2; padding: 6px; border-radius: 12px; background: rgba(20,14,22,.5); border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; pointer-events: none; transition: opacity .15s; }
  .bk .dl button:last-child { color: #fff; background: transparent; border-color: rgba(255,255,255,.3); }
  .bk:hover .dl, .bk:focus-within .dl { opacity: 1; pointer-events: auto; }
}
.bk .ttl { font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.bk .sub { font-size: 12px; color: var(--muted); }
.bk .sub a { color: var(--muted); }
.marks { position: absolute; top: 8px; left: 8px; right: 8px; z-index: 3; display: flex; justify-content: space-between; pointer-events: none; }
.marks > * { pointer-events: auto; }
.mk { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: rgba(20,14,22,.6); color: #fff; font-size: 11px; font-weight: 800; border: 1px solid rgba(255,255,255,.25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mk.pin { color: #ffd166; }
.mk.live { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.tick { width: 26px; height: 26px; accent-color: var(--accent); }
.dots { display: flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.dots .ok { color: var(--ok-ink); }

/* list view + generic rows */
.list-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 12px 6px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.list-row .thumb { width: 38px; height: 57px; border-radius: 5px; object-fit: cover; background: var(--well); flex: none; }
.list-row .num { color: var(--muted); width: 62px; font-size: 13px; }
.list-row .name { flex: 1 1 240px; font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; }
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--track); color: var(--ink); white-space: nowrap; }
.badge.done { background: var(--ok-bg); color: var(--ok-ink); }
.badge.running { background: var(--rev-bg); color: var(--rev-ink); }
.badge.needs_input { background: var(--ask-bg); color: var(--ask-ink); }

.selbar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px 10px 20px; border-radius: 22px; background: var(--surface); width: max-content; max-width: calc(100% - 24px); font-weight: 700; }

/* book page */
.bookhead { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.bookhead .left { width: 260px; flex: none; display: flex; flex-direction: column; gap: 10px; }
.bookhead .right { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--well); border: 1px solid transparent; font-size: 14px; font-weight: 600; text-align: left; color: var(--ink); min-height: 52px; }
button.check:hover { border-color: var(--line); }
.check .box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--faint); flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.check.yes .box { background: var(--ok-ink); border-color: var(--ok-ink); color: #0b2a17; }
.check small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }

.bar { height: 10px; border-radius: 5px; background: var(--track); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--heat); }
.bar.sm { height: 6px; width: 64px; display: inline-block; vertical-align: middle; }
.heatmap { display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 4px; }
.heatmap div { height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.heatmap .empty { border: 1px dashed var(--line); color: var(--muted); }

.ch { display: flex; flex-direction: column; gap: 10px; padding: 16px 6px; border-top: 1px solid var(--line); }
.ch:first-child { border-top: 0; }
.ch-top { display: flex; gap: 18px; align-items: start; }
.ch-num { font-size: 26px; font-weight: 800; width: 42px; line-height: 1.1; flex: none; color: var(--accent-ink); }
.ch-num.wait { color: var(--faint); }
.ch-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ch-sum { color: var(--ink); text-decoration: none; line-height: 1.6; }
.ch-sum:hover { color: var(--accent-ink); }
.ch-sum.en { color: var(--muted); font-style: italic; font-size: 14px; }
.ch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.heat-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--heat-ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--heat); display: inline-block; }
.ch-status { flex: none; font-size: 12px; font-weight: 700; color: var(--muted); padding-top: 6px; }
.ch-status.run { color: var(--accent-ink); }
.notes { margin-left: 60px; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--note-bg); }
.note { display: flex; gap: 12px; font-size: 14px; line-height: 1.55; }
.tag { flex: none; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; height: fit-content; white-space: nowrap; }
.tag.Fixed { background: var(--ok-bg); color: var(--ok-ink); }
.tag.Decided { background: var(--dec-bg); color: var(--dec-ink); }
.tag.Review { background: var(--rev-bg); color: var(--rev-ink); }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { border: 1px solid transparent; background: var(--well); color: var(--muted); font-size: 14px; font-weight: 700; padding: 0 16px; min-height: 40px; border-radius: 999px; }
.tabs button.on { background: var(--solid); color: var(--on-solid); }

.reader { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 44px 56px; font-family: var(--read); font-size: 19px; line-height: 1.8; -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.reader p { margin: 0 0 1em; }
.reader p.heat { padding-left: 14px; border-left: 3px solid var(--heat); }
.reader .scene { text-align: center; color: var(--muted); }
.mono { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-x: auto; }
.okline { font-size: 13px; font-weight: 800; padding: 10px 14px; border-radius: 12px; background: var(--ok-bg); color: var(--ok-ink); }

.side { display: flex; flex-wrap: wrap; gap: 24px; align-items: start; }
.side nav { flex: 1 1 180px; max-width: 210px; display: flex; flex-direction: column; padding: 8px; border-radius: 20px; }
.side nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-size: 14px; padding: 10px 12px; border-radius: 12px; }
.side nav a.on { background: var(--glass-2); font-weight: 800; }
.side nav a.wait { color: var(--faint); }
.side .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.stat b { display: block; font-size: 26px; font-weight: 800; }

label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
input.inp, select.inp, textarea.inp { padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--well); color: var(--ink); font-weight: 400; font-size: 15px; width: 100%; }
select.inp option { color: #1a1420; background: #fff; }
textarea.inp { min-height: 110px; resize: vertical; line-height: 1.55; }
.file-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 6px; border-top: 1px solid var(--line); }
.file-row .fname { flex: 1 1 260px; font-weight: 700; word-break: break-all; }

.kdp { display: flex; flex-direction: column; gap: 6px; }
.kdp .line { display: flex; gap: 8px; align-items: flex-start; }
.kdp .line > :first-child { flex: 1; min-width: 0; }
.kdp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }

.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 190px; padding: 18px; border-radius: 18px; border: 2px dashed var(--line); background: var(--well); text-align: center; font-size: 14px; color: var(--muted); cursor: pointer; }
.drop.over { border-color: var(--accent); color: var(--ink); }
.drop b { color: var(--ink); }

.login { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.login form { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 16px; }
.err { color: var(--ask-ink); font-size: 14px; }

dialog { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--ink); padding: 24px; width: min(500px, calc(100vw - 32px)); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%); }
dialog::backdrop { background: rgba(0,0,0,.5); }
dialog form { display: flex; flex-direction: column; gap: 14px; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--solid); color: var(--on-solid); padding: 11px 18px; border-radius: 14px; font-size: 14px; font-weight: 700; z-index: 60; max-width: calc(100vw - 32px); box-shadow: var(--shadow); }
.series-box { padding: 20px; border-radius: 22px; display: flex; flex-direction: column; gap: 16px; }
details.card > summary { cursor: pointer; font-weight: 800; font-size: 17px; }
details.card[open] > summary { margin-bottom: 12px; }

@media (max-width: 640px) {
  .top { top: 8px; width: calc(100% - 16px); padding: 8px 10px; border-radius: 22px; }
  .brand span { display: none; }
  .search kbd { display: none; }
  main.wrap { padding: 18px 12px 120px; gap: 20px; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .hero .cover { width: 150px; margin: 0 auto; }
  .hero .panel { padding: 20px; }
  .bookhead .left { width: 100%; align-items: center; }
  .bookhead .left .cover { width: 200px; }
  .notes { margin-left: 0; }
  .reader { padding: 24px 20px; font-size: 17px; }
  .card { padding: 18px; }
  select.pick { max-width: 100%; flex: 1 1 140px; }
  .selbar { width: calc(100% - 16px); bottom: 8px; }
}
/* which Word and .md are on the web, and a newer-than-downloaded warning */
.vers { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.ver { display: flex; gap: 10px; align-items: baseline; }
.ver b { color: var(--ink); min-width: 42px; font-weight: 700; }
.check .warn { display: block; margin-top: 4px; color: var(--rev-ink); font-weight: 700; }
.dots .new { color: var(--rev-ink); }
