/* kefu-guest-1103：登录页右下角客服 */
.lk-fab{position:fixed;right:20px;bottom:20px;z-index:60;display:flex;align-items:center;gap:6px;height:44px;padding:0 16px 0 12px;border:0;border-radius:22px;background:#D93A2B;color:#fff;font:inherit;font-size:15px;font-weight:600;box-shadow:0 6px 18px rgba(217,58,43,.28);cursor:pointer}
.lk-fab svg{width:22px;height:22px}
.lk-fab:focus-visible{outline:3px solid rgba(217,58,43,.35);outline-offset:2px}
.lk-panel{position:fixed;right:20px;bottom:20px;z-index:61;display:flex;flex-direction:column;width:370px;height:min(580px,calc(100vh - 40px));background:#fff;border:1px solid #E6E8EB;border-radius:16px;box-shadow:0 16px 48px rgba(31,35,40,.18);overflow:hidden;color:#1F2328}
.lk-panel[hidden]{display:none}
.lk-head{display:flex;align-items:center;justify-content:space-between;padding:12px 8px 12px 16px;border-bottom:1px solid #EEF0F2}
.lk-title{font-size:15px;font-weight:700}
.lk-close{width:36px;height:36px;border:0;background:none;font-size:24px;line-height:1;color:#6B7280;cursor:pointer;border-radius:8px}
.lk-close:hover{background:#F3F4F6}
.lk-list{flex:1;overflow-y:auto;padding:14px 14px 6px;display:flex;flex-direction:column;gap:10px;background:#FAFAFA}
.lk-msg{max-width:86%;padding:9px 12px;border-radius:12px;font-size:14px;line-height:1.6;word-break:break-word}
.lk-msg.ai{align-self:flex-start;background:#fff;border:1px solid #ECEEF0;border-top-left-radius:4px}
.lk-msg.me{align-self:flex-end;background:#D93A2B;color:#fff;border-top-right-radius:4px}
.lk-msg.wait{color:#9CA3AF}
.lk-note{align-self:center;margin:0;font-size:12px;color:#6B7280;background:#F1F2F4;padding:3px 10px;border-radius:10px}
.lk-chips{display:flex;flex-wrap:wrap;gap:6px;padding:6px 14px 0;background:#FAFAFA}
.lk-chips:empty{display:none}
.lk-chip{border:1px solid #F1C9C4;background:#FFF5F4;color:#B4301F;border-radius:14px;padding:5px 11px;font:inherit;font-size:13px;cursor:pointer}
.lk-input{display:flex;align-items:flex-end;gap:8px;padding:10px 12px;border-top:1px solid #EEF0F2;background:#fff}
.lk-input textarea{flex:1;resize:none;min-height:38px;max-height:96px;padding:8px 10px;border:1px solid #E1E4E8;border-radius:10px;font:inherit;font-size:14px;line-height:1.45;background:#F7F8FA}
.lk-input textarea:focus{outline:none;border-color:#D93A2B;background:#fff}
.lk-send{height:38px;padding:0 14px;border:0;border-radius:10px;background:#D93A2B;color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.lk-send:disabled{opacity:.55}
.lk-verify{align-self:stretch;display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #F1C9C4;border-radius:12px;background:#fff}
.lk-verify b{font-size:14px}
.lk-sub{font-size:12px;color:#6B7280;line-height:1.5}
.lk-verify input{height:38px;padding:0 10px;border:1px solid #E1E4E8;border-radius:8px;font:inherit;font-size:15px;background:#F7F8FA;min-width:0}
.lk-verify input:focus{outline:none;border-color:#D93A2B;background:#fff}
.lk-row{display:flex;gap:8px}
.lk-row input{flex:1}
.lk-get{flex:none;min-width:96px;border:0;border-radius:8px;background:#FDECEA;color:#B4301F;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.lk-get:disabled{opacity:.6}
.lk-go{height:38px;border:0;border-radius:8px;background:#D93A2B;color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.lk-err{margin:0;font-size:13px;color:#C0392B}
@media (max-width:600px){
  .lk-fab{right:16px;bottom:16px}
  .lk-panel{inset:0;width:auto;height:auto;border-radius:0;border:0}
  html.lk-open,html.lk-open body{overflow:hidden}
}
