/* MalGuard Research | bound-book reader, October 2026.
   Printed pages and hard covers: no scrolling article inside the book. */
.reader-shell{max-width:1260px;padding-top:32px;padding-bottom:72px}
.reader-tools{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:0 0 17px}
.reader-tools a{display:inline-flex;align-items:center;justify-content:center;padding:11px 19px;min-height:44px;border:1px solid #667995;border-radius:10px;color:#edf3ff;font-size:13px;font-weight:700}
.reader-tools a:hover{background:#1b2b47}
.reader-tools a:nth-child(1){background:#fff;color:#101828;border-color:#fff}
.reader-tools a:nth-child(1):hover{background:#dae6fc}
.reader-tools span{margin-left:auto;font-size:13px;color:#b2bfd3}
.reader-gesture-hint{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#becce0;font-size:13px;margin:0 0 18px}
.reader-gesture-hint strong{color:#fff}
.reader-spread{position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate;overflow:hidden;min-height:720px;padding:53px 35px 67px;border:1px solid #374c69;border-radius:18px;background:radial-gradient(ellipse 69% 75% at 50% 22%,#234165 0%,#152a45 48%,#091323 100%)}
.reader-spread::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse 58% 36% at 50% 83%,rgba(0,0,0,.32),transparent 85%)}
.reader-spread::after{content:"";position:absolute;z-index:-1;left:12%;right:12%;bottom:31px;height:30px;border-radius:50%;background:rgba(0,0,0,.62);filter:blur(22px);pointer-events:none}
.physical-book{position:relative;width:min(100%,910px);height:600px;max-width:100%;margin:0 auto;filter:drop-shadow(0 17px 16px rgba(0,0,0,.27))}
.physical-book .stf__parent{margin:auto}
.physical-book .stf__block{box-shadow:0 3px 0 rgba(185,196,211,.16)}
.book-page{position:relative;box-sizing:border-box;width:100%;height:100%;overflow:hidden;background:#f9f7f1;color:#243047;border:1px solid #d8d9d6;box-shadow:inset 0 0 17px rgba(30,39,52,.025);font-family:Georgia,"Times New Roman",serif}
.book-page:focus-visible{outline:3px solid #3b74de;outline-offset:-4px}
.book-page-interior{padding:40px 39px 34px;background:linear-gradient(90deg,#e9e9e5 0%,#f9f8f3 4.5%,#fcfbf6 65%,#f4f1eb 100%)}
.book-page-interior::after{content:"";position:absolute;inset:0 0 0 auto;width:14px;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(63,65,69,.05))}
.printed-header{font:750 9px/1.3 Inter,Arial,sans-serif;letter-spacing:.18em;color:#4c6d9f;border-bottom:1px solid #c9d0d8;padding-bottom:12px;margin-bottom:17px}
.printed-chapter{font:750 9px/1.5 Inter,Arial,sans-serif;letter-spacing:.12em;color:#6880a2;margin-bottom:9px}
.printed-heading{font:700 29px/1.19 Georgia,serif;letter-spacing:-.028em;color:#1c2c46;margin:0 0 22px;max-height:108px;overflow:hidden}
.printed-content{max-height:370px;overflow:hidden}
.printed-content p{font:14.2px/1.67 Georgia,"Times New Roman",serif;color:#334052;margin:0 0 16px;overflow-wrap:anywhere;hyphens:auto}
.printed-content .printed-dropcap{font:italic 18px/1.48 Georgia,serif;color:#1f385c;margin-bottom:28px}
.printed-content .printed-bullet{padding-left:13px;position:relative}
.printed-content .printed-bullet::before{content:"•";position:absolute;left:0;color:#4376be}
.printed-footer{position:absolute;bottom:31px;left:39px;right:39px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #cdd3dc;padding-top:13px;color:#687b98;font:750 8px/1.3 Inter,Arial,sans-serif;letter-spacing:.085em}
.book-page-cover,.book-page-back{border:none;background:#071a36;color:#f9fbff;box-shadow:inset 5px 0 13px rgba(0,0,0,.48),inset -2px 0 6px rgba(255,255,255,.13)}
.hard-cover-surface{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:100%;height:100%;overflow:hidden;padding:39px 42px 35px;border:1px solid rgba(185,210,252,.26);border-left:12px solid #142d56;background:radial-gradient(ellipse 100% 62% at 70% -8%,rgba(70,132,241,.42),transparent 70%),linear-gradient(155deg,#112d59 0%,#091e3e 46%,#061225 100%);box-shadow:inset 12px 0 17px rgba(0,0,0,.25),inset -4px 0 7px rgba(255,255,255,.06)}
.book-page-back .hard-cover-surface{background:linear-gradient(165deg,#07182e,#0c2d58 86%,#0a1c38);border-left-color:#173b68}
.cover-emblem{display:flex;align-items:center;gap:12px;color:#dfeeff;font:800 10px/1.3 Inter,Arial,sans-serif;letter-spacing:.15em}
.cover-emblem img{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 0 8px rgba(84,151,255,.42))}
.cover-rule{height:1px;background:linear-gradient(90deg,#8fb4f4,transparent);width:100%;margin:31px 0 32px}
.cover-type{font:800 10px/1.5 Inter,Arial,sans-serif;letter-spacing:.24em;color:#b2cef9}
.cover-title{font:700 clamp(30px,3.1vw,45px)/1.12 Georgia,serif;letter-spacing:-.04em;margin:26px 0 20px;color:#fff;max-height:210px;overflow:hidden;text-wrap:balance}
.cover-subtitle{font:15px/1.52 Georgia,serif;color:#cfdbf1}
.cover-graphic{position:absolute;width:225px;height:225px;border:1px solid rgba(133,190,249,.2);border-radius:50%;bottom:60px;right:-71px;pointer-events:none;box-shadow:0 0 0 27px rgba(108,173,255,.036),0 0 0 62px rgba(108,173,255,.024),inset 0 0 66px rgba(48,112,230,.09)}
.cover-graphic::after{content:"";position:absolute;width:120px;height:120px;left:52px;top:52px;border:1px solid rgba(135,194,255,.25);border-radius:50%}
.cover-bottom{margin-top:auto;z-index:1;padding-top:34px;color:#a2b8d5;font:750 9px/1.65 Inter,Arial,sans-serif;letter-spacing:.08em}
.book-page-back .cover-title{font-size:37px}
.reader-controls{display:flex;justify-content:space-between;gap:18px;margin-top:20px}
.reader-controls button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 22px;background:#fff;color:#10182a;border:1px solid #fff;border-radius:10px;font:750 13px Inter,Arial,sans-serif;cursor:pointer}
.reader-controls button:hover:not(:disabled){background:#dce8fc}
.reader-controls button:disabled{background:#182337;border-color:#41516b;color:#8898b1;cursor:not-allowed}
.reader-controls button:focus-visible{outline:3px solid #93baff;outline-offset:4px}
.reader-disclosure{font-size:12px;line-height:1.8;margin:19px 0 0;color:#a5b5ca}
.reader-loading{color:#ceddf3}
#reader-engine-note{display:block;margin-top:11px;color:#9db0ce;font-size:12px}
.fallback-book{position:relative;display:grid;place-items:center;width:min(100%,420px);height:600px;padding:0;box-shadow:8px 9px 0 #afbccc,13px 15px 0 #7185a1,0 27px 32px rgba(0,0,0,.42);border-radius:4px;touch-action:pan-y}
.fallback-book .book-page{height:100%;width:100%}
.fallback-book .book-page[hidden]{display:none}
.fallback-book .book-page-cover,.fallback-book .book-page-back{border-radius:4px}
@media(max-width:900px){.reader-spread{padding:30px 18px 42px;min-height:650px}.physical-book{height:570px}.book-page-interior{padding:34px 29px 31px}.printed-heading{font-size:26px}.printed-content p{font-size:13.5px}.printed-footer{left:29px;right:29px}}
@media(max-width:760px){.reader-shell{padding-top:19px;padding-bottom:45px}.reader-tools span{width:100%;margin-left:0}.reader-spread{min-height:570px;padding:16px 12px 35px}.physical-book{width:100%;height:540px}.reader-gesture-hint{font-size:12px}.book-page-interior{padding:33px 29px 31px}.printed-heading{font-size:27px}.printed-content p{font-size:14px}.fallback-book{height:min(540px,140vw)}}
@media(max-width:430px){.reader-spread{min-height:475px}.physical-book{height:470px}.book-page-interior{padding:26px 24px 26px}.printed-header{margin-bottom:12px}.printed-heading{font-size:23px;margin-bottom:14px}.printed-content{max-height:300px}.printed-content p{font-size:12.7px;line-height:1.52;margin-bottom:11px}.printed-footer{left:24px;right:24px;bottom:22px}.hard-cover-surface{padding:28px 26px;border-left-width:9px}.cover-title{font-size:31px}.cover-graphic{width:180px;height:180px;right:-82px}.fallback-book{height:470px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}.physical-book{filter:none}}
