/* One horizontal row, using the site’s shared sliding segmented control. */
.library-category-picker { margin-bottom: 20px; }
.library-categories { display: flex; flex-wrap: nowrap; gap: 0; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; box-sizing: border-box; padding: 4px; border: 1px solid rgba(36,33,38,.08); border-radius: 14px; background: #fff; }
.library-categories.pb-segmented.pb-segmented.pb-segmented { flex-wrap: nowrap; width: fit-content; max-width: 100%; overflow-x: auto; }
.library-category { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border: 0; border-radius: 10px; background: transparent; color: #45414b; font: 600 14px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; }
.library-categories:not(.pb-segmented) .is-on { background: #242126; color: #fff; }
.library-categories a.library-category, .library-categories a.library-category:is(:hover,:focus-visible) { color: #45414b !important; text-decoration: none !important; }
.library-categories a.library-category.pb-segmented__selected, .library-categories:not(.pb-segmented) a.library-category.is-on { color: #fff !important; }
.library-category:focus-visible { outline: 2px solid #7c2dc5; outline-offset: -2px; }
@media(max-width:600px) {
    .library-categories .library-category,
    .library-categories.pb-segmented.pb-segmented.pb-segmented > .library-category { font-size: 13px; padding: 8px 10px; }
}
/* The category's line icon before its name (includes/category-picker.php), quiet like the menu's; brighter when selected. */
.library-category { gap: 7px; }
.library-category svg { flex: none; width: 15px; height: 15px; stroke-width: 1.5; opacity: .55; }
.library-category:is(.is-on, .pb-segmented__selected) svg { opacity: .85; }
@media(max-width:600px) { .library-category { gap: 6px; } .library-category svg { width: 14px; height: 14px; } }
