/* ═══════════════════════════════════════════════════════════════
   sibmac-home — Archive Toolbar (v3.16.0)
   ← عنوان  شمارنده … ⇅ مرتب‌سازی  ≡ فیلتر
   هم‌خانوادهٔ سیستم طراحی کارت‌های آرشیو و صفحهٔ دانلود (fx).
   ═══════════════════════════════════════════════════════════════ */
.sibmac-tb,
.sibmac-tb-panel,
.sibmac-tb-chips,
.sibmac-tb-overlay {
    /* همان سیستم طراحی کارت‌های آرشیو و صفحهٔ دانلود (fx / sibmac-card) */
    --tb-surface: #f4f6fa;
    --tb-surface-hover: #edf1f7;
    --tb-elevated: #ffffff;
    --tb-bg: var(--color-bg, var(--color-background, #ffffff));
    --tb-border: rgba(15, 23, 42, .06);
    --tb-divider: rgba(15, 23, 42, .08);
    --tb-ink: var(--color-text, #0f172a);
    --tb-muted: var(--color-text-muted, #5c687a);
    --tb-brand: var(--color-brand, #1a66d2);
    --tb-pill-bg: #e2edff;
    --tb-pill-ink: #1a66d2;
    --tb-on-brand: #ffffff;
    --tb-shadow-soft: 0 2px 10px rgba(15, 23, 42, .03);
    --tb-shadow-hover: 0 12px 26px rgba(15, 23, 42, .11);
    --tb-shadow-panel: 0 18px 44px rgba(15, 23, 42, .16);
    --tb-radius: 20px;
    --tb-radius-btn: 14px;
    --tb-pill: 999px;
    --sibmac-tb-top: 0px;
}
html.dark_mod .sibmac-tb, html.dark_mod .sibmac-tb-panel, html.dark_mod .sibmac-tb-chips,
body.dark_mod .sibmac-tb, body.dark_mod .sibmac-tb-panel, body.dark_mod .sibmac-tb-chips,
html[data-theme="dark"] .sibmac-tb, html[data-theme="dark"] .sibmac-tb-panel, html[data-theme="dark"] .sibmac-tb-chips,
html[data-color-mode="dark"] .sibmac-tb, html[data-color-mode="dark"] .sibmac-tb-panel, html[data-color-mode="dark"] .sibmac-tb-chips,
body.dark-mode .sibmac-tb, body.dark-mode .sibmac-tb-panel, body.dark-mode .sibmac-tb-chips,
html.dark-mode .sibmac-tb, html.dark-mode .sibmac-tb-panel, html.dark-mode .sibmac-tb-chips {
    --tb-surface: #181c23;
    --tb-surface-hover: #242b36;
    --tb-elevated: #202630;
    --tb-bg: var(--color-bg, var(--color-background, #0f1115));
    --tb-border: rgba(255, 255, 255, .08);
    --tb-divider: rgba(255, 255, 255, .1);
    --tb-ink: var(--color-text, #f1f5f9);
    --tb-muted: var(--color-text-muted, #94a3b8);
    --tb-brand: #5ba4ff;
    --tb-pill-bg: rgba(91, 164, 255, .15);
    --tb-pill-ink: #8cc0ff;
    --tb-shadow-soft: 0 2px 12px rgba(0, 0, 0, .28);
    --tb-shadow-hover: 0 14px 28px rgba(0, 0, 0, .42);
    --tb-shadow-panel: 0 22px 50px rgba(0, 0, 0, .55);
}

/* ── عناصر قدیمی قالب در این صفحات ── */
body.sibmac-has-archive-toolbar .software-archive-header {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
body.sibmac-has-archive-toolbar .software-archive-controls,
body.sibmac-has-archive-toolbar .primary-content > .sorting-bar,
body.sibmac-has-archive-toolbar .software-archive-sorting-bar,
body.sibmac-has-archive-toolbar .homepage-sorting-bar,
body.sibmac-has-archive-toolbar .sibmac-archive-subcategories,
body.sibmac-has-archive-toolbar .software-grid-heading {
    /* در DOM می‌مانند (AJAX مرتب‌سازی قالب به لینک‌هایشان نیاز دارد) ولی دیده نمی‌شوند */
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* breadcrumb بصری در همهٔ عرض‌ها پنهان است (تیتر + فلش + خط مادر جایش را می‌گیرند؛ اسکیمای BreadcrumbList دست‌نخورده می‌ماند) */
body.sibmac-has-archive-toolbar .primary-content .breadcrumbs,
body.sibmac-has-archive-toolbar .primary-content .breadcrumbs-wrapper,
body.sibmac-has-archive-toolbar .primary-content .breadcrumb,
body.sibmac-has-archive-toolbar .primary-content .fx-crumb-bar,
body.sibmac-has-archive-toolbar .primary-content .seopress-breadcrumbs,
body.sibmac-has-archive-toolbar .primary-content [class*="breadcrumb"],
body.sibmac-has-archive-toolbar .primary-content [id*="breadcrumb"],
body.sibmac-has-archive-toolbar .primary-content nav[aria-label*="readcrumb"],
body.sibmac-has-archive-toolbar .primary-content [typeof="BreadcrumbList"],
body.sibmac-has-archive-toolbar .primary-content [itemtype*="BreadcrumbList"],
body.sibmac-has-archive-toolbar .software-archive-breadcrumbs,
body.sibmac-has-archive-toolbar .sibmac-tb-crumbs,
body.sibmac-has-archive-toolbar .sibmac-tb-crumb-hidden { display: none !important; }
/* مستقل از کلاس body (اگر قالب body_class را خروجی ندهد) */
.sibmac-tb-crumb-hidden, .sibmac-tb-crumbs { display: none !important; }
html.sibmac-tb-lock, html.sibmac-tb-lock body { overflow: hidden; }

/* ── خنثی‌سازی استایل عمومی دکمه/لینک قالب ── */
.sibmac-tb button,
.sibmac-tb-panel button {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}
.sibmac-tb :is(button, a):focus { outline: none; }
.sibmac-tb-panel :is(button, a):focus { outline: none; }
.sibmac-tb :is(button, a):focus-visible,
.sibmac-tb-panel :is(button, a):focus-visible {
    outline: 2px solid var(--tb-brand) !important;
    outline-offset: 2px;
}
.sibmac-tb a,
.sibmac-tb-panel a { text-decoration: none !important; }

/* ═════════ نوار ═════════ */
.sibmac-tb {
    position: sticky;
    top: var(--sibmac-tb-top, 0px);
    z-index: 60;
    margin: 0 0 20px;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
/* فقط در حالت چسبیده پس‌زمینه می‌گیرد — همان رنگ واقعی پس‌زمینهٔ صفحه (توسط JS خوانده می‌شود) */
.sibmac-tb.is-stuck {
    background: var(--sibmac-tb-page-bg, var(--tb-bg));
    border-bottom-color: var(--tb-border);
    box-shadow: 0 8px 20px rgba(31, 41, 55, .05);
}
.sibmac-tb__count { display: none !important; }
.sibmac-tb-facet__n { display: none !important; }
.sibmac-tb-sentinel { height: 1px; margin-top: -1px; visibility: hidden; }
.sibmac-tb__in {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 10px 0;
}
.sibmac-tb__heading { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; }
.sibmac-tb__parent,
.sibmac-tb__parent:is(:hover, :focus, :active) {
    display: block; max-width: 100%; margin: 0 0 1px; padding: 0; border: 0; background: transparent; box-shadow: none; text-decoration: none;
    font: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--tb-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (hover: hover) { .sibmac-tb__parent:hover { color: var(--tb-brand); } }
.sibmac-tb__parent:focus-visible { outline: 2px solid var(--tb-brand); outline-offset: 2px; border-radius: 4px; }
.sibmac-tb__parent[hidden] { display: none; }
.sibmac-tb__parent { display: inline-flex !important; align-items: center; gap: 4px; margin-inline-start: -2px; }
.sibmac-tb__parent-arrow { display: inline-flex; flex: none; width: 16px; height: 16px; }
.sibmac-tb__parent-arrow svg { width: 16px; height: 16px; }
.sibmac-tb__parent-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sibmac-tb-cats[hidden] { display: none; }
.sibmac-tb__title {
    margin: 0 !important;
    padding: 0 !important;
    font: inherit;
    font-size: clamp(20px, 2.4vw, 24px) !important;
    font-weight: 700 !important;
    line-height: 1.4;
    color: var(--tb-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: start !important;
    width: auto !important;
    max-width: none !important;
}
.sibmac-tb__count {
    font-size: 17px;
    font-weight: 600;
    color: var(--tb-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.sibmac-tb__spacer { flex: 1; }

/* دکمه‌ها — هم‌خانوادهٔ کپسول «دانلود» کارت‌ها و دکمه‌های ثانویهٔ صفحهٔ دانلود */
.sibmac-tb__btn,
.sibmac-tb__btn:is(:hover, :focus, :active, :visited) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-btn);
    background: var(--tb-surface);
    color: var(--tb-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    box-shadow: var(--tb-shadow-soft) !important;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
@media (hover: hover) and (pointer: fine) {
    .sibmac-tb__btn:hover {
        background: var(--tb-surface-hover);
        box-shadow: var(--tb-shadow-soft) !important;
    }
}
.sibmac-tb__btn.is-active,
.sibmac-tb__btn[aria-expanded="true"],
.sibmac-tb__btn.is-active:is(:hover, :focus, :active),
.sibmac-tb__btn[aria-expanded="true"]:is(:hover, :focus, :active) {
    background: var(--tb-pill-bg);
    border-color: transparent;
    color: var(--tb-pill-ink);
}
.sibmac-tb__ico { display: inline-flex; }
.sibmac-tb__ico svg { width: 18px; height: 18px; }
.sibmac-tb__caret { display: inline-flex; opacity: .65; }
.sibmac-tb__caret svg { width: 13px; height: 13px; transition: transform .18s ease; }
.sibmac-tb__btn[aria-expanded="true"] .sibmac-tb__caret svg { transform: rotate(180deg); }
.sibmac-tb__dot {
    position: absolute;
    top: 8px;
    inset-inline-end: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tb-pill-ink);
    box-shadow: 0 0 0 2px var(--tb-surface);
}

/* ═════════ Overlay ═════════ */
.sibmac-tb-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(17, 24, 39, .42);
    opacity: 0;
    transition: opacity .22s ease;
}
.sibmac-tb-overlay.is-open { opacity: 1; }
.sibmac-tb-overlay.is-light { background: transparent; }

/* ═════════ پنل‌ها (هم‌خانوادهٔ .software-filter-panel قالب) ═════════ */
.sibmac-tb-panel {
    position: fixed;
    z-index: 9010;
    display: flex;
    flex-direction: column;
    background: var(--tb-elevated);
    color: var(--tb-ink);
    border: 1px solid var(--tb-border);
    box-shadow: var(--tb-shadow-panel);
    direction: rtl;
    box-sizing: border-box;
}
/* display:flex بالا صفت hidden را خنثی می‌کند → پنل بسته نامرئی ولی روی کارت‌ها می‌ماند و هاور را می‌بلعد */
.sibmac-tb-panel[hidden], .sibmac-tb-overlay[hidden] { display: none !important; pointer-events: none !important; }
.sibmac-tb-panel:not(.is-open), .sibmac-tb-overlay:not(.is-open) { pointer-events: none; }
.sibmac-tb-panel__grab { display: none; width: 40px; height: 4px; margin: 8px auto 0; border-radius: 2px; background: var(--tb-border); }
.sibmac-tb-panel__head {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 12px;
    padding: 14px 4px 10px;
    border-bottom: 1px solid var(--tb-divider);
    font-size: 15px;
    font-weight: 800;
    color: var(--tb-ink);
}
.sibmac-tb-panel__close,
.sibmac-tb-panel__close:is(:hover, :focus, :active) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--tb-surface);
    color: var(--tb-ink);
    cursor: pointer;
}
@media (hover: hover) { .sibmac-tb-panel__close:hover { background: var(--tb-surface-hover); } }
.sibmac-tb-panel__close svg { width: 16px; height: 16px; }
.sibmac-tb-panel__body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 12px calc(14px + env(safe-area-inset-bottom, 0px));
    scrollbar-width: thin;
    scrollbar-color: var(--tb-muted) transparent;
}
.sibmac-tb-panel__body::-webkit-scrollbar { width: 6px; }
.sibmac-tb-panel__body::-webkit-scrollbar-thumb { background: var(--tb-muted); border-radius: 999px; }
.sibmac-tb-panel__sec {
    padding: 14px 12px 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tb-muted);
}

/* گزینه‌ها — مثل .software-filter-option قالب (۴۲px، muted، فعال = برند) */
.sibmac-tb-opt,
.sibmac-tb-tree__all,
.sibmac-tb-opt:is(:hover, :focus, :active, :visited),
.sibmac-tb-tree__all:is(:hover, :focus, :active, :visited) {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 12px;
    background: transparent;
    color: var(--tb-ink);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.6;
    box-sizing: border-box;
    transition: background-color .16s ease, color .16s ease;
}
@media (hover: hover) {
    .sibmac-tb-opt:hover,
    .sibmac-tb-tree__all:hover { background: var(--tb-surface); color: var(--tb-ink); }
}
.sibmac-tb-opt__txt { flex: 1; }
.sibmac-tb-opt__chk { display: inline-flex; margin-inline-start: auto; color: var(--tb-pill-ink); opacity: 0; }
.sibmac-tb-opt__chk svg { width: 18px; height: 18px; }
.sibmac-tb-opt.is-on,
.sibmac-tb-tree__all.is-on,
.sibmac-tb-opt.is-on:is(:hover, :focus, :active),
.sibmac-tb-tree__all.is-on:is(:hover, :focus, :active) { background: var(--tb-pill-bg); color: var(--tb-pill-ink); font-weight: 800; }
.sibmac-tb-opt.is-on .sibmac-tb-opt__chk,
.sibmac-tb-tree__all.is-on .sibmac-tb-opt__chk { opacity: 1; }

/* درخت دسته‌ها */
.sibmac-tb-tree { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 2px; }
.sibmac-tb-tree__item { margin: 0 !important; padding: 0 !important; }
.sibmac-tb-tree__row { position: relative; display: flex; align-items: center; min-height: 42px; }
.sibmac-tb-tree__link,
.sibmac-tb-tree__link:is(:hover, :focus, :active, :visited) {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 12px;
    background: transparent;
    color: var(--tb-ink);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.6;
    transition: background-color .16s ease, color .16s ease;
}
@media (hover: hover) { .sibmac-tb-tree__link:hover { background: var(--tb-surface); } }
.sibmac-tb-tree__link.is-on,
.sibmac-tb-tree__link.is-on:is(:hover, :focus, :active) { background: var(--tb-pill-bg); color: var(--tb-pill-ink); }
.sibmac-tb-tree__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sibmac-tb-tree__n { font-size: 12px; font-weight: 500; color: var(--tb-muted); font-variant-numeric: tabular-nums; }
.sibmac-tb-tree__link.is-on .sibmac-tb-tree__n { color: inherit; opacity: .8; }
.sibmac-tb-tree__n.is-zero { opacity: .45; }
.sibmac-tb-tree__exp,
.sibmac-tb-tree__exp:is(:focus, :active) {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-inline: 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--tb-surface);
    color: var(--tb-muted);
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease;
}
@media (hover: hover) {
    .sibmac-tb-tree__exp:hover { background: var(--tb-surface-hover); color: var(--tb-ink); }
}
.sibmac-tb-tree__exp[aria-expanded="true"] { background: var(--tb-pill-bg); color: var(--tb-pill-ink); }
.sibmac-tb-tree__exp svg { width: 14px; height: 14px; transition: transform .2s ease; }
.sibmac-tb-tree__exp[aria-expanded="true"] svg { transform: rotate(180deg); }

.sibmac-tb-tree--sub { display: none; padding: 2px 18px 10px 0 !important; }
.sibmac-tb-tree__item.is-expanded > .sibmac-tb-tree--sub { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.sibmac-tb-tree--sub .sibmac-tb-tree__row { min-height: 0; }
.sibmac-tb-tree--sub .sibmac-tb-tree__link,
.sibmac-tb-tree--sub .sibmac-tb-tree__link:is(:hover, :focus, :active, :visited) {
    min-height: 34px;
    padding: 0 13px;
    gap: 6px;
    border: 0;
    border-radius: var(--tb-pill);
    background: var(--tb-surface);
    color: var(--tb-ink);
    font-size: 13px;
    font-weight: 600;
}
@media (hover: hover) {
    .sibmac-tb-tree--sub .sibmac-tb-tree__link:hover { background: var(--tb-surface-hover); }
}
.sibmac-tb-tree--sub .sibmac-tb-tree__link.is-on,
.sibmac-tb-tree--sub .sibmac-tb-tree__link.is-on:is(:hover, :focus, :active) {
    color: var(--tb-pill-ink);
    background: var(--tb-pill-bg);
}
.sibmac-tb-tree--sub .sibmac-tb-tree__link.is-on .sibmac-tb-tree__n { color: inherit; opacity: .8; }
.sibmac-tb-tree--sub .sibmac-tb-tree__n { font-size: 11.5px; }
.sibmac-tb-tree--sub .sibmac-tb-tree__exp { display: none; }
.sibmac-tb-tree--sub .sibmac-tb-tree--sub { display: contents; }

/* ═════════ Desktop (≥1024): Popover + Drawer ═════════ */
@media (min-width: 1024px) {
    .sibmac-tb-panel--sort {
        width: 250px;
        padding: 8px;
        border-radius: 18px;
        opacity: 0;
        transform: translateY(-6px);
        transform-origin: top;
        transition: opacity .16s ease, transform .16s ease;
    }
    .sibmac-tb-panel--sort.is-open { opacity: 1; transform: none; }
    .sibmac-tb-panel--sort .sibmac-tb-panel__head,
    .sibmac-tb-panel--sort .sibmac-tb-panel__grab { display: none; }
    .sibmac-tb-panel--sort .sibmac-tb-panel__body { padding: 0; }

    .sibmac-tb-panel--filter {
        top: 0;
        bottom: 0;
        left: 0;
        width: 360px;
        max-width: 92vw;
        border-width: 0 1px 0 0;
        transform: translateX(-100%);
        transition: transform .26s cubic-bezier(.2, .8, .2, 1);
    }
    .sibmac-tb-panel--filter.is-open { transform: none; }
}

/* ═════════ Tablet (768–1023): فقط آیکون ═════════ */
@media (max-width: 1023px) {
    .sibmac-tb__btn .sibmac-tb__lbl,
    .sibmac-tb__btn .sibmac-tb__caret { display: none; }
    .sibmac-tb__btn,
    .sibmac-tb__btn:is(:hover, :focus, :active) { width: 42px; min-height: 42px; padding: 0; justify-content: center; gap: 0; }

    .sibmac-tb-panel--sort,
    .sibmac-tb-panel--filter {
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 88vh;
        max-height: 88dvh;
        border-width: 1px 0 0;
        border-radius: var(--tb-radius) var(--tb-radius) 0 0;
        transform: translateY(100%);
        transition: transform .28s cubic-bezier(.2, .8, .2, 1);
    }
    .sibmac-tb-panel.is-open { transform: none; }
    .sibmac-tb-panel__grab { display: block; }
}

/* ═════════ Mobile (<768) ═════════ */
@media (max-width: 767px) {
    .sibmac-tb { margin-bottom: 12px; }
    .sibmac-tb__in { min-height: 56px; padding: 6px 0; gap: 4px; }
    .sibmac-tb__title { font-size: 20px !important; }
    .sibmac-tb__count { font-size: 16px; }
    /* موبایل: دکمه‌ها همان ظاهر دکمه‌ای دسکتاپ (سطح --tb-surface، گوشهٔ ۱۴px) را حفظ می‌کنند — فقط برچسب حذف می‌شود */
    .sibmac-tb__btn,
    .sibmac-tb__btn:is(:hover, :focus, :active) { background: var(--tb-surface); border-color: var(--tb-border); box-shadow: none !important; }
    .sibmac-tb__btn.is-active,
    .sibmac-tb__btn[aria-expanded="true"],
    .sibmac-tb__btn.is-active:is(:hover, :focus, :active),
    .sibmac-tb__btn[aria-expanded="true"]:is(:hover, :focus, :active) { background: var(--tb-pill-bg); color: var(--tb-pill-ink); border-color: transparent; }
    .sibmac-tb__in { gap: 8px; }
}

/* ═════════ v3.22.67 — حالت ادغام‌شده با هدر (موبایل) ═════════
   تیتر و دکمه‌ها به هدر منتقل شده‌اند؛ نوار ابزار فقط چیپ‌های فیلتر فعال و
   ردیف دسته‌ها را نگه می‌دارد. بدنه پنهان می‌شود تا ارتفاع اضافه نگیرد و
   چسبندگی دوم حذف می‌شود (بعضی قاعده‌ها با !important ست شده‌اند). */
@media (max-width: 767px) {
    .sibmac-tb.is-merged {
        position: static !important;
        top: auto !important;
        z-index: auto !important;
        margin: 0 0 4px;
        padding: 0;
        border-bottom: 0;
        box-shadow: none !important;
        background: transparent !important;
    }
    .sibmac-tb.is-merged > .sibmac-tb__in { display: none !important; }
    .sibmac-tb.is-merged.is-stuck { background: transparent !important; border-bottom-color: transparent !important; box-shadow: none !important; }
    /* دکمه‌های منتقل‌شده داخل هدر: فشرده و هم‌اندازهٔ آیکون ورود */
    .sibmac-top__actions .sibmac-tb__btn,
    .sibmac-top__actions .sibmac-tb__btn:is(:hover, :focus, :active) {
        width: 40px !important;
        min-width: 40px;
        height: 40px !important;
        min-height: 40px;
        max-height: 40px;
        padding: 0 !important;
        justify-content: center;
        gap: 0;
        border-radius: 50% !important;
        border: 0 !important;
        background: var(--sn-brand-light) !important;
        color: var(--sn-brand) !important;
        box-shadow: none !important;
        aspect-ratio: 1;
    }
    .sibmac-top__actions .sibmac-tb__btn.is-active,
    .sibmac-top__actions .sibmac-tb__btn[aria-expanded="true"],
    .sibmac-top__actions .sibmac-tb__btn.is-active:is(:hover, :focus, :active),
    .sibmac-top__actions .sibmac-tb__btn[aria-expanded="true"]:is(:hover, :focus, :active) {
        background: var(--sn-brand) !important;
        color: #fff !important;
    }
    .sibmac-top__actions .sibmac-tb__btn .sibmac-tb__lbl,
    .sibmac-top__actions .sibmac-tb__btn .sibmac-tb__caret { display: none !important; }
    .sibmac-top__actions .sibmac-tb__btn .sibmac-tb__ico svg { width: 19px; height: 19px; }
    /* نشان تعداد فیلتر در گوشهٔ دکمه */
    .sibmac-top__actions .sibmac-tb__btn .sibmac-tb__badge {
        position: absolute;
        top: -3px;
        inset-inline-end: -3px;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        font-size: 10.5px;
        line-height: 17px;
        box-shadow: 0 0 0 2px var(--sn-elevated);
    }
    /* تیتر در جای‌خالی هدر: تیتر و خط والد پشت‌سرهم و راست‌چین */
    .sibmac-top__title .sibmac-tb__heading { align-items: flex-start; width: 100%; gap: 0; }
    .sibmac-top__title .sibmac-tb__title { font-size: 17px !important; font-weight: 800 !important; text-align: right !important; line-height: 1.35; max-width: 100%; }
    .sibmac-top__title .sibmac-tb__parent { font-size: 11.5px; line-height: 1.25; margin: 0; }
    .sibmac-top__title .sibmac-tb__parent-arrow { width: 14px; height: 14px; }
    .sibmac-top__title .sibmac-tb__parent-arrow svg { width: 14px; height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .sibmac-tb, .sibmac-tb-panel, .sibmac-tb-overlay, .sibmac-tb__caret svg, .sibmac-tb-tree__exp svg { transition: none !important; }
}

/* ── وضعیت بارگذاری AJAX ── */
.sibmac-tb__count.is-loading { animation: sibmac-tb-pulse 1s ease-in-out infinite; }
body.sibmac-has-archive-toolbar .ajax-posts-container.is-loading { opacity: .55; pointer-events: none; transition: opacity .18s ease; }
@keyframes sibmac-tb-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* breadcrumb بازسازی‌شده پس از فیلتر AJAX — هم‌شکل breadcrumb قالب */
.sibmac-tb-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-block: 20px 8px; font-size: 12px; line-height: 1.8; color: inherit; }
.sibmac-tb-crumbs a { color: inherit; text-decoration: none; }
.sibmac-tb-crumbs a:hover { color: var(--color-brand, #1a66d2); }
.sibmac-tb-crumbs span[aria-hidden="true"] { color: var(--color-text-muted, #6b7280); }

/* ═════════ v3.16 — نشان عددی، چیپ‌های فعال، فیلترهای ویژگی، فهرست تخت ═════════ */
.sibmac-tb__badge {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--tb-brand);
    color: var(--tb-on-brand);
    font-size: 11px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    margin-inline-start: 2px;
}
.sibmac-tb__badge[hidden] { display: none; }
@media (max-width: 1023px) {
    /* دکمه فقط آیکون است → نشان در گوشه */
    .sibmac-tb__badge { position: absolute; top: -4px; inset-inline-end: -4px; margin: 0; box-shadow: 0 0 0 2px var(--sibmac-tb-page-bg, var(--tb-bg)); }
}
.sibmac-tb-live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* چیپ‌های فیلتر فعال زیر نوار */
.sibmac-tb-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 10px 0 14px;
    direction: rtl;
}
.sibmac-tb-chips[hidden] { display: none; }
.sibmac-tb-chip,
.sibmac-tb-chip:is(:hover, :focus, :active) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px 0 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #e2edff;
    color: #1a66d2;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color .16s ease, color .16s ease;
}
html.dark_mod .sibmac-tb-chip, body.dark_mod .sibmac-tb-chip, html[data-theme="dark"] .sibmac-tb-chip, body.dark-mode .sibmac-tb-chip, html.dark-mode .sibmac-tb-chip { background: rgba(91, 164, 255, .15); color: #8cc0ff; }
.sibmac-tb-chip__x {
    display: inline-flex; width: 20px; height: 20px; margin-inline-end: -2px; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--tb-muted, #5c687a); /* دایرهٔ سفید: کنترل جدا، خنثی (حذف ≠ اقدام اصلی) */
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
    transition: background-color .16s ease, color .16s ease;
}
html.dark_mod .sibmac-tb-chip__x, body.dark_mod .sibmac-tb-chip__x, html[data-theme="dark"] .sibmac-tb-chip__x, body.dark-mode .sibmac-tb-chip__x, html.dark-mode .sibmac-tb-chip__x { background: rgba(255, 255, 255, .12); box-shadow: none; }
.sibmac-tb-chip__x svg { width: 11px; height: 11px; }
/* هاور = حس «حذف»: چیپ همان‌رنگ می‌ماند، ضربدر به قرمز ملایم می‌رود */
@media (hover: hover) {
    .sibmac-tb-chip:not(.sibmac-tb-chip--clear):hover { background: #d7e6ff; }
    .sibmac-tb-chip:not(.sibmac-tb-chip--clear):hover .sibmac-tb-chip__x { background: #fde8e8; color: #dc2626; }
    html.dark_mod .sibmac-tb-chip:not(.sibmac-tb-chip--clear):hover, body.dark_mod .sibmac-tb-chip:not(.sibmac-tb-chip--clear):hover, html[data-theme="dark"] .sibmac-tb-chip:not(.sibmac-tb-chip--clear):hover, body.dark-mode .sibmac-tb-chip:not(.sibmac-tb-chip--clear):hover, html.dark-mode .sibmac-tb-chip:not(.sibmac-tb-chip--clear):hover { background: rgba(91, 164, 255, .22); }
    html.dark_mod .sibmac-tb-chip:hover .sibmac-tb-chip__x, body.dark_mod .sibmac-tb-chip:hover .sibmac-tb-chip__x, html[data-theme="dark"] .sibmac-tb-chip:hover .sibmac-tb-chip__x, body.dark-mode .sibmac-tb-chip:hover .sibmac-tb-chip__x, html.dark-mode .sibmac-tb-chip:hover .sibmac-tb-chip__x { background: rgba(248, 113, 113, .18); color: #f87171; }
}
.sibmac-tb-chip:focus-visible .sibmac-tb-chip__x { background: #fde8e8; color: #dc2626; }
.sibmac-tb-chip--clear,
.sibmac-tb-chip--clear:is(:hover, :focus, :active) { background: transparent; color: var(--color-text-muted, #5c687a); border-color: rgba(15, 23, 42, .1); }
@media (hover: hover) { .sibmac-tb-chip--clear:hover { color: var(--color-text, #0f172a); background: rgba(15, 23, 42, .04); } }
.sibmac-tb-chip:focus-visible { outline: 2px solid #1a66d2; outline-offset: 2px; }

/* فیلترهای ویژگی */
.sibmac-tb-facets { padding-bottom: 6px; border-bottom: 1px solid var(--tb-divider); margin-bottom: 4px; }
.sibmac-tb-facet[hidden] { display: none; }
.sibmac-tb-facet__opts { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 4px 8px; }
.sibmac-tb-facet--toggle .sibmac-tb-facet__opts { padding-top: 8px; }
.sibmac-tb-facet__opt,
.sibmac-tb-facet__opt:is(:hover, :focus, :active) {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--tb-border);
    border-radius: 999px;
    background: var(--tb-surface);
    color: var(--tb-ink);
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.sibmac-tb-facet__opt[hidden] { display: none; }
@media (hover: hover) { .sibmac-tb-facet__opt:hover { background: var(--tb-surface-hover); } }
.sibmac-tb-facet__opt.is-on,
.sibmac-tb-facet__opt.is-on:is(:hover, :focus, :active) { background: var(--tb-pill-bg); color: var(--tb-pill-ink); border-color: transparent; }
.sibmac-tb-facet__chk { display: none; width: 14px; height: 14px; }
.sibmac-tb-facet__chk svg { width: 14px; height: 14px; }
.sibmac-tb-facet__opt.is-on .sibmac-tb-facet__chk { display: inline-flex; }
.sibmac-tb-facet__n { font-size: 11.5px; font-weight: 600; color: var(--tb-muted); font-variant-numeric: tabular-nums; }
.sibmac-tb-facet__opt.is-on .sibmac-tb-facet__n { color: inherit; opacity: .8; }
.sibmac-tb-facet__n:empty { display: none; }
/* گزینه‌های سوئیچی (بروزشده / امتیاز) — تمام‌عرض با سوئیچ */
.sibmac-tb-facet--toggle .sibmac-tb-facet__opts { padding: 0 4px; }
.sibmac-tb-facet--toggle .sibmac-tb-facet__opt,
.sibmac-tb-facet--toggle .sibmac-tb-facet__opt:is(:hover, :focus, :active) { width: 100%; justify-content: flex-start; min-height: 44px; padding: 0 12px; border-radius: 12px; border-color: transparent; background: transparent; }
@media (hover: hover) { .sibmac-tb-facet--toggle .sibmac-tb-facet__opt:hover { background: var(--tb-surface); } }
.sibmac-tb-facet--toggle .sibmac-tb-facet__opt.is-on,
.sibmac-tb-facet--toggle .sibmac-tb-facet__opt.is-on:is(:hover, :focus, :active) { background: transparent; color: var(--tb-ink); }
.sibmac-tb-facet--toggle .sibmac-tb-facet__txt { flex: 1; text-align: start; }
.sibmac-tb-facet__sw { position: relative; flex: 0 0 auto; width: 36px; height: 22px; border-radius: 999px; background: rgba(15, 23, 42, .14); transition: background-color .18s ease; }
.sibmac-tb-facet__sw::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .18s ease; }
.sibmac-tb-facet__opt.is-on .sibmac-tb-facet__sw { background: var(--tb-brand); }
.sibmac-tb-facet__opt.is-on .sibmac-tb-facet__sw::after { transform: translateX(-14px); }
html[dir="ltr"] .sibmac-tb-facet__opt.is-on .sibmac-tb-facet__sw::after { transform: translateX(14px); }

/* جستجوی دسته */
.sibmac-tb-catsearch,
.sibmac-tb-catsearch:focus {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
    margin: 2px 0 8px;
    padding: 0 14px;
    border: 1px solid var(--tb-border);
    border-radius: 12px;
    background: var(--tb-surface);
    color: var(--tb-ink);
    font: inherit;
    font-size: 13.5px;
    outline: none;
    box-shadow: none;
}
.sibmac-tb-catsearch:focus-visible { outline: 2px solid var(--tb-brand); outline-offset: 1px; }
.sibmac-tb-catsearch::-webkit-search-cancel-button { -webkit-appearance: none; }
.sibmac-tb-nocats { padding: 14px 12px; color: var(--tb-muted); font-size: 13px; text-align: center; }
.sibmac-tb-nocats[hidden], .sibmac-tb-tree__item[hidden] { display: none; }

/* چیپ‌های پرکاربرد */
.sibmac-tb-popular__lbl { padding: 2px 12px 6px; font-size: 11.5px; font-weight: 600; color: var(--tb-muted); }
.sibmac-tb-popular { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px 10px; }
.sibmac-tb-popular__chip,
.sibmac-tb-popular__chip:is(:hover, :focus, :active, :visited) { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--tb-border); border-radius: 999px; background: var(--tb-surface); color: var(--tb-ink); font-size: 12.5px; font-weight: 700; line-height: 1; transition: background-color .16s ease, color .16s ease; }
@media (hover: hover) { .sibmac-tb-popular__chip:hover { background: var(--tb-surface-hover); } }
.sibmac-tb-popular__chip.is-on,
.sibmac-tb-popular__chip.is-on:is(:hover, :focus, :active) { background: var(--tb-pill-bg); color: var(--tb-pill-ink); border-color: transparent; }

/* آیکون دسته در فهرست */
.sibmac-tb-tree__ico { display: inline-flex; flex: 0 0 auto; width: 22px; height: 22px; align-items: center; justify-content: center; color: var(--tb-muted); }
.sibmac-tb-tree__ico :is(svg, img, i) { width: 20px; height: 20px; font-size: 18px; object-fit: contain; }
.sibmac-tb-tree__link.is-on .sibmac-tb-tree__ico { color: inherit; }
.sibmac-tb-panel__sec--cats { padding-top: 10px; }

/* «پاک‌کردن همه» در سربرگ پنل */
.sibmac-tb-panel__ttl { flex: 1; }
.sibmac-tb-panel__clear,
.sibmac-tb-panel__clear:is(:hover, :focus, :active) {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--tb-brand);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
@media (hover: hover) { .sibmac-tb-panel__clear:hover { background: var(--tb-pill-bg); } }
.sibmac-tb-panel__clear[hidden] { display: none; }

/* پیشنهاد یک‌بارهٔ Apple Silicon */
.sibmac-tb-hint {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 10px 14px;
    border: 1px solid rgba(26, 102, 210, .14);
    border-radius: 16px;
    background: #eef4ff;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 700;
    direction: rtl;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .2s ease, transform .2s ease;
}
html.dark_mod .sibmac-tb-hint, body.dark_mod .sibmac-tb-hint, html[data-theme="dark"] .sibmac-tb-hint, body.dark-mode .sibmac-tb-hint, html.dark-mode .sibmac-tb-hint { background: rgba(91, 164, 255, .12); color: #f1f5f9; border-color: rgba(91, 164, 255, .22); }
.sibmac-tb-hint.is-in { opacity: 1; transform: none; }
.sibmac-tb-hint.is-out { opacity: 0; transform: translateY(-4px); }
.sibmac-tb-hint__ico { display: inline-flex; color: #1a66d2; }
.sibmac-tb-hint__ico svg { width: 20px; height: 20px; }
.sibmac-tb-hint__txt { flex: 1 1 220px; line-height: 1.7; }
.sibmac-tb-hint__btn,
.sibmac-tb-hint__btn:is(:hover, :focus, :active) { min-height: 34px; padding: 0 14px; border: 1px solid rgba(15, 23, 42, .1); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: none !important; -webkit-appearance: none; appearance: none; }
.sibmac-tb-hint__btn--yes,
.sibmac-tb-hint__btn--yes:is(:hover, :focus, :active) { background: #1a66d2; color: #fff; border-color: transparent; }
.sibmac-tb-hint__btn:focus-visible { outline: 2px solid #1a66d2; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .sibmac-tb-hint { transition: none; } }

.sibmac-tb-facets[hidden] { display: none; }

/* انتخاب‌گر سه‌حالتهٔ «مک من»: همه | Apple Silicon | Intel */
.sibmac-tb-facet--seg .sibmac-tb-facet__opts.sibmac-tb-seg {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0;
    padding: 3px; margin: 2px 4px 8px; border-radius: 12px; background: var(--tb-surface);
}
.sibmac-tb-seg .sibmac-tb-seg__opt,
.sibmac-tb-seg .sibmac-tb-seg__opt:is(:hover, :focus, :active) {
    min-height: 36px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent;
    justify-content: center; color: var(--tb-muted); font-weight: 600; white-space: nowrap; transform: none;
}
@media (hover: hover) { .sibmac-tb-seg .sibmac-tb-seg__opt:hover { color: var(--tb-ink); background: transparent; } }
.sibmac-tb-seg .sibmac-tb-seg__opt.is-on,
.sibmac-tb-seg .sibmac-tb-seg__opt.is-on:is(:hover, :focus, :active) {
    background: var(--tb-elevated); color: var(--tb-brand); box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 0 0 1px rgba(15, 23, 42, .04);
}
.sibmac-tb-seg .sibmac-tb-seg__opt:focus-visible { outline: 2px solid var(--tb-brand); outline-offset: -2px; }
.sibmac-tb-seg .sibmac-tb-facet__txt { flex: 0 0 auto; text-align: center; }

/* بازخورد اعمال فیلتر داخل پنل (بدون عدد/متن): نوار پیشرفت باریک + نبض گزینهٔ انتخاب‌شده */
.sibmac-tb-panel { overflow: hidden; } /* پنل خودش fixed است؛ نوار پیشرفت نسبت به آن جای‌گذاری می‌شود */
.sibmac-tb-panel__progress { position: absolute; inset-inline: 0; top: 0; height: 2px; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.sibmac-tb-panel__progress::before { content: ''; position: absolute; top: 0; bottom: 0; inset-inline-start: -40%; width: 40%; border-radius: 999px; background: var(--tb-brand); }
.sibmac-tb-panel.is-busy .sibmac-tb-panel__progress { opacity: 1; }
.sibmac-tb-panel.is-busy .sibmac-tb-panel__progress::before { animation: sibmac-tb-progress 1s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes sibmac-tb-progress { 0% { inset-inline-start: -40%; } 100% { inset-inline-start: 100%; } }
.sibmac-tb-facet__opt.is-pulse { animation: sibmac-tb-pulse .42s ease-out; }
.sibmac-tb-seg .sibmac-tb-seg__opt.is-pulse { animation: sibmac-tb-pulse-seg .42s ease-out; }
@keyframes sibmac-tb-pulse { 0% { box-shadow: 0 0 0 0 rgba(26, 102, 210, .35); } 100% { box-shadow: 0 0 0 10px rgba(26, 102, 210, 0); } }
@keyframes sibmac-tb-pulse-seg { 0% { box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 0 0 0 rgba(26, 102, 210, .35); } 100% { box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 0 0 8px rgba(26, 102, 210, 0); } }
.sibmac-tb-facet--toggle .sibmac-tb-facet__opt.is-pulse { animation: none; }
.sibmac-tb-facet--toggle .sibmac-tb-facet__opt.is-pulse .sibmac-tb-facet__sw { animation: sibmac-tb-pulse .42s ease-out; }
@media (prefers-reduced-motion: reduce) {
    .sibmac-tb-facet__opt.is-pulse, .sibmac-tb-facet--toggle .sibmac-tb-facet__opt.is-pulse .sibmac-tb-facet__sw, .sibmac-tb-seg .sibmac-tb-seg__opt.is-pulse { animation: none; }
    .sibmac-tb-panel.is-busy .sibmac-tb-panel__progress::before { animation: none; inset-inline: 0; width: auto; opacity: .5; }
}

/* ───────── چیپ‌های دسته زیر عنوان آرشیو (ناوبری؛ جایگزین دسته‌ها در پنل فیلتر) ───────── */
.sibmac-tb-cats { margin: 2px 0 14px; }
.sibmac-tb-cats__list { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; -webkit-overflow-scrolling: touch; }
.sibmac-tb-cats__list::-webkit-scrollbar { display: none; }
.sibmac-tb-cats__chip, .sibmac-tb-cats__chip:is(:hover, :focus, :active, :visited) {
    flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px;
    background: var(--tb-surface, #f4f6fa); border: 1px solid var(--tb-border, rgba(15, 23, 42, .06)); color: var(--tb-ink, #0f172a);
    font-size: 13.5px; font-weight: 600; text-decoration: none !important; white-space: nowrap; box-shadow: none !important; outline: none;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
@media (hover: hover) { .sibmac-tb-cats__chip:hover { background: var(--tb-surface-hover, #edf1f7); } }
.sibmac-tb-cats__chip.is-on, .sibmac-tb-cats__chip.is-on:is(:hover, :focus, :visited) { background: var(--tb-pill-bg, #e2edff); color: var(--tb-pill-ink, #1a66d2); border-color: transparent; }
.sibmac-tb-cats__chip:focus-visible { outline: 2px solid var(--tb-brand, #1a66d2); outline-offset: 2px; }
html.dark_mod .sibmac-tb-cats__chip, body.dark_mod .sibmac-tb-cats__chip, html[data-theme="dark"] .sibmac-tb-cats__chip, body.dark-mode .sibmac-tb-cats__chip, html.dark-mode .sibmac-tb-cats__chip { background: #1b2028; border-color: rgba(255,255,255,.08); color: #f1f5f9; }
html.dark_mod .sibmac-tb-cats__chip.is-on, body.dark_mod .sibmac-tb-cats__chip.is-on, html[data-theme="dark"] .sibmac-tb-cats__chip.is-on, body.dark-mode .sibmac-tb-cats__chip.is-on, html.dark-mode .sibmac-tb-cats__chip.is-on { background: rgba(91,164,255,.15); color: #8cc0ff; }
