.pbl-wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 1035;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    pointer-events: none;
}

.pbl-inner {
    position: relative;
    display: flex;
    width: auto;
    max-width: 100%;
    pointer-events: none;
}

.pbl-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 68px;
    padding: 12px 52px 12px 16px;
    border: none;
    border-radius: 20px;
    background: #101b30;
    color: #fff;
    text-align: left;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 16px 40px rgba(16, 27, 48, .32);
    transition: transform .18s ease, box-shadow .18s ease;
}

.pbl-bar:hover,
.pbl-bar:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(16, 27, 48, .38);
}

.pbl-bar .pbl-spark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #d42b65;
    flex-shrink: 0;
}

.pbl-bar .pbl-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.pbl-bar .pbl-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.1px;
}

.pbl-bar .pbl-sub {
    font-size: 12.5px;
    line-height: 1.3;
    opacity: .74;
}

.pbl-bar .pbl-go {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    flex-shrink: 0;
}

.pbl-dismiss {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #101b30;
    box-shadow: 0 4px 12px rgba(16, 27, 48, .26);
    display: grid;
    place-items: center;
    cursor: pointer;
    pointer-events: auto;
    padding: 0;
    z-index: 2;
}

.pbl-wrap.is-slim .pbl-bar {
    min-height: 54px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 16px;
}

.pbl-wrap.is-slim .pbl-sub {
    display: none;
}

.pbl-wrap.is-slim .pbl-spark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
}

@media (max-width: 640px) {
    .pbl-wrap {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        padding: 0 12px;
    }

    .pbl-bar {
        gap: 12px;
        padding-right: 46px;
        width: 100%;
    }

    .pbl-inner {
        width: 100%;
    }

    .pbl-bar .pbl-title {
        font-size: 15px;
    }

    .pbl-bar .pbl-sub {
        font-size: 12px;
    }

    .pbl-bar .pbl-go {
        right: 12px;
    }
}

.site-to-top {
    bottom: max(96px, var(--pbl-clear, 0px));
}

@media (max-width: 1024px) {
    .site-to-top {
        bottom: max(84px, var(--pbl-clear, 0px));
    }
}
