#bb-chat{--bb-bg:#fff;--bb-soft:#edf4ff;--bb-ink:#19345b;--bb-muted:#7086a5;--bb-line:#d7e5f8;--bb-blue:#1168f4;font:inherit;color:var(--bb-ink);position:relative;z-index:85}
[data-theme=dark] #bb-chat{--bb-bg:#16243a;--bb-soft:#1c3151;--bb-ink:#edf4ff;--bb-muted:#a8bddb;--bb-line:#344e70}
#bb-chat [hidden]{display:none!important}#bb-chat button,#bb-chat textarea{font:inherit}#bb-chat button{cursor:pointer;border:0;color:inherit;background:transparent}#bb-chat button:disabled{opacity:.45;cursor:default}#bb-chat button:focus-visible,#bb-chat textarea:focus-visible,.bb-chat-nav:focus-visible{outline:3px solid #80b4ff;outline-offset:3px}#bb-chat svg{width:22px;height:22px;flex:none}#bb-chat h2,#bb-chat h3,#bb-chat p{margin:0}.bb-chat-badge{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;background:#f24965;color:#fff;border-radius:20px;font-size:11px;font-weight:700;line-height:1}.bb-chat-nav{position:relative;display:flex;align-items:center;gap:6px}.bb-chat-nav .bb-chat-badge[hidden]{display:none}
#bb-chat .bb-chat-launch{position:fixed;right:24px;bottom:22px;display:flex;align-items:center;gap:12px;background:#1168ed;color:#fff;border:1px solid #5998f9;border-radius:16px;padding:12px 16px;min-height:58px;box-shadow:0 8px 25px #0b3d7940;z-index:1}#bb-chat .bb-chat-launch>span{text-align:left;font-size:13px;font-weight:700}#bb-chat .bb-chat-launch small{display:block;color:#dceaff;font-size:10px;font-weight:400}.bb-chat-launch.has-unread{outline:5px solid #1168ed18}.bb-chat-ticket-route .bb-chat-launch{display:none!important}
.bb-chat-notice{position:fixed;right:24px;bottom:96px;width:345px;max-width:calc(100vw - 24px);background:var(--bb-bg);border:1px solid var(--bb-line);border-radius:18px;box-shadow:0 16px 45px #173e7930;overflow:hidden;z-index:2;animation:bb-chat-arrive .24s ease}.bb-chat-notice:before{content:'';position:absolute;left:0;top:16px;bottom:16px;width:4px;background:#1168f4;border-radius:0 4px 4px 0}.bb-chat-notice-head{display:flex;align-items:center;gap:10px;padding:16px 16px 9px}.bb-chat-notice-head>span{width:42px;height:44px;border-radius:12px;background:var(--bb-soft);flex:none}.bb-chat-notice-head img{width:42px;height:49px;object-fit:contain;margin-top:-5px}.bb-chat-notice-head strong{display:block;font-size:14px}.bb-chat-notice-head small{display:block;font-size:10px;color:var(--bb-muted);max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#bb-chat .bb-chat-icon{display:grid;place-items:center;flex:none;min-width:32px;min-height:34px;border-radius:9px;font-size:25px;line-height:1}#bb-chat .bb-chat-icon:hover{background:var(--bb-soft)}.bb-chat-notice-head>.bb-chat-icon{margin-left:auto;align-self:start;color:var(--bb-muted)}.bb-chat-notice>p{padding:0 18px;color:var(--bb-muted);font-size:13px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;max-height:45px}.bb-chat-notice-foot{padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:10px}.bb-chat-notice-foot small{color:var(--bb-muted);font-size:10px}#bb-chat .bb-chat-notice-foot button{padding:10px 17px;background:#1168f4;color:#fff;border-radius:10px;font-weight:700;font-size:12px}
.bb-chat-panel{position:fixed;right:20px;bottom:20px;width:396px;height:min(660px,calc(100dvh - 110px));max-width:calc(100vw - 28px);border:1px solid var(--bb-line);border-radius:20px;background:var(--bb-bg);box-shadow:0 20px 70px #0d315b40;display:flex;flex-direction:column;overflow:hidden;z-index:3;animation:bb-chat-arrive .22s ease}.bb-chat-panel>header{display:flex;align-items:center;gap:9px;background:var(--bb-soft);padding:15px 12px;flex:none;border-bottom:1px solid var(--bb-line)}.bb-chat-panel>header>img{height:42px;width:35px;object-fit:contain}.bb-chat-panel>header>div{min-width:0;flex:1}#bb-chat .bb-chat-panel h2{font-size:14px;line-height:1.5;font-weight:700}.bb-chat-subtitle{font-size:10px;color:var(--bb-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}.bb-chat-panel [aria-pressed=true]{color:#1168f4!important;background:var(--bb-bg)!important}.bb-chat-body{overflow:auto;min-height:0;flex:1;padding:18px 16px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--bb-line) transparent}.bb-chat-list-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}#bb-chat .bb-chat-list-title h3{font-size:17px}#bb-chat .bb-chat-list-title button{color:#287ce9;font-size:12px}.bb-chat-thread{display:flex;gap:11px;width:100%;text-align:left;padding:16px 0!important;border-bottom:1px solid var(--bb-line)!important;align-items:start}.bb-chat-thread>span:nth-child(2){min-width:0;flex:1}.bb-chat-thread-icon{width:35px;height:39px;display:grid;place-items:center;background:var(--bb-soft);color:#2778e1;border-radius:11px;flex:none}.bb-chat-thread strong{font-size:13px}.bb-chat-thread p{font-size:12px;color:var(--bb-muted);line-height:1.6;margin:5px 0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.bb-chat-thread small{font-size:10px;color:var(--bb-muted)}.bb-chat-empty{padding:24px 10px;text-align:center;color:var(--bb-muted);font-size:13px;line-height:1.8}.bb-chat-list-foot{border-top:1px solid var(--bb-line);padding:15px;display:flex;align-items:center;gap:14px;font-size:11px}.bb-chat-list-foot button:first-child{margin-right:auto;color:#287ce9}.bb-chat-message{max-width:86%;width:fit-content;margin:0 auto 13px 0}.bb-chat-message>div{background:var(--bb-soft);border-radius:15px 15px 15px 4px;padding:12px 14px;font-size:13px;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap}.bb-chat-message.mine{margin-left:auto;margin-right:0}.bb-chat-message.mine>div{background:#146cf1;color:#fff;border-radius:15px 15px 4px 15px}.bb-chat-message time{display:block;font-size:9px;color:var(--bb-muted);padding:5px 2px}.bb-chat-message.mine time{text-align:right}.bb-chat-more{color:#3886ef!important;display:block;margin:0 auto 18px!important;font-size:12px!important}.bb-chat-form{padding:12px 13px;border-top:1px solid var(--bb-line)}.bb-chat-compose{display:flex;gap:7px;align-items:end}.bb-chat-compose textarea{color:var(--bb-ink);background:var(--bb-soft);border:1px solid var(--bb-line);border-radius:12px;resize:vertical;min-height:44px;max-height:110px;flex:1;min-width:0;line-height:1.6;padding:11px;font-size:13px!important}.bb-chat-compose textarea::placeholder{color:var(--bb-muted)}#bb-chat .bb-chat-send{height:44px;width:42px;background:#1168f4;color:#fff;border-radius:11px;display:grid;place-items:center;flex:none}.bb-chat-compose-help{display:block;text-align:center;color:var(--bb-muted);font-size:9px;margin-top:8px}.bb-chat-error:empty{display:none}.bb-chat-error{color:#df365d;padding:8px 0;font-size:12px;line-height:1.7}.bb-chat-attachments{display:flex;gap:8px}.bb-chat-attachments>span{position:relative;margin:0 0 10px}.bb-chat-attachments img{height:58px;width:65px;object-fit:cover;border-radius:8px}.bb-chat-attachments button{position:absolute;right:-3px;top:-5px;background:#f24965!important;color:white!important;border-radius:50%;height:23px;width:23px}.bb-chat-image{display:block;margin:8px 0!important;max-width:100%;color:#2675db!important}.bb-chat-image img{max-width:100%;max-height:240px;border-radius:9px}.bb-chat-photo-dialog{max-width:95vw;max-height:92dvh;border:0;padding:38px 12px 12px;border-radius:14px;background:var(--bb-bg);color:var(--bb-ink)}.bb-chat-photo-dialog::backdrop{background:#0b1d3a99}.bb-chat-photo-dialog>img{max-width:85vw;max-height:78dvh;object-fit:contain}.bb-chat-photo-dialog>button{position:absolute;right:8px;top:6px;font-size:25px!important}.bb-chat-secondary{display:block;border:1px solid var(--bb-line)!important;border-radius:10px;margin:12px auto!important;padding:10px 18px!important}.bb-chat-announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.bb-chat-blocked>.bb-chat-notice,.bb-chat-blocked>.bb-chat-launch{display:none!important}
@keyframes bb-chat-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.bb-chat-panel,.bb-chat-notice{animation:none}}
@media(max-width:1000px){.bb-chat-notice{bottom:150px}.bb-chat-launch{bottom:78px!important}}
@media(max-width:700px){#bb-chat .bb-chat-launch{display:none}.bb-chat-nav .bb-chat-badge{position:absolute;top:0;right:calc(50% - 25px);min-width:18px;height:18px;font-size:9px;border:2px solid var(--surface,#fff)}#bottom-nav .bb-chat-nav:has(.bb-chat-badge:not([hidden])){background:#1168f415;color:#2878eb;border-radius:11px}.bb-chat-notice{left:12px;right:12px;top:calc(env(safe-area-inset-top,0px) + 90px);bottom:auto;width:auto;border-radius:17px}.bb-chat-notice-head strong{font-size:13px}.bb-chat-notice-head small{max-width:210px}.bb-chat-notice-head{padding:14px 14px 8px}.bb-chat-notice>p{font-size:12px;max-height:42px}.bb-chat-notice-foot{padding:12px 15px}.bb-chat-panel{left:0;right:0;bottom:auto;top:var(--bb-chat-top,0px);width:100%;max-width:none;height:var(--bb-chat-height,100dvh);border:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom,0px)}.bb-chat-open-mobile{overflow:hidden!important}.bb-chat-panel>header{padding-top:max(13px,env(safe-area-inset-top,0px));min-height:74px}.bb-chat-subtitle{max-width:180px}.bb-chat-compose textarea{font-size:16px!important}.bb-chat-compose-help{font-size:9px}.bb-chat-thread{padding:18px 0!important}}
@media(max-width:360px){#bb-chat .bb-chat-panel h2{font-size:12px}.bb-chat-panel>header{gap:6px}.bb-chat-panel>header>img{width:29px}.bb-chat-subtitle{max-width:132px}.bb-chat-notice-head small{max-width:170px}.bb-chat-list-foot{gap:9px}.bb-chat-compose{gap:5px}}
#bb-chat .bb-chat-other{background:var(--bb-soft);color:var(--bb-ink);font-size:11px;text-align:left;padding:11px 16px;border-bottom:1px solid var(--bb-line);flex:none}
#bb-chat .bb-chat-message>div{color:var(--bb-ink)}#bb-chat .bb-chat-message.mine>div{color:#fff}#bb-chat .bb-chat-message p{color:inherit;font-size:inherit;line-height:inherit}
