/* live treasury card (dash-feed.js): today's buys, protocol totals, then the
   trade feed. "Live" is a word, never a dot. */
.dash__live { display: grid; align-content: start; gap: 6px; }
.dlive__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.dlive__head .dlabel { color: var(--text); }
.dash__live .dbig { margin-top: 2px; }

.dlive__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-block: 18px 6px;
  border-top: 1px solid var(--line-soft);
}
.dlive__stat { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.dlive__stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line-soft); }
.dlive__num {
  margin-top: 6px;
  font: 400 22px/1 var(--sans);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

/* the feed: one trade per row, the stock bought in its colour */
.dfeed { display: grid; margin-top: 6px; }
.dfeed__row { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.dfeed__row:last-child { border-bottom: 0; }
.dfeed__row p { display: flex; align-items: baseline; gap: 6px; font: 400 15px/20px var(--sans); }
.dfeed__side { color: var(--muted); }
.dfeed__ago { margin-left: auto; font: 400 12px/1 var(--mono); color: var(--faint); }
.dfeed__buy { margin-top: 3px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dfeed__buy b { font-weight: 400; color: var(--stock); }
.dfeed__buy a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.dfeed__row.is-new { animation: feed-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes feed-in {
  from { opacity: 0; translate: 0 -8px; }
}

@media (prefers-reduced-motion: reduce) {
  .dfeed__row.is-new { animation: none; }
}
