.support-chat{position:fixed;right:18px;bottom:18px;z-index:60;width:min(370px,calc(100vw - 24px));height:min(570px,calc(100dvh - 36px));display:flex;flex-direction:column;background:#fff;border:1px solid #cbd8ec;border-radius:17px;box-shadow:0 22px 65px #132b5570;overflow:hidden;color:#17233a;font-family:inherit}
.support-chat[hidden]{display:none!important}
.support-chat button{font:inherit;cursor:pointer}
.support-chat-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;background:linear-gradient(115deg,#2865f7,#3d8bff);color:#fff;min-height:69px}
.support-chat-title{display:flex;align-items:center;gap:11px}
.support-chat-title strong{display:block;font-size:16px;line-height:1.15}
.support-chat-title small{display:block;color:#e5eeff;font-size:11px;margin-top:4px}
.support-chat-avatar{display:grid;place-items:center;width:36px;height:36px;background:#ffffff2f;border:1px solid #ffffff66;border-radius:10px;font-size:13px;font-weight:900}
.support-chat-icon{border:0;background:transparent;color:#fff;font-size:27px;line-height:1;width:32px;height:32px;border-radius:8px}
.support-chat-icon:hover,.support-chat-icon:focus-visible{background:#ffffff2b}
.support-chat-content{flex:1;min-height:0;overflow-y:auto;padding:17px;background:#f8fbff}
.support-chat-loading{flex:1;display:grid;place-items:center;color:#61718b;font-size:13px}
.support-chat-intro{background:#fff;border:1px solid #e1e9f5;border-radius:15px;padding:20px 17px;box-shadow:0 6px 20px #1b4a8710}
.support-chat-intro>span,.support-chat-empty>span{display:grid;place-items:center;width:35px;height:35px;background:#eaf1ff;color:#2865f7;border-radius:11px;font-size:19px}
.support-chat-intro h3{font-size:18px;margin:14px 0 5px}
.support-chat-intro p,.support-chat-empty p{font-size:12px;line-height:1.5;color:#62718b;margin:0}
.support-chat-topics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}
.support-chat-topics button{border:1px solid #cbd9ef;background:#fff;color:#23477d;border-radius:10px;min-height:42px;padding:8px;font-size:12px;font-weight:700;text-align:left}
.support-chat-topics button[aria-pressed="true"]{border-color:#2865f7;background:#eaf1ff;color:#164bbb;box-shadow:inset 0 0 0 1px #2865f7}
.support-chat-note{font-size:11px;line-height:1.4;color:#728198;margin:13px 3px 0}
.support-chat-compose{display:flex;align-items:flex-end;gap:7px;background:#fff;border-top:1px solid #e1e9f5;padding:12px}
.support-chat-compose textarea{flex:1;min-width:0;min-height:48px;max-height:115px;resize:vertical;border:1px solid #d9e3f0;border-radius:11px;padding:11px;font:inherit;font-size:13px;color:#17233a;outline:none}
.support-chat-compose textarea:focus{border-color:#2865f7;box-shadow:0 0 0 3px #2865f71c}
.support-chat-compose button{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border:0;border-radius:11px;background:#2865f7;color:#fff;font-size:17px}
.support-chat-compose button:hover{background:#174fdd}
.support-chat-compose button:disabled{opacity:.5;cursor:wait}
.support-chat-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}
.support-chat-list-head strong{font-size:15px}
.support-chat-list-head button,.support-chat-empty button{border:0;border-radius:8px;background:#2865f7;color:#fff;padding:8px 10px;font-weight:750;font-size:12px}
.support-chat-list{display:grid;gap:8px}
.support-chat-list>button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:12px;text-align:left;border:1px solid #dce6f4;background:#fff;border-radius:11px;color:#182d4d}
.support-chat-list>button:hover{border-color:#2865f7}
.support-chat-list>button span{min-width:0}
.support-chat-list strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}
.support-chat-list small{display:block;font-size:10px;color:#73819a;margin-top:5px}
.support-chat-list em{font-style:normal;font-size:10px;white-space:nowrap;color:#2663cb}
.support-chat-empty{display:grid;justify-items:center;gap:10px;text-align:center;margin:70px 12px 0}
.support-chat-empty strong{font-size:15px}
.support-chat-thread{display:flex;flex-direction:column;padding:0}
.support-chat-thread-head{display:flex;align-items:center;gap:9px;padding:12px 13px;background:#fff;border-bottom:1px solid #e3eaf4}
.support-chat-thread-head button{border:0;background:#edf3ff;color:#2759b8;border-radius:8px;width:29px;height:29px;font-size:18px}
.support-chat-thread-head div{flex:1;min-width:0}
.support-chat-thread-head strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.support-chat-thread-head small{font-size:10px;color:#667b9b}
.support-chat-messages{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:14px}
.support-chat-messages article{max-width:89%;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #e2e8f2;box-shadow:0 2px 8px #244f7b0c}
.support-chat-messages article.mine{align-self:flex-end;background:#e2edff;border-color:#c9dcff}
.support-chat-messages small{display:block;color:#6881a6;font-size:10px;margin-bottom:4px}
.support-chat-messages p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.5}
.support-chat-thread>.support-chat-note{padding:0 12px 10px;margin:0}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:680px){.support-chat{right:8px;bottom:8px;width:calc(100vw - 16px);height:min(620px,calc(100dvh - 16px));border-radius:14px}}
