#obs-chat-btn{
    position:fixed;
    right:20px;
    bottom:20px;
    width:64px;
    height:64px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.20);
    cursor:pointer;
    z-index:999999;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}
#obs-chat-btn img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
#obs-chat-box{
    position:fixed;
    right:20px;
    bottom:96px;
    width:360px;
    max-width:calc(100vw - 24px);
    height:520px;
    max-height:70vh;
    background:#fff;
    border-radius:16px;
    box-shadow:0 16px 50px rgba(0,0,0,.22);
    z-index:999999;
    overflow:hidden;
    display:none;
    flex-direction:column;
}
#obs-chat-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 14px;
    border-bottom:1px solid #eee;
    background:#fff;
}
#obs-chat-title{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    font-weight:600;
}
#obs-chat-title img{
    width:38px;
    height:38px;
    border-radius:50%;
    object-fit:cover;
}
.obs-chat-subtitle{
    font-size:12px;
    font-weight:400;
    opacity:.7;
}
#obs-chat-close{
    border:none;
    background:none;
    font-size:24px;
    line-height:1;
    cursor:pointer;
}
#obs-chat-msg{
    flex:1;
    overflow:auto;
    padding:12px;
    background:#f7f7f7;
}
.obs-msg{
    margin:8px 0;
    padding:10px 12px;
    border-radius:12px;
    max-width:86%;
    line-height:1.45;
    font-size:14px;
    word-break:break-word;
    white-space:pre-line;
}
.obs-user{
    background:#111;
    color:#fff;
    margin-left:auto;
}
.obs-bot{
    background:#f1f1f1;
    color:#222;
    margin-right:auto;
}
#obs-chat-quick{
    padding:8px 10px 0;
    background:#fff;
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    position: relative;
    z-index: 3;
}
.obs-quick-btn{
    border:1px solid #ddd;
    background:#fff;
    border-radius:999px;
    padding:7px 10px;
    font-size:12px;
    cursor:pointer;
    position: relative;
    z-index: 4;
}
#obs-chat-form{
    display:flex;
    gap:8px;
    padding:10px;
    border-top:1px solid #eee;
    background:#fff;
}
#obs-chat-input{
    flex:1;
    min-height:44px;
    max-height:110px;
    resize:none;
    border:1px solid #ddd;
    border-radius:12px;
    padding:10px 12px;
    font:inherit;
}
#obs-chat-send{
    border:none;
    border-radius:12px;
    padding:0 16px;
    cursor:pointer;
    background:#111;
    color:#fff;
}
@media (max-width: 767px){
    #obs-chat-btn{
        right:16px;
        bottom:16px;
        width:58px;
        height:58px;
    }
    #obs-chat-box{
        right:12px;
        left:12px;
        bottom:84px;
        width:auto;
        height:68vh;
    }
}