.sf-support-chat{
  position:fixed;right:20px;bottom:20px;z-index:120;
  display:flex;flex-direction:column;align-items:flex-end;gap:12px;
  font-family:'Inter',system-ui,-apple-system,sans-serif;
}
.sf-chat-launcher{
  width:58px;height:58px;border:0;border-radius:50%;cursor:pointer;
  display:grid;place-items:center;background:linear-gradient(135deg,#7c6fff,#06d6ff);
  color:#fff;font-family:inherit;font-size:1.4rem;font-weight:700;line-height:1;box-shadow:0 16px 42px #0009,0 0 30px #06d6ff35;
  transition:transform .2s ease,box-shadow .2s ease;
}
.sf-chat-launcher:hover{transform:translateY(-2px);box-shadow:0 18px 46px #000b,0 0 36px #06d6ff50;}
.sf-chat-launcher-label{
  position:absolute;right:68px;bottom:9px;white-space:nowrap;
  padding:9px 13px;border:1px solid #32324a;border-radius:999px;
  background:#16161f;color:#f2f2f7;font-size:.76rem;font-weight:700;
  box-shadow:0 10px 28px #0008;
}
.sf-chat-panel{
  width:min(380px,calc(100vw - 28px));max-height:min(650px,calc(100vh - 110px));
  overflow:hidden;display:flex;flex-direction:column;background:#12121a;color:#e8e8f0;
  border:1px solid #32324a;border-radius:22px;box-shadow:0 28px 80px #000c;
  transform-origin:bottom right;animation:sf-chat-in .2s ease-out;
}
.sf-chat-panel[hidden]{display:none;}
.sf-chat-header{display:flex;align-items:center;gap:11px;padding:15px 16px;background:linear-gradient(135deg,#7c6fff22,#06d6ff13);border-bottom:1px solid #2a2a3a;}
.sf-chat-avatar{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#7c6fff,#06d6ff);font-size:.85rem;font-weight:800;color:#fff;box-shadow:0 0 24px #06d6ff35;}
.sf-chat-head-copy{flex:1;min-width:0;}
.sf-chat-title{font-size:.94rem;font-weight:800;line-height:1.2;}
.sf-chat-presence{font-size:.7rem;color:#10d47a;margin-top:4px;line-height:1.2;}
.sf-chat-close{width:34px;height:34px;border:1px solid #32324a;border-radius:11px;background:#1e1e2a;color:#9090ad;font-family:inherit;font-size:1.25rem;font-weight:400;line-height:1;cursor:pointer;}
.sf-chat-body{overflow-y:auto;padding:15px 14px 10px;scroll-behavior:smooth;}
.sf-chat-messages{display:flex;flex-direction:column;gap:9px;}
.sf-chat-message{max-width:88%;padding:10px 12px;border-radius:14px;font-size:.79rem;line-height:1.55;white-space:pre-line;}
.sf-chat-message.bot{align-self:flex-start;background:#1e1e2a;border:1px solid #2a2a3a;border-bottom-left-radius:5px;color:#e8e8f0;}
.sf-chat-message.user{align-self:flex-end;background:linear-gradient(135deg,#7c6fff,#6256e9);border-bottom-right-radius:5px;color:#fff;}
.sf-chat-question-title{margin:14px 2px 8px;color:#8585a7;font-size:.69rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;}
.sf-chat-questions{display:flex;flex-wrap:wrap;gap:7px;}
.sf-chat-question{border:1px solid #7c6fff66;border-radius:999px;background:#7c6fff12;color:#d9d5ff;padding:8px 10px;font-family:inherit;font-size:.72rem;font-weight:600;line-height:1.3;cursor:pointer;transition:background .15s ease,border-color .15s ease;}
.sf-chat-question:hover{background:#7c6fff25;border-color:#7c6fff;}
.sf-chat-footer{padding:12px 14px 14px;border-top:1px solid #2a2a3a;background:#0f0f16;}
.sf-line-support-btn{width:100%;border:0;border-radius:13px;padding:13px 14px;background:linear-gradient(135deg,#18c95b,#08a943);color:#fff;font-family:inherit;font-size:.84rem;font-weight:800;line-height:1.2;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;box-shadow:0 8px 24px #10d47a22;}
.sf-line-mark{width:25px;height:25px;border-radius:8px;background:#fff;color:#0ab34c;display:grid;place-items:center;font-size:.57rem;font-weight:900;}
.sf-chat-footer-note{text-align:center;color:#8585a7;font-size:.66rem;margin-top:8px;line-height:1.4;}
.sf-chat-launcher:focus-visible,.sf-chat-close:focus-visible,.sf-chat-question:focus-visible,.sf-line-support-btn:focus-visible{outline:3px solid #fff;outline-offset:3px;}
@keyframes sf-chat-in{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:560px){
  .sf-support-chat{right:14px;bottom:14px;}
  .sf-chat-panel{max-height:calc(100dvh - 92px);}
  .sf-chat-launcher-label{display:none;}
}
@media(prefers-reduced-motion:reduce){
  .sf-chat-panel{animation:none;}
  .sf-chat-launcher{transition:none;}
  .sf-chat-body{scroll-behavior:auto;}
}
