#sup-chat-btn{position:fixed;bottom:24px;left:20px;z-index:99990;width:58px;height:58px;border-radius:50%;border:0;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .25s;padding:0}
#sup-chat-btn:hover{transform:translateY(-3px)}
#sup-chat-btn svg{width:100%;height:100%;display:block}
#sup-chat-btn .sup-dot{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#F26B0F}
#sup-chat-panel{position:fixed;bottom:92px;left:22px;z-index:99991;width:min(380px,calc(100vw - 32px));height:min(560px,calc(100dvh - 130px));border-radius:18px;overflow:hidden;display:flex;flex-direction:column;background:#FFF9F1;border:1px solid rgba(43,27,20,.16);box-shadow:0 24px 70px rgba(0,0,0,.55);opacity:0;pointer-events:none;transform:translateY(14px);transition:opacity .28s,transform .28s;direction:rtl;font-family:inherit}
#sup-chat-panel.open{opacity:1;pointer-events:auto;transform:translateY(0)}
#sup-chat-head{display:flex;align-items:center;gap:10px;padding:13px 16px;background:#2B1B14;border-bottom:1px solid rgba(43,27,20,.16)}
#sup-chat-head img{width:34px;height:34px;border-radius:9px;object-fit:contain;background:#ffffff;padding:3px}
#sup-chat-head .t{flex:1;line-height:1.25}
#sup-chat-head .t b{display:block;color:#FFF3E6;font-size:14.5px;font-weight:700}
#sup-chat-close{background:none;border:0;color:#8A6D4F;font-size:22px;cursor:pointer;padding:2px 6px;line-height:1}
#sup-chat-msgs{flex:1;overflow-y:auto;padding:14px 12px;display:flex;flex-direction:column;gap:9px}
#sup-chat-msgs::-webkit-scrollbar{width:5px}#sup-chat-msgs::-webkit-scrollbar-thumb{background:rgba(43,27,20,.16);border-radius:4px}
.sup-msg{max-width:86%;padding:9px 13px;border-radius:14px;font-size:13.5px;line-height:1.75;white-space:pre-wrap;word-break:break-word}
.sup-msg.bot{align-self:flex-start;background:#FFFFFF;color:#3A2A1E;border:1px solid rgba(43,27,20,.16);border-bottom-right-radius:4px}
.sup-msg.user{align-self:flex-end;background:linear-gradient(135deg,#F26B0F,#D95A00);color:#FFFFFF;font-weight:600;border-bottom-left-radius:4px}
.sup-msg.err{align-self:flex-start;background:#2a1512;color:#e8b7a8;border:1px solid rgba(220,120,90,.35)}
.sup-chips{display:flex;flex-wrap:wrap;gap:7px;padding:0 12px 10px}
.sup-chip{background:#FFFFFF;color:#8A6D4F;border:1px solid rgba(43,27,20,.16);border-radius:999px;padding:6px 12px;font-size:12px;cursor:pointer;transition:background .2s,color .2s}
.sup-chip:hover{background:#F26B0F;color:#FFFFFF}
#sup-chat-form{display:flex;gap:8px;padding:11px 12px;border-top:1px solid rgba(43,27,20,.16);background:#2B1B14}
#sup-chat-input{flex:1;background:#FFFFFF;border:1px solid rgba(43,27,20,.16);border-radius:11px;padding:10px 12px;color:#FFF3E6;font-size:13.5px;font-family:inherit;outline:none;resize:none;max-height:84px}
#sup-chat-input:focus{border-color:#F26B0F}
#sup-chat-send{background:linear-gradient(135deg,#F26B0F,#D95A00);border:0;border-radius:11px;width:44px;cursor:pointer;display:flex;align-items:center;justify-content:center}
#sup-chat-send svg{width:18px;height:18px;fill:#FFFFFF;transform:scaleX(-1)}
#sup-chat-send:disabled{opacity:.45;cursor:default}
.sup-typing{display:inline-flex;gap:4px;padding:4px 2px}
.sup-typing i{width:6px;height:6px;border-radius:50%;background:#F26B0F;animation:sup-b 1.1s infinite}
.sup-typing i:nth-child(2){animation-delay:.18s}.sup-typing i:nth-child(3){animation-delay:.36s}
@keyframes sup-b{0%,60%,100%{opacity:.25;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}
@media (max-width:480px){#sup-chat-panel{left:12px;bottom:calc(9.6rem + env(safe-area-inset-bottom));width:calc(100vw - 24px)}#sup-chat-btn{left:16px;bottom:calc(5.25rem + env(safe-area-inset-bottom))}}
