#cb3-root{
position:fixed;
bottom:calc(var(--cb3-y) + env(safe-area-inset-bottom,0px));
z-index:var(--cb3-z);
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
color:var(--cb3-text);
line-height:1.35;
visibility:visible;
opacity:1;
pointer-events:none;
max-width:calc(100vw - 24px)
}
#cb3-root.cb3-right{right:calc(var(--cb3-x) + env(safe-area-inset-right,0px))}
#cb3-root.cb3-left{left:calc(var(--cb3-x) + env(safe-area-inset-left,0px))}
#cb3-root *{box-sizing:border-box}
.cb3-launcher,.cb3-panel,.cb3-greeting{pointer-events:auto}
#cb3-root>summary{list-style:none}
#cb3-root>summary::-webkit-details-marker{display:none}
.cb3-launcher{
position:relative;display:flex;align-items:center;justify-content:center;gap:10px;
min-width:var(--cb3-size);max-width:min(320px,calc(100vw - 32px));height:var(--cb3-size);
border:0;background:var(--cb3-launcher);color:var(--cb3-launcher-text);
box-shadow:0 12px 34px rgba(15,23,42,.25);cursor:pointer;padding:0 18px;
transition:transform .2s ease,box-shadow .2s ease;overflow:visible
}
.cb3-launcher:hover{transform:translateY(-2px);box-shadow:0 16px 42px rgba(15,23,42,.28)}
.cb3-shape-circle .cb3-launcher{width:var(--cb3-size);padding:0;border-radius:50%}
.cb3-shape-rounded .cb3-launcher{width:var(--cb3-size);padding:0;border-radius:18px}
.cb3-shape-pill .cb3-launcher{border-radius:999px}
.cb3-open-icon{display:flex;align-items:center;justify-content:center;flex:0 0 26px}.cb3-launcher svg{width:26px;height:26px;min-width:26px;fill:currentColor}
.cb3-launcher b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;line-height:1.1}
.cb3-launcher .cb3-x{display:none;font-size:30px;line-height:1;font-weight:400}
#cb3-root[open] .cb3-open-icon{display:none}
#cb3-root[open] .cb3-launcher .cb3-x{display:block}
.cb3-launcher i{
position:absolute;right:-3px;top:-5px;display:flex;align-items:center;justify-content:center;
min-width:22px;height:22px;padding:0 5px;border:2px solid #fff;border-radius:99px;
background:#ef4444;color:#fff;font:800 11px/18px Arial;font-style:normal;box-shadow:0 2px 7px rgba(0,0,0,.18)
}
#cb3-root[open] .cb3-launcher i{display:none}
.cb3-panel{
position:absolute;bottom:calc(var(--cb3-size) + 14px);
width:min(var(--cb3-panel-w,360px),calc(100vw - 28px));
max-height:min(600px,calc(100dvh - var(--cb3-size) - var(--cb3-y) - 34px));
max-height:min(600px,calc(100vh - var(--cb3-size) - var(--cb3-y) - 34px));
background:var(--cb3-panel);color:var(--cb3-text);border:1px solid rgba(148,163,184,.22);
border-radius:var(--cb3-panel-r,22px);box-shadow:0 22px 60px rgba(15,23,42,.24);overflow:hidden;
display:flex;flex-direction:column;overscroll-behavior:contain
}
.cb3-right .cb3-panel{right:0}.cb3-left .cb3-panel{left:0}
#cb3-root:not([open]) .cb3-panel{display:none!important}
#cb3-root[open] .cb3-panel{display:flex}
.cb3-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:18px 18px 15px;border-bottom:1px solid rgba(148,163,184,.16);flex:0 0 auto}
.cb3-panel-head>div{min-width:0}.cb3-panel-head strong{display:block;font-size:17px;line-height:1.25;overflow-wrap:anywhere}
.cb3-panel-head p{margin:5px 0 0;font-size:13px;line-height:1.45;opacity:.7;overflow-wrap:anywhere}
.cb3-close,.cb3-greeting-x{border:0;background:transparent;color:inherit;font-size:25px;line-height:1;cursor:pointer;opacity:.6;padding:0;min-width:24px}
.cb3-close:hover,.cb3-greeting-x:hover{opacity:1}
.cb3-channel-list{display:grid;gap:8px;padding:12px;overflow-y:auto;overflow-x:hidden;min-height:0;scrollbar-width:thin}
.cb3-channel{display:flex;align-items:center;gap:12px;padding:11px;border-radius:15px;color:var(--cb3-text)!important;text-decoration:none!important;min-width:0;transition:background .16s ease,transform .16s ease}
.cb3-channel:hover{background:rgba(148,163,184,.12);transform:translateX(2px)}
.cb3-channel>span{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:var(--cb3-channel);color:#fff;flex:0 0 44px}
.cb3-channel svg{width:23px;height:23px;fill:currentColor}.cb3-channel>div{display:flex;flex-direction:column;min-width:0;flex:1}
.cb3-channel strong,.cb3-channel small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cb3-channel small{opacity:.6}
.cb3-channel>b{margin-left:auto;font-size:25px;opacity:.4;flex:0 0 auto}.cb3-note{display:block;text-align:center;padding:0 12px 13px;opacity:.45;flex:0 0 auto}
.cb3-greeting{
position:absolute;bottom:calc(var(--cb3-size) + 12px);width:min(300px,calc(100vw - 28px));max-height:calc(100vh - var(--cb3-size) - var(--cb3-y) - 30px);
background:#fff;color:#111827;padding:14px 36px 14px 14px;border-radius:16px;box-shadow:0 16px 42px rgba(15,23,42,.2);display:flex;gap:10px;align-items:center;overflow:auto
}
.cb3-right .cb3-greeting{right:0}.cb3-left .cb3-greeting{left:0}.cb3-greeting[hidden]{display:none!important}
.cb3-greeting img{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:0 0 42px}.cb3-greeting>div{min-width:0}.cb3-greeting p{margin:3px 0 0;font-size:12px;line-height:1.4;color:#475569;overflow-wrap:anywhere}.cb3-greeting-x{position:absolute;right:8px;top:7px}
.cb3-animation-pulse:not([open]) .cb3-launcher{animation:cb3pulse 2.4s infinite}.cb3-animation-bounce:not([open]) .cb3-launcher{animation:cb3bounce 3s infinite}
.cb3-inline{display:flex;flex-wrap:wrap;gap:10px}.cb3-inline-link{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;background:var(--cb3-channel);color:#fff!important;text-decoration:none!important;font-weight:700}.cb3-inline-link svg{width:20px;height:20px;fill:currentColor}
@keyframes cb3pulse{50%{transform:scale(1.035)}}@keyframes cb3bounce{90%{transform:translateY(-6px)}}
@media(max-width:767px){
#cb3-root{--cb3-x:12px;--cb3-y:12px;max-width:calc(100vw - 24px)}
.cb3-panel{width:min(350px,calc(100vw - 24px));border-radius:18px;max-height:calc(100dvh - var(--cb3-size) - 38px);max-height:calc(100vh - var(--cb3-size) - 38px)}
.cb3-panel-head{padding:16px}.cb3-channel-list{padding:9px}.cb3-channel{padding:9px}.cb3-channel>span{width:42px;height:42px;flex-basis:42px}
.cb3-shape-pill .cb3-launcher{max-width:calc(100vw - 28px);padding:0 15px}.cb3-launcher b{font-size:14px}
}
@media(max-height:560px){
.cb3-panel{max-height:calc(100dvh - var(--cb3-size) - 24px);max-height:calc(100vh - var(--cb3-size) - 24px);border-radius:16px}
.cb3-panel-head{padding:13px 15px}.cb3-panel-head strong{font-size:15px}.cb3-panel-head p{font-size:12px}.cb3-channel-list{padding:8px;gap:5px}.cb3-channel{padding:7px 9px}.cb3-channel>span{width:38px;height:38px;flex-basis:38px}.cb3-note{display:none}
}
@media(prefers-reduced-motion:reduce){#cb3-root *{animation:none!important;transition:none!important}}
