.book-index-letter a { text-decoration: none; }
.book-index-title { text-decoration: underline; }
.book-index-category {
  display: inline-block;
  max-width: calc(100% - .35rem);
  margin-inline-start: .35rem;
  padding: .16rem .55rem;
  border-radius: 999px;
  background: var(--category-tint, #e9e4db);
  color: var(--tile, var(--ink));
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.3;
  vertical-align: .07em;
}
.book-index-category.mystery { --category-tint: #deeaed; }
.book-index-category.fantasy { --category-tint: #e1e6f2; }
.book-index-category.romance { --category-tint: #f1dfe4; }
.book-index-category.adventure { --category-tint: #dfe9dc; }
.book-index-category.history { --category-tint: #ecdfd1; }
.book-index-category.horror { --category-tint: #e5dfeb; }
.book-index-category.contemporary { --category-tint: #daebe6; }
.book-index-category.children { --category-tint: #f2e5c9; }
.book-index-category.teen { --category-tint: #eee2f1; }
.book-index-category.folklore { --category-tint: #e7ead5; }
