.category-buttons-bubble #categories li a {
    align-items: center;
    background: #001c2f4a;
    border: 2px solid #fefefe63;
    border-radius: 999px;
    box-shadow: none;
    box-sizing: border-box;
    color: #fff;
    display: inline-flex;
    gap: 0;
    height: 27px;
    justify-content: center;
    line-height: 1;
    padding: 0 2px 0 8px;
    text-shadow: none;
    transition: background-color 160ms ease, border-color 160ms ease;
    vertical-align: middle;
    white-space: nowrap;
}

.category-buttons-bubble #categories .category-button-border {
    display: none;
}

.category-buttons-bubble #categories .count {
    align-items: center;
    background: rgba(254, 254, 254, 0.15);
    border-radius: 50%;
    box-sizing: border-box;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-family: 'nerisbold';
    font-size: 10px;
    height: 19px;
    justify-content: center;
    line-height: 1;
    margin-left: 6px;
    width: 19px;
}

.category-buttons-bubble #categories li a:hover {
    background: #003f6b80;
    border-color: #fefefea6;
}

.category-buttons-bubble #categories li a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.category-buttons-bubble #categories li.active a,
.category-buttons-bubble #categories li.active a:hover {
    background: #1f80b8;
    border-color: #1f80b8;
    box-shadow: 0 2px 0 #003f6b;
    text-shadow: none;
}

.category-buttons-bubble #categories li.active .count {
    background: #0e6698;
    height: 23px;
    margin-left: 4px;
    width: 23px;
}

.category-buttons-bubble #categories li.active a {
    padding-right: 0;
}

.category-buttons-bubble #categories li:first-child a {
    padding-left: 10px;
    padding-right: 10px;
}

@media (prefers-reduced-motion: reduce) {
    .category-buttons-bubble #categories li a {
        transition: none;
    }
}
