.hnu-chat-wrapper {
  max-width: 680px;
  margin: 30px auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  height: 650px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header */
.hnu-chat-header {
  background: #00897b;
  color: #ffffff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hnu-chat-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hnu-chat-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.hnu-brand-title {
  display: block;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
}
.hnu-brand-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #e0f2f1;
}
.hnu-live-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
}
.hnu-read-only-badge {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* Stream Body */
.hnu-chat-stream {
  flex: 1;
  background: #f8fafc;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hnu-date-marker {
  text-align: center;
  position: relative;
  margin-bottom: 5px;
}
.hnu-date-marker span {
  background: #e2e8f0;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
}

/* Message Bubble */
.hnu-message-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 85%;
}
.hnu-chat-bubble {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  border-top-left-radius: 2px;
  padding: 14px 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.hnu-bubble-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 6px;
  margin-bottom: 8px;
}
.hnu-category-pill {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #00897b;
  background: #e0f2f1;
  padding: 2px 8px;
  border-radius: 4px;
}
.hnu-bubble-time {
  font-size: 11px;
  color: #94a3b8;
}
.hnu-bubble-text {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}
.hnu-bubble-text p {
  margin: 0 0 8px 0;
}
.hnu-bubble-text p:last-child {
  margin-bottom: 0;
}

/* Reactions Bar */
.hnu-reactions-bar {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  margin-left: 6px;
}
.hnu-reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hnu-reaction-btn:hover {
  background: #f1f5f9;
}
.hnu-reaction-btn.is-active-like {
  background: #e0f2f1;
  border-color: #00897b;
  color: #00897b;
}
.hnu-reaction-btn.is-active-dislike {
  background: #ffe4e6;
  border-color: #f43f5e;
  color: #e11d48;
}

/* Footer Read-Only Bar */
.hnu-chat-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 12px;
}