:root {
    --color-shelf-bg: #19221e;
    --color-shelf-card: #222d26;
    --color-shelf-hover: #354139;
    --color-shelf-border: #48534a;
    --color-shelf-text: #f3eddf;
    --color-shelf-muted: #c0c3b1;
    --color-shelf-accent: #953c48;
    --color-shelf-accent2: #e7b89b;
}

body { background-color: var(--color-shelf-bg); color: var(--color-shelf-text); }

.library-wordmark {
    background: #f1e8d5;
    padding: 0.65rem 0.5rem;
    margin: 0 auto;
    border-radius: 0.2rem;
}

.library-wordmark img { width: 100%; height: auto; display: block; }

.library-nav-mark {
    display: flex;
    align-items: center;
    width: clamp(8.5rem, 17vw, 11.5rem);
    margin-right: 0.375rem;
    flex: none;
}

.library-nav-mark img { display: block; width: 100%; height: auto; filter: invert(1) sepia(0.14); }

.library-footer { text-align: center; margin: 1.25rem 0; font-size: 0.875rem; color: var(--color-shelf-muted); }
.library-footer a { text-decoration: underline; text-underline-offset: 0.16em; }
.library-cover { background: #eee4d0; color: #19221e; border-radius: 0.25rem; padding: 1.25rem; }
.library-cover h1 { font: 700 clamp(1.8rem, 4vw, 3rem)/1.03 Georgia, serif; }
.library-cover p { margin-top: 0.45rem; color: #485047; }
.library-cover a { color: #722a36; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }
.library-guest-form { display: flex; flex-wrap: wrap; align-items: end; gap: 0.75rem; }
.library-guest-form label { flex: 1 1 10rem; font-size: 0.875rem; }
.library-guest-form input { display: block; width: 100%; margin-top: 0.25rem; padding: 0.5rem; background: var(--color-shelf-bg); border: 1px solid var(--color-shelf-border); border-radius: 0.35rem; }
.library-scan-field { display: block; margin-top: 0.75rem; font-size: 0.875rem; }
.library-scan-field :is(input, select) { display: block; width: 100%; margin-top: 0.25rem; padding: 0.55rem; background: var(--color-shelf-bg); border: 1px solid var(--color-shelf-border); border-radius: 0.35rem; }
