/* r8: chat launcher. Stays fully inside the viewport (incl. the pulse ring and badge), smaller on phones,
   label collapses after a few seconds, dims out of the way while it sits on top of a link/button (see js/chat-orb.js). */
html body #sepxo-chat-boot{right:max(16px,env(safe-area-inset-right,0px));bottom:max(16px,env(safe-area-inset-bottom,0px));gap:8px;
  transition:opacity .25s ease,transform .25s ease;max-width:calc(100vw - 24px)}
html body #sepxo-chat-boot .orb{width:52px;height:52px}
html body #sepxo-chat-boot .orb img{width:42px;height:42px}
html body #sepxo-chat-boot .orb:before{inset:0;animation:xcpulse8 2.8s ease-out 1.2s 3}
html body #sepxo-chat-boot .bdg{right:-2px;bottom:-2px;width:20px;height:20px}
html body #sepxo-chat-boot .bdg svg{width:12px;height:12px}
html body #sepxo-chat-boot .lbl{background:rgba(16,20,28,.92);color:#eef1f6;border:1px solid rgba(255,255,255,.14);box-shadow:0 8px 24px rgba(0,0,0,.4);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:9px 14px;overflow:hidden;max-width:140px;
  animation:xclbl8 .35s ease 7s forwards}
html body #sepxo-chat-boot:hover .lbl,html body #sepxo-chat-boot:focus-visible .lbl{animation:none}
html body #sepxo-chat-boot:focus-visible .orb{box-shadow:0 0 0 3px #05070a,0 0 0 5px #6f9bff}
@keyframes xcpulse8{0%{transform:scale(1);opacity:.8}80%,100%{transform:scale(1.22);opacity:0}}
@keyframes xclbl8{to{max-width:0;padding-left:0;padding-right:0;opacity:0;border-width:0;margin-left:-8px}}
@media (max-width:600px){
  html body #sepxo-chat-boot{right:max(12px,env(safe-area-inset-right,0px));bottom:max(12px,env(safe-area-inset-bottom,0px))}
  html body #sepxo-chat-boot .orb{width:46px;height:46px}
  html body #sepxo-chat-boot .orb img{width:37px;height:37px}
  html body #sepxo-chat-boot .bdg{width:18px;height:18px}
}
@media (prefers-reduced-motion:reduce){
  html body #sepxo-chat-boot .lbl{animation:none;max-width:0;padding-left:0;padding-right:0;opacity:0;border-width:0;margin-left:-8px}
  html body #sepxo-chat-boot:hover .lbl,html body #sepxo-chat-boot:focus-visible .lbl{max-width:140px;padding:9px 14px;opacity:1;border-width:1px;margin-left:0}
  html body #sepxo-chat-boot .orb:before{animation:none;display:none}
  html body #sepxo-chat-boot,html body .cw-btn{transition:none}
}
/* Bot Lo Hết launcher (.cw-btn) */
html body .cw-btn{right:max(16px,env(safe-area-inset-right,0px));bottom:max(16px,env(safe-area-inset-bottom,0px));transition:opacity .25s ease,transform .25s ease}
@media (max-width:860px){html body .cw-btn{right:max(12px,env(safe-area-inset-right,0px));bottom:max(12px,env(safe-area-inset-bottom,0px));width:48px;height:48px;font-size:20px}}
/* out of the way: set by chat-orb.js while the launcher sits on a link, button or field */
html.xc-away #sepxo-chat-boot,html.xc-away .cw-btn{opacity:0;transform:translateY(10px) scale(.92);pointer-events:none}
