#wrapper.pb-shell .pb-arrow {
    position: relative;
    z-index: 3001;
    flex: none;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1.5px solid var(--pbui-line);
    border-radius: 50%;
    background: #fff;
    color: var(--pbui-ink);
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 6px 16px -10px rgba(13, 27, 34, .55);
    cursor: pointer;
    transition: border-color .15s, color .15s, background-color .15s, box-shadow .15s, opacity .15s;
}

#wrapper.pb-shell .pb-arrow:hover {
    border-color: var(--pbui-primary);
    color: var(--pbui-primary);
    box-shadow: 0 8px 18px -10px rgba(13, 27, 34, .6);
}

#wrapper.pb-shell .pb-arrow:focus-visible {
    outline: 2px solid var(--pbui-primary);
    outline-offset: 3px;
}

#wrapper.pb-shell .pb-arrow[disabled] {
    border-color: var(--pbui-line);
    color: var(--pbui-ink);
    box-shadow: none;
    opacity: .35;
    cursor: default;
}

#wrapper.pb-shell #host #pb-prev {
    margin: 0 12px var(--pb-bt, 0px) 0;
}

#wrapper.pb-shell #host #pb-next {
    margin: 0 0 var(--pb-bt, 0px) 12px;
}

#wrapper.pb-shell #host:has(> .pb-start:not([hidden])) .pb-arrow {
    visibility: hidden;
}

#wrapper.pb-shell .stage__bar {
    padding: 0 64px;
}

#wrapper.pb-shell .stage__bar #pb-stagetxt {
    min-width: 0;
    overflow: hidden;
    color: var(--pbui-ink);
    font: 700 15px/1.2 var(--pbui-font);
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html:not(.pb-phone) #wrapper.pb-shell #main-content #host {
    padding-top: 44px;
}

html.pb-tplaround #wrapper.pb-shell #book-container #bottom-tools > .templates {
    flex-shrink: 0;
    max-width: calc(100% + 120px);
}

@media (min-width: 761px) and (max-width: 1100px) {
    #wrapper.pb-shell .pb-arrow {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    #wrapper.pb-shell #host #pb-prev {
        margin-right: 8px;
    }

    #wrapper.pb-shell #host #pb-next {
        margin-left: 8px;
    }
}

html.pb-phone #wrapper.pb-shell #main-content .stage__bar {
    display: none;
}

html.pb-phone #wrapper.pb-shell #host #pb-prev,
html.pb-phone #wrapper.pb-shell #host #pb-next {
    position: absolute;
    top: 50%;
    z-index: 1500;
    width: 44px;
    height: 44px;
    margin: -22px 0 0;
    background: rgba(255, 255, 255, .88);
    font-size: 20px;
}

html.pb-phone #wrapper.pb-shell #host #pb-prev {
    left: 4px;
}

html.pb-phone #wrapper.pb-shell #host #pb-next {
    right: 4px;
}

.pb-cvl {
    top: auto;
    bottom: calc(100% + 6px);
    height: 0;
}

.pb-cvl span {
    top: auto;
    bottom: 0;
    box-sizing: border-box;
    display: -webkit-box;
    width: calc(25% - 12px);
    height: auto;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 14px;
    overflow: hidden;
    font: 700 11.5px/16px var(--p55h-font, 'Manrope', system-ui, sans-serif);
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#book-content .pb-dz {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#book-content .pb-dz .droppable-sections {
    min-width: 0;
    overflow: hidden;
}

#book-content .pb-dz__t {
    max-width: 100%;
}

#book-content .pb-dz__t .t-page,
#book-content .pb-dz__t .t-cover {
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#book-content .pb-dz__t .t-page {
    display: -webkit-box;
}

#book-content .pb-dz__t .t-cover {
    display: none;
}

.pb-on-cover #book-content .pb-dz__t .t-page {
    display: none;
}

.pb-on-cover #book-content .pb-dz__t .t-cover {
    display: -webkit-box;
}

#book-content .corner {
    box-sizing: border-box;
    border: 0 dashed transparent;
    transition: background-color .18s ease, border-color .18s ease;
}

#book-content .corner.top {
    border-bottom-width: 2px;
}

#book-content .corner.right {
    border-left-width: 2px;
}

#book-content .corner.bottom {
    border-top-width: 2px;
}

#book-content .corner.left {
    border-right-width: 2px;
}

#book-container.is-bleed #book-content .corner {
    border-color: var(--pbui-primary);
    background: rgba(0, 131, 143, .16);
    background: color-mix(in srgb, var(--pbui-primary) 16%, transparent);
}

.pb-bleed {
    position: absolute;
    z-index: 2500;
    box-sizing: border-box;
    width: max-content;
    max-width: min(280px, 70%);
    padding: 9px 13px 10px;
    border-radius: 10px;
    background: var(--pbui-ink);
    color: var(--pbui-on-ink);
    box-shadow: 0 10px 24px -10px rgba(13, 27, 34, .65);
    font: 500 12.5px/1.4 var(--pbui-font);
    text-align: left;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity .18s ease, visibility 0s linear .18s;
}

.pb-bleed b {
    display: block;
    margin: 0 0 2px;
    font: 700 13px/1.3 var(--pbui-font);
}

.pb-bleed span {
    display: block;
    color: rgba(255, 255, 255, .9);
}

#book-container.is-bleed .pb-bleed {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.pb-bleed[data-side="top"] {
    transform: translate(-50%, 10px);
}

.pb-bleed[data-side="bottom"] {
    transform: translate(-50%, calc(-100% - 10px));
}

.pb-bleed[data-side="left"] {
    transform: translate(10px, -50%);
}

.pb-bleed[data-side="right"] {
    transform: translate(calc(-100% - 10px), -50%);
}

html.pb-phone .pb-bleed,
html.pb-view .pb-bleed {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    #wrapper.pb-shell .pb-arrow,
    #book-content .corner,
    .pb-bleed {
        transition: none;
    }
}
