/* Homepage "alive" touches: honest freshness dot, headline ticker, bars that fill in. */
body.mc-home-hub .mc-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
  font-style: normal;
  font-weight: 750;
  font-size: 0.78rem;
  color: var(--hub-muted);
}
body.mc-home-hub .mc-live em { font-style: normal; font-variant-numeric: tabular-nums; }
body.mc-home-hub .mc-live i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b4bcb7;
}
body.mc-home-hub .mc-live.is-fresh i { background: #1f9d5c; }
body.mc-home-hub .mc-live.is-fresh i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #1f9d5c;
  animation: mc-live-ping 1.8s ease-out infinite;
}
body.mc-home-hub .mc-live.is-recent i { background: #d9a21b; }
@keyframes mc-live-ping {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* One real headline at a time. */
body.mc-home-hub .mc-tick {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 3.1em;
  margin-top: 0.2rem;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
body.mc-home-hub .mc-tick.is-out { opacity: 0; transform: translateY(-6px); }
body.mc-home-hub .mc-tick-src {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  color: var(--hub-muted);
}
body.mc-home-hub .mc-tick-title {
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--hub-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Bars and heat cells fill in once, so the board feels drawn live. */
body.mc-home-hub .mc-sent-bar span {
  transform-origin: left center;
  animation: mc-bar-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  transition: width 0.8s ease;
}
body.mc-home-hub .mc-sent-bar .is-neu { animation-delay: 0.1s; }
body.mc-home-hub .mc-sent-bar .is-neg { animation-delay: 0.2s; }
@keyframes mc-bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
body.mc-home-hub .mc-heat-cell { animation: mc-cell-in 0.5s ease both; }
body.mc-home-hub .mc-heat-row:nth-child(2) .mc-heat-cell { animation-delay: 0.05s; }
body.mc-home-hub .mc-heat-row:nth-child(3) .mc-heat-cell { animation-delay: 0.12s; }
body.mc-home-hub .mc-heat-row:nth-child(4) .mc-heat-cell { animation-delay: 0.19s; }
body.mc-home-hub .mc-heat-row:nth-child(5) .mc-heat-cell { animation-delay: 0.26s; }
@keyframes mc-cell-in { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }

/* A number that just changed lights up for a moment. */
body.mc-home-hub .mc-sent-stats b.is-bump { animation: mc-bump 1.1s ease; }
@keyframes mc-bump { 0% { transform: scale(1.18); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  body.mc-home-hub .mc-live.is-fresh i::after,
  body.mc-home-hub .mc-sent-bar span,
  body.mc-home-hub .mc-heat-cell,
  body.mc-home-hub .mc-sent-stats b.is-bump { animation: none; }
  body.mc-home-hub .mc-tick { transition: none; }
}

/* Forecast card: one real AI signal at a time, call squares fill in. */
body.mc-home-hub .mc-sig {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 0.7rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
body.mc-home-hub .mc-sig.is-out { opacity: 0; transform: translateY(-6px); }
body.mc-home-hub .mc-sig small {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  color: var(--hub-muted);
}
body.mc-home-hub .mc-sig b {
  font-family: var(--hub-font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--hub-ink);
}
body.mc-home-hub .mc-sig em { font-style: normal; font-weight: 800; font-size: 0.85rem; }
body.mc-home-hub .mc-sig em.is-buy { color: var(--hub-green); }
body.mc-home-hub .mc-sig em.is-sell { color: #9f1239; }
body.mc-home-hub .mc-lens-heat i { animation: mc-cell-in 0.4s ease both; }
body.mc-home-hub .mc-lens-heat i:nth-child(2) { animation-delay: 0.04s; }
body.mc-home-hub .mc-lens-heat i:nth-child(3) { animation-delay: 0.08s; }
body.mc-home-hub .mc-lens-heat i:nth-child(4) { animation-delay: 0.12s; }
body.mc-home-hub .mc-lens-heat i:nth-child(5) { animation-delay: 0.16s; }
body.mc-home-hub .mc-lens-heat i:nth-child(6) { animation-delay: 0.2s; }
body.mc-home-hub .mc-lens-heat i:nth-child(7) { animation-delay: 0.24s; }
body.mc-home-hub .mc-lens-heat i:nth-child(8) { animation-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) {
  body.mc-home-hub .mc-lens-heat i { animation: none; }
  body.mc-home-hub .mc-sig { transition: none; }
}
