.pfb{position:relative;max-width:1100px;margin:1.5em auto;background:#2b2d31;border-radius:8px;overflow:hidden;outline:none;box-sizing:border-box}.pfb *{box-sizing:border-box}.pfb-stage{position:relative;width:100%;min-height:200px;background:radial-gradient(ellipse at center,#3a3d44 0%,#25272b 100%)}.pfb-book{width:100%;height:100%}.pfb-page{background:#fff;overflow:hidden}.pfb-page canvas{display:block;width:100%;height:100%;object-fit:contain;background:#fff}.pfb-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#ddd;font:14px/1.4 system-ui,sans-serif;z-index:5;background:rgb(37 39 43 / .85);text-align:center;padding:1em}.pfb-status.pfb-hidden{display:none}.pfb-spinner{width:32px;height:32px;border:3px solid rgb(255 255 255 / .25);border-top-color:#fff;border-radius:50%;animation:pfb-spin .8s linear infinite}.pfb-status.pfb-error .pfb-spinner{display:none}@keyframes pfb-spin{to{transform:rotate(360deg)}}.pfb-toolbar{display:flex;align-items:center;justify-content:center;gap:14px;padding:8px 12px;background:#1d1e21;color:#eee;font:14px system-ui,sans-serif}.pfb-toolbar button{all:unset;cursor:pointer;width:36px;height:36px;line-height:34px;text-align:center;font-size:24px;color:#eee;border-radius:50%;transition:background .15s}.pfb-toolbar button:hover,.pfb-toolbar button:focus-visible{background:rgb(255 255 255 / .15)}.pfb-toolbar .pfb-fs{font-size:18px;margin-left:8px}.pfb-counter{min-width:90px;text-align:center}.pfb.pfb-is-fs{max-width:none;margin:0;border-radius:0;display:flex;flex-direction:column;width:100vw;height:100vh}.pfb.pfb-is-fs .pfb-stage{flex:1;height:auto}