/**
 * public/css/chat-v5-HANIHO.css
 * HANIHO CHAT - EIGENES DESIGN (kein WhatsApp-Clone)
 * ===================================================
 */

/* ==============================================
   CONTAINER & LAYOUT
   ============================================== */

#chatMessages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  background: var(--surface);
  position: relative;
}

/* Subtiles Hintergrund-Pattern */
#chatMessages::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: none;
  pointer-events: none;
}

/* ==============================================
   MESSAGE BUBBLES - HANIHO STYLE
   ============================================== */

.chat-message {
  display: flex;
  margin-bottom: 4px;
  animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

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

.chat-message.own {
  justify-content: flex-end;
}

.chat-message.other {
  justify-content: flex-start;
}

.message-bubble {
  position: relative;
  max-width: 70%;
  padding: 8px 10px;
  border-radius: 0 8px 8px 8px;
  word-wrap: break-word;
  backdrop-filter: none;
  transition: all 0.2s ease;
  box-shadow: none;
  background: var(--surface2);
  border: 1px solid var(--border);
}

/* HANIHO Gradient - Eigene Messages */
.chat-message.own .message-bubble {
  background: var(--surface2);
  color: var(--text);
  border-bottom-right-radius: 8px;
}

/* HANIHO Dark - Andere Messages */
.chat-message.other .message-bubble {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 8px;
}

.message-bubble:hover {
  transform: none;
  box-shadow: none;
}

/* Highlight Animation */
.chat-message.highlight .message-bubble {
  animation: pulse 1s ease;
}

.chat-message.mention-highlight .message-bubble {
  border: 1px solid rgba(255, 215, 90, 0.75);
  box-shadow: 0 0 0 2px rgba(255, 215, 90, 0.2), 0 6px 18px rgba(0, 0, 0, 0.35);
}

@keyframes pulse {
  0%, 100% { 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  50% { 
    box-shadow: 0 0 20px rgba(136, 136, 136, 0.6);
  }
}

/* ==============================================
   MESSAGE CONTENT
   ============================================== */

.message-author {
  font-size: 10px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chat-message.own .message-author {
  color: var(--text2);
}

.message-text {
  font-size: 12px;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
  cursor: pointer;
}

.chat-message.own .message-text {
  color: var(--text);
}

.chat-message.other .message-text {
  color: var(--text);
}

.message-text a {
  color: var(--text2);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.message-text a:hover {
  border-bottom-color: var(--text2);
}

.message-text .mention {
  color: var(--text);
  font-weight: 600;
  background: var(--surface3);
  padding: 2px 6px;
  border-radius: 4px;
}

.message-meta {
  display: none;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 4px;
  font-size: 10px;
  opacity: 0.7;
}

.chat-message.meta-open .message-meta {
  display: flex;
}

.chat-message.own .message-meta {
  color: rgba(255, 255, 255, 0.8);
}

.chat-message.other .message-meta {
  color: rgba(255, 255, 255, 0.6);
}

.message-time {
  white-space: nowrap;
}

.message-place {
  cursor: help;
  font-size: 13px;
  opacity: 0.8;
}

/* ==============================================
   REPLY BLOCK
   ============================================== */

.message-reply-block {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-left: 3px solid #888888;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.message-reply-block:hover {
  background: rgba(0, 0, 0, 0.3);
}

.reply-preview {
  flex: 1;
  min-width: 0;
}

.reply-author {
  font-size: 12px;
  font-weight: 600;
  color: #888888;
  margin-bottom: 3px;
}

.reply-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reply-text.error {
  color: #ff5252;
  font-style: italic;
}

/* ==============================================
   REACTIONS
   ============================================== */

.message-reactions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.thread-badge {
  margin-top: 8px;
  border: 1px solid #3e5878;
  background: rgba(12, 24, 40, 0.85);
  color: #d8e8ff;
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 10px;
  cursor: pointer;
}

.thread-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.thread-overlay.hidden {
  display: none;
}

.thread-overlay-card {
  width: min(760px, 96vw);
  max-height: 88vh;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #334a67;
  background: #0c1622;
  display: flex;
  flex-direction: column;
}

.thread-overlay-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #2a3b53;
  color: #dce9fb;
}

.thread-overlay-close {
  border: 1px solid #355174;
  background: rgba(13, 31, 50, 0.9);
  color: #deebff;
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
}

.thread-overlay-content {
  overflow-y: auto;
  padding: 12px;
}

.thread-item {
  padding: 10px;
  border: 1px solid #2c425d;
  border-radius: 10px;
  margin-bottom: 8px;
  background: rgba(10, 22, 36, 0.8);
}

.thread-meta {
  font-size: 12px;
  color: #9bb3d0;
  margin-bottom: 6px;
}

.thread-text {
  color: #e3efff;
  line-height: 1.45;
}

.thread-empty,
.thread-loading {
  color: #9fb6d4;
  padding: 12px 4px;
}

.reaction {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  background: rgba(136, 136, 136, 0.2);
  border: 1px solid rgba(136, 136, 136, 0.3);
  border-radius: 16px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.reaction:hover {
  background: rgba(136, 136, 136, 0.3);
  border-color: rgba(136, 136, 136, 0.5);
  transform: scale(1.05);
}

.reaction.user-reacted {
  background: rgba(255, 107, 107, 0.28);
  border-color: rgba(255, 107, 107, 0.65);
}

.reaction-more {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.typing-indicator {
  padding: 8px 12px;
  min-height: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 7px;
}

.typing-text {
  display: inline-flex;
  align-items: center;
}

.typing-dots {
  display: inline-flex;
  gap: 2px;
}

.typing-dots span {
  animation: typingBounce 1.2s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

.chat-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chat-view-switch {
  display: flex;
  gap: 8px;
  padding: 8px 12px 4px;
}

.chat-view-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(13, 19, 30, 0.9);
  color: rgba(220, 233, 255, 0.9);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.chat-view-btn.active {
  border-color: rgba(150, 150, 150, 0.52);
  background: rgba(32, 32, 32, 0.95);
  color: #f0f0f0;
}

.chat-contacts-pane {
  padding: 6px 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-contacts-head {
  font-size: 12px;
  font-weight: 700;
  color: rgba(224, 236, 255, 0.85);
  margin-bottom: 8px;
}

#chat-contacts-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.chat-contact-item {
  border: 1px solid rgba(83, 117, 156, 0.7);
  background: rgba(10, 20, 33, 0.92);
  color: #dfefff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.chat-contact-item.active {
  border-color: rgba(123, 198, 255, 0.95);
  background: rgba(18, 46, 73, 0.95);
}

.chat-contact-empty {
  font-size: 12px;
  color: rgba(191, 210, 240, 0.72);
  border: 1px dashed rgba(112, 143, 184, 0.4);
  border-radius: 10px;
  padding: 8px 10px;
}

#chat-sound-toggle {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(17, 24, 34, 0.9);
  color: #dbe8ff;
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

#chat-sound-toggle:hover {
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

/* ==============================================
   MESSAGE ACTIONS
   ============================================== */

.message-actions {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  gap: 6px;
  background: rgba(22, 33, 62, 0.95);
  border: 1px solid rgba(136, 136, 136, 0.3);
  border-radius: 14px;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: opacity 0.2s;
  z-index: 30;
}

.chat-message.other .message-actions {
  left: 6px;
  right: auto;
}

.chat-message.actions-open .message-bubble {
  padding-top: 28px;
}

.message-actions.hidden {
  opacity: 0;
  pointer-events: none;
}

.message-actions button {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 12px;
  transition: background 0.2s;
  color: white;
}

.message-actions button:hover {
  background: rgba(136, 136, 136, 0.2);
}

/* ==============================================
   SYSTEM MESSAGES
   ============================================== */

.chat-system-message {
  align-self: center;
  background: rgba(136, 136, 136, 0.15);
  border: 1px solid rgba(136, 136, 136, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  max-width: 80%;
  margin: 12px auto;
}

/* ==============================================
   INPUT AREA
   ============================================== */

#rightPanelChat .chat-input-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

#chatInput {
  width: 100%;
  height: 40px;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--border, #1a1a2e);
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 18px;
  resize: none;
  max-height: 120px;
  font-family: inherit;
  background: var(--surface2, #161b22);
  color: var(--text, #eee);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#chatInput::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

#chatInput:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

#chatInput:disabled {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.3);
}

#sendBtn {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: var(--accent, #3b82f6);
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: filter 0.2s ease, transform 0.2s ease;
}

#sendBtn::before {
  content: '→';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

#sendBtn:hover {
  filter: brightness(1.08);
}

.char-counter {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  margin-top: 6px;
}

.char-counter.warning {
  color: #ffb74d;
}

.char-counter.error {
  color: #ff5252;
  font-weight: 600;
}

/* ==============================================
   REPLY BAR (Input)
   ============================================== */

.chat-reply-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(136, 136, 136, 0.1);
  border: 1px solid rgba(136, 136, 136, 0.3);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.chat-reply-bar.hidden {
  display: none;
}

.reply-content {
  flex: 1;
  min-width: 0;
}

.reply-to {
  font-size: 13px;
  color: #888888;
  margin-bottom: 3px;
  font-weight: 600;
}

.reply-snippet {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reply-cancel {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reply-cancel:hover {
  background: rgba(255, 82, 82, 0.3);
}

/* ==============================================
   EMOJI PICKER
   ============================================== */

.chat-emoji-picker {
  background: rgba(22, 33, 62, 0.95);
  border: 1px solid rgba(136, 136, 136, 0.3);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
  transition: all 0.3s;
}

.chat-emoji-picker.hidden {
  display: none;
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.emoji-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.2s;
}

.emoji-btn:hover {
  background: rgba(136, 136, 136, 0.2);
  border-color: rgba(136, 136, 136, 0.4);
  transform: scale(1.1);
}

/* ==============================================
   NOTIFICATIONS
   ============================================== */

.chat-notification {
  position: fixed;
  top: 80px;
  right: 20px;
  background: linear-gradient(135deg, #888888 0%, #777777 100%);
  color: white;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(136, 136, 136, 0.4);
  max-width: 320px;
  z-index: 10000;
  transform: translateX(400px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-notification.show {
  transform: translateX(0);
}

.chat-notification strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.chat-notification p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

/* ==============================================
   ERROR MESSAGES
   ============================================== */

.chat-error {
  background: rgba(255, 82, 82, 0.2);
  border: 1px solid rgba(255, 82, 82, 0.4);
  color: #ff5252;
  padding: 10px 16px;
  border-radius: 12px;
  margin: 10px auto;
  text-align: center;
  font-size: 14px;
  max-width: 80%;
  animation: slideIn 0.3s ease;
}

/* ==============================================
   MOBILE RESPONSIVE
   ============================================== */

@media (max-width: 768px) {
  .message-bubble {
    max-width: 85%;
  }
  
  .message-actions {
    top: 6px;
    right: 6px;
  }
  .chat-message.other .message-actions { left: 6px; right: auto; }
  
  .emoji-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  #chatMessages {
    padding: 12px;
  }
}

/* ==============================================
   SCROLL BEHAVIOR
   ============================================== */

#chatMessages::-webkit-scrollbar {
  width: 8px;
}

#chatMessages::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

#chatMessages::-webkit-scrollbar-thumb {
  background: rgba(136, 136, 136, 0.4);
  border-radius: 4px;
}

#chatMessages::-webkit-scrollbar-thumb:hover {
  background: rgba(136, 136, 136, 0.6);
}

/* ==============================================
   HANIHO BRANDING
   ============================================== */

.chat-watermark {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
  font-weight: 500;
  letter-spacing: 1px;
}

/* ═══════════════════════════════════════════
   DAILY VIBE - HANIHO Style
   ═══════════════════════════════════════════ */

.daily-vibe,
.vibe-card,
.daily-vibe-section {
  padding: 1rem !important;
  margin-bottom: 1.5rem !important;
  background: linear-gradient(135deg, #3a3a3a 0%, #2f2f2f 100%) !important;
  border: 1px solid #444 !important;
  border-radius: 12px !important;
  position: relative;
  overflow: hidden;
}

.daily-vibe-section::before {
  content: none;
}

.daily-vibe h3,
.vibe-card h3,
.vibe-header h3 {
  font-size: 0.9rem !important;
  color: #999 !important;
  margin-bottom: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.vibe-subtitle {
  color: #666;
  font-size: 0.75rem;
  margin: 0;
}

.vibe-content {
  text-align: center;
  padding: 0.5rem;
  position: relative;
  z-index: 1;
}

.vibe-row {
  display: grid;
  grid-template-columns: 190px 1fr 220px;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.vibe-heading h3 {
  margin-bottom: 0.2rem !important;
}

.vibe-heading .vibe-subtitle {
  margin: 0;
}

.vibe-quote-wrap {
  text-align: center;
}

.vibe-meta {
  text-align: right;
}

.daily-vibe .quote,
.vibe-card .quote,
.vibe-quote {
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  font-style: italic;
  color: #ccc !important;
  margin-bottom: 0.6rem;
  min-height: 0;
}

.vibe-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

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

.daily-vibe .author,
.vibe-card .author,
.vibe-author {
  font-size: 0.75rem !important;
  color: #666 !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0;
  font-weight: 500;
}

.vibe-origin {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.vibe-footer {
  text-align: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #333;
  position: relative;
  z-index: 1;
}

#vibeCategory {
  font-size: 12px;
  color: #777;
}

.daily-vibe .wisdom-btn,
.vibe-card button,
.daily-vibe-section button {
  font-size: 0.75rem !important;
  padding: 0.5rem 1rem !important;
  background: #333 !important;
  color: #999 !important;
  border: 1px solid #444 !important;
}

.daily-vibe .wisdom-btn:hover,
.vibe-card button:hover,
.daily-vibe-section button:hover {
  background: #444 !important;
  color: #fff !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .daily-vibe-section {
    padding: 0.85rem !important;
    margin-bottom: 1rem !important;
  }

  .vibe-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .vibe-quote-wrap {
    text-align: left;
  }

  .vibe-meta {
    text-align: left;
  }

  .vibe-quote {
    font-size: 0.9rem !important;
  }
}

/* ==============================================
   ONBOARDING OVERLAY (v1.0)
   ============================================== */

.onboarding-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
}

.onboarding-overlay.hidden {
  display: none;
}

/* Inline (in-chat) rendering */
.onboarding-overlay.onboarding-inline {
  position: relative;
  inset: auto;
  display: block;
  background: transparent;
  z-index: 1;
  margin: 12px 0;
}

.onboarding-overlay.onboarding-inline .onboarding-card {
  width: 100%;
  max-width: 100%;
}

.onboarding-card {
  width: min(520px, 92vw);
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 16px;
  padding: 24px;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.onboarding-card h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
}

.onboarding-card p {
  margin: 6px 0;
  color: #bbb;
  line-height: 1.45;
}

.onboarding-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.onboarding-actions button {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.onboarding-input {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

#ob-place-query {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  background: #000;
  color: #fff;
}

#ob-search {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  background: #7A7A7A;
  color: #fff;
  cursor: pointer;
}

/* Light mode chat fixes */
html:not([data-theme="dark"]) .chat-contact-empty {
  color: var(--text-muted, #666);
  border-color: var(--border, #ddd);
  background: var(--surface, #f5f5f5);
}
html:not([data-theme="dark"]) .chat-system-message {
  color: var(--text-muted, #666);
  background: var(--surface, #f0f0f0);
  border-color: var(--border, #ddd);
}
html:not([data-theme="dark"]) #chat-sound-toggle {
  border-color: var(--border, #ddd);
  background: var(--surface, #f5f5f5);
  color: var(--text, #333);
}
