.gc-launch{position:fixed;right:calc(16px + env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));z-index:50;display:flex;align-items:center;gap:8px;height:56px;padding:0 20px 0 16px;border-radius:28px;border:0;background:var(--ink);color:#fff;font-size:16px;font-weight:700;line-height:1;font-family:inherit;box-shadow:0 8px 24px rgba(27,31,59,.28);cursor:pointer;transition:opacity .2s,transform .2s;-webkit-tap-highlight-color:transparent}
.gc-launch svg{width:24px;height:24px;flex-shrink:0}
.gc-launch.gc-hide{opacity:0;transform:translateY(20px);pointer-events:none}
.gc-panel{position:fixed;right:calc(16px + env(safe-area-inset-right));bottom:calc(84px + env(safe-area-inset-bottom));z-index:60;width:380px;height:min(600px,calc(100vh - 120px));background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 50px rgba(27,31,59,.25);display:none;flex-direction:column;overflow:hidden}
.gc-open .gc-panel{display:flex}
.gc-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 8px 10px 16px;background:var(--ink);color:#fff}
.gc-head strong{font-size:17px}.gc-head small{display:block;opacity:.75;font-size:13px;font-weight:500}
.gc-close{width:44px;height:44px;border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer;border-radius:10px}
.gc-log{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:14px;background:var(--bg)}
.gc-msg{max-width:86%;padding:10px 13px;border-radius:14px;margin:6px 0;font-size:16px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.gc-bot{background:#fff;border:1px solid var(--line);border-bottom-left-radius:4px}
.gc-me{background:var(--acc2);color:#fff;margin-left:auto;border-bottom-right-radius:4px}
.gc-typing{color:var(--muted);font-size:15px;padding:4px 2px}
.gc-form{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line);background:#fff;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
.gc-form textarea{flex:1;min-width:0;resize:none;font-size:16px;line-height:1.4;font-family:inherit;padding:11px 12px;border:1.5px solid var(--line);border-radius:12px;min-height:46px;max-height:120px;color:var(--ink)}
.gc-form textarea:focus{outline:3px solid rgba(47,91,255,.25);border-color:var(--acc2)}
.gc-send{flex-shrink:0;min-width:64px;height:46px;border:0;border-radius:12px;background:var(--acc);color:var(--ink);font-size:16px;font-weight:800;font-family:inherit;cursor:pointer}
.gc-send:disabled{opacity:.5}
.gc-foot{font-size:13px;color:var(--muted);padding:0 12px 8px;background:#fff}
@media(max-width:600px){
 .gc-launch{padding:0;width:56px;justify-content:center}.gc-launch span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .gc-panel{inset:0;width:100%;height:100%;height:100dvh;border-radius:0;border:0}
 .gc-head{padding-top:calc(10px + env(safe-area-inset-top));padding-left:calc(16px + env(safe-area-inset-left));padding-right:calc(8px + env(safe-area-inset-right))}
 .gc-open .gc-launch{display:none}
 html.gc-lock,html.gc-lock body{overflow:hidden;height:100%}
}
footer.site{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
