.cfp-root{width:100%;margin:18px auto;background:var(--cfp-bg,#142039);border-radius:16px;overflow:hidden;box-shadow:0 18px 55px #0003;color:#fff}.cfp-stage{position:relative;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;overflow:hidden;perspective:none}.cfp-book{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.cfp-page{background:#fff;overflow:hidden}.cfp-page canvas{width:100%;height:100%;object-fit:fill;display:block}.cfp-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:15px}.cfp-controls{display:flex;gap:9px;align-items:center;justify-content:center;padding:12px;background:#0b1528}.cfp-controls button,.cfp-controls a{border:1px solid #ffffff3b;border-radius:9px;background:#ffffff14;color:#fff;min-width:40px;height:40px;display:flex;align-items:center;justify-content:center;text-decoration:none;font:22px/1 sans-serif;cursor:pointer}.cfp-controls button:hover,.cfp-controls a:hover{background:var(--cfp-accent,#d5b37b);color:#111}.cfp-counter{font-size:13px;min-width:70px;text-align:center}.cfp-root:fullscreen{max-width:none!important;border-radius:0;display:flex;flex-direction:column}.cfp-root:fullscreen .cfp-stage{flex:1;height:auto!important}.cfp-error{color:#fff;text-align:center;padding:20px}.cfp-bricks-placeholder{padding:32px;background:#f1f5f9;color:#334155;border:1px dashed #94a3b8;border-radius:12px}
.cfp-loading.cfp-error{display:flex;flex-direction:column;gap:14px;padding:20px;text-align:center;background:#142039;z-index:2}.cfp-loading.cfp-error a{color:#f2cf95;text-decoration:underline}.cfp-fallback .cfp-book{display:flex;align-items:center;justify-content:center}.cfp-fallback .cfp-page{max-height:100%;max-width:100%;height:auto!important;width:auto!important;box-shadow:0 10px 35px #0005}.cfp-fallback .cfp-page canvas{height:100%;max-height:100%;max-width:100%;width:auto;object-fit:contain}
.cfp-notice{padding:18px 22px;background:#fff5e8;color:#663d00;border:1px solid #e7c895;border-radius:12px;margin:12px 0}

/* v1.0.5: extra ademruimte rond de paginateller */
.cfp-controls{gap:12px}.cfp-counter{min-width:82px;padding:0 8px;white-space:nowrap;font-variant-numeric:tabular-nums}

/* v1.0.9: de PageFlip-engine beheert zelf de positie van de pagina's.
   Een flex-container op het boek kan de eerste spread laten verspringen. */
.cfp-root:not(.cfp-fallback) .cfp-book{display:block;gap:0;flex:none;position:relative}
.cfp-root:not(.cfp-fallback) .cfp-page{margin:0!important;padding:0!important;border:0!important;box-sizing:border-box}

/* v1.0.10: vaste afmetingen worden door de bladerengine beheerd. */
.cfp-root:not(.cfp-fallback) .cfp-book{width:auto;height:auto;max-width:none;max-height:none}

/* v1.0.11: een expliciete boekviewport voorkomt een verschuiving bij de eerste omslag. */
.cfp-root:not(.cfp-fallback) .cfp-book{flex:none!important;max-width:none!important;max-height:none!important;min-width:0;min-height:0}
.cfp-root:not(.cfp-fallback) .cfp-page{flex:none!important}


/* v1.0.20: independent, fixed-size centring anchor for the flip engine.
   Hover and cover transforms must not change the flex item's dimensions. */
.cfp-root:not(.cfp-fallback) .cfp-book-anchor{position:relative;flex:0 0 auto;display:block;max-width:none;max-height:none;overflow:visible}
.cfp-root:not(.cfp-fallback) .cfp-book-anchor>.cfp-book{position:relative;display:block;max-width:none!important;max-height:none!important}

/* v1.0.23: transparent left placeholder for a flexible Magazine front cover. */
.cfp-root:not(.cfp-fallback) .cfp-virtual-page{background:transparent!important;box-shadow:none!important;border:0!important;pointer-events:none}

/* Standalone engine wrapper (local build uses stf__wrapper). */
.cfp-book .stf__wrapper{position:relative;width:100%;box-sizing:border-box}
.cfp-book .stf__item{position:absolute;display:none}
.cfp-loading{z-index:5}
/* Premium loader; does not change book geometry. */
.cfp-loading:not(.cfp-error){flex-direction:column;gap:16px;text-align:center;padding:24px;box-sizing:border-box;background:radial-gradient(ellipse at 50% 35%,#203e67,#0b1425 70%);color:#eaf3ff;overflow:hidden}.cfp-loader-title{font-size:clamp(18px,3vw,28px)}.cfp-loader-message,.cfp-loader-progress{color:#b9cce5}.cfp-loading small{font-size:10px;letter-spacing:.13em;color:#8ba4c6}.cfp-loader-track{width:min(360px,80%);height:6px;border-radius:10px;background:#334966;overflow:hidden}.cfp-loader-track i{display:block;height:100%;width:35%;background:linear-gradient(90deg,#3479ff,#8bd8ff);border-radius:10px;animation:cfp-scan 1.5s infinite ease-in-out}.cfp-loader-track.determinate i{animation:none;transition:width .25s}.cfp-loader-book{position:relative;width:100px;height:66px;perspective:220px;filter:drop-shadow(0 8px 15px #0006)}.cfp-loader-book i{position:absolute;top:0;width:49%;height:100%;background:linear-gradient(135deg,#eaf5ff,#73aaff);border-radius:5px 10px 5px 5px}.cfp-loader-book i:first-child{left:0;transform:skewY(10deg)}.cfp-loader-book i:nth-child(2){right:0;transform:skewY(-10deg)}.cfp-loader-book i:last-child{right:0;transform-origin:left center;animation:cfp-turn 1.8s infinite ease-in-out;backface-visibility:visible;background:linear-gradient(135deg,#fff,#a9d2ff)}@keyframes cfp-turn{0%,15%{transform:rotateY(0deg) skewY(-10deg)}85%,100%{transform:rotateY(-180deg) skewY(-10deg)}}@keyframes cfp-scan{0%{transform:translateX(-100%)}100%{transform:translateX(300%)}}@media(prefers-reduced-motion:reduce){.cfp-loader-book i,.cfp-loader-track i{animation:none!important}}

@media(max-width:700px){.cfp-controls{gap:6px;padding:8px;flex-wrap:wrap}.cfp-counter{min-width:52px;padding:0 3px}.cfp-controls button,.cfp-controls a{min-width:36px;height:36px}}
