/*
  Classic Library theme (Teil 5 §61.2 — marked "Standard"/default).
  "Reading room by day": aged paper, iron-gall ink, gilt-brass lettering,
  oxblood leather bindings. Applied both as the document default (:root)
  and explicitly via [data-theme="classic-library"] so switching back to
  it after another theme works the same way as switching to any other.
*/

:root,
[data-theme="classic-library"] {
    /* Brass / gilt-lettering — primary interactive accent */
    --color-primary: #8c6a24;
    --color-primary-hover: #78591d;
    --color-primary-active: #644a18;

    /* Oxblood leather — secondary/structural accent (progress fills,
       active-nav underline, tags) */
    --color-secondary: #6e2e34;
    --color-secondary-hover: #5c262b;

    --color-gold-accent: #b08d2b;
    /* Accessible-contrast variant of the gold accent, for text/icons that
       need to actually be read (rating stars, focus ring) rather than just
       decorate -- --color-gold-accent itself is ~2.6:1 against
       --color-bg-paper/-card, well under WCAG's 3:1 floor for UI
       components. Same value as --color-primary (issue #341 a11y audit). */
    --color-accent-text: var(--color-primary);
    --color-info: #3e7a93;
    --color-success: #4f7942;
    --color-warning: #b8862b;
    --color-error: #a23b2e;

    --color-bg-paper: #f2e9d8;
    --color-bg-light: #fbf6ec;
    --color-bg-dark: #241a12;
    --color-bg-card: #fbf6ec;
    --color-bg-reader: #f7f0e3;

    --color-text-primary: #241a12;
    --color-text-secondary: #5c4a37;
    --color-text-muted: #8a7660;
    --color-text-disabled: #b8ac9c;
    /* Fixed light text for content sitting on --color-bg-dark (the header),
       which stays dark regardless of the light/dark mode this theme is in. */
    --color-text-on-dark: #efe4d0;

    --color-border: #dccba8;
}
