/* BOOKSFB2_DARK_THEME_FIX_20260528 */
html[data-bs-theme="dark"] {
    color-scheme: dark;
    --bs-body-bg: #120b06;
    --bs-body-color: #f4e7d0;
    --bs-tertiary-bg: #17100b;
    --bs-primary: #d3a24a;
    --bs-primary-rgb: 211, 162, 74;
    --bs-link-color: #f0c872;
    --bs-link-hover-color: #ffe1a1;
}

html[data-bs-theme="dark"],
html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] body.bg-body-tertiary,
html[data-bs-theme="dark"] #app,
html[data-bs-theme="dark"] #app > main,
html[data-bs-theme="dark"] .probooks-home-body {
    background: #120b06 !important;
    color: #f4e7d0 !important;
    -webkit-text-fill-color: initial !important;
}

html[data-bs-theme="dark"] .site-navbar,
html[data-bs-theme="dark"] .navbar,
html[data-bs-theme="dark"] .dropdown-menu {
    background: #1a1109 !important;
    border-color: rgba(218, 171, 86, .34) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .35) !important;
}

html[data-bs-theme="dark"] .navbar .nav-link,
html[data-bs-theme="dark"] .navbar .text-white-50,
html[data-bs-theme="dark"] .dropdown-item {
    color: #d8c5a6 !important;
    -webkit-text-fill-color: #d8c5a6 !important;
}

html[data-bs-theme="dark"] .navbar .nav-link:hover,
html[data-bs-theme="dark"] .navbar .nav-link.active,
html[data-bs-theme="dark"] .dropdown-item:hover {
    color: #f5ca76 !important;
    -webkit-text-fill-color: #f5ca76 !important;
}

html[data-bs-theme="dark"] .probooks-wordmark__books {
    color: #f3cf87 !important;
    -webkit-text-fill-color: #f3cf87 !important;
}

html[data-bs-theme="dark"] .probooks-wordmark__pro {
    background: linear-gradient(135deg, #a46b1d, #d4a142) !important;
    color: #fff7e7 !important;
    -webkit-text-fill-color: #fff7e7 !important;
}

html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .bg-white,
html[data-bs-theme="dark"] .bg-light,
html[data-bs-theme="dark"] .bg-dark-card,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .list-group-item,
html[data-bs-theme="dark"] .vertical-book-card-wrapper,
html[data-bs-theme="dark"] .book-card,
html[data-bs-theme="dark"] .catalog-grid-shell .card,
html[data-bs-theme="dark"] .probooks-home-routes__item,
html[data-bs-theme="dark"] .probooks-catalog-head,
html[data-bs-theme="dark"] .probooks-empty-catalog,
html[data-bs-theme="dark"] .probooks-collections-section,
html[data-bs-theme="dark"] .book-page-collection-card,
html[data-bs-theme="dark"] .footer-shell,
html[data-bs-theme="dark"] .profile-card,
html[data-bs-theme="dark"] .library-panel,
html[data-bs-theme="dark"] .book-description-wrap,
html[data-bs-theme="dark"] .book-page-description,
html[data-bs-theme="dark"] .book-page-meta,
html[data-bs-theme="dark"] .book-page-card,
html[data-bs-theme="dark"] .book-page-side,
html[data-bs-theme="dark"] .book-actions-card,
html[data-bs-theme="dark"] .reviews-card,
html[data-bs-theme="dark"] .comment-card {
    background: #1b120b !important;
    background-image: none !important;
    border-color: rgba(218, 171, 86, .32) !important;
    color: #f4e7d0 !important;
    -webkit-text-fill-color: initial !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28) !important;
}

html[data-bs-theme="dark"] .probooks-home-hero__main,
html[data-bs-theme="dark"] .probooks-home-hero__copy {
    background: linear-gradient(135deg, #2b1a10 0%, #8b612a 100%) !important;
    border-color: rgba(233, 190, 106, .35) !important;
    box-shadow: 0 22px 48px rgba(0, 0, 0, .34) !important;
}

html[data-bs-theme="dark"] .probooks-home-hero__feature,
html[data-bs-theme="dark"] .probooks-home-hero__dashboard,
html[data-bs-theme="dark"] .probooks-home-hero__note {
    background: #1e150e !important;
    border-color: rgba(218, 171, 86, .28) !important;
}

html[data-bs-theme="dark"] .probooks-home-hero__title,
html[data-bs-theme="dark"] .probooks-home-hero__text,
html[data-bs-theme="dark"] .probooks-home-hero__signals span {
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
}

html[data-bs-theme="dark"] h1,
html[data-bs-theme="dark"] h2,
html[data-bs-theme="dark"] h3,
html[data-bs-theme="dark"] h4,
html[data-bs-theme="dark"] h5,
html[data-bs-theme="dark"] h6,
html[data-bs-theme="dark"] .book-page-title,
html[data-bs-theme="dark"] .fw-bold,
html[data-bs-theme="dark"] .fw-semibold,
html[data-bs-theme="dark"] .text-white {
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
}

html[data-bs-theme="dark"] p,
html[data-bs-theme="dark"] .text-muted,
html[data-bs-theme="dark"] .text-secondary,
html[data-bs-theme="dark"] .small,
html[data-bs-theme="dark"] .breadcrumb,
html[data-bs-theme="dark"] .breadcrumb a,
html[data-bs-theme="dark"] .book-page-subtitle,
html[data-bs-theme="dark"] .book-page-description,
html[data-bs-theme="dark"] .book-description-wrap {
    color: #d8c5a6 !important;
    -webkit-text-fill-color: #d8c5a6 !important;
}

html[data-bs-theme="dark"] a,
html[data-bs-theme="dark"] .text-primary {
    color: #f0c872 !important;
    -webkit-text-fill-color: #f0c872 !important;
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] .input-group-text,
html[data-bs-theme="dark"] textarea,
html[data-bs-theme="dark"] input {
    background: #21160d !important;
    border-color: rgba(218, 171, 86, .42) !important;
    color: #f8ead1 !important;
    -webkit-text-fill-color: #f8ead1 !important;
}

html[data-bs-theme="dark"] .form-control::placeholder,
html[data-bs-theme="dark"] input::placeholder,
html[data-bs-theme="dark"] textarea::placeholder {
    color: #a9967a !important;
    -webkit-text-fill-color: #a9967a !important;
}

html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .probooks-register-btn,
html[data-bs-theme="dark"] .active > .page-link,
html[data-bs-theme="dark"] .page-item.active .page-link,
html[data-bs-theme="dark"] .catalog-layout-switch__button.is-active,
html[data-bs-theme="dark"] .library-layout-switch__button.is-active {
    background: linear-gradient(135deg, #9f681f, #d0a048) !important;
    border-color: #d0a048 !important;
    color: #fff7e7 !important;
    -webkit-text-fill-color: #fff7e7 !important;
}

html[data-bs-theme="dark"] .btn-outline-light,
html[data-bs-theme="dark"] .btn-outline-warning,
html[data-bs-theme="dark"] .btn-ghost,
html[data-bs-theme="dark"] .page-link,
html[data-bs-theme="dark"] .catalog-layout-switch,
html[data-bs-theme="dark"] .catalog-layout-switch__button,
html[data-bs-theme="dark"] .library-layout-switch,
html[data-bs-theme="dark"] .library-layout-switch__button {
    background: #1b120a !important;
    border-color: rgba(218, 171, 86, .42) !important;
    color: #f1c879 !important;
    -webkit-text-fill-color: #f1c879 !important;
}

html[data-bs-theme="dark"] .badge,
html[data-bs-theme="dark"] .book-page-badge,
html[data-bs-theme="dark"] .genre-badge,
html[data-bs-theme="dark"] .series-badge,
html[data-bs-theme="dark"] .author-badge,
html[data-bs-theme="dark"] .booksfb2-stat-badge {
    background: #2a1c10 !important;
    border-color: rgba(218, 171, 86, .42) !important;
    color: #f7d897 !important;
    -webkit-text-fill-color: #f7d897 !important;
}

html[data-bs-theme="dark"] .rating-stars,
html[data-bs-theme="dark"] .rating-stars *,
html[data-bs-theme="dark"] .bi-star,
html[data-bs-theme="dark"] .bi-star-fill {
    color: #d5b16c !important;
    -webkit-text-fill-color: #d5b16c !important;
}

html[data-bs-theme="dark"] .container[data-book-id],
html[data-bs-theme="dark"] .container[data-book-id] .book-primary-meta,
html[data-bs-theme="dark"] .container[data-book-id] .book-secondary-meta,
html[data-bs-theme="dark"] .container[data-book-id] .book-series-block,
html[data-bs-theme="dark"] .container[data-book-id] .book-user-rating-block,
html[data-bs-theme="dark"] .container[data-book-id] .book-genre-block,
html[data-bs-theme="dark"] .container[data-book-id] .book-stats-section,
html[data-bs-theme="dark"] .container[data-book-id] .book-reviews-section,
html[data-bs-theme="dark"] .container[data-book-id] .book-page-collections-section,
html[data-bs-theme="dark"] .container[data-book-id] #related-books-section {
    background: transparent !important;
    color: #f4e7d0 !important;
    -webkit-text-fill-color: initial !important;
    border-color: rgba(218, 171, 86, .28) !important;
}

html[data-bs-theme="dark"] .container[data-book-id] .book-description-wrap,
html[data-bs-theme="dark"] .container[data-book-id] .book-reviews-card,
html[data-bs-theme="dark"] .container[data-book-id] .book-page-collections-section,
html[data-bs-theme="dark"] .container[data-book-id] #related-books-section {
    background: #1b120b !important;
    border-color: rgba(218, 171, 86, .32) !important;
    color: #d8c5a6 !important;
    -webkit-text-fill-color: #d8c5a6 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28) !important;
}

html[data-bs-theme="dark"] .container[data-book-id] .text-white,
html[data-bs-theme="dark"] .container[data-book-id] .book-page-title,
html[data-bs-theme="dark"] .container[data-book-id] h1,
html[data-bs-theme="dark"] .container[data-book-id] h2,
html[data-bs-theme="dark"] .container[data-book-id] h3,
html[data-bs-theme="dark"] .container[data-book-id] .book-reviews-card__title,
html[data-bs-theme="dark"] .container[data-book-id] .book-rating-number,
html[data-bs-theme="dark"] .container[data-book-id] .book-status-label,
html[data-bs-theme="dark"] .container[data-book-id] #average-rating-display,
html[data-bs-theme="dark"] .container[data-book-id] #stats-average-rating-display {
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
}

html[data-bs-theme="dark"] .container[data-book-id] .text-muted,
html[data-bs-theme="dark"] .container[data-book-id] .book-page-meta,
html[data-bs-theme="dark"] .container[data-book-id] .book-primary-meta,
html[data-bs-theme="dark"] .container[data-book-id] .book-secondary-meta,
html[data-bs-theme="dark"] .container[data-book-id] .book-description-wrap,
html[data-bs-theme="dark"] .container[data-book-id] .book-description-wrap p {
    color: #d8c5a6 !important;
    -webkit-text-fill-color: #d8c5a6 !important;
}

html[data-bs-theme="dark"] .probooks-home-routes__label,
html[data-bs-theme="dark"] .probooks-home-routes__item h3,
html[data-bs-theme="dark"] .probooks-catalog-head h1,
html[data-bs-theme="dark"] .probooks-catalog-head h2,
html[data-bs-theme="dark"] .probooks-empty-catalog h2,
html[data-bs-theme="dark"] .probooks-home-hero__dashboard-title {
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
}

html[data-bs-theme="dark"] .probooks-home-routes__meta,
html[data-bs-theme="dark"] .probooks-home-routes__item p,
html[data-bs-theme="dark"] .probooks-home-hero__dashboard-kicker,
html[data-bs-theme="dark"] .probooks-home-hero__note,
html[data-bs-theme="dark"] .probooks-home-hero__note strong,
html[data-bs-theme="dark"] .probooks-home-hero__note span {
    color: #d8c5a6 !important;
    -webkit-text-fill-color: #d8c5a6 !important;
}

html[data-bs-theme="dark"] .probooks-home-routes__icon,
html[data-bs-theme="dark"] .probooks-home-hero__dashboard-grid span {
    background: #2a1c10 !important;
    border-color: rgba(218, 171, 86, .35) !important;
    color: #f7d897 !important;
    -webkit-text-fill-color: #f7d897 !important;
}

html[data-bs-theme="dark"] .probooks-home-hero__primary {
    background: linear-gradient(135deg, #9f681f, #d0a048) !important;
    border-color: #d0a048 !important;
    color: #fff7e7 !important;
    -webkit-text-fill-color: #fff7e7 !important;
}

html[data-bs-theme="dark"] .probooks-home-hero__secondary {
    background: rgba(27, 18, 11, .55) !important;
    border-color: rgba(218, 171, 86, .4) !important;
    color: #f1c879 !important;
    -webkit-text-fill-color: #f1c879 !important;
}

html[data-bs-theme="dark"] .container[data-book-id] .book-genre-block a,
html[data-bs-theme="dark"] .container[data-book-id] .book-genre-block .badge,
html[data-bs-theme="dark"] .container[data-book-id] .book-genre-block .btn,
html[data-bs-theme="dark"] .container[data-book-id] .genre-badge {
    background: #2a1c10 !important;
    border-color: rgba(218, 171, 86, .42) !important;
    color: #f7d897 !important;
    -webkit-text-fill-color: #f7d897 !important;
}

html[data-bs-theme="dark"] .container[data-book-id] .download-link,
html[data-bs-theme="dark"] .container[data-book-id] #downloads .btn,
html[data-bs-theme="dark"] .container[data-book-id] .btn-outline-primary,
html[data-bs-theme="dark"] .container[data-book-id] .btn-outline-info,
html[data-bs-theme="dark"] .container[data-book-id] .btn-outline-success,
html[data-bs-theme="dark"] .container[data-book-id] .book-sidebar-actions .btn,
html[data-bs-theme="dark"] .container[data-book-id] .book-cover-actions .btn,
html[data-bs-theme="dark"] .container[data-book-id] .book-action-btn,
html[data-bs-theme="dark"] .container[data-book-id] .share-button,
html[data-bs-theme="dark"] .container[data-book-id] .favorite-button {
    background: linear-gradient(135deg, #7d4f18, #b8802b) !important;
    border-color: rgba(218, 171, 86, .55) !important;
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .28) !important;
}

html[data-bs-theme="dark"] .container[data-book-id] .download-link *,
html[data-bs-theme="dark"] .container[data-book-id] #downloads .btn *,
html[data-bs-theme="dark"] .container[data-book-id] .book-sidebar-actions .btn *,
html[data-bs-theme="dark"] .container[data-book-id] .book-cover-actions .btn *,
html[data-bs-theme="dark"] .container[data-book-id] .book-action-btn *,
html[data-bs-theme="dark"] .container[data-book-id] .share-button *,
html[data-bs-theme="dark"] .container[data-book-id] .favorite-button * {
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
}

html[data-bs-theme="dark"] .container[data-book-id] .btn-dark-glass,
html[data-bs-theme="dark"] .container[data-book-id] .book-share-card__trigger,
html[data-bs-theme="dark"] .container[data-book-id] .related-filter:not(.active) {
    background: #1b120b !important;
    border-color: rgba(218, 171, 86, .42) !important;
    color: #f1c879 !important;
    -webkit-text-fill-color: #f1c879 !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .24) !important;
}

html[data-bs-theme="dark"] .container[data-book-id] .btn-dark-glass *,
html[data-bs-theme="dark"] .container[data-book-id] .book-share-card__trigger *,
html[data-bs-theme="dark"] .container[data-book-id] .related-filter:not(.active) * {
    color: #f1c879 !important;
    -webkit-text-fill-color: #f1c879 !important;
}

html[data-bs-theme="dark"] .container[data-book-id] .reviews-sort .btn,
html[data-bs-theme="dark"] .container[data-book-id] .reviews-sort button,
html[data-bs-theme="dark"] .container[data-book-id] .dropdown-toggle,
html[data-bs-theme="dark"] .container[data-book-id] .book-reviews-section .dropdown-toggle {
    background: #1b120b !important;
    border-color: rgba(218, 171, 86, .44) !important;
    color: #f1c879 !important;
    -webkit-text-fill-color: #f1c879 !important;
}

html[data-bs-theme="dark"] .container[data-book-id] #reviews-form,
html[data-bs-theme="dark"] .container[data-book-id] .review-form,
html[data-bs-theme="dark"] .container[data-book-id] .book-reviews-card form {
    color: #f4e7d0 !important;
}

html[data-bs-theme="dark"] .container[data-book-id] #reviews-form .form-control,
html[data-bs-theme="dark"] .container[data-book-id] #reviews-form input,
html[data-bs-theme="dark"] .container[data-book-id] #reviews-form textarea,
html[data-bs-theme="dark"] .container[data-book-id] .review-form .form-control,
html[data-bs-theme="dark"] .container[data-book-id] .book-reviews-card input,
html[data-bs-theme="dark"] .container[data-book-id] .book-reviews-card textarea {
    background: #24170d !important;
    border-color: rgba(218, 171, 86, .42) !important;
    color: #f8ead1 !important;
    -webkit-text-fill-color: #f8ead1 !important;
}

html[data-bs-theme="dark"] .container[data-book-id] #reviews-form .form-control::placeholder,
html[data-bs-theme="dark"] .container[data-book-id] #reviews-form input::placeholder,
html[data-bs-theme="dark"] .container[data-book-id] #reviews-form textarea::placeholder,
html[data-bs-theme="dark"] .container[data-book-id] .review-form .form-control::placeholder,
html[data-bs-theme="dark"] .container[data-book-id] .book-reviews-card input::placeholder,
html[data-bs-theme="dark"] .container[data-book-id] .book-reviews-card textarea::placeholder {
    color: #b69d75 !important;
    -webkit-text-fill-color: #b69d75 !important;
}

html[data-bs-theme="dark"] .footer-shell,
html[data-bs-theme="dark"] .footer-shell.footer-shell--probooks,
html[data-bs-theme="dark"] .footer-shell--probooks,
html[data-bs-theme="dark"] .probooks-home-body .footer-shell,
html[data-bs-theme="dark"] .probooks-home-body .footer-shell--probooks,
html[data-bs-theme="dark"] .footer-command__brand,
html[data-bs-theme="dark"] .footer-contact-card,
html[data-bs-theme="dark"] .footer-route-board,
html[data-bs-theme="dark"] .footer-status-card,
html[data-bs-theme="dark"] .footer-bottom-strip,
html[data-bs-theme="dark"] .footer-route-link,
html[data-bs-theme="dark"] .footer-info-link--legal,
html[data-bs-theme="dark"] .footer-partner--mini {
    background: #1b120b !important;
    background-image: none !important;
    border-color: rgba(218, 171, 86, .32) !important;
    color: #f4e7d0 !important;
    -webkit-text-fill-color: initial !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .24) !important;
}

html[data-bs-theme="dark"] .footer-shell *,
html[data-bs-theme="dark"] .footer-shell--probooks *,
html[data-bs-theme="dark"] .footer-command__brand *,
html[data-bs-theme="dark"] .footer-contact-card *,
html[data-bs-theme="dark"] .footer-route-board *,
html[data-bs-theme="dark"] .footer-status-card *,
html[data-bs-theme="dark"] .footer-bottom-strip *,
html[data-bs-theme="dark"] .footer-route-link *,
html[data-bs-theme="dark"] .footer-info-link--legal * {
    color: #d8c5a6 !important;
    -webkit-text-fill-color: #d8c5a6 !important;
}

html[data-bs-theme="dark"] .footer-shell h2,
html[data-bs-theme="dark"] .footer-shell h3,
html[data-bs-theme="dark"] .footer-shell strong,
html[data-bs-theme="dark"] .footer-contact-card__email,
html[data-bs-theme="dark"] .footer-partner__title {
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
}

html[data-bs-theme="dark"] .footer-brand-mark,
html[data-bs-theme="dark"] .footer-brand-mark--wide,
html[data-bs-theme="dark"] .footer-chip,
html[data-bs-theme="dark"] .footer-partner {
    background: linear-gradient(135deg, #7d4f18, #b8802b) !important;
    border-color: rgba(218, 171, 86, .48) !important;
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
}

/* BOOKSFB2_DARK_LEFTOVERS_FIX_20260528 */
html[data-bs-theme="dark"] .pagination,
html[data-bs-theme="dark"] nav[aria-label*="pagination" i],
html[data-bs-theme="dark"] nav[aria-label*="page" i] {
    background: transparent !important;
    background-image: none !important;
}

html[data-bs-theme="dark"] .pagination .page-link,
html[data-bs-theme="dark"] .catalog-mobile-pagination .page-link,
html[data-bs-theme="dark"] .catalog-pagination .page-link,
html[data-bs-theme="dark"] .page-link {
    background: #24170d !important;
    background-image: none !important;
    border-color: rgba(218, 171, 86, .48) !important;
    color: #f1c879 !important;
    -webkit-text-fill-color: #f1c879 !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .28) !important;
}

html[data-bs-theme="dark"] .page-item.active .page-link,
html[data-bs-theme="dark"] .pagination .active .page-link,
html[data-bs-theme="dark"] .pagination .page-link.active {
    background: linear-gradient(135deg, #7d4f18, #b8802b) !important;
    border-color: rgba(218, 171, 86, .62) !important;
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
}

html[data-bs-theme="dark"] .page-item.disabled .page-link,
html[data-bs-theme="dark"] .pagination .disabled .page-link {
    background: #1b120b !important;
    border-color: rgba(218, 171, 86, .25) !important;
    color: #8f7b5c !important;
    -webkit-text-fill-color: #8f7b5c !important;
    opacity: 1 !important;
}

html[data-bs-theme="dark"] .probooks-theme-toggle,
html[data-bs-theme="dark"] #theme-toggle,
html[data-bs-theme="dark"] [data-theme-toggle],
html[data-bs-theme="dark"] .probooks-login-btn,
html[data-bs-theme="dark"] .navbar .btn-outline-light,
html[data-bs-theme="dark"] .navbar .btn-ghost,
html[data-bs-theme="dark"] .navbar a[href*="login"],
html[data-bs-theme="dark"] .site-header a[href*="login"] {
    background: #24170d !important;
    background-image: none !important;
    border-color: rgba(218, 171, 86, .5) !important;
    color: #f1c879 !important;
    -webkit-text-fill-color: #f1c879 !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .25) !important;
}

html[data-bs-theme="dark"] .probooks-theme-toggle *,
html[data-bs-theme="dark"] #theme-toggle *,
html[data-bs-theme="dark"] [data-theme-toggle] *,
html[data-bs-theme="dark"] .probooks-login-btn *,
html[data-bs-theme="dark"] .navbar a[href*="login"] *,
html[data-bs-theme="dark"] .site-header a[href*="login"] * {
    color: #f1c879 !important;
    -webkit-text-fill-color: #f1c879 !important;
}

html[data-bs-theme="dark"] .probooks-filter-bar,
html[data-bs-theme="dark"] .catalog-filter-toolbar,
html[data-bs-theme="dark"] .catalog-filter-toolbar__buttons,
html[data-bs-theme="dark"] .home-quick-start,
html[data-bs-theme="dark"] .home-quick-start__inner,
html[data-bs-theme="dark"] .popular-filter-tabs,
html[data-bs-theme="dark"] .related-filters,
html[data-bs-theme="dark"] .filter-tabs,
html[data-bs-theme="dark"] .home-catalog-tabs,
html[data-bs-theme="dark"] .books-filter-tabs {
    background: #1b120b !important;
    background-image: none !important;
    border-color: rgba(218, 171, 86, .32) !important;
    color: #f4e7d0 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .24) !important;
}

html[data-bs-theme="dark"] .probooks-filter-bar .btn,
html[data-bs-theme="dark"] .catalog-filter-toolbar .btn,
html[data-bs-theme="dark"] .home-quick-start .btn,
html[data-bs-theme="dark"] .filter-tabs .btn,
html[data-bs-theme="dark"] .popular-filter-tabs .btn,
html[data-bs-theme="dark"] .home-catalog-tabs .btn,
html[data-bs-theme="dark"] .books-filter-tabs .btn,
html[data-bs-theme="dark"] .related-filter:not(.active),
html[data-bs-theme="dark"] a[href*="sort="],
html[data-bs-theme="dark"] button[name="sort"],
html[data-bs-theme="dark"] [data-sort],
html[data-bs-theme="dark"] [data-period] {
    background: #24170d !important;
    background-image: none !important;
    border-color: rgba(218, 171, 86, .44) !important;
    color: #f1c879 !important;
    -webkit-text-fill-color: #f1c879 !important;
}

html[data-bs-theme="dark"] .probooks-filter-bar .btn.active,
html[data-bs-theme="dark"] .catalog-filter-toolbar .btn.active,
html[data-bs-theme="dark"] .home-quick-start .btn.active,
html[data-bs-theme="dark"] .filter-tabs .btn.active,
html[data-bs-theme="dark"] .popular-filter-tabs .btn.active,
html[data-bs-theme="dark"] .home-catalog-tabs .btn.active,
html[data-bs-theme="dark"] .books-filter-tabs .btn.active,
html[data-bs-theme="dark"] .related-filter.active,
html[data-bs-theme="dark"] a[href*="sort="].active,
html[data-bs-theme="dark"] [data-sort].active,
html[data-bs-theme="dark"] [data-period].active {
    background: linear-gradient(135deg, #7d4f18, #b8802b) !important;
    border-color: rgba(218, 171, 86, .62) !important;
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
}

html[data-bs-theme="dark"] .probooks-filter-bar .btn *,
html[data-bs-theme="dark"] .catalog-filter-toolbar .btn *,
html[data-bs-theme="dark"] .home-quick-start .btn *,
html[data-bs-theme="dark"] .filter-tabs .btn *,
html[data-bs-theme="dark"] .popular-filter-tabs .btn *,
html[data-bs-theme="dark"] .home-catalog-tabs .btn *,
html[data-bs-theme="dark"] .books-filter-tabs .btn *,
html[data-bs-theme="dark"] .related-filter * {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

html[data-bs-theme="dark"] .probooks-collections-section .btn,
html[data-bs-theme="dark"] .probooks-collections-section a.btn,
html[data-bs-theme="dark"] .book-page-collections-slider-nav,
html[data-bs-theme="dark"] .collections-more-link,
html[data-bs-theme="dark"] .section-action,
html[data-bs-theme="dark"] .section-more,
html[data-bs-theme="dark"] a[href$="/collections"].btn,
html[data-bs-theme="dark"] a[href*="/collections"].btn,
html[data-bs-theme="dark"] a[href$="/collections"]:not(.nav-link) {
    background: #24170d !important;
    background-image: none !important;
    border-color: rgba(218, 171, 86, .48) !important;
    color: #f1c879 !important;
    -webkit-text-fill-color: #f1c879 !important;
}

html[data-bs-theme="dark"] .load-more-button,
html[data-bs-theme="dark"] .load-more-btn,
html[data-bs-theme="dark"] #load-more-books,
html[data-bs-theme="dark"] .catalog-load-more,
html[data-bs-theme="dark"] .btn-load-more,
html[data-bs-theme="dark"] button[data-load-more],
html[data-bs-theme="dark"] .js-load-more,
html[data-bs-theme="dark"] button:has(.load-more-text),
html[data-bs-theme="dark"] a:has(.load-more-text) {
    background: linear-gradient(135deg, #7d4f18, #b8802b) !important;
    border-color: rgba(218, 171, 86, .62) !important;
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .3) !important;
}

html[data-bs-theme="dark"] .load-more-button *,
html[data-bs-theme="dark"] .load-more-btn *,
html[data-bs-theme="dark"] #load-more-books *,
html[data-bs-theme="dark"] .catalog-load-more *,
html[data-bs-theme="dark"] .btn-load-more *,
html[data-bs-theme="dark"] button[data-load-more] *,
html[data-bs-theme="dark"] .js-load-more * {
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
}

/* BOOKSFB2_DARK_EXACT_PROBOOKS_OVERRIDES_20260528 */
html[data-bs-theme="dark"] body.probooks-home-body .pagination .page-link,
html[data-bs-theme="dark"] body.probooks-home-body .page-link,
html[data-bs-theme="dark"] body.probooks-home-body nav[aria-label="Pagination Navigation"] a,
html[data-bs-theme="dark"] body.probooks-home-body nav[aria-label="Pagination Navigation"] span {
    background: #24170d !important;
    background-image: none !important;
    border-color: rgba(218, 171, 86, .48) !important;
    color: #f1c879 !important;
    -webkit-text-fill-color: #f1c879 !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .28) !important;
}

html[data-bs-theme="dark"] body.probooks-home-body .pagination .page-item.disabled .page-link,
html[data-bs-theme="dark"] body.probooks-home-body .page-item.disabled .page-link,
html[data-bs-theme="dark"] body.probooks-home-body nav[aria-label="Pagination Navigation"] span[aria-disabled="true"] {
    background: #1b120b !important;
    background-image: none !important;
    border-color: rgba(218, 171, 86, .25) !important;
    color: #8f7b5c !important;
    -webkit-text-fill-color: #8f7b5c !important;
}

html[data-bs-theme="dark"] body.probooks-home-body .page-item.active .page-link,
html[data-bs-theme="dark"] body.probooks-home-body .pagination .active .page-link,
html[data-bs-theme="dark"] body.probooks-home-body .pagination .page-link.active {
    background: linear-gradient(135deg, #7d4f18, #b8802b) !important;
    border-color: rgba(218, 171, 86, .62) !important;
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
}

html[data-bs-theme="dark"] body.probooks-home-body .probooks-filter-bar .catalog-filter-toolbar__buttons,
html[data-bs-theme="dark"] body.probooks-home-body .catalog-filter-toolbar__buttons {
    background: #1b120b !important;
    background-image: none !important;
    border-color: rgba(218, 171, 86, .36) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .24) !important;
}

html[data-bs-theme="dark"] body.probooks-home-body .probooks-filter-bar .catalog-filter-toolbar__buttons .btn,
html[data-bs-theme="dark"] body.probooks-home-body .probooks-home-catalog-toggle .btn,
html[data-bs-theme="dark"] body.probooks-home-body .catalog-filter-toolbar__buttons .btn-outline-light,
html[data-bs-theme="dark"] body.probooks-home-body .catalog-filter-toolbar__buttons .btn-outline-warning,
html[data-bs-theme="dark"] body.probooks-home-body .catalog-filter-toolbar__buttons .btn-outline-primary,
html[data-bs-theme="dark"] body.probooks-home-body .catalog-filter-toolbar__buttons .btn-outline-info,
html[data-bs-theme="dark"] body.probooks-home-body .catalog-filter-toolbar__buttons .btn-outline-success {
    background: #24170d !important;
    background-image: none !important;
    border-color: rgba(218, 171, 86, .48) !important;
    color: #f1c879 !important;
    -webkit-text-fill-color: #f1c879 !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .22) !important;
}

html[data-bs-theme="dark"] body.probooks-home-body .probooks-filter-bar .catalog-filter-toolbar__buttons .btn-primary,
html[data-bs-theme="dark"] body.probooks-home-body .probooks-filter-bar .catalog-filter-toolbar__buttons .active,
html[data-bs-theme="dark"] body.probooks-home-body .catalog-filter-toolbar__buttons .btn-primary,
html[data-bs-theme="dark"] body.probooks-home-body .catalog-filter-toolbar__buttons .active {
    background: linear-gradient(135deg, #7d4f18, #b8802b) !important;
    border-color: rgba(218, 171, 86, .62) !important;
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
}

html[data-bs-theme="dark"] body.probooks-home-body .probooks-filter-bar .catalog-filter-toolbar__buttons .btn *,
html[data-bs-theme="dark"] body.probooks-home-body .catalog-filter-toolbar__buttons .btn * {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

html[data-bs-theme="dark"] body.probooks-home-body #top100-load-more,
html[data-bs-theme="dark"] body.probooks-home-body #catalog-load-more,
html[data-bs-theme="dark"] body.probooks-home-body .top100-load-more,
html[data-bs-theme="dark"] body.probooks-home-body .top100-load-more-btn,
html[data-bs-theme="dark"] body.probooks-home-body .catalog-load-more,
html[data-bs-theme="dark"] body.probooks-home-body .load-more-button,
html[data-bs-theme="dark"] body.probooks-home-body .load-more-btn,
html[data-bs-theme="dark"] body.probooks-home-body button[data-load-more],
html[data-bs-theme="dark"] body.probooks-home-body .js-load-more {
    background: linear-gradient(135deg, #7d4f18, #b8802b) !important;
    border-color: rgba(218, 171, 86, .62) !important;
    color: #fff2da !important;
    -webkit-text-fill-color: #fff2da !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .3) !important;
}
