/* ============================================================
   Ryan's Book Blog — style.css
   Clean & minimal, light + dark mode
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg: #f8f8f6;
  --bg-card: #ffffff;
  --bg-sidebar: #ffffff;
  --bg-modal: #ffffff;
  --bg-input: #ffffff;
  --bg-hover: #f0f0ee;
  --bg-tag: #eeecea;
  --border: #e4e4e0;
  --border-input: #d0d0cc;
  --text: #1a1a18;
  --text-muted: #6b6b67;
  --text-faint: #9a9a96;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  --star-fill: #f59e0b;
  --star-empty: #e0e0dc;
  --badge-audio: #d1fae5;
  --badge-audio-text: #065f46;
  --badge-print: #dbeafe;
  --badge-print-text: #1e40af;
  --badge-ebook: #ede9fe;
  --badge-ebook-text: #5b21b6;
  --badge-finish: #d1fae5;
  --badge-finish-text: #065f46;
  --badge-reading: #fef3c7;
  --badge-reading-text: #92400e;
  --badge-want: #f3f4f6;
  --badge-want-text: #374151;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --sidebar-w: 260px;
  --header-h: 60px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --transition: 150ms ease;
}

[data-theme="dark"] {
  --bg: #111110;
  --bg-card: #1c1c1a;
  --bg-sidebar: #161614;
  --bg-modal: #1c1c1a;
  --bg-input: #242422;
  --bg-hover: #242422;
  --bg-tag: #2a2a28;
  --border: #2e2e2c;
  --border-input: #3a3a38;
  --text: #f0f0ee;
  --text-muted: #9a9a96;
  --text-faint: #6b6b67;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-light: #1e3a5f;
  --star-fill: #f59e0b;
  --star-empty: #3a3a38;
  --badge-audio: #064e3b;
  --badge-audio-text: #6ee7b7;
  --badge-print: #1e3a5f;
  --badge-print-text: #93c5fd;
  --badge-ebook: #3b0764;
  --badge-ebook-text: #c4b5fd;
  --badge-finish: #064e3b;
  --badge-finish-text: #6ee7b7;
  --badge-reading: #451a03;
  --badge-reading-text: #fcd34d;
  --badge-want: #1f2937;
  --badge-want-text: #9ca3af;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,.4);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.5);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: var(--font); }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), border-color var(--transition);
}
.header-left { display: flex; align-items: center; gap: 10px; }
.header-center { flex: 1; display: flex; justify-content: center; }
.header-right { display: flex; align-items: center; gap: 8px; }

.site-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.3px;
  white-space: nowrap;
}
.site-title span { color: var(--accent); }

.book-count {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 2px 10px;
  white-space: nowrap;
}

/* ---------- Hamburger / Sidebar ---------- */
.hamburger-btn {
  width: 36px; height: 36px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
  background: none; border: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger-btn:hover { background: var(--bg-hover); }
.hamburger-btn span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 200ms, opacity 200ms;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sidebar-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 150;
  opacity: 0; pointer-events: none;
  transition: opacity 200ms;
}
.sidebar-overlay.visible { opacity: 1; pointer-events: auto; }

.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  z-index: 200;
  transform: translateX(calc(-1 * var(--sidebar-w)));
  transition: transform 220ms cubic-bezier(.4,0,.2,1), background var(--transition);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.sidebar.open { transform: translateX(0); }

.sidebar-header {
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.sidebar-logo { font-size: .95rem; font-weight: 700; color: var(--text); }
.sidebar-logo span { color: var(--accent); }
.sidebar-close {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; border-radius: var(--radius-sm);
  font-size: 1.1rem; color: var(--text-muted);
  transition: background var(--transition);
}
.sidebar-close:hover { background: var(--bg-hover); color: var(--text); }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 0; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  color: var(--text);
  font-size: .93rem;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.sidebar-nav a:hover { background: var(--bg-hover); }
.sidebar-nav a.active { background: var(--accent-light); color: var(--accent); font-weight: 600; }
.sidebar-nav .nav-icon { font-size: 1.1rem; width: 20px; text-align: center; }

.sidebar-section-label {
  padding: 10px 20px 4px;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-faint);
}

.sidebar-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}

/* ---------- Icon Buttons ---------- */
.icon-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}
.icon-btn:hover { background: var(--bg-hover); color: var(--text); }

/* ---------- Search Bar ---------- */
.search-wrap {
  position: relative;
  width: 100%; max-width: 440px;
}
.search-input {
  width: 100%;
  padding: 8px 36px 8px 36px;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: 99px;
  font-size: .88rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}
.search-icon {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  color: var(--text-faint); font-size: .85rem; pointer-events: none;
}
.search-clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text-faint);
  font-size: .85rem; padding: 2px 4px;
  display: none; cursor: pointer;
}
.search-clear.visible { display: block; }

/* ---------- Main Layout ---------- */
.main-container {
  padding-top: calc(var(--header-h) + 16px);
  min-height: 100vh;
}

.page-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

/* ---------- Filter Bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.filter-group {
  display: flex; align-items: center; gap: 6px;
}

.filter-select {
  appearance: none;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 6px 26px 6px 10px;
  font-size: .82rem;
  color: var(--text);
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b67' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border-color var(--transition);
}
.filter-select:focus { border-color: var(--accent); }

.filter-label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.filter-clear-btn {
  font-size: .8rem;
  padding: 5px 12px;
  background: none;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition);
}
.filter-clear-btn:hover { border-color: var(--accent); color: var(--accent); }

.advanced-toggle {
  font-size: .8rem;
  padding: 5px 12px;
  background: none;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  display: flex; align-items: center; gap: 4px;
  transition: all var(--transition);
}
.advanced-toggle:hover, .advanced-toggle.active {
  border-color: var(--accent); color: var(--accent);
}

.advanced-filters {
  display: none;
  padding: 12px 0 6px;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.advanced-filters.open { display: flex; }

/* Rating filter chips */
.rating-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.rating-chip {
  padding: 4px 10px;
  border: 1px solid var(--border-input);
  border-radius: 99px;
  font-size: .78rem;
  background: var(--bg-input);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 3px;
}
.rating-chip:hover { border-color: var(--star-fill); color: var(--text); }
.rating-chip.active { background: var(--star-fill); border-color: var(--star-fill); color: #fff; }

/* ---------- View Toggle ---------- */
.view-toggle { display: flex; gap: 2px; }
.view-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: .9rem;
  transition: all var(--transition);
}
.view-btn.active, .view-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Book Grid ---------- */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 20px;
}
.books-list { display: flex; flex-direction: column; gap: 1px; }

/* Grid Card */
.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 150ms, box-shadow 150ms, border-color 150ms;
  display: flex; flex-direction: column;
}
.book-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}

.book-cover-wrap {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--bg-tag);
  flex-shrink: 0;
}
.book-cover-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 300ms;
}
.book-card:hover .book-cover-wrap img { transform: scale(1.04); }
.cover-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  color: var(--text-faint); padding: 12px; text-align: center;
}
.cover-placeholder .cover-emoji { font-size: 2rem; }
.cover-placeholder .cover-title-text { font-size: .7rem; line-height: 1.3; }

.book-format-badge {
  position: absolute; top: 7px; right: 7px;
  font-size: .62rem; font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase; letter-spacing: .04em;
}
.fmt-audiobook { background: var(--badge-audio); color: var(--badge-audio-text); }
.fmt-print { background: var(--badge-print); color: var(--badge-print-text); }
.fmt-ebook { background: var(--badge-ebook); color: var(--badge-ebook-text); }

.book-card-body {
  padding: 10px;
  flex: 1; display: flex; flex-direction: column; gap: 4px;
}
.book-card-title {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-card-author {
  font-size: .74rem;
  color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.book-card-footer {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 4px;
  padding-top: 6px;
}
.stars { display: flex; gap: 1px; }
.stars .star { color: var(--star-empty); font-size: .75rem; }
.stars .star.filled { color: var(--star-fill); }
.book-card-date { font-size: .68rem; color: var(--text-faint); }

/* List Row */
.book-row {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.book-row:hover { background: var(--bg-hover); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.book-row-cover {
  width: 42px; height: 62px;
  object-fit: cover; border-radius: 4px;
  background: var(--bg-tag); flex-shrink: 0;
}
.book-row-info { flex: 1; min-width: 0; }
.book-row-title { font-size: .9rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.book-row-author { font-size: .8rem; color: var(--text-muted); }
.book-row-meta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  padding: 28px 0 8px;
}
.page-btn {
  min-width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--text-muted);
  background: var(--bg-card);
  transition: all var(--transition);
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.page-btn:disabled { opacity: .35; pointer-events: none; }
.page-ellipsis { color: var(--text-faint); font-size: .85rem; padding: 0 4px; }

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--text); }
.empty-state p { font-size: .88rem; }

/* ---------- Book Detail Page ---------- */
.detail-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem;
  color: var(--text-muted);
  padding: 8px 0 16px;
  transition: color var(--transition);
}
.detail-back:hover { color: var(--accent); text-decoration: none; }

.detail-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  max-width: 900px;
}
@media (max-width: 680px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-cover-col { display: flex; gap: 20px; align-items: flex-start; }
  .detail-cover { width: 120px; flex-shrink: 0; }
}

.detail-cover {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--bg-tag);
}

.detail-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
  color: var(--text);
}
.detail-author {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.detail-series {
  font-size: .85rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.detail-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.detail-stars { display: flex; gap: 2px; }
.detail-stars .star { font-size: 1.1rem; }
.detail-rating-num { font-size: .9rem; color: var(--text-muted); }

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  padding: 14px;
  background: var(--bg-tag);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.detail-meta-item { }
.detail-meta-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin-bottom: 2px; }
.detail-meta-value { font-size: .85rem; color: var(--text); }

.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.detail-tag {
  font-size: .75rem;
  padding: 3px 10px;
  background: var(--bg-tag);
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text-muted);
}

.detail-section-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-faint);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.detail-summary {
  font-size: .93rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.detail-review {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
}
.detail-review p { margin-bottom: .75em; }
.detail-review strong { font-weight: 700; }
.detail-review em { font-style: italic; }

/* ---------- Stats Page ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.stat-card-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--text-faint); margin-bottom: 6px; }
.stat-card-value { font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1; }
.stat-card-sub { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.chart-title { font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 16px; }

/* Bar chart */
.bar-chart { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-label { font-size: .78rem; color: var(--text-muted); width: 90px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0; }
.bar-track { flex: 1; height: 20px; background: var(--bg-tag); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 4px; transition: width 600ms cubic-bezier(.4,0,.2,1); }
.bar-count { font-size: .78rem; color: var(--text-muted); width: 32px; }

/* Donut / mini chart via CSS */
.mini-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.mini-stat-item { text-align: center; }
.mini-stat-value { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.mini-stat-label { font-size: .73rem; color: var(--text-muted); }

/* ---------- About Page ---------- */
.about-content {
  max-width: 680px;
  margin: 0 auto;
}
.about-content h2 { font-size: 1.5rem; margin-bottom: 12px; }
.about-content p { margin-bottom: 1em; color: var(--text-muted); line-height: 1.75; }
.about-content strong { color: var(--text); }

/* ---------- Utility ---------- */
.page-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}
.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .books-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
  .filter-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .search-wrap { max-width: 100%; }
  .detail-title { font-size: 1.3rem; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }

/* ---------- Loading ---------- */
.loading-spinner {
  display: flex; align-items: center; justify-content: center;
  padding: 60px;
  color: var(--text-muted);
  font-size: .9rem;
  gap: 10px;
}
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Status badges ---------- */
.status-badge {
  font-size: .65rem; font-weight: 700;
  padding: 2px 7px; border-radius: 99px;
  text-transform: capitalize;
}
.status-finished { background: var(--badge-finish); color: var(--badge-finish-text); }
.status-reading { background: var(--badge-reading); color: var(--badge-reading-text); }
.status-want { background: var(--badge-want); color: var(--badge-want-text); }
