.bg-night:has(.public-reader-page){overflow:clip}@media(orientation:portrait)and (max-width:767px){.public-reader-heading{overflow-wrap:anywhere}.public-reader-layout{grid-template-columns:minmax(0,1fr)}.public-reader-artwork{min-width:0}.public-reader-text{overflow-wrap:anywhere}.public-reader-nav{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}.public-reader-nav>:nth-child(2){grid-area:1/1/auto/-1;justify-self:center}.public-reader-nav button{flex-wrap:wrap;justify-content:center;min-width:44px;min-height:44px;padding:8px}}@media(orientation:landscape)and (max-height:500px)and (max-width:980px){.public-reader-page{padding:max(4px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));grid-template-columns:auto minmax(0,1fr);align-content:start;gap:4px 12px;display:grid}.public-reader-page>a{align-self:center;font-size:.75rem}.public-reader-heading{align-self:center;min-width:0;margin:0;padding:4px 0}.public-reader-heading>p{display:none}.public-reader-heading h1{margin:0;font-size:1rem;line-height:1.2}.public-reader-page>:not(a):not(header){grid-column:1/-1}.public-reader-layout{height:calc(100dvh - max(64px,3.25rem) - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:1rem;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:stretch;gap:8px 12px;min-height:220px;padding:8px}.public-reader-artwork{aspect-ratio:auto;border-radius:.75rem;grid-area:1/1/3;min-width:0;min-height:0}.public-reader-text{overflow-wrap:anywhere;scrollbar-width:thin;grid-area:1/2;min-height:0;padding:8px;overflow-y:auto}.public-reader-text:focus-visible{outline:2px solid var(--gold-line);outline-offset:-2px}.public-reader-nav{grid-area:2/2;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;margin:0;display:grid}.public-reader-nav>:nth-child(2){grid-area:1/1/auto/-1;justify-self:center}.public-reader-nav button{white-space:normal;min-width:0;min-height:44px;padding:8px}}
