:root {
    --ink: #121212;
    --ink-soft: #4f4b46;
    --paper: #fbf8f1;
    --paper-deep: #f3eee5;
    --paper-edge: #e5dfd3;
    --line: rgba(18, 18, 18, 0.14);
    --line-strong: rgba(18, 18, 18, 0.5);
    --shadow: 0 10px 30px rgba(18, 18, 18, 0.05);
}

body {
    min-height: 100vh;
    color: var(--ink);
    background: #fff;
    font-family: "Libre Baskerville", Georgia, serif;
}

.paper-shell {
    min-height: 100vh;
    background: #fff;
}

.news-rule {
    height: 3px;
    background: #111;
}

.topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.brand-mark,
.display-title,
.section-title,
.card-title,
h1, h2, h3, h4, h5 {
    font-family: "Cormorant Garamond", Georgia, serif;
    letter-spacing: 0.01em;
}

.brand-mark {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--ink);
}

.nav-link {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.nav-link.active,
.nav-link:hover {
    color: var(--ink);
}

.hero-panel,
.classic-card,
.stat-card,
.review-card,
.form-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(248, 244, 237, 0.96));
    border: 1px solid var(--line);
    border-radius: 0.45rem;
}

.hero-compact {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.center-search {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

[data-card-link] {
    cursor: pointer;
}

[data-card-link]:hover {
    border-color: rgba(18, 18, 18, 0.28);
}

.hero-panel {
    overflow: hidden;
    position: relative;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(18, 18, 18, 0.03) 50%, transparent 100%);
    pointer-events: none;
}

.hero-ornament {
    border: 1px solid var(--line);
    background: rgba(18, 18, 18, 0.03);
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
}

.display-title {
    font-size: clamp(2rem, 4.3vw, 3.5rem);
    line-height: 0.96;
}

.lead-copy {
    color: var(--ink-soft);
    max-width: 46rem;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: #6f675f;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.author-medallion,
.book-medallion {
    width: 4rem;
    height: 4rem;
    border-radius: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #262626, #050505);
    color: #f7f2ea;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.book-medallion {
    background: linear-gradient(180deg, #3f3f3f, #131313);
}

.label-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    background: rgba(18, 18, 18, 0.06);
    color: var(--ink);
    font-size: 0.8rem;
    border: 1px solid rgba(18, 18, 18, 0.08);
}

.list-ranked li {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
}

.list-ranked li:last-child {
    border-bottom: 0;
}

.site-footer {
    background: rgba(247, 243, 235, 0.96);
}

.footer-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.5rem;
    color: var(--ink);
}

.table-classic {
    --bs-table-bg: transparent;
}

.table-classic th {
    color: var(--ink);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.1rem;
}

.rating-stars {
    color: #8a6b2f;
    letter-spacing: 0.12em;
}

.muted-caps {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    color: var(--ink-soft);
}

.empty-state {
    border: 1px dashed rgba(18, 18, 18, 0.25);
    border-radius: 0.4rem;
    padding: 1.25rem;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.55);
}

.btn-dark,
.btn-outline-dark:hover {
    background-color: var(--ink);
    border-color: var(--ink);
}

.btn-accent {
    background: #111;
    border-color: #111;
    color: #fff5eb;
}

.btn-accent:hover {
    background: #000;
    border-color: #000;
    color: #fff5eb;
}

.feed-card {
    border: 1px solid #d8dde6;
    border-radius: 0.9rem;
    background: #fff;
}

.feed-card__body {
    padding: 1.1rem 1.15rem;
}

.feed-avatar {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1877f2;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.feed-author-line {
    line-height: 1.35;
}

.feed-user,
.feed-comment__user {
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.feed-post-copy {
    color: #1c1e21;
    white-space: pre-line;
}

.feed-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #65676b;
    font-size: 0.9rem;
    border-bottom: 1px solid #e4e6eb;
    padding-bottom: 0.65rem;
}

.feed-actions {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid #e4e6eb;
    padding-bottom: 0.35rem;
}

.feed-action-link {
    color: #65676b;
    text-decoration: none;
    font-weight: 600;
}

.feed-action-link.is-active {
    color: #1877f2;
}

.feed-comments {
    display: grid;
    gap: 0.65rem;
}

.feed-comment {
    background: #f0f2f5;
    border-radius: 1rem;
    padding: 0.7rem 0.9rem;
}

.feed-comment__body {
    color: #1c1e21;
    font-size: 0.94rem;
}

.feed-comment-form .form-control {
    background: #f0f2f5;
}

.book-cover-panel {
    text-align: center;
}

.book-cover-link {
    display: inline-block;
}

.book-cover-image {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    background: #fff;
}

@media (max-width: 767.98px) {
    .display-title {
        font-size: 2rem;
    }
}
