#ibchat-toggle{position:fixed;right:24px;bottom:24px;z-index:9900;display:flex;align-items:center;gap:12px;background:linear-gradient(140deg,#24304b,#11192e);color:#fff;border:1px solid #52627f;border-radius:80px;padding:10px 19px 10px 12px;min-height:65px;box-shadow:0 18px 50px #0c183c55;cursor:pointer;font:600 14px/1.25 system-ui,sans-serif;transition:transform .15s,box-shadow .15s}#ibchat-toggle:hover{transform:translateY(-2px);box-shadow:0 20px 55px #0c183c88}#ibchat-toggle:focus-visible{outline:3px solid #a5b9ff;outline-offset:4px}.ibchat-fab-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#2b4169}.ibchat-fab-icon svg{width:27px;height:27px}.ibchat-fab-label{display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-size:14px}.ibchat-fab-status{font-size:11px;display:inline-flex;align-items:center;gap:6px;color:#d8e6f6;font-weight:500}.ibchat-dot{width:8px;height:8px;display:inline-block;border-radius:50%;background:#36d883;box-shadow:0 0 0 3px #36d88326;flex:none}
#ibchat-panel{position:fixed;z-index:9901;right:24px;bottom:100px;width:min(405px,calc(100vw - 24px));height:min(595px,calc(100dvh - 124px));display:flex;flex-direction:column;overflow:hidden;background:#0c1220;color:#edf3ff;border-radius:19px;border:1px solid #32415f;box-shadow:0 24px 75px #020714a9;font:14px/1.45 system-ui,sans-serif;color-scheme:dark}#ibchat-panel[hidden]{display:none!important}#ibchat-panel *{box-sizing:border-box}#ibchat-panel button,#ibchat-panel input{font:inherit}#ibchat-head{display:flex;align-items:center;justify-content:space-between;padding:17px 16px;background:#121e32;border-bottom:1px solid #2a3855;min-height:76px}#ibchat-head-main{display:flex;align-items:center;gap:11px}#ibchat-head-logo{display:grid;place-items:center;width:38px;height:38px;background:#263d66;border-radius:13px}#ibchat-head-logo svg{width:24px;height:24px}#ibchat-head-title{font-weight:750;font-size:15px;letter-spacing:.05px}#ibchat-head-sub{display:flex;align-items:center;gap:7px;font-size:11px;color:#bccbe0;margin-top:5px}#ibchat-close{border:1px solid #344663;background:#24334a;color:#d7e4f7;border-radius:10px;width:34px;height:34px;font-size:24px;line-height:1;cursor:pointer}#ibchat-close:hover{background:#354d69}
#ibchat-messages{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:16px;display:flex;flex-direction:column;gap:11px;background:radial-gradient(circle at 80% 20%,#1928425c,transparent 45%),#0c1220;scrollbar-color:#354663 transparent}#ibchat-messages .ibchat-msg{padding:10px 13px;border-radius:14px 14px 14px 5px;background:#1c2940;border:1px solid #354762;color:#ecf2fc;max-width:87%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.55}#ibchat-messages .ibchat-msg.mine{margin-left:auto;background:#2751ad;color:white;border-color:#3764bd;border-radius:14px 14px 5px 14px}#ibchat-messages .ibchat-welcome{background:#172338;border:1px solid #2b3a52;padding:16px;border-radius:13px;color:#d2dfef;margin:18px 0;text-align:left;font-size:13px}#ibchat-messages img.ibchat-image{display:block;max-width:min(100%,260px);max-height:245px;border-radius:10px;object-fit:contain;margin-top:6px;cursor:zoom-in}#ibchat-messages .ibchat-time{display:block;font-size:10px;text-align:right;opacity:.65;margin-top:5px}
#ibchat-footer{background:#141f32;padding:12px;border-top:1px solid #2a3855}#ibchat-compose{display:flex;align-items:center;gap:8px}#ibchat-compose input[type=text]{min-width:0;min-height:45px;flex:1;border:1px solid #354764;border-radius:10px;padding:11px;background:#0d1728;color:#fff;outline-offset:2px}#ibchat-compose input::placeholder{color:#a0b0c8}#ibchat-send{background:#356be6;border:0;color:#fff;border-radius:10px;padding:10px 13px;min-height:45px;cursor:pointer;font-weight:700}#ibchat-send:disabled{opacity:.5}#ibchat-photo-btn{height:44px;width:44px;display:grid;place-items:center;border:1px solid #354764;background:#202e47;color:#d1e2fa;border-radius:10px;cursor:pointer;flex:none}#ibchat-photo-btn svg{width:21px;height:21px}#ibchat-photo-btn:hover{background:#2c4263}#ibchat-file{display:none!important}#ibchat-file-preview{display:flex;align-items:center;gap:9px;margin-bottom:9px;background:#22324b;border:1px solid #405575;padding:8px 10px;border-radius:10px;color:#dbe5f3;font-size:12px}#ibchat-file-preview[hidden]{display:none!important}#ibchat-file-preview img{width:42px;height:42px;object-fit:cover;border-radius:7px}#ibchat-file-preview span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ibchat-file-remove{background:transparent;border:0;color:#fff;font-size:20px;cursor:pointer}#ibchat-error{color:#ffbdbd;font-size:12px;min-height:0;margin-bottom:0}#ibchat-error:not(:empty){margin-bottom:8px}#ibchat-footnote{font-size:10px;color:#9dacc2;margin-top:9px;text-align:center}
@media(max-width:650px){#ibchat-toggle{right:13px;bottom:85px;min-height:55px;padding:7px 14px 7px 9px;gap:8px}#ibchat-toggle .ibchat-fab-icon{width:36px;height:36px}#ibchat-panel{right:8px;bottom:152px;width:calc(100vw - 16px);height:min(555px,calc(100dvh - 167px));border-radius:16px}#ibchat-messages{padding:12px}#ibchat-messages .ibchat-msg{max-width:92%}}@media(max-height:600px){#ibchat-panel{bottom:10px;height:calc(100dvh - 20px)}}