/* =========================================================
   CHAT LAYOUT
   ========================================================= */
.chat-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  height: calc(100vh - var(--navbar-height));
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}

/* =========================================================
   CHAT SIDEBAR
   ========================================================= */
.chat-sidebar {
  border-right: 1px solid var(--border-color);
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.chat-sidebar-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text-primary);
}

/* Search */
.chat-sidebar-search {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.chat-sidebar-search input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  color: var(--text-primary);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.chat-sidebar-search input:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.chat-sidebar-search input:focus,
.chat-sidebar-search input:focus-visible {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(var(--accent-gold-rgb), 0.1);
}

/* Conversations List */
.chat-conversations {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  min-height: 0;
}

.chat-conversation {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.3s var(--ease-spring), border-color 0.2s ease;
  border-left: 2px solid transparent;
  text-decoration: none;
  color: inherit;
  will-change: transform;
}

.chat-conversation:hover,
.chat-conversation:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(5px);
  outline: none;
}

.chat-conversation:active {
  transform: scale(0.96) translateX(1px);
  transition-duration: 0.08s;
}

.chat-conversation.active {
  background: rgba(var(--accent-gold-rgb), 0.08);
  border-left-color: var(--accent-gold);
}

/* Avatar */
.chat-conversation-avatar {
  position: relative;
  flex-shrink: 0;
}

.chat-conversation-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
  transition: border-color 0.2s ease, transform 0.35s var(--ease-spring);
  display: block;
}

.chat-conversation:hover .chat-conversation-avatar img,
.chat-conversation:focus-visible .chat-conversation-avatar img {
  border-color: var(--accent-gold);
  transform: scale(1.1);
}

.chat-conversation-avatar .online-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: var(--accent-green);
  border-radius: 50%;
  border: 2px solid var(--bg-secondary);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--accent-green-rgb), 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(var(--accent-green-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-green-rgb), 0);
  }
}

/* Conversation Info */
.chat-conversation-info {
  flex: 1;
  min-width: 0;
}

.chat-conversation-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-primary);
}

.chat-conversation-preview {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Meta */
.chat-conversation-meta {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.chat-conversation-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.chat-conversation-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 700;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* =========================================================
   CHAT MAIN AREA
   ========================================================= */
.chat-main {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  min-width: 0;
}

/* Chat Header */
.chat-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 12, 14, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-shrink: 0;
  gap: 16px;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.chat-header-info img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
  flex-shrink: 0;
}

.chat-header-info h3 {
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-header-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-header-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* Messages Area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, var(--bg-primary), rgba(12, 12, 14, 0.95));
  min-height: 0;
}

/* Individual Message */
.chat-message {
  display: flex;
  gap: 12px;
  max-width: 75%;
  animation: messageSpringIn 0.35s var(--ease-spring) both;
}

@keyframes messageSpringIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
  }
  75% {
    transform: translateY(1px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-message.own {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-message-avatar img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  display: block;
}

.chat-message-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  position: relative;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.2s var(--ease-spring-gentle);
}

.chat-message.own .chat-message-content {
  background: linear-gradient(135deg, var(--bg-elevated), rgba(var(--accent-gold-rgb), 0.05));
  border-color: rgba(var(--accent-gold-rgb), 0.2);
}

.chat-message-text {
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
  color: var(--text-primary);
}

.chat-message-image {
  max-width: 280px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  cursor: pointer;
  transition: transform 0.28s var(--ease-spring), box-shadow 0.25s var(--ease-spring-gentle);
  display: block;
  will-change: transform;
}

.chat-message-image:hover,
.chat-message-image:focus-visible {
  transform: scale(1.03);
  box-shadow: var(--shadow-soft);
  outline: none;
}

.chat-message-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.chat-message.own .chat-message-meta {
  justify-content: flex-end;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: var(--bg-card);
  border-radius: 20px;
  width: fit-content;
  border: 1px solid var(--border-color);
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite both;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-8px);
  }
}

/* Input Area */
.chat-input-area {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
  align-items: flex-end;
  background: rgba(12, 12, 14, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  color: var(--text-primary);
  font-size: 0.9rem;
  resize: none;
  max-height: 120px;
  font-family: inherit;
  transition: border-color 0.22s ease, box-shadow 0.3s var(--ease-spring-gentle), background 0.22s ease, transform 0.3s var(--ease-spring);
  line-height: 1.5;
  min-height: 44px;
  will-change: transform, box-shadow;
}

.chat-input:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.chat-input:focus,
.chat-input:focus-visible {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(var(--accent-gold-rgb), 0.12), 0 0 24px rgba(var(--accent-gold-rgb), 0.08);
  transform: translateY(-1px);
}

.chat-send-btn {
  padding: 11px 18px;
  background: var(--accent-gold);
  color: var(--bg-primary);
  border: none;
  border-radius: 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.3s var(--ease-spring-bounce), box-shadow 0.3s var(--ease-spring-bounce);
  will-change: transform;
}

.chat-send-btn:hover,
.chat-send-btn:focus-visible {
  background: var(--accent-gold-light);
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(var(--accent-gold-rgb), 0.4);
}

.chat-send-btn:active {
  transform: scale(0.88);
  transition-duration: 0.08s;
}

/* Empty State */
.chat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  padding: 80px 20px;
  text-align: center;
}

.chat-empty svg {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.chat-empty h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.chat-empty p {
  font-size: 0.85rem;
  max-width: 300px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .chat-layout {
    grid-template-columns: 1fr;
    position: relative;
  }

  .chat-sidebar {
    position: fixed;
    left: 0;
    top: var(--navbar-height);
    bottom: 0;
    width: min(320px, 85vw);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease-spring-out);
    box-shadow: var(--shadow-card);
  }

  .chat-sidebar.open {
    transform: translateX(0);
  }

  .chat-sidebar-overlay {
    position: fixed;
    inset: var(--navbar-height) 0 0 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .chat-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .chat-message {
    max-width: 85%;
  }

  .chat-header {
    padding: 12px 16px;
  }

  .chat-messages {
    padding: 16px;
    gap: 12px;
  }

  .chat-input-area {
    padding: 12px 16px 16px;
  }
}

@media (max-width: 480px) {
  .chat-message {
    max-width: 95%;
  }

  .chat-message-content {
    padding: 10px 12px;
  }

  .chat-message-text {
    font-size: 0.85rem;
  }

  .chat-message-image {
    max-width: 200px;
  }

  .chat-send-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .chat-input {
    padding: 10px 14px;
  }

  .chat-empty svg {
    width: 60px;
    height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-message {
    animation: none;
    transform: none !important;
  }

  .chat-conversation-badge {
    animation: none;
  }

  .online-indicator {
    animation: none;
  }

  .typing-indicator span {
    animation: none;
  }

  .chat-sidebar {
    transition: none;
  }

  .chat-conversation:hover {
    transform: none !important;
  }

  .chat-conversation-avatar img:hover {
    transform: none !important;
  }

  .chat-message-image:hover {
    transform: none !important;
  }

  .chat-input:focus {
    transform: none !important;
  }

  .chat-send-btn:hover {
    transform: none !important;
  }
}

/* =========================================================
   MESSAGING POLISH
   ========================================================= */
.chat-empty-state {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.chat-conversation-offer {
  font-size: 0.72rem;
  color: var(--accent-gold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.chat-back-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  border: none;
  background: none;
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.chat-back-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.chat-back-btn svg {
  width: 18px;
  height: 18px;
}

.chat-header-offer {
  font-size: 0.72rem;
  color: var(--accent-gold-light);
  text-decoration: none;
  display: block;
}

.chat-header-offer:hover {
  text-decoration: underline;
}

.chat-empty-messages {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  font-size: 0.85rem;
}

/* System Messages */
.chat-message.system {
  align-self: center;
  max-width: 85%;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.chat-message.system .chat-message-content {
  background: rgba(var(--accent-gold-rgb), 0.06);
  border-color: rgba(var(--accent-gold-rgb), 0.15);
  border-style: dashed;
  text-align: center;
}

.chat-message.system .chat-message-text {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: italic;
}

.chat-message.system .chat-message-meta {
  justify-content: center;
  gap: 6px;
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Sending (optimistic) message state */
.chat-message.sending .chat-message-content {
  opacity: 0.55;
}

.chat-message.sending .send-status {
  opacity: 0.6;
}

@keyframes sendingPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.chat-message.sending .send-status {
  animation: sendingPulse 1.2s ease-in-out infinite;
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .chat-back-btn {
    display: flex;
  }

  .chat-header-info {
    flex: 1;
    min-width: 0;
  }

  .chat-conversation-offer {
    max-width: 140px;
  }
}

/* =========================================================
   MESSAGING REDESIGN
   ========================================================= */

/* Base: overlay only exists on mobile drawer layouts */
.chat-sidebar-overlay {
  display: none;
}

/* Sidebar header */
.chat-sidebar-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.chat-sidebar-sub {
  margin: 2px 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.chat-unread-total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  margin-left: 6px;
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  vertical-align: middle;
}

.chat-sidebar-close {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.chat-sidebar-close svg {
  width: 16px;
  height: 16px;
}

.chat-sidebar-close:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* Conversations are now real buttons */
button.chat-conversation {
  width: 100%;
  background: none;
  border: none;
  border-left: 2px solid transparent;
  font: inherit;
  text-align: left;
  color: inherit;
}

button.chat-conversation:focus-visible {
  outline: 2px solid rgba(var(--accent-gold-rgb), 0.5);
  outline-offset: -2px;
}

.chat-conversation-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-conversation-name {
  margin-bottom: 0;
}

.chat-conversation.has-unread .chat-conversation-name {
  font-weight: 700;
}

.chat-conversation.has-unread .chat-conversation-preview {
  color: var(--text-secondary);
}

.chat-conversation-offer {
  display: block;
  max-width: 100%;
  margin-top: 1px;
}

/* Loading spinner */
.chat-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  border-top-color: var(--accent-gold);
  animation: chatSpin 0.8s linear infinite;
}

@keyframes chatSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Header avatar + status */
.chat-header-avatar {
  position: relative;
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.chat-header-avatar .online-indicator {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-green);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 6px rgba(var(--accent-green-rgb), 0.6);
}

.chat-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.chat-header-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-header-offer.muted {
  color: var(--text-muted);
}

.chat-header-listing {
  white-space: nowrap;
}

/* Day divider */
.chat-day-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0;
}

.chat-day-divider::before,
.chat-day-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color));
}

.chat-day-divider::after {
  background: linear-gradient(90deg, var(--border-color), transparent);
}

.chat-day-divider span {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 3px 10px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-secondary);
}

/* Message body, links, delete */
.chat-message-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.chat-message.own .chat-message-body {
  align-items: flex-end;
}

.chat-link {
  color: var(--accent-gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

.chat-link:hover {
  color: var(--accent-gold);
}

.chat-msg-delete {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.68rem;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition-fast);
}

.chat-message:hover .chat-msg-delete {
  opacity: 1;
}

.chat-msg-delete:hover {
  color: var(--accent-red);
}

/* Jump to latest */
.chat-main {
  position: relative;
}

.chat-jump-latest {
  position: absolute;
  right: 24px;
  bottom: 104px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hover);
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.chat-jump-latest svg {
  width: 18px;
  height: 18px;
}

.chat-jump-latest.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.chat-jump-latest:hover {
  color: var(--accent-gold);
  border-color: rgba(var(--accent-gold-rgb), 0.45);
}

/* Composer extras */
.chat-input-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.chat-char-count {
  align-self: flex-end;
  min-height: 12px;
  padding-right: 6px;
  font-size: 0.66rem;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.chat-char-count.visible {
  opacity: 1;
}

.chat-char-count.over {
  color: var(--accent-red);
}

/* Misc states */
.chat-inline-retry {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent-gold-light);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chat-inline-retry:hover {
  color: var(--accent-gold);
}

.chat-browse-btn {
  display: none;
  margin-top: 16px;
}

/* Send status (Sent / Read) */
.send-status {
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  opacity: 0.75;
}

.chat-message.read .send-status {
  color: var(--accent-green);
  opacity: 1;
  font-weight: 600;
}

/* Touch devices */
@media (hover: none) {
  .chat-msg-delete {
    opacity: 1;
  }

  .chat-conversation:hover {
    transform: none;
  }

  .chat-jump-latest {
    transform: none;
  }
}

@media (max-width: 768px) {
  .chat-sidebar-overlay {
    display: block;
  }

  .chat-sidebar-close {
    display: inline-flex;
  }

  .chat-browse-btn {
    display: inline-flex;
  }

  .chat-header-listing {
    display: none;
  }

  .chat-jump-latest {
    right: 16px;
    bottom: 96px;
  }

  .chat-messages {
    padding: 16px 14px;
  }

  .chat-input-area {
    padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
  }

  .chat-day-divider {
    margin: 4px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-spinner {
    animation-duration: 2.4s;
  }

  .chat-jump-latest {
    transition: none;
  }

  button.chat-conversation:hover {
    transform: none;
  }
}
