
#modal-iv .iv-chat{max-width:430px;width:100%;height:78vh;max-height:640px;display:flex;flex-direction:column;background:linear-gradient(180deg,#0a1124,#0b1428);border:1px solid rgba(255,255,255,.08);border-radius:20px;overflow:hidden;position:relative;}
.iv-ch-head{display:flex;align-items:center;gap:10px;padding:13px 16px;background:rgba(255,255,255,.03);border-bottom:1px solid rgba(255,255,255,.06);flex-shrink:0;}
.iv-ch-av{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#2448f0,#00e0b0);display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0;position:relative;}
.iv-ch-av::after{content:'';position:absolute;bottom:0;right:0;width:9px;height:9px;border-radius:50%;background:#16d68a;border:2px solid #0b1428;}
.iv-ch-name{font-family:'Inter',sans-serif;font-weight:700;font-size:.9rem;color:#fff;line-height:1.1;}
.iv-ch-sub{font-size:.62rem;color:#16d68a;font-family:'JetBrains Mono',monospace;letter-spacing:.06em;}
.iv-ch-x{margin-left:auto;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.06);border:none;color:rgba(255,255,255,.4);cursor:pointer;font-size:.8rem;}
.iv-ch-body{flex:1;overflow-y:auto;padding:16px 14px 6px;display:flex;flex-direction:column;gap:9px;}
.iv-row{display:flex;align-items:flex-end;gap:7px;max-width:100%;}
.iv-row.bot{justify-content:flex-start;}
.iv-row.me{justify-content:flex-end;}
.iv-bub{max-width:80%;padding:9px 13px;border-radius:15px;font-size:.82rem;line-height:1.5;color:#eaf0ff;animation:ivpop .22s ease;}
.iv-row.bot .iv-bub{background:rgba(255,255,255,.06);border-bottom-left-radius:4px;}
.iv-row.me .iv-bub{background:linear-gradient(135deg,#2246e5,#1d8f6e);color:#fff;border-bottom-right-radius:4px;}
.iv-mini-av{width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#2448f0,#00e0b0);display:flex;align-items:center;justify-content:center;font-size:.6rem;flex-shrink:0;}
@keyframes ivpop{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}
.iv-typing{display:flex;gap:4px;padding:11px 14px;background:rgba(255,255,255,.06);border-radius:15px;border-bottom-left-radius:4px;width:fit-content;}
.iv-typing span{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.5);animation:ivblink 1.2s infinite;}
.iv-typing span:nth-child(2){animation-delay:.2s;}.iv-typing span:nth-child(3){animation-delay:.4s;}
@keyframes ivblink{0%,60%,100%{opacity:.25;}30%{opacity:1;}}
.iv-qr-card{background:#fff;border-radius:13px;padding:10px;display:inline-block;}
.iv-foot{flex-shrink:0;padding:10px 12px 12px;border-top:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.02);}
.iv-quick{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:9px;}
.iv-chip{padding:8px 14px;border-radius:100px;border:1px solid rgba(0,224,176,.4);background:rgba(0,224,176,.08);color:#7df0cf;font-family:inherit;font-size:.76rem;font-weight:600;cursor:pointer;transition:all .15s;}
.iv-chip:hover{background:rgba(0,224,176,.18);}
.iv-inbar{display:flex;gap:8px;align-items:flex-end;}
.iv-in{flex:1;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:12px;color:#fff;font-family:inherit;font-size:.82rem;padding:10px 12px;resize:none;max-height:120px;line-height:1.4;outline:none;}
.iv-in:focus{border-color:rgba(0,224,176,.5);}
.iv-send{width:40px;height:40px;border-radius:11px;border:none;background:linear-gradient(135deg,#2448f0,#00e0b0);color:#fff;font-size:1rem;cursor:pointer;flex-shrink:0;display:flex;align-items:center;justify-content:center;}
.iv-send:disabled{opacity:.4;cursor:default;}
