.r24-root,
.r24-root *{
    box-sizing:border-box;
}

.r24-root{
    --r24-accent:#1677ff;
    --r24-blue:#1677ff;
    --r24-blue-dark:#0758c9;
    --r24-blue-soft:#eef6ff;
    --r24-text:#172b4d;
    --r24-muted:#6b7a90;
    --r24-border:#dce5ef;

    position:fixed;
    bottom:24px;
    z-index:2147483000;

    direction:rtl;

    font-family:
        "Segoe UI",
        Tahoma,
        Arial,
        sans-serif;

    font-size:15px;
}

.r24-root.r24-right{
    right:24px;
}

.r24-root.r24-left{
    left:24px;
}


/* ========================================================
   LAUNCHER
======================================================== */

.r24-launcher{
    position:relative;

    width:auto !important;
    min-width:285px !important;
    height:72px !important;

    padding:9px 15px !important;

    display:flex !important;
    align-items:center !important;
    gap:12px !important;

    border:0 !important;
    border-radius:22px !important;

    background:
        linear-gradient(
            135deg,
            var(--r24-blue),
            var(--r24-blue-dark)
        ) !important;

    color:#fff !important;

    cursor:pointer;

    box-shadow:
        0 17px 45px
        rgba(17,92,194,.32) !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.r24-launcher:hover{
    transform:translateY(-3px);

    box-shadow:
        0 23px 55px
        rgba(17,92,194,.40) !important;
}

.r24-launcher-icon,
.r24-launcher-main{
    width:48px;
    height:48px;

    flex:0 0 48px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:16px;

    background:
        rgba(255,255,255,.16);

    border:
        1px solid
        rgba(255,255,255,.18);
}

.r24-launcher-star,
.r24-spark{
    font-size:27px;
    color:#fff;
}

.r24-launcher-copy{
    flex:1;

    min-width:0;

    display:flex;
    flex-direction:column;

    text-align:right;
}

.r24-launcher-copy strong{
    color:#fff;

    font-size:15px;
    font-weight:800;

    white-space:nowrap;
}

.r24-launcher-copy small{
    margin-top:3px;

    color:
        rgba(255,255,255,.78);

    font-size:11px;
}

.r24-launcher-ai{
    position:static !important;

    width:34px !important;
    height:34px !important;

    flex:0 0 34px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:0 !important;
    border-radius:11px !important;

    background:
        rgba(255,255,255,.17) !important;

    color:#fff !important;

    font-size:10px !important;
    font-weight:900 !important;
}

.r24-launcher-online{
    position:absolute;

    top:7px;
    left:7px;

    width:11px;
    height:11px;

    border:2px solid #fff;
    border-radius:50%;

    background:#35d993;
}


/* ========================================================
   PANEL
======================================================== */

.r24-panel{
    position:relative;

    width:435px;
    height:min(
        700px,
        calc(100vh - 48px)
    );

    overflow:hidden;

    border:
        1px solid
        rgba(37,73,122,.12);

    border-radius:24px;

    background:#fff;

    box-shadow:
        0 28px 85px
        rgba(29,53,87,.26);
}

.r24-panel:not([hidden]){
    display:flex;
    flex-direction:column;
}


/* ========================================================
   BLUE HEADER
======================================================== */

.r24-header{
    min-height:82px;

    padding:14px 16px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    background:
        linear-gradient(
            135deg,
            var(--r24-blue),
            var(--r24-blue-dark)
        );

    color:#fff;

    border:0;

    box-shadow:
        0 4px 18px
        rgba(27,92,181,.18);
}

.r24-header-main,
.r24-brand{
    min-width:0;

    display:flex;
    align-items:center;
    gap:12px;
}

.r24-avatar{
    width:50px;
    height:50px;

    flex:0 0 50px;

    overflow:hidden;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:16px;

    background:
        rgba(255,255,255,.17);

    border:
        1px solid
        rgba(255,255,255,.24);

    color:#fff;

    font-size:15px;
    font-weight:900;
}

.r24-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.r24-title,
.r24-brand-info strong{
    display:block;

    max-width:245px;

    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;

    color:#fff !important;

    font-size:18px !important;
    font-weight:850 !important;
}

.r24-status{
    margin-top:5px;

    display:flex;
    align-items:center;
    gap:7px;

    color:
        rgba(255,255,255,.84);

    font-size:12px;
}

.r24-status i,
.r24-online-dot{
    width:8px;
    height:8px;

    display:block;

    border-radius:50%;

    background:#5ff0ae;

    box-shadow:
        0 0 0 4px
        rgba(95,240,174,.12);
}

.r24-header-actions,
.r24-header-tools{
    display:flex;
    gap:7px;
}

.r24-header-actions button,
.r24-header-tools button{
    width:38px;
    height:38px;

    padding:0;

    border:
        1px solid
        rgba(255,255,255,.22);

    border-radius:12px;

    background:
        rgba(255,255,255,.12);

    color:#fff;

    cursor:pointer;

    font-size:19px;
}

.r24-header-actions button:hover,
.r24-header-tools button:hover{
    background:
        rgba(255,255,255,.22);
}


/* ========================================================
   BODY
======================================================== */

.r24-body{
    flex:1;

    min-height:0;

    overflow-y:auto;

    padding:18px 16px;

    background:
        linear-gradient(
            180deg,
            #fafdff 0%,
            #f3f7fc 100%
        );

    scrollbar-width:thin;
}

.r24-messages{
    display:flex;
    flex-direction:column;

    gap:17px;
}


/* ========================================================
   MESSAGES
======================================================== */

.r24-message,
.r24-row{
    width:100%;

    display:flex;
    flex-direction:column;
}

.r24-user{
    align-items:flex-start;
}

.r24-bot,
.r24-human{
    align-items:flex-end;
}

.r24-message-meta,
.r24-message-name{
    margin:
        0 9px 5px;

    display:flex;
    align-items:center;

    gap:7px;

    color:#6f7f95;

    font-size:11px;
    font-weight:800;
}

.r24-human-badge{
    padding:3px 7px;

    border-radius:999px;

    background:#fff0bd;

    color:#806413;

    font-size:9px;
    font-weight:900;
}

.r24-bubble{
    max-width:88%;

    padding:13px 16px;

    border-radius:18px;

    white-space:pre-wrap;
    word-break:break-word;

    font-size:15px !important;
    line-height:1.9 !important;
}

.r24-user .r24-bubble{
    color:#fff;

    background:
        linear-gradient(
            135deg,
            var(--r24-blue),
            #0c63dd
        );

    border-bottom-left-radius:5px;

    box-shadow:
        0 7px 18px
        rgba(22,119,255,.17);
}

.r24-bot .r24-bubble{
    color:#263851;

    background:#fff;

    border:1px solid
        var(--r24-border);

    border-bottom-right-radius:5px;

    box-shadow:
        0 5px 17px
        rgba(25,62,110,.055);
}

.r24-human .r24-bubble{
    color:#493a0e;

    background:#fff7dc;

    border:1px solid #e8d690;

    border-bottom-right-radius:5px;
}

.r24-message-time{
    margin:
        5px 9px 0;

    color:#9aa6b5;

    font-size:9px;
}


/* ========================================================
   TYPING
======================================================== */

.r24-typing{
    margin-top:13px;
}

.r24-typing[hidden]{
    display:none;
}

.r24-typing-card,
.r24-typing-inner,
.r24-typing-bubble{
    width:max-content;

    max-width:88%;

    margin-right:auto;

    padding:10px 13px;

    display:flex;
    align-items:center;

    gap:8px;

    border:
        1px solid
        var(--r24-border);

    border-radius:15px;

    background:#fff;

    color:#77869a;

    font-size:11px;

    box-shadow:
        0 4px 15px
        rgba(29,60,105,.04);
}

.r24-mini-avatar{
    width:30px;
    height:30px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:10px;

    background:
        var(--r24-blue);

    color:#fff;

    font-size:9px;
    font-weight:900;
}

.r24-dots,
.r24-typing-content{
    display:flex;
    align-items:center;
    gap:4px;
}

.r24-dots i,
.r24-typing-inner span,
.r24-typing-bubble span{
    width:6px;
    height:6px;

    border-radius:50%;

    background:#8798ae;

    animation:
        r24TypingBlue
        1.2s
        infinite;
}

.r24-dots i:nth-child(2),
.r24-typing-inner span:nth-child(2){
    animation-delay:.15s;
}

.r24-dots i:nth-child(3),
.r24-typing-inner span:nth-child(3){
    animation-delay:.30s;
}

@keyframes r24TypingBlue{
    0%,60%,100%{
        opacity:.3;
        transform:translateY(0);
    }

    30%{
        opacity:1;
        transform:translateY(-4px);
    }
}


/* ========================================================
   QUICK QUESTIONS
======================================================== */

.r24-suggestions{
    margin-top:19px;
}

.r24-suggestion-box{
    overflow:hidden;

    border:
        1px solid
        #d8e7fb;

    border-radius:16px;

    background:#fff;

    box-shadow:
        0 5px 18px
        rgba(25,71,136,.04);
}

.r24-suggestion-header{
    width:100%;

    padding:12px 13px;

    border:0;

    display:flex;
    align-items:center;

    gap:10px;

    cursor:pointer;

    background:
        var(--r24-blue-soft);

    color:
        var(--r24-blue);

    text-align:right;
}

.r24-suggestion-header-icon{
    width:34px;
    height:34px;

    flex:0 0 34px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:11px;

    background:
        var(--r24-blue);

    color:#fff;

    font-size:15px;
}

.r24-suggestion-header-copy{
    flex:1;

    display:flex;
    flex-direction:column;
}

.r24-suggestion-header-copy strong,
.r24-suggestion-header > span:first-child{
    color:#0b61cf;

    font-size:14px;
    font-weight:900;
}

.r24-suggestion-header-copy small{
    margin-top:2px;

    color:#78889c;

    font-size:10px;
}

.r24-suggestion-toggle{
    width:27px;
    height:27px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:8px;

    background:#fff;

    color:
        var(--r24-blue);

    font-size:16px;
    font-weight:900;
}

.r24-suggestion-items{
    padding:8px;

    display:flex;
    flex-direction:column;

    gap:6px;
}

.r24-question{
    width:100%;

    padding:10px 12px;

    border:
        1px solid
        #e2eaf4;

    border-radius:11px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:8px;

    background:#fff;

    color:#35506f;

    cursor:pointer;

    text-align:right;

    font-size:12px;
    font-weight:600;
    line-height:1.65;

    transition:.15s;
}

.r24-question:hover{
    border-color:#9ac6ff;

    background:#f5f9ff;

    transform:translateX(-2px);
}

.r24-question i{
    color:
        var(--r24-blue);

    font-size:18px;
    font-style:normal;
}


/* ========================================================
   BLUE FOOTER
======================================================== */

.r24-footer{
    padding:12px 13px 9px;

    background:
        linear-gradient(
            135deg,
            #0d6fe8,
            #0759c9
        ) !important;

    border-top:0 !important;

    box-shadow:
        0 -4px 18px
        rgba(20,80,165,.13);
}

.r24-compose-wrap{
    position:relative;
}

.r24-compose{
    min-height:58px;

    padding:7px;

    display:flex;
    align-items:flex-end;
    gap:7px;

    border:
        1px solid
        rgba(255,255,255,.22);

    border-radius:17px;

    background:#fff;

    box-shadow:
        0 5px 18px
        rgba(0,40,100,.12);
}

.r24-compose:focus-within{
    border-color:#fff;

    box-shadow:
        0 0 0 4px
        rgba(255,255,255,.15);
}

.r24-input{
    flex:1;

    min-width:0;
    max-height:120px;

    padding:9px 7px;

    border:0;
    outline:0;

    resize:none;

    background:transparent;

    color:#253a56;

    font:inherit;
    font-size:15px !important;
    line-height:1.65;
}

.r24-input::placeholder{
    color:#98a6b7;
}

.r24-emoji-btn{
    width:41px;
    height:41px;

    flex:0 0 41px;

    border:0;
    border-radius:12px;

    background:#edf3fa;

    color:#506985;

    cursor:pointer;

    font-size:21px;
}

.r24-send{
    width:43px;
    height:43px;

    flex:0 0 43px;

    border:0;
    border-radius:13px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:
        linear-gradient(
            135deg,
            var(--r24-blue),
            var(--r24-blue-dark)
        );

    color:#fff;

    cursor:pointer;

    font-size:17px;

    box-shadow:
        0 5px 15px
        rgba(22,119,255,.24);
}

.r24-send:disabled{
    opacity:.5;
    cursor:wait;
}


/* ========================================================
   EMOJI
======================================================== */

.r24-emoji-panel{
    position:absolute;

    right:0;
    left:0;
    bottom:67px;

    padding:11px;

    display:grid;
    grid-template-columns:
        repeat(8,1fr);

    gap:4px;

    border:
        1px solid
        #dae4ef;

    border-radius:16px;

    background:#fff;

    box-shadow:
        0 18px 55px
        rgba(18,52,98,.22);
}

.r24-emoji-panel[hidden]{
    display:none;
}

.r24-emoji-panel button{
    width:37px;
    height:37px;

    padding:0;

    border:0;
    border-radius:9px;

    background:transparent;

    cursor:pointer;

    font-size:20px;
}

.r24-emoji-panel button:hover{
    background:#eef5ff;
}


/* ========================================================
   WEBRTC
======================================================== */

.r24-call{
    width:100%;

    margin-bottom:9px;
    padding:9px 11px;

    border:
        1px solid
        rgba(255,255,255,.22);

    border-radius:14px;

    display:flex;
    align-items:center;
    gap:9px;

    background:
        rgba(255,255,255,.12);

    color:#fff;

    cursor:pointer;
}

.r24-call[hidden]{
    display:none;
}

.r24-call-circle{
    width:37px;
    height:37px;

    flex:0 0 37px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:11px;

    background:#fff;

    color:
        var(--r24-blue);

    font-size:16px;
}

.r24-call-copy{
    flex:1;

    display:flex;
    flex-direction:column;

    text-align:right;
}

.r24-call-copy strong{
    color:#fff;
    font-size:13px;
}

.r24-call-copy small{
    margin-top:2px;

    color:
        rgba(255,255,255,.78);

    font-size:9px;
}

.r24-call-arrow{
    color:#fff;
    font-size:20px;
}


/* ========================================================
   POWERED
======================================================== */

.r24-powered{
    margin-top:7px;

    text-align:center;

    color:
        rgba(255,255,255,.64);

    font-size:9px;
}

.r24-powered a{
    color:#fff;

    text-decoration:none;

    font-weight:800;
}


/* ========================================================
   IDENTITY
======================================================== */

.r24-identity{
    position:absolute;
    inset:0;

    z-index:50;

    padding:22px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:
        rgba(15,42,80,.60);

    backdrop-filter:blur(8px);
}

.r24-identity[hidden]{
    display:none;
}

.r24-identity-card{
    position:relative;

    width:100%;

    padding:28px 25px 23px;

    border-radius:23px;

    background:#fff;

    box-shadow:
        0 28px 80px
        rgba(9,34,75,.30);
}

.r24-identity-close{
    position:absolute;

    top:12px;
    left:12px;

    width:34px;
    height:34px;

    border:
        1px solid
        #dfe8f2;

    border-radius:10px;

    background:#fff;

    color:#6e7e91;

    cursor:pointer;

    font-size:18px;
}

.r24-identity-logo{
    width:56px;
    height:56px;

    margin-bottom:14px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:17px;

    background:
        linear-gradient(
            135deg,
            var(--r24-blue),
            var(--r24-blue-dark)
        );

    color:#fff;

    font-size:25px;

    box-shadow:
        0 9px 22px
        rgba(22,119,255,.23);
}

.r24-identity-card h3{
    margin:0 0 8px;

    color:#203a5f;

    font-size:21px;
    font-weight:850;
}

.r24-identity-card > p{
    margin:0 0 18px;

    color:#697b91;

    font-size:12px;
    line-height:1.85;
}

.r24-field{
    margin-top:13px;
}

.r24-field label{
    display:block;

    margin-bottom:6px;

    color:#405875;

    font-size:12px;
    font-weight:800;
}

.r24-field input,
.r24-name,
.r24-phone{
    width:100%;

    padding:13px 14px;

    border:
        1px solid
        #cedbea;

    border-radius:12px;

    outline:0;

    background:#fff;

    color:#263b56;

    font:inherit;
    font-size:14px;
}

.r24-field input:focus,
.r24-name:focus,
.r24-phone:focus{
    border-color:
        var(--r24-blue);

    box-shadow:
        0 0 0 4px
        rgba(22,119,255,.09);
}

.r24-field small{
    display:block;

    margin-top:5px;

    color:#8998aa;

    font-size:9px;
}

.r24-phone-wrap{
    position:relative;
}

.r24-phone-wrap input{
    padding-left:43px;
}

.r24-phone-icon{
    position:absolute;

    left:14px;
    top:50%;

    transform:
        translateY(-50%);

    color:
        var(--r24-blue);
}

.r24-identity-error{
    min-height:19px;

    margin-top:7px;

    color:#c73a3a;

    font-size:11px;
}

.r24-identity-submit{
    width:100%;

    margin-top:6px;
    padding:13px;

    border:0;
    border-radius:13px;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:9px;

    background:
        linear-gradient(
            135deg,
            var(--r24-blue),
            var(--r24-blue-dark)
        );

    color:#fff;

    cursor:pointer;

    font-size:14px;
    font-weight:900;
}

.r24-privacy-note{
    margin-top:12px;

    text-align:center;

    color:#8a98aa;

    font-size:9px;
}


/* ========================================================
   MOBILE
======================================================== */

@media(max-width:560px){

    .r24-root{
        right:8px!important;
        left:8px!important;
        bottom:8px;
    }

    .r24-launcher{
        min-width:0!important;

        width:62px!important;
        height:62px!important;

        padding:0!important;

        justify-content:center!important;

        border-radius:20px!important;
    }

    .r24-launcher-copy,
    .r24-launcher-ai{
        display:none!important;
    }

    .r24-launcher-icon,
    .r24-launcher-main{
        width:auto;
        height:auto;

        border:0;

        background:transparent;
    }

    .r24-panel{
        width:100%;
        height:
            calc(100vh - 16px);

        border-radius:20px;
    }

    .r24-header{
        min-height:78px;
    }

    .r24-bubble{
        max-width:92%;

        font-size:15px!important;
    }

    .r24-emoji-panel{
        grid-template-columns:
            repeat(7,1fr);
    }

    .r24-identity{
        padding:13px;
    }
}

/* =========================================================
   FINAL RIGI24 CHAT LAUNCHER
========================================================= */

.r24-launcher{
    position:relative !important;

    width:300px !important;
    min-width:300px !important;
    height:74px !important;

    padding:10px 14px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:12px !important;

    border:0 !important;
    border-radius:22px !important;

    background:
        linear-gradient(
            135deg,
            #1677ff 0%,
            #0759d0 100%
        ) !important;

    color:#fff !important;

    cursor:pointer !important;

    box-shadow:
        0 18px 46px
        rgba(13,91,205,.32) !important;

    overflow:visible !important;
}

.r24-launcher:hover{
    transform:translateY(-2px) !important;

    box-shadow:
        0 23px 58px
        rgba(13,91,205,.38) !important;
}

.r24-launcher-icon{
    width:50px !important;
    height:50px !important;

    flex:0 0 50px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    border:
        1px solid
        rgba(255,255,255,.30) !important;

    border-radius:16px !important;

    background:
        rgba(255,255,255,.15) !important;

    color:#fff !important;
}

.r24-chat-symbol{
    font-size:25px !important;
    line-height:1 !important;
}

.r24-launcher-copy{
    flex:1 !important;
    min-width:0 !important;

    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;

    text-align:right !important;
}

.r24-launcher-copy strong{
    display:block !important;

    width:100% !important;

    color:#fff !important;

    font-size:15px !important;
    font-weight:800 !important;
    line-height:1.45 !important;

    white-space:nowrap !important;
}

.r24-launcher-copy small{
    margin-top:5px !important;

    display:flex !important;
    align-items:center !important;
    gap:6px !important;

    color:
        rgba(255,255,255,.82) !important;

    font-size:11px !important;
    line-height:1 !important;
}

.r24-launcher-status-dot{
    width:7px !important;
    height:7px !important;

    display:block !important;

    border-radius:50% !important;

    background:#5cf0ad !important;

    box-shadow:
        0 0 0 3px
        rgba(92,240,173,.15) !important;
}

.r24-launcher-ai{
    position:static !important;

    width:38px !important;
    height:38px !important;

    flex:0 0 38px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    border:
        1px solid
        rgba(255,255,255,.26) !important;

    border-radius:12px !important;

    background:
        rgba(255,255,255,.14) !important;

    color:#fff !important;

    font-size:11px !important;
    font-weight:900 !important;
}

.r24-launcher-online{
    position:absolute !important;

    top:-3px !important;
    right:-3px !important;
    left:auto !important;

    width:14px !important;
    height:14px !important;

    border:3px solid #fff !important;
    border-radius:50% !important;

    background:#36d996 !important;
}


/* Mobile: فقط آیکن */
@media(max-width:560px){

    .r24-launcher{
        width:64px !important;
        min-width:64px !important;
        height:64px !important;

        padding:7px !important;

        justify-content:center !important;

        border-radius:20px !important;
    }

    .r24-launcher-copy,
    .r24-launcher-ai{
        display:none !important;
    }

    .r24-launcher-icon{
        width:48px !important;
        height:48px !important;
    }
}

/* =========================================================
   COMPACT OPERATOR LAUNCHER
========================================================= */

.r24-launcher-wrap{
    display:flex;
    align-items:flex-end;
    gap:10px;
}

.r24-launcher{
    position:relative !important;

    width:58px !important;
    min-width:58px !important;
    height:58px !important;

    padding:0 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    border:0 !important;
    border-radius:18px !important;

    background:
        linear-gradient(
            135deg,
            #1677ff,
            #0759d0
        ) !important;

    color:#fff !important;

    cursor:pointer !important;

    box-shadow:
        0 13px 34px
        rgba(13,91,205,.28) !important;
}

.r24-operator-icon{
    font-size:27px;
    line-height:1;
}

.r24-launcher-online{
    position:absolute !important;

    top:-3px !important;
    right:-3px !important;
    left:auto !important;

    width:13px !important;
    height:13px !important;

    border:3px solid #fff !important;
    border-radius:50% !important;

    background:#35d993 !important;
}

.r24-launcher-ai,
.r24-launcher-copy,
.r24-launcher-icon,
.r24-launcher-main{
    display:none !important;
}

.r24-launcher-hints{
    display:flex;
    flex-direction:column;
    gap:7px;

    direction:rtl;
}

.r24-chat-hint,
.r24-free-call-hint{
    min-width:205px;

    padding:9px 12px;

    border:1px solid #d8e5f7;
    border-radius:13px;

    display:flex;
    align-items:center;

    gap:9px;

    background:#fff;

    color:#274466;

    cursor:pointer;

    text-align:right;

    box-shadow:
        0 7px 22px
        rgba(24,61,110,.11);
}

.r24-chat-hint{
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
}

.r24-chat-hint strong,
.r24-free-call-hint strong{
    font-size:12px;
    font-weight:800;
}

.r24-chat-hint small,
.r24-free-call-hint small{
    display:block;
    margin-top:2px;

    color:#7d8fa5;

    font-size:9px;
}

.r24-free-call-hint{
    color:#116bdc;
}

.r24-free-call-hint[hidden]{
    display:none;
}

.r24-free-call-icon{
    width:33px;
    height:33px;

    flex:0 0 33px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:10px;

    background:#1677ff;

    color:#fff;

    font-size:15px;
}

.r24-chat-hint:hover,
.r24-free-call-hint:hover{
    border-color:#9dc9ff;
    transform:translateY(-1px);
}

@media(max-width:560px){

    .r24-launcher-hints{
        display:none;
    }

    .r24-launcher{
        width:58px!important;
        min-width:58px!important;
        height:58px!important;
    }
}

/* =========================================================
   FINAL MINIMAL FLOATING ACTIONS
========================================================= */

.r24-launcher-wrap{
    display:flex !important;
    flex-direction:column !important;

    align-items:flex-end !important;

    gap:9px !important;

    direction:rtl !important;
}

.r24-launcher-item{
    position:relative !important;

    display:flex !important;
    align-items:center !important;

    justify-content:flex-end !important;
}


/* CHAT BUTTON */

.r24-launcher{
    position:relative !important;

    width:56px !important;
    min-width:56px !important;
    height:56px !important;

    padding:0 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    border:0 !important;
    border-radius:17px !important;

    background:
        linear-gradient(
            135deg,
            #1677ff,
            #0759d0
        ) !important;

    color:#fff !important;

    cursor:pointer !important;

    box-shadow:
        0 12px 32px
        rgba(13,91,205,.27) !important;

    transition:
        transform .16s ease,
        box-shadow .16s ease !important;
}

.r24-launcher:hover{
    transform:
        translateY(-2px) !important;

    box-shadow:
        0 16px 38px
        rgba(13,91,205,.34) !important;
}

.r24-launcher-chat-icon{
    font-size:24px !important;
    line-height:1 !important;
}

.r24-launcher-online{
    position:absolute !important;

    top:-3px !important;
    right:-3px !important;
    left:auto !important;

    width:13px !important;
    height:13px !important;

    border:3px solid #fff !important;
    border-radius:50% !important;

    background:#31d58c !important;
}


/* CALL BUTTON */

.r24-call-launcher-wrap[hidden]{
    display:none !important;
}

.r24-call-launcher{
    width:56px !important;
    height:56px !important;

    padding:0 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    border:0 !important;
    border-radius:17px !important;

    background:
        linear-gradient(
            135deg,
            #24bb6a,
            #128c4c
        ) !important;

    color:#fff !important;

    cursor:pointer !important;

    box-shadow:
        0 12px 30px
        rgba(23,152,83,.24) !important;

    font-size:23px !important;

    transition:
        transform .16s ease,
        box-shadow .16s ease !important;
}

.r24-call-launcher:hover{
    transform:
        translateY(-2px) !important;

    box-shadow:
        0 16px 38px
        rgba(23,152,83,.30) !important;
}


/* TOOLTIPS */

.r24-launcher-tooltip{
    position:absolute !important;

    right:68px !important;

    width:max-content !important;
    max-width:240px !important;

    padding:9px 12px !important;

    border:
        1px solid
        #dce5ef !important;

    border-radius:12px !important;

    background:#fff !important;

    box-shadow:
        0 8px 26px
        rgba(32,56,88,.14) !important;

    opacity:0 !important;

    visibility:hidden !important;

    pointer-events:none !important;

    transform:
        translateX(6px) !important;

    transition:
        opacity .15s ease,
        transform .15s ease,
        visibility .15s !important;

    text-align:right !important;
}

.r24-launcher-tooltip strong{
    display:block !important;

    color:#17375f !important;

    font-size:12px !important;
    font-weight:800 !important;

    white-space:nowrap !important;
}

.r24-launcher-tooltip small{
    display:block !important;

    margin-top:2px !important;

    color:#7c8ea5 !important;

    font-size:9px !important;

    white-space:nowrap !important;
}

.r24-launcher-item:hover
.r24-launcher-tooltip,
.r24-launcher-item:focus-within
.r24-launcher-tooltip{
    opacity:1 !important;

    visibility:visible !important;

    transform:
        translateX(0) !important;
}

.r24-call-tooltip strong{
    color:#11874b !important;
}


/* REMOVE OLD LAUNCHER CONTENT */

.r24-launcher-ai,
.r24-launcher-copy,
.r24-launcher-icon,
.r24-launcher-main,
.r24-operator-icon{
    display:none !important;
}


/* MOBILE */

@media(max-width:560px){

    .r24-launcher-tooltip{
        display:none !important;
    }

    .r24-launcher,
    .r24-call-launcher{
        width:52px !important;
        height:52px !important;

        border-radius:16px !important;
    }

}

/* =========================================================
   HANGUP BUTTON
========================================================= */

.r24-hangup-launcher{
    width:56px;
    height:56px;

    padding:0;

    border:0;
    border-radius:17px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:
        linear-gradient(
            135deg,
            #ef4444,
            #b91c1c
        );

    color:#fff;

    cursor:pointer;

    box-shadow:
        0 12px 30px
        rgba(185,28,28,.26);

    font-size:22px;

    transition:
        transform .16s ease,
        box-shadow .16s ease;
}

.r24-hangup-launcher:hover{
    transform:translateY(-2px);

    box-shadow:
        0 16px 38px
        rgba(185,28,28,.34);
}

.r24-hangup-launcher[hidden]{
    display:none !important;
}

@media(max-width:560px){
    .r24-hangup-launcher{
        width:52px;
        height:52px;
        border-radius:16px;
    }
}

/* =========================================================
   RIGI24 PREMIUM HANGUP BUTTON
========================================================= */

.r24-hangup-launcher{
    position:relative !important;

    width:56px !important;
    height:56px !important;

    padding:0 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    overflow:visible !important;

    border:
        1px solid
        rgba(255,255,255,.35) !important;

    border-radius:18px !important;

    background:
        linear-gradient(
            145deg,
            #ff4d5e 0%,
            #e51f39 52%,
            #c9102c 100%
        ) !important;

    color:#fff !important;

    cursor:pointer !important;

    box-shadow:
        0 10px 25px rgba(220,25,55,.30),
        inset 0 1px 0 rgba(255,255,255,.28) !important;

    transform:translateZ(0);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease !important;

    animation:
        r24HangupFloat 2.8s ease-in-out infinite;
}


/* حلقه زنده دور دکمه */

.r24-hangup-launcher::before,
.r24-hangup-launcher::after{
    content:"";

    position:absolute;

    inset:-5px;

    border-radius:22px;

    border:
        1.5px solid
        rgba(244,63,94,.34);

    pointer-events:none;

    opacity:0;

    animation:
        r24HangupPulse 2.1s ease-out infinite;
}

.r24-hangup-launcher::after{
    animation-delay:1.05s;
}


/* آیکون تلفن */

.r24-hangup-icon{
    position:relative;

    z-index:3;

    width:30px;
    height:30px;

    display:flex;
    align-items:center;
    justify-content:center;

    filter:
        drop-shadow(
            0 2px 3px
            rgba(100,0,10,.23)
        );

    transform:rotate(0deg);

    transition:
        transform .18s ease;
}

.r24-hangup-icon svg{
    width:29px;
    height:29px;

    display:block;
}


/* Hover */

.r24-hangup-launcher:hover{
    transform:
        translateY(-3px)
        scale(1.045) !important;

    filter:
        brightness(1.05);

    box-shadow:
        0 16px 34px
        rgba(220,25,55,.38),
        inset 0 1px 0
        rgba(255,255,255,.32) !important;
}

.r24-hangup-launcher:hover
.r24-hangup-icon{
    transform:
        rotate(-8deg)
        scale(1.06);
}


/* کلیک */

.r24-hangup-launcher:active{
    transform:
        scale(.90) !important;

    box-shadow:
        0 4px 13px
        rgba(180,15,40,.27) !important;
}


/* Tooltip */

.r24-hangup-tooltip{
    position:absolute;

    right:68px;
    top:50%;

    transform:
        translateY(-50%)
        translateX(5px);

    padding:
        7px 11px;

    border:
        1px solid
        #f4d5da;

    border-radius:10px;

    background:#fff;

    color:#c71d36;

    box-shadow:
        0 7px 22px
        rgba(65,25,35,.13);

    font-size:11px;
    font-weight:800;

    line-height:1;

    white-space:nowrap;

    opacity:0;
    visibility:hidden;

    pointer-events:none;

    transition:
        opacity .15s ease,
        transform .15s ease,
        visibility .15s;
}

.r24-hangup-launcher:hover
.r24-hangup-tooltip{
    opacity:1;
    visibility:visible;

    transform:
        translateY(-50%)
        translateX(0);
}


/* hidden */

.r24-hangup-launcher[hidden]{
    display:none !important;
}


/* animations */

@keyframes r24HangupPulse{

    0%{
        opacity:.50;
        transform:scale(.92);
    }

    65%{
        opacity:0;
        transform:scale(1.30);
    }

    100%{
        opacity:0;
        transform:scale(1.30);
    }
}

@keyframes r24HangupFloat{

    0%,
    100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-2px);
    }
}


/* mobile */

@media(max-width:560px){

    .r24-hangup-launcher{
        width:52px !important;
        height:52px !important;

        border-radius:17px !important;
    }

    .r24-hangup-icon{
        width:27px;
        height:27px;
    }

    .r24-hangup-icon svg{
        width:27px;
        height:27px;
    }

    .r24-hangup-tooltip{
        display:none !important;
    }
}


/* RIGI24 LIVE CALL CARD V1 */

.r24-call-card {
    position: relative;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 12px 14px 4px;
    padding: 15px;
    direction: rtl;
    overflow: hidden;
    border: 1px solid rgba(22, 131, 110, .18);
    border-radius: 22px;
    color: #153a34;
    background:
        radial-gradient(
            circle at 90% 0,
            rgba(69, 211, 177, .28),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #effff9,
            #ffffff 68%
        );
    box-shadow:
        0 14px 35px rgba(20, 62, 55, .11),
        inset 0 1px 0 rgba(255, 255, 255, .9);
    animation: r24CallCardIn .28s ease both;
}

.r24-call-card[hidden] {
    display: none !important;
}

.r24-call-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--r24-accent, #16836e);
}

.r24-call-visual {
    position: relative;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
}

.r24-call-visual-icon {
    position: relative;
    z-index: 2;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            #31c5a2,
            var(--r24-accent, #16836e)
        );
    box-shadow:
        0 10px 24px rgba(22, 131, 110, .3),
        inset 0 1px 0 rgba(255, 255, 255, .35);
    font-size: 24px;
    transform: rotate(-12deg);
}

.r24-call-wave {
    position: absolute;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(22, 131, 110, .34);
    border-radius: 50%;
    opacity: 0;
}

.r24-call-card[data-state="authorizing"] .r24-call-wave,
.r24-call-card[data-state="registering"] .r24-call-wave,
.r24-call-card[data-state="calling"] .r24-call-wave,
.r24-call-card[data-state="ringing"] .r24-call-wave,
.r24-call-card[data-state="accepted"] .r24-call-wave,
.r24-call-card[data-state="active"] .r24-call-wave {
    animation: r24CallPulse 1.65s ease-out infinite;
}

.r24-call-card-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.r24-call-card-copy small {
    color: #78938e;
    font-size: 10px;
    font-weight: 700;
}

.r24-live-call-status {
    overflow: hidden;
    color: #153a34;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.r24-live-call-timer {
    direction: rtl;
    color: #607b76;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.r24-call-card[data-state="active"] {
    border-color: rgba(22, 131, 110, .32);
    background:
        radial-gradient(
            circle at 90% 0,
            rgba(69, 211, 177, .38),
            transparent 46%
        ),
        linear-gradient(135deg, #eafff7, #fff);
}

.r24-call-card[data-state="active"] .r24-live-call-status {
    color: #08725c;
}

.r24-call-card[data-state="ended"] {
    filter: saturate(.55);
}

.r24-call-card[data-state="error"],
.r24-call-card[data-state="disconnected"] {
    border-color: rgba(211, 48, 61, .22);
    background: linear-gradient(135deg, #fff0f2, #fff);
}

.r24-call-card[data-state="error"] .r24-call-visual-icon,
.r24-call-card[data-state="disconnected"] .r24-call-visual-icon {
    background: linear-gradient(145deg, #f05b67, #c72d3a);
    box-shadow: 0 10px 22px rgba(199, 45, 58, .24);
}

.r24-live-hangup {
    display: inline-flex;
    min-width: 88px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 0;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(145deg, #f35b67, #c72836);
    box-shadow:
        0 9px 20px rgba(199, 40, 54, .27),
        inset 0 1px 0 rgba(255, rgba(255, 255, 255, .25);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;
}

.r24-live-hangup:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(199, 40, 54, .34);
}

.r24-live-hangup:active {
    transform: scale(.96);
}

.r24-live-hangup:disabled {
    cursor: wait;
    opacity: .6;
}

.r24-live-hangup[hidden] {
    display: none !important;
}

.r24-hangup-symbol {
    display: inline-block;
    font-size: 18px;
    transform: rotate(135deg);
}

/* دکمه قطع شناور قدیمی */
.r24-hangup-launcher {
    display: none !important;
}

.r24-call-launcher,
.r24-launcher {
    box-shadow:
        0 14px 30px rgba(24, 62, 91, .2),
        inset 0 1px 0 rgba(255, 255, 255, .32);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.r24-call-launcher:hover,
.r24-launcher:hover {
    transform: translateY(-3px) scale(1.04);
    filter: saturate(1.08);
}

@keyframes r24CallPulse {
    0% {
        opacity: .6;
        transform: scale(.72);
    }

    100% {
        opacity: 0;
        transform: scale(1.55);
    }
}

@keyframes r24CallCardIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 520px) {
    .r24-call-card {
        grid-template-columns: 50px minmax(0, 1fr) 45px;
        gap: 9px;
        margin: 9px 10px 3px;
        padding: 11px;
        border-radius: 18px;
    }

    .r24-call-visual {
        width: 50px;
        height: 50px;
    }

    .r24-call-visual-icon {
        width: 41px;
        height: 41px;
        border-radius: 14px;
        font-size: 20px;
    }

    .r24-live-hangup {
        min-width: 45px;
        width: 45px;
        height: 45px;
        padding: 0;
        border-radius: 14px;
    }

    .r24-live-hangup > span:last-child {
        display: none;
    }

    .r24-live-call-status {
        font-size: 12px;
    }

    .r24-call-card-copy small,
    .r24-live-call-timer {
        font-size: 9px;
    }
}


/* RIGI24 UNIFIED OPERATOR LAUNCHER V1 */

.r24-unified-launcher {
    position: relative;
    display: flex;
    align-items: center;
}

.r24-operator-launcher {
    position: relative;
    width: 78px !important;
    height: 78px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 3px solid rgba(255, 255, 255, .96) !important;
    border-radius: 50% !important;
    background:
        linear-gradient(
            145deg,
            #e9fff8,
            #bdeee2
        ) !important;
    box-shadow:
        0 16px 38px rgba(15, 80, 69, .26),
        0 0 0 5px rgba(22, 131, 110, .09),
        inset 0 1px 0 rgba(255, 255, 255, .9) !important;
}

.r24-operator-launcher:hover {
    transform: translateY(-3px) scale(1.035) !important;
    box-shadow:
        0 20px 42px rgba(15, 80, 69, .31),
        0 0 0 7px rgba(22, 131, 110, .11) !important;
}

.r24-operator-avatar {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: 50%;
}

.r24-operator-avatar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        inset 0 -12px 18px rgba(4, 71, 61, .13),
        inset 0 1px 0 rgba(255, 255, 255, .6);
    pointer-events: none;
}

.r24-operator-avatar img {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 155%;
    max-width: none;
    height: auto;
    transform:
        translate(-50%, -43%);
    pointer-events: none;
    user-select: none;
}

.r24-operator-launcher .r24-launcher-online {
    right: 1px !important;
    bottom: 2px !important;
    z-index: 5;
    width: 15px !important;
    height: 15px !important;
    border: 3px solid #fff !important;
    background: #21c786 !important;
    box-shadow:
        0 2px 8px rgba(14, 116, 81, .35);
}

.r24-unified-tooltip {
    display: flex !important;
    min-width: 224px;
    min-height: 58px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 10px 15px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    border: 1px solid rgba(18, 91, 79, .10) !important;
    border-radius: 17px !important;
    color: #173d37 !important;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .98),
            rgba(240, 255, 250, .98)
        ) !important;
    box-shadow:
        0 13px 34px rgba(19, 61, 54, .16),
        inset 0 1px 0 #fff !important;
    transform: translateY(0) !important;
    backdrop-filter: blur(12px);
}

.r24-unified-tooltip strong {
    color: #143f37 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
    white-space: nowrap;
}

.r24-unified-tooltip small {
    color: #69837e !important;
    font-size: 10px !important;
    font-weight: 600;
}

.r24-unified-tooltip::after {
    border-inline-start-color:
        rgba(250, 255, 253, .98) !important;
}

.r24-unified-launcher:hover .r24-unified-tooltip {
    transform: translateY(-2px) !important;
    box-shadow:
        0 16px 38px rgba(19, 61, 54, .20),
        inset 0 1px 0 #fff !important;
}

/*
 * لانچر مستقل تماس دیگر نباید نمایش داده شود.
 * تماس فقط از دکمه سبز داخل پنل انجام می‌شود.
 */
.r24-call-launcher-wrap,
.r24-call-launcher {
    display: none !important;
}

@media (max-width: 520px) {
    .r24-operator-launcher {
        width: 68px !important;
        height: 68px !important;
    }

    .r24-unified-tooltip {
        min-width: 194px;
        min-height: 52px;
        padding: 8px 12px !important;
        border-radius: 15px !important;
    }

    .r24-unified-tooltip strong {
        font-size: 11px !important;
    }

    .r24-unified-tooltip small {
        font-size: 9px !important;
    }
}


/* RIGI24 OPERATOR ATTENTION V2 */

.r24-unified-launcher {
    position: relative !important;
    display: flex !important;
    width: 112px !important;
    height: 112px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    animation: r24OperatorFloat 3.2s ease-in-out infinite;
}

.r24-operator-launcher {
    position: relative !important;
    display: block !important;
    width: 106px !important;
    min-width: 106px !important;
    height: 106px !important;
    min-height: 106px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 4px solid #fff !important;
    border-radius: 32px !important;
    background:
        linear-gradient(
            145deg,
            #20b993,
            #087660
        ) !important;
    box-shadow:
        0 20px 45px rgba(5, 78, 65, .34),
        0 0 0 7px rgba(34, 196, 148, .13),
        0 0 0 13px rgba(34, 196, 148, .06) !important;
}

.r24-operator-avatar {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 27px !important;
    background:
        linear-gradient(
            145deg,
            #dffcf4,
            #96decc
        ) !important;
}

.r24-operator-avatar img {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    display: block !important;
    width: 150% !important;
    min-width: 150% !important;
    max-width: none !important;
    height: auto !important;
    transform:
        translate(-50%, -43%) !important;
}

.r24-unified-tooltip {
    position: absolute !important;
    right: calc(100% + 18px) !important;
    left: auto !important;
    top: 50% !important;
    bottom: auto !important;
    z-index: 30 !important;
    display: flex !important;
    width: 276px !important;
    min-width: 276px !important;
    min-height: 72px !important;
    box-sizing: border-box !important;
    align-items: flex-start !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 12px 18px 12px 54px !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    pointer-events: auto !important;
    border: 1px solid rgba(13, 113, 88, .15) !important;
    border-radius: 21px !important;
    color: #153e36 !important;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.99),
            rgba(229,255,247,.99)
        ) !important;
    box-shadow:
        0 18px 42px rgba(15, 68, 58, .20),
        inset 0 1px 0 #fff !important;
    transform: translateY(-50%) !important;
    white-space: normal !important;
}

.r24-unified-tooltip::before {
    content: "●";
    position: absolute;
    left: 17px;
    top: 50%;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: #19b987;
    box-shadow: 0 7px 16px rgba(25, 185, 135, .28);
    font-size: 11px;
    transform: translateY(-50%);
}

.r24-unified-tooltip::after {
    content: "" !important;
    position: absolute !important;
    right: -9px !important;
    left: auto !important;
    top: 50% !important;
    bottom: auto !important;
    width: 17px !important;
    height: 17px !important;
    border: 0 !important;
    background: #effff9 !important;
    box-shadow:
        1px -1px 0 rgba(13, 113, 88, .10) !important;
    transform:
        translateY(-50%)
        rotate(45deg) !important;
}

.r24-unified-tooltip strong {
    display: block !important;
    color: #0e493d !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    line-height: 1.55 !important;
    white-space: nowrap !important;
}

.r24-unified-tooltip small {
    display: block !important;
    color: #64827b !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.r24-operator-launcher .r24-launcher-online {
    position: absolute !important;
    right: -3px !important;
    bottom: 3px !important;
    z-index: 10 !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    border: 4px solid #fff !important;
    border-radius: 50% !important;
    background: #21d78f !important;
    box-shadow:
        0 3px 12px rgba(9, 115, 77, .4) !important;
    animation: r24OnlinePulse 1.8s ease-in-out infinite;
}

.r24-unified-launcher:hover {
    animation-play-state: paused;
}

.r24-unified-launcher:hover .r24-operator-launcher {
    transform: scale(1.055) !important;
}

.r24-unified-launcher:hover .r24-unified-tooltip {
    transform:
        translateY(-50%)
        translateX(-4px) !important;
}

@keyframes r24OperatorFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@keyframes r24OnlinePulse {
    0%,
    100% {
        box-shadow:
            0 0 0 0 rgba(33, 215, 143, .36),
            0 3px 12px rgba(9, 115, 77, .4);
    }

    50% {
        box-shadow:
            0 0 0 9px rgba(33, 215, 143, 0),
            0 3px 12px rgba(9, 115, 77, .4);
    }
}

@media (max-width: 700px) {
    .r24-unified-launcher {
        width: 91px !important;
        height: 91px !important;
    }

    .r24-operator-launcher {
        width: 86px !important;
        min-width: 86px !important;
        height: 86px !important;
        min-height: 86px !important;
        border-radius: 27px !important;
    }

    .r24-operator-avatar {
        border-radius: 22px !important;
    }

    .r24-unified-tooltip {
        right: calc(100% + 12px) !important;
        width: 220px !important;
        min-width: 220px !important;
        min-height: 62px !important;
        padding: 10px 13px 10px 43px !important;
        border-radius: 17px !important;
    }

    .r24-unified-tooltip::before {
        left: 12px;
        width: 24px;
        height: 24px;
    }

    .r24-unified-tooltip strong {
        font-size: 11px !important;
    }

    .r24-unified-tooltip small {
        font-size: 9px !important;
    }
}


/* RIGI24 MATCH STYLE OPERATOR V3 */

.r24-unified-launcher {
    position: relative !important;
    display: block !important;
    width: 102px !important;
    height: 102px !important;
    overflow: visible !important;
    animation: none !important;
}

.r24-operator-launcher {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    display: block !important;
    width: 96px !important;
    min-width: 96px !important;
    height: 96px !important;
    min-height: 96px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 5px solid #fff !important;
    border-radius: 50% !important;
    background: #0ca987 !important;
    box-shadow:
        0 17px 38px rgba(15, 54, 77, .27),
        0 0 0 2px rgba(15, 169, 135, .18) !important;
}

.r24-operator-avatar {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    background:
        linear-gradient(
            145deg,
            #dcfff6,
            #70d5bc
        ) !important;
}

.r24-operator-avatar img {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    display: block !important;
    width: 148% !important;
    min-width: 148% !important;
    max-width: none !important;
    height: auto !important;
    transform:
        translate(-50%, -43%) !important;
}

.r24-operator-launcher::after {
    content: "1";
    position: absolute;
    z-index: 20;
    left: -5px;
    top: -8px;
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: #ef413d;
    box-shadow: 0 5px 13px rgba(190, 44, 40, .3);
    font-size: 13px;
    font-weight: 900;
}

.r24-operator-launcher .r24-launcher-online {
    position: absolute !important;
    z-index: 20 !important;
    right: -1px !important;
    bottom: 4px !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    border: 4px solid #fff !important;
    border-radius: 50% !important;
    background: #20d487 !important;
}

.r24-unified-tooltip {
    position: absolute !important;
    right: 12px !important;
    left: auto !important;
    top: auto !important;
    bottom: calc(100% + 14px) !important;
    z-index: 50 !important;
    display: block !important;
    width: 355px !important;
    min-width: 355px !important;
    min-height: 150px !important;
    box-sizing: border-box !important;
    padding: 25px 28px 21px !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    pointer-events: auto !important;
    border: 1px solid #e3e8ec !important;
    border-radius: 24px !important;
    color: #282828 !important;
    background: rgba(255,255,255,.99) !important;
    box-shadow:
        0 18px 48px rgba(22, 43, 61, .18) !important;
    transform: none !important;
    direction: rtl !important;
    text-align: center !important;
    backdrop-filter: blur(12px);
}

.r24-unified-tooltip[hidden] {
    display: none !important;
}

.r24-unified-tooltip::before {
    content: none !important;
}

.r24-unified-tooltip::after {
    content: "";
    position: absolute !important;
    right: 24px !important;
    left: auto !important;
    top: auto !important;
    bottom: -9px !important;
    width: 18px !important;
    height: 18px !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: 1px 1px 0 #e3e8ec !important;
    transform: rotate(45deg) !important;
}

.r24-tooltip-close {
    position: absolute;
    left: 16px;
    top: 13px;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #68737b;
    background: #f3f5f6;
    cursor: pointer;
    font: inherit;
    font-size: 16px;
}

.r24-tooltip-hello {
    display: block !important;
    margin: 0 0 7px !important;
    color: #078b71 !important;
    font-size: 17px !important;
    font-weight: 950 !important;
    line-height: 1.5 !important;
    white-space: normal !important;
}

.r24-unified-tooltip p {
    margin: 0 0 8px;
    color: #292929;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

.r24-unified-tooltip small {
    display: block !important;
    color: #79858c !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

.r24-unified-launcher:hover,
.r24-unified-launcher:hover .r24-unified-tooltip {
    animation: none !important;
    transform: none !important;
}

.r24-unified-launcher:hover .r24-operator-launcher {
    transform: scale(1.04) !important;
}

@media (max-width: 520px) {
    .r24-unified-launcher {
        width: 86px !important;
        height: 86px !important;
    }

    .r24-operator-launcher {
        width: 82px !important;
        min-width: 82px !important;
        height: 82px !important;
        min-height: 82px !important;
    }

    .r24-unified-tooltip {
        right: 5px !important;
        bottom: calc(100% + 12px) !important;
        width: min(320px, calc(100vw - 28px)) !important;
        min-width: 0 !important;
        min-height: 135px !important;
        padding: 22px 22px 18px !important;
        border-radius: 21px !important;
    }

    .r24-tooltip-hello {
        font-size: 15px !important;
    }

    .r24-unified-tooltip p {
        font-size: 12px;
    }
}


/* RIGI24 MATCH BUBBLE FINAL */

.r24-unified-launcher {
    position: relative !important;
    width: 106px !important;
    height: 106px !important;
    overflow: visible !important;
}

.r24-match-avatar-button {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100px !important;
    min-width: 100px !important;
    height: 100px !important;
    min-height: 100px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 5px solid #fff !important;
    border-radius: 50% !important;
    background: #0ba987 !important;
    box-shadow:
        0 18px 42px rgba(18, 57, 79, .28),
        0 0 0 2px rgba(11, 169, 135, .18) !important;
}

.r24-match-avatar-image {
    position: absolute !important;
    inset: 0 !important;
    overflow: hidden !important;
    border-radius: 50% !important;
}

.r24-match-avatar-image img {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 148% !important;
    min-width: 148% !important;
    max-width: none !important;
    height: auto !important;
    transform: translate(-50%, -43%) !important;
}

.r24-match-bubble-v1 {
    position: absolute !important;
    right: 8px !important;
    bottom: 122px !important;
    z-index: 999999 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 365px !important;
    min-width: 365px !important;
    box-sizing: border-box !important;
    padding: 25px 28px 22px !important;
    overflow: visible !important;
    border: 1px solid #e2e7eb !important;
    border-radius: 24px !important;
    color: #282828 !important;
    background: #fff !important;
    box-shadow: 0 18px 48px rgba(22, 43, 61, .20) !important;
    direction: rtl !important;
    text-align: center !important;
}

.r24-match-bubble-v1[hidden] {
    display: none !important;
}

.r24-match-bubble-v1::after {
    content: "";
    position: absolute;
    right: 27px;
    bottom: -10px;
    width: 19px;
    height: 19px;
    border-right: 1px solid #e2e7eb;
    border-bottom: 1px solid #e2e7eb;
    background: #fff;
    transform: rotate(45deg);
}

.r24-match-bubble-v1 .r24-tooltip-hello {
    display: block !important;
    margin: 0 0 8px !important;
    color: #078c70 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
}

.r24-match-bubble-v1 p {
    margin: 0 0 8px !important;
    color: #292929 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.9 !important;
}

.r24-match-bubble-v1 small {
    display: block !important;
    color: #7b858b !important;
    font-size: 11px !important;
}

.r24-match-bubble-v1 .r24-tooltip-close {
    position: absolute !important;
    left: 14px !important;
    top: 12px !important;
    display: grid !important;
    width: 27px !important;
    height: 27px !important;
    place-items: center !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #666 !important;
    background: #f2f4f5 !important;
    cursor: pointer !important;
}

@media (max-width: 520px) {
    .r24-match-bubble-v1 {
        right: 4px !important;
        bottom: 108px !important;
        width: min(340px, calc(100vw - 24px)) !important;
        min-width: 0 !important;
        padding: 22px 20px 18px !important;
    }
}
