/* Small inline format badges, scoped to homepage catalogue cards. */
#book-grid .book-bottom{align-items:center;gap:8px;min-height:30px}
#book-grid .book-bottom .book-format-icons{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font:11px/1.4 Arial,sans-serif}
#book-grid .book-bottom .book-format-icon{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font:inherit}
#book-grid .book-bottom .book-format-icon svg{width:16px;height:16px;flex:none}
#book-grid .book-bottom .book-format-icon span{color:inherit;font:inherit}
#book-grid .book-bottom .format-pdf{color:#a34432}
#book-grid .book-bottom .format-epub{color:#3d6848}
#book-grid .book-bottom .format-kindle{color:#986019}
#book-grid .book-bottom .format-paper{color:#35566d}
#book-grid .book-format-fallback{font:11px/1.4 Arial,sans-serif}
@media(max-width:480px){#book-grid .book-bottom .book-format-icons{gap:5px 7px;font-size:10px}#book-grid .book-bottom .book-format-icon{gap:3px}#book-grid .book-bottom .book-format-icon svg{width:14px;height:14px}}
