/* Shared content bases. Lighting supplies depth; formats keep their hue. */
:root {
  --wasc-news: #552239;
  --wasc-verdict: #d6d96a;
  --wasc-list: #bbdee3;
  --wasc-frost: #f4f8fa;
  --wasc-overload: #8b66ad;
}

/* The same content format carries the same cover colour on every shelf. */
:is(#library .books,.collection) .book[data-format="news"]{--book-bg:var(--wasc-news);--book-ink:var(--wasc-frost)}
:is(#library .books,.collection) .book[data-format="verdict"]{--book-bg:var(--wasc-verdict);--book-ink:var(--wasc-news)}
:is(#library .books,.collection) .book:is([data-format="short-list"],[data-format="skills"]){--book-bg:var(--wasc-list);--book-ink:var(--wasc-news)}
:is(#library .books,.collection) .book[data-format="field-notes"]{--book-bg:var(--wasc-verdict);--book-ink:var(--wasc-news)}
#library .books .book[data-format]{border:1px solid var(--wasc-news)}
