/* Transparent official mascot; launcher IDs and the existing chat model/API stay intact. */
body.front-v2 #ai-chat-fab.ai-chat-fab {
  width:74px;height:84px;right:18px;bottom:20px;padding:0;border:0;border-radius:18px!important;
  background:transparent!important;box-shadow:none!important;transform:none!important;overflow:visible;
  isolation:isolate;outline-offset:5px;touch-action:none;
}
body.front-v2 #ai-chat-fab .fab-avatar {
  display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;
  border-radius:0!important;position:relative;z-index:1;pointer-events:none;
  filter:drop-shadow(0 4px 3px #153c8624);transform-origin:50% 90%;
}
body.front-v2 #ai-chat-fab :is(.fab-pulse,.fab-badge) {display:none!important;}
body.front-v2 #ai-chat-fab::before,body.front-v2 #ai-chat-fab::after {content:none!important;display:none!important;}
body.front-v2 #backToTop {right:106px;}
body.front-v2 #ai-chat-fab .zc5-ai-tag {
  display:grid;place-items:center;position:absolute;right:0;bottom:0;z-index:2;
  min-width:27px;height:23px;padding:0 5px;border:2px solid #fff;border-radius:8px;
  background:#1767ff;color:#fff;font:750 11px/1 system-ui,sans-serif;pointer-events:none;
}
body.front-v2 #ai-chat-fab:focus-visible {outline:3px solid #1767ff;}
body.front-v2 #ai-chat-fab.ai-open .zc5-ai-tag {background:#173d70;}
body.front-v2 .ai-chat-head .ch-ava {width:40px;height:40px;background:#e5f4ff!important;border-radius:11px;}
body.front-v2 .ai-chat-head .ch-ava img {width:38px;height:38px;object-fit:contain;}
body.front-v2 .ai-chat-panel {bottom:112px;right:18px;visibility:hidden;}
body.front-v2 .ai-chat-panel.ai-open {visibility:visible;}
body.front-v2 .ai-chat-head .ch-ic {min-width:34px;min-height:34px;}
body.front-v2 .ai-chat-head .ch-ic svg {stroke:currentColor;}
body.front-v2.zc25-nav-open #ai-chat-fab {visibility:hidden;}
html[data-theme=dark] body.front-v2 #ai-chat-fab .zc5-ai-tag {border-color:#172438;background:#7bb8ff;color:#102540;}
html[data-theme=dark] body.front-v2 .ai-chat-head .ch-ava {background:#214361!important;}
@keyframes zc5-mascot-hello {0%,100%{rotate:0deg;translate:0 0}30%{rotate:-6deg;translate:0 -2px}65%{rotate:4deg;translate:0 -1px}}
@keyframes zc5-chat-open {from{opacity:.75;translate:0 6px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:no-preference){
  body.front-v2 #ai-chat-fab .fab-avatar {animation:zc5-mascot-hello 850ms ease-out 300ms 1!important;}
  body.front-v2 #ai-chat-fab:is(:hover,:focus-visible) .fab-avatar {animation:zc5-mascot-hello 600ms ease-out 1!important;}
  body.front-v2 .ai-chat-panel.ai-open {animation:zc5-chat-open 180ms ease-out 1!important;}
}
@media(max-width:767px){
  body.front-v2 #backToTop {right:88px;}
  body.front-v2 #ai-chat-fab.ai-chat-fab {width:62px;height:72px;right:12px;bottom:calc(82px + env(safe-area-inset-bottom));}
  body.front-v2 .ai-chat-panel {right:10px;bottom:calc(164px + env(safe-area-inset-bottom));width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 180px - env(safe-area-inset-bottom));}
  body.front-v2 .ai-chat-head {gap:6px;padding:10px;flex-wrap:wrap;}
  body.front-v2 .ai-chat-head select {max-width:128px;}
  body.front-v2 .ai-chat-head .ch-ic {min-width:40px;min-height:40px;}
  body.front-v2 .ai-chat-foot textarea {font-size:16px;}
}
@media(prefers-reduced-motion:reduce){
  body.front-v2 #ai-chat-fab .fab-avatar,body.front-v2 .ai-chat-panel {animation:none!important;transition:none!important;}
}
