/* Decoded FontFace objects are installed by reading-font.js before use. */
:root{--reading-font:'Nuance Prepared',sans-serif}
/* Rotation must not trigger the browser's automatic text enlargement. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.reading,#knowledge-review-content,#memory-content,#profile-content,#menu-review-content,.knowledge-content,.knowledge-node,input,textarea{font-family:var(--reading-font)}
/* These scopes exist before app.js runs, so their first paint needs the same
   decoded-face gate as dynamically rendered paragraphs. */
html:not(.reading-ready) [data-reading-startup]{visibility:hidden!important}
/* Reveal original glyphs together; pending text never flashes as system text. */
[data-reading-state=pending],[data-reading-state=pending] *,[data-reading-state=failed],[data-reading-state=failed] *{visibility:hidden!important}
[data-reading-state=ready]{visibility:visible}
.reading-font-retry{visibility:visible!important;position:absolute;inset:36px auto auto 24px;min-height:44px;padding:10px 16px;border-radius:14px;border:1px solid #b6a1ff55;background:#202238;color:#d8ccff;font:inherit;cursor:pointer}
