.chat-container{width:320px;height:420px;background:#e5ddd5;padding:12px;display:flex;flex-direction:column;font-family:sans-serif;overflow:hidden;border-radius:20px;box-shadow:0 8px 32px rgba(0,0,0,.3)}.chat-container.floating{position:fixed;bottom:80px;right:20px;z-index:100}.chat-container-demo{background:#ece5dd}.bubble{max-width:85%;padding:8px 14px;margin:4px 0;border-radius:18px;font-size:14.5px;position:relative;line-height:1.4}.bot{borderBottomLeftRadius:4px}.bot,.user{color:#1a1a1a}.user{borderBottomRightRadius:4px}.bot{background:#fff;color:#000;align-self:flex-start;border-top-left-radius:4px}.user{background:#dcf8c6;color:#000;align-self:flex-end;border-top-right-radius:4px}.typing{display:flex;align-items:center;gap:4px;padding:12px 14px;min-width:50px}.typing span{width:6px;height:6px;background:#909090;border-radius:50%;animation:blink 1.4s infinite}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.2}40%{opacity:1}}.chat-toggle{position:fixed;bottom:20px;right:90px;width:56px;height:56px;border-radius:50%;background:#25d366;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(37,211,102,.4);z-index:101}.chat-toggle:hover{background:#22c35e}.typing-dot{width:8px;height:8px;background:#8e8e93;border-radius:50%;animation:imessage-dot 1.4s infinite}.typing-dot:nth-child(2){animation-delay:.2s}.typing-dot:nth-child(3){animation-delay:.4s}@keyframes imessage-dot{0%,80%,to{transform:scale(.8);opacity:.4}40%{transform:scale(1);opacity:1}}.chat-toggle-imessage{position:fixed;bottom:20px;right:90px;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#007aff,#5856d6);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,122,255,.4);z-index:101}.chat-toggle-imessage:hover{transform:scale(1.05)}.chat-container-demo{width:100%;max-width:300px;height:auto;aspect-ratio:300/420;background:#000;padding:0;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,sans-serif;overflow:hidden;border-radius:24px}