.bx-live-identity input{display:block;width:100%;margin:0 0 12px;padding:10px 12px;border:1px solid #d9cce9;border-radius:10px;font:400 12px Inter,sans-serif;color:#0d123d}.bx-live-identity[hidden]{display:none}.bx-live-messages{max-height:220px;overflow:auto;margin:0 0 14px}.bx-live-bubble{width:fit-content;max-width:88%;padding:9px 11px;margin:8px 0;background:#f4f0fa;border-radius:4px 12px 12px;font-size:11px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.bx-live-bubble.visitor{margin-left:auto;background:#6c33e0;color:#fff;border-radius:12px 4px 12px 12px}.bx-live-bubble time{display:block;font-size:9px;opacity:.7;margin-top:4px}
.bx-chat-panel .bx-chat-head{background:linear-gradient(115deg,#fbf9ff,#f2ecfc);padding:16px 18px}.bx-chat-panel .bx-chat-head>div{flex:1}.bx-chat-panel .bx-chat-head p{display:flex;align-items:center;gap:6px;font-size:9px}.bx-chat-panel .bx-chat-head p:before{content:'';width:7px;height:7px;border-radius:50%;background:#3bb77a;box-shadow:0 0 0 3px #3bb77a1c}.bx-chat-body{display:flex;flex-direction:column;min-height:0}.bx-chat-topics[hidden],.bx-chat-answer[hidden]{display:none!important}.bx-chat-panel .bx-chat-message{font-size:11px;line-height:1.65;margin-bottom:12px}.bx-live-messages{display:flex;flex-direction:column;gap:11px;max-height:265px;min-height:0;overflow:auto;overscroll-behavior:contain;padding:4px 2px 12px;margin:0 0 3px;scrollbar-width:thin;scrollbar-color:#d7cbe7 transparent;scroll-behavior:smooth}.bx-live-row{display:flex;align-items:flex-end;gap:8px;max-width:100%;animation:bx-live-in .2s ease both}.bx-live-row.visitor{justify-content:flex-end}.bx-live-avatar{flex:none;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#eee7f8;color:#6c33e0;font:700 8px Sora,sans-serif;letter-spacing:.2px}.bx-live-row.visitor .bx-live-avatar{background:#eeeef3;color:#696777}.bx-live-bubble{width:fit-content;max-width:calc(100% - 35px);padding:9px 12px 7px;margin:0;border:1px solid #e9e4f0;border-radius:13px 13px 13px 4px;background:#f8f6fb;color:#373144;font:400 11px/1.6 Inter,sans-serif;box-shadow:0 3px 10px #21182f08;white-space:normal}.bx-live-bubble.visitor{border:0;border-radius:13px 13px 4px 13px;background:linear-gradient(135deg,#7042c7,#5930ad);color:#fff}.bx-live-sender{display:block;margin-bottom:3px;font-size:9px;font-weight:700;letter-spacing:.1px;color:#6845a4}.bx-live-bubble.visitor .bx-live-sender{color:#e9dcff}.bx-live-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.bx-live-meta{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin-top:5px;font-size:8px;line-height:1;color:#918a9d}.bx-live-bubble.visitor .bx-live-meta{color:#e6dafa}.bx-live-sent:after{content:'✓';font-weight:700}.bx-live-empty{margin:auto;padding:15px 12px;text-align:center;color:#777183}.bx-live-empty-icon{margin:0 auto 8px;width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#f0eafb;color:#7042c7;font:800 11px Sora,sans-serif}.bx-live-empty b{display:block;color:#393244;font:600 11px Sora,sans-serif}.bx-live-empty p{font-size:9px;line-height:1.55;margin:5px auto 0;max-width:230px}.bx-chat-panel .bx-chat-hint{font-size:9px;color:#817a8c}.bx-chat-panel .bx-live-identity label{margin-top:3px}.bx-chat-panel .bx-live-identity input{background:#fff}.bx-chat-panel #bx-chat-message{min-height:58px;max-height:110px}.bx-chat-panel .bx-chat-send{display:inline-flex;align-items:center;gap:8px;padding:11px 14px;box-shadow:0 7px 17px #6c33e02b}.bx-chat-panel .bx-chat-send svg{height:15px;width:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.bx-chat-panel .bx-chat-send:disabled{opacity:.6;cursor:wait}.bx-chat-unread{position:absolute;right:-3px;top:-9px;padding:5px 8px;border-radius:15px;background:#d34f66;color:white;border:2px solid #fff;font:700 8px Inter,sans-serif;box-shadow:0 3px 10px #0002;white-space:nowrap}.bx-chat-unread[hidden]{display:none}.bx-chat-launcher.has-unread{box-shadow:0 0 0 5px #d34f6622,0 8px 30px #2c116e26}.bx-chat-launcher{position:relative}
@keyframes bx-live-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:767px){.bx-live-messages{max-height:34dvh;min-height:76px}.bx-chat-panel .bx-chat-body{padding:15px}.bx-live-empty{padding:8px}}
@media(prefers-reduced-motion:reduce){.bx-live-row{animation:none}.bx-live-messages{scroll-behavior:auto}}
.bx-chat-launcher{position:fixed!important;right:24px!important;bottom:24px!important;z-index:99999!important;min-height:60px;padding:10px 18px!important;gap:11px!important;border:1px solid #cdb8ed!important;background:linear-gradient(135deg,#7042c7,#4f269f)!important;box-shadow:0 12px 36px #32165b4a!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}.bx-chat-launcher-copy{display:grid;gap:2px;text-align:left}.bx-chat-launcher-copy b{font:700 12px/1.2 Inter,sans-serif}.bx-chat-launcher-copy small{display:flex;align-items:center;gap:5px;font:500 9px/1.2 Inter,sans-serif;color:#e9e0f8}.bx-chat-launcher-copy i{width:6px;height:6px;border-radius:50%;background:#70e0a1;box-shadow:0 0 0 3px #70e0a126}.bx-chat-panel{z-index:100000!important;visibility:visible}.bx-chat-panel[hidden]{display:none!important}.bx-chat-panel:not([hidden]){display:flex!important}
.bx-chat-view-replies{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:31px;padding:0 10px;border:1px solid #d9c9ed;border-radius:20px;background:#fff;color:#6845a4;font:600 9px/1 Inter,sans-serif;white-space:nowrap;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}.bx-chat-view-replies:before{content:'↘';font-size:12px}.bx-chat-view-replies:hover:not(:disabled){background:#f2ebfb;border-color:#bba2df;transform:translateY(-1px)}.bx-chat-view-replies:disabled{opacity:.48;cursor:not-allowed}.bx-chat-view-replies[disabled] .bx-chat-reply-count{display:none}.bx-chat-reply-count{padding:3px 5px;border-radius:10px;background:#d34f66;color:white;font:700 8px/1 Inter,sans-serif}.bx-chat-reply-count[hidden]{display:none}
@media(max-width:767px){.bx-chat-launcher{right:15px!important;bottom:16px!important;min-height:55px;padding:9px 15px!important}.bx-chat-panel{right:12px!important;bottom:80px!important;max-height:calc(100dvh - 96px)!important}}
/* Mobile-safe, touch-friendly chat placement and controls. */
.bx-chat-launcher,.bx-chat-panel button,.bx-chat-panel a{cursor:pointer;touch-action:manipulation}
.bx-chat-panel{max-height:calc(100dvh - 116px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain}
@media(max-width:767px){.bx-chat-launcher{right:max(14px,env(safe-area-inset-right))!important;bottom:max(14px,env(safe-area-inset-bottom))!important;min-height:52px!important;padding:9px 14px!important}.bx-chat-panel{right:max(12px,env(safe-area-inset-right))!important;bottom:calc(max(76px,env(safe-area-inset-bottom) + 68px))!important;width:min(370px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:min(76dvh,calc(100dvh - 100px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))!important;border-radius:18px}.bx-chat-panel .bx-chat-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}.bx-chat-panel textarea{font-size:16px}.bx-chat-panel .bx-chat-topics button,.bx-chat-panel .bx-chat-send,.bx-chat-panel .bx-chat-close{min-height:42px}}
@media(max-width:380px){.bx-chat-launcher{min-height:48px!important;padding:8px 12px!important;gap:8px!important}.bx-chat-launcher-copy b{font-size:11px}.bx-chat-launcher-copy small{font-size:8px}.bx-chat-panel .bx-chat-head{padding:12px}.bx-chat-panel .bx-chat-body{padding:12px}.bx-chat-panel .bx-chat-topics{gap:6px}.bx-chat-panel .bx-chat-topics button{padding:8px 10px;font-size:10px}}
