/* ---------- AI 客服浮层（VI：墨 + 孔雀，红仅一处） ---------- */
.cb-fab{
  position:fixed;right:28px;bottom:28px;z-index:9990;
  width:58px;height:58px;border-radius:50%;border:0;cursor:pointer;
  background:var(--accent,#2E9E86);color:#07211C;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 28px rgba(0,0,0,.45);transition:transform .2s}
.cb-fab:hover{transform:translateY(-2px)}
.cb-fab svg{width:26px;height:26px}
.cb-fab .cb-dot{position:absolute;top:2px;right:2px;width:11px;height:11px;
  border-radius:50%;background:#B3242A;border:2px solid var(--accent,#2E9E86)}

.cb-panel{
  position:fixed;right:28px;bottom:100px;z-index:9991;
  width:380px;max-width:calc(100vw - 24px);height:560px;max-height:calc(100vh - 130px);
  background:#23272B;border:1px solid #3A4046;border-radius:10px;
  display:none;flex-direction:column;overflow:hidden;
  box-shadow:0 18px 60px rgba(0,0,0,.55)}
.cb-panel.open{display:flex}

.cb-hd{background:#1C2023;padding:14px 16px;display:flex;align-items:center;gap:11px;
  border-bottom:1px solid #3A4046}
.cb-ava{width:36px;height:36px;border-radius:50%;background:#14524A;flex:0 0 36px;
  display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;color:#F4F1EA}
.cb-hd-t{flex:1;min-width:0}
.cb-hd-t b{display:block;font-size:14.5px;color:#F4F1EA;line-height:1.3}
.cb-hd-t span{font-size:11.5px;color:#8B9490}
.cb-close{background:none;border:0;color:#8B9490;font-size:20px;cursor:pointer;padding:4px;line-height:1}
.cb-close:hover{color:#F4F1EA}

.cb-msgs{flex:1;overflow-y:auto;padding:16px 14px;display:flex;flex-direction:column;gap:12px}
.cb-m{max-width:86%;padding:10px 13px;border-radius:8px;font-size:13.5px;line-height:1.75;
  white-space:pre-wrap;word-break:break-word}
.cb-m.bot{align-self:flex-start;background:#2A3835;color:#F4F1EA;border-top-left-radius:2px}
.cb-m.me{align-self:flex-end;background:#14524A;color:#F4F1EA;border-top-right-radius:2px}
.cb-m.typing{color:#8B9490}
.cb-m.typing i{animation:cb-blink 1s infinite}
@keyframes cb-blink{50%{opacity:.2}}

.cb-chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 14px 10px}
.cb-chip{font-size:12px;padding:6px 11px;border-radius:14px;cursor:pointer;
  border:1px solid rgba(46,158,134,.45);background:transparent;color:#2E9E86}
.cb-chip:hover{background:rgba(46,158,134,.12)}

.cb-human{border-top:1px solid #3A4046;padding:12px 14px;display:none;gap:12px;align-items:center}
.cb-human.show{display:flex}
.cb-qr{width:84px;height:84px;flex:0 0 84px;border-radius:6px;background:#1C2023;
  border:1px solid #3A4046;display:flex;align-items:center;justify-content:center;
  color:#8B9490;font-size:10.5px;text-align:center;overflow:hidden}
.cb-qr img{width:100%;height:100%;object-fit:cover;display:block}
.cb-human-t{font-size:12px;color:#C9CDCB;line-height:1.7}
.cb-human-t b{color:#F4F1EA}
.cb-human-t a{color:#2E9E86;text-decoration:none}

.cb-in{display:flex;gap:9px;padding:12px 14px;border-top:1px solid #3A4046;background:#1C2023}
.cb-in input{flex:1;background:#23272B;border:1px solid #3A4046;border-radius:6px;
  color:#F4F1EA;font:inherit;font-size:13.5px;padding:10px 12px;outline:none}
.cb-in input:focus{border-color:#2E9E86}
.cb-in button{width:44px;height:40px;border:0;border-radius:6px;cursor:pointer;
  background:#2E9E86;color:#07211C;display:flex;align-items:center;justify-content:center}
.cb-in button:disabled{opacity:.5;cursor:default}
.cb-in button svg{width:18px;height:18px}

@media(max-width:480px){
  .cb-panel{right:12px;bottom:86px;height:70vh}
  .cb-fab{right:16px;bottom:16px}
}
