/* A change of light, shared by every page. */
:root[data-theme='light'] {
 color-scheme:light;
 --paper:#f6f3eb;
 --ink:#24221f;
 --body:#34312c;
 --pen:#425a79;
 --rule:#d3cfc5;
 --pencil:#6a655c;
}
.theme-toggle { position:fixed; z-index:15; top:25px; right:27px; width:44px; height:44px; display:flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:50%; background:var(--paper); color:var(--ink); cursor:pointer; }
.theme-toggle[hidden] { display:none; }
.theme-toggle svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.25; stroke-linecap:round; stroke-linejoin:round; transition:transform .25s ease; }
.theme-toggle:hover svg { transform:rotate(12deg); }
.theme-toggle .theme-moon { display:none; }
[data-theme='light'] .theme-toggle .theme-sun { display:none; }
[data-theme='light'] .theme-toggle .theme-moon { display:block; }
.theme-aside { position:absolute; right:49px; width:max-content; font:400 18px/1.1 'Caveat',cursive; color:var(--pencil); opacity:0; transform:translateX(4px); transition:opacity .2s,transform .2s; pointer-events:none; }
.theme-toggle:is(:hover,:focus-visible) .theme-aside { opacity:1; transform:none; }
[data-theme='light'] ::selection { background:#dbe3ec; color:#161c24; }
[data-theme='light'] .inline-link { border-bottom-color:#24221f66; }
[data-theme='light'] .site-nav .nav-link { text-decoration-color:#24221f66; }
[data-theme='light'] .site-nav .nav-link:is([aria-current='page'],[data-section-active='true']) { text-decoration-color:var(--pen); }
[data-theme='light'] .site-nav .nav-link:is(:hover,:focus-visible) { text-decoration-color:transparent; }
[data-theme='light'] .library-page .shelf-toolbar p { color:var(--body); }
[data-theme='light'] .library-page .shelf-view-toggle { color:var(--ink); border-bottom-color:#80796d; }
[data-theme='light'] .library-page .physical-bookshelf { box-shadow:0 15px 26px #45301b24,0 1px 0 #b38b5a inset,4px 0 4px #0008 inset; }
[data-theme='light'] .library-page .is-list .book-spine,[data-theme='light'] .library-page .is-list .shelf-rail h2 { color:var(--ink); }
[data-theme='light'] .library-page .is-list .spine-title { border-bottom-color:#80796d; }
[data-theme='light'] .library-book-dialog { background:var(--paper); color:var(--ink); border-color:#c9c1b3; box-shadow:0 25px 100px #33271555; }
[data-theme='light'] .library-book-dialog::backdrop { background:#302b2566; }
[data-theme='light'] .book-dialog-close { color:var(--ink); }
[data-theme='light'] .selected-book-genre,[data-theme='light'] .book-return { color:#625b51; }
@media(max-width:600px) { .theme-toggle { top:9px; right:7px; } .theme-aside { font-size:16px; } }
@media(prefers-reduced-motion:reduce) { .theme-toggle svg,.theme-aside { transition:none; } }
