:root{--pfb-primary:#4f46e5;--pfb-toolbar-bg:rgba(0,0,0,0.75);--pfb-toolbar-text:#fff;--pfb-shadow:0 20px 60px rgba(0,0,0,0.5)}.pfb-viewer-wrap{position:relative;border-radius:12px;overflow:hidden;box-shadow:var(--pfb-shadow);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;user-select:none;-webkit-user-select:none}.pfb-error{padding:16px 20px;background:#fef2f2;border:1px solid #fca5a5;border-radius:8px;color:#dc2626;font-family:sans-serif}.pfb-loader{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgb(0 0 0 / .85);z-index:100;gap:16px}.pfb-spinner{width:48px;height:48px;border:4px solid rgb(255 255 255 / .2);border-top-color:var(--pfb-primary);border-radius:50%;animation:pfb-spin 0.8s linear infinite}.pfb-loader-text{color:#fff;font-size:14px;letter-spacing:.5px}@keyframes pfb-spin{to{transform:rotate(360deg)}}.pfb-toolbar{display:flex;align-items:center;justify-content:space-between;background:var(--pfb-toolbar-bg);backdrop-filter:blur(10px);padding:8px 16px;gap:12px;position:relative;z-index:10}.pfb-toolbar-left,.pfb-toolbar-right{display:flex;align-items:center;gap:4px}.pfb-toolbar-center{flex:1;text-align:center}.pfb-book-title-toolbar{color:rgb(255 255 255 / .85);font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px;display:inline-block}.pfb-tool-btn{background:rgb(255 255 255 / .1);border:none;color:#fff;cursor:pointer;border-radius:6px;padding:6px;display:flex;align-items:center;justify-content:center;transition:background 0.15s;width:32px;height:32px}.pfb-tool-btn svg{width:16px;height:16px}.pfb-tool-btn:hover{background:rgb(255 255 255 / .2)}.pfb-tool-btn:active{background:rgb(255 255 255 / .3)}.pfb-page-info{color:rgb(255 255 255 / .8);font-size:13px;min-width:60px;text-align:center;padding:0 6px}.pfb-zoom-level{color:rgb(255 255 255 / .7);font-size:12px;min-width:36px;text-align:center}.pfb-stage{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.pfb-book-container{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;perspective:2000px}.pfb-flipbook{position:relative;transform-style:preserve-3d}.pfb-flipbook .page{background:#fff;overflow:hidden;box-shadow:0 0 20px rgb(0 0 0 / .3)}.pfb-flipbook .page canvas{display:block;width:100%;height:100%}.pfb-flipbook .page .page-content{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#f5f5f0}.pfb-nav-arrow{position:absolute;top:50%;transform:translateY(-50%);background:rgb(0 0 0 / .5);border:none;color:#fff;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.2s;z-index:10;backdrop-filter:blur(4px)}.pfb-nav-arrow:hover{background:rgb(79 70 229 / .8);transform:translateY(-50%) scale(1.1)}.pfb-nav-left{left:16px}.pfb-nav-right{right:16px}.pfb-nav-arrow svg{width:20px;height:20px}.pfb-protect-overlay{position:absolute;inset:0;z-index:50;pointer-events:none}.pfb-viewer-wrap.pfb-fullscreen-mode{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;z-index:99999!important;border-radius:0!important;margin:0!important}.pfb-viewer-wrap.pfb-fullscreen-mode .pfb-stage{height:calc(100vh - 52px)!important}.pfb-flipbook .turn-page-wrapper,.pfb-flipbook .turn-page{background:#fff0}.pfb-flipbook .shadow{box-shadow:0 0 40px rgb(0 0 0 / .5)}@media (max-width:768px){.pfb-toolbar-center{display:none}.pfb-nav-arrow{width:36px;height:36px}.pfb-nav-left{left:8px}.pfb-nav-right{right:8px}}.pfb-error-box{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;color:#fff;width:100%}.pfb-error-box code{background:rgb(255 255 255 / .15);padding:2px 6px;border-radius:4px;font-family:monospace;font-size:12px;word-break:break-all}.pfb-page-loading{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#f5f5f0}.pfb-mini-spinner{width:24px;height:24px;border:3px solid #e5e7eb;border-top-color:#6366f1;border-radius:50%;animation:pfb-spin 0.8s linear infinite}.pfb-page-cover{overflow:hidden;background:#fff}.pfb-page-cover img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}@media (max-width:900px){.pfb-toolbar{padding:6px 10px;gap:6px}.pfb-tool-btn{width:28px;height:28px;padding:5px}.pfb-tool-btn svg{width:14px;height:14px}.pfb-book-title-toolbar{max-width:140px;font-size:12px}.pfb-page-info{font-size:12px;min-width:48px}.pfb-zoom-level{display:none}.pfb-nav-arrow{width:36px;height:36px}.pfb-nav-left{left:6px}.pfb-nav-right{right:6px}}@media (max-width:600px){.pfb-toolbar{padding:4px 8px;gap:2px}.pfb-toolbar-center{display:none}.pfb-tool-btn{width:32px;height:32px}.pfb-tool-btn.pfb-zoom-in,.pfb-tool-btn.pfb-zoom-out,.pfb-tool-btn.pfb-fullscreen{display:none}.pfb-nav-arrow{width:40px;height:40px;background:rgb(0 0 0 / .6)}.pfb-nav-arrow svg{width:18px;height:18px}.pfb-nav-left{left:4px}.pfb-nav-right{right:4px}.pfb-page-info{font-size:11px;padding:0 2px;min-width:44px}.pfb-book-container{touch-action:pan-y}.pfb-mobile .pfb-stage::after{content:'\2190  Geser  \2192';position:absolute;bottom:8px;left:50%;transform:translateX(-50%);background:rgb(0 0 0 / .55);color:rgb(255 255 255 / .85);font-size:11px;padding:3px 12px;border-radius:20px;pointer-events:none;animation:pfb-hint 3s ease-out forwards;white-space:nowrap}@keyframes pfb-hint{0%{opacity:0}20%{opacity:1}80%{opacity:1}100%{opacity:0}}}.pfb-viewer-wrap.pfb-fullscreen-mode .pfb-stage{height:calc(100dvh - 52px)!important}@media (max-width:600px){.pfb-viewer-wrap.pfb-fullscreen-mode .pfb-stage{height:calc(100dvh - 44px)!important}}