/* N. T. Schmidt Books reader-updates popup and signup entry points */
.reader-modal[hidden]{display:none!important}
.reader-modal{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:18px}
.reader-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.82);backdrop-filter:blur(6px)}
.reader-modal-panel{position:relative;z-index:1;width:min(100%,640px);max-height:min(94vh,860px);overflow:auto;overscroll-behavior:contain;background:linear-gradient(152deg,#261619 0%,#111 38%,#090909 100%);border:1px solid #8d303c;border-radius:13px;box-shadow:0 32px 90px rgba(0,0,0,.8),0 0 38px rgba(152,8,28,.18);padding:25px 26px 23px;color:#f8f8f8}
.reader-modal-topline{font:800 11px/1.4 system-ui,sans-serif;letter-spacing:.19em;color:#ee6169;text-transform:uppercase;padding-right:50px}
.reader-modal-panel h2{font-family:Georgia,serif;font-size:clamp(28px,5.4vw,46px);line-height:1.1;font-weight:800;letter-spacing:.035em;color:#fff;margin:13px 42px 10px 0}
.reader-modal-description{color:#e9dedf;font:400 15px/1.55 system-ui,sans-serif;margin:0 0 18px}
.reader-modal-description em{color:#fff}
.reader-modal-close{position:absolute;top:15px;right:14px;border:1px solid #8e414a;background:#311b20;color:#fff;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;font:32px/1 Arial,sans-serif;cursor:pointer}
.reader-modal-close:hover,.reader-modal-close:focus-visible{background:#9d2937;outline:2px solid #fff;outline-offset:2px}
.reader-modal-form-wrap{border:1px solid #643039;background:#fff;border-radius:7px;overflow:hidden;min-height:385px}
.reader-modal-form-wrap iframe{display:block;width:100%;height:min(50vh,460px);min-height:385px;border:0;background:#fff}
.reader-modal-disclaimer{font:400 12px/1.5 system-ui,sans-serif;color:#c8b1b6;margin:14px 0 12px}
.reader-modal-fallback{display:inline-flex;color:#fff!important;background:#992432;border:1px solid #d44150;border-radius:5px;padding:11px 15px;text-decoration:none!important;font:800 12px/1.4 system-ui,sans-serif;letter-spacing:.03em}
.reader-modal-fallback:hover,.reader-modal-fallback:focus-visible{background:#c52f43}
body.reader-modal-open{overflow:hidden}
.reader-footer-cta{padding:13px 22px;text-align:center}
.reader-footer-cta a{display:inline-block;color:#fff!important;background:#6f1b27;border:1px solid #a43846;border-radius:5px;padding:10px 15px;font:700 13px/1.4 system-ui,sans-serif;text-decoration:none!important}
.reader-footer-cta a:hover{background:#a62c39}
@media(max-width:580px){.reader-modal{padding:10px}.reader-modal-panel{padding:19px 15px 17px;max-height:95dvh}.reader-modal-form-wrap iframe{height:48vh;min-height:365px}.reader-modal-panel h2{font-size:29px;margin-right:31px}.reader-modal-description{font-size:13px}}
@media(prefers-reduced-motion:reduce){.reader-modal-backdrop{backdrop-filter:none}}