.looop-chat {
  position: fixed;
  z-index: 40;
  width: 260px;
  max-height: 200px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  font-family: 'Nunito', system-ui, sans-serif;
  color: #fff;
  pointer-events: auto;
}
.looop-chat.pos-bottom-left  { left: 16px; bottom: 16px; }
.looop-chat.pos-bottom-right { right: 16px; bottom: 16px; }
.looop-chat.pos-top-left     { left: 16px; top: 16px; }
.looop-chat.pos-top-right    { right: 16px; top: 16px; }

.looop-chat__title {
  font-size: 10px;
  color: #22d3ee;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.looop-chat__log {
  flex: 1;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  color: #d1d5db;
  min-height: 80px;
  max-height: 130px;
}
.looop-chat__row { margin-bottom: 4px; word-wrap: break-word; }
.looop-chat__who { margin-right: 4px; }

.looop-chat__form {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.looop-chat__input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: background 0.15s;
}
.looop-chat__input:focus { background: rgba(255, 255, 255, 0.18); }
.looop-chat__send {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #0891b2;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.looop-chat__send:hover { background: #06b6d4; }

@media (max-width: 640px) {
  .looop-chat { display: none; }
}
