<style>
.vps-chat { position: fixed; right: 16px; bottom: 16px; z-index: 999999; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.vps-chat__toggle { border: 0; border-radius: 999px; padding: 12px 14px; box-shadow: 0 8px 24px rgba(0,0,0,.18); cursor: pointer; }
.vps-chat__panel { width: 340px; height: 460px; margin-top: 10px; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.22); background: #fff; display: none; }
.vps-chat__header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid #eee; }
.vps-chat__title { font-weight: 700; }
.vps-chat__close { border: 0; background: transparent; cursor: pointer; font-size: 18px; padding: 6px; }
.vps-chat__messages { height: 340px; padding: 12px; overflow: auto; background: #fafafa; }
.vps-chat__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #eee; background: #fff; }
.vps-chat__input { flex: 1; padding: 10px 12px; border: 1px solid #ddd; border-radius: 10px; outline: none; }
.vps-chat__send { padding: 10px 12px; border: 0; border-radius: 10px; cursor: pointer; }
.vps-chat__note { padding: 0 10px 10px; font-size: 12px; color: #666; background: #fff; }

.vps-msg { margin: 0 0 10px; display: flex; }
.vps-msg--customer { justify-content: flex-start; }
.vps-msg--system, .vps-msg--support { justify-content: flex-end; }

.vps-bubble { max-width: 78%; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #eee; }
.vps-msg--system .vps-bubble, .vps-msg--support .vps-bubble { background: #f0f7ff; border-color: #d8eaff; }
.vps-meta { margin-top: 6px; font-size: 11px; color: #777; display: flex; gap: 10px; flex-wrap: wrap; }
.vps-meta a { color: inherit; }
</style>