.pp-book-page__header{max-width:1760px;margin:auto;padding:30px clamp(20px,5vw,80px) 22px;color:#352346}
.pp-book-page__header>p{font-size:11px;color:#82748d;margin:0 0 22px}.pp-book-page__header a{color:inherit}
.pp-book-page__header h1{font:500 clamp(30px,3vw,40px)/1.1 "Barlow Condensed",sans-serif;text-transform:uppercase;margin:0 0 10px}
.pp-book-page__header>span{font:400 14px/1.6 Manrope,sans-serif}
.pp-book{--book-height:clamp(360px,66vh,780px);--page-width:calc(var(--book-height)*var(--page-ratio,.4404));padding:28px 20px;background:#f6f3f8;color:#51277b;font-family:Manrope,sans-serif;width:100%;max-width:none!important;box-sizing:border-box}
.pp-book *{box-sizing:border-box}.pp-book [hidden]{display:none!important}
.pp-book__stage{position:relative;height:var(--book-height);width:calc(var(--page-width)*2);max-width:100%;margin:0 auto;perspective:1800px;touch-action:pan-y pinch-zoom}
.pp-book__spread{display:grid;grid-template-columns:1fr 1fr;height:100%;filter:drop-shadow(0 14px 18px #33213e22)}
.pp-book__paper{position:relative;min-width:0;min-height:0;background:white}
.pp-book__paper.is-blank{background:transparent}
.pp-book__paper:not(.is-blank):first-child:after{content:"";pointer-events:none;position:absolute;right:0;top:0;bottom:0;width:14px;background:linear-gradient(90deg,transparent,#24122e18)}
.pp-book__paper:not(.is-blank):last-child:after{content:"";pointer-events:none;position:absolute;left:0;top:0;bottom:0;width:14px;background:linear-gradient(90deg,#24122e18,transparent)}
.pp-book__paper img,.pp-book__face img{display:block;width:100%;height:100%;object-fit:contain;user-select:none}
.pp-book__paper img{cursor:zoom-in}.pp-book__paper img.has-error{padding:20px;font-size:12px}
.pp-book__leaf{display:none;position:absolute;top:0;width:50%;height:100%;z-index:3;transform-style:preserve-3d}
.pp-book__leaf.is-turning{display:block}
.pp-book__leaf.is-forward{right:0;transform-origin:left center;animation:pp-book-forward .55s ease-in-out both}
.pp-book__leaf.is-backward{left:0;transform-origin:right center;animation:pp-book-backward .55s ease-in-out both}
.pp-book__face{position:absolute;inset:0;background:white;backface-visibility:hidden;box-shadow:0 0 14px #27193422}
.pp-book__face:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#27193418,transparent 35%,#2719340c);pointer-events:none}
.pp-book__face--back{transform:rotateY(180deg)}
@keyframes pp-book-forward{to{transform:rotateY(-180deg)}}
@keyframes pp-book-backward{to{transform:rotateY(180deg)}}
.pp-book__tools{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:26px auto 0;max-width:960px}
.pp-book__tools button,.pp-book__tools a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #d8cbe2;background:white;color:#51277b;border-radius:0;font:500 12px/1.4 Manrope,sans-serif;text-decoration:none;cursor:pointer}
.pp-book__tools button:disabled{opacity:.35;cursor:default}
.pp-book__tools button:hover:not(:disabled){background:#51277b;color:white}
.pp-book__jump{font-size:12px;white-space:nowrap}.pp-book__jump input{width:52px;height:44px;background:white;border:1px solid #d8cbe2;color:#51277b;font:500 13px Manrope,sans-serif;padding:6px}
.pp-book__divider{width:1px;height:22px;background:#d8cbe2;margin:0 5px}
.pp-book__thumbs{display:flex;overflow-x:auto;gap:10px;padding:20px 0;max-width:1000px;margin:auto}
.pp-book__thumbs button{flex:0 0 65px;padding:5px;background:white;border:1px solid #d8cbe2;color:#51277b;cursor:pointer;font:500 11px Manrope,sans-serif}
.pp-book__thumbs button[aria-current=true]{border:2px solid #51277b}
.pp-book__thumbs img{display:block;width:100%;height:100px;object-fit:contain;margin-bottom:5px}
.pp-book button:focus-visible,.pp-book__stage:focus-visible{outline:2px solid #714c8e;outline-offset:3px}
.pp-book:fullscreen{overflow:auto;background:#f6f3f8;--book-height:75vh}
.pp-book .pp-book__zoom{width:95vw;max-width:1400px;height:94vh;max-height:94vh;border:0;padding:0;background:#eee9f3}
.pp-book__zoom::backdrop{background:#21122bd9}
.pp-book__zoom>button{position:sticky;top:0;float:right;z-index:2;padding:12px 20px;min-height:44px;background:#51277b;color:white;border:0;cursor:pointer}
.pp-book__zoom-pages{clear:both;display:flex;flex-direction:column;align-items:center;gap:24px;padding:20px}
.pp-book__zoom-pages img{width:auto;max-width:none;height:auto;flex:none}
.pp-book.is-single .pp-book__stage{width:var(--page-width)}
.pp-book.is-single .pp-book__spread{grid-template-columns:1fr}
.pp-book.is-single .pp-book__leaf{width:100%}
@media(max-width:767px){.pp-book{--book-height:min(64svh,calc((100vw - 40px)*2.27));padding:20px;overflow:hidden}.pp-book__tools{gap:6px;margin-top:22px}.pp-book__tools button,.pp-book__tools a{font-size:11px;padding:8px}.pp-book__divider{display:none}.pp-book-page__header{padding:24px 20px 18px}.pp-book-page__header h1{font-size:30px}.pp-book__zoom-pages{align-items:flex-start}.pp-book__zoom-pages img{max-width:none;width:max(100%,650px)}}
@media(prefers-reduced-motion:reduce){.pp-book__leaf{animation:none!important}}

/* Centre a single visible cover while retaining the common animated spine. */
.pp-book__stage{transform:translateX(0);transition:transform .55s cubic-bezier(.4,0,.2,1)}
.pp-book.is-cover-view .pp-book__stage{transform:translateX(-25%)}
.pp-book.is-back-cover-view .pp-book__stage{transform:translateX(25%)}
.pp-book.is-single .pp-book__stage{transform:none}
@media(prefers-reduced-motion:reduce){.pp-book__stage{transition:none}}
.pp-book{overflow-x:clip}

.pp-book__stage.can-drag,.pp-book__stage.can-drag img{cursor:grab}
.pp-book__stage.is-dragging,.pp-book__stage.is-dragging *{cursor:grabbing!important;user-select:none}
.pp-book__leaf{pointer-events:none}
