.theme-switch{display:flex;justify-content:center;gap:8px;margin:16px 0}.theme-switch button{min-height:44px;padding:10px 18px;border:1px solid #bd9a73;border-radius:7px;background:#091321e8;color:#f3eee3;font:16px Arial,sans-serif;cursor:pointer}.theme-switch button[aria-pressed=true]{background:#dfb17b;color:#21151a}.theme-switch button:focus-visible{outline:3px solid #dfb17b;outline-offset:3px}
html[data-library-theme=day]{color-scheme:light;background:#dfd9ca}html[data-library-theme=day] body:has(.library-backdrop){background:#dfd9ca;color:#222d38;--ink:#222d38;--muted:#344350;--line:#7f7664;--copper:#68432b}html[data-library-theme=day] .library-backdrop{background-image:linear-gradient(180deg,#ffffff20,#ffffff00 65%,#38261320),url('/images/library-day.jpg?v=40')}html[data-library-theme=day] .brand,html[data-library-theme=day] h1,html[data-library-theme=day] .intro,html[data-library-theme=day] .shelf-heading,html[data-library-theme=day] .future{color:#fff7e9;text-shadow:0 2px 8px #172637}html[data-library-theme=day] .signature{color:#623b22}html[data-library-theme=day] .library-navigation a,html[data-library-theme=day] .genre-filter,html[data-library-theme=day] .library-sound,html[data-library-theme=day] .library-audio-credits,html[data-library-theme=day] .immersion-hint,html[data-library-theme=day] .empty{background:#fff7e9ed;color:#172637;backdrop-filter:blur(5px)}html[data-library-theme=day] .genre-filter[aria-pressed=true]{background:#e5d2b4}html[data-library-theme=day] .library-sound select,html[data-library-theme=day] .library-sound button{background:#f5e8d6;color:#172637}html[data-library-theme=day] #library-sound-status,html[data-library-theme=day] .library-audio-credits a,html[data-library-theme=day] .account-link{color:#633918}html[data-library-theme=day] .account-panel{background:#fff8eeed;color:#172637}html[data-library-theme=day] .account-panel a{color:#75451e}html[data-library-theme=day] .account-panel input,html[data-library-theme=day] .account-panel select,html[data-library-theme=day] .account-panel textarea{background:#fff;color:#172637}html[data-library-theme=day] .account-panel .signature{color:#75451e}html[data-library-theme=day] .account-panel h1{color:inherit;text-shadow:none}
.reader-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.reader-tabs button[aria-selected=false]{background:transparent;color:inherit;border:1px solid #bd9a73}.reader-tabs button:focus-visible{outline:3px solid #bd9a73;outline-offset:3px}.account-panel input[type=checkbox]{display:inline-block;width:22px;height:22px;vertical-align:middle;margin:0 8px 0 0}.reader-settings-note{font:15px/1.6 Arial,sans-serif}.reader-volume-label{display:flex;gap:12px;align-items:center}html[data-reader-text=large] #story p,html[data-reader-text=large] #story blockquote{font-size:1.35em;line-height:1.8}

html[data-library-theme=day] .shell>header .signature{color:#fff0d2;text-shadow:0 2px 6px #172637}html[data-library-theme=day] .shell>header .account-link{background:#fff7e9ed;padding:10px 12px;border-radius:6px}

/* Compact control at the right edge of the home navigation. */
.library-navigation{align-items:center}.library-navigation .theme-switch{margin:0 0 0 auto;gap:2px;padding:2px;border:1px solid #bd9a7388;border-radius:8px;background:#091321e8}.library-navigation .theme-switch button{min-height:36px;padding:6px 10px;border:0;border-radius:5px;font-size:14px;background:transparent}.library-navigation .theme-switch button[aria-pressed=true]{background:#dfb17b}.library-navigation #theme-status:empty{display:none}.library-navigation #theme-status{flex-basis:100%;margin:0;font-size:14px}html[data-library-theme=day] .library-navigation .theme-switch{background:#fff7e9ed}html[data-library-theme=day] .library-navigation .theme-switch button{color:#172637}@media(max-width:650px){.library-navigation{gap:8px 12px}.library-navigation a{font-size:14px;padding:8px}.library-navigation .theme-switch{margin-left:auto}}
