/* القارئ: ما يلزم وحده، فالصفحة لا تحمّل theme.css */
:root {
	--hk-serif: 'Thmanyah Serif Text', 'Times New Roman', serif;
	--hk-display: 'Thmanyah Serif Display', 'Thmanyah Serif Text', serif;
	--hk-sans: 'IBM Plex Sans Arabic', system-ui, sans-serif;
	--hk-gutter: clamp(16px, 3vw, 32px);
}
html, body.hk-reader { margin: 0; height: 100%; overflow: hidden; background: #FAF6EE; }
.hk-reader a { color: inherit; }
.rd-loading__body { flex: 1; display: grid; place-items: center; }
.rd-loading:not(:has(.rd-bar)) .rd-loading__body { height: 100%; }
.hk-reader__noscript { position: fixed; inset: auto 0 20px; margin: 0; text-align: center; font-family: var(--hk-sans); font-size: 14px; }

/* selection toolbar: above the top bar; below the selection when the selection is at the top of the page */
.rd-pop{z-index:40}
@media (min-width:761px){.rd-pop[data-below="1"]{transform:translate(-50%,0)}}
