/* invitation de chat : grande carte avec image, message progressif, puis pastille */
.v9-invit{position:fixed;right:18px;bottom:104px;z-index:1500;width:min(360px,calc(100vw - 36px));background:#fff;color:#111;border-radius:20px;box-shadow:0 10px 40px rgba(0,0,0,.28);padding:0}
.v9-invit[hidden]{display:none}
.v9-invit .v9-grand{overflow:hidden;border-radius:20px}
.v9-invit-img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.v9-invit-corps{padding:14px 16px 16px}
.v9-invit h2{font:600 17px/24px "Segoe UI","Montserrat",system-ui,sans-serif;margin:0 0 8px;color:#111}
.v9-invit .v9-x{position:absolute;right:8px;top:8px;z-index:2;width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.95);font-size:22px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.v9-invit .v9-bulle{background:#e4f1fb;border-radius:16px 16px 16px 4px;padding:11px 14px;min-height:3.2em;line-height:1.45}
.v9-invit .v9-sign{font-size:12px;margin:6px 2px 10px;color:#555}
.v9-invit .v9-points i{display:inline-block;width:8px;height:8px;margin-right:4px;border-radius:50%;background:#6bb4e6;animation:r9-pt 1s infinite}
.v9-invit .v9-points i:nth-child(2){animation-delay:.2s}.v9-invit .v9-points i:nth-child(3){animation-delay:.4s}
@keyframes r9-pt{0%,60%,100%{opacity:.3}30%{opacity:1}}
.v9-invit .v9-repondre{width:100%;min-height:46px;border:0;border-radius:999px;background:#111;color:#fff;font:600 15px/20px "Segoe UI","Montserrat",system-ui,sans-serif;cursor:pointer}
.v9-invit button:focus-visible{outline:3px solid #1b5fd1;outline-offset:2px}
.v9-invit .v9-pastille{display:none}
.v9-invit.reduit{width:auto;max-width:calc(100vw - 36px);border-radius:999px}
.v9-invit.reduit .v9-grand{display:none}
.v9-invit.reduit .v9-pastille{display:flex;align-items:center;gap:10px;min-height:56px;padding:6px 56px 6px 6px;background:none;border:0;border-radius:999px;font:600 15px/20px "Segoe UI","Montserrat",system-ui,sans-serif;color:#111;cursor:pointer}
.v9-invit .v9-pastille img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.v9-invit.reduit .v9-x{top:50%;transform:translateY(-50%);right:8px;width:36px;height:36px;box-shadow:none;background:#eef1f6}
/* position sur les pages publiques : au-dessus de la bulle de chat existante */
.v9-invit{bottom:92px;font-family:'Segoe UI',system-ui,sans-serif}
@media (max-width:600px){.v9-invit{right:10px;bottom:70px;width:min(340px,calc(100vw - 20px))}.v9-invit.reduit{width:auto}}
@media (prefers-reduced-motion:reduce){.v9-invit,.v9-invit .v9-points i{animation:none}}
