.aiveliAiButton{position:absolute;right:18px;bottom:18px;z-index:45;width:60px;height:60px;border:0;border-radius:50%;padding:0;background:linear-gradient(145deg,#ffffff,#e9f9ff 45%,#dff7ef);box-shadow:0 16px 38px rgba(48,118,151,.24),inset 0 0 0 1px rgba(255,255,255,.95);cursor:pointer;overflow:visible;isolation:isolate}.aiveliAiButton:before{content:"";position:absolute;inset:-5px;border-radius:inherit;background:conic-gradient(from 0deg,#fff7b8,#75e8ff,#9f86ff,#ff91d0,#8af3b7,#fff7b8);filter:blur(.4px);animation:aiveliAiSpin 5.4s linear infinite;z-index:-2;opacity:.88}.aiveliAiButton:after{content:"";position:absolute;inset:-11px;border-radius:inherit;border:1px solid rgba(74,202,255,.34);animation:aiveliAiPulse 2.8s ease-in-out infinite;z-index:-3}.aiveliAiHalo{position:absolute;inset:3px;border-radius:50%;background:radial-gradient(circle at 33% 28%,#fff 0 12%,rgba(255,255,255,.7) 20%,rgba(118,226,255,.34) 48%,rgba(165,134,255,.22) 72%,rgba(255,255,255,.72) 100%)}.aiveliAiCore{position:absolute;inset:8px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#fefefe,#dff7ff 42%,#ecdcff 72%,#fff1fa);box-shadow:inset 0 0 18px rgba(82,189,255,.28)}.aiveliAiCore b{position:relative;z-index:2;color:#253449;font-size:14px;letter-spacing:.08em;text-shadow:0 1px #fff}.aiveliAiCore i{position:absolute;width:5px;height:5px;border-radius:50%;background:#47d7ff;box-shadow:0 0 10px rgba(71,215,255,.9);animation:aiveliAiNode 2.2s ease-in-out infinite}.aiveliAiCore i:nth-child(1){left:10px;top:12px}.aiveliAiCore i:nth-child(2){right:9px;top:16px;animation-delay:.7s;background:#aa7cff}.aiveliAiCore i:nth-child(3){left:18px;bottom:8px;animation-delay:1.2s;background:#69e39c}.aiveliAiPanel{position:absolute;right:18px;bottom:88px;z-index:44;width:min(370px,calc(100% - 28px));height:min(480px,calc(100% - 112px));min-height:300px;display:flex;flex-direction:column;border:1px solid rgba(76,119,142,.13);border-radius:20px;background:rgba(253,254,255,.97);box-shadow:0 24px 70px rgba(52,91,116,.22);backdrop-filter:blur(18px);opacity:0;pointer-events:none;transform:translateY(12px) scale(.97);transform-origin:bottom right;transition:opacity .2s ease,transform .2s ease;overflow:hidden}.aiveliAiPanel.open{opacity:1;pointer-events:auto;transform:none}.aiveliAiPanel header{height:58px;flex:0 0 58px;display:flex;align-items:center;justify-content:space-between;padding:0 14px 0 17px;border-bottom:1px solid rgba(56,100,126,.09);background:linear-gradient(90deg,#f8fdff,#fff7fc)}.aiveliAiPanel header div{display:flex;flex-direction:column}.aiveliAiPanel header strong{font-size:13px;letter-spacing:.08em;color:#2e4153}.aiveliAiPanel header small{margin-top:2px;font-size:10px;color:#718391}.aiveliAiPanel header button{width:30px;height:30px;border:0;border-radius:50%;background:#edf5f8;color:#4e6370;display:grid;place-items:center;padding:0;cursor:pointer}.aiveliAiPanel header button span{display:block;font-size:20px;line-height:1;transform:translateY(-1px)}.aiveliAiMessages{flex:1 1 auto;padding:14px;overflow:auto;scrollbar-width:thin}.aiveliAiMessage{display:flex;margin:0 0 10px}.aiveliAiMessage>div:first-child{max-width:88%;padding:10px 12px;border-radius:14px;font-size:12px;line-height:1.48;white-space:pre-wrap}.aiveliAiMessage.assistant>div:first-child{background:linear-gradient(145deg,#eefaff,#f7f2ff);color:#2c3c47;border-bottom-left-radius:5px}.aiveliAiMessage.user{justify-content:flex-end}.aiveliAiMessage.user>div:first-child{background:linear-gradient(135deg,#388ed8,#8068dc);color:#fff;border-bottom-right-radius:5px}.aiveliAiSources{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0 0}.aiveliAiSources a{font-size:9px;color:#426475;text-decoration:none;padding:3px 6px;border-radius:7px;background:#e8f6fb}.aiveliAiTyping{padding:0 16px 8px;display:flex;gap:4px}.aiveliAiTyping[hidden]{display:none}.aiveliAiTyping span{width:5px;height:5px;border-radius:50%;background:#65bddd;animation:aiveliAiTyping 1s ease-in-out infinite}.aiveliAiComposer{display:grid;grid-template-columns:36px 1fr 36px;gap:7px;padding:10px;border-top:1px solid rgba(55,102,128,.09);background:rgba(255,255,255,.82)}.aiveliAiComposer input{min-width:0;height:38px;border:1px solid rgba(62,119,151,.16);border-radius:12px;background:#fff;padding:0 11px;font:12px Inter,ui-sans-serif,sans-serif;outline:none}.aiveliAiComposer input:focus{border-color:rgba(65,167,218,.55);box-shadow:0 0 0 3px rgba(92,194,244,.10)}.aiveliAiComposer button{height:38px;border:0;border-radius:12px;background:#e9f7fb;color:#365566;font-size:15px;cursor:pointer}.aiveliAiComposer .send{background:linear-gradient(135deg,#43bce8,#866de8);color:#fff;font-size:18px}.aiveliAiComposer #aiveliAiVoice.listening{background:#dff8ed;color:#167752;box-shadow:0 0 0 4px rgba(75,208,168,.12);animation:aiveliAiVoice 1s ease-in-out infinite}@keyframes aiveliAiSpin{to{transform:rotate(360deg)}}@keyframes aiveliAiPulse{0%,100%{transform:scale(.96);opacity:.45}50%{transform:scale(1.08);opacity:.9}}@keyframes aiveliAiNode{0%,100%{opacity:.3;transform:scale(.7)}50%{opacity:1;transform:scale(1.35)}}@keyframes aiveliAiTyping{0%,100%{transform:translateY(0);opacity:.4}50%{transform:translateY(-3px);opacity:1}}@keyframes aiveliAiVoice{50%{transform:scale(.94)}}@media(max-width:700px){.aiveliAiButton{right:12px;bottom:12px;width:54px;height:54px}.aiveliAiPanel{right:8px;bottom:74px;width:calc(100% - 16px);height:min(440px,70%);border-radius:17px}.aiveliAiPanel header{height:52px;flex-basis:52px}}
