
.ego-floating-chat{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:calc(20px + env(safe-area-inset-bottom));z-index:200;display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:10px 20px 10px 10px;border:1px solid #9274af;border-radius:999px;background:#68438e;color:#fff;font:700 15px/1.3 Inter,Arial,sans-serif;box-shadow:0 6px 24px #29243b40;cursor:pointer}.ego-floating-chat img{width:38px;height:38px;border-radius:50%;background:#f4eef9;object-fit:cover}.ego-floating-chat:hover{background:#533471}.ego-floating-chat:focus-visible{outline:3px solid #b8cd83;outline-offset:4px}body{padding-bottom:90px}@media(max-width:480px){.ego-floating-chat{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));min-height:52px;padding-right:16px;font-size:14px;gap:8px}.ego-floating-chat img{width:34px;height:34px}}

#ego-live-dialog{box-sizing:border-box;width:440px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid #d9cce8;border-radius:18px;background:#faf8fd;color:#29243b;font:15px/1.5 Arial,sans-serif;box-shadow:0 16px 60px #0005}#ego-live-dialog::backdrop{background:#17132788}#ego-live-dialog *{box-sizing:border-box}#ego-live-dialog .ego-chat-close{display:block;margin:10px 12px 6px auto;border:0;background:transparent;color:#68438e;font:700 14px Arial;cursor:pointer;padding:8px}#ego-live-dialog .hero-chat{display:flex;flex-direction:column;height:560px;max-height:calc(100dvh - 84px);width:100%;border:0;box-shadow:none;background:#fff}#ego-live-dialog .hc-head{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #ded6e7;background:#f2ecf8}#ego-live-dialog .hc-avatar img{width:40px;height:40px;object-fit:contain}#ego-live-dialog .hc-info strong{display:block;font-size:14px}#ego-live-dialog .hc-info span{font-size:12px;color:#655c70}#ego-live-dialog .hc-msgs{flex:1;min-height:0;overflow-y:auto;padding:16px;overscroll-behavior:contain}#ego-live-dialog .hc-msg{display:flex;align-items:flex-end;gap:8px;margin:12px 0}#ego-live-dialog .hc-msg.user{justify-content:flex-end}#ego-live-dialog .bot-icon img{width:28px;height:28px;object-fit:contain}#ego-live-dialog .bubble{max-width:85%;padding:10px 13px;border-radius:14px;background:#f2ecf8;overflow-wrap:anywhere}#ego-live-dialog .user .bubble{background:#68438e;color:white}#ego-live-dialog .hc-foot{display:flex;gap:8px;padding:12px;border-top:1px solid #ded6e7}#ego-live-dialog textarea{flex:1;min-width:0;resize:none;padding:12px;border:1px solid #cbbbdc;border-radius:10px;font:16px/1.4 Arial;background:white;color:#29243b}#ego-live-dialog #ego-chat-send{width:46px;flex-shrink:0;border:0;border-radius:10px;background:#68438e;cursor:pointer}#ego-live-dialog button:disabled{opacity:.5;cursor:wait}#ego-live-dialog button:focus-visible,#ego-live-dialog textarea:focus-visible{outline:3px solid #9a77bd;outline-offset:2px}#ego-live-dialog .hc-lead-banner{padding:12px;background:#eef5d8;border-radius:8px}#ego-live-dialog .hc-typing .dot{display:inline-block;width:6px;height:6px;margin:3px;background:#68438e;border-radius:50%}

.ego-floating-chat .ego-chat-label-break{display:none}@media(max-width:480px){.ego-floating-chat span{display:block;text-align:left;line-height:1.3}.ego-floating-chat .ego-chat-label-break{display:block}}
