.gsx-float { position: fixed; right: 20px; bottom: 20px; z-index: 9990; font-family: inherit; }
.gsx-float__btn { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: var(--gsx-primary, #2ee66b); color: var(--gsx-on-primary, #04130a); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 0 rgba(46,230,107,.5); transition: transform .15s ease; }
.gsx-float__btn:hover { transform: translateY(-2px) scale(1.04); }
.gsx-float__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.gsx-float.has-new .gsx-float__btn { animation: gsx-float-pulse 2.4s ease-out infinite; }
.gsx-float__badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #ff4d6a; color: #fff; font-size: 12px; font-weight: 800; line-height: 22px; text-align: center; box-shadow: 0 0 0 3px var(--gsx-bg, #0b0d0c); }
.gsx-float__badge[hidden] { display: none; }
.gsx-float__panel { position: absolute; right: 0; bottom: 74px; width: min(380px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 120px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--gsx-surface, #111514); color: var(--gsx-text, #f1f5f2); border: 1px solid var(--gsx-border, #272d29); box-shadow: 0 24px 60px rgba(0,0,0,.6); transform-origin: bottom right; opacity: 0; transform: translateY(18px) scale(.92); pointer-events: none; transition: opacity .22s ease, transform .26s cubic-bezier(.2,.9,.3,1.2); }
.gsx-float__panel.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.gsx-float__btn svg { transition: transform .3s cubic-bezier(.2,.9,.3,1.2); }
.gsx-float.is-open .gsx-float__btn svg { transform: rotate(-12deg) scale(.9); }
.gsx-float__panel[hidden] { display: none; }
.gsx-float__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--gsx-primary, #2ee66b); color: var(--gsx-on-primary, #04130a); font-size: 16px; }
.gsx-float__close { border: 0; background: transparent; color: inherit; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.gsx-float__intro { margin: 0; padding: 12px 16px 0; font-size: 13px; color: var(--gsx-muted, #98a39c); }
.gsx-float__body { padding: 12px 14px 14px; overflow-y: auto; min-height: 0; }
.gsx-float__body .gsx-chat { margin: 0; box-shadow: none; border: 0; padding: 0; background: transparent; max-width: none; }
.gsx-float__body .gsx-chat__log { max-height: 260px; }
.gsx-float__login { margin: 0 0 12px; font-size: 14px; }
.gsx-float__or { margin: 14px 0 8px; font-size: 13px; color: var(--gsx-muted, #98a39c); }
.gsx-float__links { display: flex; gap: 10px; }
.gsx-float__links a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--gsx-surface2, #1a1e1c); color: var(--gsx-primary, #2ee66b); }
.gsx-float__links a:hover { background: var(--gsx-primary, #2ee66b); color: var(--gsx-on-primary, #04130a); }
@keyframes gsx-float-pulse { 0% { box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 0 rgba(46,230,107,.55); } 70%, 100% { box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 16px rgba(46,230,107,0); } }
@media (max-width: 520px) { .gsx-float { right: 12px; bottom: 12px; } .gsx-float__panel { bottom: 70px; } }
@media (prefers-reduced-motion: reduce) { .gsx-float__panel, .gsx-float__btn svg { transition: opacity .01s; transform: none !important; } .gsx-float.has-new .gsx-float__btn { animation: none; } .gsx-float__btn { transition: none; } }
