.blog-chat{position:fixed;right:24px;bottom:24px;z-index:9998;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}.blog-chat *{box-sizing:border-box}.blog-chat-toggle{display:flex;height:48px;align-items:center;gap:8px;padding:0 17px;border:0;border-radius:24px;background:#2f3a4c;color:#fff;box-shadow:0 10px 28px rgba(23,32,51,.24);font-size:14px;cursor:pointer}.blog-chat-toggle:hover{background:#222c3c}.blog-chat-toggle i{font-size:17px}.blog-chat-toggle b{display:inline-flex;min-width:19px;height:19px;align-items:center;justify-content:center;padding:0 5px;border-radius:10px;background:#e25555;font-size:11px}.blog-chat-panel{position:absolute;right:0;bottom:60px;width:350px;overflow:hidden;border:1px solid #e4e8ef;border-radius:14px;background:#fff;box-shadow:0 18px 55px rgba(23,32,51,.2)}.blog-chat-head{display:flex;align-items:center;justify-content:space-between;padding:16px 17px;background:#2f3a4c;color:#fff}.blog-chat-head strong{display:block;font-size:16px}.blog-chat-head small{display:flex;align-items:center;gap:6px;margin-top:4px;color:#cbd2dd;font-size:11px}.blog-chat-head small i{width:7px;height:7px;border-radius:50%;background:#e1a64d}.blog-chat-head small i.online{background:#55bd84}.blog-chat-head button{border:0;background:transparent;color:#dbe0e8;font-size:25px;line-height:1;cursor:pointer}.blog-chat-notice{padding:9px 14px;border-bottom:1px solid #eef0f4;background:#f8f9fb;color:#7d8796;font-size:11px}.blog-chat-messages{height:330px;overflow-y:auto;padding:14px;background:#f5f7fa}.blog-chat-empty{padding:54px 18px;color:#9ba4b2;text-align:center;font-size:13px;line-height:1.7}.blog-chat-message{display:flex;margin:0 0 11px}.blog-chat-message.admin{justify-content:flex-start}.blog-chat-message.visitor{justify-content:flex-end}.blog-chat-bubble{max-width:82%;padding:9px 11px;border-radius:12px;background:#fff;color:#364052;box-shadow:0 1px 3px rgba(23,32,51,.06);font-size:13px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.blog-chat-message.visitor .blog-chat-bubble{background:#3d4a5f;color:#fff}.blog-chat-time{display:block;margin-top:4px;color:#a2aab6;font-size:9px}.blog-chat-message.visitor .blog-chat-time{color:#cfd5de;text-align:right}.blog-chat-form{padding:11px 12px;border-top:1px solid #e8ebf0;background:#fff}.blog-chat-form textarea{display:block;width:100%;height:58px;resize:none;padding:8px 9px;border:1px solid #dfe3e9;border-radius:8px;outline:none;color:#30384a;font:13px/1.5 inherit}.blog-chat-form textarea:focus{border-color:#8793a5;box-shadow:0 0 0 3px rgba(78,91,112,.08)}.blog-chat-form>div{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.blog-chat-form span{color:#9ca4b1;font-size:10px}.blog-chat-form button{padding:7px 16px;border:0;border-radius:7px;background:#3d4a5f;color:#fff;font-size:12px;cursor:pointer}.blog-chat-form button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:600px){.blog-chat{right:14px;bottom:16px}.blog-chat-toggle span{display:none}.blog-chat-toggle{width:48px;justify-content:center;padding:0}.blog-chat-panel{position:fixed;right:10px;bottom:74px;left:10px;width:auto}.blog-chat-messages{height:min(52vh,390px)}}
