:root{--gold:#c99200;--gold2:#edae00;--green:#9aaa18;--ink:#141414;--muted:#666;--line:#e9e6df;--paper:#fff;--soft:#f8f7f3;--dark:#17202a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1320px,calc(100% - 48px));margin:auto}.site-header{height:108px;background:#fff;border-bottom:1px solid #f1eee7;position:sticky;top:0;z-index:30}.nav-wrap{height:100%;display:flex;align-items:center;gap:48px}.brand img{width:180px;height:82px;object-fit:contain}.brand.small img{width:140px;height:60px}.main-nav{display:flex;gap:46px;margin-left:auto}.main-nav a{font-size:14px;font-weight:600;padding:42px 0;position:relative}.main-nav a:first-child:after{content:"";height:2px;background:var(--gold);left:0;right:0;bottom:26px;position:absolute}.header-search{width:270px;border:1px solid #ddd8ce;border-radius:999px;height:44px;display:flex;align-items:center;padding:0 15px;gap:8px}.header-search input{border:0;outline:0;width:100%;background:transparent}.menu-btn{border:0;background:none;font-size:27px}.hero{background:linear-gradient(90deg,#fff 0%,#fff 35%,#f5f2eb 100%);min-height:500px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:44% 56%;min-height:500px}.hero-copy{padding:78px 20px 45px 28px;position:relative}.eyebrow{display:block;color:#a86f00;font-size:13px;font-weight:700;letter-spacing:.08em;margin-bottom:18px}.hero h1{font-family:Manrope,sans-serif;font-size:60px;line-height:1;margin:0 0 24px}.hero-copy>p{font-size:19px;line-height:1.55;color:#555;max-width:520px;margin-bottom:30px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:7px;padding:15px 24px;font-weight:700;font-size:13px;border:1px solid transparent;cursor:pointer}.btn.primary{background:linear-gradient(135deg,#b98000,#e6a600);color:#fff;box-shadow:0 10px 25px rgba(201,146,0,.18)}.btn.white{background:#fff;color:#222}.btn.outline{border-color:#ccc;background:#fff}.hero-tagline{margin-top:68px;color:#555;font-size:14px}.hero-tagline strong{color:#b57d00}.hero-feature{display:grid;grid-template-columns:52% 48%;align-items:center;background:linear-gradient(90deg,rgba(255,255,255,.1),rgba(255,255,255,.72)),url('../img/hero-landscape.jpg') center/cover no-repeat;position:relative}.hero-feature:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.25),rgba(255,255,255,.2))}.book-stage,.feature-copy{position:relative;z-index:1}.book-stage{height:100%;display:flex;align-items:center;justify-content:center}.book-stage:after{content:"";position:absolute;width:300px;height:38px;background:rgba(0,0,0,.15);filter:blur(16px);bottom:35px;border-radius:50%}.book-stage img{height:390px;width:auto;box-shadow:10px 18px 28px rgba(0,0,0,.22);transform:perspective(800px) rotateY(-5deg);z-index:1}.feature-copy{padding:20px}.feature-copy h2{font-family:Manrope,sans-serif;font-size:30px;line-height:1.1;max-width:310px;margin:0 0 26px}.latest{padding:32px 0 48px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.section-heading h2{font-family:Manrope,sans-serif;font-size:25px;margin:0}.section-heading a{font-size:13px}.publication-row{display:grid;grid-template-columns:repeat(6,1fr);gap:24px}.publication-card{min-width:0;background:#fff;border:1px solid #eeeae3;border-radius:8px;padding:16px;box-shadow:0 8px 20px rgba(0,0,0,.035)}.publication-card img{height:245px;width:100%;object-fit:contain;background:#fafafa;margin-bottom:14px}.publication-card h3{font-size:15px;line-height:1.4;margin:0 0 16px;min-height:62px}.read-link{color:#b57d00;font-weight:600;font-size:13px}.site-footer{background:#fbfaf7;border-top:1px solid #eeeae3;padding:28px 0}.footer-grid{display:grid;grid-template-columns:2.3fr 1fr 1fr 1.4fr;gap:50px;align-items:start}.footer-grid>div:first-child img{width:170px;height:80px;object-fit:contain}.footer-grid p{font-size:12px;line-height:1.6;color:#666}.footer-grid h4{font-size:13px;margin:12px 0}.footer-grid a{display:block;font-size:12px;color:#555;margin:9px 0}.socials{display:flex;gap:12px}.socials span{width:34px;height:34px;border:1px solid #ddd;border-radius:50%;display:grid;place-items:center;font-size:12px}.page{min-height:70vh}.page-hero{background:#f8f6f0;padding:75px 0}.page-hero h1{font:700 52px Manrope;margin:0 0 12px}.page-hero p{font-size:18px;color:#555;max-width:700px}.library-search{display:flex;gap:12px;margin-top:30px;max-width:900px}.library-search input,.library-search select{padding:14px;border:1px solid #ddd;border-radius:6px;background:#fff}.library-search input{flex:1}.library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;padding:50px 0 70px}.library-card{display:grid;grid-template-columns:145px 1fr;gap:20px;border:1px solid var(--line);border-radius:10px;padding:18px}.library-card img{width:145px;height:205px;object-fit:contain;background:#fafafa}.library-card span{font-size:11px;color:#9a6a00;text-transform:uppercase;font-weight:700}.library-card h3{font:700 20px Manrope;margin:10px 0}.library-card p{font-size:13px;line-height:1.5;color:#666}.library-card a:last-child{font-size:13px;font-weight:700;color:#aa7600}.detail{display:grid;grid-template-columns:360px 1fr;gap:70px;padding:65px 0}.detail-cover img{width:330px;max-height:470px;object-fit:contain;box-shadow:0 20px 50px rgba(0,0,0,.18)}.pill{background:#edf2d3;color:#5d6a00;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:700}.detail-copy h1{font:700 46px/1.08 Manrope;margin:24px 0 10px}.detail-copy h2{font-size:21px;color:#555;font-weight:500}.lead{font-size:18px;line-height:1.6;color:#555}.detail-copy dl{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:30px 0}.detail-copy dl div{border-top:1px solid var(--line);padding-top:12px}.detail-copy dt{font-size:11px;color:#777}.detail-copy dd{margin:5px 0;font-weight:700}.action-row{display:flex;gap:12px}.about-publication{padding:10px 0 55px;border-top:1px solid var(--line)}.about-publication h2{font:700 28px Manrope}.prose{font-size:16px;line-height:1.8;color:#444;max-width:880px}.reader-page{background:#131923;min-height:100vh}.reader-top{height:62px;color:#fff;display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;padding:0 24px;font-size:13px}.reader-top strong{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reader-top div{text-align:right}.reader-shell{height:calc(100vh - 95px);padding:0 16px}.reader-shell iframe{width:100%;height:100%;border:0;background:#2a3039}.reader-note{text-align:center;color:#aaa;font-size:11px;padding:8px}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding:50px 0}.article-grid article{padding:30px;border:1px solid var(--line);border-radius:10px}.article-grid span{font-size:11px;color:#9c6d00;font-weight:700}.article-grid h2{font:700 24px/1.2 Manrope}.article-grid p{color:#666;line-height:1.6}.article-grid>a{font-weight:700;color:#9c6d00}.article-detail{padding:80px 0}.article-detail h1{font:700 50px/1.1 Manrope;max-width:900px}.article-meta{color:#777}.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;padding:55px 0}.about-grid div{border-top:3px solid var(--gold);padding-top:20px}.about-grid h2{font:700 25px Manrope}.admin-body{background:#f3f5f7}.admin-header{height:72px;background:#fff;display:flex;align-items:center;padding:0 30px;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:20}.admin-header nav{margin-left:auto;display:flex;gap:28px;font-size:13px;font-weight:600}.admin-main{width:min(1240px,calc(100% - 48px));margin:38px auto 70px}.admin-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px}.admin-title span{font-size:11px;letter-spacing:.1em;color:#888}.admin-title h1{font:700 36px Manrope;margin:5px 0 0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:30px}.stats-grid div{background:#fff;padding:24px;border-radius:10px;border:1px solid #e7e9ec}.stats-grid span{font-size:12px;color:#777}.stats-grid strong{display:block;font:700 35px Manrope;margin-top:8px}.admin-panel{background:#fff;border:1px solid #e7e9ec;border-radius:10px;padding:24px;overflow:auto}.admin-panel table{width:100%;border-collapse:collapse}.admin-panel th,.admin-panel td{text-align:left;border-bottom:1px solid #eee;padding:14px 12px;font-size:13px}.admin-panel th{font-size:11px;color:#777;text-transform:uppercase}.table-cover{width:42px;height:58px;object-fit:cover}.admin-panel small{display:block;color:#888;margin-top:5px}.status{font-size:10px;text-transform:uppercase;padding:5px 8px;border-radius:999px}.status.published{background:#e8f5e9;color:#247b30}.status.draft{background:#fff3dc;color:#976000}.inline{display:inline}.inline button{border:0;background:none;color:#b12b2b;cursor:pointer}.admin-form{background:#fff;border:1px solid #e7e9ec;border-radius:10px;padding:28px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:24px}.form-grid label{font-size:12px;font-weight:600}.form-grid input,.form-grid textarea,.form-grid select{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #d8dde3;border-radius:6px;font:inherit}.form-grid .wide{grid-column:1/-1}.form-grid .check{display:flex;align-items:center;gap:8px}.form-grid .check input{width:auto;margin:0}.login-page{min-height:calc(100vh - 72px);display:grid;place-items:center}.login-card{width:410px;background:#fff;border:1px solid #e7e9ec;border-radius:12px;padding:35px}.login-card img{width:190px;height:100px;object-fit:contain;margin:auto}.login-card h1{text-align:center;font:700 28px Manrope}.login-card label{font-size:12px;font-weight:600;display:block;margin:16px 0}.login-card input{width:100%;padding:13px;margin-top:7px;border:1px solid #d8dde3;border-radius:6px}.login-card .btn{width:100%}.flash{position:fixed;right:20px;top:90px;z-index:100;padding:14px 18px;border-radius:7px;color:#fff;font-size:13px;box-shadow:0 10px 25px rgba(0,0,0,.15)}.flash.success{background:#26743c}.flash.error{background:#a62e2e}.error-page{text-align:center;padding:120px 20px}.error-page h1{font:700 70px Manrope;margin:0}.error-page p{color:#666;margin-bottom:25px}@media(max-width:1000px){.main-nav{display:none}.hero-grid{grid-template-columns:1fr}.hero-feature{min-height:430px}.publication-row{grid-template-columns:repeat(3,1fr)}.library-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.detail{grid-template-columns:280px 1fr;gap:35px}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.container{width:min(100% - 28px,1320px)}.site-header{height:78px}.brand img{width:130px;height:65px}.header-search{display:none}.nav-wrap{gap:10px}.hero-grid{display:block}.hero-copy{padding:50px 0}.hero h1{font-size:42px}.hero-feature{display:block;padding:35px 0;text-align:center}.book-stage img{height:290px}.feature-copy h2{margin:18px auto}.publication-row{display:flex;overflow:auto;gap:14px}.publication-card{min-width:210px}.library-grid,.article-grid,.about-grid{grid-template-columns:1fr}.library-card{grid-template-columns:110px 1fr}.library-card img{width:110px;height:155px}.detail{grid-template-columns:1fr;padding:35px 0}.detail-cover img{margin:auto}.detail-copy h1{font-size:36px}.detail-copy dl{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.stats-grid{grid-template-columns:1fr}.admin-header nav{gap:12px}.reader-top{grid-template-columns:70px 1fr 70px}.reader-top strong{font-size:11px}}

/* Release 1.0.2: publication hero slider */
.hero-slider{position:relative;min-width:0;min-height:500px;overflow:hidden;background:#eee9df}.hero-slider-track{position:relative;height:100%;min-height:500px}.hero-slide{position:absolute;inset:0;display:grid;grid-template-columns:52% 48%;align-items:center;opacity:0;visibility:hidden;transform:translateX(24px);transition:opacity .65s ease,transform .65s ease,visibility .65s;background:linear-gradient(90deg,rgba(255,255,255,.1),rgba(255,255,255,.7)),url('../img/hero-landscape.jpg') center/cover no-repeat}.hero-slide.is-active{opacity:1;visibility:visible;transform:translateX(0);z-index:2}.hero-slide-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,249,235,.14),rgba(255,255,255,.38));z-index:0}.hero-slide .book-stage,.hero-slide .feature-copy{position:relative;z-index:1}.hero-slide .feature-copy p{max-width:330px;font-size:14px;line-height:1.55;color:#404040;margin:-12px 0 22px}.hero-slider-arrow{position:absolute;top:50%;z-index:8;width:48px;height:48px;margin-top:-24px;border:0;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(0,0,0,.14);font-size:34px;line-height:1;color:#222;cursor:pointer;display:grid;place-items:center;transition:transform .2s ease,background .2s ease}.hero-slider-arrow:hover{transform:scale(1.06);background:#fff}.hero-slider-prev{left:18px}.hero-slider-next{right:18px}.hero-slider-dots{position:absolute;z-index:9;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:9px;align-items:center}.hero-slider-dot{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.78);box-shadow:0 1px 5px rgba(0,0,0,.25);cursor:pointer;transition:width .25s ease,background .25s ease,border-radius .25s ease}.hero-slider-dot.is-active{width:28px;border-radius:999px;background:var(--gold2)}
@media(max-width:1000px){.hero-slider,.hero-slider-track{min-height:450px}.hero-slide{min-height:450px}}
@media(max-width:650px){.hero-slider,.hero-slider-track{min-height:610px}.hero-slide{grid-template-columns:1fr;grid-template-rows:360px auto;min-height:610px;text-align:center;padding:14px 18px 48px}.hero-slide .book-stage{height:360px}.hero-slide .feature-copy{padding:0 24px}.hero-slide .feature-copy h2{font-size:25px}.hero-slide .feature-copy p{margin:0 auto 18px}.hero-slider-arrow{width:40px;height:40px;font-size:28px}.hero-slider-prev{left:10px}.hero-slider-next{right:10px}}

/* Release 1.0.4 — immersive PDF flipbook reader */
.flip-reader-page{--reader-bg:#10151d;--reader-panel:#17202b;--reader-gold:#d6a000;min-height:calc(100vh - 86px);background:radial-gradient(circle at 50% 18%,#2a3442 0,#141b24 42%,#090d12 100%);color:#fff;display:flex;flex-direction:column;overflow:hidden}.flip-reader-toolbar{height:68px;display:grid;grid-template-columns:minmax(130px,1fr) minmax(240px,2fr) minmax(330px,1fr);align-items:center;gap:18px;padding:0 24px;background:rgba(9,13,18,.9);border-bottom:1px solid rgba(255,255,255,.1);backdrop-filter:blur(16px);z-index:30}.flip-reader-back{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:8px;font-weight:600}.flip-reader-title{text-align:center;min-width:0}.flip-reader-title strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.93rem}.flip-reader-title small{display:block;margin-top:3px;color:#aeb9c7}.flip-reader-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}.reader-tool{width:38px;height:38px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:rgba(255,255,255,.07);color:#fff;display:inline-grid;place-items:center;text-decoration:none;cursor:pointer;font-size:1.05rem}.reader-tool:hover{background:rgba(214,160,0,.25);border-color:rgba(214,160,0,.6)}.reader-zoom{width:48px;text-align:center;color:#c8d0da;font-size:.78rem}.flip-reader-layout{position:relative;display:flex;flex:1;min-height:0}.flip-reader-stage{position:relative;min-height:610px;flex:1;display:flex;align-items:center;justify-content:center;padding:26px 70px 20px;overflow:hidden}.flip-book-wrap{position:relative;width:min(1180px,calc(100vw - 190px));height:calc(100vh - 178px);min-height:480px;display:flex;align-items:center;justify-content:center}.flip-book{transition:transform .2s ease;filter:drop-shadow(0 28px 32px rgba(0,0,0,.45))}.book-page{background:#fff;overflow:hidden}.book-page-inner{position:relative;width:100%;height:100%;background:#fff;overflow:hidden}.book-page-canvas{display:block;width:100%;height:100%;object-fit:contain;background:#fff}.book-page-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#82909e;background:linear-gradient(135deg,#fff,#f0f2f4)}.book-page-placeholder span{font-family:Manrope,sans-serif;font-weight:700;font-size:1.3rem;color:#bd8f00}.book-page-placeholder small{margin-top:8px}.book-page-number{position:absolute;right:12px;bottom:8px;padding:2px 7px;border-radius:10px;background:rgba(0,0,0,.5);color:#fff;font-size:.68rem}.reader-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;background:rgba(11,16,22,.82);z-index:10;border-radius:16px}.reader-loading strong{font-size:1.1rem}.reader-loading span{color:#aeb9c7}.reader-spinner{width:42px;height:42px;border:3px solid rgba(255,255,255,.18);border-top-color:var(--reader-gold);border-radius:50%;animation:readerSpin .9s linear infinite}@keyframes readerSpin{to{transform:rotate(360deg)}}.reader-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:20;width:52px;height:52px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.45);color:#fff;font-size:2.3rem;line-height:1;cursor:pointer;backdrop-filter:blur(8px)}.reader-nav:hover{background:var(--reader-gold);color:#161616}.reader-nav-prev{left:18px}.reader-nav-next{right:18px}.flip-reader-footerbar{height:58px;display:flex;align-items:center;justify-content:center;gap:34px;background:#0a0f15;border-top:1px solid rgba(255,255,255,.1);z-index:25}.reader-footer-button{border:0;background:transparent;color:#dbe2ea;cursor:pointer;font-weight:600}.reader-footer-button:hover{color:#e4b100}.reader-page-control{display:flex;align-items:center;gap:8px;color:#9eabb9;font-size:.85rem}.reader-page-control input{width:62px;height:34px;border:1px solid rgba(255,255,255,.18);border-radius:7px;background:#19222d;color:#fff;text-align:center}.reader-thumbnails{position:absolute;left:0;top:0;bottom:0;width:168px;background:rgba(12,17,23,.98);border-right:1px solid rgba(255,255,255,.12);z-index:28;transform:translateX(-100%);transition:transform .25s ease;box-shadow:14px 0 34px rgba(0,0,0,.3)}.reader-thumbnails.open{transform:translateX(0)}.thumbnail-heading{height:54px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.1)}.thumbnail-heading button{border:0;background:transparent;color:#fff;font-size:1.5rem;cursor:pointer}.thumbnail-list{height:calc(100% - 54px);overflow-y:auto;padding:12px}.reader-thumbnail{display:block;width:100%;margin:0 0 12px;padding:7px;border:1px solid transparent;border-radius:8px;background:#202b37;color:#fff;cursor:pointer}.reader-thumbnail:hover,.reader-thumbnail.active{border-color:#d6a000;background:#2c3540}.reader-thumbnail canvas{display:block;width:100%;height:auto;background:#fff}.reader-thumbnail span{display:block;padding-top:5px;font-size:.74rem}.reader-fallback{padding:20px}.reader-fallback iframe{display:block;width:100%;height:calc(100vh - 180px);border:0;background:#fff}.flip-reader-page:fullscreen{min-height:100vh}.flip-reader-page:fullscreen .flip-book-wrap{height:calc(100vh - 126px)}
@media (max-width:900px){.flip-reader-toolbar{grid-template-columns:auto 1fr auto;padding:0 12px}.flip-reader-back span,.reader-zoom,.reader-download{display:none}.flip-reader-title{text-align:left}.flip-reader-actions{gap:4px}.reader-tool{width:34px;height:34px}.flip-reader-stage{min-height:520px;padding:20px 38px}.flip-book-wrap{width:calc(100vw - 76px);height:calc(100vh - 176px);min-height:420px}.reader-nav{width:40px;height:40px;font-size:1.8rem}.reader-nav-prev{left:3px}.reader-nav-next{right:3px}.reader-thumbnails{width:145px}.flip-reader-footerbar{gap:14px}.reader-footer-button{font-size:.78rem}}
@media (max-width:560px){.flip-reader-toolbar{height:60px}.flip-reader-title strong{max-width:155px;font-size:.8rem}.flip-reader-title small{font-size:.7rem}.flip-reader-actions .reader-tool:nth-of-type(2),.flip-reader-actions .reader-tool:nth-of-type(3){display:none}.flip-reader-stage{min-height:470px;padding:12px 30px}.flip-book-wrap{width:calc(100vw - 58px);height:calc(100vh - 164px);min-height:390px}.flip-reader-footerbar{height:52px}.reader-footer-button{font-size:0;width:38px}.reader-footer-button:first-child:after{content:'←';font-size:1.1rem}.reader-footer-button:last-child:after{content:'→';font-size:1.1rem}.reader-page-control label{display:none}}

/* Release 1.0.6: pre-rendered page image reader */
.book-page-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    opacity: 0;
    transition: opacity .16s ease;
}
.book-page.is-loaded .book-page-image { opacity: 1; }
.reader-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}

/* Release 1.0.7 — fast native image flipbook */
.instant-book{position:relative;display:flex;align-items:stretch;justify-content:center;width:min(1040px,92vw);height:min(78vh,790px);transform-origin:center;transition:transform .2s ease;filter:drop-shadow(0 28px 34px rgba(0,0,0,.5));perspective:1800px}.instant-page{position:relative;flex:1;min-width:0;background:#fff;overflow:hidden;backface-visibility:hidden;transform-style:preserve-3d}.instant-page-left{border-radius:12px 0 0 12px;box-shadow:inset -14px 0 24px rgba(0,0,0,.08)}.instant-page-right{border-radius:0 12px 12px 0;box-shadow:inset 14px 0 24px rgba(0,0,0,.08)}.instant-page.is-blank{background:transparent;box-shadow:none}.instant-page img{width:100%;height:100%;object-fit:contain;background:#fff;opacity:0;transition:opacity .16s ease}.instant-page img.is-visible{opacity:1}.instant-spine{position:absolute;left:50%;top:0;bottom:0;width:3px;transform:translateX(-50%);background:linear-gradient(90deg,rgba(0,0,0,.18),rgba(255,255,255,.7),rgba(0,0,0,.18));z-index:5;pointer-events:none}.instant-book.turn-next .instant-page-right{animation:instantTurnNext .34s ease}.instant-book.turn-prev .instant-page-left{animation:instantTurnPrev .34s ease}@keyframes instantTurnNext{0%{transform:rotateY(0)}50%{transform:rotateY(-14deg)}100%{transform:rotateY(0)}}@keyframes instantTurnPrev{0%{transform:rotateY(0)}50%{transform:rotateY(14deg)}100%{transform:rotateY(0)}}
@media(max-width:760px){.instant-book{width:min(92vw,620px);height:calc(100vh - 190px);min-height:420px}.instant-page-left{display:none}.instant-page-right{border-radius:12px}.instant-spine{display:none}}

/* Release 1.0.8 — loading overlay visibility fix */
.reader-loading[hidden],.reader-loading.is-hidden{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}

/* Release 1.0.9 — stable native flipbook */
.reader-loading.is-hidden,
.reader-loading[aria-hidden="true"] { display:none !important; visibility:hidden !important; opacity:0 !important; pointer-events:none !important; }
.instant-page img { -webkit-user-drag:none; user-select:none; }

/* Release 1.0.10 — single-page flip mode */
.instant-book{width:min(680px,86vw);height:min(78vh,900px)}
.instant-page-left{display:none!important}
.instant-page-right{flex:0 1 100%;width:100%;border-radius:12px!important;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 24px 55px rgba(0,0,0,.38)!important}
.instant-spine{display:none!important}
.instant-book.turn-next .instant-page-right{animation:singlePageNext .34s ease}
.instant-book.turn-prev .instant-page-right{animation:singlePagePrev .34s ease}
@keyframes singlePageNext{0%{transform:perspective(1600px) rotateY(0);opacity:1}45%{transform:perspective(1600px) rotateY(-10deg);opacity:.76}100%{transform:perspective(1600px) rotateY(0);opacity:1}}
@keyframes singlePagePrev{0%{transform:perspective(1600px) rotateY(0);opacity:1}45%{transform:perspective(1600px) rotateY(10deg);opacity:.76}100%{transform:perspective(1600px) rotateY(0);opacity:1}}
@media(max-width:760px){.instant-book{width:min(92vw,620px);height:calc(100vh - 190px);min-height:420px}}

/* Release 1.0.11 — realistic one-page 3D page turn */
.realistic-book{position:relative;width:min(680px,86vw);height:min(78vh,900px);perspective:2400px;transform-style:preserve-3d;overflow:visible}
.realistic-book .page-base{position:absolute;inset:0;display:block!important;width:100%;height:100%;border-radius:9px 14px 14px 9px!important;background:#fff;box-shadow:0 1px 0 rgba(255,255,255,.7),0 26px 60px rgba(0,0,0,.42),inset 18px 0 28px rgba(0,0,0,.06)!important;overflow:hidden}
.realistic-book .page-base:before{content:"";position:absolute;inset:0 auto 0 0;width:18px;z-index:3;background:linear-gradient(90deg,rgba(0,0,0,.17),rgba(0,0,0,.035),transparent);pointer-events:none}
.realistic-book .page-base img{width:100%;height:100%;object-fit:contain;background:#fff;opacity:1!important;border-radius:inherit}
.page-turn-leaf{position:absolute;inset:0;z-index:12;display:none;transform-style:preserve-3d;backface-visibility:hidden;will-change:transform;pointer-events:none}
.page-turn-leaf.is-turning{display:block}
.page-face{position:absolute;inset:0;overflow:hidden;background:#fff;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:9px 14px 14px 9px;box-shadow:inset 18px 0 24px rgba(0,0,0,.055)}
.page-face img{width:100%;height:100%;object-fit:contain;background:#fff;opacity:1!important}
.page-face-back{transform:rotateY(180deg);filter:brightness(.97)}
.page-turn-leaf.flip-next{transform-origin:left center;animation:bookFlipNext .72s cubic-bezier(.32,.02,.18,1) forwards}
.page-turn-leaf.flip-prev{transform-origin:right center;animation:bookFlipPrev .72s cubic-bezier(.32,.02,.18,1) forwards}
.page-turn-leaf:after{content:"";position:absolute;inset:0;z-index:4;backface-visibility:hidden;border-radius:inherit;background:linear-gradient(90deg,rgba(255,255,255,0) 48%,rgba(0,0,0,.22) 100%);opacity:0;animation:leafShadow .72s ease both}
.book-edge-shadow{position:absolute;left:-7px;top:2%;bottom:2%;width:13px;border-radius:9px 0 0 9px;background:repeating-linear-gradient(180deg,#eee 0 2px,#cfcfcf 2px 3px);box-shadow:-5px 4px 14px rgba(0,0,0,.22);z-index:-1}
.realistic-book.is-flipping .page-base{box-shadow:0 26px 60px rgba(0,0,0,.5),inset 24px 0 34px rgba(0,0,0,.1)!important}
@keyframes bookFlipNext{0%{transform:rotateY(0deg) translateZ(1px)}18%{transform:rotateY(-18deg) translateZ(18px)}50%{transform:rotateY(-92deg) translateZ(34px) scaleX(.985)}82%{transform:rotateY(-164deg) translateZ(14px)}100%{transform:rotateY(-180deg) translateZ(1px)}}
@keyframes bookFlipPrev{0%{transform:rotateY(0deg) translateZ(1px)}18%{transform:rotateY(18deg) translateZ(18px)}50%{transform:rotateY(92deg) translateZ(34px) scaleX(.985)}82%{transform:rotateY(164deg) translateZ(14px)}100%{transform:rotateY(180deg) translateZ(1px)}}
@keyframes leafShadow{0%,100%{opacity:0}38%,62%{opacity:.75}}
@media(max-width:760px){.realistic-book{width:min(92vw,620px);height:calc(100vh - 190px);min-height:420px}.page-turn-leaf.flip-next,.page-turn-leaf.flip-prev{animation-duration:.62s}}
@media(prefers-reduced-motion:reduce){.page-turn-leaf.flip-next,.page-turn-leaf.flip-prev{animation-duration:.12s}.page-turn-leaf:after{animation-duration:.12s}}
