.reader{background:var(--bg-dark);color:white;text-align:center}.reader h1,.reader a{color:white}.reader.light{background:var(--bg-paper);color:var(--ink)}.reader.light h1,.reader.light a{color:var(--ink)}.reader-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:center;padding:12px}#pages figure{margin:0 auto 8px;max-width:100%}#pages img{display:block;width:100%;height:auto;object-fit:contain}#pages figure[hidden]{display:none}