/* Tweet / quote cards for compound mention sections — compact, nav-sized text */

.x-quote {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 10px;
  padding: 0.5rem 0.75rem 0.55rem;
  margin: 0.5rem 0;
  background: var(--md-code-bg-color);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.x-quote:hover {
  border-color: var(--md-accent-fg-color);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

.x-quote-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  line-height: 1.2;
}

.x-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  flex: 0 0 auto;
  user-select: none;
}

.x-author {
  font-weight: 700;
  color: var(--md-default-fg-color);
}

.x-source {
  margin-left: auto;
  font-size: 0.62rem;
  color: var(--md-default-fg-color--light);
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 45%;
}

.x-quote-body {
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--md-default-fg-color);
}

.x-quote-body::before { content: "\201C"; }
.x-quote-body::after { content: "\201D"; }
