#bv-stage-messaging {
    position: fixed;
    right: max(32px, env(safe-area-inset-right));
    bottom: max(32px, env(safe-area-inset-bottom));
    z-index: 500;
    width: 64px;
    height: 64px;
    margin: 0;
    border: 0;
    padding: 0;
    color: #171717;
    font-family: inherit;
    line-height: 1.25;
    text-align: left;
}
#bv-stage-messaging > summary {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 50%;
    padding: 0;
    background: linear-gradient(125deg, #19b8eb, #5150dc 65%, #6238cb);
    color: #fff;
    box-shadow: 0 3px 12px #0003;
    cursor: pointer;
    list-style: none;
}
#bv-stage-messaging > summary::-webkit-details-marker { display: none; }
#bv-stage-messaging > summary::marker { content: ""; }
#bv-stage-messaging > summary::after,
#bv-stage-messaging > summary::before { content: none; }
#bv-stage-messaging > summary svg { display: block; }
#bv-stage-messaging > nav {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    gap: 2px;
    width: min(180px, calc(100vw - 40px));
    padding: 6px;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 18px #0002;
}
#bv-stage-messaging:not([open]) > nav { display: none; }
#bv-stage-messaging nav a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    gap: 10px;
    min-height: 44px;
    padding: 6px 10px;
    border-radius: 8px;
    color: #171717;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
#bv-stage-messaging nav img {
    display: block;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    object-fit: contain;
}
#bv-stage-messaging nav a:is(:hover,:focus-visible) { background: #171717; color: #fedd00; }
#bv-stage-messaging :is(summary,a):focus-visible { outline: 2px solid #171717; outline-offset: 3px; }
@media (max-width: 767px) {
    #bv-stage-messaging {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(24px, env(safe-area-inset-bottom));
    }
}
