/* Alternate reading formats share one quiet, explicit control. */
.reading-modes{position:static;flex-direction:row;display:inline-flex;align-items:center;gap:3px;padding:4px;border:1px solid #ffffff24;border-radius:6px;background:#ffffff03;width:max-content;max-width:100%;font:12px Arial,sans-serif;letter-spacing:.02em;text-transform:none}
.reading-modes a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 15px;border-radius:3px;color:#aaa;text-decoration:none;white-space:nowrap;transition:background .18s,color .18s}
.reading-modes a[aria-current=page]{background:#e5e3dc;color:#1a1b19}
.reading-modes a:not([aria-current]):hover{background:#ffffff0d;color:#fff}
.reading-modes a:focus-visible{outline:2px solid #eee;outline-offset:3px}
.reading-modes svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linejoin:round;stroke-linecap:round}
.reader-heading .reading-modes{margin:0 0 24px}
@media(max-width:600px){body:not(.book-body)>header{flex-wrap:wrap;gap:8px}body:not(.book-body)>header>.reading-modes{order:3;width:100%;justify-content:center}body:not(.book-body)>header>.reading-modes a{flex:1}.reading-modes a{padding:7px 13px;min-height:36px}}
