.chat-clear-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 12px 8px;
  padding: 8px 10px 8px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  animation: chatClearHintIn 0.22s ease;
  flex-shrink: 0;
}

.chat-clear-hint.open {
  display: flex;
}

.chat-clear-hint-text {
  flex: 1;
  min-width: 0;
}

.chat-clear-hint-btn {
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  background: #6366f1;
  color: #fff;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.chat-clear-hint-btn:hover {
  background: #4f46e5;
}

.chat-clear-hint-close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
}

.chat-clear-hint-close:hover {
  color: #fff;
}

@keyframes chatClearHintIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .chat-clear-hint {
    margin: 0 8px 6px;
  }
}
