#pbc-widget {
    --pbc-cream: #fff4df;
    --pbc-paper: #fff8ea;
    --pbc-ink: #171310;
    --pbc-red: #f44336;
    --pbc-red-dark: #d92c25;
    --pbc-yellow: #ffd21a;
    --pbc-blue: #2a9fd6;
    --pbc-green: #59b85f;
    --pbc-shadow: 0 8px 0 var(--pbc-ink), 0 18px 28px rgba(23, 19, 16, .28);
    --pbc-ui: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
    --pbc-display: "Cooper Black", "Arial Black", Georgia, serif;
    --pbc-x: var(--pbc-desktop-x, 22px);
    --pbc-y: var(--pbc-desktop-y, 26px);
    position: fixed;
    right: clamp(0px, var(--pbc-x), calc(100vw - 116px));
    bottom: clamp(0px, calc(var(--pbc-y) + env(safe-area-inset-bottom)), calc(100dvh - 142px));
    z-index: 1050;
    color: var(--pbc-ink);
    font-family: var(--pbc-ui);
    font-size: 16px;
}

#pbc-widget *,
#pbc-widget *::before,
#pbc-widget *::after {
    box-sizing: border-box;
}

#pbc-widget [hidden] {
    display: none !important;
}

#pbc-widget button,
#pbc-widget input,
#pbc-widget textarea {
    color: inherit;
    font: inherit;
}

#pbc-widget button {
    cursor: pointer;
}

#pbc-widget :focus-visible {
    outline: 4px solid var(--pbc-blue);
    outline-offset: 3px;
}

.pbc-launcher {
    position: relative;
    display: flex;
    width: 108px;
    min-height: 126px;
    padding: 7px 7px 10px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 3px solid var(--pbc-ink);
    border-radius: 54px 54px 14px 14px;
    background-color: var(--pbc-yellow);
    background-image: radial-gradient(circle at 25% 30%, rgba(23, 19, 16, .055) 0 1px, transparent 1.5px);
    background-size: 8px 8px;
    box-shadow: 0 6px 0 var(--pbc-red), 0 12px 22px rgba(23, 19, 16, .25);
    transform: rotate(1deg);
    transition: transform .16s ease, box-shadow .16s ease;
}

.pbc-launcher:hover {
    box-shadow: 0 8px 0 var(--pbc-red), 0 16px 26px rgba(23, 19, 16, .28);
    transform: translateY(-2px) rotate(-1deg);
}

.pbc-launcher:active {
    box-shadow: 0 3px 0 var(--pbc-red), 0 8px 14px rgba(23, 19, 16, .22);
    transform: translateY(3px) rotate(0);
}

.pbc-launcher img {
    display: block;
    width: 86px;
    height: 86px;
    border: 2px solid var(--pbc-ink);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 0 var(--pbc-ink);
}

.pbc-launcher span {
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .02em;
    line-height: 1;
    text-transform: uppercase;
}

.pbc-window {
    position: fixed;
    right: clamp(10px, var(--pbc-x), max(10px, calc(100vw - 410px)));
    bottom: clamp(12px, calc(var(--pbc-y) + env(safe-area-inset-bottom) + 148px), max(12px, calc(100dvh - 670px)));
    width: min(400px, calc(100vw - 20px));
    max-height: calc(100dvh - 24px);
    overflow: hidden auto;
    border: 3px solid var(--pbc-ink);
    border-radius: 10px 7px 13px 8px;
    background: var(--pbc-paper);
    box-shadow: var(--pbc-shadow);
    clip-path: polygon(.6% .3%, 99.4% 0, 100% 98.9%, 97.5% 100%, .2% 99.4%);
}

.pbc-header {
    position: relative;
    display: grid;
    min-height: 92px;
    padding: 14px 52px 14px 88px;
    align-items: center;
    border-bottom: 3px solid var(--pbc-ink);
    background-color: var(--pbc-yellow);
    background-image: radial-gradient(circle at 25% 30%, rgba(23, 19, 16, .05) 0 1px, transparent 1.5px);
    background-size: 9px 9px;
}

.pbc-header-mark {
    position: absolute;
    left: 14px;
    top: 12px;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 2px solid var(--pbc-ink);
    border-radius: 50%;
    background: var(--pbc-paper);
    box-shadow: 0 4px 0 var(--pbc-ink);
    transform: rotate(-3deg);
}

.pbc-header-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pbc-header strong {
    display: block;
    font-family: var(--pbc-display);
    font-size: 22px;
    letter-spacing: -.025em;
    line-height: 1;
}

.pbc-header small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.pbc-close {
    position: absolute;
    right: 12px;
    top: 12px;
    display: grid;
    width: 35px;
    height: 35px;
    padding: 6px;
    place-items: center;
    border: 2px solid var(--pbc-ink);
    border-radius: 50%;
    background: var(--pbc-paper);
    box-shadow: 0 3px 0 var(--pbc-ink);
}

.pbc-close:hover {
    background: var(--pbc-red);
}

.pbc-close svg,
.pbc-submit svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.7;
}

.pbc-body {
    position: relative;
    padding: 27px 25px 24px;
    background-color: var(--pbc-paper);
    background-image:
        radial-gradient(circle at 18% 24%, rgba(23, 19, 16, .028) 0 1px, transparent 1.5px),
        radial-gradient(circle at 76% 68%, rgba(23, 19, 16, .022) 0 1px, transparent 1.5px);
    background-size: 11px 11px, 15px 15px;
}

.pbc-body::before {
    content: "";
    position: absolute;
    right: -21px;
    top: 51px;
    width: 58px;
    height: 18px;
    border: 2px solid var(--pbc-ink);
    background: var(--pbc-blue);
    box-shadow: 0 3px 0 rgba(23, 19, 16, .24);
    transform: rotate(-9deg);
    pointer-events: none;
}

.pbc-intro {
    margin-bottom: 21px;
    padding-right: 18px;
}

.pbc-intro h2,
.pbc-success h2 {
    margin: 0;
    font-family: var(--pbc-display);
    font-size: 30px;
    letter-spacing: -.035em;
    line-height: .98;
}

.pbc-intro p,
.pbc-success p {
    margin: 10px 0 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.pbc-support-form > label {
    display: block;
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.pbc-support-form input,
.pbc-support-form textarea {
    display: block;
    width: 100%;
    margin: 0 0 15px;
    padding: 12px 13px;
    border: 3px solid var(--pbc-ink);
    border-radius: 6px 4px 7px 5px;
    background: #fffdf6;
    box-shadow: 0 4px 0 rgba(23, 19, 16, .15);
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}

.pbc-support-form textarea {
    min-height: 112px;
    resize: vertical;
}

.pbc-support-form input::placeholder,
.pbc-support-form textarea::placeholder {
    color: rgba(23, 19, 16, .52);
}

.pbc-support-form input:focus,
.pbc-support-form textarea:focus {
    border-color: var(--pbc-blue);
    box-shadow: 0 0 0 3px rgba(42, 159, 214, .24), 0 5px 0 rgba(23, 19, 16, .18);
    outline: 0;
    transform: translateY(-1px);
}

.pbc-form-error {
    margin: -2px 0 14px;
    padding: 9px 11px;
    border: 2px solid var(--pbc-ink);
    background: #ffe3df;
    color: #a91c13;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.pbc-submit,
.pbc-send-another {
    display: flex;
    width: 100%;
    min-height: 51px;
    padding: 11px 16px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 3px solid var(--pbc-ink);
    border-radius: 7px 5px 8px 6px;
    background: var(--pbc-red);
    color: var(--pbc-ink);
    box-shadow: 0 6px 0 var(--pbc-ink), 0 10px 14px rgba(23, 19, 16, .18);
    font-size: 14px;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
    transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
}

.pbc-submit svg {
    width: 21px;
    height: 21px;
}

.pbc-submit:hover,
.pbc-send-another:hover {
    background: var(--pbc-yellow);
    box-shadow: 0 8px 0 var(--pbc-ink), 0 13px 17px rgba(23, 19, 16, .2);
    transform: translateY(-2px);
}

.pbc-submit:active,
.pbc-send-another:active {
    box-shadow: 0 3px 0 var(--pbc-ink);
    transform: translateY(3px);
}

.pbc-submit:disabled {
    cursor: wait;
    filter: saturate(.55);
    opacity: .72;
}

.pbc-direct-email {
    margin: 16px 0 0;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.pbc-direct-email a {
    color: var(--pbc-red-dark);
    font-weight: 900;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.pbc-success {
    padding: 32px 9px 39px;
    text-align: center;
}

.pbc-success-icon {
    display: grid;
    width: 84px;
    height: 84px;
    margin: 0 auto 24px;
    place-items: center;
    border: 3px solid var(--pbc-ink);
    border-radius: 50%;
    background: var(--pbc-green);
    box-shadow: 0 6px 0 var(--pbc-ink), 8px 10px 0 var(--pbc-yellow);
    font-family: Arial, sans-serif;
    font-size: 46px;
    font-weight: 950;
    line-height: 1;
    transform: rotate(-4deg);
}

.pbc-success p {
    max-width: 290px;
    margin: 12px auto 27px;
}

.pbc-send-another {
    background: var(--pbc-yellow);
}

@media (max-width: 600px) {
    #pbc-widget {
        --pbc-x: var(--pbc-mobile-x, 12px);
        --pbc-y: var(--pbc-mobile-y, 82px);
        right: clamp(0px, var(--pbc-x), calc(100vw - 98px));
        bottom: clamp(0px, calc(var(--pbc-y) + env(safe-area-inset-bottom)), calc(100dvh - 118px));
    }

    .pbc-launcher {
        width: 92px;
        min-height: 105px;
        border-radius: 46px 46px 12px 12px;
    }

    .pbc-launcher img {
        width: 70px;
        height: 70px;
    }

    .pbc-launcher span {
        font-size: 10px;
    }

    .pbc-window {
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px - env(safe-area-inset-bottom));
    }

    #pbc-widget:has(.pbc-window:not([hidden])) .pbc-launcher {
        visibility: hidden;
    }

    .pbc-header {
        min-height: 80px;
        padding: 11px 48px 11px 74px;
    }

    .pbc-header-mark {
        left: 11px;
        top: 10px;
        width: 56px;
        height: 56px;
    }

    .pbc-header strong {
        font-size: 19px;
    }

    .pbc-header small {
        font-size: 9px;
    }

    .pbc-body {
        padding: 22px 19px 21px;
    }

    .pbc-intro h2,
    .pbc-success h2 {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #pbc-widget * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

#fob-live-chat {
    display: none !important;
}
