.chat-open-button {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 68;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(18,20,26,0.96), rgba(10,12,16,0.98));
  border: 1px solid rgba(255,215,128,0.16);
  box-shadow: var(--shadow-main);
}
.chat-open-button img { width: 100%; height: 100%; object-fit: contain; }
.chat-widget-panel {
  position: fixed;
  right: 18px;
  bottom: 158px;
  z-index: 68;
  width: min(360px, calc(100vw - 24px));
  border-radius: 24px;
  border: 1px solid var(--color-line);
  background: linear-gradient(180deg, rgba(18,20,26,0.96), rgba(10,12,16,0.98));
  box-shadow: var(--shadow-main);
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s ease;
}
.chat-widget-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.chat-widget-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-line-soft);
}
.chat-close-button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--color-line);
  background: rgba(255,255,255,0.03);
}
.chat-widget-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  max-height: 320px;
  overflow: auto;
}
.chat-message {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.6;
}
.chat-message.user {
  align-self: flex-end;
  background: rgba(227,183,74,0.14);
  border: 1px solid rgba(255,215,128,0.16);
}
.chat-message.bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-line-soft);
}
.chat-widget-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 0 18px 18px;
}
.chat-widget-form input {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--color-line);
  background: rgba(255,255,255,0.035);
  padding: 0 14px;
}
