.cw-root{z-index:60;flex-direction:column;align-items:flex-end;gap:10px;font-family:inherit;display:flex;position:fixed;bottom:16px;right:16px}.cw-fab{font:inherit;color:#fff;cursor:pointer;background:linear-gradient(90deg, var(--primary), #6d28d9);border:0;border-radius:999px;align-items:center;gap:8px;padding:13px 18px;font-size:14px;font-weight:800;transition:transform .15s,box-shadow .2s;display:inline-flex;box-shadow:0 10px 30px #9d00ff73}.cw-fab:hover{transform:translateY(-2px);box-shadow:0 14px 36px #9d00ff99}.cw-panel{background:#14141c;border:1px solid #9d00ff66;border-radius:18px;flex-direction:column;width:360px;max-width:calc(100vw - 32px);height:520px;max-height:calc(100dvh - 110px);display:flex;overflow:hidden;box-shadow:0 24px 70px #0009,inset 0 0 0 1px #ffffff0a}.cw-head{background:linear-gradient(90deg,#9d00ff59,#6d28d940);border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:10px;padding:13px 14px 13px 16px;display:flex}.cw-head b{color:#fff;font-size:15px;display:block}.cw-head small{color:#c4b5fd;font-size:12px}.cw-x{color:#e2e8f0;cursor:pointer;background:#ffffff14;border:0;border-radius:10px;width:32px;height:32px;font-size:22px;line-height:1}.cw-x:hover{background:#ffffff29}.cw-body{flex-direction:column;flex:1;gap:10px;padding:14px;display:flex;overflow-y:auto}.cw-msg{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:14px;max-width:86%;padding:10px 13px;font-size:14px;line-height:1.5}.cw-assistant{color:#e2e8f0;background:#ffffff12;border-bottom-left-radius:4px;align-self:flex-start}.cw-user{color:#fff;background:linear-gradient(90deg, var(--primary), #6d28d9);border-bottom-right-radius:4px;align-self:flex-end}.cw-typing{letter-spacing:2px;color:#a78bfa;animation:1s ease-in-out infinite cw-pulse}@keyframes cw-pulse{0%,to{opacity:.4}50%{opacity:1}}.cw-chips{flex-wrap:wrap;gap:8px;margin-top:2px;display:flex}.cw-chips button{font:inherit;color:#ddd6fe;cursor:pointer;background:#9d00ff1f;border:1px solid #9d00ff80;border-radius:999px;padding:7px 12px;font-size:12.5px;font-weight:600}.cw-chips button:hover{background:#9d00ff47}.cw-form{background:#101018;border-top:1px solid #ffffff14;gap:8px;padding:10px 12px;display:flex}.cw-form input{color:#fff;min-width:0;font:inherit;background:#0a0a10cc;border:1px solid #ffffff24;border-radius:12px;outline:none;flex:1;padding:11px 13px;font-size:14px}.cw-form input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #9d00ff38}.cw-form button{font:inherit;color:#fff;background:linear-gradient(90deg, var(--primary), #6d28d9);cursor:pointer;border:0;border-radius:12px;padding:0 16px;font-size:14px;font-weight:700}.cw-form button:disabled{opacity:.5;cursor:not-allowed}.cw-note{color:#8f8fa3;background:#101018;padding:0 14px 10px;font-size:11.5px}@media (max-width:520px){.cw-root{bottom:12px;right:12px}.cw-panel{width:calc(100vw - 24px);height:min(560px,100dvh - 96px)}.cw-fab span{display:none}.cw-fab{padding:14px 16px;font-size:18px}}
