.floating-chat-anchor{position:fixed;z-index:180;width:48px;height:48px}.floating-chat-ball{position:relative;width:48px;height:48px;padding:5px;border:1px solid #476679;border-radius:50%;background:linear-gradient(145deg,#295e78,#102d3d);box-shadow:0 3px 14px #0006;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.floating-chat-ball.dragging{cursor:grabbing}.floating-chat-ball svg{display:block;width:100%;height:100%;pointer-events:none}.floating-chat-badge{position:absolute;top:-5px;right:-7px;border-radius:12px;background:#ed4b4b;color:#fff;min-width:19px;padding:2px 5px;font-size:11px;line-height:16px;box-sizing:border-box}.floating-chat-preview{position:absolute;width:min(360px,calc(100vw - 16px));padding:12px;background:var(--panel,#1a1d25);color:var(--text,#e8eaed);border:1px solid var(--border,#354153);border-radius:10px;box-shadow:0 8px 28px #0007;overflow:auto;box-sizing:border-box}.floating-chat-preview:before{content:"";position:absolute;top:-10px;right:0;bottom:-10px;left:0}.floating-chat-preview h3{font-size:14px;color:#edc166;margin:4px 0 8px}.floating-chat-preview article{border-bottom:1px solid #ffffff13;padding:7px 0;position:relative}.floating-chat-preview article header{display:flex;justify-content:space-between;gap:8px;font-size:12px}.floating-chat-preview time,.floating-chat-preview small,.floating-chat-empty{font-size:11px;color:#9ba6b6}.floating-chat-preview p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.5;margin:5px 0;max-height:80px;overflow:auto}.floating-chat-preview img{max-width:100%;max-height:64px;border-radius:4px}.floating-chat-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:220;display:flex;align-items:center;justify-content:center;background:#0008;padding:16px}.floating-chat-dialog{display:flex;flex-direction:column;width:min(1400px,96vw);height:min(900px,90dvh);min-height:0;border:1px solid var(--border);border-radius:12px;background:var(--bg,#171b22);color:var(--text);box-shadow:0 16px 60px #0008;overflow:hidden}.floating-chat-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--border)}.floating-chat-heading h2{margin:0;font-size:17px}.floating-chat-content{flex:1;min-height:0;overflow:hidden}@media (max-width:850px){.floating-chat-dialog .chat-columns{grid-template-columns:minmax(140px,.6fr) minmax(260px,1fr) minmax(320px,1.5fr);min-width:780px}.floating-chat-content{overflow:auto}}.floating-chat-preview-hint{display:block;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid var(--border, #354153)}
