/* css/qts-quotes.css
 * QTS Quote Ribbon — Phase A.5 styling.
 * Pair with js/qts-quotes.js. Phase C wires this into qts.html.
 *
 * CSS variables expected (with fallbacks for pages that don't define them):
 *   --bg2     surface background
 *   --border  card border colour
 *   --accent  brand green (NX+ accent)
 *   --text2   secondary text
 *   --text3   tertiary text
 */

.qts-quote-ribbon {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: var(--bg2, #0c1220);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 8px;
  margin: 8px 0 16px;
  font-size: 13px;
  font-style: italic;
  color: var(--text2, rgba(255, 255, 255, 0.5));
}

.qts-quote-avatar {
  flex-shrink: 0;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--accent, #00ff88);
  text-decoration: none;
}

.qts-quote-avatar img {
  display: block;
  width: 100%;
  height: 100%;
}

.qts-quote-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;                 /* allow text to truncate gracefully if narrow */
  transition: opacity 250ms ease;
}

.qts-quote-body.fading {
  opacity: 0;
}

.qts-quote-text {
  line-height: 1.5;
}

.qts-quote-attr {
  font-size: 11px;
  color: var(--text3, rgba(255, 255, 255, 0.2));
  font-style: normal;
}
