.pscb-v2-bootstrap {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999999;
    color: var(--pscb-text);
    font-family: var(--pscb-font-family);
    font-size: var(--pscb-font-size);
    line-height: var(--pscb-line-height);
}

.pscb-v2-bootstrap[hidden],
.pscb-v2-bootstrap .pscb-v2-bootstrap-status[hidden] {
    display: none;
}

.pscb-v2-bootstrap *,
.pscb-v2-bootstrap *::before,
.pscb-v2-bootstrap *::after {
    box-sizing: border-box;
    font-family: inherit;
    line-height: inherit;
}

.pscb-v2-bootstrap button {
    font: inherit;
}

.pscb-v2-bootstrap-status {
    max-width: 250px;
    margin: 0 0 8px auto;
    color: var(--pscb-text);
    font-size: 13px;
    text-align: right;
}

.pscb-v2-bootstrap .pscb-v2-launcher {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: var(--pscb-accent);
    color: var(--pscb-accent-text);
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(20, 35, 45, .25);
}

.pscb-v2-bootstrap .pscb-v2-launcher:disabled {
    cursor: wait;
    opacity: .72;
}

.pscb-v2-bootstrap .pscb-v2-launcher--round {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    font-size: 1.7rem;
}

.pscb-v2-bootstrap .pscb-v2-launcher--round svg {
    display: block;
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.pscb-v2-bootstrap .pscb-v2-launcher--card {
    display: flex;
    width: 250px;
    padding: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    border-radius: 18px;
    background: var(--pscb-card);
    color: var(--pscb-text);
    font-weight: 750;
}

.pscb-v2-bootstrap .pscb-v2-launcher-intro,
.pscb-v2-bootstrap .pscb-v2-launcher-action {
    display: flex;
    align-items: center;
}

.pscb-v2-bootstrap .pscb-v2-launcher-intro {
    gap: 10px;
    text-align: left;
}

.pscb-v2-bootstrap .pscb-v2-launcher-intro img {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.pscb-v2-bootstrap .pscb-v2-launcher-action {
    min-height: 38px;
    justify-content: center;
    border-radius: 10px;
    background: var(--pscb-accent);
    color: var(--pscb-accent-text);
}

.pscb-v2-bootstrap .pscb-v2-launcher--floating {
    position: relative;
    display: block;
    width: auto;
    min-height: 0;
    padding: 16px 40px;
    border-radius: 10px;
    box-shadow: none;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition: all .2s ease;
}

.pscb-v2-bootstrap .pscb-v2-floating-content {
    display: contents;
}

.pscb-v2-bootstrap .pscb-v2-launcher--floating::after {
    position: absolute;
    top: 50%;
    right: 10px;
    display: block;
    width: 14px;
    height: 14px;
    border-top: 3px solid var(--pscb-accent-text);
    border-right: 3px solid var(--pscb-accent-text);
    content: "";
    transform: rotate(45deg) translateX(-65%);
}

.pscb-v2-bootstrap .pscb-v2-launcher--floating:hover .pscb-v2-floating-avatar {
    border-color: #10711d;
}

.pscb-v2-bootstrap .pscb-v2-floating-avatar {
    position: absolute;
    top: -32px;
    left: -32px;
    display: block;
    width: 60px;
    height: 60px;
    border: 5px solid var(--pscb-accent);
    border-radius: 50%;
    background: var(--pscb-card);
    object-fit: cover;
    transition: all .2s ease;
}

.pscb-v2-bootstrap .pscb-v2-floating-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pscb-accent);
}

.pscb-v2-bootstrap .pscb-v2-floating-avatar--placeholder svg {
    width: 35px;
    height: 35px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.pscb-v2-bootstrap .pscb-v2-floating-title {
    color: inherit;
    font: inherit;
}

.pscb-v2-bootstrap .pscb-v2-launcher:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--pscb-accent) 55%, white);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .pscb-v2-bootstrap {
        right: 14px;
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pscb-v2-bootstrap .pscb-v2-launcher--floating,
    .pscb-v2-bootstrap .pscb-v2-floating-avatar {
        transition: none;
    }
}
