html body .flipbook-viewport.is-lite .container,
html body .flipbook-viewport.is-lite .arrow-navigation,
html body .flipbook-viewport.is-lite .pagination-holder {
    display: none;
}

.pb-lite {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: max(64px, calc(env(safe-area-inset-top) + 52px)) 16px 0;
    color: #fff;
}

.pb-lite__stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    place-items: center;
    touch-action: pan-y;
}

.pb-lite__holder {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
}

.pb-lite__page {
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    background: #fff;
    transform-origin: 0 0;
    pointer-events: none;
}

.pb-lite.is-load .pb-lite__holder {
    visibility: hidden;
}

.pb-lite__spin {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, .25);
    border-top-color: #fff;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    animation: pb-lite-spin .8s linear infinite;
}

.pb-lite.is-load .pb-lite__spin {
    opacity: 1;
}

@keyframes pb-lite-spin {
    to {
        transform: rotate(360deg);
    }
}

.pb-lite__bar {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 0 max(16px, env(safe-area-inset-bottom));
}

.pb-lite__cap {
    min-width: 12ch;
    text-align: center;
    font: 600 14px/1.4 var(--p55h-font, 'Manrope', system-ui, sans-serif);
}

.pb-lite__btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(13, 27, 34, .72);
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .28);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.pb-lite__btn:disabled {
    opacity: .35;
    cursor: default;
}

.pb-lite__btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (hover: hover) {
    .pb-lite__btn:not(:disabled):hover {
        background: rgba(13, 27, 34, .9);
    }
}

@media (max-width: 600px) {
    .pb-lite {
        padding-right: 8px;
        padding-left: 8px;
    }
}

body:has(.pb-lite) .pb-toasts {
    bottom: calc(max(16px, env(safe-area-inset-bottom)) + 72px);
}

html body .loader {
    inset: 0;
    width: auto;
    height: auto;
}
