.fan-chat-ball{position:fixed;left:0;top:0;width:60px;height:60px;padding:0;border:0;border-radius:50%;background:#071b3b;z-index:1000;cursor:pointer;box-shadow:0 5px 17px #087bc13b,0 0 0 1px #69dfff70;will-change:transform;overflow:hidden;touch-action:manipulation}.fan-chat-ball img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;pointer-events:none}.fan-chat-ball:focus-visible{outline:3px solid #639cf6;outline-offset:5px}.fan-chat-ball[hidden]{display:none}.fan-boxchat-dialog{position:fixed;inset:0;margin:auto;padding:0;width:min(480px,calc(100vw - 24px));height:min(740px,calc(100dvh - 36px));max-height:calc(100dvh - 36px);max-width:calc(100vw - 24px);border:1px solid #d2dff2;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 28px 110px #12376e42;color:#23476e}.fan-boxchat-dialog::backdrop{background:#122c514d;backdrop-filter:blur(5px)}.fan-boxchat-frame{display:block;width:100%;height:calc(100% - 48px);border:0;background:#fff}.fan-boxchat-bar{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 13px 0 18px;background:linear-gradient(115deg,#153984,#2366b4);color:#eef7ff}.fan-boxchat-bar span{font:700 11px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:2px}.fan-boxchat-close{display:grid;place-items:center;width:34px;height:34px;border:1px solid #b4d8ff30;border-radius:9px;color:#fff;background:#ffffff0c;cursor:pointer;font:24px/1 sans-serif}.fan-boxchat-close:hover{background:#ffffff20}.fan-boxchat-close:focus-visible{outline:2px solid #8ce7ff;outline-offset:2px}.fan-boxchat-dialog:not([open]){display:none}html.fan-boxchat-open{overflow:hidden}@media(max-width:600px){.fan-chat-ball{width:54px;height:54px}.fan-boxchat-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);border-radius:16px}}@media(prefers-reduced-motion:reduce){.fan-chat-ball{will-change:auto}.fan-boxchat-dialog::backdrop{backdrop-filter:none}}
.fan-chat-ball[data-docked=true] img{animation:fan-boxchat-wiggle 3.4s ease-in-out infinite;transform-origin:50% 65%}.fan-chat-ball[data-docked=true]:hover img,.fan-chat-ball[data-docked=true]:focus-visible img{animation-play-state:paused}@keyframes fan-boxchat-wiggle{0%,25%,100%{transform:rotate(0)}4%{transform:rotate(-9deg)}8%{transform:rotate(9deg)}12%{transform:rotate(-7deg)}16%{transform:rotate(6deg)}20%{transform:rotate(-3deg)}}@media(prefers-reduced-motion:reduce){.fan-chat-ball[data-docked=true] img{animation:none}}

.fan-boxchat-dialog{border-color:#60c8ed77;background:#07182f;box-shadow:0 28px 110px #02172d66,0 0 35px #1aa6d815}.fan-boxchat-bar{background:radial-gradient(ellipse at 80% 0,#0a91b12b,transparent 60%),linear-gradient(115deg,#081c3c,#0b3656);border-bottom:1px solid #69dfff38;box-sizing:border-box}.fan-boxchat-bar span{color:#d4f6ff;text-shadow:0 0 14px #6bddff22}.fan-boxchat-frame{background:#07182f}.fan-boxchat-dialog::backdrop{background:#04162c85}
