:root {
    --probooks-ink: #162033;
    --probooks-muted: #667085;
    --probooks-line: rgba(22, 32, 51, 0.12);
    --probooks-blue: #214f9b;
    --probooks-green: #0d7567;
    --probooks-amber: #e9972f;
    --probooks-paper: #fffdf8;
    --probooks-bg: #f4f6f2;
}

body {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 246, 242, 0.94) 34rem),
        radial-gradient(circle at 13% 5%, rgba(233, 151, 47, 0.12), transparent 26rem),
        radial-gradient(circle at 88% 10%, rgba(13, 117, 103, 0.10), transparent 28rem),
        var(--probooks-bg) !important;
    color: var(--probooks-ink);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(22, 32, 51, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(22, 32, 51, 0.03) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(180deg, #000, transparent 62%);
}

body,
.text-white,
.text-white-75,
.text-white-50,
.text-muted {
    color: var(--probooks-ink) !important;
}

.text-muted,
.text-white-50,
.text-white-75 {
    color: var(--probooks-muted) !important;
}

a,
.hover-text-primary:hover {
    color: var(--probooks-blue);
}

.bg-dark-card,
.bg-feature-card,
.bg-body-tertiary,
.dropdown-menu-dark {
    background: rgba(255, 253, 248, 0.88) !important;
    color: var(--probooks-ink) !important;
}

.border-white-10,
.border-white-20,
.border-top.border-white-10 {
    border-color: var(--probooks-line) !important;
}

.card {
    border-color: var(--probooks-line) !important;
}

.form-control,
.form-select,
.search-input,
.mobile-search-input {
    color: var(--probooks-ink) !important;
    border-color: rgba(22, 32, 51, 0.12) !important;
    background: rgba(255, 255, 255, 0.72) !important;
}

.form-control::placeholder,
.search-input::placeholder,
.mobile-search-input::placeholder {
    color: rgba(102, 112, 133, 0.72) !important;
}

.site-navbar {
    background: rgba(255, 253, 248, 0.92) !important;
    border-bottom: 1px solid rgba(22, 32, 51, 0.1) !important;
    box-shadow: 0 18px 36px rgba(22, 32, 51, 0.08);
    backdrop-filter: blur(20px);
}

.site-navbar::after {
    content: "";
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(233, 151, 47, 0.58), rgba(13, 117, 103, 0.58), transparent);
    opacity: 0.65;
}

.site-navbar .container-fluid {
    max-width: 1760px;
}

.site-navbar .nav-link,
.site-navbar .navbar-toggler,
.site-navbar .dropdown-toggle,
.site-navbar .text-white-50 {
    color: #626b7d !important;
}

.site-navbar .nav-link {
    border-radius: 999px;
    padding-inline: 0.76rem !important;
    white-space: nowrap;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active,
.site-navbar .hover-text-white:hover,
.site-navbar .text-primary {
    color: var(--probooks-ink) !important;
    background: rgba(22, 32, 51, 0.055);
}

.site-navbar .btn-outline-light {
    color: var(--probooks-blue) !important;
    border-color: rgba(33, 79, 155, 0.45) !important;
    background: rgba(255, 255, 255, 0.72) !important;
}

.site-navbar .navbar-collapse {
    position: relative;
    z-index: 1;
}

.site-navbar .dropdown-menu {
    border-radius: 18px;
    border: 1px solid rgba(22, 32, 51, 0.10) !important;
    box-shadow: 0 24px 52px rgba(22, 32, 51, 0.14) !important;
}

.site-navbar .dropdown-item {
    color: var(--probooks-ink) !important;
    border-radius: 12px;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item.active {
    color: var(--probooks-ink) !important;
    background: rgba(13, 117, 103, 0.10) !important;
}

.probooks-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    color: var(--probooks-ink) !important;
    font-weight: 900;
    letter-spacing: 0;
    text-decoration: none;
}

.probooks-wordmark__pro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.35rem;
    height: 2.12rem;
    padding: 0 0.66rem;
    color: #fff;
    background: #1d2b55;
    border-radius: 0.55rem;
    box-shadow: 0 12px 24px rgba(29, 43, 85, 0.22);
}

.probooks-wordmark__books {
    font-size: 1.32rem;
}

.site-navbar .input-group,
.site-navbar form[role="search"] .form-control,
.site-navbar form[role="search"] .btn {
    border-radius: 999px;
}

.site-navbar form[role="search"] {
    padding: 0.28rem;
    border: 1px solid rgba(22, 32, 51, 0.10);
    border-radius: 999px;
    background: rgba(22, 32, 51, 0.045);
}

.site-navbar form[role="search"] .form-control {
    min-width: 0;
    font-size: 0.94rem;
}

.site-navbar form[role="search"] .form-control::placeholder {
    font-size: 0.94rem;
}

.site-navbar .probooks-navbar-actions {
    flex-shrink: 0;
}

.site-navbar .probooks-theme-toggle,
.site-navbar .probooks-library-link {
    width: 2.65rem;
    height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(22, 32, 51, 0.1) !important;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 245, 243, 0.58)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 24px rgba(22, 32, 51, 0.08);
    color: #4c5a70 !important;
}

.site-navbar .probooks-theme-toggle:hover,
.site-navbar .probooks-library-link:hover {
    color: #fff !important;
    border-color: rgba(13, 117, 103, 0.18) !important;
    background: linear-gradient(135deg, #214f9b, #0d7567) !important;
}

.site-navbar .probooks-library-link {
    width: auto;
    min-width: 2.65rem;
    padding-inline: 0.82rem !important;
    text-decoration: none;
}

.site-navbar .probooks-theme-toggle i,
.site-navbar .probooks-library-link i,
.site-navbar .probooks-login-btn i,
.site-navbar .probooks-register-btn i,
.footer-route-link i,
.footer-info-link i,
.genre-index-card i,
.probooks-home-routes__icon i,
.probooks-home-hero i,
.probooks-filter-bar i,
.catalog-filter-toolbar__layout i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor !important;
    line-height: 1;
}

/* Stable icon fallbacks for pages that use a reduced Vite icon subset. */
.bi-arrow-down-up::before { content: "\f127"; }
.bi-award::before { content: "\f154"; }
.bi-bell-fill::before { content: "\f189"; }
.bi-bell::before { content: "\f18a"; }
.bi-book-half::before { content: "\f193"; }
.bi-book::before { content: "\f194"; }
.bi-bookmark-star::before { content: "\f19f"; }
.bi-bookmarks::before { content: "\f1a4"; }
.bi-bookshelf::before { content: "\f1a5"; }
.bi-box-arrow-in-right::before { content: "\f1be"; }
.bi-box-arrow-right::before { content: "\f1c3"; }
.bi-calendar-plus-fill::before { content: "\f1ee"; }
.bi-calendar-plus::before { content: "\f1ef"; }
.bi-chat-dots::before { content: "\f24a"; }
.bi-chat-square-quote::before { content: "\f262"; }
.bi-chat-square-text::before { content: "\f264"; }
.bi-chat-text::before { content: "\f267"; }
.bi-check-circle-fill::before { content: "\f26a"; }
.bi-chevron-down::before { content: "\f282"; }
.bi-chevron-left::before { content: "\f284"; }
.bi-chevron-right::before { content: "\f285"; }
.bi-collection::before { content: "\f2cc"; }
.bi-compass::before { content: "\f2d1"; }
.bi-diagram-3::before { content: "\f2ee"; }
.bi-download::before { content: "\f30a"; }
.bi-exclamation-triangle-fill::before { content: "\f33a"; }
.bi-eye-slash-fill::before { content: "\f33f"; }
.bi-eye-slash::before { content: "\f340"; }
.bi-eye::before { content: "\f341"; }
.bi-file-earmark-text::before { content: "\f38b"; }
.bi-file-text::before { content: "\f3b9"; }
.bi-fire::before { content: "\f7f6"; }
.bi-graph-up-arrow::before { content: "\f673"; }
.bi-grid-3x3-gap-fill::before { content: "\f3f8"; }
.bi-grid-3x3-gap::before { content: "\f3f9"; }
.bi-heart-fill::before { content: "\f415"; }
.bi-inbox::before { content: "\f42d"; }
.bi-journal-richtext::before { content: "\f443"; }
.bi-journal-text::before { content: "\f444"; }
.bi-layers::before { content: "\f45b"; }
.bi-lightbulb::before { content: "\f46b"; }
.bi-lightning-charge::before { content: "\f46d"; }
.bi-link-45deg::before { content: "\f470"; }
.bi-list-ul::before { content: "\f478"; }
.bi-lock::before { content: "\f47b"; }
.bi-magic::before { content: "\f675"; }
.bi-moon-fill::before { content: "\f494"; }
.bi-moon-stars-fill::before {
    content: "\f495";
}

.bi-moon-stars::before {
    content: "\f496";
}

.bi-pause-circle::before { content: "\f4c2"; }
.bi-pencil-square::before { content: "\f4ca"; }
.bi-people::before { content: "\f4d0"; }
.bi-person-check::before { content: "\f4d6"; }
.bi-person-lines-fill::before { content: "\f4db"; }
.bi-person-lock::before { content: "\f8a8"; }
.bi-person-plus::before { content: "\f4dd"; }
.bi-person::before { content: "\f4e1"; }
.bi-rocket-takeoff::before { content: "\f845"; }
.bi-search::before { content: "\f52a"; }
.bi-share-fill::before { content: "\f52d"; }
.bi-shield-check::before { content: "\f52f"; }
.bi-shield-lock::before { content: "\f538"; }
.bi-sort-alpha-down::before { content: "\f571"; }
.bi-sort-alpha-up-alt::before { content: "\f572"; }
.bi-sort-numeric-down::before { content: "\f577"; }
.bi-sort-numeric-up-alt::before { content: "\f578"; }
.bi-star-fill::before { content: "\f586"; }
.bi-star::before { content: "\f588"; }
.bi-stars::before { content: "\f589"; }
.bi-sun-fill::before { content: "\f5a1"; }
.bi-telegram::before { content: "\f5b3"; }
.bi-trash::before { content: "\f5de"; }
.bi-vector-pen::before { content: "\f604"; }
.bi-whatsapp::before { content: "\f618"; }
.bi-x-lg::before { content: "\f659"; }
.bi-twitter-x::before { content: "\f8db"; }

.site-navbar .probooks-login-btn,
.site-navbar .probooks-register-btn {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
    font-weight: 850;
    letter-spacing: -0.015em;
}

.site-navbar .probooks-login-btn {
    color: var(--probooks-ink) !important;
    border-color: rgba(22, 32, 51, 0.14) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(243, 247, 245, 0.72)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 24px rgba(22, 32, 51, 0.07);
}

.site-navbar .probooks-login-btn:hover {
    color: #fff !important;
    border-color: rgba(33, 79, 155, 0.2) !important;
    background: linear-gradient(135deg, #214f9b, #0d7567) !important;
}

.site-navbar .probooks-register-btn {
    color: #fff !important;
    border-color: rgba(13, 117, 103, 0.22) !important;
    background:
        linear-gradient(135deg, #17233d, #214f9b 54%, #0d7567) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 14px 30px rgba(33, 79, 155, 0.18);
}

.site-navbar .probooks-register-btn:hover {
    border-color: rgba(233, 151, 47, 0.28) !important;
    background: linear-gradient(135deg, #0d7567, #214f9b 58%, #e9972f) !important;
}

.btn-primary,
.probooks-home-hero__primary {
    background: var(--probooks-ink) !important;
    border-color: var(--probooks-ink) !important;
    color: #fff !important;
}

.btn-outline-light {
    color: var(--probooks-ink) !important;
    border-color: rgba(22, 32, 51, 0.24) !important;
    background: rgba(255, 255, 255, 0.74) !important;
}

.btn-outline-light:hover {
    color: #fff !important;
    background: var(--probooks-ink) !important;
}

#catalog-home-page {
    max-width: 1760px;
}

.probooks-home-hero {
    margin-top: 1.8rem;
}

.probooks-home-hero__main {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.68fr);
    gap: 1.15rem;
    min-height: 420px;
}

.probooks-home-hero__copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.8rem);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(22, 32, 51, 0.96), rgba(33, 79, 155, 0.86)),
        radial-gradient(circle at 84% 12%, rgba(233, 151, 47, 0.32), transparent 22rem);
    border-radius: 18px;
    box-shadow: 0 34px 76px rgba(22, 32, 51, 0.22);
}

.probooks-home-hero__copy::after {
    content: "";
    position: absolute;
    right: -7rem;
    bottom: -9rem;
    width: 27rem;
    height: 27rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}

.probooks-home-hero__eyebrow,
.probooks-catalog-head__eyebrow,
.probooks-empty-catalog__eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 0.42rem 0.76rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.probooks-home-hero__eyebrow {
    color: #ffe3b1;
    background: rgba(255, 255, 255, 0.12);
}

.probooks-home-hero__title {
    position: relative;
    z-index: 1;
    max-width: 14ch;
    margin: 1.2rem 0 0;
    font-size: clamp(2.6rem, 6vw, 6.6rem);
    line-height: 0.92;
    font-weight: 950;
    letter-spacing: 0;
}

.probooks-home-hero__text {
    position: relative;
    z-index: 1;
    max-width: 45rem;
    margin: 1.45rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.04rem, 1.3vw, 1.26rem);
    line-height: 1.72;
}

.probooks-home-hero__actions,
.probooks-home-hero__signals {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.78rem;
    margin-top: 1.6rem;
}

.probooks-home-hero__primary,
.probooks-home-hero__secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
    min-height: 3.15rem;
    padding: 0 1.15rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 850;
}

.probooks-home-hero__primary {
    background: #fff !important;
    color: var(--probooks-ink) !important;
}

.probooks-home-hero__secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
}

.probooks-home-hero__signals span {
    display: inline-flex;
    align-items: center;
    gap: 0.44rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
}

.probooks-home-hero__feature {
    position: relative;
    display: grid;
    align-content: center;
    min-height: 100%;
    padding: 2rem;
    border: 1px solid rgba(22, 32, 51, 0.10);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(238, 244, 239, 0.92)),
        repeating-linear-gradient(90deg, rgba(22, 32, 51, 0.05) 0 1px, transparent 1px 5rem);
    box-shadow: 0 28px 62px rgba(22, 32, 51, 0.10);
}

.probooks-home-hero__book {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: min(100%, 20rem);
    aspect-ratio: 2 / 2.75;
    margin: 0 auto;
    padding: 1.25rem;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(29, 43, 85, 0.98), rgba(13, 117, 103, 0.9)),
        radial-gradient(circle at 80% 10%, rgba(233, 151, 47, 0.5), transparent 12rem);
    border-radius: 10px 18px 18px 10px;
    box-shadow: 18px 26px 54px rgba(22, 32, 51, 0.26);
}

.probooks-home-hero__book-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    margin-bottom: auto;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.16);
    font-weight: 900;
}

.probooks-home-hero__book-title {
    font-size: 1.45rem;
    line-height: 1.15;
    font-weight: 900;
}

.probooks-home-hero__book-line {
    display: block;
    width: 100%;
    height: 0.52rem;
    margin-top: 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
}

.probooks-home-hero__book-line--short {
    width: 66%;
}

.probooks-home-hero__note {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 13.5rem;
    padding: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 42px rgba(22, 32, 51, 0.12);
    backdrop-filter: blur(14px);
}

.probooks-home-hero__note span {
    color: var(--probooks-green);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.probooks-home-hero__note strong {
    display: block;
    margin-top: 0.3rem;
    color: var(--probooks-ink);
    line-height: 1.28;
}

.probooks-home-routes {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.78rem;
    margin-top: 0.9rem;
}

.probooks-home-routes__item {
    display: grid;
    gap: 0.42rem;
    min-height: 9.7rem;
    padding: 1rem;
    color: var(--probooks-ink);
    text-decoration: none;
    border: 1px solid rgba(22, 32, 51, 0.1);
    border-radius: 14px;
    background: rgba(255, 253, 248, 0.84);
    box-shadow: 0 16px 34px rgba(22, 32, 51, 0.07);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.probooks-home-routes__item:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 117, 103, 0.32);
    box-shadow: 0 22px 44px rgba(13, 117, 103, 0.12);
}

.probooks-home-routes__item--warm {
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.92), rgba(255, 239, 210, 0.76));
}

.probooks-home-routes__item--green {
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.92), rgba(222, 243, 237, 0.8));
}

.probooks-home-routes__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    color: var(--probooks-blue);
    background: rgba(33, 79, 155, 0.10);
    border-radius: 0.72rem;
    font-size: 1.14rem;
}

.probooks-home-routes__label {
    font-size: 1.12rem;
    font-weight: 900;
    line-height: 1.12;
}

.probooks-home-routes__meta {
    color: var(--probooks-muted);
    font-size: 0.94rem;
    line-height: 1.34;
    font-weight: 720;
}

.probooks-catalog-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin: 4rem 0 1.1rem;
}

.probooks-catalog-head__eyebrow,
.probooks-empty-catalog__eyebrow {
    color: var(--probooks-green);
    background: rgba(13, 117, 103, 0.1);
}

.probooks-catalog-head__title {
    margin: 0.65rem 0 0;
    color: var(--probooks-ink);
    font-size: clamp(1.4rem, 2.4vw, 2.6rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: 0;
}

.probooks-filter-bar {
    display: flex !important;
    justify-content: flex-start;
    margin-bottom: 2.4rem !important;
}

.probooks-filter-bar .catalog-filter-toolbar__buttons {
    padding: 0.55rem;
    border: 1px solid rgba(22, 32, 51, 0.10);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.72);
    box-shadow: 0 16px 32px rgba(22, 32, 51, 0.07);
}

.probooks-filter-bar .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    line-height: 1;
    border-radius: 999px !important;
    font-weight: 850;
    transition:
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.probooks-filter-bar .btn i {
    margin-right: 0 !important;
    line-height: 1;
    transform: translateY(-0.02em);
}

.probooks-filter-bar .btn-outline-light:hover,
.probooks-filter-bar .btn-outline-light:focus-visible {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.64) !important;
    background:
        linear-gradient(135deg, rgba(33, 79, 155, 0.92), rgba(13, 117, 103, 0.78)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 16px 34px rgba(33, 79, 155, 0.18) !important;
    transform: translateY(-1px);
}

.probooks-filter-bar .btn-outline-warning:hover,
.probooks-filter-bar .btn-outline-warning:focus-visible {
    color: #fff !important;
    border-color: rgba(255, 206, 134, 0.72) !important;
    background:
        linear-gradient(135deg, rgba(170, 92, 8, 0.94), rgba(226, 147, 35, 0.86)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 16px 34px rgba(170, 92, 8, 0.18) !important;
    transform: translateY(-1px);
}

.catalog-layout-switch {
    border: 1px solid rgba(22, 32, 51, 0.10) !important;
    background: rgba(255, 253, 248, 0.76) !important;
    box-shadow: 0 16px 32px rgba(22, 32, 51, 0.07);
}

.catalog-layout-switch__button {
    color: var(--probooks-muted) !important;
}

.catalog-layout-switch__button.is-active {
    color: #fff !important;
    background: var(--probooks-green) !important;
}

.catalog-grid-shell,
.collection-books-grid,
.collection-books-list {
    position: relative;
}

.vertical-book-card-wrapper,
.catalog-grid-shell .card,
.collection-books-grid .card,
.collection-books-list .card,
.genre-index-card,
.catalog-alphabet-panel,
.collection-show-card-body,
.profile-sidebar-card,
.profile-overview-panel,
.profile-stats-panel {
    border: 1px solid rgba(22, 32, 51, 0.10) !important;
    border-radius: 18px !important;
    background:
        linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(246, 249, 244, 0.9)) !important;
    box-shadow: 0 18px 42px rgba(22, 32, 51, 0.075) !important;
}

.vertical-book-card-wrapper {
    padding: 0.48rem;
}

.vertical-book-card-wrapper .book-cover-link,
.vertical-book-card-wrapper img,
.book-cover-link,
.book-cover-link img {
    border-radius: 12px !important;
}

.vertical-book-card-wrapper .card-body {
    padding: 0.85rem 0.35rem 0.35rem !important;
}

.vertical-book-card-wrapper .card-title a,
.catalog-grid-shell .card a,
.collection-books-grid .card a,
.collection-books-list .card a {
    color: var(--probooks-ink) !important;
}

.vertical-book-card-wrapper .card-title a:hover,
.catalog-grid-shell .card a:hover,
.collection-books-grid .card a:hover,
.collection-books-list .card a:hover {
    color: var(--probooks-green) !important;
}

.vertical-book-card-wrapper .bg-gradient-to-t {
    background: linear-gradient(180deg, transparent, rgba(22, 32, 51, 0.76)) !important;
}

.vertical-book-card-wrapper .badge,
.catalog-grid-shell .badge,
.collection-books-grid .badge,
.collection-books-list .badge {
    border: 0 !important;
    box-shadow: none !important;
}

.catalog-grid-shell .btn-outline-primary,
.collection-books-list .btn-outline-primary {
    color: var(--probooks-green) !important;
    border-color: rgba(13, 117, 103, 0.36) !important;
    background: rgba(13, 117, 103, 0.06) !important;
}

.catalog-grid-shell .btn-outline-primary:hover,
.collection-books-list .btn-outline-primary:hover {
    color: #fff !important;
    background: var(--probooks-green) !important;
}

.pagination {
    gap: 0.45rem;
}

.pagination .page-link {
    min-width: 2.55rem;
    min-height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--probooks-ink);
    border: 1px solid rgba(22, 32, 51, 0.12);
    border-radius: 999px !important;
    background: rgba(255, 253, 248, 0.88);
}

.pagination .active .page-link,
.pagination .page-link:hover {
    color: #fff;
    border-color: var(--probooks-ink);
    background: var(--probooks-ink);
}

.pagination .page-link:focus-visible {
    color: #fff;
    border-color: rgba(33, 79, 155, 0.76);
    background: linear-gradient(135deg, rgba(33, 79, 155, 0.94), rgba(13, 117, 103, 0.82));
    box-shadow: 0 0 0 0.18rem rgba(33, 79, 155, 0.16);
}

.probooks-empty-catalog {
    display: grid;
    grid-template-columns: 18rem minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(1.4rem, 4vw, 3rem);
    border: 1px solid rgba(22, 32, 51, 0.10);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.9), rgba(238, 244, 239, 0.92)),
        repeating-linear-gradient(0deg, transparent 0 4.2rem, rgba(22, 32, 51, 0.055) 4.2rem 4.28rem);
    box-shadow: 0 24px 56px rgba(22, 32, 51, 0.09);
}

.probooks-empty-catalog__shelf {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 0.55rem;
    min-height: 14rem;
    padding: 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.probooks-empty-catalog__shelf span {
    display: block;
    width: 2.6rem;
    border-radius: 0.45rem 0.45rem 0.2rem 0.2rem;
    background: var(--probooks-blue);
}

.probooks-empty-catalog__shelf span:nth-child(1) { height: 8.8rem; background: var(--probooks-ink); }
.probooks-empty-catalog__shelf span:nth-child(2) { height: 11rem; background: var(--probooks-green); }
.probooks-empty-catalog__shelf span:nth-child(3) { height: 7.6rem; background: var(--probooks-amber); }
.probooks-empty-catalog__shelf span:nth-child(4) { height: 10rem; background: #5d6f93; }

.probooks-empty-catalog__title {
    margin: 0.8rem 0 0;
    color: var(--probooks-ink);
    font-size: clamp(1.8rem, 4vw, 4rem);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: 0;
}

.probooks-empty-catalog__text {
    max-width: 44rem;
    margin: 1rem 0 0;
    color: var(--probooks-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.probooks-collections-section {
    color: var(--probooks-ink);
    border-color: rgba(22, 32, 51, 0.1) !important;
}

.probooks-collections-section .book-page-collections-section__all {
    border-color: rgba(13, 117, 103, 0.32) !important;
    color: var(--probooks-green) !important;
}

.book-page-collection-card {
    border-radius: 18px !important;
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(232, 242, 236, 0.88)) !important;
    border: 1px solid rgba(22, 32, 51, 0.10) !important;
    box-shadow: 0 16px 36px rgba(22, 32, 51, 0.075) !important;
}

.book-page-collection-card__title,
.book-page-collection-card__meta {
    color: var(--probooks-ink) !important;
}

.book-page-collections-slider-nav {
    color: var(--probooks-ink) !important;
    background: rgba(255, 253, 248, 0.92) !important;
    border-color: rgba(22, 32, 51, 0.12) !important;
}

.book-page-title,
.display-4,
.display-5,
.display-6,
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.h5 {
    color: var(--probooks-ink) !important;
    letter-spacing: -0.035em;
}

.badge.bg-success,
.badge.text-bg-success {
    background-color: var(--probooks-green) !important;
}

.badge.bg-warning,
.badge.text-bg-warning,
.btn-outline-warning {
    color: #8a4e0b !important;
    border-color: rgba(233, 151, 47, 0.42) !important;
    background-color: rgba(233, 151, 47, 0.13) !important;
}

.btn-primary:hover,
.probooks-home-hero__primary:hover {
    background: #0d7567 !important;
    border-color: #0d7567 !important;
}

.btn-outline-primary {
    color: var(--probooks-blue) !important;
    border-color: rgba(33, 79, 155, 0.38) !important;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background: var(--probooks-blue) !important;
}

.download-link.btn-outline-primary:hover,
.download-link.btn-outline-primary:focus,
.download-link.btn-outline-primary:active,
.download-link.btn-outline-primary.active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--probooks-blue), var(--probooks-green)) !important;
    border-color: rgba(33, 79, 155, 0.88) !important;
    box-shadow: 0 14px 28px rgba(33, 79, 155, 0.22) !important;
}

.download-link.btn-outline-primary:hover i,
.download-link.btn-outline-primary:focus i,
.download-link.btn-outline-primary:active i,
.download-link.btn-outline-primary.active i,
.download-link.btn-outline-primary:hover .opacity-75.small,
.download-link.btn-outline-primary:focus .opacity-75.small,
.download-link.btn-outline-primary:active .opacity-75.small,
.download-link.btn-outline-primary.active .opacity-75.small {
    color: currentColor !important;
    opacity: 1 !important;
}

.footer-shell {
    border-radius: 18px !important;
    background:
        linear-gradient(135deg, rgba(255,253,248,0.96), rgba(236,244,240,0.92)) !important;
    border-color: var(--probooks-line) !important;
}

.footer-brand-mark {
    background: var(--probooks-ink) !important;
    color: #fff !important;
}

.footer-brand-title,
.home-quick-start__label {
    color: var(--probooks-ink) !important;
}

.footer-shell--probooks {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 28px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(240, 247, 245, 0.32)),
        radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.96), transparent 18rem),
        radial-gradient(circle at 88% 12%, rgba(33, 79, 155, 0.13), transparent 22rem),
        radial-gradient(circle at 80% 100%, rgba(13, 117, 103, 0.12), transparent 24rem) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 28px 72px rgba(22, 32, 51, 0.1) !important;
    backdrop-filter: blur(26px) saturate(1.22);
    -webkit-backdrop-filter: blur(26px) saturate(1.22);
}

.footer-shell--probooks::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(22, 32, 51, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 32, 51, 0.035) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 72%);
    pointer-events: none;
}

.footer-shell__orb {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(4px);
    opacity: 0.76;
    pointer-events: none;
}

.footer-shell__orb--blue {
    top: -5rem;
    right: 18%;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(33, 79, 155, 0.16), transparent 68%);
}

.footer-shell__orb--green {
    right: -4rem;
    bottom: -6rem;
    width: 22rem;
    height: 22rem;
    background: radial-gradient(circle, rgba(13, 117, 103, 0.16), transparent 66%);
}

.footer-command {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.38fr);
    gap: 1rem;
    align-items: stretch;
}

.footer-command__brand,
.footer-contact-card,
.footer-route-board,
.footer-status-card,
.footer-bottom-strip {
    border: 1px solid rgba(255, 255, 255, 0.6);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.22));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 18px 42px rgba(22, 32, 51, 0.07);
    backdrop-filter: blur(22px) saturate(1.18);
    -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.footer-command__brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.1rem;
    align-items: center;
    padding: clamp(1rem, 2.2vw, 1.7rem);
    border-radius: 24px;
}

.footer-brand-mark--wide {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 1.25rem;
    color: #fff !important;
    background:
        linear-gradient(135deg, #17233c, #214f9b 52%, #0d7567) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 18px 38px rgba(33, 79, 155, 0.22);
}

.footer-command__eyebrow,
.footer-route-group__label,
.footer-contact-card__label,
.footer-partner__eyebrow {
    display: block;
    color: var(--probooks-green);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-command__title {
    max-width: 20ch;
    margin: 0.35rem 0 0;
    color: var(--probooks-ink) !important;
    font-size: clamp(1.35rem, 2vw, 2.15rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.045em;
}

.footer-command__text {
    max-width: 36rem;
    margin: 0.8rem 0 0;
    color: var(--probooks-muted);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.48;
}

.footer-contact-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.2rem;
    border-radius: 24px;
}

.footer-contact-card__email {
    color: var(--probooks-ink);
    font-size: clamp(1rem, 1.35vw, 1.28rem);
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-contact-card__email:hover,
.footer-route-link:hover,
.footer-info-link:hover {
    color: var(--probooks-green) !important;
}

.footer-contact-card__hint {
    color: var(--probooks-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-route-board {
    display: grid;
    grid-template-columns: minmax(300px, 0.34fr) minmax(0, 1fr) minmax(240px, 0.34fr);
    gap: 1.35rem;
    align-items: start;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 24px;
}

.footer-route-group {
    min-width: 0;
}

.footer-route-group--legal,
.footer-route-group--main {
    position: relative;
    padding: 0.35rem 0;
}

.footer-route-group--legal {
    padding-right: 1.35rem;
    border-right: 1px solid rgba(13, 117, 103, 0.14);
}

.footer-route-group--main {
    padding-left: 0.15rem;
}

.footer-route-group__label {
    margin-bottom: 0.75rem;
}

.footer-route-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.footer-route-grid--menu {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-route-link,
.footer-info-link {
    color: var(--probooks-ink);
    text-decoration: none;
}

.footer-route-link {
    display: flex;
    min-height: 2.72rem;
    align-items: center;
    gap: 0.58rem;
    padding: 0.58rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    font-size: 0.96rem;
    font-weight: 850;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.footer-route-link span {
    min-width: 0;
}

.footer-route-link i {
    display: inline-flex;
    width: 1.58rem;
    height: 1.58rem;
    align-items: center;
    justify-content: center;
    color: var(--probooks-blue);
    border-radius: 999px;
    background: rgba(33, 79, 155, 0.1);
}

.footer-route-link:hover {
    transform: translateY(-2px);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.66);
    background:
        linear-gradient(135deg, rgba(33, 79, 155, 0.94), rgba(13, 117, 103, 0.82));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 16px 36px rgba(33, 79, 155, 0.18);
}

.footer-route-link:hover i {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.footer-route-link--static {
    cursor: default;
}

.footer-route-link--static:hover {
    transform: none;
}

.footer-info-link--static {
    cursor: default;
}

.footer-route-stack {
    display: grid;
    gap: 0.55rem;
}

.footer-route-stack--legal {
    align-content: start;
}

.footer-info-link {
    display: block;
    padding: 0.72rem 0;
    border-bottom: 1px solid rgba(22, 32, 51, 0.08);
    font-weight: 850;
}

.footer-info-link--legal {
    display: flex;
    width: 100%;
    min-height: 3.05rem;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.24));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 24px rgba(22, 32, 51, 0.035);
    line-height: 1.15;
    transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.footer-info-link--legal span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer-info-link--legal i {
    display: inline-flex;
    width: 1.68rem;
    height: 1.68rem;
    flex: 0 0 1.68rem;
    align-items: center;
    justify-content: center;
    color: var(--probooks-blue);
    border-radius: 999px;
    background: rgba(33, 79, 155, 0.1);
}

.footer-info-link--legal:hover {
    transform: translateY(-1px);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.66);
    background:
        linear-gradient(135deg, rgba(33, 79, 155, 0.84), rgba(13, 117, 103, 0.7));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 12px 26px rgba(33, 79, 155, 0.13);
}

.footer-info-link--legal:hover i {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.footer-status-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 20px;
}

.footer-status-card__top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.footer-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    color: var(--probooks-ink) !important;
    border: 1px solid rgba(255, 255, 255, 0.58) !important;
    background: rgba(255, 255, 255, 0.42) !important;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.footer-chip--accent {
    color: #8a4e0b !important;
    background: rgba(255, 237, 210, 0.62) !important;
}

.footer-status-card__text {
    margin: 0;
    color: var(--probooks-muted);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
}

.footer-partner--mini {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.65rem;
    padding: 0.52rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.footer-partner__badge {
    display: inline-flex;
    width: 2.1rem;
    height: 2.1rem;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 0.7rem;
    background: linear-gradient(135deg, #ff9343, #f36d27);
    font-weight: 950;
}

.footer-partner__title {
    display: block;
    color: var(--probooks-ink);
    font-weight: 950;
    line-height: 1;
}

.footer-bottom-strip {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.82rem 1rem;
    border-radius: 18px;
    color: var(--probooks-muted);
    font-size: 0.9rem;
    font-weight: 750;
}

@media (max-width: 1199.98px) {
    .probooks-home-hero__main {
        grid-template-columns: 1fr;
    }

    .probooks-home-hero__feature {
        min-height: 26rem;
    }

    .probooks-home-routes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    #app > main {
        padding-top: 1.2rem !important;
    }

    #catalog-home-page {
        max-width: min(1760px, calc(100vw - 6rem));
    }

    .probooks-home-hero {
        margin-top: -0.15rem;
        margin-bottom: 1.35rem !important;
    }

    .probooks-home-hero__main {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 0.4fr);
        min-height: 220px;
        gap: 0.58rem;
    }

    .probooks-home-hero__copy {
        padding: clamp(1.25rem, 1.9vw, 2rem);
        border-radius: 14px;
    }

    .probooks-home-hero__title {
        max-width: 15ch;
        margin-top: 0.6rem;
        font-size: clamp(1.9rem, 2.55vw, 3.2rem);
        line-height: 1;
    }

    .probooks-home-hero__text {
        max-width: 34rem;
        margin-top: 0.72rem;
        font-size: 0.82rem;
        line-height: 1.46;
    }

    .probooks-home-hero__actions,
    .probooks-home-hero__signals {
        margin-top: 0.72rem;
        gap: 0.45rem;
    }

    .probooks-home-hero__primary,
    .probooks-home-hero__secondary {
        min-height: 2.12rem;
        padding: 0 0.72rem;
        font-size: 0.78rem;
    }

    .probooks-home-hero__feature {
        padding: 0.82rem;
        border-radius: 14px;
    }

    .probooks-home-hero__book {
        width: min(100%, 9.4rem);
        padding: 0.72rem;
    }

    .probooks-home-hero__note {
        right: 0.62rem;
        bottom: 0.62rem;
        width: 9.4rem;
        padding: 0.52rem;
        font-size: 0.72rem;
    }

    .probooks-home-routes {
        gap: 0.58rem;
        margin-top: 0.55rem;
    }

    .probooks-home-routes__item {
        min-height: 6.35rem;
        padding: 0.72rem;
        border-radius: 12px;
    }

    .probooks-home-routes__icon {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 1.06rem;
    }

    .probooks-home-routes__label {
        font-size: 1rem;
        line-height: 1.08;
    }

    .probooks-home-routes__meta {
        font-size: 0.78rem;
        line-height: 1.28;
    }

    .probooks-catalog-head {
        margin-top: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    #catalog-home-page {
        padding-inline: 1rem;
    }

    .probooks-wordmark__pro {
        min-width: 2.8rem;
        height: 1.75rem;
        font-size: 0.86rem;
    }

    .probooks-wordmark__books {
        font-size: 1.05rem;
    }

    .probooks-home-hero {
        margin-top: 1rem;
    }

    .probooks-home-hero__copy,
    .probooks-home-hero__feature,
    .probooks-empty-catalog {
        border-radius: 14px;
    }

    .probooks-home-hero__copy {
        padding: 1.45rem;
    }

    .probooks-home-hero__title {
        max-width: 12ch;
    }

    .probooks-home-routes {
        grid-template-columns: 1fr 1fr;
    }

    .probooks-home-routes__item {
        min-height: 8.5rem;
    }

    .probooks-catalog-head {
        display: grid;
        margin-top: 2.5rem;
    }

    .probooks-filter-bar .catalog-filter-toolbar__buttons {
        border-radius: 18px;
        justify-content: flex-start !important;
    }

    .probooks-empty-catalog {
        grid-template-columns: 1fr;
    }

    .probooks-empty-catalog__shelf {
        min-height: 10rem;
    }
}

@media (max-width: 420px) {
    .probooks-home-routes {
        grid-template-columns: 1fr;
    }

    .probooks-home-hero__actions {
        display: grid;
    }
}

.probooks-home-hero__copy,
.probooks-home-hero__copy h1,
.probooks-home-hero__copy h2,
.probooks-home-hero__copy h3,
.probooks-home-hero__copy .probooks-home-hero__title {
    color: #fff !important;
}

.probooks-home-hero__copy .probooks-home-hero__secondary,
.probooks-home-hero__copy .probooks-home-hero__signals span {
    color: rgba(255, 255, 255, 0.84) !important;
}

/* Liquid Glass homepage layer */
.probooks-home-hero {
    position: relative;
    isolation: isolate;
}

.probooks-home-hero::before {
    content: "";
    position: absolute;
    inset: -1.6rem -2.4rem auto;
    height: 72%;
    z-index: -1;
    border-radius: 36px;
    background:
        radial-gradient(circle at 16% 28%, rgba(255, 255, 255, 0.8), transparent 20rem),
        radial-gradient(circle at 78% 20%, rgba(99, 166, 255, 0.28), transparent 22rem),
        radial-gradient(circle at 55% 78%, rgba(61, 190, 160, 0.20), transparent 20rem);
    filter: blur(18px);
    opacity: 0.86;
}

.probooks-home-hero__copy,
.probooks-home-hero__feature,
.probooks-home-routes__item,
.probooks-empty-catalog {
    backdrop-filter: blur(24px) saturate(1.32);
    -webkit-backdrop-filter: blur(24px) saturate(1.32);
}

.probooks-home-hero__copy {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background:
        linear-gradient(135deg, rgba(19, 31, 54, 0.86), rgba(35, 76, 137, 0.7)),
        radial-gradient(circle at 9% 12%, rgba(255, 255, 255, 0.24), transparent 14rem),
        radial-gradient(circle at 88% 78%, rgba(82, 215, 186, 0.22), transparent 18rem) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -24px 60px rgba(255, 255, 255, 0.06),
        0 28px 70px rgba(22, 32, 51, 0.2);
}

.probooks-home-hero__copy::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.42), transparent 18%),
        radial-gradient(circle at 44% 0%, rgba(255, 255, 255, 0.28), transparent 16rem);
    opacity: 0.42;
    pointer-events: none;
}

.probooks-home-hero__copy::after {
    right: -4rem;
    bottom: -8rem;
    width: 22rem;
    height: 22rem;
    border-color: rgba(255, 255, 255, 0.2);
}

.probooks-home-hero__eyebrow {
    color: #fff4d7;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.probooks-home-hero__feature {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(245, 250, 247, 0.28)),
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.88), transparent 10rem),
        radial-gradient(circle at 82% 76%, rgba(54, 190, 164, 0.18), transparent 14rem) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 24px 60px rgba(22, 32, 51, 0.12);
}

.probooks-home-hero__feature::before {
    content: "";
    position: absolute;
    inset: -35% auto auto -22%;
    width: 20rem;
    height: 20rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    filter: blur(18px);
}

.probooks-home-hero__dashboard {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.72rem;
    width: min(100%, 20rem);
    margin: auto;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.22)),
        radial-gradient(circle at 92% 12%, rgba(33, 79, 155, 0.18), transparent 9rem);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 18px 44px rgba(22, 32, 51, 0.14);
}

.probooks-home-hero__dashboard-kicker {
    color: var(--probooks-green);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.probooks-home-hero__dashboard-title {
    color: var(--probooks-ink);
    font-size: clamp(1rem, 1.8vw, 1.55rem);
    line-height: 1.05;
}

.probooks-home-hero__dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.probooks-home-hero__dashboard-grid span {
    min-height: 2.35rem;
    display: flex;
    align-items: center;
    padding: 0 0.65rem;
    color: var(--probooks-ink);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.46);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    font-weight: 850;
}

.probooks-home-hero__dashboard-rail {
    display: grid;
    gap: 0.35rem;
}

.probooks-home-hero__dashboard-rail span {
    height: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(33, 79, 155, 0.3), rgba(13, 117, 103, 0.18));
}

.probooks-home-hero__dashboard-rail span:nth-child(2) {
    width: 76%;
}

.probooks-home-hero__dashboard-rail span:nth-child(3) {
    width: 48%;
}

.probooks-home-routes__item {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.56);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.28)),
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.92), transparent 7rem) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 14px 36px rgba(22, 32, 51, 0.08);
}

.probooks-home-routes__item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(33, 79, 155, 0.76), rgba(13, 117, 103, 0.52));
    opacity: 0;
    transition: opacity 0.18s ease;
}

.probooks-home-routes__item:hover::before {
    opacity: 1;
}

.probooks-home-routes__icon {
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

@media (min-width: 1200px) {
    .probooks-home-hero__dashboard {
        width: min(100%, 13.4rem);
        padding: 0.76rem;
        gap: 0.48rem;
        border-radius: 14px;
    }

    .probooks-home-hero__dashboard-grid {
        gap: 0.32rem;
    }

    .probooks-home-hero__dashboard-grid span {
        min-height: 1.82rem;
        padding: 0 0.5rem;
        border-radius: 10px;
        font-size: 0.68rem;
    }

    .probooks-home-hero__dashboard-title {
        font-size: 1.05rem;
    }
}

.probooks-home-body .probooks-catalog-head {
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.24)),
        radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.92), transparent 10rem);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 18px 46px rgba(22, 32, 51, 0.08);
    backdrop-filter: blur(24px) saturate(1.22);
    -webkit-backdrop-filter: blur(24px) saturate(1.22);
}

.probooks-home-body .probooks-catalog-head__eyebrow,
.probooks-home-body .probooks-empty-catalog__eyebrow {
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.probooks-home-body .probooks-filter-bar .catalog-filter-toolbar__buttons,
.probooks-home-body .catalog-layout-switch,
.probooks-home-body .pagination .page-link {
    border-color: rgba(255, 255, 255, 0.58) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.28)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 14px 34px rgba(22, 32, 51, 0.07);
    backdrop-filter: blur(22px) saturate(1.18);
    -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.probooks-home-body .probooks-filter-bar .btn {
    border-color: rgba(255, 255, 255, 0.56) !important;
    background: rgba(255, 255, 255, 0.42) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.probooks-home-body .probooks-filter-bar .btn-outline-light:hover,
.probooks-home-body .probooks-filter-bar .btn-outline-light:focus-visible {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.66) !important;
    background:
        linear-gradient(135deg, rgba(33, 79, 155, 0.94), rgba(13, 117, 103, 0.8)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        0 18px 38px rgba(33, 79, 155, 0.2) !important;
}

.probooks-home-body .probooks-filter-bar .btn-outline-warning:hover,
.probooks-home-body .probooks-filter-bar .btn-outline-warning:focus-visible {
    color: #fff !important;
    border-color: rgba(255, 213, 146, 0.74) !important;
    background:
        linear-gradient(135deg, rgba(160, 82, 7, 0.96), rgba(231, 154, 43, 0.88)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 18px 38px rgba(170, 92, 8, 0.2) !important;
}

.probooks-home-body .probooks-filter-bar .btn-primary,
.probooks-home-body .catalog-layout-switch__button.is-active,
.probooks-home-body .pagination .active .page-link {
    color: #fff !important;
    background:
        linear-gradient(135deg, rgba(33, 79, 155, 0.88), rgba(13, 117, 103, 0.76)) !important;
}

.probooks-home-body .pagination .page-link:hover,
.probooks-home-body .pagination .page-link:focus-visible {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.66) !important;
    background:
        linear-gradient(135deg, rgba(33, 79, 155, 0.94), rgba(13, 117, 103, 0.8)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        0 18px 38px rgba(33, 79, 155, 0.2) !important;
}

.probooks-home-body .catalog-grid-shell .card,
.probooks-home-body .vertical-book-card-wrapper {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.58) !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.24)),
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.85), transparent 8rem) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 18px 42px rgba(22, 32, 51, 0.08) !important;
    backdrop-filter: blur(22px) saturate(1.18);
    -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.probooks-home-body .vertical-book-card-wrapper::before,
.probooks-home-body .catalog-grid-shell .card::before,
.probooks-home-body .probooks-empty-catalog::before,
.probooks-home-body .footer-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.5), transparent 24%);
    opacity: 0.38;
    pointer-events: none;
}

.probooks-home-body .probooks-empty-catalog {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.58);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(245, 250, 247, 0.28)),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.86), transparent 12rem),
        radial-gradient(circle at 92% 86%, rgba(61, 190, 160, 0.18), transparent 16rem) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 22px 56px rgba(22, 32, 51, 0.09);
}

.probooks-home-body .probooks-empty-catalog__shelf {
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(18px) saturate(1.16);
    -webkit-backdrop-filter: blur(18px) saturate(1.16);
}

.probooks-home-body .probooks-collections-section {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.54) !important;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 18px 44px rgba(22, 32, 51, 0.07);
    backdrop-filter: blur(22px) saturate(1.18);
    -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.probooks-home-body .book-page-collection-card,
.probooks-home-body .book-page-collections-slider-nav,
.probooks-home-body #home-page-collections-placeholder {
    border-color: rgba(255, 255, 255, 0.58) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.24)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 14px 34px rgba(22, 32, 51, 0.07) !important;
    backdrop-filter: blur(20px) saturate(1.18);
    -webkit-backdrop-filter: blur(20px) saturate(1.18);
}

.probooks-home-body #home-page-collections-placeholder {
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 18px;
    color: var(--probooks-muted) !important;
}

.probooks-home-body .footer-shell {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.58) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.26)),
        radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.9), transparent 18rem),
        radial-gradient(circle at 94% 84%, rgba(33, 79, 155, 0.14), transparent 18rem) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 22px 60px rgba(22, 32, 51, 0.10);
    backdrop-filter: blur(24px) saturate(1.22);
    -webkit-backdrop-filter: blur(24px) saturate(1.22);
}

.probooks-home-body .footer-brand-mark,
.probooks-home-body .footer-chip,
.probooks-home-body .footer-partner {
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.38) !important;
    color: var(--probooks-ink) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.probooks-home-body .footer-link {
    color: var(--probooks-ink) !important;
}

/* PRO Books liquid book cards */
.probooks-book-card {
    position: relative;
    isolation: isolate;
    padding: 0.54rem !important;
    border: 1px solid rgba(255, 255, 255, 0.62) !important;
    border-radius: 24px !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(244, 249, 246, 0.32)),
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.9), transparent 8.5rem),
        radial-gradient(circle at 100% 78%, rgba(13, 117, 103, 0.13), transparent 9rem) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(22, 32, 51, 0.04),
        0 22px 54px rgba(22, 32, 51, 0.1) !important;
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
}

.probooks-book-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.58), transparent 28%),
        linear-gradient(180deg, transparent 62%, rgba(33, 79, 155, 0.08));
    opacity: 0.86;
    pointer-events: none;
}

.probooks-book-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(33, 79, 155, 0.9), rgba(13, 117, 103, 0.68), rgba(245, 177, 66, 0.76));
    opacity: 0.72;
    pointer-events: none;
}

.probooks-book-card:hover {
    transform: none !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.94),
        0 26px 64px rgba(22, 32, 51, 0.14) !important;
}

.probooks-book-card__cover-shell {
    overflow: visible;
    padding: 0.38rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.13)),
        radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.78), transparent 6rem);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.76),
        0 12px 28px rgba(22, 32, 51, 0.08);
}

.probooks-book-card__cover-link {
    position: relative;
    border-radius: 16px !important;
    box-shadow:
        0 18px 34px rgba(22, 32, 51, 0.18),
        0 2px 0 rgba(255, 255, 255, 0.55);
}

.probooks-book-card__cover-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.28), transparent 34%, rgba(10, 18, 32, 0.12));
    pointer-events: none;
}

.probooks-book-card__cover-link img {
    border-radius: 16px !important;
    transform-origin: center;
}

.probooks-book-card:hover .probooks-book-card__cover-link img {
    transform: scale(1.045) rotate(-0.6deg);
}

.probooks-book-card.hover-card-lift:hover,
.probooks-book-list-card.hover-card-lift:hover,
.top100-card.hover-card-lift:hover,
.author-book-row-card.hover-card-lift:hover,
.series-book-row-card.hover-card-lift:hover {
    transform: none !important;
}

.probooks-book-card__rating-wrap {
    padding: 0.55rem !important;
    background: linear-gradient(180deg, transparent, rgba(10, 18, 32, 0.46)) !important;
}

.probooks-book-card__rating {
    display: inline-flex;
    align-items: center;
    min-height: 1.72rem;
    padding: 0.32rem 0.62rem !important;
    color: #fff8df !important;
    background: rgba(22, 32, 51, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 10px 22px rgba(10, 18, 32, 0.22) !important;
    backdrop-filter: blur(14px) saturate(1.18);
    -webkit-backdrop-filter: blur(14px) saturate(1.18);
}

.probooks-book-card__body {
    position: relative;
    z-index: 1;
    padding: 0.9rem 0.34rem 0.26rem !important;
}

.probooks-book-card__title {
    margin-bottom: 0.35rem !important;
    letter-spacing: -0.025em;
}

.probooks-book-card__title a {
    color: var(--probooks-ink) !important;
}

.probooks-book-card__title a:hover {
    color: var(--probooks-green) !important;
}

.probooks-book-card__authors,
.probooks-book-card__authors a,
.probooks-book-card__genre {
    color: rgba(22, 32, 51, 0.62) !important;
}

.probooks-book-card__genre {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.32rem 0.62rem;
    border: 1px solid rgba(22, 32, 51, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.probooks-book-card__metrics {
    gap: 0.45rem;
    padding-top: 0.62rem !important;
    border-top: 0 !important;
}

.probooks-book-card__metric {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.9rem;
    padding: 0.28rem 0.58rem;
    color: rgba(22, 32, 51, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.probooks-book-card__metric i {
    display: inline-flex;
    color: #2f73aa !important;
    font-size: 0.95em;
    line-height: 1;
    opacity: 1;
}

.book-series-list [hidden] {
    display: none !important;
}

.book-series-load-more {
    min-height: 2.7rem;
    background: #fff !important;
    color: #2f73aa !important;
    border-color: rgba(47, 115, 170, 0.42) !important;
    box-shadow: 0 12px 26px rgba(47, 115, 170, 0.12);
}

.book-series-load-more:hover,
.book-series-load-more:focus {
    background: #eef7ff !important;
    color: #245f8f !important;
    border-color: rgba(47, 115, 170, 0.62) !important;
}

.probooks-book-card .dropdown > .btn {
    color: var(--probooks-ink) !important;
    background: rgba(255, 255, 255, 0.64) !important;
    border: 1px solid rgba(255, 255, 255, 0.58) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 10px 24px rgba(22, 32, 51, 0.14) !important;
    backdrop-filter: blur(16px) saturate(1.18);
    -webkit-backdrop-filter: blur(16px) saturate(1.18);
}

.probooks-book-list-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.62) !important;
    border-radius: 26px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(244, 249, 246, 0.28)),
        radial-gradient(circle at 0% 8%, rgba(255, 255, 255, 0.92), transparent 12rem),
        radial-gradient(circle at 100% 100%, rgba(33, 79, 155, 0.12), transparent 16rem) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 22px 58px rgba(22, 32, 51, 0.09) !important;
    backdrop-filter: blur(24px) saturate(1.18);
    -webkit-backdrop-filter: blur(24px) saturate(1.18);
}

.probooks-book-list-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.42rem;
    background: linear-gradient(180deg, rgba(33, 79, 155, 0.82), rgba(13, 117, 103, 0.64), rgba(245, 177, 66, 0.72));
    opacity: 0.86;
}

.probooks-book-list-card__body {
    position: relative;
    z-index: 1;
    padding-left: 1.35rem !important;
}

.probooks-book-list-card__cover {
    position: relative;
    padding: 0.34rem;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 14px 30px rgba(22, 32, 51, 0.12);
}

.probooks-book-list-card__image {
    border-radius: 14px !important;
    box-shadow: 0 14px 24px rgba(22, 32, 51, 0.16) !important;
}

.probooks-book-list-card__title a {
    color: var(--probooks-ink) !important;
}

.probooks-book-list-card__title a:hover {
    color: var(--probooks-green) !important;
}

.probooks-book-list-card__authors,
.probooks-book-list-card__authors a,
.probooks-book-list-card__meta {
    color: rgba(22, 32, 51, 0.62) !important;
}

.probooks-book-list-card__metrics {
    gap: 0.5rem !important;
}

.probooks-book-list-card__metric {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.32rem 0.68rem;
    color: rgba(22, 32, 51, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.44);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.probooks-book-list-card__metric--rating {
    color: #9d6115 !important;
    background: rgba(255, 241, 210, 0.6);
}

@media (max-width: 575.98px) {
    .probooks-book-card {
        border-radius: 20px !important;
        padding: 0.42rem !important;
    }

    .probooks-book-card__cover-shell {
        padding: 0.28rem;
        border-radius: 17px;
    }

    .probooks-book-card__cover-link,
    .probooks-book-card__cover-link img {
        border-radius: 13px !important;
    }

    .probooks-book-card__body {
        padding-top: 0.72rem !important;
    }

    .probooks-book-card__genre {
        padding: 0.24rem 0.5rem;
    }

    .probooks-book-card__metric {
        min-height: 1.72rem;
        padding: 0.22rem 0.48rem;
    }

    .probooks-book-list-card__body {
        gap: 0.78rem !important;
        padding: 0.9rem 0.9rem 0.9rem 1.15rem !important;
    }

    .probooks-book-list-card__cover {
        padding: 0.24rem;
        border-radius: 15px;
    }
}

.probooks-home-body .footer-shell--probooks {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(240, 247, 245, 0.32)),
        radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.96), transparent 18rem),
        radial-gradient(circle at 88% 12%, rgba(33, 79, 155, 0.13), transparent 22rem),
        radial-gradient(circle at 80% 100%, rgba(13, 117, 103, 0.12), transparent 24rem) !important;
}

.probooks-home-body .footer-command__brand,
.probooks-home-body .footer-contact-card,
.probooks-home-body .footer-route-board,
.probooks-home-body .footer-status-card,
.probooks-home-body .footer-bottom-strip,
.probooks-home-body .footer-route-link,
.probooks-home-body .footer-info-link--legal,
.probooks-home-body .footer-partner--mini {
    border-color: rgba(255, 255, 255, 0.6) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.22)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 18px 42px rgba(22, 32, 51, 0.07) !important;
}

.probooks-home-body .footer-brand-mark--wide {
    color: #fff !important;
    background:
        linear-gradient(135deg, #17233c, #214f9b 52%, #0d7567) !important;
}

.probooks-home-body .footer-route-link i {
    color: var(--probooks-blue);
    background: rgba(33, 79, 155, 0.1);
}

.probooks-home-body .footer-contact-card__email,
.probooks-home-body .footer-route-link,
.probooks-home-body .footer-info-link,
.probooks-home-body .footer-partner__title {
    color: var(--probooks-ink) !important;
}

.probooks-home-body .footer-route-link:hover,
.probooks-home-body .footer-info-link--legal:hover {
    color: #fff !important;
    background:
        linear-gradient(135deg, rgba(33, 79, 155, 0.94), rgba(13, 117, 103, 0.82)) !important;
}

.probooks-home-body .footer-route-link:hover i,
.probooks-home-body .footer-info-link--legal:hover i {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.16) !important;
}

@media (max-width: 1199.98px) {
    .footer-command,
    .footer-route-board {
        grid-template-columns: 1fr;
    }

    .footer-route-group--legal {
        padding-right: 0;
        padding-bottom: 1.1rem;
        border-right: 0;
        border-bottom: 1px solid rgba(13, 117, 103, 0.14);
    }

    .footer-route-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .footer-shell--probooks {
        border-radius: 22px !important;
    }

    .footer-command__brand {
        grid-template-columns: 1fr;
    }

    .footer-brand-mark--wide {
        width: 3.4rem;
        height: 3.4rem;
        border-radius: 1rem;
    }

    .footer-command__title {
        max-width: 100%;
    }

    .footer-route-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-strip {
        flex-direction: column;
    }
}

/* Cover focus: make book art carry the card instead of extra glass layers. */
.probooks-book-card {
    padding: 0.42rem !important;
    border-color: rgba(23, 74, 118, 0.14) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.82)) !important;
    box-shadow:
        0 18px 42px rgba(23, 74, 118, 0.11),
        0 3px 10px rgba(22, 32, 51, 0.05) !important;
}

.probooks-book-card::before {
    opacity: 0.16 !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 42%) !important;
}

.probooks-book-card::after {
    display: none !important;
}

.probooks-book-card__cover-shell {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.probooks-book-card__cover-link {
    border: 1px solid rgba(22, 32, 51, 0.12) !important;
    border-radius: 16px !important;
    background: #101827 !important;
    box-shadow:
        0 18px 34px rgba(22, 32, 51, 0.22),
        0 1px 0 rgba(255, 255, 255, 0.68) !important;
}

.probooks-book-card__cover-link::after {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 30%),
        linear-gradient(180deg, transparent 58%, rgba(10, 18, 32, 0.26)) !important;
}

.probooks-book-card__cover-link img {
    display: block;
    filter: saturate(1.12) contrast(1.05) brightness(1.015);
}

.probooks-book-card:hover .probooks-book-card__cover-link {
    box-shadow:
        0 22px 42px rgba(23, 74, 118, 0.24),
        0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

.probooks-book-card__rating-wrap {
    padding: 0.46rem !important;
    background: linear-gradient(180deg, transparent 12%, rgba(10, 18, 32, 0.34)) !important;
}

.probooks-book-card__rating {
    color: #8a5708 !important;
    background: rgba(255, 255, 255, 0.88) !important;
    border-color: rgba(255, 255, 255, 0.72) !important;
    box-shadow: 0 8px 18px rgba(10, 18, 32, 0.18) !important;
}

.probooks-book-card .dropdown > .btn {
    background: rgba(255, 255, 255, 0.82) !important;
    border-color: rgba(22, 32, 51, 0.12) !important;
    box-shadow: 0 10px 22px rgba(22, 32, 51, 0.16) !important;
}

@media (max-width: 575.98px) {
    .probooks-book-card {
        padding: 0.32rem !important;
    }

    .probooks-book-card__cover-shell,
    .probooks-book-card__cover-link,
    .probooks-book-card__cover-link img {
        border-radius: 14px !important;
    }
}

/* Home scroll stability: keep the glass look, but avoid live blur repaints while scrolling. */
.probooks-home-body::before {
    position: absolute;
    min-height: 100vh;
    height: 1800px;
    bottom: auto;
}

.probooks-home-body .probooks-home-hero__copy,
.probooks-home-body .probooks-home-hero__feature,
.probooks-home-body .probooks-home-routes__item,
.probooks-home-body .probooks-empty-catalog,
.probooks-home-body .probooks-catalog-head,
.probooks-home-body .probooks-filter-bar .catalog-filter-toolbar__buttons,
.probooks-home-body .catalog-layout-switch,
.probooks-home-body .pagination .page-link,
.probooks-home-body .catalog-grid-shell .card,
.probooks-home-body .vertical-book-card-wrapper,
.probooks-home-body .probooks-empty-catalog__shelf,
.probooks-home-body .probooks-collections-section,
.probooks-home-body .book-page-collection-card,
.probooks-home-body .book-page-collections-slider-nav,
.probooks-home-body #home-page-collections-placeholder,
.probooks-home-body .footer-shell,
.probooks-home-body .probooks-book-card,
.probooks-home-body .probooks-book-card__rating,
.probooks-home-body .probooks-book-card .dropdown > .btn,
.probooks-home-body .probooks-book-list-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.probooks-home-body #home-page-collections-placeholder,
.probooks-home-body #home-page-collections-slider {
    min-height: 15rem;
}

.probooks-home-body .book-page-collections-slider.d-none {
    display: block !important;
    visibility: hidden;
    pointer-events: none;
}

.probooks-auth-prompt {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: grid;
    place-items: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.probooks-auth-prompt.is-open {
    opacity: 1;
    pointer-events: auto;
}

.probooks-auth-prompt__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.probooks-auth-prompt__dialog {
    position: relative;
    width: min(100%, 25.5rem);
    padding: 1.35rem;
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
    color: #1f2a3d;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.18s ease;
}

.probooks-auth-prompt.is-open .probooks-auth-prompt__dialog {
    transform: translateY(0) scale(1);
}

.probooks-auth-prompt__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #475569;
}

.probooks-auth-prompt__close::before,
.probooks-auth-prompt__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
}

.probooks-auth-prompt__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.probooks-auth-prompt__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.probooks-auth-prompt__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.9rem;
    border-radius: 18px;
    background: #e8f3ff;
    color: #1f6ea8;
    font-size: 1.35rem;
}

.probooks-auth-prompt__icon .bi-person {
    font-size: 1.18rem;
    transform: translate(-0.1rem, -0.04rem);
}

.probooks-auth-prompt__icon .bi-lock {
    position: absolute;
    right: 0.64rem;
    bottom: 0.62rem;
    font-size: 0.72rem;
    line-height: 1;
}

.probooks-auth-prompt__title {
    margin: 0 2rem 0.45rem 0;
    color: #1d2738;
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 800;
}

.probooks-auth-prompt__text {
    margin: 0;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.5;
}

.probooks-auth-prompt__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.probooks-auth-prompt__primary,
.probooks-auth-prompt__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
}

.probooks-auth-prompt__primary {
    background: #2f73aa;
    color: #fff;
    box-shadow: 0 12px 26px rgba(47, 115, 170, 0.24);
}

.probooks-auth-prompt__primary:hover,
.probooks-auth-prompt__primary:focus {
    color: #fff;
    background: #245f8f;
}

.probooks-auth-prompt__secondary {
    border: 1px solid rgba(47, 115, 170, 0.3);
    background: #fff;
    color: #2f5f89;
}

.probooks-auth-prompt__secondary:hover,
.probooks-auth-prompt__secondary:focus {
    color: #1d4f75;
    background: #eef7ff;
}

.probooks-auth-prompt-open {
    overflow: hidden;
}

/* Coherent night mode: darken PRO Books surfaces instead of mixing light cards with Bootstrap dark. */
[data-bs-theme="dark"] {
    --probooks-ink: #edf4ff;
    --probooks-muted: #a9b8cc;
    --probooks-line: rgba(180, 205, 235, 0.16);
    --probooks-blue: #8ec7ff;
    --probooks-green: #73d6c8;
    --probooks-amber: #f5b95f;
    --probooks-paper: #151f2f;
    --probooks-bg: #07111f;
}

[data-bs-theme="dark"] body {
    background:
        linear-gradient(180deg, rgba(7, 17, 31, 0.98), rgba(10, 21, 38, 0.98) 34rem),
        radial-gradient(circle at 13% 5%, rgba(245, 185, 95, 0.08), transparent 26rem),
        radial-gradient(circle at 88% 10%, rgba(115, 214, 200, 0.08), transparent 28rem),
        #07111f !important;
    color: var(--probooks-ink) !important;
}

[data-bs-theme="dark"] body::before {
    background:
        linear-gradient(90deg, rgba(190, 215, 245, 0.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(190, 215, 245, 0.048) 1px, transparent 1px);
    opacity: 0.62;
}

[data-bs-theme="dark"] .text-white,
[data-bs-theme="dark"] .text-white-75 {
    color: #edf4ff !important;
}

[data-bs-theme="dark"] .text-white-50,
[data-bs-theme="dark"] .text-muted {
    color: #a9b8cc !important;
}

[data-bs-theme="dark"] .site-navbar,
[data-bs-theme="dark"] .bg-dark-card,
[data-bs-theme="dark"] .bg-feature-card,
[data-bs-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .footer-shell,
[data-bs-theme="dark"] .probooks-home-hero__copy,
[data-bs-theme="dark"] .probooks-home-hero__feature,
[data-bs-theme="dark"] .probooks-home-routes__item,
[data-bs-theme="dark"] .probooks-book-card,
[data-bs-theme="dark"] .probooks-book-list-card,
[data-bs-theme="dark"] .genre-index-card,
[data-bs-theme="dark"] .probooks-catalog-head,
[data-bs-theme="dark"] .probooks-filter-bar .catalog-filter-toolbar__buttons,
[data-bs-theme="dark"] .catalog-layout-switch,
[data-bs-theme="dark"] .book-page-collection-card,
[data-bs-theme="dark"] .book-reviews-card,
[data-bs-theme="dark"] .probooks-auth-prompt__dialog {
    background:
        linear-gradient(145deg, rgba(22, 34, 52, 0.96), rgba(12, 24, 42, 0.94)) !important;
    border-color: rgba(174, 205, 235, 0.16) !important;
    color: #edf4ff !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 20px 46px rgba(0, 0, 0, 0.36) !important;
}

[data-bs-theme="dark"] .site-navbar::after {
    opacity: 0.34;
}

[data-bs-theme="dark"] .site-navbar .nav-link,
[data-bs-theme="dark"] .site-navbar .dropdown-toggle,
[data-bs-theme="dark"] .site-navbar .text-white-50 {
    color: #b7c6d9 !important;
}

[data-bs-theme="dark"] .site-navbar .nav-link:hover,
[data-bs-theme="dark"] .site-navbar .nav-link.active,
[data-bs-theme="dark"] .site-navbar .hover-text-white:hover,
[data-bs-theme="dark"] .site-navbar .text-primary {
    color: #ffffff !important;
    background: rgba(142, 199, 255, 0.12) !important;
}

[data-bs-theme="dark"] .site-navbar .probooks-theme-toggle,
[data-bs-theme="dark"] .site-navbar .probooks-library-link,
[data-bs-theme="dark"] .site-navbar .probooks-login-btn,
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .input-group-text,
[data-bs-theme="dark"] input[type="search"],
[data-bs-theme="dark"] .probooks-book-card__genre,
[data-bs-theme="dark"] .probooks-book-card__metric,
[data-bs-theme="dark"] .footer-route-link,
[data-bs-theme="dark"] .footer-info-link,
[data-bs-theme="dark"] .footer-info-link--legal {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(174, 205, 235, 0.18) !important;
    color: #edf4ff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

[data-bs-theme="dark"] .probooks-register-btn,
[data-bs-theme="dark"] .btn-primary,
[data-bs-theme="dark"] .probooks-home-hero__primary {
    background: linear-gradient(135deg, #2258a3, #0d8074) !important;
    border-color: rgba(142, 199, 255, 0.24) !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .btn-outline-light,
[data-bs-theme="dark"] .btn-outline-primary,
[data-bs-theme="dark"] .probooks-home-hero__secondary {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(142, 199, 255, 0.36) !important;
    color: #cfe6ff !important;
}

[data-bs-theme="dark"] .probooks-book-card__title a,
[data-bs-theme="dark"] .probooks-book-card__authors,
[data-bs-theme="dark"] .probooks-book-card__authors a,
[data-bs-theme="dark"] .probooks-book-card__genre,
[data-bs-theme="dark"] .probooks-book-card__metric,
[data-bs-theme="dark"] .footer-command__title,
[data-bs-theme="dark"] .footer-route-link span,
[data-bs-theme="dark"] .footer-info-link span,
[data-bs-theme="dark"] .genre-index-card .text-white {
    color: #edf4ff !important;
}

[data-bs-theme="dark"] .probooks-home-hero__text,
[data-bs-theme="dark"] .probooks-home-routes__meta,
[data-bs-theme="dark"] .footer-command__text,
[data-bs-theme="dark"] .footer-contact-card__hint,
[data-bs-theme="dark"] .footer-status-card__text {
    color: #a9b8cc !important;
}

[data-bs-theme="dark"] .probooks-book-card::before,
[data-bs-theme="dark"] .probooks-book-card::after,
[data-bs-theme="dark"] .footer-shell__glow {
    opacity: 0.18;
}

@media (max-width: 767.98px) {
    .probooks-home-body::before {
        height: 1400px;
    }

    .probooks-home-body #home-page-collections-placeholder,
    .probooks-home-body #home-page-collections-slider {
        min-height: 12rem;
    }
}

/* Mobile catalog entry: keep the hero, but make it compact. */
@media (max-width: 767.98px) {
    .probooks-home-body #app > main {
        padding-top: 0.55rem !important;
    }

    .probooks-home-body #catalog-home-page {
        padding-inline: 0.75rem;
        padding-bottom: 2rem !important;
    }

    .probooks-home-body .probooks-home-hero {
        display: block !important;
        margin-top: 0.35rem !important;
        margin-bottom: 0.9rem !important;
    }

    .probooks-home-body .probooks-home-hero::before,
    .probooks-home-body .probooks-home-hero__feature {
        display: none !important;
    }

    .probooks-home-body .probooks-home-hero__main {
        display: block;
        min-height: 0;
    }

    .probooks-home-body .probooks-home-hero__copy {
        padding: 0.92rem 0.95rem;
        border-radius: 16px;
        min-height: 0;
    }

    .probooks-home-body .probooks-home-hero__eyebrow {
        display: none;
    }

    .probooks-home-body .probooks-home-hero__title {
        max-width: 100%;
        margin: 0;
        font-size: 1.34rem;
        line-height: 1.05;
        letter-spacing: 0;
    }

    .probooks-home-body .probooks-home-hero__text {
        display: -webkit-box;
        margin-top: 0.42rem;
        font-size: 0.82rem;
        line-height: 1.32;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .probooks-home-body .probooks-home-hero__actions {
        display: flex;
        gap: 0.42rem;
        margin-top: 0.6rem;
    }

    .probooks-home-body .probooks-home-hero__primary,
    .probooks-home-body .probooks-home-hero__secondary {
        min-height: 2rem;
        padding: 0 0.64rem;
        border-radius: 999px;
        font-size: 0.76rem;
        line-height: 1;
        white-space: nowrap;
    }

    .probooks-home-body .probooks-home-hero__signals {
        display: none;
    }

    .probooks-home-body .probooks-home-routes {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.4rem;
        margin-top: 0.48rem;
    }

    .probooks-home-body .probooks-home-routes__item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 4.2rem;
        padding: 0.45rem 0.35rem;
        border-radius: 14px;
        align-items: center;
        text-align: center;
    }

    .probooks-home-body .probooks-home-routes__item:nth-child(n + 5) {
        display: none;
    }

    .probooks-home-body .probooks-home-routes__item:nth-child(1) {
        display: none !important;
    }

    .probooks-home-body .probooks-home-routes__item:nth-child(5) {
        display: flex !important;
        order: 4;
    }

    .probooks-home-body .probooks-home-routes__icon {
        width: 1.75rem;
        height: 1.75rem;
        margin: 0 auto;
        font-size: 0.9rem;
    }

    .probooks-home-body .probooks-home-routes__label {
        margin-top: 0.28rem;
        font-size: 0.76rem;
        line-height: 1.05;
    }

    .probooks-home-body .probooks-home-routes__meta {
        display: none;
    }

    .probooks-home-body .probooks-catalog-head {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 0.65rem;
        margin-top: 0 !important;
        margin-bottom: 0.65rem !important;
        padding: 0.72rem 0.78rem;
        border-radius: 16px;
    }

    .probooks-home-body .probooks-catalog-head > div:first-child {
        min-width: 0;
        flex: 1 1 auto;
    }

    .probooks-home-body .probooks-catalog-head .catalog-filter-toolbar__layout {
        flex: 0 0 auto;
    }

    .probooks-home-body .probooks-catalog-head__eyebrow {
        display: none;
    }

    .probooks-home-body .probooks-catalog-head__title {
        display: -webkit-box;
        font-size: 1.02rem;
        line-height: 1.05;
        letter-spacing: 0;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .probooks-home-body .probooks-filter-bar {
        margin-bottom: 1.25rem !important;
    }

    .probooks-home-body .probooks-filter-bar .catalog-filter-toolbar__buttons {
        gap: 0.45rem !important;
        padding: 0.56rem;
        border-radius: 16px;
    }

    .probooks-home-body .probooks-filter-bar .btn {
        min-height: 2.12rem;
        padding-inline: 0.68rem !important;
        font-size: 0.78rem;
        line-height: 1;
    }

    .probooks-home-body .probooks-filter-bar .btn i {
        margin-right: 0.32rem !important;
    }

    .breadcrumb-nav-fix {
        left: auto !important;
        width: 100vw;
        margin-left: calc(50% - 50vw) !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
    }

    .breadcrumb-list-simple {
        gap: 0.34rem !important;
    }
}

@media (max-width: 991.98px) {
    .container[data-book-id] > .breadcrumb-nav-fix {
        left: auto !important;
        width: calc(100% + 1rem) !important;
        margin-left: -0.5rem !important;
        margin-right: 0 !important;
        padding-left: 0.25rem !important;
        transform: none !important;
    }

    .container[data-book-id] > .breadcrumb-nav-fix .breadcrumb-list-simple {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
}
