/* Match the bookstore's compact navigation and clean reading surfaces. */
:root {
    --rk-bg: #fff;
    --rk-surface: #fff;
    --rk-surface-soft: #f4f6f8;
    --rk-text: #11243a;
    --rk-text-soft: #617086;
    --rk-border: #dce1e7;
    --rk-accent: #ce7909;
    --rk-accent-dark: #a86f16;
    --rk-link: #19334c;
    --rk-shadow: 0 2px 6px #11243a0d;
}
body { background: #fff; color: var(--rk-text); font-family: 'Segoe UI', Arial, sans-serif; }
h1, h2, h3, h4, h5, .btn, .navbar-brand { font-family: inherit; }
h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -.025em; }
a { color: #17334e; }
.site-shell > .site-main > .container, .site-header .container, .site-footer .container {
    width: calc(100% - 72px); max-width: 1480px;
}
.site-header { background: #0d2332; border-bottom: 1px solid #263a48; box-shadow: none; }
.site-header::before { opacity: .55; background-position: center 45%; }
.site-header .navbar { min-height: 76px; padding: 10px 0; }
.site-header .bookish-brand { gap: 10px; margin-right: 30px; color: #fff !important; }
.site-header .bookish-brand img { width: 38px; height: 38px; }
.site-header .brand-title { font: 700 25px/1.2 'Segoe UI', Arial, sans-serif; letter-spacing: -.7px; text-shadow: none; }
.site-header .nav-link { font: 400 14px/1.5 'Segoe UI', Arial, sans-serif; text-shadow: none; color: #fff !important; }
.site-header .account-nav .nav-link { font-size: 13px; }
.site-header .top-tabs .nav-link.active { color: #fff !important; border-bottom-color: #d18414; }
.site-header .navbar-toggler { background: transparent; border-color: #ffffff66; }
.site-header .navbar-toggler-icon { filter: brightness(0) invert(1); }
.site-header .admin-subnav { border-color: #ffffff22 !important; background: #0a1c28; }
.site-main > .container { padding-top: 28px !important; padding-bottom: 36px !important; }
.site-main > .container > .mb-4:first-child { gap: .5rem 1.5rem; margin-bottom: 24px !important; }
.card, .site-main .bb-book-card, .modal-content, .hero-panel, .soft-panel {
    background: #fff; border: 1px solid #dce1e7; border-radius: 6px; box-shadow: none;
}
.card-body, .site-main .bb-book-body { padding: 24px; }
.site-main .bb-book-card::before { display: none; }
.site-main .bb-book-grid { gap: 24px; }
.site-main .bb-book-content { font-size: 1rem; line-height: 1.6; }
.site-main .bb-book-content h2 { font-size: 1.35rem; line-height: 1.3; letter-spacing: -.02em; }
.site-main .bb-book-content > .text-muted.small:first-child { color: #617086 !important; }
.site-main .bb-book-content > .text-muted:not(.small) { font-size: 1rem; }
.site-main .bb-book-content p.small { font-size: .95rem; line-height: 1.6; }
.site-main .bb-book-cover { border-radius: 3px; box-shadow: 0 2px 5px #11243a25; }
.site-main .bb-book-content > .vote-summary { color: #617086; border-color: #dce1e7; }
.site-main .bb-book-content > .vote-summary::before { content: none; }
.site-main .btn-primary,
.site-main .bb-book-content .btn[data-bs-target^='#feature-details'],
.site-main .bb-book-content .btn[data-bs-target^='#book-details'] {
    color: #fff; background: #17334e; border: 1px solid #17334e; border-radius: 4px;
    box-shadow: none; text-shadow: none; padding: .5rem 1rem; font-size: .95rem; font-weight: 600;
}
.site-main .btn-primary:hover,
.site-main .bb-book-content .btn[data-bs-toggle='modal']:hover { background: #244d6e; color: #fff; }
.site-main .btn-outline-dark { color: #17334e; border-color: #cfd7e0; }
.site-main .btn-outline-dark:hover { background: #17334e; color: #fff; }
.form-control, .form-select { background: #fff; border-color: #cfd7e0; }
.form-control:focus, .form-select:focus { background: #fff; border-color: #d18414; }
.modal-header, .modal-footer { border-color: #dce1e7; }
.upcoming-feature-heading { background: #f4f6f8; color: #11243a; border-bottom: 1px solid #dce1e7; padding: 20px 24px; }
.upcoming-feature-heading h2 { font-size: 1.35rem; }
.today-feature .card-body > h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
#signup h2 { font-size: 1.4rem; margin-bottom: 16px; }
.site-footer { background: #fff; border-top: 1px solid #dce1e7; font-size: 13px; }
.site-footer .network-link { color: #617086; }
@media (min-width: 1400px) {
    .site-header .navbar-collapse { background: transparent; border: 0; padding: 0; margin: 0; }
}
@media (max-width: 1399.98px) {
    .site-header .navbar-collapse { background: transparent; border-color: #ffffff22; padding: 12px 0 4px; margin-top: 10px; }
    .site-header .nav-link { padding: 8px 0; }
    .site-header .top-tabs .nav-link.active { color: #efcf8e !important; border-bottom-color: transparent; }
}
@media (max-width: 767px) {
    .site-shell > .site-main > .container, .site-header .container, .site-footer .container { width: calc(100% - 32px); }
    .site-header .navbar { min-height: 70px; }
    .site-main > .container { padding-top: 20px !important; }
    .card-body, .site-main .bb-book-body { padding: 20px; }
}
