#bilingual-reader { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; border: 0; background: #02070b; z-index: 15; visibility: hidden; }
#bilingual-reader.is-ready { visibility: visible; }
.reader-active > .fullscreen-toggle, .reader-active > .portal { display: none; }
.reader-recovery { position: fixed; z-index: 40; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(90vw, 480px); padding: 24px; color: #fff0d6; background: #07131df5; border: 1px solid #a8bdbb; font: 16px/1.5 Georgia, serif; }
.reader-recovery a, .reader-recovery button { display: inline-block; padding: 12px; margin: 4px; color: #fff0d6; background: #102830; border: 1px solid #aac9c0; cursor: pointer; font: inherit; }

/* Keep the landing page hidden during the brief reader handoff. */
.reader-pending > .portal { display: none; }
body.reader-pending::after { content: ""; position: fixed; inset: 0; z-index: 14; background: #07131d; pointer-events: none; }
