
/* HM ORIGENS - CIPHER FLUTUANTE V1 */

/* O destaque principal permanece inalterado. */

body.cipher-c3-home.cipher-persistent-visible
#zion-launcher-v1 {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;

    position: fixed !important;
    left: 16px !important;
    right: auto !important;
    bottom: max(
        16px,
        env(safe-area-inset-bottom, 0px)
    ) !important;

    width: 220px !important;
    height: 68px !important;
    padding: 5px 12px 5px 5px !important;

    background: #132238;
    color: #F7F5EF;
    border: 2px solid #E8763D;
    border-radius: 40px;

    box-shadow: 0 8px 24px rgba(0,0,0,.23);
    cursor: pointer;
    z-index: 9000;
}

body.cipher-c3-home.cipher-persistent-visible
#zion-launcher-v1 img:not([hidden]) {
    display: block;
    flex: 0 0 54px;
    width: 54px !important;
    height: 54px !important;
    object-fit: cover;
    border-radius: 50%;
    background: white;
}

body.cipher-c3-home.cipher-persistent-visible
#zion-launcher-v1::after {
    content: "Fale com a Lia";
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: #F7F5EF;
    white-space: nowrap;
}

/* Oculta o botao quando a conversa estiver aberta. */

body.cipher-c3-home.cipher-chat-open
#zion-launcher-v1 {
    display: none !important;
}

/* Mobile: apenas a foto, sem ocupar espaco demais. */

@media (max-width: 600px) {

    body.cipher-c3-home.cipher-persistent-visible
    #zion-launcher-v1 {
        width: 62px !important;
        height: 62px !important;

        left: 12px !important;
        bottom: max(
            12px,
            env(safe-area-inset-bottom, 0px)
        ) !important;

        padding: 3px !important;
        justify-content: center;
        border-radius: 50%;
    }

    body.cipher-c3-home.cipher-persistent-visible
    #zion-launcher-v1 img:not([hidden]) {
        flex-basis: 52px;
        width: 52px !important;
        height: 52px !important;
    }

    body.cipher-c3-home.cipher-persistent-visible
    #zion-launcher-v1::after {
        display: none;
    }
}


/* CIPHER-FLUTUANTE-IMEDIATA-V2 */

html body.cipher-c3-home.cipher-persistent-visible:not(.cipher-chat-open)
#zion-launcher-v1 {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

html body.cipher-c3-home:not(.cipher-persistent-visible)
#zion-launcher-v1,
html body.cipher-c3-home.cipher-chat-open
#zion-launcher-v1 {
    display: none !important;
}
